* {
  padding: 0;
  margin: 0;
}

:root {
    --primary-color: #0052a0;
    --secondary-color: #215296;
    --letter-space: 2px;
}

@font-face {
    font-family: 'SofiaPro';
    src: url('/assets/font/SofiaPro-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('/assets/font/HarmonyOS_Sans_SC_Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans SC Light';
    src: url('/assets/font/HarmonyOS_Sans_SC_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'HarmonyOS Sans SC Medium';
    src: url('/assets/font/HarmonyOS_Sans_SC_Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'SofiaPro', 'HarmonyOS Sans SC','HarmonyOS Sans SC Light', sans-serif;
}

html {
    -webkit-text-size-adjust: 100%; /* 保持文本大小不变 */
    touch-action: manipulation; /* 禁用双击缩放 */
}

html,
body {
  width: 100%;
  height: 100%;
  position: relative;
}

input,select {
  border: none;
  position: relative;
  font-size: 1rem;
  line-height: 1.5rem;
  outline: 0;
}

textarea {
  border: none;
  outline: 0;
  box-shadow: inset 0px 0px 1px 0px;
}

input::placeholder,
textarea::placeholder {
  font-size: 0.8rem;
  color: #bababa;
}

.btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn-action .btn {
  width: 50%;
}

.tritan-logo {
  width: 6rem;
}

.tritan-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-mask {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);

  display: none;
}

select {
    border-radius: 0; /* 去除圆角 */
}

.font-light {
    font-family: 'HarmonyOS Sans SC Light';
}