:root {
  color-scheme: dark;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #050400;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  color: #fff;
  background: #050400;
}

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

img,
canvas {
  display: block;
}

.landing {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #050400;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.is-loading .landing {
  opacity: 0;
}

.stage {
  position: absolute;
  left: 50%;
  top: 50%;
  overflow: hidden;
  transform: translate(-50%, -50%);
}

.stage-pc {
  display: block;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
}

.stage-mobile {
  display: none;
}

.pc-content {
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: min(100%, 177.7777778vh);
  width: min(100%, 177.7777778dvh);
  transform: translateX(-50%);
}

.stage-bg,
.route-panel,
.footer-panel,
.community-panel,
.mobile-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stage-bg {
  object-fit: cover;
  pointer-events: none;
}

.pc-logo {
  position: absolute;
  left: 44.6354167%;
  top: 2.8703704%;
  width: 31.1458333%;
  height: auto;
}

.pc-route,
.pc-notice,
.pc-footer {
  position: absolute;
}

.pc-route {
  left: 39.6875%;
  width: 42.2395833%;
  height: auto;
  aspect-ratio: 811 / 93;
}

.pc-route-main {
  top: 24.6296296%;
}

.pc-route-list {
  position: absolute;
  inset: 0;
}

.pc-route-list .pc-route:nth-child(1) {
  top: 33.9814815%;
}

.pc-route-list .pc-route:nth-child(2) {
  top: 43.3333333%;
}

.pc-route-list .pc-route:nth-child(3) {
  top: 52.6851852%;
}

.route-icon {
  position: absolute;
  left: 1.3563502%;
  top: 50%;
  width: 11.3440197%;
  height: auto;
  transform: translateY(-50%);
}

.route-copy {
  position: absolute;
  left: 13.1935882%;
  top: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  transform: translateY(-50%);
  white-space: nowrap;
}

.pc-route-main .route-copy {
  width: 64%;
  white-space: normal;
}

.route-copy strong,
.notice-copy strong {
  font-size: clamp(11px, 1.3020833vw, 25px);
  font-weight: 600;
  line-height: 1.24;
}

.route-copy small,
.notice-copy small {
  color: #d1b547;
  font-size: clamp(10px, 1.25vw, 24px);
  line-height: 1.25;
}

.route-badge {
  position: absolute;
  left: 39.8273736%;
  top: 50%;
  width: 7.0283601%;
  height: auto;
  transform: translateY(-50%);
}

.route-enter {
  position: absolute;
  left: 83.6004932%;
  top: 50%;
  color: #d1b547;
  font-size: clamp(8px, 0.8854167vw, 17px);
  line-height: 1.2;
  transform: translateY(-50%);
  white-space: nowrap;
}

.route-arrow {
  position: absolute;
  left: 94.081381%;
  top: 37.6344086%;
  width: 1.4382367%;
  height: 23.4076344%;
}

.pc-notice {
  left: 39.6875%;
  top: 62.037037%;
  width: 42.2395833%;
  height: auto;
  aspect-ratio: 811 / 93;
}

.pc-notice .route-icon {
  left: 1.3563502%;
}

.notice-copy {
  position: absolute;
  left: 13.1935882%;
  top: 50%;
  display: flex;
  flex-direction: column;
  transform: translateY(-50%);
  white-space: nowrap;
}

.notice-copy strong {
  font-size: clamp(10px, 1.1458333vw, 22px);
}

.notice-copy small {
  margin-top: 2px;
  font-size: clamp(10px, 1.1458333vw, 22px);
}

.pc-notice .pc-tg-action {
  position: absolute;
  right: 4.5622688%;
  top: 50%;
  width: 22.0715166%;
  height: auto;
  transform: translateY(-50%);
}

.pc-notice .pc-tg-action img {
  width: 100%;
  height: 100%;
}

.pc-notice .pc-tg-action > a,
.pc-community .social > a,
.pc-qr-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.pc-footer {
  left: 16.1458333%;
  top: 75.0925926%;
  width: 68.2291667%;
  height: auto;
  aspect-ratio: 1310 / 201;
}

