:root {
  --font-main: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  --page-bg: #ffffff;
  --paper: #ffffff;
  --paper-2: #f6f8fb;
  --text: #17202a;
  --muted: #627084;
  --line: rgba(23, 32, 42, .12);
  --accent: #ef4c72;
  --accent-2: #3b82f6;
  --accent-3: #ffe15a;
  --ink: #111827;
  --hero-text: #101827;
  --hero-muted: #536173;
  --shadow: 0 24px 70px rgba(26, 37, 62, .14);
  --radius: 8px;
  --header-h: 78px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.7;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.official-header {
  position: fixed;
  inset: 16px 24px auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .12);
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.official-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 46px rgba(15, 23, 42, .16);
}

.official-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.official-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 28%, transparent);
}

.official-brand-copy {
  display: grid;
  min-width: 0;
}

.official-brand-copy strong {
  max-width: 210px;
  overflow: hidden;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.official-brand-copy small {
  max-width: 210px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.official-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: auto;
}

.official-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  color: color-mix(in srgb, var(--text) 78%, transparent);
  font-size: 14px;
  font-weight: 800;
}

.official-nav a:hover {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--ink);
}

.header-download,
.action-primary,
.download-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 36px color-mix(in srgb, var(--accent) 25%, transparent);
}

.header-download {
  flex: 0 0 auto;
  padding: 0 18px;
  font-size: 14px;
}

.header-download b,
.action-primary span,
.download-cta b {
  font-size: 15px;
  line-height: 1;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.nav-toggle i {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 4px;
  background: currentColor;
}

.official-hero {
  position: relative;
  min-height: 100vh;
  padding: 150px clamp(20px, 5vw, 72px) 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .78fr);
  align-items: center;
  gap: clamp(32px, 6vw, 92px);
  isolation: isolate;
  color: var(--hero-text);
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--accent) 10%, #fff) 0%, #fff 46%, color-mix(in srgb, var(--accent-2) 10%, #fff) 100%);
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .16;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(15, 23, 42, .05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 23, 42, .05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
  opacity: .68;
}

.official-hero::after {
  content: "";
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  right: clamp(20px, 5vw, 72px);
  bottom: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-eyebrow,
.section-index {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  max-width: 760px;
  color: var(--hero-text);
  font-size: 76px;
  font-weight: 950;
  line-height: .98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--hero-muted);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.action-primary,
.action-secondary {
  min-width: 156px;
  padding: 0 22px;
}

.action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line));
  border-radius: 8px;
  background: rgba(255, 255, 255, .56);
  color: var(--ink);
  font-weight: 900;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  color: color-mix(in srgb, var(--text) 68%, transparent);
  font-size: 13px;
  font-weight: 800;
}

.hero-meta span,
.hero-meta time {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .66);
}

.hero-art {
  position: relative;
  z-index: 1;
  min-height: 520px;
}

.art-frame {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame-main {
  inset: 34px 0 58px 38px;
  transform: rotate(-2.5deg);
}

.frame-small {
  right: 18px;
  bottom: 0;
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  border: 8px solid #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  transform: rotate(6deg);
}

.frame-small span {
  max-width: 120px;
  color: #fff;
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  overflow-wrap: anywhere;
}

.art-orbit {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  border-radius: 50%;
}

.orbit-a {
  inset: 0 26px 64px 0;
  transform: rotate(8deg);
}

.orbit-b {
  inset: 68px 0 6px 88px;
  transform: rotate(-8deg);
}

.art-piece {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--accent-3);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .14);
}

.piece-a { left: 0; top: 84px; }
.piece-b { right: 56px; top: 0; background: var(--accent); }
.piece-c { left: 68px; bottom: 28px; background: var(--accent-2); }

.official-intro,
.experience,
.moments,
.official-download,
.official-footer {
  padding-inline: clamp(20px, 5vw, 72px);
}

.official-intro {
  display: grid;
  grid-template-columns: minmax(140px, .22fr) minmax(260px, .9fr) minmax(260px, .7fr);
  gap: clamp(24px, 5vw, 78px);
  padding-top: 84px;
  padding-bottom: 88px;
  background: var(--page-bg);
}

.section-index {
  display: inline-grid;
  align-content: start;
  gap: 8px;
  margin: 0;
}

.section-index span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 13%, #fff);
  color: var(--accent);
  font-size: 15px;
}

