/* Home page only. Do not place shared shell/sidebar/topbar/footer styles here. */
body[data-page="home"] {
  --home-section-gap: 24px;
  overflow-anchor: none;
}

body[data-page="home"] .home-scene-hero,
body[data-page="home"] .home-hmi-showcase,
body[data-page="home"] .home-ecosystem-showcase {
  overflow-anchor: none;
}

/* 2026-08-21 homepage industrial stage */
body[data-page="home"] .home-scene-hero {
  position: relative;
  height: var(--home-scene-expanded-height, auto);
  margin: calc(-1 * (var(--shell-main-top, 16px) + var(--shell-topbar-height) + var(--shell-topbar-gap))) calc(-1 * var(--shell-main-x)) 0;
  overflow: hidden;
  background: #fafbfe;
  isolation: isolate;
  transition: height .72s cubic-bezier(.22, 1, .36, 1);
}

body[data-page="home"] .home-scene-hero.is-scene-collapsed {
  height: calc(var(--shell-main-top, 16px) + var(--shell-topbar-height, 56px) + var(--shell-topbar-gap, 12px));
}

body[data-page="home"] .home-scene-media {
  position: relative;
  z-index: 0;
  width: calc(100% - 32px);
  aspect-ratio: 16 / 9;
  margin: 20px auto 0;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  clip-path: inset(.5px);
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: 50% 8%;
  transition: opacity .42s ease, transform .72s cubic-bezier(.22, 1, .36, 1);
  will-change: transform, opacity;
}

body[data-page="home"] .home-scene-hero.is-scene-collapsed .home-scene-media {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -74px, 0) scale(.96);
}

body[data-page="home"] .home-scene-media img {
  -webkit-user-drag: none;
  user-select: none;
}

body[data-page="home"] .home-scene-media::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  content: "";
  transition: opacity 1.4s ease, background-color 1.4s ease;
}

body[data-page="home"] .home-scene-media[data-scene-time="dawn"]::before {
  background: linear-gradient(180deg, rgba(255, 229, 199, .08), rgba(255, 203, 155, .05) 58%, transparent 82%);
  opacity: 1;
}

body[data-page="home"] .home-scene-media[data-scene-time="dusk"]::before {
  background: linear-gradient(180deg, rgba(149, 180, 222, .08), rgba(90, 126, 176, .09) 62%, rgba(36, 70, 116, .05));
  opacity: 1;
}

body[data-page="home"] .home-scene-media[data-scene-time="night"]::before {
  background: linear-gradient(180deg, rgba(74, 113, 164, .1), rgba(30, 65, 111, .14) 58%, rgba(17, 45, 82, .1));
  opacity: 1;
}

body[data-page="home"] .home-scene-media::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(
      to right,
      rgba(250, 251, 254, 1) 0%,
      rgba(250, 251, 254, .96) 2%,
      rgba(250, 251, 254, .62) 7%,
      rgba(250, 251, 254, .22) 11%,
      rgba(250, 251, 254, 0) 15%,
      rgba(250, 251, 254, 0) 85%,
      rgba(250, 251, 254, .22) 89%,
      rgba(250, 251, 254, .62) 93%,
      rgba(250, 251, 254, .96) 98%,
      rgba(250, 251, 254, 1) 100%
    ),
    linear-gradient(
      to bottom,
      #fafbfe 0%,
      rgba(248, 251, 255, .99) 6%,
      rgba(240, 248, 255, .94) 11%,
      rgba(231, 244, 255, .82) 16%,
      rgba(222, 239, 253, .62) 20%,
      rgba(210, 233, 252, .34) 23%,
      rgba(202, 229, 252, 0) 26%,
      rgba(250, 251, 254, 0) 88%,
      rgba(250, 251, 254, 1) 100%
    );
}

body[data-page="home"] .home-scene-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  transform: none;
  -webkit-mask-image: none;
  mask-image: none;
  transition: opacity .78s cubic-bezier(.22, 1, .36, 1), filter 1.4s ease;
}

body[data-page="home"] .home-scene-media.is-scene-ready .home-scene-art {
  opacity: 1;
  transform: none;
}

body[data-page="home"] .home-scene-media[data-scene-time="dawn"] .home-scene-art {
  filter: brightness(1.02) saturate(.96) sepia(.06);
}

body[data-page="home"] .home-scene-media[data-scene-time="dusk"] .home-scene-art {
  filter: brightness(.96) saturate(.9) sepia(.03) hue-rotate(-3deg);
}

body[data-page="home"] .home-scene-media[data-scene-time="night"] .home-scene-art {
  filter: brightness(.88) saturate(.8) contrast(1.03) hue-rotate(7deg);
}

body[data-page="home"] .home-scene-clouds {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}

body[data-page="home"] .home-scene-media.is-scene-ready .home-scene-clouds {
  opacity: .14;
}

body[data-page="home"] .home-scene-media.is-scene-ready[data-scene-time="dusk"] .home-scene-clouds {
  opacity: .11;
}

body[data-page="home"] .home-scene-media.is-scene-ready[data-scene-time="night"] .home-scene-clouds {
  opacity: .08;
}

body[data-page="home"] .home-scene-clouds-track {
  position: absolute;
  top: -11%;
  left: 0;
  display: flex;
  width: 200%;
  animation: homeCloudDrift 74s linear infinite;
  will-change: transform;
}

body[data-page="home"] .home-scene-clouds-track img {
  display: block;
  flex: 0 0 50%;
  width: 50%;
  height: auto;
  filter: contrast(1.08) brightness(1.04);
}

body[data-page="home"] .home-scene-windmill {
  position: absolute;
  top: 12.5%;
  left: 9.35%;
  z-index: 1;
  display: block;
  width: 8.2%;
  aspect-ratio: 1;
  opacity: 0;
  pointer-events: none;
  transform-origin: 50% 63%;
  transition: opacity .78s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

body[data-page="home"] .home-scene-media.is-scene-ready .home-scene-windmill {
  opacity: 1;
  pointer-events: auto;
}

body[data-page="home"] .home-scene-windmill::before {
  position: absolute;
  top: 63%;
  left: 50%;
  width: 28%;
  aspect-ratio: 1;
  border: 1px solid rgba(58, 147, 255, .82);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(45, 137, 255, .42);
  opacity: 0;
  pointer-events: none;
  content: "";
  transform: translate(-50%, -50%) scale(.55);
  animation: homeWindmillClickHint 16s ease-out 3s infinite;
}

body[data-page="home"] .home-scene-windmill.is-pulsing::before {
  visibility: hidden;
}

body[data-page="home"] .home-scene-windmill::after {
  position: absolute;
  top: 63%;
  left: 50%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(180, 225, 255, .64);
  box-shadow: 0 0 8px rgba(65, 158, 255, .72), 0 0 18px rgba(91, 185, 255, .42);
  opacity: 0;
  pointer-events: none;
  content: "";
  transform: translate(-50%, -50%) scale(.4);
}

body[data-page="home"] .home-scene-windmill.is-pulsing::after {
  animation: homeWindmillHubFlash .9s ease-out both;
}

@keyframes homeWindmillHubFlash {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  35% { opacity: .88; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.9); }
}

@keyframes homeWindmillClickHint {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.55); }
  3% { opacity: .82; transform: translate(-50%, -50%) scale(1); }
  10% { opacity: 0; transform: translate(-50%, -50%) scale(1.85); }
  10.01%, 99.99% { opacity: 0; transform: translate(-50%, -50%) scale(.55); }
}

body[data-page="home"] .home-scene-windmill img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes homeCloudDrift {
  to { transform: translate3d(-50%, 0, 0); }
}

body[data-page="home"] .home-scene-vehicle-wrap {
  position: absolute;
  bottom: calc(9% + 24px);
  left: -12%;
  z-index: 2;
  display: block;
  width: clamp(92px, 9vw, 160px);
  aspect-ratio: 3 / 2;
  pointer-events: none;
  user-select: none;
  animation: homeVehiclePatrolLoop 36s linear infinite;
}

body[data-page="home"] .home-scene-vehicle-wrap::before {
  position: absolute;
  right: 13%;
  bottom: 6.5%;
  left: 13%;
  z-index: 0;
  height: 10%;
  border-radius: 50%;
  background: rgb(0, 0, 0);
  filter: blur(4px);
  content: "";
  transform: scaleX(1.08);
}

body[data-page="home"] .home-scene-vehicle {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: homeVehicleDirection 36s steps(1, end) infinite;
}

body[data-page="home"] .home-scene-vehicle-scan {
  position: absolute;
  top: 10%;
  left: 65%;
  z-index: 2;
  display: block;
  width: 24%;
  aspect-ratio: 1;
  border: 1px solid rgba(80, 164, 255, .92);
  border-radius: 50%;
  box-shadow: 0 0 7px 2px rgba(37, 133, 255, .42);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.2);
  animation: homeVehicleScanLoop 36s linear infinite;
}

@keyframes homeVehiclePatrolLoop {
  0% {
    bottom: calc(9% + 24px);
    left: -12%;
    opacity: 0;
  }

  2% {
    opacity: 1;
  }

  47% {
    bottom: calc(9% + 24px);
    left: 100%;
    opacity: 1;
  }

  50% {
    bottom: calc(9% + 24px);
    left: 100%;
    opacity: 0;
  }

  50.01% {
    bottom: calc(16% + 12px);
    left: 100%;
    opacity: 0;
  }

  52% {
    opacity: 1;
  }

  97% {
    bottom: calc(16% + 12px);
    left: -12%;
    opacity: 1;
  }

  100% {
    bottom: calc(16% + 12px);
    left: -12%;
    opacity: 0;
  }
}

@keyframes homeVehicleDirection {
  0%, 49.99% { transform: scaleX(1); }
  50%, 100% { transform: scaleX(-1); }
}

@keyframes homeVehicleScanLoop {
  0%, 24.3%, 28.1%, 49.99% {
    left: 65%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.2);
  }

  24.7% {
    left: 65%;
    opacity: .95;
  }

  27.3% {
    left: 65%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.15);
  }

  50%, 73.8%, 77.6%, 100% {
    left: 35%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.2);
  }

  74.2% {
    left: 35%;
    opacity: .95;
  }

  76.8% {
    left: 35%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .home-scene-screen-glare,
  body[data-page="home"] .home-scene-vehicle-scan,
  body[data-page="home"] .home-scene-windmill::before {
    display: none;
    animation: none;
  }

  body[data-page="home"] .home-scene-clouds-track {
    animation: none;
    transform: translate3d(-12%, 0, 0);
  }

  body[data-page="home"] .home-scene-windmill {
    animation: none;
  }

  body[data-page="home"] .home-scene-vehicle-wrap {
    left: 12%;
    animation: none;
  }

  body[data-page="home"] .home-scene-vehicle {
    animation: none;
  }
}

body[data-page="home"] .home-scene-copy {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  padding-top: clamp(98px, 6vw, 106px);
  text-align: center;
  pointer-events: none;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity .34s ease, transform .58s cubic-bezier(.22, 1, .36, 1);
  will-change: transform, opacity;
}

body[data-page="home"] .home-scene-hero.is-scene-collapsed .home-scene-copy {
  opacity: 0;
  transform: translate3d(0, -34px, 0);
}

