html.baiye-wanxiang-document {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  overflow-x: clip !important;
  overscroll-behavior-x: none;
  background: #07110d;
}

.baiye-wanxiang-ready {
  margin: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  overflow-x: clip !important;
  overscroll-behavior-x: none;
}

body.wx-page-main .top {
  left: max(12px, env(safe-area-inset-left)) !important;
  right: max(12px, env(safe-area-inset-right)) !important;
  width: auto !important;
  max-width: none !important;
  transform: none !important;
}

.wx-stage,
.wx-stage * {
  box-sizing: border-box;
}

.wx-stage {
  --wx-safe-top: max(22px, env(safe-area-inset-top));
  --wx-safe-bottom: max(22px, env(safe-area-inset-bottom));
  position: relative;
  left: 0;
  right: 0;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background: #06090d;
  color: #fff;
  touch-action: pan-y;
}

.wx-stage--main {
  background: #0b1c14;
}

.wx-frame,
.wx-blur,
.wx-photo,
.wx-shade,
.wx-atmosphere {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wx-frame {
  opacity: 0;
  transition: opacity 1.45s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity;
}

.wx-frame.is-active {
  opacity: 1;
  z-index: 1;
}

.wx-blur,
.wx-photo {
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.wx-blur {
  inset: -6%;
  width: 112%;
  height: 112%;
  object-fit: cover;
  filter: blur(28px) brightness(.53) saturate(1.2);
  transform: scale(1.08);
}

.wx-photo {
  object-fit: cover;
  transform: scale(1.025) translate3d(var(--wx-x, 0), var(--wx-y, 0), 0);
  transition: transform 12s linear, filter 1.2s ease;
  will-change: transform;
}

.wx-frame.is-active .wx-photo {
  transform: scale(1.105) translate3d(var(--wx-x, 0), var(--wx-y, 0), 0);
}

.wx-shade {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(3, 6, 10, .48) 0%, transparent 30%, transparent 55%, rgba(3, 6, 10, .72) 100%),
    linear-gradient(90deg, rgba(3, 6, 10, .26), transparent 55%);
  pointer-events: none;
}

.wx-atmosphere {
  z-index: 3;
  opacity: .42;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 225, 171, .22), transparent 32%),
    radial-gradient(circle at 82% 72%, rgba(92, 195, 255, .18), transparent 36%);
  animation: wx-drift 13s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

.wx-stage--main .wx-shade {
  background:
    linear-gradient(180deg, rgba(6, 20, 14, .62) 0%, rgba(8, 24, 17, .08) 38%, rgba(5, 15, 11, .76) 100%),
    linear-gradient(90deg, rgba(11, 46, 30, .3), transparent 52%, rgba(133, 48, 44, .12));
}

.wx-stage--main .wx-atmosphere {
  opacity: .55;
  background:
    radial-gradient(circle at 16% 24%, rgba(244, 231, 190, .25), transparent 27%),
    radial-gradient(circle at 83% 31%, rgba(181, 66, 58, .18), transparent 28%),
    radial-gradient(circle at 54% 75%, rgba(80, 169, 112, .2), transparent 36%);
}

.wx-huyi-elements {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  pointer-events: none;
}

.wx-huyi-chip {
  position: absolute;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: rgba(255, 255, 255, .74);
  background: rgba(14, 38, 27, .22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .14);
  animation: wx-huyi-float 7s ease-in-out infinite alternate;
}

.wx-huyi-chip--practice { left: max(20px, 6vw); top: 28%; }
.wx-huyi-chip--work { right: max(20px, 7vw); top: 39%; animation-delay: -2.4s; }
.wx-huyi-chip--exam { left: max(30px, 10vw); top: 57%; animation-delay: -4.7s; }

.wx-huyi-note {
  position: absolute;
  color: rgba(255, 244, 213, .58);
  font-style: normal;
  text-shadow: 0 0 24px rgba(250, 222, 154, .42);
  animation: wx-huyi-note 8s ease-in-out infinite alternate;
}

.wx-huyi-note--one { right: 13%; top: 24%; font-size: 24px; }
.wx-huyi-note--two { left: 14%; top: 45%; font-size: 19px; animation-delay: -3s; }
.wx-huyi-note--three { right: 18%; top: 58%; font-size: 18px; animation-delay: -5s; }

.wx-content {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--wx-safe-top) clamp(20px, 5vw, 72px) var(--wx-safe-bottom);
}