.section-index b {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.intro-heading h2,
.experience-head h2,
.download-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-copy p,
.experience-head p,
.download-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
}

.intro-copy a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--accent);
  font-weight: 950;
}

.experience {
  padding-top: 92px;
  padding-bottom: 98px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent-2) 7%, #fff), color-mix(in srgb, var(--accent) 7%, #fff));
}

.experience-head {
  max-width: 980px;
}

.experience-head p {
  max-width: 760px;
  margin-top: 20px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
}

.feature-item {
  min-height: 286px;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
}

.feature-no {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.feature-item h3 {
  margin: 58px 0 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.moments {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(320px, 1fr);
  gap: 28px;
  padding-top: 92px;
  padding-bottom: 92px;
  background: #fff;
}

.moment-photo {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.moment-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moment-list {
  display: grid;
  gap: 16px;
}

.moment-item {
  display: grid;
  align-content: center;
  min-height: 142px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent-2) 8%, #fff);
}

.moment-item span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
}

.moment-item h3 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.12;
}

@media (min-width: 1400px) {
  .hero-content h1 {
    font-size: 88px;
  }

  .intro-heading h2,
  .experience-head h2,
  .download-copy h2 {
    font-size: 56px;
  }

  .moment-item h3 {
    font-size: 40px;
  }
}

