/* 用户提供的海洋插画：完整比例的主图入口，与海域背景自然衔接。 */
.world-layer.layer-2,
.world-layer.layer-3,
.world-layer.layer-4 {
  isolation: isolate;
}
.sea-art {
  position: absolute;
  z-index: -1;
  inset: 30px -8% -45px;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(transparent, #000 15%, #000 78%, transparent);
  -webkit-mask-image: linear-gradient(
    transparent,
    #000 15%,
    #000 78%,
    transparent
  );
}
.sea-art > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  opacity: 0.28;
  filter: saturate(0.86);
  mask-image: radial-gradient(ellipse at 64% 50%, #000 20%, transparent 73%);
  -webkit-mask-image: radial-gradient(
    ellipse at 64% 50%,
    #000 20%,
    transparent 73%
  );
  animation: painted-tide 17s ease-in-out infinite alternate;
}
.sea-art-well-fable > img {
  object-position: 52% 55%;
  opacity: 0.12;
  mask-image: radial-gradient(ellipse at 70% 48%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(
    ellipse at 70% 48%,
    #000 10%,
    transparent 72%
  );
}
.sea-art-whale-companion > img {
  left: 17%;
  width: 83%;
  object-position: center 61%;
  opacity: 0.38;
}
.sea-art-jellyfish-sanctuary > img {
  opacity: 0.37;
  object-position: center 40%;
  mask-image: radial-gradient(ellipse at 50% 48%, #000 24%, transparent 73%);
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 48%,
    #000 24%,
    transparent 73%
  );
}
.art-caustics {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    117deg,
    transparent 0 12%,
    #cefff51c 13%,
    transparent 18% 25%
  );
  filter: blur(10px);
  mix-blend-mode: screen;
  opacity: 0.5;
  animation: painted-light 10s ease-in-out infinite alternate;
}
.art-dust {
  position: absolute;
  inset: -10%;
  background-image:
    radial-gradient(circle, #ffe8bbaa 1px, transparent 2px),
    radial-gradient(circle, #a9fff77d 1px, transparent 3px);
  background-size:
    97px 137px,
    171px 181px;
  background-position:
    0 0,
    52px 77px;
  opacity: 0.45;
  mask-image: radial-gradient(ellipse, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse, #000, transparent 72%);
  animation: painted-dust 13s ease-in-out infinite alternate;
}
.world-layer.layer-2 .layer-heading,
.world-layer.layer-3 .layer-heading,
.world-layer.layer-4 .layer-heading {
  position: relative;
  z-index: 2;
  text-shadow: 0 3px 25px #0a224faa;
}
.world-layer.layer-2 .node-caption,
.world-layer.layer-3 .node-caption,
.world-layer.layer-4 .node-caption {
  position: relative;
  z-index: 2;
  padding: 10px 14px 0;
  text-shadow:
    0 2px 8px #061b3f,
    0 0 24px #071d49;
  background: radial-gradient(ellipse at 50% 50%, #12325070, transparent 72%);
}
.world-layer.layer-2 .sailing-route,
.world-layer.layer-3 .sailing-route,
.world-layer.layer-4 .sailing-route {
  stroke: #c7f6ef;
  opacity: 0.32;
}
.picture-node .node-object {
  width: 350px;
  max-width: calc(100% - 32px);
  padding: 0;
  margin-bottom: 12px;
}
.picture-node .node-object:before {
  z-index: -1;
  inset: 3% -12% 1%;
  height: auto;
  border: 1px solid #d0fff55e;
  border-radius: 50%;
  background: radial-gradient(ellipse, #8beee81c, transparent 67%);
  box-shadow:
    0 0 45px #71e8ee2b,
    inset 0 0 32px #71e8ee1c;
  transform: rotate(-12deg);
  opacity: 0.85;
}
.photo-portal {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid #cbf7f096;
  border-radius: 46% 46% 9% 9% / 28% 28% 7% 7%;
  background: #215875;
  box-shadow:
    0 24px 45px #061c4c6b,
    0 0 34px #78e7ec26;
  transition: box-shadow 0.4s;
}
.photo-portal > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.photo-portal:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 7px #d6fff414,
    inset 0 0 26px #bcfff91c;
  pointer-events: none;
}
.picture-mouse-voyage .photo-portal {
  border-color: #ffe3af96;
  border-radius: 22px;
  box-shadow:
    0 24px 45px #061c4c6b,
    0 0 38px #f5c38326;
}
.picture-mouse-voyage .node-object {
  animation: voyage-float 7s ease-in-out infinite;
}
.picture-mouse-voyage:hover .node-object,
.picture-mouse-voyage:focus-visible .node-object {
  transform: none;
}
.picture-node .node-enter {
  right: -10px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border: 1px solid #ffe2d2;
  box-shadow: 0 6px 20px #10365780;
}
.picture-node:hover .photo-portal,
.picture-node:focus-visible .photo-portal {
  box-shadow:
    0 30px 50px #061c4c80,
    0 0 50px #9ff8e654;
}
.picture-node .node-caption > small {
  color: #ffe0ba;
}
.layer-2 .map-playground {
  height: 990px;
}
.layer-2 .node-2 {
  top: 235px;
}
.layer-2 .node-3 {
  top: 535px;
}
.layer-3 .map-playground {
  height: 1080px;
}
.layer-3 .node-3 {
  top: 455px;
}
.layer-4 .map-playground {
  height: 1170px;
}
.layer-4 .node-2 {
  top: 110px;
}
.layer-4 .node-3 {
  top: 475px;
}
.room-environment {
  position: absolute;
  z-index: 0;
  left: -7%;
  top: 0;
  bottom: -10%;
  width: 62%;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 33% 55%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(
    ellipse at 33% 55%,
    #000,
    transparent 72%
  );
}
.room-environment > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.23;
  animation: painted-tide 17s ease-in-out infinite alternate;
}
#scene-8 .room-environment {
  width: 80%;
  left: 10%;
  mask-image: radial-gradient(ellipse at 50% 55%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 55%,
    #000,
    transparent 72%
  );
}
#scene-8 .room-environment > img {
  opacity: 0.18;
}
#scene-16 .room-environment {
  left: auto;
  right: -5%;
  width: 55%;
  mask-image: radial-gradient(ellipse at 65% 65%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(
    ellipse at 65% 65%,
    #000,
    transparent 72%
  );
}
#scene-16 {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.65fr);
  align-items: center;
  gap: 44px;
  padding: 35px 50px 45px;
}
#scene-16 .scene-inner {
  width: 100%;
  min-width: 0;
  margin: 0;
  grid-column: 2;
  grid-row: 1;
}
#scene-16 .take-home {
  gap: 22px;
}
#scene-16 h2 {
  font-size: clamp(44px, 4.2vw, 60px);
}
.finale-voyage-art {
  position: relative;
  z-index: 1;
  width: min(340px, 100%);
  margin: 0 0 0 auto;
  grid-column: 1;
  grid-row: 1;
}
.finale-voyage-art > img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #ffe3b16b;
  border-radius: 22px;
  box-shadow:
    0 23px 45px #0b204859,
    0 0 45px #f9d7a51f;
  animation: voyage-float 7s ease-in-out infinite;
}
.finale-voyage-art > figcaption {
  padding-top: 24px;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  text-align: center;
  color: #eadbc5;
}
#scene-13 {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 45px;
  padding: 35px 55px 45px;
  background: radial-gradient(ellipse at 10% 50%, #3383a941, transparent 65%);
}
#scene-13 .scene-inner {
  width: 100%;
  max-width: 690px;
  margin: 0;
}
#scene-13 h2 {
  font-size: clamp(36px, 3.7vw, 53px);
}
#scene-13 .pause-experience {
  gap: 33px;
}
#scene-13 .pause-orb {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
}
#scene-13 .pause-steps p {
  white-space: nowrap;
}
.room-portrait {
  position: relative;
  width: min(380px, 100%);
  margin: 0 0 0 auto;
}
.room-portrait > img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #bafaf56b;
  border-radius: 46% 46% 22px 22px / 28% 28% 22px 22px;
  box-shadow:
    0 23px 45px #0b204859,
    0 0 45px #9beaee1f;
}
.room-portrait > figcaption {
  font-size: 12px;
  text-align: center;
  letter-spacing: 1px;
  color: #bce1ea;
  line-height: 1.8;
  padding-top: 16px;
}
@keyframes painted-tide {
  from {
    transform: translate(-1.5%, 1%) scale(1.03);
  }
  to {
    transform: translate(1.5%, -1%) scale(1.08);
  }
}
@keyframes painted-light {
  from {
    transform: translateX(-4%) rotate(-5deg);
    opacity: 0.28;
  }
  to {
    transform: translateX(4%) rotate(5deg);
    opacity: 0.65;
  }
}
@keyframes painted-dust {
  from {
    transform: translate(0, 12px);
    opacity: 0.25;
  }
  to {
    transform: translate(18px, -28px);
    opacity: 0.6;
  }
}
@keyframes voyage-float {
  0%,
  100% {
    translate: 0 3px;
    rotate: -0.5deg;
  }
  50% {
    translate: 0 -7px;
    rotate: 0.5deg;
  }
}
@media (max-width: 1100px) {
  .picture-node .node-object {
    width: 300px;
    max-width: calc(100% - 26px);
  }
  .world-layer.layer-2 .node-caption > strong,
  .world-layer.layer-3 .node-caption > strong,
  .world-layer.layer-4 .node-caption > strong {
    font-size: 27px;
  }
  .layer-2 .map-playground {
    height: 910px;
  }
  .layer-2 .node-3 {
    top: 515px;
  }
  .layer-3 .map-playground {
    height: 1010px;
  }
  .layer-4 .map-playground {
    height: 1100px;
  }
  #scene-16 {
    gap: 30px;
    padding-left: 32px;
    padding-right: 32px;
    grid-template-columns: minmax(0, 1fr);
  }
  #scene-16 .scene-inner {
    grid-column: 1;
  }
  .finale-voyage-art {
    grid-row: 2;
    margin: 0 auto;
  }
  #scene-16 .take-home {
    flex-wrap: wrap;
    gap: 20px;
  }
  #scene-16 .take-home article {
    flex-basis: 180px;
  }
  #scene-13 {
    padding-left: 32px;
    padding-right: 32px;
    gap: 30px;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  }
  #scene-13 .pause-experience {
    gap: 22px;
  }
  #scene-13 .pause-orb {
    width: 155px;
    height: 155px;
  }
  #scene-13 .pause-steps p {
    font-size: 23px;
  }
}
@media (max-width: 760px) {
  .sea-art {
    inset: 0 -22% 0;
  }
  .sea-art > img {
    opacity: 0.27;
    object-position: center;
  }
  .sea-art-whale-companion > img {
    left: 0;
    width: 100%;
  }
  .sea-art-jellyfish-sanctuary > img {
    opacity: 0.34;
  }
  .world-layer.layer-2 .map-playground,
  .world-layer.layer-3 .map-playground,
  .world-layer.layer-4 .map-playground {
    height: auto;
  }
  .world-layer .map-playground .picture-node {
    margin-top: 14px;
    margin-bottom: 12px;
  }
  .picture-node .node-object {
    width: 300px;
    max-width: calc(100% - 28px);
  }
  .picture-node .node-enter {
    right: -5px;
    bottom: 17px;
    width: 43px;
    height: 43px;
  }
  .world-layer.layer-2 .node-caption,
  .world-layer.layer-3 .node-caption,
  .world-layer.layer-4 .node-caption {
    padding-top: 8px;
  }
  .world-layer.layer-2 .node-caption > strong,
  .world-layer.layer-3 .node-caption > strong,
  .world-layer.layer-4 .node-caption > strong {
    font-size: 26px;
  }
  .room-environment {
    width: 125%;
    left: -25%;
    opacity: 0.7;
  }
  #scene-8 .room-environment {
    left: -15%;
    width: 130%;
  }
  #scene-16 .room-environment {
    right: -35%;
    width: 120%;
  }
  #scene-16 {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 32px 20px 40px;
  }
  #scene-16 .scene-inner {
    grid-row: 1;
  }
  #scene-16 .take-home article {
    flex-basis: auto;
  }
  .finale-voyage-art {
    grid-row: 2;
    width: min(300px, 100%);
    margin: 0 auto;
  }
  .finale-voyage-art > figcaption {
    font-size: 11px;
  }
  #scene-13 {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 20px 40px;
    gap: 32px;
  }
  #scene-13 .scene-inner {
    grid-row: 1;
    margin: 0 auto;
  }
  #scene-13 .pause-experience {
    gap: 24px;
  }
  #scene-13 .pause-orb {
    width: 165px;
    height: 165px;
  }
  #scene-13 .pause-steps p {
    font-size: 25px;
  }
  .room-portrait {
    grid-row: 2;
    max-width: 320px;
    margin: 0 auto;
  }
  .room-portrait > figcaption {
    font-size: 11px;
    letter-spacing: 0.5px;
  }
}
.motion-off .sea-art > img,
.motion-off .art-caustics,
.motion-off .art-dust,
.motion-off .room-environment > img {
  animation: none;
}
.motion-off .picture-mouse-voyage .node-object,
.motion-off .finale-voyage-art > img {
  animation: none;
}
.scene-open .world-map .sea-art > img,
.scene-open .world-map .art-caustics,
.scene-open .world-map .art-dust,
.scene-open .world-map .node-object,
.scene-open .world-map .node-enter:before,
.scene-open .world-map .sailing-route {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .sea-art > img,
  .art-caustics,
  .art-dust,
  .room-environment > img {
    animation: none;
  }
  .picture-mouse-voyage .node-object,
  .finale-voyage-art > img {
    animation: none;
  }
}