.wx-stage--main .wx-content {
  padding-top: calc(var(--wx-safe-top) + 88px);
}

.wx-stage--main .wx-copy {
  width: min(720px, calc(100vw - 40px));
  max-width: calc(100% - 40px);
  margin-inline: auto;
  padding-bottom: clamp(84px, 12vh, 126px);
  text-align: center;
}

.wx-stage--main .wx-copy h1 {
  letter-spacing: -.04em;
}

.wx-stage--main .wx-copy p {
  max-width: 560px;
  margin-inline: auto;
}

.wx-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .65);
}

.wx-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wx-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e5ff9d;
  box-shadow: 0 0 18px #e5ff9d;
  animation: wx-pulse 1.8s ease-in-out infinite;
}

.wx-copy {
  max-width: min(640px, 88vw);
  padding-bottom: clamp(72px, 12vh, 128px);
  text-shadow: 0 5px 28px rgba(0, 0, 0, .7);
}

.wx-kicker {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .23em;
  color: rgba(255, 255, 255, .8);
}

.wx-copy h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(48px, 11vw, 112px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.055em;
}

.wx-copy p {
  margin: 18px 0 0;
  font-size: clamp(14px, 2.8vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, .84);
}

.wx-controls {
  position: absolute;
  z-index: 5;
  left: clamp(20px, 5vw, 72px);
  right: clamp(20px, 5vw, 72px);
  bottom: var(--wx-safe-bottom);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto 48px auto;
  align-items: center;
  gap: 12px;
}

.wx-arrow,
.wx-pause {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(10, 14, 20, .34);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.wx-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 22px;
}

.wx-pause {
  position: relative;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 15px;
  font-size: 12px;
  font-weight: 700;
}

.wx-progress {
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
}

.wx-progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
}

.wx-progress.is-running i {
  animation: wx-progress 9s linear forwards;
}

.wx-count {
  min-width: 52px;
  text-align: center;
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
  text-shadow: 0 2px 12px #000;
}

@media (min-width: 760px) {
  .wx-photo {
    object-fit: contain;
    filter: drop-shadow(0 0 42px rgba(0, 0, 0, .5));
  }
}

@media (max-width: 520px) {
  .wx-stage--main .wx-content {
    padding-top: calc(var(--wx-safe-top) + 82px);
  }
  .wx-stage--main .wx-topline {
    font-size: 9px;
    letter-spacing: .1em;
  }
  .wx-stage--main .wx-copy {
    width: calc(100vw - 36px);
    max-width: calc(100% - 36px);
  }
  .wx-stage--main .wx-copy h1 {
    font-size: clamp(43px, 13vw, 62px);
    line-height: 1.02;
  }
  .wx-huyi-chip--exam,
  .wx-huyi-note--two {
    display: none;
  }
  .wx-huyi-chip--practice { left: 18px; top: 31%; }
  .wx-huyi-chip--work { right: 18px; top: 43%; }
  .wx-controls {
    grid-template-columns: 44px minmax(0, 1fr) 52px 44px 52px;
    gap: 8px;
  }
  .wx-arrow {
    width: 44px;
    height: 44px;
  }
  .wx-pause {
    width: 52px;
    min-width: 52px;
    padding: 0;
    overflow: hidden;
    color: transparent;
  }
  .wx-pause::after {
    content: "暂停";
    color: #fff;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    transform: none;
  }
  .wx-pause[data-paused="true"]::after {
    content: "播放";
  }
}

@media (prefers-reduced-motion: reduce) {
  .wx-photo,
  .wx-atmosphere,
  .wx-live::before,
  .wx-huyi-chip,
  .wx-huyi-note {
    animation: none !important;
    transition-duration: .35s !important;
  }
}

@keyframes wx-progress {
  to { transform: scaleX(1); }
}

@keyframes wx-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1.02); }
  to { transform: translate3d(2%, 1%, 0) scale(1.08); }
}

@keyframes wx-pulse {
  50% { opacity: .45; transform: scale(.78); }
}

@keyframes wx-huyi-float {
  from { transform: translate3d(0, -5px, 0); }
  to { transform: translate3d(0, 9px, 0); }
}

@keyframes wx-huyi-note {
  from { transform: translate3d(-4px, -8px, 0) rotate(-6deg); opacity: .35; }
  to { transform: translate3d(5px, 10px, 0) rotate(8deg); opacity: .72; }
}
