* {
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
  width: 100%;
  height: 100%;
}

body {
  overflow-x: hidden;
  font-size: 16px;
}

uni-app,
uni-page,
uni-page-wrapper,
uni-page-body {
  display: block;
  box-sizing: border-box;
  width: 100%;
}

uni-page-wrapper {
  position: relative;
}

#app,
uni-app,
uni-page,
uni-page-wrapper {
  height: 100%;
}

/* toast,modal,actionSheet,picker,layout */
.uni-mask {
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* toast,modal,actionSheet,picker */
.uni-fade-enter-active,
.uni-fade-leave-active {
  transition-duration: 0.25s;
  transition-property: opacity;
  transition-timing-function: ease;
}

.uni-fade-enter-from,
.uni-fade-leave-active {
  opacity: 0;
}

.uni-loading,
uni-button[loading]:before {
  background-color: transparent;
  background-image: url('data:image/svg+xml;base64, PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=');
  background-repeat: no-repeat;
}

.uni-loading {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  animation: uni-loading 1s steps(12, end) infinite;
  background-size: 100%;
}

@keyframes uni-loading {
  0% {
    transform: rotate3d(0, 0, 1, 0deg);
  }

  100% {
    transform: rotate3d(0, 0, 1, 360deg);
  }
}

html {
  /* --UI-BG-0: #ededed; */
  --primary-color: #007aff;
  --UI-BG: #fff;
  --UI-BG-1: #f7f7f7;
  --UI-BG-2: #fff;
  --UI-BG-3: #f7f7f7;
  --UI-BG-4: #4c4c4c;
  --UI-BG-5: #fff;
  --UI-FG: #000;
  --UI-FG-0: rgba(0, 0, 0, 0.9);
  --UI-FG-HALF: rgba(0, 0, 0, 0.9);
  --UI-FG-1: rgba(0, 0, 0, 0.5);
  --UI-FG-2: rgba(0, 0, 0, 0.3);
  --UI-FG-3: rgba(0, 0, 0, 0.1);
}

uni-page[data-type] uni-page-body {
  background-color: transparent;
}
body::after {
  position: fixed;
  content: '';
  left: -1000px;
  top: -1000px;
  animation: shadow-preload 0.1s;
  animation-delay: 3s;
}

@keyframes shadow-preload {
  0% {
    background-image: url(https://cdn.dcloud.net.cn/img/shadow-grey.png);
  }
  100% {
    background-image: url(https://cdn.dcloud.net.cn/img/shadow-grey.png);
  }
}
.uni-async-error {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  color: #999;
  padding: 100px 10px;
  text-align: center;
}
.uni-async-loading {
  box-sizing: border-box;
  width: 100%;
  padding: 50px;
  text-align: center;
}

.uni-async-loading .uni-loading {
  width: 30px;
  height: 30px;
}
uni-page-head {
  display: block;
  box-sizing: border-box;
}

.uni-page-head {
  position: fixed;
  left: var(--window-left);
  right: var(--window-right);
  height: 44px;
  height: calc(44px + constant(safe-area-inset-top));
  height: calc(44px + env(safe-area-inset-top));
  padding: 7px 3px;
  padding-top: calc(7px + constant(safe-area-inset-top));
  padding-top: calc(7px + env(safe-area-inset-top));
  display: flex;
  overflow: hidden;
  justify-content: space-between;
  box-sizing: border-box;
  z-index: 998;
  color: #fff;
  background-color: #000;
  transition-property: all;
}

.uni-page-head * {
  box-sizing: border-box;
}

.uni-page-head .uni-btn-icon {
  overflow: hidden;
  min-width: 1em;
  font-style: normal;
}

.uni-page-head-titlePenetrate,
.uni-page-head-titlePenetrate .uni-page-head-bd,
.uni-page-head-titlePenetrate .uni-page-head-bd * {
  pointer-events: none;
}

.uni-page-head-titlePenetrate * {
  pointer-events: auto;
}

.uni-page-head.uni-page-head-transparent .uni-page-head-ft > div {
  justify-content: center;
}

.uni-page-head ~ .uni-placeholder {
  width: 100%;
  height: 44px;
  height: calc(44px + constant(safe-area-inset-top));
  height: calc(44px + env(safe-area-inset-top));
}

.uni-placeholder-titlePenetrate {
  pointer-events: none;
}

.uni-page-head-hd {
  display: flex;
  align-items: center;
  font-size: 16px;
}

.uni-page-head-bd {
  position: absolute;
  left: 70px;
  right: 70px;
  min-width: 0;
  -webkit-user-select: auto;
     -moz-user-select: auto;
          user-select: auto;
}

.uni-page-head-btn {
  position: relative;
  width: auto;
  margin: 0 2px;
  word-break: keep-all;
  white-space: pre;
  cursor: pointer;
  font-size: 0px;
}

/* .uni-page-head-btn svg {
} */

.uni-page-head-transparent .uni-page-head-btn {
  display: flex;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
}

.uni-page-head-btn-red-dot::after {
  content: attr(badge-text);
  position: absolute;
  right: 0;
  top: 0;
  background-color: red;
  color: white;
  width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 18px;
  overflow: hidden;
  transform: scale(0.5) translate(40%, -40%);
  transform-origin: 100% 0;
}

.uni-page-head-btn-red-dot[badge-text]::after {
  font-size: 12px;
  width: auto;
  min-width: 18px;
  max-width: 42px;
  text-align: center;
  padding: 0 3px;
  transform: scale(0.7) translate(40%, -40%);
}

.uni-page-head-btn-select svg {
  vertical-align: middle;
  margin-left: 2px;
  transform: rotate(270deg) scale(0.8);
}

.uni-page-head-search {
  position: relative;
  display: flex;
  flex: 1;
  margin: 0 2px;
  line-height: 30px;
  font-size: 15px;
}

.uni-page-head-search-input {
  width: 100%;
  height: 100%;
  padding-left: 34px;
  text-align: left;
}

.uni-page-head-search-input .uni-input-input:disabled {
  pointer-events: none;
}

.uni-page-head-search-placeholder {
  position: absolute;
  max-width: 100%;
  height: 100%;
  padding-left: 34px;
  overflow: hidden;
  word-break: keep-all;
  white-space: pre;
}

.uni-page-head-search-placeholder-right {
  right: 0;
}

.uni-page-head-search-placeholder-center {
  left: 50%;
  transform: translateX(-50%);
}

.uni-page-head-search-icon {
  position: absolute;
  top: 0;
  left: 2px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.uni-page-head-ft {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  font-size: 13px;
}

.uni-page-head__title {
  font-weight: bold;
  font-size: 16px;
  line-height: 30px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.uni-page-head__title .uni-loading {
  width: 16px;
  height: 16px;
  margin-top: -3px;
}

.uni-page-head__title .uni-page-head__title_image {
  width: auto;
  height: 26px;
  vertical-align: middle;
}

.uni-page-head-shadow {
  overflow: visible;
}

.uni-page-head-shadow::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 5px;
  background-size: 100% 100%;
}

uni-page-head[uni-page-head-type='default'] ~ uni-page-wrapper {
  height: calc(100% - 44px);
  height: calc(100% - 44px - constant(safe-area-inset-top));
  height: calc(100% - 44px - env(safe-area-inset-top));
}

.uni-page-head-shadow-grey::after {
  background-image: url('https://cdn.dcloud.net.cn/img/shadow-grey.png');
}

.uni-page-head-shadow-blue::after {
  background-image: url('https://cdn.dcloud.net.cn/img/shadow-blue.png');
}

.uni-page-head-shadow-green::after {
  background-image: url('https://cdn.dcloud.net.cn/img/shadow-green.png');
}

.uni-page-head-shadow-orange::after {
  background-image: url('https://cdn.dcloud.net.cn/img/shadow-orange.png');
}

.uni-page-head-shadow-red::after {
  background-image: url('https://cdn.dcloud.net.cn/img/shadow-red.png');
}

.uni-page-head-shadow-yellow::after {
  background-image: url('https://cdn.dcloud.net.cn/img/shadow-yellow.png');
}
            
uni-tabbar {
  display: block;
  box-sizing: border-box;
  width: 100%;
  z-index: 998;
}

.uni-tabbar {
  display: flex;
  z-index: 998;
  box-sizing: border-box;
}

.uni-tabbar-top,
.uni-tabbar-bottom,
.uni-tabbar-top .uni-tabbar,
.uni-tabbar-bottom .uni-tabbar {
  position: fixed;
  left: var(--window-left);
  right: var(--window-right);
}

.uni-app--showlayout + .uni-tabbar-top,
.uni-app--showlayout + .uni-tabbar-bottom,
.uni-app--showlayout + .uni-tabbar-top .uni-tabbar,
.uni-app--showlayout + .uni-tabbar-bottom .uni-tabbar {
  left: var(--window-margin);
  right: var(--window-margin);
}

.uni-tabbar-bottom .uni-tabbar {
  bottom: 0;
  padding-bottom: 0;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}

.uni-tabbar ~ .uni-placeholder {
  width: 100%;
  margin-bottom: 0;
  margin-bottom: constant(safe-area-inset-bottom);
  margin-bottom: env(safe-area-inset-bottom);
}

.uni-tabbar * {
  box-sizing: border-box;
}

.uni-tabbar__item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: 1;
  font-size: 0;
  text-align: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.uni-tabbar__bd {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.uni-tabbar__icon {
  position: relative;
  display: inline-block;
  margin-top: 5px;
}

.uni-tabbar__icon.uni-tabbar__icon__diff {
  margin-top: 0px;
  width: 34px;
  height: 34px;
}

.uni-tabbar__icon img {
  width: 100%;
  height: 100%;
}

.uni-tabbar__iconfont {
  font-family: 'UniTabbarIconFont';
}

.uni-tabbar__label {
  position: relative;
  text-align: center;
  font-size: 10px;
}

.uni-tabbar-border {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  transform: scaleY(0.5);
}

.uni-tabbar__reddot {
  position: absolute;
  top: 2px;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #f43530;
  color: #ffffff;
  transform: translate(40%, 0%);
}

.uni-tabbar__badge {
  width: auto;
  height: 16px;
  line-height: 16px;
  border-radius: 16px;
  min-width: 16px;
  padding: 0 2px;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}

.uni-tabbar__mid {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 0;
  background-size: 100% 100%;
}

.uni-app--showtabbar uni-page-wrapper {
  display: block;
  height: calc(100% - var(--tab-bar-height));
  height: calc(100% - var(--tab-bar-height) - constant(safe-area-inset-bottom));
  height: calc(100% - var(--tab-bar-height) - env(safe-area-inset-bottom));
}
uni-page[data-type] uni-page-wrapper {
  height: 100%;
}
.uni-app--showtabbar uni-page-wrapper::after {
  content: '';
  display: block;
  width: 100%;
  height: var(--tab-bar-height);
  height: calc(var(--tab-bar-height) + constant(safe-area-inset-bottom));
  height: calc(var(--tab-bar-height) + env(safe-area-inset-bottom));
}
.uni-app--showtabbar
  uni-page-head[uni-page-head-type='default']
  ~ uni-page-wrapper {
  height: calc(100% - 44px - var(--tab-bar-height));
  height: calc(
    100% - 44px - constant(safe-area-inset-top) - var(--tab-bar-height) -
      constant(safe-area-inset-bottom)
  );
  height: calc(
    100% - 44px - env(safe-area-inset-top) - var(--tab-bar-height) -
      env(safe-area-inset-bottom)
  );
}
uni-page-refresh {
  position: absolute;
  top: 0;
  width: 100%;
  height: 40px;
  display: block;
  box-sizing: border-box;
}

.uni-page-refresh {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.117647),
    0 1px 4px rgba(0, 0, 0, 0.117647);
  display: none;
  z-index: 997;
}

.uni-page-refresh-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.uni-page-refresh--pulling .uni-page-refresh,
.uni-page-refresh--aborting .uni-page-refresh,
.uni-page-refresh--reached .uni-page-refresh,
.uni-page-refresh--refreshing .uni-page-refresh,
.uni-page-refresh--restoring .uni-page-refresh {
  display: flex;
}

.uni-page-refresh--pulling .uni-page-refresh__spinner,
.uni-page-refresh--aborting .uni-page-refresh__spinner,
.uni-page-refresh--reached .uni-page-refresh__spinner,
.uni-page-refresh--refreshing .uni-page-refresh__icon,
.uni-page-refresh--restoring .uni-page-refresh__icon {
  display: none;
}

.uni-page-refresh--refreshing .uni-page-refresh__spinner {
  transform-origin: center center;
  animation: uni-page-refresh-rotate 2s linear infinite;
}

.uni-page-refresh--refreshing .uni-page-refresh__path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: uni-page-refresh-dash 1.5s ease-in-out infinite,
    uni-page-refresh-colorful 6s ease-in-out infinite;
}

@keyframes uni-page-refresh-rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes uni-page-refresh-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}
/**
 * 这里是uni-app内置的常用样式变量
 *
 * uni-app 官方扩展插件及插件市场（https://ext.dcloud.net.cn）上很多三方插件均使用了这些样式变量
 * 如果你是插件开发者，建议你使用scss预处理，并在插件代码中直接使用这些变量（无需 import 这个文件），方便用户通过搭积木的方式开发整体风格一致的App
 *
 */
/**
 * 如果你是App开发者（插件使用者），你可以通过修改这些变量来定制自己的插件主题，实现自定义主题功能
 *
 * 如果你的项目同样使用了scss预处理，你也可以直接在你的 scss 代码中使用如下变量，同时无需 import 这个文件
 */
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
/* 引入主题变量 */
/**
 * 主题 CSS 变量定义
 * 支持浅色模式和深色模式切换
 * 深色模式参考品宣方案设计风格
 */
/* ==================== 基础变量 ==================== */
:root {
  /* 浅色模式（默认） */
  /* 背景色 */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.8);
  --bg-glass-strong: rgba(255, 255, 255, 0.95);
  --bg-overlay: rgba(0, 0, 0, 0.5);
  --bg-input: #ffffff;
  --bg-hover: #f3f4f6;
  /* 文字颜色 */
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-tertiary: #999999;
  --text-placeholder: #c0c0c0;
  --text-link: #3b82f6;
  --text-inverse: #ffffff;
  /* 边框颜色 */
  --border-primary: #e5e7eb;
  --border-secondary: #f3f4f6;
  --border-focus: #3b82f6;
  /* 主题色 */
  --color-primary: #3b82f6;
  --color-primary-light: #60a5fa;
  --color-primary-dark: #2563eb;
  --color-secondary: #8b5cf6;
  --color-secondary-light: #a78bfa;
  --color-accent: #f59e0b;
  --color-accent-light: #fbbf24;
  /* 金融数据颜色 */
  --color-up: #ef4444;
  --color-up-bg: rgba(239, 68, 68, 0.1);
  --color-down: #22c55e;
  --color-down-bg: rgba(34, 197, 94, 0.1);
  --color-neutral: #6b7280;
  /* 股票市场颜色 */
  --color-sh: #ef4444; /* 上海-红 */
  --color-sz: #22c55e; /* 深圳-绿 */
  --color-bj: #f59e0b; /* 北京-橙 */
  /* 阴影 */
  --shadow-sm: 0 0.03125rem 0.0625rem rgba(0, 0, 0, 0.05);
  --shadow-md: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.12);
  --shadow-card: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.06);
  /* 玻璃拟态 */
  --glass-blur: 12px;
  --glass-border: rgba(255, 255, 255, 0.1);
  /* 导航栏 */
  --nav-bg: #ffffff;
  --nav-border: #f3f4f6;
  --nav-text: #1a1a1a;
  /* TabBar */
  --tabbar-bg: #ffffff;
  --tabbar-text: #999999;
  --tabbar-text-active: #3b82f6;
  /* 按钮颜色 */
  --btn-primary-bg: #3b82f6;
  --btn-primary-text: #ffffff;
  --btn-secondary-bg: #f3f4f6;
  --btn-secondary-text: #1a1a1a;
  --btn-danger-bg: #ef4444;
  --btn-danger-text: #ffffff;
  /* 输入框 */
  --input-bg: #ffffff;
  --input-border: #e5e7eb;
  --input-text: #1a1a1a;
  --input-placeholder: #c0c0c0;
  --input-focus-border: #3b82f6;
  /* 标签 */
  --tag-bg: #f3f4f6;
  --tag-text: #666666;
  --tag-border: transparent;
}
/* ==================== 深色模式 ==================== */
.dark-mode {
  /* 背景色 - 参考品宣方案深蓝黑 */
  --bg-primary: #020617;
  --bg-secondary: #0f172a;
  --bg-tertiary: #1e293b;
  --bg-card: rgba(30, 41, 59, 0.4);
  --bg-glass: rgba(30, 41, 59, 0.4);
  --bg-glass-strong: rgba(15, 23, 42, 0.8);
  --bg-overlay: rgba(0, 0, 0, 0.7);
  --bg-input: rgba(30, 41, 59, 0.6);
  --bg-hover: rgba(56, 189, 248, 0.1);
  /* 文字颜色 */
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --text-placeholder: #475569;
  --text-link: #60a5fa;
  --text-inverse: #020617;
  /* 边框颜色 */
  --border-primary: rgba(255, 255, 255, 0.1);
  --border-secondary: rgba(255, 255, 255, 0.05);
  --border-focus: #60a5fa;
  /* 主题色 - 深色模式下更亮 */
  --color-primary: #60a5fa;
  --color-primary-light: #93c5fd;
  --color-primary-dark: #3b82f6;
  --color-secondary: #a78bfa;
  --color-secondary-light: #c4b5fd;
  --color-accent: #fbbf24;
  --color-accent-light: #fcd34d;
  /* 金融数据颜色 - 深色模式柔和版 */
  --color-up: #f87171;
  --color-up-bg: rgba(248, 113, 113, 0.15);
  --color-down: #4ade80;
  --color-down-bg: rgba(74, 222, 128, 0.15);
  --color-neutral: #94a3b8;
  /* 股票市场颜色 - 保持一致 */
  --color-sh: #f87171;
  --color-sz: #4ade80;
  --color-bj: #fbbf24;
  /* 阴影 - 深色模式更深 */
  --shadow-sm: 0 0.03125rem 0.0625rem rgba(0, 0, 0, 0.3);
  --shadow-md: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.5);
  --shadow-card: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.3);
  /* 玻璃拟态 - 深色版 */
  --glass-blur: 16px;
  --glass-border: rgba(255, 255, 255, 0.15);
  /* 导航栏 */
  --nav-bg: rgba(15, 23, 42, 0.9);
  --nav-border: rgba(255, 255, 255, 0.1);
  --nav-text: #e2e8f0;
  /* TabBar */
  --tabbar-bg: rgba(15, 23, 42, 0.95);
  --tabbar-text: #64748b;
  --tabbar-text-active: #60a5fa;
  /* 按钮颜色 */
  --btn-primary-bg: #3b82f6;
  --btn-primary-text: #ffffff;
  --btn-secondary-bg: rgba(56, 189, 248, 0.15);
  --btn-secondary-text: #e2e8f0;
  --btn-danger-bg: #dc2626;
  --btn-danger-text: #ffffff;
  /* 输入框 */
  --input-bg: rgba(30, 41, 59, 0.6);
  --input-border: rgba(255, 255, 255, 0.1);
  --input-text: #e2e8f0;
  --input-placeholder: #64748b;
  --input-focus-border: #60a5fa;
  /* 标签 */
  --tag-bg: rgba(56, 189, 248, 0.15);
  --tag-text: #94a3b8;
  --tag-border: rgba(56, 189, 248, 0.3);
}
/* ==================== 通用主题类 ==================== */
/* 背景类 */
.bg-primary {
  background-color: var(--bg-primary);
}
.bg-secondary {
  background-color: var(--bg-secondary);
}
.bg-card {
  background-color: var(--bg-card);
}
.bg-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 0.03125rem solid var(--glass-border);
}
.bg-glass-strong {
  background: var(--bg-glass-strong);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 0.03125rem solid var(--glass-border);
}
/* 文字类 */
.text-primary {
  color: var(--text-primary);
}
.text-secondary {
  color: var(--text-secondary);
}
.text-tertiary {
  color: var(--text-tertiary);
}
.text-link {
  color: var(--text-link);
}
.text-up {
  color: var(--color-up);
}
.text-down {
  color: var(--color-down);
}
/* 边框类 */
.border-primary {
  border-color: var(--border-primary);
}
.border-secondary {
  border-color: var(--border-secondary);
}
/* 卡片基础样式 */
.theme-card {
  background-color: var(--bg-card);
  border: 0.03125rem solid var(--border-primary);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-card);
}
.theme-card-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 0.03125rem solid var(--glass-border);
  border-radius: 0.5rem;
}
/* 按钮样式 */
.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}
.btn-secondary {
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
}
.btn-danger {
  background-color: var(--btn-danger-bg);
  color: var(--btn-danger-text);
}
/* 输入框样式 */
.theme-input {
  background-color: var(--input-bg);
  border: 0.03125rem solid var(--input-border);
  color: var(--input-text);
}
.theme-input::-moz-placeholder {
  color: var(--input-placeholder);
}
.theme-input::placeholder {
  color: var(--input-placeholder);
}
.theme-input:focus {
  border-color: var(--input-focus-border);
}
/* 标签样式 */
.theme-tag {
  background-color: var(--tag-bg);
  color: var(--tag-text);
  border: 0.03125rem solid var(--tag-border);
}
/* 分割线 */
.theme-divider {
  height: 0.03125rem;
  background-color: var(--border-primary);
}
/* 股票代码标签 */
.stock-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  background: linear-gradient(135deg, var(--bg-glass), var(--bg-tertiary));
  border: 0.0625rem solid var(--color-primary);
  color: var(--color-primary-dark);
}
.stock-tag .market-badge {
  padding: 0.0625rem 0.25rem;
  border-radius: 0.125rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: #fff;
}
.stock-tag .market-badge.sh {
  background: var(--color-sh);
}
.stock-tag .market-badge.sz {
  background: var(--color-sz);
}
.stock-tag .market-badge.bj {
  background: var(--color-bj);
}
/* 涨跌标签 */
.change-up {
  color: var(--color-up);
  background: var(--color-up-bg);
  padding: 0.0625rem 0.25rem;
  border-radius: 0.125rem;
}
.change-down {
  color: var(--color-down);
  background: var(--color-down-bg);
  padding: 0.0625rem 0.25rem;
  border-radius: 0.125rem;
}
/* 霓虹光效边框（深色模式特有） */
.dark-mode .neon-border {
  box-shadow: 0 0 0.625rem rgba(56, 189, 248, 0.3), inset 0 0 0.625rem rgba(56, 189, 248, 0.1);
}
/* 网格背景（深色模式特有） */
.dark-mode .grid-bg {
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 0.03125rem, transparent 0.03125rem), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0.03125rem, transparent 0.03125rem);
  background-size: 1.5625rem 1.5625rem;
}
/* ==================== 高级视觉效果（深色模式） ==================== */
/* 渐变文字 */
.dark-mode .gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* 发光卡片 */
.dark-mode .glow-card {
  position: relative;
  overflow: hidden;
}
.dark-mode .glow-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: inherit;
  z-index: -1;
}
.dark-mode .glow-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  z-index: -2;
}
@keyframes rotate {
from {
    transform: rotate(0deg);
}
to {
    transform: rotate(360deg);
}
}
/* 数据卡片 - 金融科技风格 */
.dark-mode .data-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 0.03125rem solid rgba(56, 189, 248, 0.2);
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.3), inset 0 0.03125rem 0 rgba(255, 255, 255, 0.05);
}
.dark-mode .data-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.4), 0 0 0.625rem rgba(56, 189, 248, 0.2), inset 0 0.03125rem 0 rgba(255, 255, 255, 0.1);
}
/* AI 标识标签 */
.dark-mode .ai-badge {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(167, 139, 250, 0.2) 100%);
  border: 0.03125rem solid rgba(139, 92, 246, 0.3);
  color: #a78bfa;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 600;
}
/* 金融标识标签 */
.dark-mode .finance-badge {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
  border: 0.03125rem solid rgba(251, 191, 36, 0.3);
  color: #fbbf24;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 600;
}
/* 科技标识标签 */
.dark-mode .tech-badge {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(96, 165, 250, 0.2) 100%);
  border: 0.03125rem solid rgba(56, 189, 248, 0.3);
  color: #60a5fa;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 600;
}
/* 脉冲动画 */
@keyframes pulse-glow {
0%, 100% {
    box-shadow: 0 0 0.3125rem rgba(56, 189, 248, 0.3);
}
50% {
    box-shadow: 0 0 0.625rem rgba(56, 189, 248, 0.5);
}
}
.dark-mode .pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}
/* 浮动动画 */
@keyframes float {
0%, 100% {
    transform: translateY(0);
}
50% {
    transform: translateY(-0.3125rem);
}
}
.dark-mode .float-animation {
  animation: float 3s ease-in-out infinite;
}
/* 状态指示器 */
.dark-mode .status-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  display: inline-block;
}
.dark-mode .status-dot.active {
  background: #22c55e;
  box-shadow: 0 0 0.25rem rgba(34, 197, 94, 0.5);
}
.dark-mode .status-dot.warning {
  background: #f59e0b;
  box-shadow: 0 0 0.25rem rgba(245, 158, 11, 0.5);
}
.dark-mode .status-dot.error {
  background: #ef4444;
  box-shadow: 0 0 0.25rem rgba(239, 68, 68, 0.5);
}
/* 页面容器背景 */
.dark-mode .page-container {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  min-height: 100vh;
}
/* 列表项悬停效果 */
.dark-mode .list-item-hover {
  transition: all 0.3s ease;
}
.dark-mode .list-item-hover:hover {
  background: var(--bg-hover);
  transform: translateX(0.25rem);
}
/* 分割线渐变 */
.dark-mode .gradient-divider {
  height: 0.03125rem;
  background: linear-gradient(90deg, transparent 0%, var(--border-primary) 50%, transparent 100%);
}
/* 头部渐变背景 */
.dark-mode .header-gradient {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(251, 191, 36, 0.05) 100%);
}
/* 信息栏样式 */
.dark-mode .info-bar {
  background: var(--bg-glass);
  backdrop-filter: blur(var(--glass-blur));
  border-bottom: 0.03125rem solid var(--border-primary);
}
/* 操作按钮组 */
.dark-mode .action-buttons {
  display: flex;
  gap: 0.5rem;
}
.dark-mode .action-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.dark-mode .action-btn.primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 0.125rem 0.375rem rgba(59, 130, 246, 0.3);
}
.dark-mode .action-btn.primary:hover {
  transform: translateY(-0.0625rem);
  box-shadow: 0 0.1875rem 0.5rem rgba(59, 130, 246, 0.4);
}
.dark-mode .action-btn.secondary {
  background: var(--bg-glass);
  border: 0.03125rem solid var(--border-primary);
  color: var(--text-primary);
}
.dark-mode .action-btn.secondary:hover {
  background: var(--bg-hover);
  border-color: var(--color-primary);
}
/* 全局样式 */
uni-page-body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
body {
  background-color: var(--bg-primary);
}
/* 确保所有页面继承主题 */
.container,
uni-page-body > uni-view {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}
body {
  background-color: var(--bg-primary);
}
/* ========== PC 端全局适配（仅 H5，小程序不受影响） ========== */
/* 页面主体居中，避免撑满宽屏 */
uni-page-body {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
/* 顶部导航条 uni-page-head 居中限制宽度，与 tabBar 一致 */
@media (min-width: 769px) {
.uni-page-head {
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: auto !important;
    max-width: 1280px !important;
}
  /* PC 端去掉 uni-page-head 内置的返回箭头（浏览器原生后退即可） */
.uni-page-head-hd,
  .uni-page-head .uni-btn-icon[onClick*=back],
  .uni-page-head-hd .uni-page-head-btn {
    display: none !important;
}
  /* 标题居中 */
.uni-page-head .uni-page-head-bd {
    text-align: center;
    flex: 1;
}
}
/* PC 大屏：隐藏底部 tabBar（由 pc-top-nav 顶部导航接管） */
@media (min-width: 769px) {
.uni-tabbar-bottom,
  .uni-tabbar-top {
    display: none !important;
}
}
/* PC 大屏：profile 页面的管理入口由 pc-top-nav 接管，隐藏冗余菜单项 */
@media (min-width: 769px) {
.admin-only-mobile {
    display: none !important;
}
}
/* ========== iframe 嵌入模式（解决双滚动条） ==========
   触发：URL 加 ?embed=1，例如 https://aity88.online/?embed=1#/pages/messages/messages
   效果：
     1. body 高度自适应内容（不占满 iframe 视口），消除 iframe 外层滚动
     2. 取消 touch 高亮（嵌入场景无意义）
     3. 隐藏 page-head fixed 偏移（嵌入场景通常不需要固定头）
   不影响正常浏览（用户不加 ?embed=1 一切照旧） */
body.embed-mode,
body.embed-mode html {
  height: auto !important;
  min-height: 100% !important;
  overflow: visible !important;
}
body.embed-mode {
  -webkit-tap-highlight-color: transparent !important;
}
/* ========== 内嵌窄面板缩放（通达信等客户端内嵌小视口） ==========
   问题：页面按手机屏（750rpx 设计稿）设计，嵌入 500~700px 宽的面板时
        rpx 换算出的尺寸观感巨大（fab/标签/字号），且面板宽 <769px，
        之前的 min-width:769px PC 适配段不会触发。
   方案：embed 模式下整体 zoom 缩放，等效于把设计稿宽度压到 ~520px，
        所有页面所有组件一次性缩小，无需逐个覆盖。
   通达信内嵌为 Chromium 内核，zoom 支持良好；触摸/点击坐标同步缩放。 */
body.embed-mode {
  zoom: 0.7;
}
/* ========== 窄面板自动缩放（不依赖 URL 参数） ==========
   通达信等客户端内嵌面板视口约 431~768px（URL 未带 embed=1），
   手机竖屏最宽约 430px，下限设 431px 避免误伤真机。
   命中时整体缩小（zoom 0.7），观感与桌面信息密度协调。 */
@media (min-width: 431px) and (max-width: 768px) {
body {
    zoom: 0.7;
}
}