body[data-page="home"] .home-scene-copy h1 {
  margin: 0;
  color: #152c4d;
  font-size: clamp(30px, 2.18vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .02em;
  text-shadow: none;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

body[data-page="home"] .home-scene-copy h1 span {
  color: #124fd4;
  background-image: linear-gradient(102deg, #124fd4 0 42%, #77a9ff 48%, #124fd4 55% 100%);
  background-position: 100% 50%;
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body[data-page="home"] .home-scene-copy h1 b {
  margin: 0 10px;
  color: #263c5b;
  font-weight: 700;
}

body[data-page="home"] .home-scene-copy p {
  margin: 12px 0 0;
  color: #617797;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .08em;
  text-shadow: none;
  opacity: 0;
  transform: translate3d(0, 9px, 0);
}

body[data-page="home"] .home-scene-subtitle > span,
body[data-page="home"] .home-scene-subtitle > i {
  display: inline-block;
}

body[data-page="home"] .home-scene-subtitle > span {
  transform-origin: 50% 100%;
  animation: homeSceneSubtitleWave 5.2s ease-in-out infinite;
  animation-delay: calc(1.05s + var(--wave-index) * 72ms);
}

body[data-page="home"] .home-scene-subtitle > i {
  font-style: normal;
}

body[data-page="home"] .home-scene-media.is-scene-ready + .home-scene-copy h1 {
  animation: homeSceneTitleIntro .78s cubic-bezier(.22, 1, .36, 1) .08s both;
}

body[data-page="home"] .home-scene-media.is-scene-ready + .home-scene-copy h1 span {
  animation: homeSceneTitleSheen 1.05s cubic-bezier(.22, 1, .36, 1) .42s both;
}

body[data-page="home"] .home-scene-media.is-scene-ready + .home-scene-copy p {
  animation: homeSceneSubtitleIntro .68s cubic-bezier(.22, 1, .36, 1) .3s both;
}

@keyframes homeSceneSubtitleWave {
  0%, 8%, 100% {
    transform: translateY(0);
  }
  2.8% {
    transform: translateY(-3px);
  }
  5.4% {
    transform: translateY(1px);
  }
}

@keyframes homeSceneTitleIntro {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes homeSceneSubtitleIntro {
  from {
    opacity: 0;
    transform: translate3d(0, 9px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes homeSceneTitleSheen {
  from {
    background-position: 100% 50%;
  }
  to {
    background-position: 0 50%;
  }
}

/* Full-viewport HMI exhibition chapter. */
body[data-page="home"] .home-hmi-showcase {
  height: max(650px, calc(100vh - var(--shell-main-top, 16px) - var(--shell-topbar-height, 40px) - var(--shell-topbar-gap, 14px)));
  position: relative;
  margin: 0 calc(-1 * var(--shell-main-x));
  overflow: hidden;
  background: #fbfcff;
  isolation: isolate;
  scroll-margin-top: calc(var(--shell-main-top, 16px) + var(--shell-topbar-height, 40px) + var(--shell-topbar-gap, 14px));
  transition: height .72s cubic-bezier(.22, 1, .36, 1);
}

body[data-page="home"] .home-hmi-showcase::before,
body[data-page="home"] .home-hmi-showcase::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
}

body[data-page="home"] .home-hmi-showcase::before {
  background: var(--hmi-showcase-bg, url("../assets/home/home-hmi-control-room-bg-v6.webp?v=20260823")) center 46% / cover no-repeat;
  opacity: .92;
}

body[data-page="home"] .home-hmi-showcase::after {
  background:
    linear-gradient(180deg, #fbfcff 0%, rgba(251, 252, 255, .88) 10%, rgba(251, 252, 255, .2) 28%, rgba(251, 252, 255, .12) 72%, #fbfcff 100%),
    linear-gradient(90deg, #fbfcff 0%, rgba(251, 252, 255, .25) 2%, transparent 6%, transparent 94%, rgba(251, 252, 255, .25) 98%, #fbfcff 100%);
}

body[data-page="home"] .home-hmi-showcase.is-hmi-collapsed { height: 0; }

body[data-page="home"] .home-hmi-showcase-inner {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: clamp(36px, 4.2vh, 52px) clamp(12px, 1.35vw, 24px) clamp(24px, 3vh, 34px);
  display: flex;
  align-items: stretch;
  flex-direction: column;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity .34s ease, transform .64s cubic-bezier(.22, 1, .36, 1);
}

body[data-page="home"] .home-hmi-showcase.is-hmi-collapsed .home-hmi-showcase-inner {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -44px, 0);
}

body[data-page="home"] .home-hmi-heading { flex: 0 0 auto; text-align: center; }
body[data-page="home"] .home-hmi-heading h2 { margin: 0; color: #152c4d; font-size: clamp(30px, 2.2vw, 40px); font-weight: 700; line-height: 1.25; letter-spacing: .02em; }
body[data-page="home"] .home-hmi-heading h2 span { color: #1261e8; }
body[data-page="home"] .home-hmi-heading h2 b { margin: 0 14px; color: #263c5b; font-weight: 700; }
body[data-page="home"] .home-hmi-heading p { margin: 10px 0 0; color: #687c98; font-size: 15px; line-height: 1.6; letter-spacing: .06em; }

body[data-page="home"] .home-hmi-brands {
  width: min(820px, 74vw);
  min-height: 52px;
  margin: clamp(24px, 3vh, 34px) auto 0;
  padding: 6px 8px;
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(7, minmax(72px, 1fr)) minmax(104px, 1.18fr);
  align-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 249, 253, .5);
  box-shadow: 0 5px 14px rgba(60, 91, 138, .04);
  transition: width .24s ease, border-radius .24s ease;
}

body[data-page="home"] .home-hmi-brands button,
body[data-page="home"] .home-hmi-brands a {
  min-width: 0;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  color: #263c5b;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

body[data-page="home"] .home-hmi-brands button:hover,
body[data-page="home"] .home-hmi-brands button:focus-visible,
body[data-page="home"] .home-hmi-brands button.is-active { color: #1261e8; background: #fff; box-shadow: 0 5px 14px rgba(29, 88, 178, .08); }
body[data-page="home"] .home-hmi-brands button[hidden] { display: none; }
body[data-page="home"] .home-hmi-brands.is-expanded { overflow-x: auto; overflow-y: hidden; border-radius: 999px; }
body[data-page="home"] .home-hmi-brands .home-hmi-brand-toggle { color: #6d7f99; font-weight: 550; }
body[data-page="home"] .home-hmi-brands .home-hmi-brand-toggle:hover,
body[data-page="home"] .home-hmi-brands .home-hmi-brand-toggle:focus-visible { color: #1261e8; }

body[data-page="home"] .home-hmi-stage {
  height: 395px;
  min-height: 395px;
  position: relative;
  flex: 0 0 395px;
  margin-top: clamp(12px, 1.8vh, 22px);
  transform: translate3d(0, 70px, 0);
}
body[data-page="home"] .home-hmi-empty { position: absolute; inset: 44px 0 72px; z-index: 7; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; color: #8190a5; font-size: 14px; }
body[data-page="home"] .home-hmi-empty i { color: #b4c0d0; font-size: 34px; }
body[data-page="home"] .home-hmi-empty[hidden] { display: none; }
body[data-page="home"] .home-hmi-carousel { height: 100%; position: relative; margin: 0 5%; overflow: hidden; perspective: 1400px; }
body[data-page="home"] .home-hmi-slide {
  width: 17%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 0;
  color: #183354;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: left .64s cubic-bezier(.22, 1, .36, 1), width .64s cubic-bezier(.22, 1, .36, 1), opacity .3s ease;
  will-change: left, top, width, opacity;
}
body[data-page="home"] .home-hmi-slide.is-filtered-out { display: none; }
body[data-page="home"] .home-hmi-slide figure {
  width: 100%;
  height: min(29vh, 270px);
  margin: 0 0 20px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
body[data-page="home"] .home-hmi-slide img {
  width: 100%;
  height: calc(100% - 12px);
  min-width: 0;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  filter: none;
  transform: none;
  transform-origin: center bottom;
  transition: transform .64s cubic-bezier(.22, 1, .36, 1);
}
body[data-page="home"] .home-hmi-slide strong,
body[data-page="home"] .home-hmi-slide span,
body[data-page="home"] .home-hmi-slide small { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body[data-page="home"] .home-hmi-slide strong { font-size: 13px; font-weight: 720; }
body[data-page="home"] .home-hmi-slide span { margin-top: 5px; color: #667995; font-size: 11px; }
body[data-page="home"] .home-hmi-slide small { margin-top: 3px; color: #8493a8; font-size: 10px; }
body[data-page="home"] .home-hmi-slide > .home-hmi-link { min-width: 92px; height: 34px; margin-top: 11px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #9fc3ff; border-radius: 5px; color: #1261e8; background: #fff; font-size: 11px; font-weight: 650; transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease; }
body[data-page="home"] .home-hmi-slide.is-active > a.home-hmi-link,
body[data-page="home"] .home-hmi-slide > a.home-hmi-link:hover,
body[data-page="home"] .home-hmi-slide > a.home-hmi-link:focus-visible { border-color: #1261e8; color: #fff; background: #1261e8; transform: translateY(-1px); }
body[data-page="home"] .home-hmi-slide > .home-hmi-link.is-disabled { border-color: #d9e0e9; color: #9aa7b8; background: #f5f7fa; cursor: not-allowed; }
body[data-page="home"] .home-hmi-slide.is-far-prev { width: 14%; top: 0; left: 0; z-index: 2; opacity: 1; pointer-events: auto; }
body[data-page="home"] .home-hmi-slide.is-prev { width: 18.75%; top: 0; left: 17%; z-index: 3; opacity: 1; pointer-events: auto; }
body[data-page="home"] .home-hmi-slide.is-active { width: 22.5%; top: 0; left: 38.75%; z-index: 4; opacity: 1; pointer-events: auto; }
body[data-page="home"] .home-hmi-slide.is-next { width: 18.75%; top: 0; left: 64.25%; z-index: 3; opacity: 1; pointer-events: auto; }
body[data-page="home"] .home-hmi-slide.is-far-next { width: 14%; top: 0; left: 86%; z-index: 2; opacity: 1; pointer-events: auto; }
body[data-page="home"] .home-hmi-slide.is-hidden-left { left: -17%; opacity: 0; pointer-events: none; }
body[data-page="home"] .home-hmi-slide.is-hidden-right { left: 103%; opacity: 0; pointer-events: none; }
body[data-page="home"] .home-hmi-slide.is-repositioning { transition: none !important; }
body[data-page="home"] .home-hmi-slide.is-prev img,
body[data-page="home"] .home-hmi-slide.is-next img,
body[data-page="home"] .home-hmi-slide.is-active img { transform: none; }

body[data-page="home"] .home-hmi-footer { width: 100%; min-height: 76px; position: absolute; right: 0; bottom: 18px; left: 0; z-index: 8; display: flex; align-items: flex-end; flex-direction: column; justify-content: space-between; padding-top: 0; pointer-events: none; }
body[data-page="home"] .home-hmi-footer button,
body[data-page="home"] .home-hmi-footer a { pointer-events: auto; }
body[data-page="home"] .home-hmi-pagination { width: min(1380px, calc(100% - 48px)); min-width: 0; align-self: center; display: flex; align-items: center; justify-content: center; gap: 22px; transform: translateY(-40px); }
body[data-page="home"] .home-hmi-pagination > strong { flex: 0 0 auto; white-space: nowrap; color: #1261e8; font-size: 16px; font-weight: 760; }
body[data-page="home"] .home-hmi-pagination > strong small { margin-left: 5px; color: #9aa8ba; font-size: 11px; font-weight: 500; }
/* A sliding window of at most 20 original-size bars; never compress the bars. */
body[data-page="home"] .home-hmi-page-window { flex: 0 0 auto; width: 861px; max-width: 1280px; overflow: hidden; }
body[data-page="home"] .home-hmi-page-track { display: flex; align-items: center; width: max-content; gap: 7px; transition: transform .2s ease; }
body[data-page="home"] .home-hmi-pagination button { flex: 0 0 36px; width: 36px; height: 4px; padding: 0; border: 0; border-radius: 999px; background: #d5dce7; cursor: pointer; transition: background-color .2s ease; }
body[data-page="home"] .home-hmi-pagination button[hidden] { display: none; }
body[data-page="home"] .home-hmi-pagination button.is-active { flex-basis: 44px; width: 44px; background: #1261e8; }
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .home-hmi-page-track { transition: none; }
}
body[data-page="home"] .home-hmi-scroll-cue {
  width: 148px;
  min-height: 68px;
  position: absolute;
  right: auto;
  bottom: -8px;
  left: 50%;
  margin: 0;
  padding: 0;
  display: flex;
  align-self: center;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 0;
  outline: 0;
  color: #9aa8ba;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .06em;
  cursor: pointer;
  transform: translateX(-50%);
  transition: color .24s ease, transform .24s ease;
}
body[data-page="home"] .home-hmi-scroll-cue span {
  font-weight: 500;
  font-synthesis: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .82), 0 2px 8px rgba(48, 88, 134, .14);
  white-space: nowrap;
}
body[data-page="home"] .home-hmi-scroll-cue i {
  width: 24px;
  height: 18px;
  position: relative;
  display: block;
  margin-top: 6px;
  color: #f28a22;
  filter: drop-shadow(0 2px 2px rgba(142, 76, 12, .2));
  animation: homeSceneScrollCue 1.8s cubic-bezier(.45, 0, .2, 1) infinite;
}
body[data-page="home"] .home-hmi-scroll-cue i::before,
body[data-page="home"] .home-hmi-scroll-cue i::after {
  width: 10px;
  height: 10px;
  position: absolute;
  left: 50%;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}
body[data-page="home"] .home-hmi-scroll-cue i::before { top: -1px; opacity: .52; }
body[data-page="home"] .home-hmi-scroll-cue i::after { top: 7px; }
body[data-page="home"] .home-hmi-scroll-cue:hover,
body[data-page="home"] .home-hmi-scroll-cue:focus-visible { color: #7f90a8; transform: translate(-50%, -2px); }
body[data-page="home"] .home-hmi-scroll-cue:hover i,
body[data-page="home"] .home-hmi-scroll-cue:focus-visible i { color: #e66f00; }
body[data-page="home"] .home-hmi-scroll-cue:focus-visible { border-radius: 4px; box-shadow: 0 0 0 3px rgba(19, 111, 223, .2); }

@media (max-width: 1180px) {
  body[data-page="home"] .home-hmi-showcase-inner { padding-inline: 14px; }
  body[data-page="home"] .home-hmi-brands { width: min(860px, 92vw); }
  body[data-page="home"] .home-hmi-carousel { margin-inline: 32px; }
  body[data-page="home"] .home-hmi-slide { padding-inline: 0; }
}

@media (max-width: 860px) {
  body[data-page="home"] .home-hmi-showcase { height: max(620px, calc(100vh - 70px)); }
  body[data-page="home"] .home-hmi-showcase-inner { padding: 28px 14px 20px; }
  body[data-page="home"] .home-hmi-heading h2 { font-size: clamp(26px, 6vw, 34px); }
  body[data-page="home"] .home-hmi-heading p { font-size: 13px; }
  body[data-page="home"] .home-hmi-brands { min-height: auto; padding: 6px; display: flex; overflow-x: auto; border-radius: 18px; }
  body[data-page="home"] .home-hmi-brands button,
  body[data-page="home"] .home-hmi-brands a { min-width: 74px; }
  body[data-page="home"] .home-hmi-stage { min-height: 360px; transform: none; }
  body[data-page="home"] .home-hmi-carousel { margin-inline: 34px; }
  body[data-page="home"] .home-hmi-slide,
  body[data-page="home"] .home-hmi-slide.is-prev,
  body[data-page="home"] .home-hmi-slide.is-active,
  body[data-page="home"] .home-hmi-slide.is-next { width: 33.333%; top: 0; }
  body[data-page="home"] .home-hmi-slide.is-prev { left: 0; }
  body[data-page="home"] .home-hmi-slide.is-active { left: 33.333%; }
  body[data-page="home"] .home-hmi-slide.is-next { left: 66.666%; }
  body[data-page="home"] .home-hmi-slide figure,
  body[data-page="home"] .home-hmi-slide.is-prev figure,
  body[data-page="home"] .home-hmi-slide.is-active figure,
  body[data-page="home"] .home-hmi-slide.is-next figure { height: min(28vh, 250px); }
  body[data-page="home"] .home-hmi-slide img,
  body[data-page="home"] .home-hmi-slide.is-prev img,
  body[data-page="home"] .home-hmi-slide.is-active img,
  body[data-page="home"] .home-hmi-slide.is-next img { transform: scale(.98); }
  body[data-page="home"] .home-hmi-slide.is-far-prev,
  body[data-page="home"] .home-hmi-slide.is-far-next { opacity: 0; pointer-events: none; }
}

/* Full-viewport partner ecosystem chapter. The photo owns the physical wall;
   the HTML layer only maps replaceable logos onto its blank face. */
body[data-page="home"] .home-ecosystem-showcase {
  height: max(650px, calc(100vh - var(--shell-main-top, 16px) - var(--shell-topbar-height, 40px) - var(--shell-topbar-gap, 14px)));
  position: relative;
  margin: 0 calc(-1 * var(--shell-main-x));
  overflow: hidden;
  background: #f8fbff;
  isolation: isolate;
  scroll-margin-top: calc(var(--shell-main-top, 16px) + var(--shell-topbar-height, 40px) + var(--shell-topbar-gap, 14px));
  transition: height .72s cubic-bezier(.22, 1, .36, 1);
}

body[data-page="home"] .home-ecosystem-showcase::before,
body[data-page="home"] .home-ecosystem-showcase::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
}

body[data-page="home"] .home-ecosystem-showcase::before {
  background: url("../assets/home/home-partner-ecosystem-wall-v5.webp?v=20260823") center / 100% 100% no-repeat;
  opacity: .94;
}

body[data-page="home"] .home-ecosystem-showcase::after {
  background:
    linear-gradient(180deg, #f8fbff 0%, rgba(248, 251, 255, .86) 7%, rgba(248, 251, 255, .08) 19%, transparent 70%, #f8fbff 100%),
    linear-gradient(90deg, #f8fbff 0%, rgba(248, 251, 255, .66) 3%, transparent 8%, transparent 92%, rgba(248, 251, 255, .66) 97%, #f8fbff 100%);
}

body[data-page="home"] .home-ecosystem-showcase.is-ecosystem-collapsed { height: 0; }

body[data-page="home"] .home-ecosystem-inner {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 0;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity .34s ease, transform .64s cubic-bezier(.22, 1, .36, 1);
}

body[data-page="home"] .home-ecosystem-showcase.is-ecosystem-collapsed .home-ecosystem-inner {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -44px, 0);
}

body[data-page="home"] .home-ecosystem-heading { width: 100%; position: absolute; top: clamp(20px, 3.4vh, 38px); left: 0; text-align: center; }
body[data-page="home"] .home-ecosystem-heading h2 { margin: 0; color: #152c4d; font-size: clamp(30px, 2.2vw, 40px); font-weight: 700; line-height: 1.25; letter-spacing: .02em; }
body[data-page="home"] .home-ecosystem-heading h2 span { color: #1261e8; }
body[data-page="home"] .home-ecosystem-heading h2 b { margin: 0 14px; color: #263c5b; font-weight: 700; }
body[data-page="home"] .home-ecosystem-heading p { margin: 10px 0 0; color: #687c98; font-size: 15px; line-height: 1.6; letter-spacing: .06em; }

body[data-page="home"] .home-ecosystem-wall {
  width: 64.5%;
  height: 45%;
  position: absolute;
  top: 24.7%;
  left: 52.6%;
  padding: 0;
  transform: translateX(-50%);
}

body[data-page="home"] .home-ecosystem-logo-grid {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: clamp(5px, .48vw, 9px);
  list-style: none;
}

body[data-page="home"] .home-ecosystem-logo-grid li {
  min-width: 0;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(194, 205, 220, .48);
  border-radius: 0;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 1px 1px rgba(30, 45, 68, .06);
}

body[data-page="home"] .home-ecosystem-logo-grid img {
  width: min(91%, 170px);
  height: 44px;
  display: block;
  object-fit: contain;
}

body[data-page="home"] .home-ecosystem-brand {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

body[data-page="home"] .home-ecosystem-brand b {
  font-size: clamp(14px, 1.05vw, 20px);
  line-height: 1;
}

body[data-page="home"] .home-ecosystem-brand small {
  margin-top: 2px;
  font-size: clamp(8px, .52vw, 10px);
  line-height: 1;
}

body[data-page="home"] .home-ecosystem-proof {
  width: min(980px, 76vw);
  min-height: 70px;
  position: absolute;
  bottom: clamp(86px, 11vh, 112px);
  left: 50%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  transform: translateX(-50%);
}

body[data-page="home"] .home-ecosystem-proof > div { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 13px; color: #1261e8; }
body[data-page="home"] .home-ecosystem-proof > div + div { border-left: 1px solid rgba(155, 176, 204, .42); }
body[data-page="home"] .home-ecosystem-proof > div > i { width: 38px; flex: 0 0 38px; font-size: 31px; text-align: center; }
body[data-page="home"] .home-ecosystem-proof span { min-width: 0; display: flex; align-items: flex-start; flex-direction: column; }
body[data-page="home"] .home-ecosystem-proof strong { color: #17345a; font-size: 14px; font-weight: 720; white-space: nowrap; }
body[data-page="home"] .home-ecosystem-proof small { margin-top: 5px; color: #7b8da6; font-size: 11px; white-space: nowrap; }

body[data-page="home"] .home-ecosystem-scroll-cue {
  width: 148px;
  min-height: 68px;
  position: absolute;
  bottom: 10px;
  left: 50%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 0;
  outline: 0;
  color: #8797ad;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .06em;
  cursor: pointer;
  transform: translateX(-50%);
  transition: color .24s ease, transform .24s ease;
}

body[data-page="home"] .home-ecosystem-scroll-cue span { text-shadow: 0 1px 0 rgba(255, 255, 255, .86), 0 2px 7px rgba(48, 88, 134, .12); white-space: nowrap; }
body[data-page="home"] .home-ecosystem-scroll-cue i { width: 24px; height: 18px; position: relative; display: block; margin-top: 6px; color: #f28a22; filter: drop-shadow(0 2px 2px rgba(142, 76, 12, .18)); animation: homeSceneScrollCue 1.8s cubic-bezier(.45, 0, .2, 1) infinite; }
body[data-page="home"] .home-ecosystem-scroll-cue i::before,
body[data-page="home"] .home-ecosystem-scroll-cue i::after { width: 10px; height: 10px; position: absolute; left: 50%; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; content: ""; transform: translateX(-50%) rotate(45deg); }
body[data-page="home"] .home-ecosystem-scroll-cue i::before { top: -1px; opacity: .52; }
body[data-page="home"] .home-ecosystem-scroll-cue i::after { top: 7px; }
body[data-page="home"] .home-ecosystem-scroll-cue:hover,
body[data-page="home"] .home-ecosystem-scroll-cue:focus-visible { color: #667a96; transform: translate(-50%, -2px); }
body[data-page="home"] .home-ecosystem-scroll-cue:focus-visible { border-radius: 4px; box-shadow: 0 0 0 3px rgba(19, 111, 223, .2); }

@media (max-height: 760px) and (min-width: 861px) {
  body[data-page="home"] .home-ecosystem-heading { top: 18px; }
  body[data-page="home"] .home-ecosystem-wall { top: 27%; height: 36.5%; }
  body[data-page="home"] .home-ecosystem-proof { min-height: 58px; bottom: 72px; }
}

@media (max-width: 980px) {
  body[data-page="home"] .home-ecosystem-showcase { height: max(680px, calc(100vh - 70px)); }
  body[data-page="home"] .home-ecosystem-heading h2 { font-size: clamp(26px, 5vw, 34px); }
  body[data-page="home"] .home-ecosystem-heading p { font-size: 13px; }
  body[data-page="home"] .home-ecosystem-showcase::before { background-size: cover; }
  body[data-page="home"] .home-ecosystem-wall { width: 82%; height: 38%; top: 27%; }
  body[data-page="home"] .home-ecosystem-logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); }
  body[data-page="home"] .home-ecosystem-logo-grid li:nth-child(n + 17) { display: none; }
  body[data-page="home"] .home-ecosystem-proof { width: min(760px, 90vw); }
}

@media (max-width: 640px) {
  body[data-page="home"] .home-ecosystem-showcase { height: max(720px, calc(100vh - 62px)); }
  body[data-page="home"] .home-ecosystem-heading h2 b { margin-inline: 7px; }
  body[data-page="home"] .home-ecosystem-wall { width: 88%; height: 42%; top: 25%; }
  body[data-page="home"] .home-ecosystem-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  body[data-page="home"] .home-ecosystem-logo-grid li:nth-child(n + 16) { display: none; }
  body[data-page="home"] .home-ecosystem-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 0; }
  body[data-page="home"] .home-ecosystem-proof > div:nth-child(3) { border-left: 0; }
  body[data-page="home"] .home-ecosystem-proof > div > i { font-size: 25px; }
}

body[data-page="home"] .home-scene-screen {
  position: absolute;
  top: 24.2%;
  left: 49.95%;
  z-index: 6;
  width: 56.2%;
  height: 31.2%;
  overflow: hidden;
  border-radius: 6px;
  background: #101a27;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .96), 0 0 10px rgba(0, 0, 0, .42);
  opacity: 0;
  pointer-events: auto;
  transform: translateX(-50%);
  transition: opacity .78s cubic-bezier(.22, 1, .36, 1), filter 1.4s ease;
}

body[data-page="home"] .home-scene-media.is-scene-ready .home-scene-screen {
  opacity: 1;
}

body[data-page="home"] .home-scene-motto {
  position: absolute;
  top: 70.65%;
  left: 49.25%;
  z-index: 5;
  width: 24%;
  color: #0862c6;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: clamp(13px, 1.26vw, 23px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .1em;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .86), 0 1px 3px rgba(33, 102, 176, .24);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity .78s cubic-bezier(.22, 1, .36, 1);
}

body[data-page="home"] .home-scene-media.is-scene-ready .home-scene-motto {
  opacity: 1;
}

body[data-page="home"] .home-scene-scroll-cue {
  position: absolute;
  bottom: 10px;
  left: 50%;
  z-index: 12;
  display: flex;
  width: 148px;
  min-height: 68px;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: .06em;
  cursor: pointer;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  transform: translateX(-50%);
  opacity: 1;
  transition: color .24s ease, opacity .24s ease, transform .42s cubic-bezier(.22, 1, .36, 1);
}

body[data-page="home"] .home-scene-hero.is-scene-collapsed .home-scene-scroll-cue {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-18px);
}

body[data-page="home"] .home-scene-scroll-cue span {
  font-weight: 500 !important;
  font-synthesis: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .38), 0 2px 4px rgba(0, 0, 0, .12);
  white-space: nowrap;
}

body[data-page="home"] .home-scene-scroll-cue i {
  position: relative;
  display: block;
  width: 24px;
  height: 18px;
  margin-top: 6px;
  color: #f28a22;
  filter: drop-shadow(0 2px 2px rgba(142, 76, 12, .2));
  animation: homeSceneScrollCue 1.8s cubic-bezier(.45, 0, .2, 1) infinite;
}

body[data-page="home"] .home-scene-scroll-cue i::before,
body[data-page="home"] .home-scene-scroll-cue i::after {
  position: absolute;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

body[data-page="home"] .home-scene-scroll-cue i::before {
  top: -1px;
  opacity: .52;
}

body[data-page="home"] .home-scene-scroll-cue i::after {
  top: 7px;
}

body[data-page="home"] .home-scene-scroll-cue:hover,
body[data-page="home"] .home-scene-scroll-cue:focus-visible {
  color: #fff;
  transform: translateX(-50%) translateY(-2px);
}

body[data-page="home"] .home-scene-scroll-cue:hover i,
body[data-page="home"] .home-scene-scroll-cue:focus-visible i {
  color: #e66f00;
}

body[data-page="home"] .home-scene-scroll-cue:focus-visible {
  border-radius: 4px;
  box-shadow: 0 0 0 3px rgba(19, 111, 223, .2);
}

body[data-page="home"] #home-content-start {
  scroll-margin-top: calc(var(--shell-topbar-height, 56px) + var(--shell-topbar-gap, 12px) + 12px);
}

@keyframes homeSceneScrollCue {
  0%, 100% {
    opacity: .58;
    transform: translateY(-1px);
  }

  48% {
    opacity: 1;
    transform: translateY(3px);
  }
}

body[data-page="home"] .home-scene-media[data-scene-time="dusk"] .home-scene-screen {
  filter: brightness(1.03) saturate(1.04);
}

body[data-page="home"] .home-scene-media[data-scene-time="night"] .home-scene-screen {
  filter: brightness(1.08) saturate(1.08) contrast(1.02);
}

body[data-page="home"] .home-scene-screen::before,
body[data-page="home"] .home-scene-screen::after {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  content: "";
  background-image: var(--home-signal-image, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-mask-image: repeating-linear-gradient(to bottom, #000 0 8%, transparent 8% 13%, #000 13% 21%, transparent 21% 29%);
  mask-image: repeating-linear-gradient(to bottom, #000 0 8%, transparent 8% 13%, #000 13% 21%, transparent 21% 29%);
  -webkit-mask-size: 100% 145%;
  mask-size: 100% 145%;
}

body[data-page="home"] .home-scene-screen::after {
  z-index: 6;
  mix-blend-mode: screen;
  filter: saturate(1.75) contrast(1.18) hue-rotate(165deg);
}

body[data-page="home"] .home-scene-screen.is-signal-switching::before {
  animation: homeScreenHorizontalTear .72s steps(2, end) both;
}

body[data-page="home"] .home-scene-screen.is-signal-switching::after {
  animation: homeScreenRgbSplit .72s steps(2, end) both;
}

body[data-page="home"] .home-scene-screen.is-signal-switching .home-scene-banner-item.is-active img {
  animation: homeScreenSignalJitter .72s steps(2, end) both;
}

@keyframes homeScreenHorizontalTear {
  0%, 100% { opacity: 0; transform: none; -webkit-mask-position: 0 0; mask-position: 0 0; }
  12% { opacity: .72; transform: translate3d(-9px, 0, 0); -webkit-mask-position: 0 8%; mask-position: 0 8%; }
  27% { opacity: .48; transform: translate3d(13px, 0, 0); -webkit-mask-position: 0 -12%; mask-position: 0 -12%; }
  42% { opacity: .88; transform: translate3d(-17px, 0, 0); -webkit-mask-position: 0 19%; mask-position: 0 19%; }
  58% { opacity: .56; transform: translate3d(10px, 0, 0); -webkit-mask-position: 0 -20%; mask-position: 0 -20%; }
  76% { opacity: .28; transform: translate3d(-5px, 0, 0); -webkit-mask-position: 0 11%; mask-position: 0 11%; }
}

@keyframes homeScreenRgbSplit {
  0%, 100% { opacity: 0; transform: none; }
  16% { opacity: .24; transform: translate3d(5px, 0, 0); }
  34% { opacity: .42; transform: translate3d(-7px, 0, 0); }
  49% { opacity: .55; transform: translate3d(9px, 0, 0); }
  68% { opacity: .25; transform: translate3d(-4px, 0, 0); }
}

@keyframes homeScreenSignalJitter {
  0%, 100% { filter: none; transform: none; }
  16% { filter: contrast(1.18) saturate(.82); transform: translate3d(-2px, 0, 0); }
  34% { filter: contrast(.9) brightness(1.1); transform: translate3d(3px, -1px, 0); }
  52% { filter: contrast(1.26) saturate(.72); transform: translate3d(-4px, 0, 0); }
  72% { filter: contrast(1.06) brightness(.96); transform: translate3d(2px, 0, 0); }
}

body[data-page="home"] .home-scene-banner-item {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity .72s ease, visibility .72s ease;
}

body[data-page="home"] .home-scene-banner-item.is-active {
  opacity: 1;
  visibility: visible;
}

body[data-page="home"] .home-scene-banner-item.is-leaving {
  opacity: 1;
  visibility: visible;
}

body[data-page="home"] a.home-scene-banner-item::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .12), transparent 32%),
    linear-gradient(to top, rgba(5, 16, 31, .34), transparent 38%);
  opacity: 0;
  pointer-events: none;
  content: "";
  transition: opacity .5s ease;
}

body[data-page="home"] .home-scene-banner-cta {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .04em;
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .72);
  transform: translate3d(0, 10px, 0);
  transition: opacity .38s ease, transform .48s cubic-bezier(.22, 1, .36, 1);
}

body[data-page="home"] .home-scene-banner-cta i {
  font-size: 16px;
  font-style: normal;
  line-height: 1;
  transition: transform .32s ease;
}

@media (hover: hover) and (pointer: fine) {
  body[data-page="home"] .home-scene-screen:hover a.home-scene-banner-item.is-active::before,
  body[data-page="home"] a.home-scene-banner-item:focus-visible::before {
    opacity: 1;
  }

  body[data-page="home"] .home-scene-screen:hover a.home-scene-banner-item.is-active .home-scene-banner-cta,
  body[data-page="home"] a.home-scene-banner-item:focus-visible .home-scene-banner-cta {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  body[data-page="home"] a.home-scene-banner-item:hover .home-scene-banner-cta i {
    transform: translateX(3px);
  }
}

body[data-page="home"] .home-scene-screen-glare {
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -28%;
  z-index: 2;
  display: block;
  width: 24%;
  background: linear-gradient(
    102deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(214, 237, 255, .04) 26%,
    rgba(255, 255, 255, .18) 48%,
    rgba(214, 237, 255, .05) 69%,
    rgba(255, 255, 255, 0) 100%
  );
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: skewX(-16deg) translate3d(-140%, 0, 0);
  animation: homeScreenGlassSweep 12s cubic-bezier(.3, .05, .25, 1) infinite;
  will-change: transform, opacity;
}

body[data-page="home"] .home-scene-screen-hover-glass {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .1), transparent 30%),
    radial-gradient(circle at 50% 112%, rgba(102, 174, 255, .12), transparent 46%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .48s ease;
}

@media (hover: hover) and (pointer: fine) {
  body[data-page="home"] .home-scene-screen:hover .home-scene-screen-hover-glass {
    opacity: 1;
  }
}

@keyframes homeScreenGlassSweep {
  0%, 70% {
    opacity: 0;
    transform: skewX(-16deg) translate3d(-140%, 0, 0);
  }

  73% {
    opacity: .65;
  }

  86% {
    opacity: .75;
    transform: skewX(-16deg) translate3d(690%, 0, 0);
  }

  89%, 100% {
    opacity: 0;
    transform: skewX(-16deg) translate3d(690%, 0, 0);
  }
}

body[data-page="home"] .home-scene-banner-nav {
  position: absolute;
  bottom: 6px;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  transform: translateX(-50%);
}

body[data-page="home"] .home-scene-banner-nav:empty {
  display: none;
}

body[data-page="home"] .home-scene-banner-nav button {
  width: 20px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  cursor: pointer;
  transition: width .28s ease, background-color .28s ease;
}

body[data-page="home"] .home-scene-banner-nav button.is-active {
  width: 38px;
  background: #fff;
}

body[data-page="home"] .home-scene-banner-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

body[data-page="home"] .home-scene-stats {
  position: absolute;
  right: 50%;
  bottom: 12px;
  z-index: 4;
  width: min(950px, calc(100% - 112px));
  min-height: 78px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  padding: 12px 18px;
  border: 1px solid rgba(215, 226, 242, .86);
  border-radius: 10px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 30px rgba(42, 78, 128, .1);
  transform: translateX(50%);
  backdrop-filter: blur(10px);
}

body[data-page="home"] .home-scene-stats article {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  padding: 2px 24px;
}

body[data-page="home"] .home-scene-stats article + article::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 42px;
  background: #e4ebf5;
  content: "";
  transform: translateY(-50%);
}

body[data-page="home"] .home-scene-stats article > span {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf3ff;
}

body[data-page="home"] .home-scene-stats article:nth-child(2) > span {
  background: #fff4dc;
}

body[data-page="home"] .home-scene-stats article:nth-child(3) > span {
  background: #e2f8f3;
}

body[data-page="home"] .home-scene-stats article:nth-child(4) > span {
  background: #edf2ff;
}

body[data-page="home"] .home-scene-stats img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  opacity: .78;
}

body[data-page="home"] .home-scene-stats article:nth-child(2) img {
  filter: sepia(1) saturate(1.3) hue-rotate(345deg);
}

body[data-page="home"] .home-scene-stats article:nth-child(3) img {
  filter: hue-rotate(115deg) saturate(.8);
}

body[data-page="home"] .home-scene-stats p {
  min-width: 0;
  margin: 0;
}

body[data-page="home"] .home-scene-stats strong,
body[data-page="home"] .home-scene-stats small {
  display: block;
  white-space: nowrap;
}

body[data-page="home"] .home-ecosystem-showcase + .home-board {
  margin-top: 96px;
}

body[data-page="home"] .home-scene-stats strong {
  color: #1261e8;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: .01em;
}

body[data-page="home"] .home-scene-stats small {
  margin-top: 5px;
  color: #62738c;
  font-size: 11px;
  line-height: 1.2;
}

@keyframes homeSceneReveal {
  from {
    opacity: 0;
    transform: scale(1.018);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1280px) {
  body[data-page="home"] .home-scene-media {
    width: calc(100% - 24px);
  }

  body[data-page="home"] .home-scene-stats {
    width: calc(100% - 72px);
  }

  body[data-page="home"] .home-scene-stats article {
    gap: 10px;
    padding-inline: 14px;
  }
}

@media (max-width: 900px) {
  body[data-page="home"] .home-scene-hero {
    height: auto;
    margin-inline: calc(-1 * var(--shell-main-x));
  }

  body[data-page="home"] .home-scene-media {
    width: calc(100% - 16px);
  }

  body[data-page="home"] .home-scene-copy {
    padding: 84px 24px 0;
  }

  body[data-page="home"] .home-scene-copy h1 {
    font-size: 28px;
  }

  body[data-page="home"] .home-scene-stats {
    bottom: 12px;
    width: calc(100% - 36px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 10px;
  }

  body[data-page="home"] .home-scene-stats article:nth-child(3)::before {
    display: none;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .home-scene-hero {
    height: auto;
  }

  body[data-page="home"] .home-scene-copy h1 {
    font-size: 23px;
    letter-spacing: 0;
  }

  body[data-page="home"] .home-scene-copy h1 b {
    margin-inline: 4px;
  }

  body[data-page="home"] .home-scene-copy p {
    margin-top: 10px;
    font-size: 13px;
  }

  body[data-page="home"] .home-scene-stats {
    padding: 10px 6px;
  }

  body[data-page="home"] .home-scene-stats article {
    padding-inline: 8px;
  }

  body[data-page="home"] .home-scene-stats article > span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .home-scene-hero,
  body[data-page="home"] .home-scene-media,
  body[data-page="home"] .home-scene-copy,
  body[data-page="home"] .home-scene-scroll-cue {
    transition: none;
  }

  body[data-page="home"] .home-scene-copy h1,
  body[data-page="home"] .home-scene-copy h1 span,
  body[data-page="home"] .home-scene-copy p {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  body[data-page="home"] .home-scene-subtitle > span {
    animation: none !important;
  }

  body[data-page="home"] .home-scene-scroll-cue i {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .home-scene-art {
    animation: none;
  }
}

body[data-page="home"] .main {
  overflow-x: clip;
}

body[data-page="home"] .home-portal-hero {
  --home-hero-active: min(69vw, 1060px);
  --home-hero-active-half: min(34.5vw, 530px);
  --home-hero-side: clamp(96px, calc(50% - var(--home-hero-active-half) - var(--home-hero-gap)), 234px);
  --home-hero-gap: clamp(8px, 0.65vw, 12px);
  --home-hero-edge-fix: 2px;
  height: clamp(330px, 22vw, 424px) !important;
  min-height: 330px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  perspective: none !important;
}

body[data-page="home"] .home-portal-hero .hero-track {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body[data-page="home"] .home-portal-hero .hero-slide {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  min-height: 0 !important;
  opacity: 0 !important;
  filter: none !important;
  pointer-events: none !important;
  transform-style: preserve-3d !important;
  will-change: left, right, width, opacity, transform;
  transition:
    left 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    right 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.34s ease !important;
}

body[data-page="home"] .home-portal-hero .hero-slide.active {
  z-index: 4 !important;
  width: var(--home-hero-active) !important;
  height: 100% !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translate(-50%, -50%) !important;
}

body[data-page="home"] .home-portal-hero .hero-slide.prev,
body[data-page="home"] .home-portal-hero .hero-slide.next {
  z-index: 2 !important;
  width: var(--home-hero-side) !important;
  height: 100% !important;
  opacity: 1 !important;
  overflow: visible !important;
  border-radius: 10px !important;
  transform-style: preserve-3d !important;
}

body[data-page="home"] .home-portal-hero .hero-slide.prev {
  left: var(--home-hero-edge-fix) !important;
  right: auto !important;
  transform: translate(0, -50%) !important;
  transform-origin: center center !important;
}

body[data-page="home"] .home-portal-hero .hero-slide.next {
  left: auto !important;
  right: var(--home-hero-edge-fix) !important;
  transform: translate(0, -50%) !important;
  transform-origin: center center !important;
}

body[data-page="home"] .home-portal-hero .hero-card,
body[data-page="home"] .home-portal-hero .hero-slide.active .hero-card,
body[data-page="home"] .home-portal-hero .hero-slide.prev .hero-card,
body[data-page="home"] .home-portal-hero .hero-slide.next .hero-card {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  clip-path: none !important;
  will-change: transform, opacity;
  transition:
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.34s ease,
    filter 0.34s ease !important;
}

body[data-page="home"] .home-portal-hero .hero-slide.active .hero-card {
  border-radius: 10px !important;
  transform: none !important;
}

body[data-page="home"] .home-portal-hero .hero-slide.prev .hero-card,
body[data-page="home"] .home-portal-hero .hero-slide.next .hero-card {
  border-radius: 10px !important;
  background: #0d315b !important;
  backface-visibility: hidden !important;
  clip-path: inset(0.5px round 10px) !important;
  outline: 1px solid rgba(255, 255, 255, 0.01) !important;
  transform-style: flat !important;
}

body[data-page="home"] .home-portal-hero .hero-slide.prev .hero-card {
  transform: perspective(1100px) rotateY(40deg) scaleX(1.08) scaleY(.865) translate3d(0, 0, 0.01px) !important;
  transform-origin: right center !important;
}

body[data-page="home"] .home-portal-hero .hero-slide.next .hero-card {
  transform: perspective(1100px) rotateY(-40deg) scaleX(1.08) scaleY(.865) translate3d(0, 0, 0.01px) !important;
  transform-origin: left center !important;
}

body[data-page="home"] .home-portal-hero .hero-card::after {
  display: none !important;
}

body[data-page="home"] .home-portal-hero .hero-visual,
body[data-page="home"] .home-portal-hero .hero-slide.active .hero-visual,
body[data-page="home"] .home-portal-hero .hero-slide.prev .hero-visual,
body[data-page="home"] .home-portal-hero .hero-slide.next .hero-visual {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: inherit !important;
  clip-path: inset(0 round 10px) !important;
}

body[data-page="home"] .home-portal-hero .hero-visual img,
body[data-page="home"] .home-portal-hero .hero-slide.active .hero-visual img,
body[data-page="home"] .home-portal-hero .hero-slide.prev .hero-visual img,
body[data-page="home"] .home-portal-hero .hero-slide.next .hero-visual img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: inherit !important;
  filter: none !important;
  will-change: transform;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body[data-page="home"] .home-portal-hero .hero-slide.active .hero-visual img {
  transform: scale(1.012) !important;
}

body[data-page="home"] .home-portal-hero .hero-slide.prev .hero-visual img,
body[data-page="home"] .home-portal-hero .hero-slide.next .hero-visual img {
  top: 0 !important;
  height: 100% !important;
  width: 124% !important;
  left: -12% !important;
  transform: scale(1.03) !important;
}

body[data-page="home"] .home-portal-hero .hero-slide.prev .hero-visual img {
  transform-origin: right center !important;
}

body[data-page="home"] .home-portal-hero .hero-slide.next .hero-visual img {
  transform-origin: left center !important;
}

body[data-page="home"] .home-portal-hero .hero-slide:not(.active):not(.prev):not(.next) {
  opacity: 0 !important;
  pointer-events: none !important;
}

body[data-page="home"] .home-portal-hero .hero-arrow {
  top: 50% !important;
  width: 38px !important;
  height: 38px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(220, 229, 242, 0.92) !important;
  box-shadow: 0 8px 22px rgba(35, 65, 110, 0.1) !important;
}

body[data-page="home"] .home-portal-hero .hero-prev {
  left: calc(var(--home-hero-edge-fix) + 18px) !important;
}

body[data-page="home"] .home-portal-hero .hero-next {
  right: calc(var(--home-hero-edge-fix) + 18px) !important;
  left: auto !important;
}

body[data-page="home"] .home-portal-hero .dots {
  display: flex !important;
  bottom: 18px !important;
}

body[data-page="home"] .home-service-bar {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: var(--home-section-gap) 0 0;
  padding: 22px 22px;
  border: 1px solid rgba(229, 236, 247, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(30, 69, 120, 0.032);
  animation: homeServiceBarIn 0.52s ease both;
}

body[data-page="home"] .home-service-bar article {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  min-height: 48px;
  padding: 0 22px 0 16px;
  border-radius: 8px;
  isolation: isolate;
  opacity: 1;
  transform: translateY(0);
  animation: homeServiceItemIn 0.46s ease backwards;
  transition: transform 0.18s ease, background 0.18s ease;
}

body[data-page="home"] .home-service-bar article:nth-child(1) { animation-delay: 0.02s; }
body[data-page="home"] .home-service-bar article:nth-child(2) { animation-delay: 0.08s; }
body[data-page="home"] .home-service-bar article:nth-child(3) { animation-delay: 0.14s; }
body[data-page="home"] .home-service-bar article:nth-child(4) { animation-delay: 0.2s; }
body[data-page="home"] .home-service-bar article:nth-child(5) { animation-delay: 0.26s; }
body[data-page="home"] .home-service-bar article:nth-child(6) { animation-delay: 0.32s; }

body[data-page="home"] .home-service-bar article:hover,
body[data-page="home"] .home-service-bar article:focus-within {
  transform: translateY(-2px);
}

body[data-page="home"] .home-service-bar article + article {
  border-left: 0;
}

body[data-page="home"] .home-service-bar article + article::before {
  content: "";
  width: 1px;
  height: 40px;
  position: absolute;
  top: 50%;
  left: -10px;
  background: rgba(224, 232, 245, 0.48);
  transform: translateY(-50%);
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

body[data-page="home"] .home-service-bar article:hover::before,
body[data-page="home"] .home-service-bar article:focus-within::before {
  background: rgba(93, 165, 255, 0.34);
  box-shadow: 0 0 12px rgba(72, 153, 255, 0.22);
}

body[data-page="home"] .home-service-bar strong {
  display: block;
  margin: 0;
  color: #333333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

body[data-page="home"] .home-service-bar p {
  margin: 7px 0 0;
  color: #9aa8bd;
  font-size: 12px;
  line-height: 1.35;
}

body[data-page="home"] .home-service-bar img.service-ico {
  display: block !important;
  grid-row: 1 / 3;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  object-fit: contain !important;
  filter: none !important;
  transform-origin: center bottom;
  transition: transform 0.22s ease, filter 0.22s ease;
}

body[data-page="home"] .home-service-bar article:hover img.service-ico,
body[data-page="home"] .home-service-bar article:focus-within img.service-ico {
  filter: drop-shadow(0 8px 10px rgba(38, 132, 255, 0.2)) !important;
  transform: translateY(-4px) scale(1.06);
}

@keyframes homeServiceBarIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeServiceItemIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body[data-page="home"] .section-block {
  margin-top: 28px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .resource-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}

body[data-page="home"] .resource-heading h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #1f2633;
  font-size: 16px;
  font-weight: 580;
  line-height: 1.25;
  white-space: nowrap;
}

body[data-page="home"] .resource-heading h2::before {
  content: "";
  width: 4px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(180deg, #42b3ff 0%, #1265ff 100%);
  box-shadow: 0 3px 8px rgba(18, 101, 255, 0.16);
}

body[data-page="home"] .resource-heading p {
  margin: 1px 0 0;
  overflow: hidden;
  color: #8f9bb0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .resource-heading > a {
  justify-self: end;
  color: #8d98aa;
  font-size: 12px;
  font-weight: 400;
}

body[data-page="home"] .resource-heading > a::after {
  content: ">";
  margin-left: 7px;
  color: #9aa6b8;
  font-weight: 700;
}

body[data-page="home"] .resource-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px 18px;
}

body[data-page="home"] .resource-grid .resource-card:nth-child(n + 11) {
  display: none;
}

body[data-page="home"] .resource-card .thumb {
  position: relative;
  z-index: 2;
  aspect-ratio: 16 / 9;
  margin: 10px 10px 0;
  overflow: hidden;
  border: 1px solid rgba(228, 235, 246, 0.72);
  border-radius: 6px;
  background: #eef5ff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 10px rgba(25, 55, 96, 0.06);
}

body[data-page="home"] .resource-card .thumb::before {
  content: "查看详情";
  z-index: 3;
  height: 30px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(19, 35, 61, 0.62);
  box-shadow: 0 8px 18px rgba(13, 25, 44, 0.18);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 600;
}

body[data-page="home"] .resource-card .thumb::after {
  background: rgba(10, 23, 45, 0.18);
}

body[data-page="home"] .resource-card .thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  transform: none;
  transition: transform 0.28s ease, filter 0.28s ease;
}

body[data-page="home"] .resource-card {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  border: 1px solid rgba(229, 236, 247, 0.42);
  border-radius: 10px;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 5px 12px rgba(28, 61, 106, 0.055),
    0 10px 20px rgba(28, 61, 106, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body[data-page="home"] .resource-card::before {
  display: none;
}

body[data-page="home"] .resource-card::after {
  display: none;
}

body[data-page="home"] .resource-card:hover,
body[data-page="home"] .resource-card:focus-visible {
  border-color: rgba(229, 236, 247, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 8px 16px rgba(28, 61, 106, 0.08),
    0 14px 26px rgba(28, 61, 106, 0.055);
  transform: translateY(-4px);
}

body[data-page="home"] .resource-card:hover .thumb img,
body[data-page="home"] .resource-card:focus-visible .thumb img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

body[data-page="home"] .resource-card h3 {
  position: relative;
  z-index: 2;
  margin: 14px 14px 8px;
  overflow: hidden;
  color: #1e2938;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .resource-card .resolution {
  display: none;
}

body[data-page="home"] .resource-card-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 14px 12px;
}

body[data-page="home"] .resource-card-actions span,
body[data-page="home"] .resource-card-actions b {
  width: fit-content;
  max-width: 100%;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 0;
  border-radius: 5px;
  color: #8793a5;
  background: #f4f6f9;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

body[data-page="home"] .resource-card-actions span i {
  display: none;
}

body[data-page="home"] .resource-card-actions b {
  font-style: normal;
}

body[data-page="home"] .resource-card-actions b::before {
  content: "深色";
}

body[data-page="home"] .resource-card .resource-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 14px 16px;
  color: #7d899a;
  font-size: 12px;
}

body[data-page="home"] .resource-card .author .avatar-dot {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

body[data-page="home"] .resource-card .author {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #6f7b8d;
  font-weight: 500;
}

body[data-page="home"] .resource-card .author > span:last-child {
  font-size: 0;
}

body[data-page="home"] .resource-card .author > span:last-child::after {
  content: "623";
  font-size: 12px;
}

body[data-page="home"] .resource-card .resource-stats,
body[data-page="home"] .resource-card .resource-stats span {
  display: inline-flex;
  align-items: center;
}

body[data-page="home"] .resource-card .resource-stats {
  flex: 0 0 auto;
  gap: 10px;
  color: #7d899a;
}

body[data-page="home"] .resource-card .resource-stats span {
  gap: 4px;
}

body[data-page="home"] .resource-card .resource-stats i,
body[data-page="home"] .resource-card .resource-stats em {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(0) saturate(100%) invert(55%) sepia(13%) saturate(469%) hue-rotate(177deg) brightness(92%) contrast(88%);
}

body[data-page="home"] .resource-card .resource-stats i {
  background-image: url("../assets/icons/line-icons/eye-outline.png");
}

body[data-page="home"] .resource-card .resource-stats em {
  background-image: url("../assets/icons/line-icons/message-circle-outline.png");
}

body[data-page="home"] .resource-grid {
  gap: 18px 18px;
}

body[data-page="home"] .resource-card {
  border: 1px solid rgba(229, 236, 247, 0.42);
  border-radius: 9px;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 5px 12px rgba(28, 61, 106, 0.05),
    0 10px 18px rgba(28, 61, 106, 0.035);
}

body[data-page="home"] .resource-card:hover,
body[data-page="home"] .resource-card:focus-visible {
  border-color: rgba(229, 236, 247, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 7px 14px rgba(28, 61, 106, 0.075),
    0 12px 22px rgba(28, 61, 106, 0.045);
  transform: translateY(-3px);
}

body[data-page="home"] .resource-card .thumb {
  margin: 8px 8px 0;
  border: 0;
  border-radius: 7px;
  background: #f1f6ff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 3px 8px rgba(25, 55, 96, 0.06);
}

body[data-page="home"] .resource-card .thumb::before {
  content: "查看详情";
}

body[data-page="home"] .resource-card .thumb img {
  border-radius: 7px;
}

body[data-page="home"] .resource-card h3 {
  margin: 13px 12px 5px;
  color: #142238;
  font-size: 14px;
  font-weight: 600;
}

body[data-page="home"] .resource-card .resolution {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 12px 11px;
  overflow: hidden;
  color: #9aa8bb;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .resource-card-actions {
  display: none;
}

body[data-page="home"] .resource-card .resource-meta {
  gap: 10px;
  margin: 0 12px 12px;
  color: #8a97aa;
}

body[data-page="home"] .resource-card .author {
  gap: 6px;
  color: #7c899b;
}

body[data-page="home"] .resource-card .author .avatar-dot {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}

body[data-page="home"] .resource-card .author > span:last-child {
  display: block;
  overflow: hidden;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .resource-card .author > span:last-child::after {
  content: "";
}

body[data-page="home"] .resource-card .resource-stats {
  gap: 9px;
  color: #8a97aa;
}

body[data-page="home"] .resource-card .resource-stats em {
  background-image: url("../assets/icons/line-icons/heart-outline.png");
}

body[data-page="home"] .home-resource-recommend,
body[data-page="home"] .home-community-recommend,
body[data-page="home"] .home-bottom-panels {
  margin-top: 34px;
}

body[data-page="home"] .home-resource-recommend .resource-heading,
body[data-page="home"] .home-community-recommend .resource-heading,
body[data-page="home"] .home-article-panel .resource-heading {
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 22px;
  margin-bottom: 18px;
}

body[data-page="home"] .home-resource-recommend .resource-heading h2,
body[data-page="home"] .home-community-recommend .resource-heading h2,
body[data-page="home"] .home-simple-head h2,
body[data-page="home"] .home-article-panel .resource-heading h2 {
  color: #1d2736;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

body[data-page="home"] .home-resource-recommend .resource-heading h2::before,
body[data-page="home"] .home-community-recommend .resource-heading h2::before,
body[data-page="home"] .home-article-panel .resource-heading h2::before {
  display: none;
}

body[data-page="home"] .home-tabs {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 30px;
  height: 24px;
}

body[data-page="home"] .home-tabs a {
  position: relative;
  padding: 0 0 7px;
  color: #aeb7c5;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}

body[data-page="home"] .home-tabs a.active {
  color: #3786ff;
  font-weight: 500;
}

body[data-page="home"] .home-tabs a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: #4c97ff;
  box-shadow: none;
}

body[data-page="home"] .home-resource-recommend .resource-heading > a,
body[data-page="home"] .home-community-recommend .resource-heading > a {
  align-self: center;
  color: #8f9bad;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

body[data-page="home"] .home-resource-recommend .resource-grid,
body[data-page="home"] .home-community-recommend .resource-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="home"] .home-resource-recommend .resource-grid .resource-card:nth-child(n + 7),
body[data-page="home"] .home-community-recommend .resource-grid .resource-card:nth-child(n + 7) {
  display: none;
}

body[data-page="home"] .home-resource-recommend .resource-card,
body[data-page="home"] .home-community-recommend .resource-card {
  border-color: rgba(229, 236, 247, 0.42);
  border-radius: 8px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 6px 16px rgba(28, 61, 106, 0.045);
}

body[data-page="home"] .home-resource-recommend .resource-card:hover,
body[data-page="home"] .home-resource-recommend .resource-card:focus-visible,
body[data-page="home"] .home-community-recommend .resource-card:hover,
body[data-page="home"] .home-community-recommend .resource-card:focus-visible {
  border-color: rgba(229, 236, 247, 0.42);
}

body[data-page="home"] .home-resource-recommend .resource-card .thumb,
body[data-page="home"] .home-community-recommend .resource-card .thumb {
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 8px 8px 0 0;
}

body[data-page="home"] .home-resource-recommend .resource-card .thumb::before,
body[data-page="home"] .home-community-recommend .resource-card .thumb::before,
body[data-page="home"] .home-resource-recommend .resource-card .thumb::after,
body[data-page="home"] .home-community-recommend .resource-card .thumb::after {
  display: none;
}

body[data-page="home"] .home-resource-recommend .resource-card .thumb img,
body[data-page="home"] .home-community-recommend .resource-card .thumb img {
  border-radius: 8px 8px 0 0;
}

body[data-page="home"] .home-resource-recommend .resource-card h3,
body[data-page="home"] .home-community-recommend .resource-card h3 {
  margin: 13px 12px 6px;
  font-size: 14px;
  font-weight: 580;
}

body[data-page="home"] .home-resource-recommend .resource-card .resolution,
body[data-page="home"] .home-community-recommend .resource-card .resolution {
  margin-bottom: 10px;
}

body[data-page="home"] .home-resource-recommend .resource-card .resource-meta,
body[data-page="home"] .home-community-recommend .resource-card .resource-meta {
  gap: 8px;
  min-height: 18px;
}

body[data-page="home"] .home-resource-recommend .resource-card .author,
body[data-page="home"] .home-community-recommend .resource-card .author {
  flex: 1 1 auto;
  min-width: 0;
  gap: 5px;
}

body[data-page="home"] .home-resource-recommend .resource-card .author > span:not(.avatar-dot):not(.vip-badge),
body[data-page="home"] .home-community-recommend .resource-card .author > span:not(.avatar-dot):not(.vip-badge) {
  max-width: 64px;
  overflow: hidden;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-resource-recommend .resource-card .resource-stats,
body[data-page="home"] .home-community-recommend .resource-card .resource-stats {
  gap: 6px;
  font-size: 12px;
}

body[data-page="home"] .vip-badge {
  height: 16px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  border-radius: 4px;
  color: #a86b00;
  background: #ffe49c;
  font-size: 10px;
  font-weight: 700;
}

body[data-page="home"] .home-resource-recommend .resource-card .author .vip-badge,
body[data-page="home"] .home-community-recommend .resource-card .author .vip-badge {
  width: auto;
  height: 16px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  color: #a86b00;
  background: #ffe49c;
  font-size: 10px;
  line-height: 1;
}

body[data-page="home"] .home-panel-action::after,
body[data-page="home"] .home-simple-head > a::after {
  content: " >";
}

body[data-page="home"] .home-simple-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

body[data-page="home"] .home-simple-head h2 {
  margin: 0;
}

body[data-page="home"] .home-simple-head > a {
  color: #8c98ab;
  font-size: 13px;
  font-weight: 500;
}

body[data-page="home"] .home-bottom-panels {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

body[data-page="home"] .home-article-panel,
body[data-page="home"] .home-activity-panel {
  min-width: 0;
}

body[data-page="home"] .home-article-list,
body[data-page="home"] .home-activity-list {
  overflow: hidden;
  border: 1px solid rgba(229, 236, 247, 0.42);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(28, 61, 106, 0.04);
}

body[data-page="home"] .home-article-list a,
body[data-page="home"] .home-activity-list a {
  min-width: 0;
  display: grid;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(226, 234, 246, 0.72);
}

body[data-page="home"] .home-article-list a {
  grid-template-columns: 112px minmax(0, 1fr) auto;
}

body[data-page="home"] .home-activity-list a {
  grid-template-columns: 112px minmax(0, 1fr) auto auto;
}

body[data-page="home"] .home-article-list a:last-child,
body[data-page="home"] .home-activity-list a:last-child {
  border-bottom: 0;
}

body[data-page="home"] .home-article-list img,
body[data-page="home"] .home-activity-list img {
  width: 100%;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
}

body[data-page="home"] .home-article-list span,
body[data-page="home"] .home-activity-list span {
  min-width: 0;
}

body[data-page="home"] .home-article-list strong,
body[data-page="home"] .home-activity-list strong {
  display: block;
  overflow: hidden;
  color: #263347;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-article-list small,
body[data-page="home"] .home-activity-list small {
  display: block;
  margin-top: 10px;
  overflow: hidden;
  color: #96a3b7;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-article-list em {
  color: #96a3b7;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

body[data-page="home"] .home-panel-action {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  border-radius: 8px;
  color: #438cff;
  background: #f4f8ff;
  font-size: 14px;
  font-weight: 600;
}

body[data-page="home"] .home-activity-list time {
  color: #333e51;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
  white-space: nowrap;
}

body[data-page="home"] .home-activity-list b {
  min-width: 58px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #99a3b4;
  background: #f3f5f8;
  font-size: 12px;
}

body[data-page="home"] .home-activity-list a:first-child b,
body[data-page="home"] .home-activity-list a:first-child time {
  color: #ff477c;
}

body[data-page="home"] .home-activity-list a:first-child b {
  background: #fff0f5;
}

body[data-page="home"] .home-invite-banner {
  display: block;
  overflow: hidden;
  margin: var(--home-section-gap) 0 0;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(32, 72, 142, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body[data-page="home"] .home-invite-banner:hover,
body[data-page="home"] .home-invite-banner:focus-visible {
  box-shadow: 0 16px 38px rgba(32, 72, 142, 0.12);
  transform: translateY(-2px);
}

body[data-page="home"] .home-invite-banner img {
  width: 100%;
  display: block;
  object-fit: cover;
}

body[data-page="home"] .home-new-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

body[data-page="home"] .home-new-head h2 {
  margin: 0;
  color: #1f2938;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

body[data-page="home"] .home-new-head a {
  color: #9aa8bb;
  font-size: 13px;
  font-weight: 500;
}

body[data-page="home"] .home-new-head a::after {
  content: " ->";
  color: #5b9bff;
}



body[data-page="home"] .template-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eef4fb;
}

body[data-page="home"] .template-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body[data-page="home"] .template-thumb span {
  position: absolute;
  top: 10px;
  left: 10px;
  min-width: 42px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 7px;
  color: #ffffff;
  background: #2f86ff;
  font-size: 12px;
  font-weight: 700;
}





body[data-page="home"] .template-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 15px;
  color: #93a0b3;
  font-size: 12px;
}

body[data-page="home"] .template-meta span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 1 1 auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .template-meta .avatar-dot {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

body[data-page="home"] .template-meta b {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #9aa6b8;
  font-size: 12px;
  font-weight: 500;
}

body[data-page="home"] .template-meta b::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background: center / contain no-repeat url("../assets/icons/line-icons/eye-outline.png");
  opacity: 0.72;
}

body[data-page="home"] .template-meta b:last-child::before {
  background-image: url("../assets/icons/line-icons/heart-outline.png");
}


body[data-page="home"] .home-project-panel,
body[data-page="home"] .home-device-panel,
body[data-page="home"] .home-software-panel,
body[data-page="home"] .home-platform-panel {
  min-width: 0;
}








body[data-page="home"] .home-partners {
  margin: var(--home-section-gap) 0 var(--home-section-gap);
  padding: 4px 0 2px;
}

body[data-page="home"] .home-partners-head {
  margin-bottom: 24px;
}

body[data-page="home"] .home-partners h2 {
  margin: 0;
  color: #1e2b3d;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

body[data-page="home"] .home-partners p {
  margin: 10px 0 0;
  color: #93a0b2;
  font-size: 13px;
  line-height: 1.45;
}

body[data-page="home"] .partner-logos {
  position: relative;
  overflow: hidden;
  padding: 2px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

body[data-page="home"] .partner-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 48px;
  animation: partnerLogoScroll 18s linear infinite;
  animation-play-state: paused;
}

body[data-page="home"] .partner-logos:hover .partner-track,
body[data-page="home"] .partner-logos:focus-within .partner-track {
  animation-play-state: running;
}

body[data-page="home"] .partner-logo {
  width: 142px;
  flex: 0 0 142px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body[data-page="home"] .partner-logo img {
  max-width: 118px;
  max-height: 34px;
  display: block;
  object-fit: contain;
  filter: none;
}

body[data-page="home"] .partner-logo.rockwell img {
  max-width: 138px;
}

@keyframes partnerLogoScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 24px));
  }
}

body[data-page="home"] .home-portal-hero.is-switching .hero-slide.active .hero-card {
  animation: homeHeroFocusIn 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-page="home"] .home-portal-hero.is-switching .hero-slide.prev .hero-card,
body[data-page="home"] .home-portal-hero.is-switching .hero-slide.next .hero-card {
  animation: homeHeroSideSettle 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-page="home"] .home-portal-hero .dots button {
  transition: width 0.28s ease, background 0.28s ease, opacity 0.28s ease !important;
}

@keyframes homeHeroFocusIn {
  0% { opacity: .92; filter: saturate(.96) brightness(.98); }
  100% { opacity: 1; filter: none; }
}

@keyframes homeHeroSideSettle {
  0% { opacity: .78; filter: saturate(.92) brightness(.92); }
  100% { opacity: 1; filter: none; }
}

@media (max-width: 1100px) {
  body[data-page="home"] .home-portal-hero {
    --home-hero-active: min(82vw, 900px);
    height: clamp(300px, 38vw, 390px) !important;
  }

  body[data-page="home"] .home-portal-hero .hero-slide.prev,
  body[data-page="home"] .home-portal-hero .hero-slide.next {
    opacity: 0 !important;
  }

  body[data-page="home"] .home-portal-hero .hero-prev,
  body[data-page="home"] .home-portal-hero .hero-next {
    display: none !important;
  }

  body[data-page="home"] .home-service-bar,
  body[data-page="home"] .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .home-resource-recommend .resource-grid,
  body[data-page="home"] .home-community-recommend .resource-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

body[data-page="home"] .home-bottom-panels {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  body[data-page="home"] .partner-track {
    gap: 34px;
  }

  body[data-page="home"] .home-service-bar article:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .home-service-bar,
  body[data-page="home"] .resource-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .home-resource-recommend .resource-grid,
  body[data-page="home"] .home-community-recommend .resource-grid {
    grid-template-columns: 1fr;
  }

body[data-page="home"] .home-resource-recommend .resource-heading,
  body[data-page="home"] .home-community-recommend .resource-heading,
  body[data-page="home"] .home-article-panel .resource-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body[data-page="home"] .home-tabs {
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 2px;
  }

  body[data-page="home"] .home-article-list a,
  body[data-page="home"] .home-activity-list a {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  body[data-page="home"] .home-article-list em,
  body[data-page="home"] .home-activity-list time,
  body[data-page="home"] .home-activity-list b {
    justify-self: start;
  }

  body[data-page="home"] .partner-track {
    gap: 28px;
  }

  body[data-page="home"] .partner-logo {
    width: 128px;
    flex-basis: 128px;
  }

  body[data-page="home"] .home-service-bar article {
    border-left: 0 !important;
  }

  body[data-page="home"] .resource-heading {
    grid-template-columns: 1fr auto;
  }

}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .home-portal-hero .hero-slide,
  body[data-page="home"] .home-portal-hero .hero-card,
  body[data-page="home"] .home-portal-hero .hero-visual img,
  body[data-page="home"] .home-portal-hero .dots button,
  body[data-page="home"] .home-service-bar,
  body[data-page="home"] .home-service-bar article,
  body[data-page="home"] .home-service-bar article::after,
  body[data-page="home"] .home-service-bar img.service-ico,
  body[data-page="home"] .board-head a,
  body[data-page="home"] .home-ask-item,
  body[data-page="home"] .home-tool-list > a,
  body[data-page="home"] .home-tool-list em,
  body[data-page="home"] .home-article-list > a {
    animation: none !important;
    transition: none !important;
  }

  body[data-page="home"] .board-head a:hover,
  body[data-page="home"] .board-head a:focus-visible {
    transform: none;
  }
}

/* Homepage board v2 cleaned styles */
body[data-page="home"] .home-board {
  display: grid;
  gap: var(--home-section-gap);
  margin: var(--home-section-gap) 0 0;
  font-family: var(--font-sans);
  letter-spacing: 0;
}

body[data-page="home"] .home-board-top,
body[data-page="home"] .home-promo-row,
body[data-page="home"] .home-board-main,
body[data-page="home"] .home-board-left {
  display: grid;
  gap: var(--home-section-gap);
}

body[data-page="home"] .home-board-top {
  grid-template-columns: 1fr;
  gap: var(--home-section-gap);
  margin-bottom: 0;
}

body[data-page="home"] .home-promo-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

body[data-page="home"] .home-board-main {
  grid-template-columns: minmax(0, 1fr) calc(25% - 18px);
  align-items: stretch;
  --home-board-equal-height: 470px;
}

body[data-page="home"] .home-board-left,
body[data-page="home"] .board-panel {
  min-width: 0;
}

body[data-page="home"] .home-board-left {
  height: var(--home-board-equal-height);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

body[data-page="home"] .board-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(229, 236, 247, 0.5);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(42, 74, 120, 0.04);
}

body[data-page="home"] .carousel-panel {
  overflow: visible;
}

body[data-page="home"] .board-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -2px -2px 22px;
  padding: 0 0 16px;
}

body[data-page="home"] .board-head::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(49, 132, 255, 0.2), rgba(229, 236, 247, 0.72) 34%, rgba(229, 236, 247, 0));
}

body[data-page="home"] .board-head > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

body[data-page="home"] .board-head h2 {
  position: relative;
  margin: 0;
  padding-left: 12px;
  color: #162033;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

body[data-page="home"] .home-partners h2 {
  margin: 0;
  color: #162033;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

body[data-page="home"] .board-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1a7cff, #7eb8ff);
  box-shadow: 0 4px 10px rgba(26, 124, 255, 0.24);
}

body[data-page="home"] .community-carousel .board-head h2::before {
  background: linear-gradient(180deg, #635bff, #9b94ff);
  box-shadow: 0 4px 10px rgba(99, 91, 255, 0.22);
}

body[data-page="home"] .home-ask-panel .board-head h2::before {
  background: linear-gradient(180deg, #00a7c7, #62d3e4);
  box-shadow: 0 4px 10px rgba(0, 167, 199, 0.2);
}

body[data-page="home"] .home-tool-panel .board-head h2::before {
  background: linear-gradient(180deg, #ff8a24, #ffc067);
  box-shadow: 0 4px 10px rgba(255, 138, 36, 0.2);
}

body[data-page="home"] .home-tutorial-panel .board-head h2::before {
  background: linear-gradient(180deg, #8657e8, #b79af4);
  box-shadow: 0 4px 10px rgba(134, 87, 232, 0.2);
}

body[data-page="home"] .activity.side .board-head h2::before {
  background: linear-gradient(180deg, #f05272, #ff9caf);
  box-shadow: 0 4px 10px rgba(240, 82, 114, 0.2);
}

body[data-page="home"] .board-head a {
  flex: 0 0 auto;
  padding-top: 0;
  color: #8191ac;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.18s ease, transform 0.18s ease;
}

body[data-page="home"] .board-head a:hover,
body[data-page="home"] .board-head a:focus-visible {
  color: #176ce8;
  transform: translateX(2px);
}

body[data-page="home"] .board-head a:focus-visible {
  outline: 2px solid rgba(23, 108, 232, 0.3);
  outline-offset: 3px;
  border-radius: 3px;
}

body[data-page="home"] .board-head a::after {
  content: none;
  display: none;
}

body[data-page="home"] .board-card-grid,
body[data-page="home"] .tutorial-grid,
body[data-page="home"] .hot-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

body[data-page="home"] .home-card-carousel {
  position: relative;
}

body[data-page="home"] .carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 100px) / 6);
  grid-template-columns: none;
  gap: 20px;
  padding: 10px 8px 18px;
  margin: -10px -8px -18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 8px;
  scrollbar-width: none;
}

body[data-page="home"] .carousel-track::-webkit-scrollbar {
  display: none;
}

body[data-page="home"] .carousel-track .board-resource-card {
  scroll-snap-align: start;
}

body[data-page="home"] .board-resource-card {
  min-width: 0;
  display: block;
}

body[data-page="home"] .carousel-panel .board-resource-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0 8px 11px;
  border: 1px solid rgba(230, 238, 248, 0.32);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 5px 12px rgba(31, 63, 104, 0.06), 0 1px 3px rgba(31, 63, 104, 0.03);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body[data-page="home"] .carousel-panel .board-resource-card:hover {
  border-color: rgba(218, 230, 244, 0.48);
  box-shadow: 0 8px 18px rgba(31, 63, 104, 0.085), 0 2px 4px rgba(31, 63, 104, 0.04);
}

body[data-page="home"] .board-resource-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  grid-column: 1 / -1;
  display: block;
  object-fit: cover;
  border-radius: 8px 8px 5px 5px;
  background: #edf4fb;
}

body[data-page="home"] .carousel-panel .board-resource-card img {
  width: calc(100% + 16px);
  max-width: none;
  margin: 0 -8px;
  border-radius: 8px 8px 5px 5px;
}

body[data-page="home"] .board-resource-card strong,
body[data-page="home"] .hot-card-grid strong,
body[data-page="home"] .board-activity-list strong {
  display: block;
  overflow: hidden;
  color: #243044;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.42;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .board-resource-card strong {
  margin-top: 13px;
}

body[data-page="home"] .carousel-panel .board-resource-card strong {
  min-width: 0;
  margin-top: 11px;
  color: #17233f;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

body[data-page="home"] .carousel-panel .board-resource-card > mark {
  display: none;
}

body[data-page="home"] .carousel-panel .board-resource-card p {
  display: flex;
  gap: 6px;
  margin: 6px 0 0;
  overflow: hidden;
}

body[data-page="home"] .carousel-panel .board-resource-card p i {
  max-width: 100%;
  height: 19px;
  padding: 0 7px;
  overflow: hidden;
  border-radius: 4px;
  color: #6f7f99;
  background: #f4f7fc;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  line-height: 19px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .board-resource-card span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: #9aa8bc;
  font-size: 12px;
  line-height: 1.45;
}

body[data-page="home"] .carousel-panel .board-resource-card span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  margin-top: 12px;
  color: #7e8ba1;
  font-size: 12px;
  line-height: 1.4;
}

body[data-page="home"] .carousel-panel .board-resource-card span em,
body[data-page="home"] .carousel-panel .board-resource-card span b,
body[data-page="home"] .carousel-panel .board-resource-card span u {
  color: #7e8ba1;
  font-size: 12px;
  font-weight: 500;
}

body[data-page="home"] .carousel-panel .board-resource-card .avatar-dot {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

body[data-page="home"] .board-resource-card span i,
body[data-page="home"] .board-resource-card span em {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  color: #9aa8bc;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .board-resource-card span b {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #9aa8bc;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

body[data-page="home"] .carousel-panel .board-resource-card span u {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

body[data-page="home"] .carousel-panel .board-resource-card span u::before {
  content: "";
  width: 14px;
  height: 14px;
  opacity: 0.58;
  background: center / contain no-repeat url("../assets/icons/line-icons/heart-outline.png");
}

body[data-page="home"] .board-resource-card span b::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  opacity: 0.58;
  background: center / contain no-repeat url("../assets/icons/line-icons/eye-outline.png");
}

body[data-page="home"] .carousel-panel .board-resource-card span b::before {
  background-image: url("../assets/icons/line-icons/star-outline.png");
  filter: brightness(0) saturate(100%) invert(75%) sepia(98%) saturate(1194%) hue-rotate(347deg) brightness(99%) contrast(95%);
}

body[data-page="home"] .board-resource-card .avatar-dot {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

body[data-page="home"] .carousel-panel .board-resource-card span,
body[data-page="home"] .carousel-panel .board-resource-card span em,
body[data-page="home"] .carousel-panel .board-resource-card span b,
body[data-page="home"] .carousel-panel .board-resource-card span u {
  color: #7e8ba1;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

body[data-page="home"] .carousel-panel .board-resource-card span em {
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

body[data-page="home"] .carousel-panel .board-resource-card span em,
body[data-page="home"] .carousel-panel .board-resource-card span b,
body[data-page="home"] .carousel-panel .board-resource-card span u {
  white-space: nowrap;
}

body[data-page="home"] .carousel-panel .board-resource-card .avatar-dot {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

body[data-page="home"] .carousel-panel .board-resource-card span b::before,
body[data-page="home"] .carousel-panel .board-resource-card span u::before {
  width: 14px;
  height: 14px;
  opacity: 1;
}

body[data-page="home"] .carousel-panel .board-resource-card span u::before {
  background-image: url("../assets/icons/line-icons/eye-outline.png");
  filter: brightness(0) saturate(100%) invert(60%) sepia(20%) saturate(568%) hue-rotate(178deg) brightness(92%) contrast(86%);
}

body[data-page="home"] .carousel-panel .board-resource-card span em,
body[data-page="home"] .carousel-panel .board-resource-card span b,
body[data-page="home"] .carousel-panel .board-resource-card span u {
  color: #7e8ba1;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

body[data-page="home"] .carousel-panel .board-resource-card span b::before {
  opacity: 1;
  background: center / contain no-repeat url("../assets/icons/line-icons/star-outline.png");
  filter: brightness(0) saturate(100%) invert(75%) sepia(98%) saturate(1194%) hue-rotate(347deg) brightness(99%) contrast(95%);
}

body[data-page="home"] .carousel-panel .board-resource-card span u::before {
  opacity: 1;
  background: center / contain no-repeat url("../assets/icons/line-icons/eye-outline.png");
  filter: brightness(0) saturate(100%) invert(60%) sepia(20%) saturate(568%) hue-rotate(178deg) brightness(92%) contrast(86%);
}

body[data-page="home"] .home-board-top > .carousel-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-head {
  min-height: 0;
  margin: 0 0 14px;
  padding: 0;
  border-bottom: 0;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-head::after {
  display: none;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-head h2::before {
  display: block;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-head > div {
  gap: 34px;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-head h2 {
  padding-left: 12px;
  color: #162033;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-head a {
  color: #8191ac;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-head a:hover,
body[data-page="home"] .home-board-top > .carousel-panel .board-head a:focus-visible {
  color: #176ce8;
  transform: translateX(2px);
}

body[data-page="home"] .home-board-top > .carousel-panel .board-head a::after {
  content: none;
  display: none;
  width: auto;
  height: auto;
  margin-left: 0;
  vertical-align: baseline;
  background: none;
  filter: none;
}

body[data-page="home"] .home-board-top > .carousel-panel .home-card-carousel {
  overflow: visible;
}

body[data-page="home"] .home-board-top > .carousel-panel .carousel-track {
  grid-auto-columns: calc((100% - 100px) / 6);
  gap: 20px;
  padding: 12px 14px 28px;
  margin: -12px -14px -28px;
  overflow-y: hidden;
  scroll-snap-type: none;
  scroll-padding-left: 14px;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-resource-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 0;
  border: 1px solid rgba(224, 233, 246, 0.56);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(42, 72, 110, 0.055);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-resource-card:hover {
  border-color: rgba(190, 209, 236, 0.72);
  box-shadow: 0 6px 14px rgba(42, 72, 110, 0.08);
  transform: translateY(-1px);
}

body[data-page="home"] .home-board-top > .carousel-panel .board-resource-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 8px 8px 0 0;
  object-fit: cover;
  background: #eef4fb;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .board-resource-card mark {
  display: none;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .board-resource-card:nth-child(2n) mark {
  background: #2f7cff;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .board-resource-card:nth-child(3n) mark {
  background: #23c66b;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .board-resource-card:nth-child(4n) mark {
  background: #7a56f5;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .board-resource-card:nth-child(5n) mark {
  background: #3387ff;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .board-resource-card:nth-child(6n) mark {
  background: #ff8a1f;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-resource-card strong {
  margin: 12px 14px 0;
  color: #1e293b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-resource-card p {
  display: block;
  margin: 5px 14px 0;
  color: #94a0b3;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-resource-card p i {
  display: inline;
  height: auto;
  padding: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-size: inherit;
  font-style: normal;
  font-weight: inherit;
  line-height: inherit;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-resource-card span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  margin: 12px 14px 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(232, 238, 247, 0.78);
  color: #8a96a8;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-resource-card span em,
body[data-page="home"] .home-board-top > .carousel-panel .board-resource-card span u,
body[data-page="home"] .home-board-top > .carousel-panel .board-resource-card span b {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8a96a8;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-resource-card span em {
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-resource-card span u::before,
body[data-page="home"] .home-board-top > .carousel-panel .board-resource-card span b::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  opacity: 0.72;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-resource-card span u::before {
  background: center / contain no-repeat url("../assets/icons/line-icons/eye-outline.png");
}

body[data-page="home"] .home-board-top > .carousel-panel .board-resource-card .avatar-dot {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border-radius: 50%;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-resource-card span b {
  color: #5f6f86;
  font-weight: 500;
}

body[data-page="home"] .home-board-top > .carousel-panel .board-resource-card span b::before {
  background: center / contain no-repeat url("../assets/icons/line-icons/star-outline.png");
  filter: brightness(0) saturate(100%) invert(72%) sepia(75%) saturate(1075%) hue-rotate(346deg) brightness(103%) contrast(97%);
}

/* Homepage material cards reuse the material-square visual language. */
body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .board-resource-card:not(.home-market-card) {
  display: none;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card {
  min-height: 0;
  padding: 10px 10px 12px;
  border-color: rgba(232, 239, 249, 0.42);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow:
    0 1px 2px rgba(25, 43, 78, 0.025),
    0 8px 20px rgba(35, 73, 126, 0.045);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card:hover,
body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card:focus-visible {
  border-color: rgba(203, 220, 244, 0.46);
  box-shadow:
    0 2px 5px rgba(25, 43, 78, 0.035),
    0 14px 28px rgba(35, 73, 126, 0.085);
  transform: translateY(-2px);
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-thumb {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef4fb 0%, #f8fbff 100%);
  box-shadow:
    inset 0 0 0 1px rgba(206, 218, 235, 0.24),
    0 6px 14px rgba(28, 54, 92, 0.06);
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-thumb::before {
  content: "查看详情";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 27, 61, 0.58);
  box-shadow: 0 8px 18px rgba(8, 18, 38, 0.18);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 6px));
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(9, 22, 45, 0.14);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card:hover .home-market-thumb::before,
body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card:focus-visible .home-market-thumb::before {
  opacity: 1;
  transform: translate(-50%, -50%);
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card:hover .home-market-thumb::after,
body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card:focus-visible .home-market-thumb::after {
  opacity: 1;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-thumb > img {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  border-radius: inherit;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.28s ease;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card:hover .home-market-thumb > img,
body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card:focus-visible .home-market-thumb > img {
  transform: scale(1.04);
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card > strong {
  margin: 12px 12px 5px;
  overflow: hidden;
  color: #213450;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.38;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.18s ease;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card:hover > strong,
body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card:focus-visible > strong {
  color: #1f66d6;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card > p {
  margin: 0 12px 10px;
  overflow: hidden;
  color: #77869b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card > span {
  margin: 0 12px;
  padding-top: 10px;
  border-top-color: rgba(238, 243, 249, 0.58);
  color: #7e8ba1;
  font-size: 12px;
  font-weight: 400;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card > span em {
  min-width: 0;
  overflow: hidden;
  column-gap: 8px;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card > span em > img {
  position: static;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  border-radius: 50%;
  aspect-ratio: 1;
  background: none;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(18, 101, 255, 0.035);
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card > span em > i {
  min-width: 0;
  overflow: hidden;
  color: #58708e;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card > span b {
  color: #7e8ba1;
  font-weight: 400;
}

body[data-page="home"] .home-board-top > :is(.material-carousel, .community-carousel) .home-market-card > span b::before {
  background: center / contain no-repeat url("../assets/icons/line-icons/heart-outline.png");
  filter: brightness(0) saturate(100%) invert(60%) sepia(20%) saturate(568%) hue-rotate(178deg) brightness(92%) contrast(86%);
}

body[data-page="home"] .home-promo.image {
  min-height: 150px;
  display: block;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 12px 30px rgba(28, 86, 175, 0.08);
}

body[data-page="home"] .home-promo.image img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

body[data-page="home"] .hot-project-wrap {
  position: relative;
}

body[data-page="home"] .hot-card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="home"] .home-board-left .hot-card-grid,
body[data-page="home"] .home-board-left .home-device-grid,
body[data-page="home"] .home-board-left .home-software-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="home"] .home-board-left .tutorial-grid {
  grid-template-columns: 1fr;
}

body[data-page="home"] .home-board-left .hot-card-grid a:nth-child(n + 5) {
  display: none;
}

body[data-page="home"] .home-board-left .board-panel {
  height: 100%;
}

body[data-page="home"] .home-board-left .hot-project-arrow {
  display: none;
}

body[data-page="home"] .home-feature-panel {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.92) 0%, #ffffff 46%),
    #ffffff;
}

body[data-page="home"] .home-feature-panel .board-head {
  margin-bottom: 18px;
}

body[data-page="home"] .home-feature-panel .board-head > div {
  display: block;
}

body[data-page="home"] .home-feature-panel .board-head span {
  display: block;
  margin: 4px 0 0 12px;
  overflow: hidden;
  color: #8a98ae;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .feature-content {
  display: grid;
  gap: 14px;
}

body[data-page="home"] .feature-lead,
body[data-page="home"] .software-feature,
body[data-page="home"] .tutorial-lead {
  position: relative;
  min-width: 0;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(220, 232, 247, 0.86);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(38, 71, 116, 0.07);
}

body[data-page="home"] .feature-lead:hover,
body[data-page="home"] .software-feature:hover,
body[data-page="home"] .tutorial-lead:hover,
body[data-page="home"] .feature-list a:hover,
body[data-page="home"] .software-list a:hover,
body[data-page="home"] .tutorial-list a:hover {
  border-color: rgba(151, 190, 242, 0.92);
  box-shadow: 0 16px 30px rgba(38, 71, 116, 0.1);
}

body[data-page="home"] .feature-lead > img,
body[data-page="home"] .tutorial-lead > img {
  width: 100%;
  aspect-ratio: 16 / 8.2;
  display: block;
  object-fit: cover;
  background: #edf4fb;
}

body[data-page="home"] .device-lead > img {
  aspect-ratio: 16 / 7.4;
  object-fit: contain;
  padding: 14px 18px 8px;
  background: linear-gradient(135deg, #eef6ff, #f8fbff);
}

body[data-page="home"] .feature-badge,
body[data-page="home"] .tutorial-lead > span,
body[data-page="home"] .software-feature > i {
  position: absolute;
  top: 12px;
  left: 12px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(18, 101, 255, 0.92);
  box-shadow: 0 8px 16px rgba(18, 101, 255, 0.22);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

body[data-page="home"] .device-lead .feature-badge {
  background: rgba(25, 154, 111, 0.94);
  box-shadow: 0 8px 16px rgba(25, 154, 111, 0.18);
}

body[data-page="home"] .feature-lead strong,
body[data-page="home"] .software-feature strong,
body[data-page="home"] .tutorial-lead strong {
  margin: 14px 16px 0;
  overflow: hidden;
  color: #172033;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.38;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .feature-lead p,
body[data-page="home"] .software-feature p,
body[data-page="home"] .tutorial-lead p {
  min-height: 38px;
  display: -webkit-box;
  margin: 8px 16px 0;
  overflow: hidden;
  color: #687994;
  font-size: 12px;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-page="home"] .feature-lead div,
body[data-page="home"] .software-feature div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 16px 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(231, 238, 248, 0.9);
}

body[data-page="home"] .feature-lead div em,
body[data-page="home"] .software-feature div em {
  height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 5px;
  color: #526988;
  background: #f1f6fc;
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
}

body[data-page="home"] .feature-lead div b,
body[data-page="home"] .software-feature div b {
  margin-left: auto;
  color: #ff3f36;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

body[data-page="home"] .feature-list,
body[data-page="home"] .software-list,
body[data-page="home"] .tutorial-list {
  display: grid;
  gap: 10px;
}

body[data-page="home"] .feature-list a,
body[data-page="home"] .software-list a,
body[data-page="home"] .tutorial-list a {
  min-width: 0;
  min-height: 66px;
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(226, 236, 248, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(42, 74, 120, 0.04);
}

body[data-page="home"] .project-list a {
  grid-template-columns: 30px minmax(0, 1fr) auto;
}

body[data-page="home"] .project-list span,
body[data-page="home"] .tutorial-list em {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #1265ff;
  background: rgba(18, 101, 255, 0.08);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

body[data-page="home"] .feature-list strong,
body[data-page="home"] .software-list strong,
body[data-page="home"] .tutorial-list strong {
  min-width: 0;
  overflow: hidden;
  color: #213047;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .feature-list em,
body[data-page="home"] .software-list em,
body[data-page="home"] .tutorial-list span {
  min-width: 0;
  overflow: hidden;
  color: #8795aa;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .project-list em {
  grid-column: 2;
  margin-top: -5px;
}

body[data-page="home"] .feature-list b,
body[data-page="home"] .software-list b {
  color: #ff503d;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

body[data-page="home"] .device-list a {
  grid-template-columns: 58px minmax(0, 1fr) auto;
  min-height: 72px;
}

body[data-page="home"] .device-list img {
  width: 58px;
  height: 46px;
  grid-row: span 2;
  object-fit: contain;
  border-radius: 7px;
  background: #f2f7fc;
}

body[data-page="home"] .device-list em {
  grid-column: 2;
  margin-top: -8px;
}

body[data-page="home"] .software-feature {
  grid-template-columns: 66px minmax(0, 1fr);
  column-gap: 14px;
  padding: 18px;
}

body[data-page="home"] .software-feature .soft-logo {
  width: 66px;
  height: 66px;
  grid-row: 1 / span 3;
  border-radius: 14px;
}

body[data-page="home"] .software-feature > i {
  position: static;
  width: fit-content;
  height: 24px;
  margin: 0;
  color: #1265ff;
  background: rgba(18, 101, 255, 0.08);
  box-shadow: none;
}

body[data-page="home"] .software-feature strong,
body[data-page="home"] .software-feature p,
body[data-page="home"] .software-feature div {
  grid-column: 2;
  margin-right: 0;
  margin-left: 0;
}

body[data-page="home"] .software-feature p {
  min-height: 0;
}

body[data-page="home"] .software-feature div {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

body[data-page="home"] .software-feature div u {
  color: #f5a400;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

body[data-page="home"] .software-list a {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  min-height: 62px;
}

body[data-page="home"] .software-list .soft-logo {
  width: 42px;
  height: 42px;
  grid-row: span 2;
  border-radius: 10px;
}

body[data-page="home"] .software-list em {
  grid-column: 2;
  margin-top: -8px;
}

body[data-page="home"] .tutorial-lead > img {
  aspect-ratio: 16 / 7.6;
}

body[data-page="home"] .tutorial-lead {
  padding-bottom: 16px;
}

body[data-page="home"] .tutorial-list a {
  grid-template-columns: 30px minmax(0, 1fr) auto;
  min-height: 60px;
}

body[data-page="home"] .tutorial-list span {
  max-width: 74px;
  justify-self: end;
}

body[data-page="home"] .hot-card-grid a {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid rgba(226, 236, 248, 0.72);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 8px 18px rgba(42, 74, 120, 0.045);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body[data-page="home"] .hot-card-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border-radius: 0;
  background: #edf4fb;
}

body[data-page="home"] .hot-card-grid strong {
  margin: 13px 14px 0;
  color: #202b3d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.42;
}

body[data-page="home"] .hot-card-grid em {
  width: fit-content;
  margin: 9px 14px 0;
  padding: 4px 8px;
  border-radius: 5px;
  color: #ff6f3d;
  background: #fff0e9;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
}

body[data-page="home"] .hot-card-grid small {
  min-height: 38px;
  display: -webkit-box;
  margin: 9px 14px 0;
  overflow: hidden;
  color: #7f8da3;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-page="home"] .hot-card-grid p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 11px 14px 0;
  padding: 0;
}

body[data-page="home"] .hot-card-grid p i {
  min-width: 0;
  max-width: 100%;
  height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  overflow: hidden;
  border-radius: 4px;
  color: #526988;
  background: #f2f6fb;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .hot-card-grid span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: auto 14px 14px;
  padding-top: 14px;
}

body[data-page="home"] .hot-card-grid span i {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7f8da3;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.3;
}

body[data-page="home"] .hot-card-grid span i::before {
  content: "";
  width: 15px;
  height: 15px;
  opacity: 0.62;
  background: center / contain no-repeat url("../assets/icons/line-icons/eye-outline.png");
}

body[data-page="home"] .hot-card-grid b {
  color: #ff3f36;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

body[data-page="home"] .hot-card-grid a:hover {
  border-color: rgba(190, 214, 246, 0.85);
  box-shadow: 0 14px 28px rgba(42, 74, 120, 0.085);
}

body[data-page="home"] .hot-project-arrow {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(218, 228, 242, 0.86);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px rgba(46, 81, 124, 0.12);
  cursor: default;
}

body[data-page="home"] .hot-project-arrow.prev {
  left: -16px;
}

body[data-page="home"] .hot-project-arrow.next {
  right: -16px;
}

body[data-page="home"] .hot-project-arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #4c8ff7;
  border-right: 2px solid #4c8ff7;
}

body[data-page="home"] .hot-project-arrow.prev::before {
  transform: rotate(-135deg);
  margin-left: 3px;
}

body[data-page="home"] .hot-project-arrow.next::before {
  transform: rotate(45deg);
  margin-right: 3px;
}

body[data-page="home"] .home-card-carousel .hot-project-arrow {
  top: 38%;
}

body[data-page="home"] .tutorial-grid .board-resource-card span {
  justify-content: flex-start;
  gap: 12px;
}

body[data-page="home"] .tutorial-grid .board-resource-card.article {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 14px;
  min-height: 136px;
  padding: 12px;
  border: 1px solid rgba(226, 236, 248, 0.72);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(42, 74, 120, 0.045);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body[data-page="home"] .tutorial-grid .board-resource-card.article:hover {
  border-color: rgba(190, 214, 246, 0.85);
  box-shadow: 0 14px 28px rgba(42, 74, 120, 0.085);
}

body[data-page="home"] .tutorial-grid .board-resource-card.article img {
  width: 132px;
  height: 112px;
  min-height: 0;
  grid-column: 1;
  grid-row: 1 / -1;
  border-radius: 6px;
}

body[data-page="home"] .tutorial-grid .board-resource-card.article strong {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-page="home"] .tutorial-grid .board-resource-card.article p {
  grid-column: 2;
  grid-row: 2;
  min-height: 38px;
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  color: #71819b;
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-page="home"] .tutorial-grid .board-resource-card.article span {
  grid-column: 2;
  grid-row: 3;
  margin-top: 12px;
  align-self: end;
  min-width: 0;
  overflow: hidden;
}

body[data-page="home"] .tutorial-grid .board-resource-card.article span em {
  height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 4px;
  color: #1265ff;
  background: rgba(18, 101, 255, 0.08);
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
}

body[data-page="home"] .tutorial-grid .board-resource-card span i {
  color: #9aa8bc;
  font-style: normal;
}

body[data-page="home"] .tutorial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="home"] .home-device-grid,
body[data-page="home"] .home-software-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="home"] .home-device-card,
body[data-page="home"] .home-software-card {
  min-width: 0;
  display: grid;
  border: 1px solid rgba(226, 236, 248, 0.72);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(42, 74, 120, 0.045);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body[data-page="home"] .home-device-card:hover,
body[data-page="home"] .home-software-card:hover {
  transform: translateY(-2px);
  border-color: rgba(190, 214, 246, 0.85);
  box-shadow: 0 14px 28px rgba(42, 74, 120, 0.085);
}

body[data-page="home"] .home-device-card {
  position: relative;
  padding-bottom: 14px;
}

body[data-page="home"] .home-device-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  background: #f2f6fb;
}

body[data-page="home"] .home-device-card > span {
  position: absolute;
  top: 10px;
  left: 10px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(18, 101, 255, 0.92);
  font-size: 11px;
  font-weight: 700;
}

body[data-page="home"] .home-device-card strong,
body[data-page="home"] .home-software-card strong {
  overflow: hidden;
  color: #1f2b3d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.42;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-device-card strong {
  margin: 13px 14px 0;
}

body[data-page="home"] .home-device-card p {
  margin: 6px 14px 0;
  overflow: hidden;
  color: #70809a;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-device-card div,
body[data-page="home"] .home-software-card div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
}

body[data-page="home"] .home-device-card div {
  margin: 13px 14px 0;
}

body[data-page="home"] .home-device-card em,
body[data-page="home"] .home-software-card b {
  min-width: 0;
  height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  overflow: hidden;
  border-radius: 4px;
  color: #526988;
  background: #f2f6fb;
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-device-card b {
  color: #ff3f36;
  font-size: 15px;
  font-weight: 750;
}

body[data-page="home"] .home-device-card i {
  color: #7d8ba1;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
}

body[data-page="home"] .home-software-card {
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 12px;
  padding: 14px;
}

body[data-page="home"] .home-software-card .soft-logo {
  grid-row: span 3;
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

body[data-page="home"] .home-software-card em {
  overflow: hidden;
  color: #72809a;
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-software-card p {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  overflow: hidden;
  color: #61728d;
  font-size: 12px;
  line-height: 1.45;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-software-card div {
  grid-column: 1 / -1;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid rgba(232, 238, 247, 0.88);
}

body[data-page="home"] .home-software-card i,
body[data-page="home"] .home-software-card u {
  color: #7d8ba1;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

body[data-page="home"] .home-software-card u {
  color: #f5a400;
}

body[data-page="home"] .activity.side {
  position: sticky;
  top: calc(var(--shell-topbar-height) + 34px);
  height: var(--home-board-equal-height);
}

/* 首页三类内容与平台活动采用同一高度；卡片内部改为紧凑的信息层级。 */
body[data-page="home"] .home-board-left .home-feature-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #ffffff;
}

body[data-page="home"] .home-board-left .home-feature-panel .board-head {
  flex: 0 0 auto;
  margin: -2px -2px 22px;
  padding: 0 0 16px;
}

body[data-page="home"] .home-board-left .home-feature-panel .board-head > div {
  display: flex;
}

body[data-page="home"] .home-board-left .home-feature-panel .feature-content {
  min-height: 0;
  flex: 1;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
}

body[data-page="home"] .home-ask-panel {
  background:
    radial-gradient(circle at 100% 0, rgba(70, 143, 255, 0.08), transparent 34%),
    #ffffff;
}

body[data-page="home"] .home-ask-list {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="home"] .home-ask-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 10px;
  row-gap: 9px;
  padding: 12px;
  border: 1px solid rgba(222, 233, 247, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body[data-page="home"] .home-ask-item:hover {
  border-color: rgba(126, 177, 242, 0.9);
  box-shadow: 0 10px 24px rgba(38, 71, 116, 0.08);
  transform: translateY(-1px);
}

body[data-page="home"] .home-ask-rank {
  width: 34px;
  height: 34px;
  grid-row: 1 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  border-radius: 9px;
  color: #1265ff;
  background: rgba(18, 101, 255, 0.09);
  font-size: 11px;
  font-weight: 800;
}

body[data-page="home"] .home-ask-item:first-child .home-ask-rank {
  color: #ffffff;
  background: linear-gradient(135deg, #1265ff, #54a0ff);
  box-shadow: 0 7px 14px rgba(18, 101, 255, 0.2);
}

body[data-page="home"] .home-ask-item > strong {
  min-width: 0;
  overflow: hidden;
  color: #213047;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-ask-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: #8a98ad;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

body[data-page="home"] .home-ask-meta em,
body[data-page="home"] .home-ask-meta i {
  height: 20px;
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  overflow: hidden;
  padding: 0 7px;
  border-radius: 5px;
  color: #547092;
  background: #f1f6fc;
  font-style: normal;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-ask-meta i {
  flex: 0 0 auto;
  color: #a86e16;
  background: #fff7e8;
}

body[data-page="home"] .home-ask-meta i.is-solved {
  color: #16865b;
  background: #eaf8f1;
}

body[data-page="home"] .home-ask-meta span {
  flex: 0 0 auto;
}

body[data-page="home"] .home-ask-meta span:first-of-type {
  margin-left: auto;
}

body[data-page="home"] .home-ask-meta b {
  color: #526580;
  font-weight: 750;
}

body[data-page="home"] .home-ask-list {
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 4px;
}

body[data-page="home"] .home-ask-item {
  min-height: 56px;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  grid-template-rows: 1fr;
  align-items: center;
  align-content: initial;
  gap: 10px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: background-color 0.18s ease;
}

body[data-page="home"] .home-ask-item:hover {
  border-color: transparent;
  background: #f5f9ff;
  box-shadow: none;
  transform: none;
}

body[data-page="home"] .home-ask-avatar {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  background: #eef3f8;
}

body[data-page="home"] .home-ask-copy {
  min-width: 0;
}

body[data-page="home"] .home-ask-copy strong {
  display: block;
  overflow: hidden;
  color: #24344d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-ask-copy small {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  overflow: hidden;
  color: #9aa7b8;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

body[data-page="home"] .home-ask-copy em {
  overflow: hidden;
  color: #63758d;
  font-style: normal;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-ask-copy time {
  flex: 0 0 auto;
}

body[data-page="home"] .home-ask-replies {
  min-width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  color: #8292a8;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body[data-page="home"] .home-ask-replies img {
  width: 13px;
  height: 13px;
  display: block;
  opacity: 0.72;
}

body[data-page="home"] .home-ask-item:focus-visible {
  outline: 3px solid rgba(23, 108, 232, 0.25);
  outline-offset: 2px;
}

body[data-page="home"] .home-tool-list {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 4px;
}

body[data-page="home"] .home-tool-list > a {
  min-width: 0;
  min-height: 56px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  transition: background-color 0.18s ease;
}

body[data-page="home"] .home-tool-list > a:hover {
  background: #f5f9ff;
}

body[data-page="home"] .home-tool-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(145deg, #edf6ff, #f8fbff);
}

body[data-page="home"] .home-tool-icon img {
  width: 25px;
  height: 25px;
  display: block;
  object-fit: contain;
}

body[data-page="home"] .home-tool-icon.palette img {
  width: 24px;
  height: 24px;
}

body[data-page="home"] .home-tool-copy {
  min-width: 0;
}

body[data-page="home"] .home-tool-copy strong,
body[data-page="home"] .home-tool-copy small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-tool-copy strong {
  color: #24344d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

body[data-page="home"] .home-tool-copy small {
  margin-top: 3px;
  color: #8796aa;
  font-size: 10px;
  line-height: 1.4;
}

body[data-page="home"] .home-tool-list em {
  min-width: 48px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #176ce8;
  background: #edf5ff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

body[data-page="home"] .home-tool-list > a:hover em {
  color: #ffffff;
  background: #176ce8;
}

body[data-page="home"] .home-tool-list > a:focus-visible {
  outline: 3px solid rgba(23, 108, 232, 0.25);
  outline-offset: 2px;
}

body[data-page="home"] .home-board-left .feature-lead,
body[data-page="home"] .home-board-left .software-feature,
body[data-page="home"] .home-board-left .tutorial-lead {
  min-height: 0;
  box-shadow: none;
}

body[data-page="home"] .home-board-left .feature-lead > img,
body[data-page="home"] .home-board-left .tutorial-lead > img {
  height: 122px;
  aspect-ratio: auto;
}

body[data-page="home"] .home-board-left .feature-lead strong,
body[data-page="home"] .home-board-left .software-feature strong,
body[data-page="home"] .home-board-left .tutorial-lead strong {
  margin: 10px 12px 0;
  font-size: 14px;
}

body[data-page="home"] .home-board-left .feature-lead p,
body[data-page="home"] .home-board-left .software-feature p,
body[data-page="home"] .home-board-left .tutorial-lead p {
  min-height: 34px;
  margin: 5px 12px 0;
  font-size: 11px;
  line-height: 1.5;
}

body[data-page="home"] .home-board-left .feature-lead div,
body[data-page="home"] .home-board-left .software-feature div {
  gap: 6px;
  margin: 8px 12px 10px;
  padding-top: 8px;
}

body[data-page="home"] .home-board-left .feature-lead div em,
body[data-page="home"] .home-board-left .software-feature div em {
  height: 21px;
  padding: 0 6px;
  font-size: 10px;
}

body[data-page="home"] .home-board-left .feature-lead div b,
body[data-page="home"] .home-board-left .software-feature div b {
  font-size: 14px;
}

body[data-page="home"] .home-board-left .feature-list,
body[data-page="home"] .home-board-left .software-list,
body[data-page="home"] .home-board-left .tutorial-list {
  gap: 8px;
}

body[data-page="home"] .home-board-left .feature-list a,
body[data-page="home"] .home-board-left .software-list a,
body[data-page="home"] .home-board-left .tutorial-list a {
  min-height: 53px;
  padding: 8px 10px;
  gap: 8px;
  box-shadow: none;
}

body[data-page="home"] .home-board-left .project-list a,
body[data-page="home"] .home-board-left .tutorial-list a {
  grid-template-columns: 26px minmax(0, 1fr) auto;
}

body[data-page="home"] .home-board-left .project-list span,
body[data-page="home"] .home-board-left .tutorial-list em {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  font-size: 11px;
}

body[data-page="home"] .home-board-left .feature-list strong,
body[data-page="home"] .home-board-left .software-list strong,
body[data-page="home"] .home-board-left .tutorial-list strong {
  font-size: 12px;
}

body[data-page="home"] .home-board-left .feature-list em,
body[data-page="home"] .home-board-left .software-list em,
body[data-page="home"] .home-board-left .tutorial-list span {
  font-size: 10px;
}

body[data-page="home"] .home-board-left .software-feature {
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 10px;
  align-content: center;
  padding: 12px;
}

body[data-page="home"] .home-board-left .software-feature .soft-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

body[data-page="home"] .home-board-left .software-feature > i {
  height: 21px;
  padding: 0 8px;
  font-size: 10px;
}

body[data-page="home"] .home-board-left .software-feature strong {
  margin-top: 7px;
}

body[data-page="home"] .home-board-left .software-feature div {
  grid-column: 1 / -1;
}

body[data-page="home"] .home-board-left .software-list a {
  grid-template-columns: 34px minmax(0, 1fr) auto;
}

body[data-page="home"] .home-board-left .software-list .soft-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  overflow: hidden;
}

body[data-page="home"] .home-board-left .software-logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f2f6fb;
}

body[data-page="home"] .home-board-left .software-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

body[data-page="home"] .home-board-left .tutorial-lead {
  padding-bottom: 10px;
}

body[data-page="home"] .home-board-left .tutorial-list span {
  max-width: 58px;
}

body[data-page="home"] .home-article-list {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 4px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .home-article-list > a {
  min-width: 0;
  min-height: 56px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  transition: background-color 0.18s ease;
}

body[data-page="home"] .home-article-list > a:hover {
  background: #f5f9ff;
}

body[data-page="home"] .home-article-list .home-article-thumb {
  width: 76px;
  height: 43px;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  background: #edf4fb;
}

body[data-page="home"] .home-article-copy {
  min-width: 0;
}

body[data-page="home"] .home-article-copy strong,
body[data-page="home"] .home-article-copy small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .home-article-copy strong {
  color: #24344d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

body[data-page="home"] .home-article-copy small {
  width: max-content;
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 2px 5px;
  border-radius: 2px;
  color: #8da3bd;
  background: #f3f5f7;
  font-size: 10px;
  line-height: 1.35;
}

body[data-page="home"] .home-article-views {
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  color: #8997aa;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body[data-page="home"] .home-article-views img {
  width: 13px;
  height: 13px;
  display: block;
  opacity: 0.68;
}

body[data-page="home"] .home-article-list > a:focus-visible {
  outline: 3px solid rgba(23, 108, 232, 0.25);
  outline-offset: 2px;
}

body[data-page="home"] .board-activity-list {
  display: grid;
  gap: 12px;
}

body[data-page="home"] .board-activity-list a {
  position: relative;
  min-height: 74px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 58px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: #f8fbff;
  overflow: hidden;
  transition: min-height 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease, background 0.28s ease;
}

body[data-page="home"] .board-activity-list i {
  width: 64px;
  height: 50px;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  opacity: 1;
  transition: opacity 0.24s ease, filter 0.24s ease;
}

body[data-page="home"] .board-activity-list a:nth-child(1) i {
  background-image: url("../assets/home/huodong1.png");
}

body[data-page="home"] .board-activity-list a:nth-child(2) i {
  background-image: url("../assets/home/huodong2.png");
}

body[data-page="home"] .board-activity-list a:nth-child(3) i {
  background-image: url("../assets/home/huodong3.png");
}

body[data-page="home"] .board-activity-list a.is-active {
  min-height: 204px;
  display: block;
  padding: 0;
  background: #edf4fb;
  box-shadow: 0 12px 28px rgba(31, 63, 104, 0.12);
}

body[data-page="home"] .board-activity-list a.is-active i {
  width: 100%;
  height: 204px;
  display: block;
  border-radius: 8px;
  animation: activityImageIn 0.26s ease both;
}

body[data-page="home"] .board-activity-list.is-switching i {
  opacity: 0.92;
}

body[data-page="home"] .board-activity-list a.is-active span,
body[data-page="home"] .board-activity-list a.is-active em {
  display: none;
}

@keyframes activityImageIn {
  from {
    opacity: 0.78;
  }

  to {
    opacity: 1;
  }
}

body[data-page="home"] .board-activity-list small {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: #9aa7b9;
  font-size: 12px;
  line-height: 1.45;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .board-activity-list em {
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #ff6576;
  background: #fff1f4;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.45;
}

body[data-page="home"] .board-panel a {
  transition: transform 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

body[data-page="home"] .board-resource-card:hover,
body[data-page="home"] .hot-card-grid a:hover,
body[data-page="home"] .board-activity-list a:hover {
  transform: translateY(-2px);
}

body[data-page="home"] .board-activity-list a:hover {
  transform: none;
}

@media (max-width: 1440px) {
  body[data-page="home"] .home-board-top,
  body[data-page="home"] .home-promo-row,
  body[data-page="home"] .home-board-main {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .activity.side {
    position: static;
    height: auto;
  }

  body[data-page="home"] .home-board-left {
    height: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body[data-page="home"] .home-board-left {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .board-card-grid,
  body[data-page="home"] .hot-card-grid,
  body[data-page="home"] .home-device-grid,
  body[data-page="home"] .home-software-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .carousel-track {
    grid-template-columns: none;
    grid-auto-columns: calc((100% - 22px) / 2);
  }

  body[data-page="home"] .board-activity-list a {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  body[data-page="home"] .board-activity-list em {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] {
    --home-section-gap: 18px;
  }

  body[data-page="home"] .home-board {
    gap: var(--home-section-gap);
    margin-top: var(--home-section-gap);
  }

  body[data-page="home"] .board-panel {
    padding: 18px;
  }

  body[data-page="home"] .board-head {
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
  }

  body[data-page="home"] .board-head > div {
    flex-wrap: wrap;
    gap: 8px;
  }

  body[data-page="home"] .board-card-grid,
  body[data-page="home"] .tutorial-grid,
  body[data-page="home"] .hot-card-grid,
  body[data-page="home"] .home-device-grid,
  body[data-page="home"] .home-software-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .tutorial-grid .board-resource-card.article {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 124px;
    column-gap: 12px;
  }

  body[data-page="home"] .tutorial-grid .board-resource-card.article img {
    width: 96px;
    height: 100px;
    min-height: 0;
  }

  body[data-page="home"] .home-device-card div,
  body[data-page="home"] .home-software-card div {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body[data-page="home"] .home-device-card i,
  body[data-page="home"] .home-software-card u {
    display: none;
  }

  body[data-page="home"] .carousel-track {
    grid-template-columns: none;
    grid-auto-columns: 100%;
  }

  body[data-page="home"] .home-promo.image,
  body[data-page="home"] .home-promo.image img {
    min-height: 108px;
  }
}


