.tm-rect {
  position: relative;
}
.tm-rect-box {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
}

.tm-toast {
  position: fixed;
  color: #fff;
  bottom: 64px;
  width: 100%;
  z-index: 101;
  display: flex;
  justify-content: center;
}
.tm-toast .tm-toast-wrap {
  min-width: 100px;
  max-width: 260px;
  font-size: 14px;
  line-height: 20px;
  padding: 8px 16px;
  color: var(--textColorPrimary);
  border-radius: 18px;
  background-color: var(--colorToastBg);
  text-align: center;
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
}
.HarmonyOS .tm-toast .tm-toast-wrap {
  color: #fff;
}

.tm-message-box .tm-msg-box-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--colorControlNormal);
  z-index: 100;
}
.tm-message-box .tm-msg-box-wrapper {
  position: fixed;
  background-color: var(--colorDialogBg);
  left: 0;
  right: 0;
  bottom: 0;
  margin: 24px;
  z-index: 101;
  border-radius: 8px;
  justify-content: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}
.tm-message-box .msg-box-title {
  padding: 16px 24px;
  line-height: 24px;
  font-size: 20px;
  color: var(--textColorAlertDialogListItem);
  font-size: 600;
}
.tm-message-box .msg-box-title + .msg-box-content {
  padding-top: 0;
}
.tm-message-box .msg-box-content {
  padding: 24px 24px 0;
  line-height: 24px;
  font-size: 16px;
}
.tm-message-box .msg-box-actions {
  margin-top: 8px;
  padding: 12px;
  display: flex;
}
.tm-message-box .msg-box-actions .msg-box-btn {
  flex: 1;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 24px;
  padding: 4px;
  outline: none;
  border: none;
  background-color: transparent;
  border-radius: 4px;
  color: var(--textColorPrimaryActivated);
}
.tm-message-box .msg-box-actions .msg-box-btn:active {
  background-color: var(--btn_borderless_bg_color_pressed);
}
.tm-message-box .msg-box-actions .msg-box-btn.primary {
  color: var(--textColorPrimaryInverse);
  background-color: var(--colorAccent);
}
.tm-message-box .msg-box-actions .msg-box-btn.primary:active {
  background-color: var(--btn_emphasis_bg_color_pressed);
}
.tm-message-box .msg-box-actions .msg-box-btn + .msg-box-btn {
  margin-left: 16px;
  position: relative;
}
.tm-message-box .msg-box-actions .msg-box-btn + .msg-box-btn::before {
  content: '';
  height: 24px;
  width: 1px;
  position: absolute;
  left: -8px;
  top: 4px;
  background-color: var(--listDivider);
}
@media (min-width: 600px) {
.tm-message-box .tm-msg-box-wrapper {
    width: 430px;
    left: calc(50% - 24px);
    transform: translateX(-50%);
}
}

.tm-figure {
  background-color: rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.tm-figure .figure-wrap img {
  position: absolute;
  left: 0;
  top: 0;
}
.tm-figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s;
}
.tm-figure.loaded img {
  opacity: 1;
}

.tm-icon {
  display: inline-block;
  vertical-align: top;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
  outline: 0;
}
.tm-icon svg {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  height: 100%;
}