.pc-features {
  position: absolute;
  inset: 0;
}

.pc-features img {
  position: absolute;
  top: 50%;
  width: 6.1068702%;
  height: auto;
  transform: translateY(-50%);
}

.pc-features img:nth-child(1) {
  left: 7.2519084%;
}

.pc-features img:nth-child(2) {
  left: 20.9160305%;
}

.pc-features img:nth-child(3) {
  left: 34.5801527%;
}

.pc-features img:nth-child(4) {
  left: 48.2442748%;
}

.pc-community {
  position: absolute;
  left: 60.5343511%;
  top: 50%;
  width: 20.4580153%;
  height: auto;
  aspect-ratio: 268 / 166;
  transform: translateY(-50%);
}

.community-title,
.community-email-label,
.support-email {
  position: absolute;
  white-space: nowrap;
}

.pc-community .community-title {
  left: 37.3134328%;
  top: 8.4337349%;
  color: #87765a;
  font-size: clamp(8px, 0.8854167vw, 17px);
}

.pc-community .social {
  position: absolute;
  top: 27.1084337%;
  width: 15.2985075%;
  height: 24.6987952%;
}

.pc-community .social-tg {
  left: 32.0895522%;
}

.pc-community .social-x {
  left: 54.1044776%;
}

.social img {
  width: 100%;
  height: 100%;
}

.pc-community .community-email-label {
  left: 37.6865672%;
  top: 60.8433735%;
  color: #87765a;
  font-size: clamp(8px, 0.8854167vw, 17px);
}

.pc-community .support-email {
  left: 23.5074627%;
  top: 78.9156627%;
  width: 65%;
  overflow: hidden;
  color: #d1b547;
  font-size: clamp(7px, 0.78125vw, 15px);
  text-align: center;
  text-overflow: ellipsis;
}

.pc-qr {
  position: absolute;
  left: 85.8015267%;
  top: 50%;
  width: 9.4656489%;
  height: auto;
  aspect-ratio: 124 / 171;
  transform: translateY(-50%);
}

.pc-qr > img,
.mobile-qr > img {
  width: 100%;
  height: 100%;
}

.pc-qr .qr-code {
  position: absolute;
  left: 8.0645161%;
  top: 5.8479532%;
  width: 83.8709677% !important;
  height: 60.8187135% !important;
  border-radius: 5%;
  image-rendering: pixelated;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-content: center;
  justify-items: center;
  background: #050400 url("./assets/yowu/mobile-bg.webp") center / cover no-repeat;
  color: #d1b547;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.page-loader img {
  width: min(429px, 72vw);
  height: auto;
}

.page-loader p {
  margin: 18px 0 0;
  font-size: 13px;
  letter-spacing: 4px;
}

.loader-ring {
  width: 28px;
  height: 28px;
  margin-top: 16px;
  border: 2px solid rgba(209, 181, 71, 0.22);
  border-top-color: #d1b547;
  border-radius: 50%;
  animation: loader-spin 0.8s linear infinite;
}

