:root {
  --blue: #40bfee;
  --blue-soft: #bcefff;
  --ice: #edf9ff;
  --yellow: #ffdf58;
  --ink: #31547e;
  --ink-deep: #213f68;
  --white: #fff;
  --line: rgba(49, 84, 126, .14);
  --shadow: 0 20px 55px rgba(42, 133, 181, .16);
  --radius-lg: 32px;
  --radius-md: 22px;
  --shell: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ice);
  font-family: "Microsoft YaHei UI", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--ink-deep); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; padding: 9px 14px; border-radius: 999px; background: var(--yellow); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 20; top: 0; left: 0; width: 100%; transition: background .25s, box-shadow .25s; }
.site-header.is-scrolled { background: rgba(237,249,255,.88); box-shadow: 0 7px 24px rgba(49,84,126,.09); backdrop-filter: blur(14px); }
.nav-shell { width: var(--shell); height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 900; letter-spacing: .04em; }
.brand img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(49,84,126,.12)); }
.main-menu { display: flex; gap: 34px; align-items: center; font-size: 14px; font-weight: 800; }
.main-menu a { position: relative;}
.main-menu a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 3px; border-radius: 3px; background: var(--yellow); transform: scaleX(0); transition: transform .2s; }
.main-menu a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 3px; margin: 5px 0; border-radius: 3px; background: var(--ink); }