.tm-icon-loading {
  display: inline-block;
  vertical-align: top;
}
@keyframes tm-zoom-loading {
0% {
    transform: scale(1);
}
25% {
    transform: scale(1);
}
50% {
    transform: scale(2);
}
75% {
    transform: scale(1);
}
100% {
    transform: scale(1);
}
}
.tm-icon-loading .tm-loading-icon {
  width: 0.8em;
  height: 0.8em;
  font-size: 100px;
  position: relative;
  display: block;
  transform-origin: 0 0;
}
.tm-icon-loading .tm-loading-icon .dot {
  position: absolute;
  width: 0.06em;
  height: 0.06em;
  border-radius: 50%;
  background-color: currentColor;
  animation: tm-zoom-loading 1s infinite linear;
}
.tm-icon-loading .tm-loading-icon .dot:nth-child(1) {
  left: 0.37em;
  top: 0.07em;
  animation-delay: -1s;
}
.tm-icon-loading .tm-loading-icon .dot:nth-child(2) {
  left: 0.52em;
  top: 0.11019238em;
  animation-delay: -0.91666667s;
}
.tm-icon-loading .tm-loading-icon .dot:nth-child(3) {
  left: 0.62980762em;
  top: 0.22em;
  animation-delay: -0.83333333s;
}
.tm-icon-loading .tm-loading-icon .dot:nth-child(4) {
  left: 0.67em;
  top: 0.37em;
  animation-delay: -0.75s;
}
.tm-icon-loading .tm-loading-icon .dot:nth-child(5) {
  left: 0.62980762em;
  top: 0.52em;
  animation-delay: -0.66666667s;
}
.tm-icon-loading .tm-loading-icon .dot:nth-child(6) {
  left: 0.52em;
  top: 0.62980762em;
  animation-delay: -0.58333333s;
}
.tm-icon-loading .tm-loading-icon .dot:nth-child(7) {
  left: 0.37em;
  top: 0.67em;
  animation-delay: -0.5s;
}
.tm-icon-loading .tm-loading-icon .dot:nth-child(8) {
  left: 0.22em;
  top: 0.62980762em;
  animation-delay: -0.41666667s;
}
.tm-icon-loading .tm-loading-icon .dot:nth-child(9) {
  left: 0.11019238em;
  top: 0.52em;
  animation-delay: -0.33333333s;
}
.tm-icon-loading .tm-loading-icon .dot:nth-child(10) {
  left: 0.07em;
  top: 0.37em;
  animation-delay: -0.25s;
}
.tm-icon-loading .tm-loading-icon .dot:nth-child(11) {
  left: 0.11019238em;
  top: 0.22em;
  animation-delay: -0.16666667s;
}
.tm-icon-loading .tm-loading-icon .dot:nth-child(12) {
  left: 0.22em;
  top: 0.11019238em;
  animation-delay: -0.08333333s;
}

