* {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

body,
html {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    color: #333;
    font-family: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', '微软雅黑', Arial, sans-serif;
}

ul,
li {
    list-style: none;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
ul,
li,
ol,
th,
td {
    margin: 0;
    padding: 0;
}

body,
button,
input,
select,
textarea {
    font: 12px/1.5tahoma, arial, 5b8b4f53;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
}

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

address,
cite,
dfn,
em,
var {
    font-style: normal;
}

code,
kbd,
pre,
samp {
    font-family: couriernew, courier, monospace;
}

ul,
ol {
    list-style: none;
}

sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

legend {
    color: #000;
}

fieldset,
img {
    border: 0;
}

button,
input,
select,
textarea {
    font-size: 100%;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}
body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}
.common-title {
  font-weight: 500;
  font-size: 0.36rem;
  color: #ff4b91;
  text-align: center;
  padding: 0.4rem 0 0.32rem;
}
.container {
  margin: 0 auto;
  max-width: 7.5rem;
  min-width: 3.5rem;
  -webkit-overflow-scrolling: touch;
  user-select: none;
}
.w1200 {
  margin: 0 auto;
}
.mb-40 {
  margin-bottom: 0.4rem;
}
.pb-60 {
  padding-bottom: 0.6rem;
}
.mb-24 {
  margin-bottom: 0.24rem;
}

.header {
  width: 100%;
  height: 0.88rem;
  background: transparent;
}
.header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  box-shadow: 0 0.02rem 0.04rem rgba(0, 0, 0, 0.1);
  z-index: 999;
}
.header__container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.header__logo {
  width: 1.88rem;
  height: 0.36rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header__logo img {
  width: 100%;
  height: 100%;
}
.header__menu {
  position: absolute;
  right: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.5rem;
  height: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.header__menu img {
  width: 0.34rem;
  height: 0.34rem;
  transition: transform 0.3s ease;
}
.header__menu.active img {
  transform: rotate(90deg);
}
.header-placeholder {
  height: 0.88rem;
  width: 100%;
}
.header__nav {
  position: fixed;
  top: 0.88rem;
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background-color: #FAFAFC;
  z-index: 998;
  box-shadow: 0 0.04rem 0.08rem rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 0;
  -webkit-overflow-scrolling: touch;
}
.header__nav.active {
  max-height: 80vh;
  transform: translateY(0);
  opacity: 1;
  overflow-y: auto;
}
.header__nav.active::-webkit-scrollbar {
  width: 4px;
}
.header__nav.active::-webkit-scrollbar-track {
  background: transparent;
}
.header__nav.active::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}
.header__nav-item {
  transition: background-color 0.2s ease;
}
.header__nav-item:active {
  background-color: #f5f5f5;
}
.header__nav-link {
  display: block;
  width: 100%;
  padding: 0.15rem 0;
  font-size: 0.44rem;
  color: #333;
  text-decoration: none;
  position: relative;
  text-align: center;
}
.header__nav-link.active {
  color: #FF4B91;
}
.header__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.header__overlay.active {
  opacity: 1;
  visibility: visible;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.header__nav.active .header__nav-item {
  animation: fadeInUp 0.3s ease forwards;
}
.header__nav.active .header__nav-item:nth-child(1) {
  animation-delay: 0.05s;
}
.header__nav.active .header__nav-item:nth-child(2) {
  animation-delay: 0.1s;
}
.header__nav.active .header__nav-item:nth-child(3) {
  animation-delay: 0.15s;
}
.header__nav.active .header__nav-item:nth-child(4) {
  animation-delay: 0.2s;
}
.header__nav.active .header__nav-item:nth-child(5) {
  animation-delay: 0.25s;
}
.header__nav.active .header__nav-item:nth-child(6) {
  animation-delay: 0.3s;
}
.header__nav.active .header__nav-item:nth-child(7) {
  animation-delay: 0.35s;
}
.header__nav.active .header__nav-item:nth-child(8) {
  animation-delay: 0.4s;
}
.header__nav.active .header__nav-item:nth-child(9) {
  animation-delay: 0.45s;
}
.header__nav.active .header__nav-item:nth-child(10) {
  animation-delay: 0.5s;
}

.footer-wrap {
  background-color: #f8f8f8;
  padding: 0.2rem 0.36rem;
  width: 100%;
}
.footer-content {
  width: 100%;
  margin: 0 auto;
  padding: 0 0.3rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.footer-logo {
  display: flex;
  align-items: flex-start;
  margin-right: 0.16rem;
}
.footer-logo .footer-logo-img {
  width: 1.2rem;
  height: 0.23rem;
}
.footer-info {
  text-align: left;
  font-size: 0.2rem;
  color: #666;
  line-height: 1.5;
}
.footer-info-item {
  display: block;
  margin-bottom: 0.08rem;
  text-decoration: none;
  color: #666;
  transition: color 0.2s ease;
}
.footer-info-item:last-child {
  margin-bottom: 0;
}
.footer-info-item:active {
  opacity: 0.8;
}
.license-item {
  margin-right: 0.12rem;
}
.license-number {
  letter-spacing: 0.02rem;
}
.footer-info-item,
.footer-logo-img {
  transition: all 0.3s ease;
}
.footer-info-item {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  transition: opacity 0.3s ease;
}
.modal-content {
  position: relative;
  width: 7.1rem;
  max-height: 80%;
  margin: 40px auto;
  background: #fff;
  border-radius: 0.2rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease-out;
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 关闭按钮 */
.modal-close {
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  width: 0.5rem;
  height: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close img {
  width: 0.32rem;
  height: 0.32rem;
  display: block;
}
/* 内容区域 */
.modal-body {
  text-align: center;
  overflow: auto;
  max-height: calc(90vh - 80px);
  padding-bottom: 1rem;
}
/* 图片样式 */
.modal-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0.2rem;
}
/* 自定义 HTML 内容 */
.modal-html {
  line-height: 1.6;
  color: #333;
  font-size: 16px;
}
.modal-html img {
  display: block;
  max-width: 100%;
}
.modal-title {
  font-weight: 500;
  font-size: 0.36rem;
  color: #000000;
  text-align: center;
  padding: 0.28rem 0;
  border-bottom: 1px solid #E0E0E0;
  position: relative;
}
/* 全局设置滚动条宽度 */
* {
  scrollbar-width: thin;
  /* For Firefox */
  scrollbar-color: #888 transparent;
  /* 滚动条颜色和轨道颜色 */
}
/* WebKit-based browsers (Chrome, Safari, Edge) */
/* 定义滚动条整体宽度和背景色 */
::-webkit-scrollbar {
  width: 8px;
}
/* 定义滚动条滑块的颜色和圆角 */
::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}
/* 当鼠标悬停在滚动条上时 */
::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}
/* 定义滚动条轨道的颜色 */
::-webkit-scrollbar-track {
  background-color: transparent;
}
/* 如果需要也可以设置滚动条两端按钮的样式 */
::-webkit-scrollbar-button {
  display: none;
}

