:root {
  --page-max: 1180px;
  --page-min: 960px;
  --paper: #f3f2e9;
  --ink: #176f76;
  --ink-deep: #164b52;
  --text: #515252;
  --frame: #2d7985;
  --frame-soft: #a9d0d2;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: #eef3ec;
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    sans-serif;
}

body.is-entering {
  overflow-x: hidden;
}

a {
  color: inherit;
}

.page-shell {
  width: min(100%, var(--page-max));
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 42px rgba(19, 84, 88, 0.14);
}

body.is-entering .page-shell {
  filter: blur(2px) saturate(0.84);
  opacity: 0.76;
  transform: scaleX(0.055) scaleY(0.992);
  transform-origin: 50% 7%;
}

body.is-entering.intro-ready .page-shell {
  animation: page-unfurl 1800ms cubic-bezier(0.2, 0.82, 0.18, 1) both;
}

.poster-stage {
  position: relative;
  container-type: inline-size;
  width: 100%;
}

.poster-bg {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.intro-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: rgba(82, 83, 82, 0.94);
  font-family:
    "SimSun",
    "STSong",
    serif;
  letter-spacing: 0;
  pointer-events: none;
}

.intro-copy h2 {
  position: absolute;
  left: 14.93%;
  top: 22.9%;
  margin: 0;
  color: #fff;
  font-family:
    "FZXiaoBiaoSong-B05S",
    "STSong",
    "SimSun",
    serif;
  font-size: 2.18cqw;
  font-weight: 700;
  letter-spacing: 0.78cqw;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(17, 93, 99, 0.28);
  writing-mode: vertical-rl;
}

.intro-copy p {
  position: absolute;
  left: 20.1%;
  top: 22%;
  width: 63.55%;
  margin: 0;
  font-size: 1.60cqw;
  font-weight: 400;
  line-height: 3cqw;
  text-align: left;
}

.academy-content {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.content-source {
  display: none;
}

.academy-item {
  position: absolute;
  width: var(--item-width, 24.427083%);
  height: var(--item-height, 13.344482%);
}

.academy-card {
  position: absolute;
  inset: 0 0 18.421053% 0;
  background: url("https://jjwmw.jjxw.cn/images/card-frame.png") center / 100% 100% no-repeat;
}

.hover-link {
  position: absolute;
  z-index: 2;
  border-radius: max(2px, 0.14cqw);
  outline: 0;
  text-decoration: none;
}

.hover-link::after {
  position: absolute;
  inset: -0.28cqw;
  z-index: -1;
  content: "";
  border-radius: inherit;
  background: rgba(220, 252, 241, 0.26);
  opacity: 0;
  transform: scale(0.98);
  transition:
    opacity 140ms ease,
    transform 160ms ease;
}

.hover-link::before {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.42cqw);
  z-index: 10;
  width: max-content;
  max-width: min(19cqw, 280px);
  padding: max(4px, 0.34cqw) max(9px, 0.62cqw);
  content: attr(data-tip);
  color: #f8fffb;
  background: rgba(12, 72, 78, 0.94);
  border: 1px solid rgba(224, 252, 244, 0.42);
  border-radius: 999px;
  box-shadow: 0 max(5px, 0.45cqw) max(16px, 1.25cqw) rgba(15, 70, 76, 0.24);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    sans-serif;
  font-size: max(11px, 0.68cqw);
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.42cqw);
  transition:
    opacity 150ms ease,
    transform 150ms ease;
  white-space: normal;
}

.hover-link:hover::after,
.hover-link:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.hover-link:hover::before,
.hover-link:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

.academy-title {
  left: 11.727079%;
  top: 10.906298%;
  display: inline-block;
  width: max-content;
  max-width: 62%;
  color: var(--text);
  font-family:
    "FZXBSK--GBK1-0",
    "FZXiaoBiaoSong-B05S",
    "STSong",
    "SimSun",
    serif;
  font-size: 22px;
  font-size: 1.875cqw;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}

.academy-image {
  left: 10.660981%;
  top: 19.047619%;
  width: 78.678038%;
  height: 37.788018%;
  overflow: hidden;
  background: #d8e7dd;
}

.academy-image::after {
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(rgba(237, 255, 248, 0.18), rgba(237, 255, 248, 0.18)),
    radial-gradient(
      ellipse at var(--hover-x, 50%) var(--hover-y, 50%),
      rgba(222, 252, 241, 0.7) 0%,
      rgba(39, 130, 128, 0.2) 54%,
      rgba(39, 130, 128, 0) 78%
    );
}

