@charset "UTF-8";
/* 样式重置表：https://github.com/Andy-set-studio/modern-css-reset/blob/master/src/reset.css */
body {
  margin: 0 !important;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
  user-select: none; /* 标准浏览器 */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE/Edge */
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
ol,
ul,
li,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul,
ol {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  text-rendering: optimizeSpeed;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Inherit fonts for inputs and buttons */
input,
textarea,
select {
  font: inherit;
  padding: 0;
  margin: 0;
}

button {
  font: inherit;
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
  outline: none;
  background: none;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:root {
  --font-family:
    "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-size-base: 16px;
  --primary-color: #4c2ba2;
  --primary-light: #6c40de;
  --primary-accent: #835aeb;
  --success-color: #51c816;
  --warning-color: #faad14;
  --error-color: #ff4d4f;
  --info-color: #1890ff;
  --text-default: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-tertiary: #999999;
  --text-muted: #aaaaaa;
  --bg-dark: #0a0a0a;
  --bg-card: #ffffff;
  --bg-light: #f8f9fa;
  --border-color: #e8e8e8;
  --border-light: rgba(255, 255, 255, 0.08);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--text-default);
  background-color: var(--bg-dark);
}

body,
html {
  color: var(--text-default);
  background-color: var(--bg-dark);
  min-height: 100vh;
}

html {
  font-size: 16px;
}

@media (max-width: 1200px) {
  html {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 12px;
  }
}
@font-face {
  font-family: "myfont";
  font-weight: 400;
  src:
    url("//at.alicdn.com/wf/pointcosm/webfont/bJJe9JUVMdyO/HspZrYiYq2VT.woff2")
      format("woff2"),
    url("//at.alicdn.com/wf/pointcosm/webfont/bJJe9JUVMdyO/EBFGwuflALLW.woff")
      format("woff");
  font-display: swap;
}
.text-default {
  color: #ffffff;
}

.text-primary {
  color: #1a1a1a;
}

.text-secondary {
  color: #666666;
}

.text-muted {
  color: #aaaaaa;
}

.bg-dark {
  background-color: #0a0a0a;
}

.bg-card {
  background-color: #ffffff;
}

.bg-light {
  background-color: #f8f9fa;
}

.flex-center {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ellipsis-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ellipsis-2 {
  word-wrap: break-word;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ellipsis-3 {
  word-wrap: break-word;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.ant-modal-root .ant-modal-close:focus-visible {
  outline: none;
}

html[data-input-modality="keyboard"]
  .ant-modal-root
  .ant-modal-close:focus-visible {
  outline: 2px solid #835aeb;
  outline-offset: 2px;
  border-radius: 4px;
}
