@font-face {
  font-family: "Alimama ShuHeiTi";
  src: url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/alimama-shuhei.woff2?v=3aeec5248c12") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "FontquanXinYiGuanHeiTi";
  src: url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/quan-xinyi-guanhei.ttf?v=d63ac7f02fe6") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Bebas Neue";
  src: url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/bebas-neue.ttf?v=939fea723dad") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Menu";
  src: url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/noto-menu-latin.woff2?v=d91811791c36") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0020-007A;
}

@font-face {
  font-family: "Noto Sans Menu";
  src: url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/noto-menu-sc.woff2?v=f081bb47b047") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+4E00-9FFF;
}

@font-face {
  font-family: "Noto Sans Menu";
  src: url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/noto-menu-kr.woff2?v=c87a71128196") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+AC00-D7A3;
}

@font-face {
  font-family: "Noto Sans Calendar";
  src: url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/noto-calendar-latin-bold.woff2?v=0fcfcd6b2a48") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: "Noto Sans Calendar";
  src: url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/noto-calendar-sc-bold.woff2?v=bd8338fb3397") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+3000-9FFF;
}

:root {
  --u: calc(100vw / 3840);
  --panel-width: 2408;
  --text: #f1f8fe;
  --icy: #bfeaff;
  --font-display: "Alimama ShuHeiTi", "PingFang SC", sans-serif;
  --font-body: "FontquanXinYiGuanHeiTi", "PingFang SC", sans-serif;
  --nav-top: calc(483 * var(--u));
  color: var(--text);
  font-family: var(--font-body);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: dark;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; background: #101634; font-size: calc(30 * var(--u)); line-height: 1.2; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; }
svg { display: block; }
img {
  display: block;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}
[hidden] { display: none !important; }
:focus, :focus-visible { outline: none; }
.mobile-nav-header, .mobile-nav-actions, .mobile-language-heading, .mobile-nav-toggle,
.mobile-action-icon, .mobile-dismiss { display: none; }
.mobile-nav-list { display: contents; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.campaign { position: relative; z-index: 1; isolation: isolate; }
.campaign::before {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: calc(630 * var(--u));
  background: linear-gradient(90deg, #11193e, #11193e00);
  pointer-events: none;
  content: "";
}
.nav-rail {
  --nav-base-u: calc(100vw / 3840);
  --nav-logo-u: min(var(--nav-base-u), calc(100svh / 2160));
  --nav-clearance: calc(40 * var(--nav-base-u));
  --nav-min-top: calc(280 * var(--nav-logo-u) + var(--nav-clearance));
  /* Center the full 1237u menu on the rail while keeping clear of the logo. */
  --nav-menu-u: min(var(--nav-base-u), calc((100svh - 2 * var(--nav-min-top)) / 1237));
  --u: var(--nav-menu-u);
  --nav-top: calc((100svh - 1237 * var(--u)) / 2);
  position: absolute;
  z-index: 5;
  inset: 0 auto 0 calc(70 * var(--u));
  width: calc(500 * var(--u));
  overflow-y: clip;
  pointer-events: none;
}

.nav-content {
  position: sticky;
  top: 0;
  padding-top: var(--nav-top);
}

.section-nav {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: 100%;
  color: #bbdce3;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight, 700);
  font-size: calc(36 * var(--u));
  line-height: 1.2;
}

.section-nav::after {
  position: absolute;
  z-index: -1;
  left: 0;
  top: calc(0px - var(--nav-top));
  width: calc(36 * var(--u));
  height: 100svh;
  background: url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/nav-rail.png?v=9f005018ee4c") center / 100% 100% no-repeat;
  content: "";
}

.section-nav a {
  position: relative;
  display: grid;
  grid-template-areas: "label";
  align-items: center;
  justify-content: start;
  flex: none;
  min-height: calc(137 * var(--u));
  margin-bottom: calc(-27 * var(--u));
  padding: calc(22 * var(--u)) calc(14 * var(--u)) 0 calc(61 * var(--u));
  pointer-events: auto;
  white-space: nowrap;
  transition: color 220ms ease;
}
.section-nav a:last-child { margin-bottom: 0; }

/* Keep both appearances mounted so changing state can fade in either direction. */
.section-nav .nav-label,
.section-nav .nav-label-active {
  position: relative;
  z-index: 1;
  grid-area: label;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.section-nav .nav-label { font-size: calc(36 * var(--u)); opacity: 1; }
.section-nav .nav-label-active { color: #fff; font-size: calc(44 * var(--u)); opacity: 0; }
.section-nav a[aria-current="location"] .nav-label { opacity: 0; }
.section-nav a[aria-current="location"] .nav-label-active { opacity: 1; }

.section-nav a::before {
  position: absolute;
  z-index: 1;
  top: calc(50% + 11 * var(--u));
  left: calc(18 * var(--u));
  width: calc(14 * var(--u));
  aspect-ratio: 1;
  background: #d8f8ff;
  content: "";
  transform: translate(-50%, -50%) rotate(45deg);
  opacity: 1;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.section-nav a::after {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  width: calc(384 * var(--u));
  aspect-ratio: 384 / 137;
  background: url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/nav-active.png?v=a0a820961b37") center / contain no-repeat;
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.section-nav a:hover,
.section-nav a[aria-current="location"] {
  color: white;
}

.section-nav a[aria-current="location"] { font-size: calc(44 * var(--u)); }
.section-nav a[aria-current="location"]::before { opacity: 0; }
.section-nav a[aria-current="location"]::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .section-nav a,
  .section-nav a::before,
  .section-nav a::after,
  .section-nav .nav-label,
  .section-nav .nav-label-active { transition: none; }
}

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  overflow: clip;
  background: #101634;
}

/* Background and transparent figures share the same centered cover canvas. */
.hero-scene {
  --u: max(calc(100vw / 3840), calc(100svh / 2160));
  position: absolute;
  inset: 50% auto auto 50%;
  width: calc(3840 * var(--u));
  height: calc(2160 * var(--u));
  transform: translate(-50%, -50%);
  isolation: isolate;
}
.hero-character { position: absolute; inset: 0; display: block; pointer-events: none; }
.hero-character > img { display: block; width: 100%; height: 100%; object-fit: contain; }

.hero-kv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-header {
  position: absolute;
  z-index: 6;
  inset: calc(63 * var(--u)) calc(65 * var(--u)) auto calc(101 * var(--u));
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: calc(32 * var(--u));
}

.brand {
  --u: var(--nav-logo-u);
  position: absolute;
  top: calc(94 * var(--u));
  left: calc(101 * var(--u) - 70 * var(--nav-menu-u));
  display: block;
  width: calc(327 * var(--u));
  aspect-ratio: 327 / 186;
  overflow: hidden;
  pointer-events: auto;
}

.brand img {
  position: absolute;
  top: calc(-94 * var(--u));
  left: calc(-101 * var(--u));
  width: calc(840 * var(--u));
  height: auto;
}

.brand-collab, .character-copyright { display: none; }

@media (min-width: 1025px) {
  /* Fade outside the original brand host so its first-opening glitch remains independent. */
  .brand-default, .brand-collab {
    transition: opacity 280ms ease, visibility 0s linear 280ms;
  }
  .brand-default { opacity: 1; visibility: visible; transition-delay: 0s; }
  body.is-character-section .brand-default {
    opacity: 0;
    visibility: hidden;
    transition-delay: 0s, 280ms;
  }
  body.is-character-section .brand { pointer-events: none; }
  .brand-collab {
    position: fixed;
    top: calc(117 * var(--nav-logo-u));
    left: calc(110 * var(--nav-logo-u));
    display: block;
    width: calc(1061 * var(--nav-logo-u));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  body.is-character-section .brand-collab {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .brand-collab img { width: 100%; height: auto; }
  .character-copyright {
    position: absolute;
    z-index: 4;
    top: calc(1844 * var(--u));
    right: calc(40 * var(--u));
    display: block;
    width: calc(745 * var(--u));
    height: auto;
    margin: 0;
    pointer-events: none;
  }
}

@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
  .brand-default, .brand-collab { transition: none; }
}

.hero-actions { display: flex; align-items: flex-start; gap: calc(10 * var(--u)); }
.store-action, .language-picker { position: relative; }
.language-picker { margin-top: calc(14 * var(--u)); }

.frame-button {
  display: grid;
  place-items: center;
  width: calc(420 * var(--u));
  aspect-ratio: 420 / 157;
  padding: calc(8 * var(--u)) 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: calc(40 * var(--u));
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  border: 0;
  background: transparent url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/hero-button.png?v=37f53a7b0224") center / contain no-repeat;
}

.frame-button--light { color: #2254a5; }
.hero-actions .frame-button {
  padding: 0;
  font-size: calc(40 * var(--u));
  font-weight: 700;
  line-height: 1.4;
}
.hero .button-text { transform: translateY(calc(4 * var(--u))); }
.store-promo {
  position: absolute;
  top: calc(100% - 1 * var(--u));
  left: 0;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 420 / 106;
  background: url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/hero-promo.png?v=5b4f75e632bb") center / contain no-repeat;
  font-size: calc(40 * var(--u));
  letter-spacing: -.05em;
}

html:is([data-deployment-region="com"], [data-deployment-region="starforce"], [data-deployment-region="asia"])
:is(.store-promo, .mobile-nav-promo) {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-synthesis: weight style;
}

@media (min-width: 1025px) {
  .section-nav a { font-style: italic; font-synthesis: style; }
  html[lang="zh-CN"] .section-nav a { font-family: var(--font-body); font-weight: 400; }
  html:is([lang="zh-TW"], [lang="ja-JP"], [lang="ko-KR"]) .section-nav a { font-weight: 500; }
  .store-promo { isolation: isolate; background: none; }
  /* The native rectangle extends outside the clipped 420 × 106 label frame. */
  .store-promo::before {
    position: absolute;
    z-index: -1;
    top: calc(-18 * var(--u));
    left: calc(-10 * var(--u));
    width: calc(430 * var(--u));
    height: calc(142 * var(--u));
    background: url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/hero-promo-pc.png?v=c59e515a53be") center / 100% 100% no-repeat;
    pointer-events: none;
    content: "";
  }
}

.language-toggle {
  position: relative;
  display: block;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
}
.language-bg {
  width: calc(128 * var(--u));
  height: auto;
}
.language-icon {
  position: absolute;
  left: 50%;
  top: calc(50% + 4.5 * var(--u));
  width: calc(48 * var(--u));
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.language-menu {
  position: absolute;
  z-index: 3;
  top: calc(100% + 13 * var(--u));
  right: 0;
  width: calc(211 * var(--u));
  margin: 0;
  padding: 0;
  list-style: none;
  background: #20387e;
  box-shadow: 0 .25em 1em #070b2587;
  opacity: 0;
  transition: opacity 220ms ease;
}
.language-menu.is-popup-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .language-menu { transition: none; }
}
.language-menu :is(button, a) {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  min-height: calc(80 * var(--u));
  padding: calc(4 * var(--u)) calc(10 * var(--u));
  color: #fff;
  font-family: "Noto Sans Menu", sans-serif;
  font-size: calc(30 * var(--u));
  font-weight: 500;
  line-height: 1.37;
}
.language-menu :is(button, a)[aria-current="true"] { background: #b3ebff; color: #2254a5; box-shadow: inset calc(-2 * var(--u)) 0 #fff; }
.language-menu :is(button, a)[aria-current="true"]::before {
  position: absolute;
  left: calc(12 * var(--u));
  top: calc(32 * var(--u));
  width: calc(13 * var(--u));
  height: calc(18 * var(--u));
  background: #2254a5;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  content: "";
}
.language-menu :is(button, a):disabled { color: #fff; }

.hero-content {
  position: absolute;
  z-index: 2;
  inset: auto 0 calc(268 * var(--u));
  display: grid;
  justify-items: center;
  text-align: center;
}
.hero-slogan-entrance { position: relative; left: calc(.5 * var(--u)); display: block; width: calc(1335 * var(--u)); }
.hero-slogan-entrance > picture { display: block; }
.hero-slogan { width: 100%; height: auto; }
.hero-download {
  width: calc(616 * var(--u));
  margin-top: calc(-4 * var(--u));
  aspect-ratio: 616 / 172;
  font-size: calc(50 * var(--u));
  line-height: 1.4;
  background-image: url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/hero-download.png?v=70e975111427");
}
.hero-download .button-text {
  color: transparent;
  background: linear-gradient(180deg, #f3f9fd, #cbe5f9);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 calc(2 * var(--u)) calc(2 * var(--u)) #121a4140);
}
.hero-scroll { position: fixed; z-index: 6; left: 50%; bottom: clamp(26px, 6.5svh, 105px); display: grid; place-items: center; width: calc(55 * var(--u)); aspect-ratio: 55 / 53; transform: translateX(-50%); }
.hero-scroll img { width: 100%; height: auto; }

.content-section {
  position: relative;
  min-height: calc(var(--section-h) * var(--u));
  display: flow-root;
}
.calendar-section { --section-h: 1936; }
.rewards-section { --section-h: 1823; }
.feature-section { --section-h: 1128; }
.shells-section { --section-h: 1554; }
.characters-section { --section-h: 1870; }
.awakening-section { --section-h: 1197; }
.activities-section { --section-h: 1802; }
.ews-section { --section-h: 1188; }
.improvements-section { --section-h: 1364; }

/* No opt-in attribute without JavaScript; failed loader bootstrap also restores the original images. */
:root[data-lazy-images] .content-section:not([data-images-ready]) { --section-image: none; }

.section-title {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  block-size: calc(430 * var(--u));
  padding-top: calc(240 * var(--u));
  text-align: center;
  color: transparent;
  background: linear-gradient(#fff, #c8e4f9) 0 calc(240 * var(--u)) / 100% calc(140 * var(--u)) no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  margin: 0;
  font-size: calc(100 * var(--u));
  line-height: 1.4;
}
.section-title::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: calc(50% - 403 * var(--u));
  width: calc(881 * var(--u));
  aspect-ratio: 881 / 341;
  background: var(--section-image, url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/title-top.png?v=13488ea49be9")) center / contain no-repeat;
  content: "";
}
.section-title::after {
  position: absolute;
  top: calc(378.5 * var(--u));
  left: 50%;
  width: calc(702 * var(--u));
  aspect-ratio: 702 / 20;
  transform: translateX(-50%);
  background: var(--section-image, url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/title-bottom.png?v=3203fc15ca68")) center / contain no-repeat;
  content: "";
}
.section-inner { width: calc(var(--panel-width) * var(--u)); margin-inline: auto; }
.section-note { text-align: center; margin: calc(20 * var(--u)) auto 0; color: #bff3ff; font-size: calc(32 * var(--u)); line-height: 1.2; }
.calendar-section .section-note { margin-top: calc(16 * var(--u)); }

.frame-panel, .feature-card { position: relative; }
.artwork { position: relative; background: radial-gradient(ellipse at 50% 90%, #39588866, transparent 80%), linear-gradient(125deg, #17234d, #293768 45%, #18264e); }
.artwork img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.reward-carousel, .ews-carousel {
  position: relative;
  min-height: calc(var(--section-h) * var(--u));
}
.reward-carousel { --panel-width: 2413; }
.reward-cards, .reward-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(42 * var(--u)) calc(92 * var(--u));
}
.reward-event-grid { grid-template-columns: repeat(3, calc(741 * var(--u))); justify-content: center; }
.reward-event-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: calc(621 * var(--u));
  padding: calc(89 * var(--u)) calc(40.5 * var(--u)) calc(4 * var(--u));
  text-align: center;
}
.reward-event-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--section-image, url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/reward-event-frame-pc-v2.png?v=f38cdc166741")) center / 100% 100% no-repeat;
  content: "";
}
.reward-event-card h3 { flex: none; margin: 0 0 calc(20 * var(--u)); font-size: calc(60 * var(--u)); line-height: 1.2; }
.reward-event-card .artwork { flex: none; aspect-ratio: 660 / 290; background: transparent; }
.reward-event-card .artwork img { height: auto; }
.reward-event-card .artwork::after { position: absolute; inset: 0; border: calc(2 * var(--u)) solid #e4f7ff; pointer-events: none; content: ""; }
.reward-event-card p { flex: 1; display: flex; align-items: center; justify-content: center; margin: 0; font-size: calc(30 * var(--u)); line-height: 1.2; white-space: pre-line; }
.reward-event-card--sprint { padding: calc(89 * var(--u)) calc(40.5 * var(--u)) calc(4 * var(--u)); }
.reward-event-card--sprint h3 { margin-bottom: calc(20 * var(--u)); }
.reward-event-card--sprint p { margin-inline: calc(-23 * var(--u)); color: #f1f8fe; }
.reward-card { min-width: 0; text-align: center; }
.reward-card__panel {
  position: relative;
  isolation: isolate;
  display: flow-root;
  min-height: calc(1131 * var(--u));
  padding: calc(90 * var(--u)) calc(42 * var(--u)) calc(44 * var(--u)) calc(41 * var(--u));
}
.reward-card__panel::before {
  position: absolute;
  z-index: -1;
  inset: calc(-27 * var(--u)) calc(-30 * var(--u)) auto;
  aspect-ratio: 803 / 1165;
  background: var(--section-image, url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/reward-frame.png?v=a4cfa42c4d60")) center / 100% 100% no-repeat;
  content: "";
}
.reward-card h3,
.activity-card h3 { margin: calc(48 * var(--u)) auto calc(28 * var(--u)); font-size: calc(60 * var(--u)); }
.reward-card h3 { margin-block: 0 calc(19 * var(--u)); line-height: 1.4; }
.reward-art { aspect-ratio: 660 / 746; }
.reward-card p { margin: calc(43 * var(--u)) calc(12 * var(--u)) calc(14 * var(--u)) calc(11 * var(--u)); color: #bff3ff; font-size: calc(30 * var(--u)); line-height: 1.2; }
.reward-strip { margin-top: calc(15 * var(--u)); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.reward-strip::-webkit-scrollbar { display: none; }
.reward-strip picture { display: block; width: max-content; }
.reward-strip img { width: auto; height: calc(115 * var(--u)); max-width: none; }
.reward-strip.is-dragging { user-select: none; cursor: grabbing; }
.gift-code { display: flex; align-items: stretch; margin-top: calc(39 * var(--u)); height: calc(76 * var(--u)); border: calc(2 * var(--u)) solid #e4f7ff; background: #59d0ed; }
.gift-code img { flex: none; align-self: center; width: calc(88 * var(--u)); height: auto; margin-inline: calc(17 * var(--u)) calc(13 * var(--u)); transform: translateY(calc(3.5 * var(--u))); }
.gift-code code { flex: 1; display: grid; align-items: center; justify-items: start; min-width: 0; padding: calc(9 * var(--u)) 0 0 calc(26 * var(--u)); overflow-wrap: anywhere; color: #f1f8fe; font-family: "Bebas Neue", sans-serif; font-size: calc(50 * var(--u)); line-height: 1.2; letter-spacing: .1em; background: #2a5a94; }
.gift-code button { flex: none; display: grid; place-items: center; width: calc(194 * var(--u)); padding: 0 0 calc(6 * var(--u)); border: 0; border-left: calc(2 * var(--u)) solid #e4f7ff; color: #2254a5; background: linear-gradient(#fff, #97f2ff); font-size: calc(40 * var(--u)); line-height: 1; white-space: nowrap; }

.carousel-dots { display: flex; justify-content: center; align-items: center; gap: calc(30 * var(--u)); }
.reward-carousel > .carousel-dots,
.ews-carousel > .carousel-dots { position: absolute; inset: auto 0 0; }
.carousel-dots button { display: grid; place-items: center; width: calc(58 * var(--u)); height: calc(60 * var(--u)); padding: 0; border: 0; background: none; }
.carousel-dots button::after { content: ""; display: block; box-sizing: border-box; width: calc(22 * var(--u)); aspect-ratio: 1; border: calc(2 * var(--u)) solid #9ccff0; background: #303194; transform: rotate(44.53deg); }
.carousel-dots button[aria-current="true"]::after { width: 100%; height: 100%; border: 0; background: var(--section-image, url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/carousel-dot-active.png?v=0f92bb7eced7")) center / contain no-repeat; transform: none; }

.feature-card {
  isolation: isolate;
  margin: 0;
  width: 100%;
  min-height: calc(650 * var(--u));
  padding: calc(57 * var(--u)) calc(44 * var(--u)) calc(29 * var(--u));
}
.feature-card::before {
  position: absolute;
  z-index: -1;
  inset: calc(-30 * var(--u)) calc(-36.5 * var(--u)) auto;
  aspect-ratio: 2481 / 741;
  background: var(--section-image, url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/feature-frame.png?v=7e558366eff5")) center / contain no-repeat;
  content: "";
}
.section-inner.feature-card { width: calc(var(--panel-width) * var(--u)); margin-inline: auto; }
.feature-card .artwork { aspect-ratio: 2320 / 550; }
.feature-card figcaption { position: absolute; inset: auto calc(44 * var(--u)) calc(29 * var(--u)); background: linear-gradient(transparent, #070d22c2); padding: 1.8em 1em .4em; text-align: center; font-size: calc(30 * var(--u)); line-height: 1.2; }
#anomaly .feature-card { display: grid; grid-template-columns: minmax(0, 1fr); min-height: calc(681 * var(--u)); padding-block: calc(85 * var(--u)) calc(46 * var(--u)); }
#anomaly .feature-card::before { z-index: 2; box-sizing: border-box; border-style: solid; border-width: calc(115 * var(--u)) calc(80.5 * var(--u)) calc(76 * var(--u)); border-image: var(--section-image, url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/feature-frame.png?v=7e558366eff5")) 115 80.5 76 / 1 / 0 stretch; background: none; pointer-events: none; }
#anomaly .artwork,
#anomaly figcaption { grid-area: 1 / 1; }
#anomaly .artwork::after { position: absolute; z-index: 3; inset: 0; box-sizing: border-box; border: calc(2 * var(--u)) solid #e4f7ff; pointer-events: none; content: ""; }
#anomaly figcaption { position: relative; inset: auto; align-self: end; padding: calc(54 * var(--u)) 1em calc(25 * var(--u)); color: #fff; }
/* The stable caption clips its moving text/gradient inside the artwork's white border. */
#anomaly .feature-card > figcaption,
#ews .feature-card > figcaption { z-index: 1; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; padding: 0; overflow: hidden; background: none; }
#anomaly .feature-caption { display: block; padding: calc(54 * var(--u)) 1em calc(25 * var(--u)); background: linear-gradient(transparent, #070d22c2); }
#ews .feature-caption { display: block; padding: 0 0 calc(25 * var(--u)); }
.story-card h3 { margin: 0 0 calc(7 * var(--u)); text-align: center; font-size: calc(60 * var(--u)); line-height: 1.4; }
.story-card .artwork { aspect-ratio: 2320 / 450; }
.story-card figcaption { position: static; background: none; padding: .4em 0 0; }

.shells-section .section-title { margin-bottom: calc(-174 * var(--u)); }
.shells { --panel-width: 2420; position: relative; isolation: isolate; display: grid; grid-template-columns: calc(1164 * var(--u)) calc(1154 * var(--u)); gap: calc(32 * var(--u)); align-items: start; }
.shells::before {
  position: absolute;
  z-index: -1;
  top: calc(257 * var(--u));
  left: calc(26.5625 * var(--u));
  width: calc(2413 * var(--u));
  aspect-ratio: 2413 / 979;
  background: var(--section-image, url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/shell-picker-frame.png?v=97dd7ae064ed")) center / 100% 100% no-repeat;
  content: "";
}
.shell-feature { margin: 0; height: calc(1298 * var(--u)); }
.shell-feature::before {
  position: absolute;
  inset: 0 calc(-30 * var(--u)) auto;
  aspect-ratio: 1224 / 1332;
  background: var(--section-image, url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/shell-yeli-frame.png?v=8529773ac851")) center / 100% 100% no-repeat;
  content: "";
}
.shell-feature .artwork { position: absolute; top: calc(257 * var(--u)); left: calc(51 * var(--u)); width: calc(1063 * var(--u)); aspect-ratio: 1063 / 834; background: #eeeef0; }
.shell-feature .artwork::after { position: absolute; z-index: 1; inset: 0; box-sizing: border-box; border: calc(2 * var(--u)) solid #e4f7ff; pointer-events: none; content: ""; }
.shell-feature .shell-yeli-background { position: static; inset: auto; width: 100%; height: auto; }
.shell-feature .shell-yeli-portrait { z-index: 2; inset: calc(-257 * var(--u)) auto auto calc(-.21875 * var(--u)); width: calc(1063 * var(--u)); height: calc(1091 * var(--u)); object-fit: contain; }
.shell-feature figcaption {
  position: absolute;
  top: calc(1102 * var(--u));
  left: calc(50.78125 * var(--u));
  width: calc(1063 * var(--u));
  height: calc(144 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: calc(80 * var(--u));
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}
.shell-picker { margin-top: calc(352 * var(--u)); min-height: calc(794 * var(--u)); }
.shell-detail { position: relative; isolation: isolate; display: grid; grid-template-columns: calc(741.1875 * var(--u)) calc(412 * var(--u)); height: calc(544 * var(--u)); }
.shell-detail::before { position: absolute; z-index: -1; top: calc(1 * var(--u)); left: 0; width: calc(1107 * var(--u)); aspect-ratio: 1107 / 542; background: var(--section-image, url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/shell-detail-background.jpg?v=584bbe9d8a9a")) center / contain no-repeat; content: ""; }
.shell-copy { padding: calc(20 * var(--u)) calc(24 * var(--u)) 0 calc(37.21875 * var(--u)); }
.shell-detail h3 { margin: 0; font-size: calc(60 * var(--u)); line-height: 1.4; }
.shell-copy p { margin: calc(45 * var(--u)) 0 0; font-size: calc(32 * var(--u)); line-height: 1.2; }
.shell-detail .artwork { z-index: 1; width: calc(412 * var(--u)); height: calc(542 * var(--u)); margin-top: calc(1 * var(--u)); background: none; }
.shell-detail .artwork img { inset: calc(-.75 * var(--u)) auto auto calc(var(--shell-art-left) * var(--u)); width: auto; max-width: none; height: calc(544 * var(--u)); object-fit: contain; }
.shell-detail .artwork .shell-card-background { top: calc(-.75 * var(--u)); left: calc(-1.125 * var(--u)); width: calc(415 * var(--u)); height: calc(544 * var(--u)); }
.shell-detail .artwork .shell-portrait { top: calc(1.25 * var(--u)); height: calc(539 * var(--u)); }
.shell-detail--lantern { --shell-art-left: -34.125; }
.shell-detail--rose,
.shell-detail--fox { --shell-art-left: -62.125; }
.shell-detail--steel { --shell-art-left: -89.125; }
.thumb-list { display: flex; justify-content: center; gap: calc(28 * var(--u)); margin-top: calc(40 * var(--u)); }
.thumb-list button { display: grid; place-items: center; width: calc(153 * var(--u)); min-width: 24px; aspect-ratio: 1; border: 1px solid #7eb8de; background: #203a66; color: #b3d4ed; padding: 0; overflow: hidden; position: relative; }
.thumb-list button[aria-current="true"] { box-shadow: inset 0 0 0 1px #e6faff, 0 0 .45em #95ecff; border-color: #f2f5ff; }
.thumb-list button:disabled { color: #97a5c1; background-color: #1d2c47; }
.thumb-list button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shell-picker .thumb-list { align-items: end; gap: calc(25 * var(--u)); height: calc(220.2773 * var(--u)); margin-top: calc(29.7227 * var(--u)); }
.shell-picker .thumb-list button { flex: none; width: calc(184 * var(--u)); min-width: 0; height: calc(176 * var(--u)); aspect-ratio: auto; border: 0; background: none; overflow: visible; }
.shell-picker .thumb-list button[aria-current="true"] { width: calc(230 * var(--u)); height: calc(220 * var(--u)); box-shadow: none; }
.shell-picker .thumb-list button img { position: static; inset: auto; object-fit: contain; }

.characters-section { overflow-x: clip; }
.characters-section .section-title { z-index: 2; }
.character-picker {
  position: relative;
  width: 100%;
  block-size: calc(1676 * var(--u));
  margin-top: calc(-236 * var(--u));
}
.character-slide { position: absolute; inset: 0; isolation: isolate; }
.character-slide::before {
  position: absolute;
  top: calc(172 * var(--u));
  left: calc(1809 * var(--u));
  width: calc(1687 * var(--u));
  aspect-ratio: 1687 / 1667;
  background: var(--section-image, url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/character-floor-latest.png?v=3be379c27a3a")) center / contain no-repeat;
  content: "";
}
.character-slide--sol { --portrait-left: 1730; --portrait-top: 133; --portrait-width: 1865; --portrait-height: 1556; }
.character-slide--dizzy { --portrait-left: 1229; --portrait-top: -22; --portrait-width: 2779; --portrait-height: 1861; }
.character-slide--jack {
  --portrait-left: 1388;
  --portrait-top: 148;
  --portrait-width: 2425;
  --portrait-height: 1702;
}
.character-copy {
  position: absolute;
  z-index: 2;
  top: calc(548 * var(--u));
  left: calc(814 * var(--u));
  width: calc(602 * var(--u));
}
.character-copy { color: #fff; }
.character-copy p { margin: 0; }
.character-meta { display: flex; align-items: center; gap: calc(17 * var(--u)); height: calc(58 * var(--u)); }
.character-meta .character-element { flex: none; width: calc(58 * var(--u)); height: calc(58 * var(--u)); }
.character-meta .character-rarity { flex: none; width: calc(102 * var(--u)); height: calc(43 * var(--u)); }
.character-copy .character-meta { margin-left: calc(59 * var(--u)); }
.character-copy .character-epithet { margin-top: calc(10 * var(--u)); font-family: var(--font-display); font-size: calc(60 * var(--u)); font-weight: 700; line-height: 1.4; }
.character-copy h3 { margin: calc(-18.375 * var(--u)) 0 0 calc(55.6211 * var(--u)); font-size: calc(80 * var(--u)); line-height: 1.4; }
.character-copy .character-dates { position: relative; margin-top: calc(50.375 * var(--u)); margin-left: calc(59 * var(--u)); font-size: calc(30 * var(--u)); line-height: calc(44 / 30); font-variant-numeric: tabular-nums; }
.character-dates::before { position: absolute; top: calc(-22 * var(--u)); left: 0; width: calc(110 * var(--u)); height: calc(2 * var(--u)); background: #d9d9d9; content: ""; }
.character-copy .character-note { margin-top: calc(102 * var(--u)); margin-left: calc(43 * var(--u)); color: #fff; font-size: calc(30 * var(--u)); line-height: 1.2; white-space: nowrap; }
.character-crest {
  position: absolute;
  z-index: -1;
  top: calc(317 * var(--u));
  left: calc(1463 * var(--u));
  width: calc(706 * var(--u));
  height: auto;
}
.character-art {
  position: absolute;
  top: calc(var(--portrait-top) * var(--u));
  left: calc(var(--portrait-left) * var(--u));
  width: calc(var(--portrait-width) * var(--u));
  aspect-ratio: var(--portrait-width) / var(--portrait-height);
  background: none;
}
.character-art img { position: static; height: auto; }
.character-art > .character-floor { display: none; }
/* Native body and ground shadows register to the former full portrait canvas. */
.character-figure { position: relative; width: 100%; height: 100%; }
.character-motion, .character-shadows, .character-shadow-fixed, .character-shadow-cast { position: absolute; inset: 0; }
.character-motion { transform: translate3d(var(--character-light-x, 0px), var(--character-light-y, 0px), 0); }
.character-portrait { display: block; position: absolute; left: var(--body-left, 0%); top: var(--body-top, 0%); width: var(--body-width, 100%); height: var(--body-height, 100%); }
.character-portrait > img { display: block; width: 100%; height: 100%; }
.character-shadow { display: block; position: absolute; left: var(--shadow-left); top: var(--shadow-top); width: var(--shadow-width); height: var(--shadow-height); }
.character-shadow > img { display: block; width: 100%; height: 100%; }
.character-shadow-contact { left: var(--contact-left); top: var(--contact-top); width: var(--contact-width); height: var(--contact-height); }
/* Both clips meet at the same foot line. The lower contact follows the body without deforming. */
.character-shadow-fixed { clip-path: inset(var(--shadow-seam) 0 0); }
.character-shadow-cast { clip-path: inset(0 0 calc(100% - var(--shadow-seam))); transform-origin: var(--shadow-pivot) var(--shadow-seam); transform: skewX(var(--character-shadow-skew, 0deg)) scaleY(var(--character-shadow-scale, 1)); }
.character-figure[data-character-light] .character-motion,
.character-figure[data-character-light] .character-shadow-cast { will-change: transform; }
.character-slide--sol {
  --shadow-left: 21.9817150%; --shadow-top: 45.0562465%; --shadow-width: 55.5715818%; --shadow-height: 51.9241645%;
  --contact-left: 22.8708581%; --contact-top: 63.4695333%; --contact-width: 55.6702413%; --contact-height: 31.4980720%;
  --shadow-seam: 89.5886889%; --shadow-pivot: 42.0375335%;
}
.character-slide--dizzy {
  --shadow-left: 14.8614610%; --shadow-top: 59.0542719%; --shadow-width: 70.9607773%; --shadow-height: 39.4948952%;
  --shadow-seam: 85.3842020%; --shadow-pivot: 50.3562433%;
}
.character-slide--jack {
  --shadow-left: 21.8969072%; --shadow-top: 56.2279671%; --shadow-width: 65.6494845%; --shadow-height: 31.9623972%;
  --shadow-seam: 83.5487662%; --shadow-pivot: 49.7731959%;
}
/* The latest PC hero module hides the old reflection mask; retain its asset and registration. */
.character-reflection { display: none; position: absolute; top: calc(197 * var(--u)); left: calc(1844 * var(--u)); width: calc(1635 * var(--u)); height: auto; mix-blend-mode: soft-light; pointer-events: none; }
.character-thumbs {
  position: absolute;
  z-index: 3;
  top: calc(1157 * var(--u));
  left: calc(873 * var(--u));
  align-items: end;
  justify-content: flex-start;
  gap: 0;
  width: calc(1066 * var(--u));
  height: calc(220 * var(--u));
  margin: 0;
}
.character-thumbs .character-thumb {
  flex: none;
  width: calc(184 * var(--u));
  min-width: 0;
  height: calc(176 * var(--u));
  aspect-ratio: auto;
  border: 0;
  background: none;
  overflow: visible;
}
.character-thumb + .character-thumb { margin-left: calc(-4 * var(--u)); }
.character-thumbs .character-thumb[aria-current="true"] { width: calc(230 * var(--u)); height: calc(220 * var(--u)); box-shadow: none; }
@media (prefers-reduced-motion: no-preference) {
  .shell-picker .thumb-list button { transition: transform 220ms ease, scale 180ms ease, filter 180ms ease; }
  .character-thumbs .character-thumb { transition: width 280ms ease, height 280ms ease, transform 220ms ease, scale 180ms ease, filter 180ms ease; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .shell-picker .thumb-list button:not(:disabled):hover,
  .character-thumbs .character-thumb:not(:disabled):hover { transform: translateY(-4px); }
}
.character-thumbs .character-thumb:disabled { background: none; }
.character-thumbs .character-thumb img { position: static; inset: auto; object-fit: contain; }
.character-thumb--locked > picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.character-thumbs .character-thumb--locked > picture > img { width: 100%; height: 100%; }
.character-thumbs .character-thumb img.character-thumb-lock {
  position: absolute;
  inset: 33.8474% auto auto 34.4425%;
  width: 30.4938%;
  height: 35.7955%;
  transform-origin: center;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .character-thumb--locked:hover .character-thumb-lock { animation: lock-sway 500ms ease-in-out both; }
}
@keyframes lock-sway {
  0%, 100% { transform: scale(1) rotate(0); }
  20% { transform: scale(1.08) rotate(-9deg); }
  40% { transform: scale(1.08) rotate(8deg); }
  60% { transform: scale(1.08) rotate(-5deg); }
  80% { transform: scale(1.04) rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .character-thumb--locked:hover .character-thumb-lock { animation: none; }
}
.carousel-arrow { position: absolute; top: 43%; width: calc(104 * var(--u)); aspect-ratio: 104 / 132; padding: 0; transform: translateY(-50%); background: transparent; border: 0; }
.carousel-arrow::before { display: block; width: 100%; height: 100%; background: var(--section-image, url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/carousel-arrow.png?v=9466f4dc4ea8")) center / contain no-repeat; content: ""; }
.carousel-arrow--prev { right: 100%; margin-inline-end: .35em; }
.carousel-arrow--prev::before { transform: scaleX(-1); }
.carousel-arrow--next { left: 100%; margin-inline-start: .35em; }
.carousel-arrow:disabled { opacity: .3; }
@media (min-width: 1025px) {
  .carousel-arrow::after { position: absolute; inset: -10px; content: ""; }
}
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .carousel-arrow::before { transition: translate 220ms ease; }
  .carousel-arrow--prev:not(:disabled):hover::before { translate: -4px 0; }
  .carousel-arrow--next:not(:disabled):hover::before { translate: 4px 0; }
}

.character-picker > .carousel-arrow { z-index: 3; top: calc(900 * var(--u)); margin: 0; }
.character-picker > .carousel-arrow--prev { left: calc(710 * var(--u)); right: auto; }
.character-picker > .carousel-arrow--next { left: calc(3023 * var(--u)); }
.reward-carousel > .carousel-arrow { top: calc(1011 * var(--u)); margin: 0; }
.reward-carousel > .carousel-arrow--prev { right: calc(100% + 37.5 * var(--u)); }
.reward-carousel > .carousel-arrow--next { left: calc(100% + 38.5 * var(--u)); }
.ews-carousel { width: 100%; }
.ews-carousel > .carousel-arrow { top: calc(801 * var(--u)); margin: 0; }
.ews-carousel > .carousel-arrow--prev { left: calc(572 * var(--u)); right: auto; }
.ews-carousel > .carousel-arrow--next { left: calc(3165 * var(--u)); }
.ews-carousel .feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: calc(2421 * var(--u));
  min-height: calc(681 * var(--u));
  margin: calc(-4 * var(--u)) auto 0;
  left: calc(.5 * var(--u));
  padding: calc(85 * var(--u)) calc(51 * var(--u)) calc(46 * var(--u)) calc(50 * var(--u));
}
.ews-carousel .feature-card::before { inset: calc(-30 * var(--u)); background-size: 100% 100%; }
.ews-carousel .feature-card .artwork,
.ews-carousel .feature-card figcaption { grid-area: 1 / 1; }
.ews-carousel .feature-card .artwork::after { position: absolute; z-index: 2; inset: 0; box-shadow: inset 0 0 0 calc(2 * var(--u)) #e4f7ff; pointer-events: none; content: ""; }
.ews-carousel .feature-card figcaption { position: relative; inset: auto; align-self: end; margin: 0; padding: 0 0 calc(25 * var(--u)); color: #fff; background: none; }
.ews-duo { position: relative; left: calc(-.5 * var(--u)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: calc(33 * var(--u)); width: calc(2423 * var(--u)); min-height: calc(702 * var(--u)); margin: calc(-4 * var(--u)) auto 0; }
.ews-card {
  position: relative;
  isolation: isolate;
  min-height: calc(681 * var(--u));
  padding: calc(88 * var(--u)) calc(44 * var(--u)) calc(19 * var(--u)) calc(51 * var(--u));
}
.ews-card::before {
  position: absolute;
  z-index: -1;
  inset: calc(-30 * var(--u));
  aspect-ratio: 1255 / 741;
  background: var(--section-image, url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/ews-duo-frame.png?v=215c2bab6545")) center / 100% 100% no-repeat;
  content: "";
}
.ews-card h3 { margin: 0 calc(-44 * var(--u)) calc(30 * var(--u)) calc(-51 * var(--u)); text-align: center; font-size: calc(60 * var(--u)); line-height: 1.2; }
.ews-card .artwork { aspect-ratio: 1100 / 370; }
.ews-card .artwork::after { position: absolute; z-index: 1; inset: 0; box-shadow: inset 0 0 0 calc(2 * var(--u)) #e4f7ff; pointer-events: none; content: ""; }
.ews-card-footer { display: flex; align-items: start; gap: calc(14 * var(--u)); margin: calc(16 * var(--u)) 0 0 calc(10 * var(--u)); }
.ews-card-footer:not(:has(.ews-link)) { padding-right: calc(16 * var(--u)); }
.ews-card-footer p { flex: 1; min-width: 0; margin: 0; color: #fff; font-size: calc(30 * var(--u)); line-height: 1.2; }
.ews-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(15 * var(--u));
  flex: none;
  width: calc(196 * var(--u));
  height: calc(76 * var(--u));
  margin-top: calc(2 * var(--u));
  padding: 0 0 0 calc(13 * var(--u));
  border: 0;
  box-shadow: inset 0 0 0 calc(2 * var(--u)) #e4f7ff;
  color: #2254a5;
  background: linear-gradient(#fff, #97f2ff);
  font-family: var(--font-body);
  font-size: calc(40 * var(--u));
  line-height: 1;
}
.ews-link > span { transform: translateY(calc(-3 * var(--u))); }
.ews-link > svg { flex: none; width: calc(26 * var(--u)); height: calc(25 * var(--u)); }

/* Campaign codes and actions use the same display face and weight as module titles. */
.gift-code, .gift-code code, .gift-code button, .ews-link {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight, 700);
}
.gift-code code { letter-spacing: normal; }
.gift-code code, .gift-code button { padding-block: 0; }


.awakening-section .section-title { z-index: 2; }
.awakening-panel { --panel-width: 2417; display: grid; grid-template-columns: calc(1450.5 * var(--u)) calc(896.5 * var(--u)); align-items: start; min-height: calc(691 * var(--u)); margin-top: calc(-4 * var(--u)); isolation: isolate; }
.awakening-panel::before {
  position: absolute;
  z-index: -1;
  inset: calc(-20 * var(--u)) calc(-20 * var(--u)) auto;
  aspect-ratio: 2457 / 731;
  background: var(--section-image, url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/awakening-frame.png?v=0a690315bfbf")) center / contain no-repeat;
  content: "";
}
.awakening-name { z-index: 1; align-self: start; margin-top: calc(115 * var(--u)); padding-left: calc(56 * var(--u)); }
.awakening-name p { margin: 0; }
.awakening-name .character-meta { gap: calc(15.5 * var(--u)); margin-left: calc(57.5 * var(--u)); }
.awakening-name .character-element { box-sizing: border-box; width: calc(58 * var(--u)); height: calc(58 * var(--u)); padding: calc(1 * var(--u)); box-shadow: inset 0 0 0 calc(1 * var(--u)) #f1f8fe; }
.awakening-name .character-epithet { margin-top: calc(14 * var(--u)); font-family: var(--font-display); font-size: calc(60 * var(--u)); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.awakening-name h3 { margin: calc(2 * var(--u)) 0 0 calc(52.6211 * var(--u)); color: #f1f8fe; font-size: calc(80 * var(--u)); line-height: 1.2; white-space: nowrap; }
.awakening-panel > .artwork { position: absolute; top: calc(-162 * var(--u)); left: calc(35.5 * var(--u)); width: calc(1666 * var(--u)); height: calc(843 * var(--u)); background: none; pointer-events: none; }
.awakening-panel > .artwork img { object-fit: contain; }
.awakening-notes { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.awakening-panel .awakening-notes > .awakening-note {
  position: absolute;
  inset: 0 auto auto 0;
  width: calc(80 * var(--u));
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform-origin: center;
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  .awakening-notes { display: none; }
}
.awakening-copy { z-index: 1; margin-top: calc(65 * var(--u)); }
.awakening-copy h3 { margin: 0; color: #fff; font-size: calc(40 * var(--u)); line-height: 1.45; }
.awakening-copy ul { display: flex; flex-direction: column; gap: calc(15 * var(--u)); margin: calc(13 * var(--u)) 0 0; padding: 0; list-style: none; }
.awakening-copy li { display: grid; grid-template-columns: calc(154 * var(--u)) minmax(0, 1fr); align-items: start; gap: calc(22.5 * var(--u)); min-height: calc(154 * var(--u)); }
.awakening-copy li > img { width: calc(154 * var(--u)); height: auto; }
.awakening-copy li > picture { display: block; width: 100%; }
.awakening-copy li > picture > img { width: 100%; height: auto; }
.awakening-skill-heading { display: flex; align-items: center; gap: calc(5 * var(--u)); }
.awakening-skill-heading h4 { margin: 0; color: #f1f8fe; font-family: var(--font-display); font-size: calc(40 * var(--u)); line-height: 1.45; font-weight: 700; }
.awakening-tag { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; flex: none; width: calc(120 * var(--u)); height: calc(49 * var(--u)); padding-top: calc(2.6 * var(--u)); color: #4f342a; font-family: var(--font-body); font-size: calc(28 * var(--u)); line-height: 1.2; font-weight: 400; }
.awakening-tag::before { position: absolute; z-index: -1; top: calc(7 * var(--u)); left: calc(5 * var(--u)); width: calc(110 * var(--u)); aspect-ratio: 110 / 42; background: var(--section-image, url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/awakening-tag.png?v=f29e43fd9ace")) center / contain no-repeat; content: ""; }
.awakening-skill p { margin: calc(3 * var(--u)) 0 0; color: #cfe8eb; font-size: calc(30 * var(--u)); line-height: 1.2; }
.awakening-section > .section-note { display: flex; align-items: center; justify-content: center; min-height: calc(80 * var(--u)); margin: 0; }
.activity-grid { position: relative; left: calc(-.25 * var(--u)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: calc(15 * var(--u)) calc(41.5 * var(--u)); width: calc(2423.5 * var(--u)); margin-top: calc(-4 * var(--u)); }
.activity-card { isolation: isolate; min-height: calc(678 * var(--u)); padding: calc(60 * var(--u)) calc(58 * var(--u)) calc(57 * var(--u)) calc(59 * var(--u)); text-align: center; }
.activity-card::before {
  position: absolute;
  z-index: -1;
  inset: calc(-20 * var(--u));
  aspect-ratio: 1231 / 718;
  background: var(--section-image, url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/activity-frame.png?v=9c5b552057d9")) center / 100% 100% no-repeat;
  content: "";
}
.activity-card h3 { margin: calc(26 * var(--u)) 0 calc(32 * var(--u)) 0; font-size: calc(60 * var(--u)); line-height: 1.2; }
.activity-card .artwork { aspect-ratio: 1074 / 324; }
.activity-card .artwork::after { position: absolute; z-index: 1; inset: 0; box-shadow: inset 0 0 0 calc(2 * var(--u)) #e4f7ff; pointer-events: none; content: ""; }
.activity-card p { margin: calc(16 * var(--u)) 0 0; color: #f1f8fe; font-size: calc(30 * var(--u)); line-height: 1.2; }

.toast {
  position: fixed;
  z-index: 12;
  top: 50%;
  left: 50%;
  width: max-content;
  max-width: calc(100vw - 80 * var(--u));
  margin: 0;
  padding: max(12px, calc(24 * var(--u))) max(24px, calc(48 * var(--u)));
  border: 0;
  border-radius: max(8px, calc(16 * var(--u)));
  background: #404040;
  color: rgb(255 255 255 / 90%);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: max(18px, calc(44 * var(--u)));
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: center;
  text-shadow: none;
  text-transform: none;
  white-space: normal;
  overflow-wrap: break-word;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
/* Keep the shared footer's internal layers below the campaign's navigation and popups. */
.page-footer { position: relative; z-index: 0; font-family: Arial, "PingFang SC", sans-serif; line-height: 1.5; }
.improvements { width: calc(1420 * var(--u)); margin-top: calc(-4 * var(--u)); }
.improvement-list { display: grid; grid-template-columns: repeat(2, calc(615 * var(--u))); gap: calc(57 * var(--u)) calc(157 * var(--u)); }
.improvement-list h3 { position: relative; min-height: calc(56 * var(--u)); margin: 0; color: #f1f8fe; font-size: calc(40 * var(--u)); line-height: 1.2; }
.improvement-list h3::before { position: absolute; top: calc(11 * var(--u)); left: calc(-43.1875 * var(--u)); width: calc(33.7 * var(--u)); aspect-ratio: 1; background: var(--section-image, url("https://xd.cindy-sites.cn/s/nmpztv9v7vpt/assets/improvement-icon.png?v=0496149d41d9")) center / contain no-repeat; content: ""; }
.improvement-list p { position: relative; margin: calc(8 * var(--u)) 0 0; padding-left: calc(45 * var(--u)); font-size: calc(30 * var(--u)); line-height: 1.2; color: #cfe8eb; }
.improvement-list p::before { position: absolute; top: 0; left: 0; width: calc(45 * var(--u)); text-align: center; content: "·"; }
.improvements > .section-note { display: flex; align-items: center; justify-content: center; min-height: calc(80 * var(--u)); margin: calc(80 * var(--u)) 0 0; }

/* Independent scale leaves entrance transforms and directional icon motion intact. */
.campaign :where(button:not(.mobile-dismiss)) { transition: scale 180ms ease, filter 180ms ease; }
@media (hover: hover) and (pointer: fine) {
  .campaign button:not(:disabled):not(.mobile-dismiss):hover { scale: 1.015; filter: brightness(1.12); }
}
.campaign button:not(:disabled):not(.mobile-dismiss):active { scale: .97; filter: brightness(.86); }
@media (prefers-reduced-motion: reduce) {
  .campaign button:not(.mobile-dismiss) { transition: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-scroll img { animation: hero-scroll 1.65s cubic-bezier(.37, 0, .63, 1) infinite; }
  [data-slide]:not([hidden]) { animation: slide-reveal .3s ease-out; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
@keyframes hero-scroll { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(44%); } }
@keyframes slide-reveal { from { opacity: .25; } to { opacity: 1; } }