.is-ready .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (orientation: portrait) {
  body {
    overflow: hidden;
  }

  .landing {
    height: 100vh;
    height: 100dvh;
  }

  .stage-pc {
    display: none;
  }

  .stage-bg {
    object-position: center top;
  }

  .stage-mobile {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    transform: translate(-50%, -50%);
  }

  .mobile-content {
    position: absolute;
    inset-block: 0;
    left: 50%;
    width: min(100%, 56.2218891vh);
    width: min(100%, 56.2218891dvh);
    container-type: inline-size;
    transform: translateX(-50%);
  }

  .mobile-logo {
    position: absolute;
    left: 21.3333333%;
    top: 1.3493253%;
    width: 57.2%;
    height: 11.1694153%;
  }

  .mobile-main,
  .mobile-backup,
  .mobile-notice,
  .mobile-feature-panel,
  .mobile-community-panel {
    position: absolute;
  }

  .mobile-main {
    left: 7.3333333%;
    top: 43.3283358%;
    display: flex;
    align-items: center;
    width: 85.3333333%;
    height: 6.6716642%;
    gap: clamp(5px, 1.6cqw, 12px);
    padding: 0 3.4375% 0 3.28125%;
  }

  .mobile-main .mobile-icon {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 11.71875%;
    height: 75.2808989%;
  }

  .mobile-route-copy {
    position: absolute;
    display: flex;
    flex-direction: column;
    white-space: nowrap;
  }

  .mobile-main .mobile-route-copy {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
  }

  .mobile-main .mobile-route-copy strong {
    display: inline;
    line-height: 1.08;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .mobile-route-heading {
    display: block;
    font-size: 0;
    line-height: 0;
  }

  .mobile-main .mobile-route-copy small {
    margin-left: 0.6666667cqw;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .mobile-route-copy strong,
  .mobile-notice-copy strong {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(9px, 2.9333333cqw, 22px);
    font-weight: 600;
    line-height: 1.22;
  }

  .mobile-route-copy small,
  .mobile-notice-copy small {
    color: #d1b547;
    font-size: clamp(8px, 2.4cqw, 18px);
    line-height: 1.3;
  }

  .mobile-badge {
    display: inline-block;
    width: 6cqw;
    height: 2.8cqw;
    margin-left: 1.2cqw;
    vertical-align: -0.4cqw;
  }

  .mobile-enter {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    margin-left: auto;
    color: #d1b547;
    font-size: clamp(8px, 2.2666667cqw, 17px);
    white-space: nowrap;
  }

  .mobile-arrow {
    position: absolute;
    width: 1.5106719%;
    height: 22.2123596%;
  }

  .mobile-main .mobile-arrow {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 1.5106719%;
    height: 22.2123596%;
  }

  .mobile-backups {
    position: absolute;
    left: 7.3333333%;
    top: 51.7241379%;
    display: flex;
    width: 85.3333333%;
    height: 7.1214393%;
    gap: 1.4666667%;
  }

  .mobile-backup {
    position: relative;
    flex: 1 1 0;
    height: 100%;
  }

  .mobile-backup .mobile-icon {
    position: absolute;
    left: 0.4854369%;
    top: 13.6842105%;
    width: 35.4368932%;
    height: 68.4210526%;
  }

  .mobile-backup .mobile-route-copy {
    inset: 0;
    box-sizing: border-box;
    justify-content: space-between;
    padding: 1.0666667cqw 0.5333333cqw 1.0666667cqw 8.9333333cqw;
    white-space: normal;
  }

  .mobile-backup .mobile-route-copy strong {
    flex: 0 0 auto;
    font-size: 2.1333333cqw;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .mobile-backup .mobile-route-copy small {
    flex: 0 1 auto;
    margin-top: 0;
    max-width: 100%;
    max-height: 2em;
    overflow: hidden;
    font-size: 1.8666667cqw;
    line-height: 1;
    overflow-wrap: anywhere;
    word-break: break-all;
    white-space: normal;
  }

  .mobile-backup .mobile-route-copy b {
    position: static;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    align-self: flex-start;
    margin: 0;
    color: #d1b547;
    font-size: 1.6cqw;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-backup .mobile-route-copy b::after {
    width: 0.9837347cqw;
    height: 1.7333333cqw;
    margin-left: 2cqw;
    background: url("./assets/yowu/mobile-backup-arrow.svg") center / 100% 100% no-repeat;
    content: "";
  }

  .mobile-backup .mobile-arrow {
    display: none;
  }

  .mobile-notice {
    left: 7.3333333%;
    top: 60.5697151%;
    width: 85.3333333%;
    height: 6.6716642%;
  }

  .mobile-notice .mobile-icon {
    position: absolute;
    left: 3.28125%;
    top: 12.3595506%;
    width: 11.71875%;
    height: 75.2808989%;
  }

  .mobile-notice-copy {
    position: absolute;
    left: 16.71875%;
    right: 29.0625%;
    top: 19.1011236%;
    display: flex;
    flex-direction: column;
    white-space: normal;
  }

  .mobile-notice-copy strong {
    font-size: clamp(8px, 2.4cqw, 18px);
    line-height: 3.7333333cqw;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .mobile-notice-copy small {
    margin-left: 0.8cqw;
    font-size: clamp(7px, 2.1333333cqw, 16px);
    line-height: 3.6cqw;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .mobile-notice .mobile-tg-action {
    position: absolute;
    right: 3.4375%;
    top: 31.4606742%;
    width: 22.8125%;
    height: 40.4494382%;
  }

  .mobile-notice .mobile-tg-action img {
    width: 100%;
    height: 100%;
  }

  .mobile-tg-action > a,
  .mobile-community-panel .social > a,
  .mobile-qr-link {
    position: absolute;
    inset: 0;
    z-index: 2;
  }

  .mobile-feature-panel {
    left: 7.3333333%;
    top: 68.9655172%;
    width: 85.3333333%;
    height: 13.4932534%;
  }

  .mobile-feature {
    position: absolute;
    top: 0;
    width: 11.25%;
    height: 100%;
    text-align: center;
    white-space: nowrap;
  }

  .mobile-feature img {
    position: absolute;
    left: 0.6944444%;
    top: 14.4444444%;
    width: 98.6111111%;
    height: 39.4444444%;
  }

  .mobile-feature strong,
  .mobile-feature small {
    position: absolute;
    left: 0;
    width: 100%;
    font-size: clamp(8px, 2.4cqw, 18px);
    line-height: clamp(13px, 4cqw, 30px);
  }

  .mobile-feature strong {
    top: 58.8888889%;
    color: #d1b547;
    font-weight: 600;
  }

  .mobile-feature small {
    top: 73.3333333%;
    color: #87765a;
    font-weight: 500;
  }

  .mobile-feature-panel .feature-one {
    left: 8.28125%;
  }

  .mobile-feature-panel .feature-two {
    left: 32.03125%;
  }

  .mobile-feature-panel .feature-three {
    left: 55.78125%;
  }

  .mobile-feature-panel .feature-three img {
    top: 13.8888889%;
  }

  .mobile-feature-panel .feature-four {
    left: 79.53125%;
  }

  .mobile-feature-panel .feature-four img {
    top: 13.3333333%;
  }

  .mobile-community-panel {
    left: 7.3333333%;
    top: 84.1829085%;
    width: 85.3333333%;
    height: 13.4932534%;
  }

  .mobile-community-panel .community-title {
    left: 22.1875%;
    top: 13.3333333%;
    color: #87765a;
    font-size: clamp(8px, 2.2666667cqw, 17px);
  }

  .mobile-community-panel .social {
    position: absolute;
    top: 27.2222222%;
    width: 6.40625%;
    height: 22.7777778%;
  }

  .mobile-community-panel .social > img {
    width: 100%;
    height: 100%;
  }

  .mobile-community-panel .social-tg {
    left: 20%;
  }

  .mobile-community-panel .social-x {
    left: 29.21875%;
  }

  .mobile-community-panel .community-email-label {
    left: 22.8125%;
    top: 60.5555556%;
    color: #87765a;
    font-size: clamp(8px, 2.2666667cqw, 17px);
  }

  .mobile-community-panel .support-email {
    left: 15.9375%;
    top: 76.6666667%;
    width: 29%;
    color: #d1b547;
    font-size: clamp(7px, 2cqw, 15px);
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
    word-break: break-word;
  }

  .mobile-qr {
    position: absolute;
    left: 71.71875%;
    top: 5.5555556%;
    width: 17.96875%;
    height: 88.3333333%;
  }

  .mobile-qr .qr-code {
    position: absolute;
    left: 8.6956522%;
    top: 6.2893082%;
    width: 82.6086957% !important;
    height: 59.7484277% !important;
    border-radius: 5%;
    image-rendering: pixelated;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing,
  .page-loader {
    transition: none;
  }

  .loader-ring {
    animation-duration: 1.6s;
  }
}