.academy-image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.academy-image:hover img,
.academy-image:focus-visible img {
  transform: scale(1.035);
}

.academy-desc {
  left: 12.579957%;
  top: 58.832565%;
  display: block;
  width: 74.840085%;
  height: 37.480799%;
  color: var(--text);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    sans-serif;
  font-size: 0;
  letter-spacing: 0;
  overflow: hidden;
  overflow: clip;
}

.academy-desc strong {
  display: block;
  margin-bottom: 0.33cqw;
  font-size: 14px;
  font-size: 1.15cqw;
  font-weight: 700;
  line-height: 1.24;
}

.academy-desc span {
  display: block;
  font-size: 14px;
  font-size: 1.0cqw;
  font-weight: 400;
  line-height: 1.55;
}

.news-list {
  position: absolute;
  left: 8.315565%;
  top: 84.085213%;
  display: grid;
  gap: 0;
  width: 80%;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    sans-serif;
  font-size: 11px;
  font-size: 1.15cqw;
  line-height: 22px;
  line-height: 2.4cqw;
  letter-spacing: 0;
}

.news-link {
  position: relative;
  display: inline-block;
  
  max-width: 100%;
    white-space: normal;
    word-break: break-all;
    word-wrap: break-word;
    line-height: inherit;
  color: currentColor;
}

.news-link::before {
  left: 50%;
}

.news-link::after {
  inset: auto -0.25cqw 0;
  height: 58%;
  border-radius: 999px;
  background:
    linear-gradient(transparent 25%, rgba(226, 255, 244, 0.72) 26%),
    radial-gradient(ellipse at var(--hover-x, 50%) 100%, rgba(44, 141, 136, 0.3), transparent 76%);
  filter: blur(0.06cqw);
}

.news-bullet {
  padding-right: 0.25em;
}

.academy-item[data-tone="jade"] .news-list {
  color: #fff;
}

.academy-item[data-tone="paper"] .news-list {
  color: #006989;
}

.scroll-intro {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 252, 239, 0.74), rgba(222, 239, 225, 0.38) 45%, rgba(196, 220, 205, 0.62)),
    radial-gradient(ellipse at 44% 38%, rgba(255, 255, 250, 0.5), rgba(232, 244, 232, 0.28) 42%, rgba(191, 220, 206, 0.66)),
    #edf4e8;
  isolation: isolate;
}

.scroll-intro::before,
.scroll-intro::after {
  position: absolute;
  inset: -8%;
  content: "";
  pointer-events: none;
}

.scroll-intro::before {
  z-index: -2;
  background:
    radial-gradient(ellipse at 16% 58%, rgba(30, 112, 116, 0.22), transparent 31%),
    radial-gradient(ellipse at 79% 34%, rgba(71, 153, 145, 0.18), transparent 27%),
    radial-gradient(ellipse at 52% 72%, rgba(17, 77, 82, 0.14), transparent 34%),
    linear-gradient(10deg, transparent 41%, rgba(33, 109, 112, 0.1) 42%, transparent 62%);
  filter: blur(18px);
  transform: scale(1.06);
}

.scroll-intro::after {
  z-index: -1;
  opacity: 0.46;
  background:
    repeating-linear-gradient(0deg, rgba(45, 98, 91, 0.035) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, rgba(153, 129, 82, 0.025) 0 1px, transparent 1px 13px);
  mix-blend-mode: multiply;
}

body.intro-ready .scroll-intro {
  animation: scroll-intro-fade 2100ms ease both;
}

body.intro-ready .scroll-intro::before {
  animation: intro-ink-drift 2100ms ease both;
}

.scroll-paper {
  position: absolute;
  top: -6vh;
  bottom: -6vh;
  width: 54vw;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(18, 87, 92, 0.08), transparent 36%),
    linear-gradient(90deg, rgba(119, 162, 151, 0.16), transparent 10%, transparent 90%, rgba(119, 162, 151, 0.14)),
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.76), transparent 22%),
    radial-gradient(circle at 74% 66%, rgba(190, 223, 207, 0.18), transparent 24%),
    repeating-linear-gradient(0deg, rgba(44, 115, 112, 0.035) 0 1px, transparent 1px 11px),
    #f7f4e9;
  box-shadow:
    inset 0 0 72px rgba(32, 96, 96, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  will-change: transform;
}

