:root {
  --page-bg: #5e2214;
  --text-primary: #fff;
  --mobile-dock-height: 174px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background: var(--page-bg);
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

a:focus-visible,
.h5-5:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

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

@media (min-width: 960px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .wrap-body {
    --u: calc(100vw / 1920);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #5e2214 url(../images/skin-pc-bg.webp?v=20260930-1) center top / cover no-repeat;
    color: #fff;
  }

  .grid-container-all {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    overflow: visible;
  }

  .h5-content {
    display: none;
  }

  .site-header {
    position: relative;
    z-index: 4;
    display: flex;
    flex: none;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    padding: calc(36 * var(--u)) calc(114 * var(--u)) 0 calc(80 * var(--u));
  }

  .pc-logo {
    width: calc(236 * var(--u));
    height: calc(96 * var(--u));
    margin-top: calc(2 * var(--u));
    max-width: none;
    object-fit: contain;
  }

  .contact-list-ar {
    display: flex;
    align-items: center;
    gap: calc(90 * var(--u));
  }

  .btnimg-ar {
    flex: none;
    overflow: visible;
  }

  .btnimg-ar:nth-child(1),
  .btnimg-ar:nth-child(2) {
    width: calc(243 * var(--u));
    height: calc(68 * var(--u));
  }

  .btnimg-ar:nth-child(3) {
    width: calc(244 * var(--u));
    height: calc(69 * var(--u));
  }

  .btnimg-ar a,
  .icon-img-ar {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: fill;
  }

  .hero {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    container-type: size;
    overflow: visible;
  }

  .hero-cluster {
    --u: min(calc(100cqw / 1920), calc(100cqh / 624));
    position: relative;
    width: calc(1920 * var(--u));
    padding: calc(19 * var(--u)) 0 calc(24 * var(--u)) calc(70 * var(--u));
  }

  .area {
    min-width: 0;
  }

  .area-2 .pic-pc {
    width: calc(989 * var(--u));
    height: calc(356 * var(--u));
    max-width: none;
    object-fit: fill;
  }

  .area-3 {
    position: absolute;
    z-index: 1;
    top: calc(-44 * var(--u));
    right: calc(45 * var(--u));
    width: calc(979 * var(--u));
    height: calc(971 * var(--u));
    pointer-events: none;
  }

  .area-3-icon-img-ar {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: fill;
  }

  .area-4 {
    position: relative;
    z-index: 3;
    margin-top: calc(25 * var(--u));
    margin-left: calc(28 * var(--u));
  }

  .qr-content {
    display: flex;
    align-items: flex-start;
    gap: calc(27 * var(--u));
  }

  .qr-left {
    flex: none;
    width: calc(200 * var(--u));
    height: calc(200 * var(--u));
    overflow: hidden;
    border-radius: calc(16 * var(--u));
    background: #fff;
  }

  .qr-code-bg,
  .qr-code,
  .qr-code canvas {
    width: 100% !important;
    height: 100% !important;
  }

  .qr-code {
    display: grid;
    place-items: center;
  }

  .qr-code canvas {
    width: 86% !important;
    height: auto !important;
    aspect-ratio: 1;
  }

  .pc-scan {
    flex: none;
    width: calc(26 * var(--u));
    height: calc(198 * var(--u));
    margin-top: calc(1 * var(--u));
    max-width: none;
    object-fit: fill;
  }

  .qr-left-right {
    width: calc(602 * var(--u));
    margin-top: calc(6 * var(--u));
  }

  .qr-and {
    font-size: calc(40 * var(--u));
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
  }

  .qr-and span {
    color: #f64d20;
  }

  .qr-left-title {
    margin-top: calc(16 * var(--u));
    font-size: calc(28 * var(--u));
    font-weight: 400;
    line-height: 1.4;
  }

  .tag-strips {
    --u: min(calc(100vw / 1920), calc(100dvh / 1140), calc(100vh / 1140));
    position: relative;
    z-index: 3;
    display: flex;
    flex: none;
    flex-direction: column;
    align-self: stretch;
    gap: calc(9 * var(--u));
    width: 100%;
    min-width: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .tag-strips img {
    max-width: none;
  }

  .pc-tag-row {
    display: flex;
    flex: none;
    gap: calc(11 * var(--u));
    margin-right: calc(11 * var(--u));
  }

  .pc-tag-card {
    position: relative;
    flex: none;
    width: calc(320 * var(--u));
    height: calc(182 * var(--u));
    overflow: hidden;
    border-radius: calc(10 * var(--u));
    background: #fff;
    box-shadow: inset 0 0 0 calc(2 * var(--u)) #f64d20;
  }

  .pc-tag-card img {
    position: absolute;
    left: calc(var(--x) * var(--u));
    top: calc(var(--y) * var(--u));
    width: calc(var(--w) * var(--u));
    height: calc(var(--h) * var(--u));
    margin: 0;
    object-fit: cover;
  }

  .pc-tag-card span {
    position: absolute;
    top: calc(120 * var(--u));
    right: 0;
    left: 0;
    color: #f64d20;
    font-size: calc(32 * var(--u));
    font-weight: 700;
    line-height: calc(42 * var(--u));
    text-align: center;
  }
}

.tag-marquee {
  width: 100%;
  overflow: hidden;
}

.tag-marquee-track {
  display: flex;
  width: max-content;
  animation: tag-marquee-left 48s linear infinite;
  will-change: transform;
}

.tag-marquee-track-reverse {
  animation-duration: 56s;
  animation-name: tag-marquee-right;
}

@keyframes tag-marquee-left {
  from {
    transform: translateX(0);
  }

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

@keyframes tag-marquee-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tag-marquee-track {
    animation: none;
  }
}

@media (max-width: 959px) {
  html,
  body {
    height: auto;
    overflow-y: auto;
    background: #401b12;
  }

  .wrap-body {
    --u: calc(100vw / 750);
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: #401b12;
  }

  .grid-container-all,
  .tag-strips {
    display: none;
  }

  .h5-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: calc(174 * var(--u) + env(safe-area-inset-bottom));
    overflow: visible;
    background: #401b12 url(../images/skin-h5-bg.webp?v=20260930-1) center top / cover no-repeat;
    color: #fff;
  }

  .h5-header {
    position: relative;
    z-index: 4;
    display: flex;
    flex: none;
    align-items: flex-start;
    justify-content: space-between;
    min-height: calc(90 * var(--u));
    padding: calc(17 * var(--u)) max(calc(14 * var(--u)), env(safe-area-inset-right)) 0 max(calc(22 * var(--u)), env(safe-area-inset-left));
  }

  .h5-logo {
    width: calc(180 * var(--u));
    height: calc(73 * var(--u));
    max-width: none;
    object-fit: contain;
  }

  .h5-1 {
    display: flex;
    align-items: center;
    gap: calc(8 * var(--u));
    margin-top: calc(12 * var(--u));
  }

  .h5-btnimg-ar a {
    display: block;
    height: calc(37 * var(--u));
  }

  .h5-btnimg-ar:nth-child(1) a,
  .h5-btnimg-ar:nth-child(3) a {
    width: calc(128 * var(--u));
  }

  .h5-btnimg-ar:nth-child(2) a {
    width: calc(129 * var(--u));
  }

  .h5-btnimg-ar img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: fill;
  }

  .h5-2 {
    position: relative;
    z-index: 1;
    flex: none;
    height: calc(745 * var(--u));
  }

  .h5-2 .pic-h5 {
    position: absolute;
    left: 50%;
    width: calc(708 * var(--u));
    height: auto;
    margin-top: calc(-22 * var(--u));
    max-width: none;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .h5-tabs {
    position: relative;
    z-index: 2;
    display: flex;
    flex: none;
    align-items: center;
    gap: calc(50 * var(--u));
    margin: 0;
    padding: 0 calc(42 * var(--u));
    list-style: none;
    color: #fff;
    font-size: max(12px, calc(30 * var(--u)));
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
  }

  .h5-3 {
    position: relative;
    z-index: 2;
    display: flex;
    flex: none;
    flex-direction: column;
    width: 100%;
    margin-top: calc(17 * var(--u));
    overflow: hidden;
  }

  .h5-3 .tag-marquee-track {
    animation-duration: 10s;
  }

  .h5-3 .tag-marquee-track-reverse {
    animation-duration: 12s;
  }

  .h5-cover-slice {
    flex: none;
    width: calc(659 * var(--u));
    height: calc(307 * var(--u));
    margin-right: calc(19 * var(--u));
    overflow: hidden;
  }

  .h5-cover-slice .pic-h5 {
    width: calc(659 * var(--u));
    height: calc(614 * var(--u));
    max-width: none;
  }

  .h5-cover-slice-bottom .pic-h5 {
    margin-top: calc(-307 * var(--u));
  }

  .h5-download-dock {
    position: fixed;
    z-index: 5;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: calc(174 * var(--u) + env(safe-area-inset-bottom));
    padding: calc(20 * var(--u)) 0 env(safe-area-inset-bottom);
    background: url(../images/skin-h5-bar.webp?v=20260930-1) center / 100% 100% no-repeat;
  }

  .h5-4-content {
    display: flex;
    align-items: center;
    gap: calc(43 * var(--u));
    width: 100%;
    padding-left: max(calc(66 * var(--u)), env(safe-area-inset-left));
    padding-right: env(safe-area-inset-right);
  }

  .h5-4-pd10 {
    display: none;
  }

  .h5-4-left a,
  .h5-4-right a {
    display: block;
    min-height: max(44px, calc(93 * var(--u)));
  }

  .h5-4-right a {
    width: calc(293 * var(--u));
  }

  .h5-4-left a {
    width: calc(289 * var(--u));
  }

  .h5-4-left img,
  .h5-4-right img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: fill;
  }

  .h5-5 {
    display: block;
    width: calc(167 * var(--u));
    height: calc(30 * var(--u));
    margin-top: calc(15 * var(--u));
    cursor: pointer;
  }

  .h5-5 img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: fill;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

.pwa-entry {
  position: fixed;
  display: none;
  bottom: calc(var(--mobile-dock-height) + env(safe-area-inset-bottom, 0px) + 12px);
  z-index: 30;
  right: max(calc((100vw - 750px) / 2 + 10px), 10px);
  flex-direction: column;
  align-items: center;
  width: min(18.6667vw, 140px);
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff3d6;
  cursor: pointer;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.pwa-entry[hidden] {
  display: none !important;
}

.pwa-entry-icon {
  position: relative;
  display: block;
  width: min(16vw, 120px);
  height: min(16vw, 120px);
  pointer-events: none;
}

.pwa-entry-icon img {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: min(17.3333vw, 130px);
  height: min(16.2667vw, 122px);
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
}

.pwa-entry > span:last-child {
  display: flex;
  width: 100%;
  height: min(6.4vw, 48px);
  align-items: center;
  justify-content: center;
  border: min(0.1333vw, 1px) solid #ff6464;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4949, #992c2c);
  box-shadow: 0 min(0.5333vw, 4px) min(0.2667vw, 2px) rgba(0, 0, 0, 0.25);
  font-size: min(3.2vw, 24px);
  font-weight: 500;
  letter-spacing: max(-0.128vw, -0.96px);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 959px) {
  .pwa-entry:not([hidden]) {
    display: flex;
    bottom: calc(174 * (100vw / 750) + env(safe-area-inset-bottom, 0px) + 12px);
  }
}