.official-download {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(320px, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding-top: 70px;
  padding-bottom: 74px;
  overflow: hidden;
  background:
    linear-gradient(120deg, var(--ink), color-mix(in srgb, var(--accent-2) 36%, #111827));
  color: #fff;
}

.download-symbol {
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 40px;
  font-weight: 950;
  line-height: 1;
  overflow-wrap: anywhere;
  text-align: center;
}

.download-copy .section-index span {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.download-copy .section-index b,
.download-copy h2,
.download-copy p {
  color: #fff;
}

.download-copy p {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .8);
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.download-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  font-weight: 800;
}

.download-cta {
  min-width: 190px;
  min-height: 60px;
  padding: 0 26px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
}

.official-footer {
  padding-top: 48px;
  padding-bottom: 34px;
  background: #fff;
}

.footer-main {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.footer-logo {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 28px;
  font-weight: 950;
}

.footer-main p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.back-top {
  margin-left: auto;
  color: var(--accent);
  font-size: 14px;
  font-weight: 950;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.theme-picacg {
  --page-bg: #fff7fb;
  --paper-2: #fff0f7;
  --text: #2a1730;
  --muted: #76566f;
  --ink: #261129;
  --accent: #ff4f93;
  --accent-2: #23b4d9;
  --accent-3: #ffe45c;
}

.theme-picacg .official-hero {
  grid-template-columns: minmax(0, .88fr) minmax(390px, .9fr);
  background: linear-gradient(130deg, #fff7fb 0%, #fff 46%, #eaf9ff 100%);
}

.theme-picacg .hero-content h1 {
  text-shadow: 7px 7px 0 rgba(35, 180, 217, .12);
}

.theme-picacg .frame-main {
  inset: 8px 42px 72px 0;
  border: 10px solid #fff;
  transform: rotate(-5deg);
}

.theme-picacg .frame-small {
  right: 0;
  bottom: 18px;
  width: 190px;
  height: 236px;
  border-width: 10px;
  transform: rotate(7deg);
}

.theme-picacg .art-piece {
  border: 3px solid #111827;
}

.theme-tiantang {
  --page-bg: #fffdf6;
  --paper-2: #fff2e6;
  --text: #352019;
  --muted: #735d55;
  --ink: #2b1812;
  --accent: #ef4444;
  --accent-2: #f97316;
  --accent-3: #3b82f6;
}

.theme-tiantang .official-hero {
  background: radial-gradient(circle at 75% 15%, rgba(239, 68, 68, .16), transparent 30%), linear-gradient(180deg, #fffdf6 0%, #fff2e6 100%);
}

.theme-tiantang .hero-art {
  min-height: 560px;
}

.theme-tiantang .frame-main {
  inset: 0 0 0 96px;
  border-radius: 180px 8px 8px 180px;
  transform: none;
}

.theme-tiantang .frame-small {
  left: 12px;
  right: auto;
  top: 42px;
  bottom: auto;
  width: 170px;
  height: 170px;
  transform: rotate(-8deg);
}

.theme-summer {
  --page-bg: #fbfff2;
  --text: #253319;
  --muted: #627052;
  --ink: #1d2a13;
  --accent: #f59e0b;
  --accent-2: #16a34a;
  --accent-3: #fef08a;
}

.theme-summer .official-hero {
  background: linear-gradient(125deg, #fff8d9 0%, #ffffff 52%, #e6ffe9 100%);
}

.theme-summer .hero-pattern {
  background-image: linear-gradient(90deg, rgba(22, 163, 74, .12) 1px, transparent 1px), linear-gradient(0deg, rgba(245, 158, 11, .14) 1px, transparent 1px);
  background-size: 38px 38px;
}

.theme-summer .frame-main {
  inset: 52px 18px 42px 18px;
  border: 12px solid #fff;
  box-shadow: 22px 22px 0 rgba(245, 158, 11, .16), var(--shadow);
  transform: rotate(2deg);
}

.summer-date {
  position: absolute;
  right: clamp(24px, 5vw, 80px);
  bottom: 58px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(29, 42, 19, .12);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.summer-date b {
  color: var(--accent);
  font-size: 44px;
  line-height: 1;
}

.summer-date span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.theme-dojo {
  --page-bg: #fff6f0;
  --text: #2b1b15;
  --muted: #76584d;
  --ink: #24130e;
  --accent: #dc2626;
  --accent-2: #0f766e;
  --accent-3: #facc15;
}

.theme-dojo .official-hero {
  background: linear-gradient(135deg, #fff6f0 0%, #fff 56%, #e7fff9 100%);
}

.theme-dojo .hero-pattern {
  background-image: linear-gradient(90deg, rgba(36, 19, 14, .12) 4px, transparent 4px), linear-gradient(0deg, rgba(36, 19, 14, .12) 4px, transparent 4px);
  background-size: 42px 42px;
  opacity: .3;
}

.theme-dojo .official-mark,
.theme-dojo .feature-no,
.theme-dojo .action-primary,
.theme-dojo .header-download {
  border-radius: 0;
}

.theme-dojo .art-frame,
.theme-dojo .feature-item,
.theme-dojo .moment-item,
.theme-dojo .official-header,
.theme-dojo .download-symbol,
.theme-dojo .download-cta {
  border-radius: 0;
}

.theme-dojo .frame-main {
  inset: 18px 18px 88px 18px;
  border: 8px solid #24130e;
  transform: none;
}

.theme-dojo .frame-small {
  width: 172px;
  height: 118px;
  border: 6px solid #24130e;
  box-shadow: 10px 10px 0 rgba(36, 19, 14, .24);
}

.pixel-status {
  position: absolute;
  right: clamp(28px, 6vw, 110px);
  top: 132px;
  z-index: 4;
  width: 210px;
  padding: 12px;
  border: 4px solid #24130e;
  background: #fff;
  box-shadow: 8px 8px 0 rgba(220, 38, 38, .2);
}

.pixel-status span,
.pixel-status b {
  display: block;
  color: #24130e;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.pixel-status b {
  margin: 4px 0 8px;
  color: var(--accent);
}

.pixel-status i {
  display: inline-block;
  width: 28px;
  height: 10px;
  margin-right: 5px;
  background: var(--accent-2);
}

.theme-wonder {
  --page-bg: #f9fbff;
  --text: #182033;
  --muted: #566278;
  --ink: #111827;
  --accent: #7c3aed;
  --accent-2: #06b6d4;
  --accent-3: #facc15;
}

.theme-wonder .official-hero {
  background: conic-gradient(from 130deg at 75% 40%, rgba(124, 58, 237, .17), rgba(6, 182, 212, .16), rgba(250, 204, 21, .16), rgba(124, 58, 237, .17)), #fff;
}

.theme-wonder .hero-art {
  min-height: 560px;
}

.theme-wonder .frame-main {
  inset: 58px 44px 58px 44px;
  border-radius: 50%;
  border: 12px solid #fff;
  transform: none;
}

.theme-wonder .frame-small {
  left: 20px;
  bottom: 26px;
  right: auto;
  border-radius: 50%;
}

.theme-wonder .art-piece {
  transform: rotate(45deg);
}

.theme-spaceboard {
  --page-bg: #f5fbff;
  --text: #172538;
  --muted: #536678;
  --ink: #102033;
  --accent: #2563eb;
  --accent-2: #0ea5e9;
  --accent-3: #22c55e;
}

.theme-spaceboard .official-hero {
  background: linear-gradient(120deg, #f5fbff 0%, #fff 48%, #e8f7ff 100%);
}

.theme-spaceboard .frame-main {
  inset: 74px 28px 24px 54px;
  transform: perspective(900px) rotateY(-12deg) rotateX(7deg);
  box-shadow: 32px 28px 0 rgba(37, 99, 235, .12), var(--shadow);
}

.theme-spaceboard .frame-small {
  left: 18px;
  bottom: 78px;
  right: auto;
  transform: perspective(600px) rotateY(18deg) rotate(-3deg);
}

.axis-label {
  position: absolute;
  z-index: 4;
  padding: 7px 11px;
  border: 1px solid rgba(37, 99, 235, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.axis-x { right: 10vw; top: 21vh; }
.axis-y { right: 34vw; bottom: 19vh; }

.theme-aile {
  --page-bg: #fffcf4;
  --text: #24301f;
  --muted: #65705d;
  --ink: #1f2a1b;
  --accent: #f97316;
  --accent-2: #14b8a6;
  --accent-3: #fde047;
}

.theme-aile .official-hero {
  background: linear-gradient(145deg, #fffcf4 0%, #fff 50%, #eafff9 100%);
}

.theme-aile .hero-art {
  min-height: 500px;
}

.theme-aile .frame-main {
  inset: 34px 28px 62px 28px;
  border: 14px solid #fff;
  transform: rotate(1.5deg);
}

.theme-aile .frame-small {
  right: auto;
  left: 6px;
  bottom: 10px;
  width: 156px;
  height: 156px;
  background: linear-gradient(135deg, #f97316, #14b8a6);
}

.theme-aile .feature-item:nth-child(2n) {
  background: color-mix(in srgb, var(--accent-2) 11%, #fff);
}

.theme-xingyun {
  --page-bg: #f4fffb;
  --text: #17332b;
  --muted: #4f7369;
  --ink: #09251d;
  --accent: #059669;
  --accent-2: #f59e0b;
  --accent-3: #ef4444;
}

.theme-xingyun .official-hero {
  background: linear-gradient(125deg, #f4fffb 0%, #fff 50%, #fff6dd 100%);
}

.theme-xingyun .hero-content h1 {
  max-width: 720px;
}

.theme-xingyun .frame-main {
  inset: 24px 10px 62px 50px;
  border: 10px solid #fff;
  transform: rotate(-1deg);
}

.theme-xingyun .frame-small {
  left: 0;
  right: auto;
  bottom: 0;
  width: 176px;
  height: 132px;
  transform: rotate(-5deg);
}

.theme-xingyun .art-piece {
  border-radius: 50%;
}

.theme-shenlai {
  --page-bg: #f6fbff;
  --text: #162638;
  --muted: #566d80;
  --ink: #102033;
  --accent: #0284c7;
  --accent-2: #22c55e;
  --accent-3: #f97316;
}

.theme-shenlai .official-hero {
  background: linear-gradient(120deg, #f6fbff 0%, #ffffff 52%, #effff4 100%);
}

.theme-shenlai .hero-pattern {
  background-image: linear-gradient(90deg, rgba(2, 132, 199, .08) 1px, transparent 1px), linear-gradient(0deg, rgba(34, 197, 94, .08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.theme-shenlai .frame-main {
  inset: 36px 0 38px 38px;
  border: 1px solid rgba(2, 132, 199, .22);
  transform: none;
}

.theme-shenlai .frame-small {
  width: 210px;
  height: 120px;
  right: 28px;
  bottom: 34px;
  transform: none;
}

.theme-shenlai .feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.theme-shenlai .feature-item {
  min-height: 210px;
}

.theme-shenlai .feature-item h3 {
  margin-top: 36px;
}

.theme-qianyi {
  --page-bg: #fffaf2;
  --text: #2c2416;
  --muted: #71624e;
  --ink: #241b10;
  --accent: #d97706;
  --accent-2: #16a34a;
  --accent-3: #ef4444;
}

.theme-qianyi .official-hero {
  background: linear-gradient(135deg, #fffaf2 0%, #fff 50%, #ecfff2 100%);
}

.theme-qianyi .frame-main {
  inset: 18px 56px 78px 22px;
  border: 12px solid #fff;
  transform: rotate(2deg);
}

.theme-qianyi .frame-small {
  right: 0;
  bottom: 10px;
  width: 184px;
  height: 184px;
  border-radius: 50%;
}

.theme-qianyi .feature-no,
.theme-qianyi .section-index span {
  border-radius: 50%;
}

.theme-zhajinhua {
  --page-bg: #f7fbf8;
  --paper-2: #edf7f1;
  --text: #173126;
  --muted: #5b7268;
  --ink: #0e2119;
  --accent: #0f9f6e;
  --accent-2: #dc2626;
  --accent-3: #f6c453;
}

.theme-zhajinhua .official-hero {
  min-height: 88vh;
  background:
    linear-gradient(90deg, rgba(15, 159, 110, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(220, 38, 38, .055) 1px, transparent 1px),
    linear-gradient(126deg, #f7fbf8 0%, #ffffff 48%, #fff7df 100%);
  background-size: 42px 42px, 42px 42px, auto;
}

.theme-zhajinhua .hero-pattern {
  background-image:
    linear-gradient(90deg, rgba(14, 33, 25, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(14, 33, 25, .07) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: .42;
}

.theme-zhajinhua .hero-content h1 {
  max-width: 730px;
}

.theme-zhajinhua .frame-main {
  inset: 16px 34px 72px 24px;
  border: 10px solid #fff;
  transform: rotate(-1.5deg);
  box-shadow: 22px 22px 0 rgba(15, 159, 110, .12), var(--shadow);
}

.theme-zhajinhua .frame-small {
  right: 6px;
  bottom: 10px;
  width: 174px;
  height: 126px;
  border: 8px solid #fff;
  background: linear-gradient(135deg, #dc2626, #0f9f6e);
  transform: rotate(5deg);
}

.theme-zhajinhua .frame-small span {
  font-size: 32px;
  letter-spacing: 0;
}

.theme-zhajinhua .art-piece {
  border: 2px solid rgba(14, 33, 25, .16);
  box-shadow: 0 16px 30px rgba(15, 159, 110, .18);
}

.theme-zhajinhua .feature-item:nth-child(2n) {
  background: color-mix(in srgb, var(--accent-3) 14%, #fff);
}

.theme-zhajinhua .moment-item {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, #fff), #fff);
}

@media (max-width: 1180px) {
  .official-header {
    inset: 12px 16px auto;
  }

  .official-hero,
  .theme-picacg .official-hero,
  .theme-tiantang .official-hero,
  .theme-summer .official-hero,
  .theme-dojo .official-hero,
  .theme-wonder .official-hero,
  .theme-spaceboard .official-hero,
  .theme-aile .official-hero,
  .theme-xingyun .official-hero,
  .theme-shenlai .official-hero,
  .theme-qianyi .official-hero,
  .theme-zhajinhua .official-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-top: 132px;
  }

  .hero-content {
    width: 100%;
    max-width: 900px;
    min-width: 0;
  }

  .hero-art {
    min-height: 430px;
  }

  .frame-main {
    inset: 8px 120px 28px 0;
  }

  .frame-small {
    right: 88px;
  }

  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .official-download {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .download-cta {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 66px;
  }

  .official-header {
    gap: 10px;
    height: var(--header-h);
    padding: 8px;
  }

  .official-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 13px;
  }

  .official-brand-copy strong,
  .official-brand-copy small {
    max-width: 160px;
  }

  .header-download {
    margin-left: auto;
    min-height: 44px;
    padding: 0 13px;
  }

  .header-download span {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .official-nav {
    position: fixed;
    inset: calc(var(--header-h) + 24px) 16px auto;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 54px rgba(15, 23, 42, .16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .nav-open .official-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .official-nav a {
    justify-content: center;
    background: color-mix(in srgb, var(--accent) 8%, #fff);
  }

  .official-hero,
  .theme-picacg .official-hero,
  .theme-tiantang .official-hero,
  .theme-summer .official-hero,
  .theme-dojo .official-hero,
  .theme-wonder .official-hero,
  .theme-spaceboard .official-hero,
  .theme-aile .official-hero,
  .theme-xingyun .official-hero,
  .theme-shenlai .official-hero,
  .theme-qianyi .official-hero,
  .theme-zhajinhua .official-hero {
    padding: 116px 18px 48px;
    gap: 28px;
  }

  .hero-content {
    max-width: none;
  }

  .hero-content h1 {
    max-width: 100%;
    font-size: 44px;
    line-height: 1.06;
    word-break: normal;
    overflow-wrap: normal;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .action-primary,
  .action-secondary {
    width: 100%;
  }

  .hero-meta {
    gap: 8px;
  }

  .hero-meta span,
  .hero-meta time {
    flex: 1 1 160px;
    text-align: center;
  }

  .hero-art {
    min-height: 330px;
    width: 100%;
    max-width: 520px;
    overflow: hidden;
  }

  .art-orbit {
    display: none;
  }

  .frame-main,
  .theme-picacg .frame-main,
  .theme-tiantang .frame-main,
  .theme-summer .frame-main,
  .theme-dojo .frame-main,
  .theme-wonder .frame-main,
  .theme-spaceboard .frame-main,
  .theme-aile .frame-main,
  .theme-xingyun .frame-main,
  .theme-shenlai .frame-main,
  .theme-qianyi .frame-main,
  .theme-zhajinhua .frame-main {
    inset: 0 42px 40px 0;
    border-radius: 8px;
    transform: none;
  }

  .frame-small,
  .theme-picacg .frame-small,
  .theme-tiantang .frame-small,
  .theme-dojo .frame-small,
  .theme-wonder .frame-small,
  .theme-spaceboard .frame-small,
  .theme-aile .frame-small,
  .theme-xingyun .frame-small,
  .theme-shenlai .frame-small,
  .theme-qianyi .frame-small,
  .theme-zhajinhua .frame-small {
    right: 0;
    left: auto;
    bottom: 0;
    top: auto;
    width: 128px;
    height: 128px;
    border-radius: 8px;
    transform: none;
  }

  .frame-small span {
    max-width: 100px;
    font-size: 25px;
  }

  .official-intro,
  .experience,
  .moments,
  .official-download,
  .official-footer {
    padding-inline: 18px;
  }

  .official-intro {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .intro-heading h2,
  .experience-head h2,
  .download-copy h2 {
    font-size: 36px;
    line-height: 1.16;
  }

  .experience {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .feature-list,
  .theme-shenlai .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: 210px;
    padding: 22px;
  }

  .feature-item h3 {
    margin-top: 34px;
    font-size: 22px;
  }

  .moments {
    grid-template-columns: 1fr;
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .moment-photo {
    min-height: 270px;
  }

  .moment-item {
    min-height: 110px;
    padding: 22px;
  }

  .moment-item h3 {
    font-size: 26px;
  }

  .official-download {
    grid-template-columns: 1fr;
    padding-top: 52px;
    padding-bottom: 56px;
  }

  .download-symbol {
    width: 112px;
    height: 112px;
    font-size: 28px;
  }

  .download-cta {
    grid-column: auto;
    width: 100%;
  }

  .footer-main {
    display: grid;
  }

  .back-top {
    margin-left: 0;
  }

  .summer-date,
  .pixel-status,
  .axis-label {
    display: none;
  }

  .theme-zhajinhua .official-hero {
    gap: 18px;
    padding-top: 102px;
    padding-bottom: 20px;
  }

  .theme-zhajinhua .hero-lead {
    margin-top: 20px;
  }

  .theme-zhajinhua .hero-actions {
    margin-top: 24px;
  }

  .theme-zhajinhua .hero-art {
    min-height: 184px;
  }
}

@media (max-width: 420px) {
  .official-header {
    inset: 8px 10px auto;
  }

  .official-brand-copy strong,
  .official-brand-copy small {
    max-width: 132px;
  }

  .official-hero,
  .theme-picacg .official-hero,
  .theme-tiantang .official-hero,
  .theme-summer .official-hero,
  .theme-dojo .official-hero,
  .theme-wonder .official-hero,
  .theme-spaceboard .official-hero,
  .theme-aile .official-hero,
  .theme-xingyun .official-hero,
  .theme-shenlai .official-hero,
  .theme-qianyi .official-hero,
  .theme-zhajinhua .official-hero {
    padding-inline: 14px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-art {
    min-height: 286px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .intro-heading h2,
  .experience-head h2,
  .download-copy h2 {
    font-size: 30px;
  }

  .moment-item h3 {
    font-size: 23px;
  }

  .official-intro,
  .experience,
  .moments,
  .official-download,
  .official-footer {
    padding-inline: 14px;
  }
}
