@import "./variables.less";
@import "./vant-ui.less";
@import "./element-ui.less";

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family:
    Helvetica Neue,
    Helvetica,
    PingFang SC,
    Hiragino Sans GB,
    Microsoft YaHei,
    Arial,
    sans-serif;
  color: var(--van-text-color);
  background-color: var(--color-background-2);
  word-break: break-all;
  /* 针对 WebKit 浏览器（如 Chrome、Safari） */
  ::-webkit-scrollbar {
    display: none;
  }

  /* 针对 IE、Edge 和 Firefox（但 Firefox 不支持隐藏滚动条） */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 和 Edge */
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
  font-size: 16px;
  .container {
    background-color: #f4f8fa;
    height: 100%;
    overflow-y: auto;
  }
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

// see https://github.com/vuejs/vitepress/pull/2347
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-old(root) {
  z-index: 1;
}
::view-transition-new(root) {
  z-index: 9999;
}
.dark::view-transition-old(root) {
  z-index: 9999;
}
.dark::view-transition-new(root) {
  z-index: 1;
}

.amap-logo, .amap-copyright {
  display: none !important;
}