.app-loadmore {
  margin-top: 16px;
  height: 40px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.app-loadmore .label {
  line-height: 18px;
  margin-left: 6px;
}
.app-loadmore .app-loadmore-icon {
  color: var(--textColorSecondary);
}

.tm-fade-up-enter-active,
.tm-fade-up-leave-active {
  transition: all 0.3s ease;
}
.tm-fade-up-enter,
.tm-fade-up-leave-to {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
}
.tm-pull-down {
  position: absolute;
  left: 50%;
  top: auto;
  margin-top: -48px;
  z-index: 101;
  width: 40px;
  height: 40px;
  margin-left: -24px;
  background: var(--colorBackgroundAlpha);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
}
.tm-pull-down .emui-loading-icon {
  flex-shrink: 0;
  font-size: 80px;
  color: var(--colorPrimary);
  transform: scale(0.5);
}
.tm-no-scroll,
.tm-no-scroll body {
  overflow: hidden !important;
}
.tm-no-scroll body {
  position: relative;
}

/*** 浅色模式 默认模式 ***/
:root,
[app-theme="light"] {
  --colorForeground: #000;
  --colorForgroundInverse: #fff;
  --colorBackground: #fff;
  --colorAccent: #007dff;
  --colorAccentInverse: rgba(255, 13, 159, 0.98);
  --colorError: #fa2a2d;
  --colorWarning: #ff7500;
  --colorHandup: #fa2a2d;
  --colorConnected: #41ba41;
  --colorVip: #cea662;
  --colorVipBusiness: #754C15;
  --colorVipYoung: #4EA2A1;
  --colorVipText: #0a59f7;
  --popupBackground: #fff;
  --colorSubheaderDivider: rgba(0, 0, 0, 0.03);
  --listDivider: rgba(0, 0, 0, 0.2);
  --colorControlNormal: rgba(0, 0, 0, 0.1);
  --colorPopupNormal: rgba(0, 0, 0, 0.4);
  --colorButtonNormal: rgba(0, 0, 0, 0.05);
  --colorDialogBg: #fff;
  --colorCardBg: #ffffff;
  --colorControlActivated: #007dff;
  --colorCardBgShadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  --textColorPrimaryActivated: #007dff;
  --textColorPrimary: rgba(0, 0, 0, 0.9);
  --textColorPrimaryInverse: #fff;
  --textColorSecondary: rgba(0, 0, 0, 0.6);
  --textColorSecondaryInverse: rgba(255, 255, 255, 0.6);
  --textColorTertiary: rgba(0, 0, 0, 0.4);
  --textColorTertiaryInverse: rgba(255, 255, 255, 0.38);
  --textColorAlertDialogListItem: var(--textColorPrimary);
  --colorPrimary: rgba(0, 0, 0, 0.9);
  --textColorPrimaryNegative: #fff;
  --btn_emphasis_bg_color_pressed: #0063cc;
  --btn_borderless_bg_color_pressed: rgba(0, 0, 0, 0.05);
  --colorToastBg: rgba(217, 217, 217, 0.95);
  --toggle_bg_color_checked: rgba(0, 125, 255, 0.2);
  --toggle_bg_color_normal: rgba(0, 0, 0, 0.05);
  --flag_bg_color: rgba(0, 0, 0, 0.3);
  --colorBackgroundAlpha: rgba(255, 255, 255, 0.9);
  --common_border_radius: 16px;
  --color_search_bg: rgba(0, 0, 0, 0.05);
  --color_input_bg: rgba(0, 0, 0, 0.05);
  --text_bg_color: rgba(0, 0, 0, 0.5);
  --checkbox_bg_color: rgba(255, 255, 255, 0.4);
  --checkbox_border_color: rgba(0, 0, 0, 0.4);
}
.HarmonyOS {
  --colorBackground: #f1f3f5;
  --colorAccent: #0A59F7;
  --toggle_bg_color_checked: rgba(10, 89, 247, 0.2);
  --colorBackgroundAlpha: rgba(241, 243, 245, 0.9);
  --textColorPrimaryActivated: #0A59F7;
  --color_search_bg: #fff;
  --color_input_bg: #fff;
  --colorToastBg: rgba(77, 77, 77, 0.95);
}
/*** 荣耀高亮色 ***/
.brand-honor {
  --colorAccent: #00b5e2;
  --textColorPrimaryActivated: #00b5e2;
  --toggle_bg_color_checked: rgba(0, 181, 226, 0.2);
}
/*** nova高亮色 ***/
.brand-nova {
  --colorAccent: #596fe1;
  --textColorPrimaryActivated: #596fe1;
  --toggle_bg_color_checked: rgba(89, 111, 225, 0.2);
}
/*** 深色模式 ***/
[app-theme="dark"] {
  --colorForeground: #fff;
  --colorForgroundInverse: #e5e5e5;
  --colorBackground: #000;
  --colorAccent: #006cde;
  --colorAccentInverse: #006cde;
  --colorError: #e64548;
  --colorWarning: #ba5500;
  --colorHandup: #e64548;
  --colorConnected: #007900;
  --colorVip: #cea662;
  --colorVipBusiness: #754C15;
  --colorVipBusiness2: #A78871;
  --colorVipYoung: #4EA2A1;
  --colorVipText: #5291ff;
  --popupBackground: #202224;
  --colorSubheaderDivider: rgba(255, 255, 255, 0.1);
  --listDivider: rgba(255, 255, 255, 0.2);
  --colorControlNormal: rgba(255, 255, 255, 0.1);
  --colorPopupNormal: rgba(0, 0, 0, 0.4);
  --colorButtonNormal: rgba(255, 255, 255, 0.1);
  --colorDialogBg: #262626;
  --colorCardBg: #404040;
  --colorControlActivated: #006cde;
  --textColorPrimaryActivated: #007dff;
  --textColorPrimary: rgba(255, 255, 255, 0.86);
  --textColorPrimaryInverse: #fff;
  --textColorSecondary: rgba(255, 255, 255, 0.6);
  --textColorSecondaryInverse: rgba(255, 255, 255, 0.6);
  --textColorTertiary: rgba(255, 255, 255, 0.6);
  --textColorTertiaryInverse: rgba(255, 255, 255, 0.38);
  --textColorAlertDialogListItem: var(--textColorPrimary);
  --colorPrimary: rgba(255, 255, 255, 0.86);
  --textColorPrimaryNegative: rgba(0, 0, 0, 0.9);
  --btn_emphasis_bg_color_pressed: #0063cc;
  --btn_borderless_bg_color_pressed: rgba(255, 255, 255, 0.05);
  --colorToastBg: rgba(217, 217, 217, 0.95);
  --toggle_bg_color_checked: rgba(0, 108, 222, 0.38);
  --toggle_bg_color_normal: rgba(255, 255, 255, 0.15);
  --flag_bg_color: rgba(255, 255, 255, 0.3);
  --colorBackgroundAlpha: rgba(0, 0, 0, 0.9);
  --color_search_bg: rgba(255, 255, 255, 0.1);
  --color_input_bg: rgba(255, 255, 255, 0.1);
  --text_bg_color: rgba(255, 255, 255, 0.5);
  --checkbox_bg_color: rgba(0, 0, 0, 0.4);
  --checkbox_border_color: rgba(255, 255, 255, 0.4);
}
[app-theme="dark"].brand-huawei.HarmonyOS {
  --colorAccent: #5291ff;
  --colorBackground: #000;
  --toggle_bg_color_checked: rgba(49, 122, 247, 0.38);
  --toggle_bg_color_normal: rgba(255, 255, 255, 0.15);
  --textColorPrimaryActivated: #5291ff;
  --color_search_bg: #4d4d4d;
  --colorToastBg: rgba(77, 77, 77, 0.95);
}
[app-theme="newyear"] {
  --colorBackground: #fff9f9;
  --toggle_bg_color_checked: #d8221e;
  --toggle_bg_color_normal: #c6bfbc;
  --colorAccent: #da312d;
  --textColorPrimaryActivated: #da312d;
  --textColorPrimary: rgba(218, 48, 45, 0.9);
  --textColorSecondary: rgba(218, 48, 45, 0.7);
  --textColorTertiary: rgba(218, 48, 45, 0.38);
  --colorButtonNormal: rgba(255, 255, 255, 0.5);
  --colorVip: #eb9c18;
  --colorVipBusiness: #754C15;
  --colorVipYoung: #4EA2A1;
  --color_search_bg: rgba(255, 255, 255, 0.5);
  --color_input_bg: rgba(255, 255, 255, 0.5);
}
[app-theme="doublefestival"] {
  --colorBackground: #FFFFFF;
  --toggle_bg_color_checked: #BB2829;
  --toggle_bg_color_normal: #D5CFCF;
  --textColorPrimary: #5B1819;
  --textColorSecondary: rgba(91, 24, 25, 0.6);
}
[app-theme="newyear2022"] {
  --textColorPrimary: rgba(0, 0, 0, 0.9);
  --textColorSecondary: rgba(0, 0, 0, 0.6);
  --textColorTertiary: rgba(0, 0, 0, 0.38);
  --colorAccent: #e35033;
  --textColorPrimaryActivated: #e35033;
  --toggle_bg_color_checked: #e43f24;
  --toggle_bg_color_normal: #c6bfbc;
  --colorVip: #ff9c00;
  --colorVipBusiness: #754C15;
  --colorVipYoung: #4EA2A1;
}
[app-theme="midautumn"] {
  --toggle_bg_color_checked: linear-gradient(90deg, #f8c681 1%, #eca74e 100%);
  --toggle_bg_color_normal: #c6bfbc;
  --textColorPrimary: #533d23;
  --colorBackground: #fff;
  --navsBackground: #fee9cc;
  --navColor: #fff;
}
[app-theme="nationalday"] {
  --toggle_bg_color_checked: -webkit-linear-gradient(top, #FF5731, #FF8B70);
  --toggle_bg_color_normal: #D1C8C8;
  --navsBackground: #ff9781;
  --navColor: #fff;
}


body[class*='HarmonyOS'] {
    font-family: HarmonyHeiTi;
}
.appleave {
    animation-name: appleave;
    animation-duration: 0.3s;
}
@keyframes appleave {
0% {
      opacity: 1;
}
100% {
      opacity: 0;
}
}

/* 基础设置
   ========================================================================== */

/* 设置行高，提升所有浏览器的显示效果 */
html {
  line-height: 1.15;
  /* 防止iOS设备旋转时字体大小自动调整 */
  -webkit-text-size-adjust: 100%;
}

/* 去除页面默认边距 */
body {
  margin: 0;
}

/* 确保IE浏览器正确显示main标签 */
main {
  display: block;
}

/* 调整h1标签的字体大小和边距，确保在各浏览器中的一致性 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* 分组内容设置
   ========================================================================== */

/* 设置hr标签的样式，确保在各浏览器中正确显示 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/* 设置pre标签的字体和大小，确保代码块正确显示 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* 文本级别语义
   ========================================================================== */

/* 去除IE浏览器中活动链接的灰色背景 */
a {
  background-color: transparent;
}

/* 设置缩写标签的样式，确保在各浏览器中正确显示下划线 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/* 设置粗体标签的字体粗细 */
b,
strong {
  font-weight: bolder;
}

/* 设置代码、键盘和样本文本的字体和大小 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* 设置小号字体的大小 */
small {
  font-size: 80%;
}

/* 设置上下标字体的大小和对齐方式 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* 嵌入式内容
   ========================================================================== */

/* 去除链接中图片的默认边框 */
img {
  border-style: none;
}

/* 表单元素设置
   ========================================================================== */

/* 设置表单元素的字体和大小，去除默认边距 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/* 确保IE和Edge浏览器中按钮和输入框的溢出内容可见 */
button,
input {
  overflow: visible;
}

/* 去除Edge、Firefox和IE浏览器中文本转换的继承 */
button,
select {
  text-transform: none;
}

/* 确保iOS和Safari浏览器中按钮的样式正确 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/* 去除Firefox浏览器中按钮的内边框和填充 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/* 恢复Firefox浏览器中按钮的焦点样式 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/* 调整fieldset标签的内边距 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/* 设置legend标签的样式，确保在IE浏览器中正确显示 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/* 调整进度条的垂直对齐方式 */
progress {
  vertical-align: baseline;
}

/* 去除IE 10+浏览器中文本区域的默认滚动条 */
textarea {
  overflow: auto;
}

/* 设置复选框和单选按钮的样式，确保在IE 10中正确显示 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/* 调整数字输入框的增减按钮样式 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/* 设置搜索框的样式，确保在Chrome和Safari中正确显示 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/* 去除Chrome和Safari中搜索框的内边填充 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/* 确保iOS和Safari浏览器中文件上传按钮的样式正确 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* 交互式元素
   ========================================================================== */

/* 确保详情摘要标签在Edge、IE 10+和Firefox中正确显示 */
details {
  display: block;
}

/* 确保摘要标签在所有浏览器中正确显示 */
summary {
  display: list-item;
}

/* 其他设置
   ========================================================================== */

/* 确保IE 10+浏览器中模板标签正确显示 */
template {
  display: none;
}

/* 确保IE 10浏览器中隐藏属性正确显示 */
[hidden] {
  display: none;
}
/* base */
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  box-sizing: border-box;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
body {
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--colorBackground);
  color: var(--textColorPrimary);
}
*,
:after,
:before {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
img {
  vertical-align: top;
}