.scroll-paper::before,
.scroll-paper::after {
  position: absolute;
  inset: -12%;
  content: "";
  pointer-events: none;
}

.scroll-paper::before {
  background:
    radial-gradient(ellipse at 28% 45%, rgba(21, 94, 99, 0.16), transparent 28%),
    radial-gradient(ellipse at 78% 58%, rgba(48, 130, 124, 0.12), transparent 25%),
    linear-gradient(90deg, transparent 0 40%, rgba(25, 91, 94, 0.07) 46%, transparent 58%);
  filter: blur(14px);
}

.scroll-paper::after {
  opacity: 0.38;
  background:
    repeating-linear-gradient(6deg, rgba(88, 91, 72, 0.045) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(96deg, rgba(45, 115, 112, 0.035) 0 1px, transparent 1px 19px);
  mix-blend-mode: multiply;
}

.scroll-paper-left {
  left: 0;
  border-right: 1px solid rgba(70, 125, 119, 0.28);
}

body.intro-ready .scroll-paper-left {
  animation: scroll-paper-left 1800ms cubic-bezier(0.22, 0.78, 0.16, 1) 120ms both;
}

.scroll-paper-right {
  right: 0;
  border-left: 1px solid rgba(70, 125, 119, 0.28);
}

body.intro-ready .scroll-paper-right {
  animation: scroll-paper-right 1800ms cubic-bezier(0.22, 0.78, 0.16, 1) 120ms both;
}

.scroll-rod {
  position: absolute;
  top: -8vh;
  bottom: -8vh;
  width: clamp(26px, 3.2vw, 52px);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.38), transparent 30%, rgba(11, 74, 78, 0.26) 74%, rgba(255, 255, 255, 0.22)),
    linear-gradient(180deg, #316e75, #88b9b0 18%, #2e7c84 52%, #7fb1a9 82%, #225d67);
  box-shadow:
    0 0 18px rgba(25, 82, 87, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.26);
  will-change: transform;
}

.scroll-rod-left {
  left: calc(50% - clamp(26px, 3.2vw, 52px));
}

body.intro-ready .scroll-rod-left {
  animation: scroll-rod-left 1800ms cubic-bezier(0.22, 0.78, 0.16, 1) 120ms both;
}

.scroll-rod-right {
  right: calc(50% - clamp(26px, 3.2vw, 52px));
}

body.intro-ready .scroll-rod-right {
  animation: scroll-rod-right 1800ms cubic-bezier(0.22, 0.78, 0.16, 1) 120ms both;
}

.scroll-title {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(78vw, 920px);
  color: rgba(20, 76, 83, 0.72);
  transform: translate(-50%, -50%);
  will-change: opacity, transform, filter;
}

.scroll-title::before {
  position: absolute;
  inset: 18% 5% 14%;
  content: "";
  background:
    radial-gradient(ellipse at 35% 48%, rgba(0, 40, 45, 0.34), transparent 53%),
    radial-gradient(ellipse at 67% 54%, rgba(42, 124, 116, 0.2), transparent 46%);
  filter: blur(22px);
  opacity: 0;
  transform: scaleX(0.32);
  transform-origin: center;
}

.scroll-title-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 10px 22px rgba(13, 62, 66, 0.16))
    drop-shadow(0 0 1px rgba(240, 255, 248, 0.5));
}

.scroll-title-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body.intro-ready .scroll-title {
  animation: scroll-title-ink 1680ms cubic-bezier(0.2, 0.82, 0.18, 1) both;
}

body.intro-ready .scroll-title::before {
  animation: scroll-title-wash 1680ms ease both;
}

