#app {
  width: 100%;
  height: 100vh;
}
:root {
  /* 主题色 */
  --primary-color: #0097ed;
  --primary-hover: #3498db;
  --primary-active: #2980b9;
  --primary-light: #ecf5ff;
  --primary-lighter: #d9ecff;
  --success-color: #17a34a;
  --warning-color: #e6a23c;
  --danger-color: #f56c6c;
  --info-color: #909399;
  /* 文字颜色 */
  --text-primary: #1a202c;
  --text-dark: #2a313c;
  --text-regular: #606266;
  --text-secondary: #909399;
  --text-placeholder: #c0c4cc;
  --text-flow-light: #1265fe;
  /* 背景色 */
  --bg-color: #ffffff;
  --bg-page: #f7fafc;
  --bg-overlay: rgba(0, 0, 0, 0.5);
  --bg-card-footer: #edf2f7;
  /* 边框色 */
  --border-color-base: #dcdfe6;
  --border-color-light: #e4e7ed;
  --border-color-lighter: #ebeef5;
  --border-color-extra-light: #f2f6fc;
  /* 尺寸 */
  --border-radius-base: 4px;
  --border-radius-small: 2px;
  --border-radius-large: 8px;
  /* 间距 */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-smx: 12px;
  --spacing-md: 16px;
  --spacing-common: 20px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  /* 字体 */
  --font-family-base: 'PingFang SC', sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-xxl: 24px;
  --font-size-xxxl: 28px;
  --font-size-huge: 32px;
  /* 阴影 */
  --box-shadow-base: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
  --box-shadow-dark: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.12);
  --box-shadow-light: 0 0 15px 2px rgba(180, 180, 180, 0.05);
}
/* 1. 使用更直观的盒模型 */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* 2. 移除默认的 margin 和 padding */
* {
  margin: 0;
  padding: 0;
}
/* 3. 设置根元素字体大小，方便使用 rem 单位 */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
/* 4. 移除 body 的默认 margin */
body {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* 5. 移除标题的默认样式 */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  /* font-weight: inherit; */
  /* font-size: inherit; */
}
/* 6. 移除列表的默认样式 */
ul,
ol,
p {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* 7. 移除链接的默认样式 */
a {
  text-decoration: none;
  color: inherit;
}
/* 8. 移除按钮的默认样式 */
button {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
/* 9. 移除输入框的默认样式 */
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}
/* 10. 移除图片的默认样式 */
img {
  display: block;
  max-width: 100%;
  height: auto;
}
/* 11. 移除表格的默认样式 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* 12. 移除引用元素的默认样式 */
blockquote,
q {
  quotes: none;
}
blockquote::before,
blockquote::after,
q::before,
q::after {
  content: '';
  content: none;
}
/* 13. 移除代码元素的默认样式 */
code,
kbd,
samp {
  font-family: monospace;
}
/* 14. 移除表单元素的默认样式 */
fieldset {
  border: none;
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
/* 15. 移除 hr 的默认样式 */
hr {
  border: none;
  height: 1px;
  background: transparent;
}
/* 16. 移除 details 和 summary 的默认样式 */
details {
  display: block;
}
summary {
  display: list-item;
  cursor: pointer;
}
/* 17. 移除 iframe 的默认样式 */
iframe {
  border: none;
}
/* 18. 移除一些元素的默认样式 */
abbr[title] {
  text-decoration: none;
}
/* b,
strong {
  font-weight: inherit;
} */
i,
em {
  font-style: inherit;
}
/* 19. 移除一些 HTML5 元素的默认样式 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}
/* 20. 移除音频和视频元素的默认样式 */
audio,
video {
  display: inline-block;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
/* 21. 移除隐藏元素的默认样式 */
[hidden] {
  display: none;
}
/* 22. 移除可访问性相关的默认样式 */
[tabindex='-1']:focus:not(:focus-visible) {
  outline: 0;
}
/* 23. 移除一些交互元素的默认样式 */
a:focus,
button:focus {
  outline: none;
}
/* 24. 移除一些元素的默认样式 */
svg:not(:root) {
  overflow: hidden;
}
/* 25. 移除一些元素的默认样式 */
template {
  display: none;
}
@font-face {
  font-family: 'AlimamaShuHeiTi';
  src: url('/assets/fonts/AlimamaShuHeiTi-Bold-oZI_x9cA.woff2') format('woff2'), url('/assets/fonts/AlimamaShuHeiTi-Bold-DeFgh-vb.woff') format('woff'), url('/assets/fonts/AlimamaShuHeiTi-Bold-C83D5aRQ.otf') format('opentype'), url('/assets/fonts/AlimamaShuHeiTi-Bold-DtMr6HtS.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Douyin Sans';
  src: url('/assets/fonts/Douyin%20Sans-CC43B9r-.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Alibaba Sans';
  src: url('/assets/fonts/AlibabaSans-Medium-Cc8i5GtB.ttf') format('truetype');
}
@font-face {
  font-family: 'AlimamaFangYuanTi';
  src: url('/assets/fonts/AlimamaFangYuanTiVF-Thin-BbHzK-Pj.woff2') format('woff2'), url('/assets/fonts/AlimamaFangYuanTiVF-Thin-C-ipxgp5.woff') format('woff'), url('/assets/fonts/AlimamaFangYuanTiVF-Thin-B6XaKOtb.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--font-size-base);
  color: var(--text-primary);
  background-color: var(--bg-page);
}
#app {
  width: 100%;
  height: 100vh;
}
/* 通用样式 Mixin */
/* Section 基础样式 Mixin */
/* Container 基础样式 Mixin */
/* Section Title 基础样式 Mixin */
/* Highlight 渐变样式 Mixin */
/* Flex 布局通用样式 Mixin */
/* 图片通用样式 Mixin */
/* 背景图片通用样式 Mixin */
/* 过渡动画 Mixin */
/* 字体 Mixin */
/* 卡片悬停效果 Mixin */
/* 用户下拉菜单通用样式：重置 ant-dropdown 可能产生的 ul/li 空隙与空项 */
.user-dropdown-overlay .ant-dropdown-menu,
.ant-dropdown .ant-dropdown-menu {
  padding: 0;
  margin: 0;
  list-style: none;
  border: none;
  box-shadow: none;
}
.user-dropdown-overlay .ant-dropdown-menu > *:empty,
.ant-dropdown .ant-dropdown-menu > *:empty {
  display: none;
}
.user-dropdown-overlay .ant-dropdown-menu .ant-dropdown-menu-item:empty,
.ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item:empty,
.user-dropdown-overlay .ant-dropdown-menu .ant-dropdown-menu-item-divider,
.ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item-divider {
  display: none;
}
.custom-dropdown-menu {
  background: #ffffff;
  border: 0.5px solid #dcdcdc;
  border-radius: 6px;
  padding: 6px;
  width: 212px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  /* 隐藏可能被插入的空节点 */
}
.custom-dropdown-menu > *:empty {
  display: none;
}
.custom-dropdown-menu .dropdown-header {
  position: relative;
  border-radius: 4px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(284deg, #bbe6ff 0%, #fff 100%), #d9d9d9;
  padding: 12px 17px;
}
.custom-dropdown-menu .dropdown-header .header-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 4px;
}
.custom-dropdown-menu .dropdown-header .header-content .header-title {
  font-family: var(--font-family-base);
  font-weight: 600;
  font-size: 14px;
  line-height: normal;
  color: #222222;
  margin: 0;
}
.custom-dropdown-menu .dropdown-header .header-content .header-desc {
  font-family: var(--font-family-base);
  font-weight: 400;
  font-size: 12px;
  line-height: normal;
  color: #939393;
  margin: 0;
  margin-top: 8px;
}
.custom-dropdown-menu .dropdown-header .header-btn {
  background: #222731;
  border: none;
  border-radius: 4px;
  min-width: 64px;
  height: 24px;
  font-family: var(--font-family-base);
  font-weight: 500;
  font-size: 12px;
  color: #ffffff;
  cursor: pointer;
  transition: opacity 0.3s;
}
.custom-dropdown-menu .dropdown-header .header-btn:hover {
  opacity: 0.9;
}
.custom-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.2s;
  line-height: 1.4;
}
.custom-dropdown-menu .dropdown-item:hover {
  background-color: #f3f3f3;
}
.custom-dropdown-menu .dropdown-item p {
  flex: 1;
  font-family: var(--font-family-base);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.9);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.custom-dropdown-menu .logout-item p {
  color: rgba(255, 26, 26, 0.9);
}
.report-modal .ant-modal-content {
  border-radius: 12px;
  overflow: hidden;
  background: #f7fafc;
  padding: 0;
}
.report-modal .ant-modal-content .ant-modal-body {
  padding: 0;
}
.report-modal .ant-modal-content .ant-modal-close {
  display: none;
}
.ant-modal .ant-modal-content {
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.ant-modal .ant-modal-content .ant-modal-header {
  background: #f7fafc;
  border-bottom: none;
  padding: 0;
  border-radius: 12px 12px 0 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.ant-modal .ant-modal-content .ant-modal-header .ant-modal-title {
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 600;
  color: #222222;
  line-height: 1.5;
  letter-spacing: 0.2px;
  margin: 0;
}
.ant-modal .ant-modal-content .ant-modal-header .ant-modal-close {
  width: 24px;
  height: 24px;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  color: #666666;
}
.ant-modal .ant-modal-content .ant-modal-header .ant-modal-close:hover {
  color: #222222;
}
.ant-modal .ant-modal-content .ant-modal-header .ant-modal-close .ant-modal-close-x {
  width: 24px;
  height: 24px;
  line-height: 24px;
  font-size: 16px;
}
.ant-modal .ant-modal-content .ant-modal-body {
  padding: 24px;
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 400;
  color: #222222;
  line-height: 1.5;
  letter-spacing: 0.3px;
}
.ant-modal .ant-modal-content .ant-modal-footer {
  border-top: none;
  padding: 0 24px 24px;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.ant-modal .ant-modal-content .ant-modal-footer .ant-btn {
  height: 32px;
  padding: 5px 16px;
  border-radius: 4px;
  font-family: var(--font-family-base);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.3px;
  min-width: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ant-modal .ant-modal-content .ant-modal-footer .ant-btn.ant-btn-default {
  background: #ffffff;
  border: 1px solid #cbd5e0;
  color: #222222;
}
.ant-modal .ant-modal-content .ant-modal-footer .ant-btn.ant-btn-default:hover {
  border-color: #a0aec0;
  color: #222222;
}
.ant-modal .ant-modal-content .ant-modal-footer .ant-btn.ant-btn-primary {
  background: #0097ed;
  border: none;
  color: #ffffff;
}
.ant-modal .ant-modal-content .ant-modal-footer .ant-btn.ant-btn-primary:hover {
  background: var(--primary-hover);
  color: #ffffff;
}
/* 认证页面公用样式 */
/* 页面容器 */
.auth-page {
  width: 100%;
  min-height: calc(100vh - 64px);
  background: var(--bg-page);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px var(--spacing-md);
}
/* 卡片容器 */
.auth-card {
  width: 100%;
  max-width: 540px;
  background: var(--bg-color);
  border-radius: 12px;
  padding: 55px;
  box-sizing: border-box;
  box-shadow: var(--box-shadow-light);
}
/* Mixins */
/* 验证码输入框和按钮 */
.code-input-wrapper {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.code-input-wrapper .code-input {
  flex: 1;
}
.code-input-wrapper .code-btn {
  min-width: 120px;
  height: 48px;
  border-radius: 6px;
  border: 1px solid var(--border-color-base);
  background: var(--bg-color);
  color: var(--primary-color);
  font-size: var(--font-size-base);
  font-weight: 400;
}
.code-input-wrapper .code-btn:hover:not(:disabled) {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--bg-color);
}
.code-input-wrapper .code-btn:disabled {
  background: var(--bg-page);
  border-color: var(--border-color-light);
  color: var(--text-secondary);
  cursor: not-allowed;
}
.ant-modal {
  padding: 0;
}
.ant-modal .ant-modal-confirm-body {
  display: block;
}
.ant-modal .ant-modal-confirm-body .anticon {
  display: none;
}
.ant-modal .ant-modal-body {
  padding: 0 !important;
}
.ant-modal .ant-modal-body .ant-modal-confirm-title {
  padding: 10px 24px;
  background-color: #f7fafc;
  border-radius: 12px 12px 0 0;
}
.ant-modal .ant-modal-body .ant-modal-confirm-content {
  padding: 10px 0;
  font-size: 16px;
  color: #222222;
  line-height: 1.5;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 50px;
  margin-inline-start: 24px !important;
  margin-inline-end: 24px;
}
.ant-modal .ant-modal-body .ant-modal-confirm-btns {
  padding: 20px 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.ant-modal .ant-modal-body .ant-modal-confirm-btns button {
  display: flex;
  min-width: 88px;
  padding: 5px 16px;
  justify-content: center;
  align-items: center;
}
.ant-modal .ant-modal-body .ant-modal-confirm-btns .ant-btn-primary {
  background: var(--primary-color);
  border: none;
  color: #ffffff;
}
.ant-modal .ant-modal-body .ant-modal-confirm-btns .ant-btn-default {
  background: #ffffff;
}
.ant-modal .ant-modal-body .ant-modal-confirm-btns .ant-btn-default:hover {
  background: #f0f5ff;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}