.hero { position: relative; min-height: 790px; padding: 150px 0 100px; overflow: hidden; background: linear-gradient(rgba(64, 191, 238, 1),rgba(188, 239, 255, 0.1)), url("线稿.png") 135% 330px / cover no-repeat; background-size: 60% }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 35%, rgba(255,255,255,.55), transparent 40%); }
.news-stage { position: relative; z-index: 3; min-height: 500px; }
.hero-inner { position: relative; z-index: 3; width: min(1260px, calc(100% - 40px)); margin: auto; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 48px; }
.news-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(0); pointer-events: none; }
.news-slide.is-active { opacity: 1; visibility: visible; transform: translateX(0); pointer-events: auto; }
.news-slide.is-entering-left { visibility: visible; animation: news-enter-from-left .72s cubic-bezier(.22,.7,.18,1) both; }
.news-slide.is-entering-right { visibility: visible; animation: news-enter-from-right .72s cubic-bezier(.22,.7,.18,1) both; }
.news-slide.is-leaving-left { visibility: visible; animation: news-exit-to-left .72s cubic-bezier(.22,.7,.18,1) both; }
.news-slide.is-leaving-right { visibility: visible; animation: news-exit-to-right .72s cubic-bezier(.22,.7,.18,1) both; }
.hero-copy { padding-top: 34px; }
.hero .eyebrow, .kicker { margin: 0 0 16px; font-size: 18px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hero .eyebrow span { display: inline-block; margin-right: 8px; padding: 10px 15px; border-radius: 999px; background: var(--yellow); box-shadow: 0 4px 0 #e6bd35; }
.eyebrow, .kicker { margin: 0 0 16px; font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { display: inline-block; margin-right: 8px; padding: 5px 10px; border-radius: 999px; background: var(--yellow); box-shadow: 0 4px 0 #e6bd35; }
.hero h1, .hero h2 { margin: 0; color: var(--ink-deep); font-size: clamp(48px, 6.5vw,52px); line-height: 1.2; letter-spacing: -.03em; text-shadow: 4px 4px 0 rgba(255,255,255,.86); }
.hero h1 em, .hero h2 em { color: var(--ink); font-style: normal; }
.hero-en { margin: 17px 0 22px; color: #5782ad; font-size: 13px; font-weight: 900; letter-spacing: .24em; }
.hero-lead { margin: 0 0 28px; font-size: 17px; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 22px; border-radius: 999px; font-size: 14px; font-weight: 900; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--ink-deep); background: var(--yellow); box-shadow: 0 7px 0 #d8ac28, 0 12px 25px rgba(147,113,9,.15); }
.button-primary:hover { box-shadow: 0 9px 0 #d8ac28, 0 15px 28px rgba(147,113,9,.2); }
.button-secondary { background: rgba(255,255,255,.86); box-shadow: 0 7px 0 rgba(97,184,225,.35); }
.hero-art { position: relative; --px: 0px; --py: 0px; transform: translate(var(--px), var(--py)) rotate(2deg); }
.art-frame { position: relative; padding: 12px 12px 44px; overflow: hidden; border: 0; border-radius: 0; background: white; box-shadow: 0 34px 82px rgba(34,91,128,.28), 0 15px 26px rgba(28,54,82,.16), 0 10px 0 rgba(255,255,255,.7) inset; }
.art-frame::before { content: "PHOTO BY REGOR"; position: absolute; left: 28px; bottom: 13px; z-index: 2; color: rgba(49,84,126,.55); font-family: Georgia, "Times New Roman", serif; font-size: 13px; font-style: italic; letter-spacing: .08em; pointer-events: none; }
.art-frame::after { content: ""; position: absolute; inset: 12px 12px 44px; z-index: 1; border: 2px solid rgba(255,223,88,.8); border-radius: 0; pointer-events: none; }
.art-frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 0; object-fit: contain; background: #dff5ff; }
.art-label { position: absolute; right: -12px; bottom: -15px; padding: 10px 18px; border-radius: 999px; background: var(--yellow); font-size: 12px; font-weight: 900; transform: rotate(-4deg); box-shadow: 0 8px 0 #dfb62f; }
.news-controls { position: absolute; z-index: 6; inset: 0; pointer-events: none; }
.news-arrow { position: absolute; top: 50%; width: 72px; height: 112px; padding: 0 0 10px; border: 0; border-radius: 24px; background: rgba(255,255,255,.32); color: rgba(33,63,104,.7); cursor: pointer; font-family: Arial, sans-serif; font-size: 78px; font-weight: 300; line-height: 1; pointer-events: auto; transition: transform .2s, background .2s, color .2s; }
.news-arrow.news-prev { left: clamp(8px, 2vw, 32px); }
.news-arrow.news-next { right: clamp(8px, 2vw, 32px); }
.news-arrow:hover { background: rgba(255,255,255,.58); color: var(--ink-deep); transform: scale(1.06); }
.news-dots { position: absolute; left: 50%; bottom: 78px; display: flex; align-items: center; gap: 10px; pointer-events: auto; transform: translateX(-50%); }
[data-news-dot] { width: 12px; height: 12px; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; transition: transform .2s, background .2s; }
[data-news-dot][aria-current="true"] { background: var(--yellow); transform: scale(1.25); }
.halftone { position: absolute; width: 410px; height: 310px; background-image: radial-gradient(rgba(255,255,255,.88) 0 5px, transparent 6px); background-size: 28px 28px; mask-image: radial-gradient(ellipse, #000, transparent 70%); }
.halftone-top { top: 100px; left: 50px; }
.orbit { position: absolute; z-index: 1; border: 13px solid rgba(83,185,231,.2); border-radius: 50%; animation: orbit-spin 18s linear infinite; }
.orbit::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 8px rgba(255,223,88,.25); }
.orbit-one { width: 270px; height: 270px; left: -120px; bottom: -30px; }
.orbit-one::after { right: 4px; top: 42px; }
.orbit-two { width: 520px; height: 160px; left: -180px; bottom: 5px; transform: rotate(12deg); }
.orbit-two::after { right: 76px; top: -15px; }
.four-point-star { position: absolute; z-index: 2; width: 74px; aspect-ratio: 1; background: var(--yellow); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); filter: drop-shadow(0 7px 0 rgba(221,174,34,.35)); animation: sparkle 3.5s ease-in-out infinite; }
.star-one { right: 7%; top: 110px; }
.star-two { right: 38%; bottom: 90px; width: 38px; animation-delay: -1.5s; }
.star-three { right: 55%; top: 100px; }
.star-four { right: 60%; top: 150px; width: 28px; animation-delay: -0.8s; }
.section { position: relative; padding: 110px 0; }
.section-shell { width: var(--shell); margin: auto; }
.section-cut { isolation: isolate; overflow: hidden; margin-top: -22px; padding-top: 132px; }
.section-cut > .section-shell { position: relative; z-index: 2; }
.section-cut::after { content: ""; position: absolute; z-index: 5; top: 0; left: 0; width: 100%; height: 22px; background: var(--yellow); pointer-events: none; }
.game-section.section-cut { clip-path: polygon(0 18px, 100% 0, 100% 100%, 0 100%); }
.game-section.section-cut::after { clip-path: polygon(0 18px, 100% 0, 100% 4px, 0 22px); }
.links-section.section-cut { clip-path: polygon(0 0, 100% 18px, 100% 100%, 0 100%); }
.links-section.section-cut::after { clip-path: polygon(0 0, 100% 18px, 100% 22px, 0 4px); }
.about-section.section-cut { clip-path: polygon(0 18px, 100% 0, 100% 100%, 0 100%); }
.about-section.section-cut::after { clip-path: polygon(0 18px, 100% 0, 100% 4px, 0 22px); }
.members-section.section-cut { clip-path: polygon(0 0, 100% 18px, 100% 100%, 0 100%); }
.members-section.section-cut::after { clip-path: polygon(0 0, 100% 18px, 100% 22px, 0 4px); }
.section-heading { max-width: 720px; margin-bottom: 52px; }
.kicker { color: #48a9d5; }
.section h2 { margin: 0 0 15px; color: var(--ink-deep); font-size: clamp(34px, 4vw, 54px); line-height: 1.15; letter-spacing: -.04em; }
.section-heading > p:last-child { margin: 0; font-size: 16px; }
.ui-title-card {
  position: relative;
  isolation: isolate;
  width: min(680px,100%);
  margin-bottom: 30px;
  padding: 38px 38px 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 22%, rgba(188,239,255,.35) 0 34px, transparent 35px),
    radial-gradient(circle at 82% 29%, rgba(188,239,255,.22) 0 20px, transparent 21px),
    rgba(252,254,255,.88);
  box-shadow: 0 18px 36px rgba(28,54,82,.22), 0 3px 0 rgba(255,255,255,.9) inset;
}
.ui-title-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -10px 10px 10px -8px;
  border: 2px solid rgba(68,78,91,.52);
  border-radius: 32px;
  background: rgba(247,249,251,.55);
  box-shadow: 8px 12px 0 rgba(30,39,50,.18);
  transform: rotate(-1.25deg);
}
.ui-title-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 20px;
  border: 2px dashed #159ee2;
  border-radius: 16px;
  clip-path: inset(0 round 16px);
  transform: translate(-5px, -5px) rotate(-1.25deg);
  transform-origin: center;
  pointer-events: none;
}
.ui-title-card > :not(.card-clip) { position: relative; z-index: 1; }
.card-clip {
  position: absolute;
  z-index: 4;
  top: -47px;
  left: -28px;
  width: 112px;
  height: auto;
  pointer-events: none;
  transform: rotate(-8deg);
  filter: drop-shadow(0 7px 5px rgba(27,39,52,.32));
}
.notebook-card {
  position: relative;
  width: min(680px,100%);
  padding: 48px 42px 42px 88px;
  overflow: hidden;
  border: 2px solid rgba(37,49,61,.72);
  border-radius: 8px 22px 22px 8px;
  background: rgba(249,250,251,.84);
  box-shadow: 8px 10px 0 rgba(28,38,49,.22), var(--shadow);
}
.notebook-card::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 62px;
  width: 14px;
  height: 14px;
  border: 4px solid #aeb7bf;
  border-radius: 50%;
  background: #26384a;
  box-shadow: 0 90px 0 -4px #26384a, 0 90px 0 0 #aeb7bf, 0 180px 0 -4px #26384a, 0 180px 0 0 #aeb7bf;
}
.game-content.notebook-card::before {
  box-shadow:
    0 90px 0 -4px #26384a, 0 90px 0 0 #aeb7bf,
    0 180px 0 -4px #26384a, 0 180px 0 0 #aeb7bf,
    0 270px 0 -4px #26384a, 0 270px 0 0 #aeb7bf,
    0 360px 0 -4px #26384a, 0 360px 0 0 #aeb7bf;
}
.notebook-card::after {
  content: "✦";
  position: absolute;
  right: 34px;
  top: 20px;
  color: rgba(255,223,88,.38);
  font-size: 70px;
  line-height: 1;
  text-shadow: -310px 230px 0 rgba(255,223,88,.2);
  pointer-events: none;
}
.game-section { min-height: 820px; background: var(--ice); }
.game-section::before { content: ""; position: absolute; z-index: 0; inset: 0; background: url("CG1_longing_h.jpg") center / cover no-repeat; mask-image: linear-gradient(to bottom right, transparent 2%, rgba(0,0,0,.16) 34%, #000 78%); -webkit-mask-image: linear-gradient(to bottom right, transparent 2%, rgba(0,0,0,.16) 34%, #000 78%); pointer-events: none; }
.game-section .section-shell { display: grid; align-content: start; gap: 0; }
.game-content { max-width: 680px; }
.game-layout { display: block; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag-row span { padding: 6px 11px; border: 1px solid #8bd4f3; border-radius: 999px; background: white; color: #3d80a3; font-size: 12px; font-weight: 800; }
.game-copy h3 { margin: 0 0 18px; color: var(--ink-deep); font-size: 27px; line-height: 1.45; }
.game-copy > p { margin: 0 0 25px; }
.feature-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 16px; min-height: 54px; padding: 13px 18px; border-radius: 14px; background: rgba(188,239,255,.46); }
.feature-list b { color: #268fbe; }
.feature-list span { font-size: 13px; }

.links-section { min-height: 920px; background: #fff8f2; }
.links-section::before { content: ""; position: absolute; z-index: 0; inset: 0; background: url("CG2_playing.jpg") center / cover no-repeat; mask-image: linear-gradient(to bottom left, transparent 3%, rgba(0,0,0,.22) 38%, #000 82%); -webkit-mask-image: linear-gradient(to bottom left, transparent 3%, rgba(0,0,0,.22) 38%, #000 82%); pointer-events: none; }
.links-section .section-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(530px, .78fr); column-gap: 70px; }
.links-section .section-heading { grid-column: 2; margin-bottom: 30px; }
.links-section .link-grid { grid-column: 2; }
.link-grid {
  --piano-black-width: 58%;
  --piano-black-offset: 42%;
  --piano-gap: 28px;
  --piano-tab-reach: 14px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--piano-gap);
}
.links-section .platform-card:nth-child(odd) {
  position: relative;
  z-index: 1;
  overflow: visible;
  width: 100%;
  justify-self: start;
  background: #fff;
  color: var(--ink-deep);
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 1px rgba(80,105,130,.72)) drop-shadow(0 7px 0 rgba(20,42,73,.12));
}
.links-section .platform-card:nth-child(1) {
  border-radius: 18px 18px 18px 0;
}
.links-section .platform-card:nth-child(3),
.links-section .platform-card:nth-child(5) {
  border-radius: 0 18px 18px 0;
}
.links-section .platform-card:nth-child(7) {
  border-radius: 0 18px 18px 18px;
}
.links-section .platform-card:nth-child(even) {
  position: relative;
  z-index: 2;
  width: var(--piano-black-width);
  justify-self: end;
  background: var(--ink-deep);
  color: white;
  border-color: #102742;
  box-shadow: -10px 8px 0 rgba(20,42,73,.18);
}
.links-section .platform-card:nth-child(1)::before,
.links-section .platform-card:nth-child(3)::before,
.links-section .platform-card:nth-child(3)::after,
.links-section .platform-card:nth-child(5)::before,
.links-section .platform-card:nth-child(5)::after,
.links-section .platform-card:nth-child(7)::before {
  content: "";
  position: absolute;
  left: 0;
  z-index: 0;
  width: calc(var(--piano-black-offset) + 4px);
  height: calc(var(--piano-tab-reach) + 4px);
  border: 0;
  background: #fff;
  box-shadow: none;
  pointer-events: none;
}
.links-section .platform-card:nth-child(3)::before,
.links-section .platform-card:nth-child(3)::after {
  pointer-events: none;
}
.links-section .platform-card:nth-child(1)::before {
  bottom: calc(-1 * var(--piano-tab-reach));
  border-radius: 0 0 12px 12px;
}
.links-section .platform-card:nth-child(3)::before {
  top: calc(-1 * var(--piano-tab-reach));
  border-radius: 12px 12px 0 0;
}
.links-section .platform-card:nth-child(3)::after {
  bottom: calc(-1 * var(--piano-tab-reach));
  border-radius: 0 0 12px 12px;
}
.links-section .platform-card:nth-child(5)::before {
  top: calc(-1 * var(--piano-tab-reach));
  border-radius: 12px 12px 0 0;
}
.links-section .platform-card:nth-child(5)::after {
  bottom: calc(-1 * var(--piano-tab-reach));
  border-radius: 0 0 12px 12px;
}
.links-section .platform-card:nth-child(7)::before {
  top: calc(-1 * var(--piano-tab-reach));
  border-radius: 12px 12px 0 0;
}
.links-section .platform-card:nth-child(even) small { color: #bcefff; }
.links-section .platform-card:nth-child(even) b,
.links-section .platform-card:nth-child(even) i { color: white; }
.links-section .platform-card:nth-child(even) .platform-icon { color: var(--ink-deep); background: white; }
.platform-card { min-height: 84px; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 13px 18px; border: 2px solid var(--blue-soft); border-radius: 18px; background: rgba(237,249,255,.9); box-shadow: 0 6px 0 rgba(104,198,237,.22); transition: transform .2s, box-shadow .2s, border-color .2s; }
a.platform-card:hover { transform: translateY(-6px) rotate(-.5deg); border-color: var(--yellow); box-shadow: 0 14px 0 rgba(255,223,88,.42), var(--shadow); }
.links-section a.platform-card:nth-child(odd):hover { box-shadow: none; filter: drop-shadow(0 12px 0 rgba(255,223,88,.42)) drop-shadow(0 18px 24px rgba(42,133,181,.18)); }
.platform-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; color: white; background: var(--blue); font-size: 21px; font-weight: 900; }
.platform-card small, .platform-card b { display: block; }
.platform-card small { color: #6990af; font-size: 11px; }
.platform-card b { color: var(--ink-deep); font-size: 17px; }
.platform-card i { font-style: normal; font-size: 20px; }
.bilibili .platform-icon { background: #fb7299; }
.cngal .platform-icon { background: #5aa3db; }
.music .platform-icon { color: var(--ink); background: var(--yellow); }
.making .platform-icon { background: #7f85dc; }
.blackbox .platform-icon { background: var(--ink-deep); }
.pending { opacity: .62; filter: grayscale(.2); }

.about-section { min-height: 820px; background: var(--ice); }
.about-section::before { content: ""; position: absolute; z-index: 0; inset: 0; background: url("彗星CG.jpg") center / cover no-repeat; mask-image: linear-gradient(to bottom right, transparent 2%, rgba(0,0,0,.16) 34%, #000 78%); -webkit-mask-image: linear-gradient(to bottom right, transparent 2%, rgba(0,0,0,.16) 34%, #000 78%); pointer-events: none; }
.about-layout { display: block; }
.about-content { max-width: 680px; }
.section-logo { --parallax-x: 0px; --parallax-y: 0px; position: absolute; z-index: 1; bottom: clamp(34px,5vw,72px); width: clamp(230px,25vw,340px); height: auto; opacity: .52; pointer-events: none; filter: drop-shadow(0 8px 14px rgba(20,42,73,.16)); transform: translate3d(var(--parallax-x), var(--parallax-y), 0); transition: transform 3.35s cubic-bezier(.16,.72,.12,1); will-change: transform; }
.logo-bottom-right { right: clamp(20px,5vw,72px); }
.logo-bottom-left { left: clamp(20px,5vw,72px); }
.about-copy > p { max-width: 620px; font-size: 16px; }
.about-stats { display: flex; gap: 34px; margin-top: 34px; padding-top: 24px; border-top: 2px dashed rgba(49,84,126,.2); }
.about-stats span { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; }
.about-stats b { color: #2fa8d9; font-size: 34px; }

.members-section { background: var(--ice); }
.members-section::before { content: ""; position: absolute; z-index: 0; inset: 0; opacity: .42; background-image: url("侧立.png"), url("男主的立绘.png"); background-repeat: no-repeat, no-repeat; background-size: 20%, 21%; background-position: 104% 360px, -25px 325px; pointer-events: none; }
.member-grid { display: grid; gap: 18px; }
.core-member-grid { grid-template-columns: repeat(3, 1fr); }
.member-card { --member-key-lift: -10px; --member-key-tilt: -.6deg; --member-key-shadow: 0 16px 0 rgba(255,223,88,.46), 0 28px 48px rgba(49,117,154,.2); position: relative; min-height: 280px; padding: 27px 23px; overflow: hidden; border: 2px solid white; border-radius: var(--radius-md); background: white; box-shadow: 0 12px 35px rgba(49,117,154,.1); cursor: pointer; isolation: isolate; transform-origin: 50% 85%; transition: transform .22s, box-shadow .22s, border-color .22s, background .22s; }
.core-member-grid .member-card:nth-child(1) { --member-key-tilt: -1.1deg; --member-key-shadow: 8px 16px 0 rgba(255,223,88,.46), 0 28px 48px rgba(49,117,154,.2); }
.core-member-grid .member-card:nth-child(2) { --member-key-tilt: .8deg; --member-key-shadow: -7px 16px 0 rgba(255,223,88,.46), 0 28px 48px rgba(49,117,154,.2); }
.core-member-grid .member-card:nth-child(3) { --member-key-tilt: -1.35deg; --member-key-shadow: 9px 16px 0 rgba(255,223,88,.46), 0 28px 48px rgba(49,117,154,.2); }
.core-member-grid .member-card:nth-child(4) { --member-key-tilt: .95deg; --member-key-shadow: -8px 16px 0 rgba(255,223,88,.46), 0 28px 48px rgba(49,117,154,.2); }
.core-member-grid .member-card:nth-child(5) { --member-key-tilt: -.75deg; --member-key-shadow: 7px 16px 0 rgba(255,223,88,.46), 0 28px 48px rgba(49,117,154,.2); }
.core-member-grid .member-card:nth-child(6) { --member-key-tilt: 1.2deg; --member-key-shadow: -9px 16px 0 rgba(255,223,88,.46), 0 28px 48px rgba(49,117,154,.2); }
.member-card:hover, .member-card:focus-visible { border-color: var(--yellow); background: linear-gradient(145deg, #fff, #f4fbff); transform: translateY(var(--member-key-lift)) rotate(var(--member-key-tilt)); box-shadow: var(--member-key-shadow); }
.member-card::before { content: "查看"; position: absolute; right: 18px; bottom: 18px; z-index: 2; padding: 5px 10px; border-radius: 999px; color: var(--ink-deep); background: var(--yellow); font-size: 11px; font-weight: 900; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.member-card:hover::before, .member-card:focus-visible::before { opacity: 1; transform: translateY(0); }
.member-card::after { content: ""; position: absolute; right: -25px; bottom: -25px; width: 90px; height: 90px; border: 18px solid var(--blue-soft); border-radius: 50%; opacity: .45; }
.member-no { position: absolute; top: 18px; right: 20px; color: #9fcae0; font-weight: 900; }
.member-avatar {width: 78px;height: 78px;margin-bottom: 24px;overflow: hidden;border-radius: 50%;background: var(--blue-soft);box-shadow: 0 0 0 7px #d5edf6;}
.member-avatar img {width: 100%;height: 100%;object-fit: cover;object-position: center 60%; transition: transform .22s;}
.member-card:hover .member-avatar img, .member-card:focus-visible .member-avatar img { transform: scale(1.08); }
.member-card h3 { margin: 0 0 10px; color: var(--ink-deep); font-size: 18px; }
.member-card p { margin: 0; color: #6b849f; font-size: 13px; }
.member-page { min-height: 100vh; background: var(--ice); }
.member-profile-section { position: relative; min-height: 100vh; padding: 42px 0 70px; overflow: hidden; background: linear-gradient(rgba(64,191,238,.84), rgba(237,249,255,.92)), url("线稿.png") right bottom / min(620px, 62vw) auto no-repeat; }
.member-profile-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 18% 24%, rgba(255,255,255,.72), transparent 34%); pointer-events: none; }
.member-profile-shell { position: relative; z-index: 2; width: var(--shell); min-height: calc(100vh - 112px); margin: auto; display: grid; align-content: center; gap: 34px; }
.member-profile-brand { width: fit-content; }
.member-profile-card { position: relative; display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: center; gap: 42px; max-width: 940px; padding: 46px; overflow: hidden; border: 2px solid rgba(37,49,61,.72); border-radius: 8px 28px 28px 8px; background: rgba(249,250,251,.9); box-shadow: 10px 12px 0 rgba(28,38,49,.2), var(--shadow); }
.member-profile-card::after { content: "✦"; position: absolute; right: 32px; top: 18px; color: rgba(255,223,88,.45); font-size: 86px; line-height: 1; pointer-events: none; }
.member-profile-avatar { position: relative; width: 230px; aspect-ratio: 1; padding: 12px; border-radius: 50%; background: white; box-shadow: 0 0 0 12px rgba(188,239,255,.62), 0 20px 42px rgba(49,117,154,.18); }
.member-profile-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 60%; }
.member-profile-copy { position: relative; z-index: 1; }
.member-profile-copy h1 { margin: 0; color: var(--ink-deep); font-size: clamp(42px, 6vw, 76px); line-height: 1.05; text-shadow: 4px 4px 0 rgba(255,255,255,.82); }
.member-profile-role { display: inline-block; margin: 18px 0 20px; padding: 8px 15px; border-radius: 999px; color: var(--ink-deep); background: var(--yellow); font-weight: 900; box-shadow: 0 5px 0 #d8ac28; }
.member-profile-copy > p:not(.kicker):not(.member-profile-role) { max-width: 560px; margin: 0 0 22px; font-size: 16px; }
.member-profile-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.member-profile-tags span { padding: 7px 12px; border: 1px solid #8bd4f3; border-radius: 999px; background: white; color: #3d80a3; font-size: 12px; font-weight: 900; }
.voice-section { margin-top: 58px; padding: 34px; border: 2px solid white; border-radius: var(--radius-lg); background: linear-gradient(135deg,rgba(188,239,255,.72),rgba(255,255,255,.9)); box-shadow: var(--shadow); }
.voice-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 6px;
  align-items: center;
  margin-bottom: 24px;
}

.voice-heading span {
  grid-column: 1;
  grid-row: 1 / 3;
  color: #38a5d4;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.voice-heading h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: var(--ink-deep);
  font-size: 28px;
  line-height: 1.2;
}

.voice-heading p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.voice-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.voice-card { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 18px; min-height: 150px; padding: 22px; border-radius: 20px; background: white; box-shadow: 0 8px 0 rgba(64,191,238,.18); }
.voice-icon {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 7px rgba(255, 223, 88, .24);
}

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

.voice-card small { color: #299dcc; font-weight: 900; }
.voice-card h4 { margin: 1px 0 2px; color: var(--ink-deep); font-size: 18px; }
.voice-card p { margin: 0; color: #6b849f; font-size: 12px; }

.contact-strip { --parallax-y: 0px; padding: 72px 20px; color: var(--ink-deep); background-color: var(--blue); background-image: url("林无月望远镜.png"); background-repeat: no-repeat; background-position: 80% calc(50% + var(--parallax-y)); background-size: 40%; transition: background-position .78s cubic-bezier(.22,.7,.18,1); }
.contact-inner { width: min(970px,100%); margin: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; }
.contact-star { position: relative; left: 720%; top: 0px; color: var(--yellow); font-size: 72px; animation: sparkle 1s ease-in-out infinite;}
.contact-inner p, .contact-inner h2 { margin: 0; }
.contact-inner > div {transform: translate(-23%, -40px);}
.contact-inner p { color: white; font-weight: 800; }
.contact-inner h2 { font-size: clamp(28px,4vw,44px); line-height: 1.2; }
.qq-chip { position: relative; left: -300%; bottom:-50% ; display: grid; grid-template-columns: auto 1fr; gap: 0 12px; min-width: 230px; padding: 13px 18px; border: 0; border-radius: 18px; background: var(--yellow); box-shadow: 0 7px 0 #d3a925; cursor: pointer; text-align: left; transition: transform .2s;}
.qq-chip:hover { transform: translateY(-3px); }
.qq-chip span { grid-row: span 2; align-self: center; font-weight: 900; }
.qq-chip b { font-size: 18px; }
.qq-chip small { position: relative; left: 20%; font-size: 10px; }

.site-footer { padding: 52px 20px; background: #27466d; color: #d7effd; text-align: center; }
.footer-inner { display: grid; justify-items: center; gap: 12px; }
.footer-brand img { width: 38px; height: 38px; }
.site-footer p, .site-footer small { margin: 0; }
.site-footer p { font-size: 13px; opacity: .8; }
.site-footer small { font-size: 11px; opacity: .55; }
.site-footer .beian {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5em;
}
.site-footer .beian-police {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.site-footer .beian-police img {
  display: inline-block;
  flex: 0 0 auto;
}

.bgm-toggle { position: fixed; z-index: 30; right: 22px; bottom: 22px; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; max-width: 250px; padding: 9px 14px 9px 9px; border: 2px solid white; border-radius: 18px; color: var(--ink-deep); background: rgba(237,249,255,.94); box-shadow: 0 10px 30px rgba(34,91,128,.2); backdrop-filter: blur(12px); cursor: pointer; text-align: left; transition: transform .2s, box-shadow .2s; }
.bgm-toggle:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(34,91,128,.26); }
.bgm-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-size: 20px; font-weight: 900; box-shadow: 0 0 0 5px rgba(255,223,88,.2); }
.bgm-toggle[aria-pressed="true"] .bgm-icon { animation: music-pulse 1.6s ease-in-out infinite; }
.bgm-copy { min-width: 0; }
.bgm-copy b, .bgm-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bgm-copy b { font-size: 11px; }
.bgm-copy small { color: #5392b4; font-size: 10px; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-scroll-parallax]:not(.section-logo):not(.contact-strip) {
  --parallax-x: 0px;
  --parallax-y: 0px;
  will-change: transform;
}
[data-reveal][data-scroll-parallax]:not(.section-logo):not(.contact-strip) {
  transform: translate3d(var(--parallax-x), calc(28px + var(--parallax-y)), 0);
}
[data-reveal][data-scroll-parallax].is-visible:not(.section-logo):not(.contact-strip),
.link-grid[data-scroll-parallax] {
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
}
.members-section .section-heading[data-reveal] {
  transform: translate3d(0, 28px, 0);
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.members-section .section-heading[data-reveal].is-visible {
  transform: translate3d(0, 0, 0);
}
.member-card[data-reveal].is-visible:hover,
.member-card[data-reveal].is-visible:focus-visible {
  transform: translateY(var(--member-key-lift)) rotate(var(--member-key-tilt));
}
.hero [data-reveal] { transition-delay: .12s; }

@keyframes orbit-spin { to { rotate: 360deg; } }
@keyframes sparkle { 0%,100% { scale: .85; opacity: .65; } 50% { scale: 1.08; opacity: 1; } }
@keyframes music-pulse { 0%,100% { transform: scale(.92); } 50% { transform: scale(1.08); } }
@keyframes news-enter-from-left {
  from { opacity: 0; transform: translateX(-72%); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes news-enter-from-right {
  from { opacity: 0; transform: translateX(72%); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes news-exit-to-left {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-72%); }
}
@keyframes news-exit-to-right {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(72%); }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 720px); }
  .nav-shell { height: 70px; }
  .menu-toggle { display: block; }
  .main-menu { position: absolute; top: 64px; right: 16px; display: grid; gap: 4px; min-width: 200px; padding: 12px; border: 2px solid white; border-radius: 18px; background: rgba(237,249,255,.97); box-shadow: var(--shadow); transform: translateY(-8px) scale(.97); opacity: 0; visibility: hidden; transition: .2s; }
  .main-menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-menu a { padding: 9px 12px; border-radius: 10px; }
  .main-menu a:hover { background: white; }
  .hero { min-height: auto; padding: 125px 0 110px; }
  .news-stage { min-height: 840px; }
  .news-arrow { top: 46%; width: 58px; height: 96px; font-size: 68px; }
  .news-dots { bottom: 62px; }
  .hero-inner { grid-template-columns: 1fr; gap: 55px; }
  .hero-copy { max-width: 640px; padding-top: 0; }
  .hero-art { max-width: 660px; }
  .star-two { right: 8%; }
  .game-content { max-width: 620px; }
  .game-section::before { background-position: 58% center; }
  .links-section { min-height: auto; }
  .links-section .section-shell { display: block; }
  .links-section .section-heading, .links-section .link-grid { width: min(620px, 100%); margin-left: auto; }
  .links-section::before { background-position: 45% center; }
  .links-section .link-grid { grid-template-columns: 1fr; }
  .about-content { max-width: 620px; }
  .about-section::before { background-position: 58% center; }
  .link-grid { grid-template-columns: repeat(2,1fr); }
  .core-member-grid { grid-template-columns: repeat(2,1fr); }
  .voice-grid { grid-template-columns: 1fr; }
  .member-profile-card { grid-template-columns: 190px minmax(0, 1fr); gap: 30px; padding: 36px; }
  .member-profile-avatar { width: 180px; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 26px); --radius-lg: 24px; }
  .brand { font-size: 15px; }
  .brand img { width: 38px; height: 38px; }
  .hero { padding-top: 110px; background: var(--blue-soft); }
  .news-stage { min-height: 720px; }
  .news-arrow { top: 48%; width: 44px; height: 78px; border-radius: 18px; font-size: 58px; }
  .news-dots { bottom: 54px; }
  .hero h1, .hero h2 { font-size: clamp(42px,13vw,58px); }
  .hero-en { font-size: 10px; letter-spacing: .15em; }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-art { margin: 0 4px; }
  .art-frame { padding: 8px 8px 30px; border-radius: 0; }
  .art-frame::before { right: 13px; bottom: 8px; font-size: 10px; }
  .art-frame::after { inset: 8px 8px 30px; border-radius: 0; }
  .art-frame img { border-radius: 0; }
  .section { padding: 78px 0; }
  .section-cut { margin-top: -22px; padding-top: 100px; }
  .section-heading { margin-bottom: 34px; }
  .section h2 { font-size: 34px; }
  .game-section { min-height: 760px; }
  .game-content { padding: 38px 20px 30px 56px; }
  .game-section::before { background-position: 62% center; mask-image: linear-gradient(to bottom right, transparent 0%, rgba(0,0,0,.12) 24%, #000 72%); -webkit-mask-image: linear-gradient(to bottom right, transparent 0%, rgba(0,0,0,.12) 24%, #000 72%); }
  .links-section .section-heading { padding: 30px 22px 26px; }
  .links-section::before { background-position: 42% center; mask-image: linear-gradient(to bottom left, transparent 0%, rgba(0,0,0,.18) 28%, #000 74%); -webkit-mask-image: linear-gradient(to bottom left, transparent 0%, rgba(0,0,0,.18) 28%, #000 74%); }
  .about-section { min-height: 760px; }
  .about-content { padding: 38px 20px 30px 56px; }
  .about-section::before { background-position: 62% center; mask-image: linear-gradient(to bottom right, transparent 0%, rgba(0,0,0,.12) 24%, #000 72%); -webkit-mask-image: linear-gradient(to bottom right, transparent 0%, rgba(0,0,0,.12) 24%, #000 72%); }
  .members-section::before { background-position: right bottom; background-size: 50% auto; opacity: .34; }
  .feature-list li { grid-template-columns: 1fr; gap: 2px; }
  .link-grid, .core-member-grid { grid-template-columns: 1fr; }
  .links-section .link-grid { --piano-black-width: 62%; --piano-black-offset: 38%; --piano-gap: 32px; --piano-tab-reach: 15px; }
  .links-section .platform-card:nth-child(even) { width: var(--piano-black-width); }
  .ui-title-card { margin-bottom: 26px; padding: 30px 22px 26px; border-radius: 22px; }
  .ui-title-card::before { inset: -6px 7px 7px -4px; border-radius: 25px; }
  .ui-title-card::after { inset: 14px; border-radius: 12px; clip-path: inset(0 round 12px); }
  .card-clip { top: -34px; left: -10px; width: 82px; }
  .notebook-card { border-radius: 7px 18px 18px 7px; }
  .notebook-card::before { left: 14px; top: 54px; width: 12px; height: 12px; box-shadow: 0 82px 0 -4px #26384a,0 82px 0 0 #aeb7bf,0 164px 0 -4px #26384a,0 164px 0 0 #aeb7bf; }
  .notebook-card::after { right: 18px; top: 16px; font-size: 52px; text-shadow: -190px 220px 0 rgba(255,223,88,.2); }
  .section-logo { bottom: 28px; width: min(58vw,250px); opacity: .38; }
  .logo-bottom-right { right: 14px; }
  .logo-bottom-left { left: 14px; }
  .voice-section { padding: 24px 18px; }
  .voice-card { grid-template-columns: 60px 1fr; }
  .voice-icon { width: 58px; height: 58px; }
  .member-profile-section { padding: 22px 0 46px; background-size: 92vw auto; }
  .member-profile-shell { min-height: calc(100vh - 68px); gap: 24px; }
  .member-profile-card { grid-template-columns: 1fr; gap: 26px; padding: 30px 22px; border-radius: 7px 20px 20px 7px; }
  .member-profile-avatar { width: min(210px, 72vw); justify-self: center; }
  .member-profile-copy h1 { font-size: clamp(40px, 16vw, 62px); }
  .bgm-toggle { right: 12px; bottom: 12px; max-width: 210px; }
  .platform-card { min-height: 118px; }
  .about-stats { gap: 15px; }
  .about-stats span { align-items: flex-start; flex-direction: column; }
  .contact-inner { grid-template-columns: auto 1fr; }
  .contact-star { font-size: 45px; }
  .qq-chip { grid-column: 1/-1; width: 100%; }
  .halftone { opacity: .5; }
  .orbit-two { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], [data-reveal].is-visible, .hero-art { opacity: 1; transform: none; }
  [data-scroll-parallax] { --parallax-x: 0px !important; --parallax-y: 0px !important; }
  .news-slide, .news-slide.is-active, .news-slide.is-entering-left, .news-slide.is-entering-right, .news-slide.is-leaving-left, .news-slide.is-leaving-right { transform: none; }
}