.water-filter-defs {
  position: fixed;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.water-distortion {
  --water-x: 50vw;
  --water-y: 50vh;
  --water-rx: 0px;
  --water-ry: 0px;
  --water-opacity: 0;

  position: fixed;
  inset: 0;
  z-index: 11;
  overflow: hidden;
  opacity: var(--water-opacity);
  pointer-events: none;
  clip-path: ellipse(var(--water-rx) var(--water-ry) at var(--water-x) var(--water-y));
  -webkit-mask-image: radial-gradient(
    ellipse var(--water-rx) var(--water-ry) at var(--water-x) var(--water-y),
    #000 0,
    rgba(0, 0, 0, 0.92) 52%,
    rgba(0, 0, 0, 0.42) 78%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse var(--water-rx) var(--water-ry) at var(--water-x) var(--water-y),
    #000 0,
    rgba(0, 0, 0, 0.92) 52%,
    rgba(0, 0, 0, 0.42) 78%,
    transparent 100%
  );
  contain: layout paint style;
  will-change: clip-path, opacity, mask-image;
}

.water-distortion-copy {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  filter: url("#water-displace");
  transform-origin: center;
  will-change: transform;
}

.water-distortion-copy .poster-stage {
  width: 100%;
}

.water-distortion-copy a {
  pointer-events: none;
}

.water-ripple {
  position: fixed;
  inset: 0;
  z-index: 12;
  display: block;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  mix-blend-mode: normal;
  opacity: 0.72;
}

.ink-toast {
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 32px);
  z-index: 20;
  max-width: min(360px, calc(100vw - 28px));
  padding: 12px 16px;
  color: #f8fffb;
  background: linear-gradient(135deg, rgba(12, 76, 82, 0.95), rgba(24, 122, 117, 0.9));
  border: 1px solid rgba(234, 255, 249, 0.4);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(16, 76, 82, 0.26);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.ink-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .page-shell {
    width: var(--page-min);
    max-width: none;
  }

  body {
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hover-link::after,
  .hover-link::before,
  .academy-image img,
  .water-distortion,
  .water-ripple,
  .ink-toast {
    transition: none;
  }

  .academy-image:hover img,
  .academy-image:focus-visible img {
    transform: none;
  }

  body.is-entering .page-shell,
  .scroll-intro,
  .scroll-paper-left,
  .scroll-paper-right,
  .scroll-rod-left,
  .scroll-rod-right,
  .scroll-title,
  .scroll-title::before,
  body.intro-ready .scroll-intro::before {
    animation: none;
  }

  .scroll-intro {
    display: none;
  }
}

@keyframes page-unfurl {
  0% {
    filter: blur(2px) saturate(0.84);
    opacity: 0.76;
    transform: scaleX(0.055) scaleY(0.992);
  }

  56% {
    filter: blur(0.8px) saturate(0.95);
    opacity: 0.9;
    transform: scaleX(0.84) scaleY(0.997);
  }

  100% {
    filter: none;
    opacity: 1;
    transform: none;
  }
}

@keyframes scroll-paper-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-106%);
  }
}

@keyframes scroll-paper-right {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(106%);
  }
}

@keyframes scroll-rod-left {
  0% {
    transform: translateX(0) rotate(0deg);
  }

  100% {
    transform: translateX(calc(-50vw - 52px)) rotate(-16deg);
  }
}

@keyframes scroll-rod-right {
  0% {
    transform: translateX(0) rotate(0deg);
  }

  100% {
    transform: translateX(calc(50vw + 52px)) rotate(16deg);
  }
}

@keyframes scroll-title-ink {
  0% {
    opacity: 0;
    filter: blur(8px) saturate(0.72);
    transform: translate(-50%, -50%) scaleX(0.72) scaleY(0.96);
  }

  22% {
    opacity: 1;
    filter: blur(1.4px) saturate(0.92);
    transform: translate(-50%, -50%) scaleX(1.02) scaleY(0.99);
  }

  58% {
    opacity: 1;
    filter: blur(0) saturate(1.02);
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    filter: blur(7px) saturate(0.84);
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes scroll-title-wash {
  0% {
    opacity: 0;
    transform: scaleX(0.24) scaleY(0.78);
  }

  28% {
    opacity: 0.62;
    transform: scaleX(0.86) scaleY(1);
  }

  64% {
    opacity: 0.42;
    transform: scaleX(1.06) scaleY(1.12);
  }

  100% {
    opacity: 0;
    transform: scaleX(1.22) scaleY(1.28);
  }
}

@keyframes intro-ink-drift {
  0% {
    opacity: 0.32;
    transform: scale(1.02) translateY(1.6vh);
  }

  45% {
    opacity: 0.78;
    transform: scale(1.08) translateY(0);
  }

  100% {
    opacity: 0;
    transform: scale(1.14) translateY(-1.8vh);
  }
}

@keyframes scroll-intro-fade {
  0%,
  72% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}
