/*!******************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-24.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-24.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-24.use[3]!./src/assets/css/common.scss ***!
  \******************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
/*
 * Predict(预测)模块的视觉变量。
 *
 * 这些色值原本以十六进制字面量散落在 PredictionPopup.vue 里,新写的 SellPopup.vue
 * 没有照抄,于是同一条资金路径的两端长成了两套东西(everything-qa#104):
 * 下单弹窗是暖米色壳 + 衬线标题 + 深枣红文字,卖出弹窗是纯白 + 无衬线 + 通用灰。
 *
 * 提到这里不是为了少写几个字符,是为了让「下一个预测相关的弹窗」有一个唯一的取色出处 ——
 * 否则第三个弹窗还会再飘一次,这单会再开一遍。新增组件请用这组变量,不要再写字面量。
 */
:root {
  /* 壳与面板 */
  --pm-bg-cream: var(--ev-color-bg-page);
  --pm-bg-panel: var(--ev-color-bg-card);
  /* 文字 */
  --pm-text-strong: var(--ev-color-text-primary);
  --pm-text-muted: var(--ev-color-text-subdued);
  /* 强调(MAX / 重试等次要操作) */
  --pm-accent: var(--ev-color-cta-primary);
  --pm-accent-hover: var(--ev-color-cta-primary-hover);
  /* 状态 */
  --pm-error: var(--ev-color-error);
  --pm-warn: var(--ev-color-warning-text);
  /* 字族 */
  --pm-font-display: "PP Editorial New", serif;
  --pm-font-body: "Instrument Sans", sans-serif;
}

@font-face {
  font-family: "FK Screamer";
  src: url(/fonts/FKScreamer.d9d610b1.ttf) format("truetype");
}
@font-face {
  font-family: "Halyard Display";
  font-style: normal;
  src: url(/fonts/HalyardDis.a51a75df.otf) format("truetype");
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  src: url(/fonts/SpaceMono-Regular.9ed7f1f9.ttf) format("truetype");
}
@font-face {
  font-family: "Space Mono Bold";
  font-style: normal;
  src: url(/fonts/SpaceMono-Bold.14a94d7a.ttf) format("truetype");
}
@font-face {
  font-family: "Clash Display";
  src: url(/fonts/ClashDisplay-Regular.d60c2bc8.otf);
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url(/fonts/ClashDisplay-Medium.e95bbbba.otf);
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url(/fonts/ClashDisplay-Semibold.a69f8631.otf);
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url(/fonts/ClashDisplay-Bold.7152a0cf.otf);
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "PP Editorial New";
  src: url(/fonts/PPEditorialNew-Regular.8f150c47.ttf);
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "TT Commons Pro Trial Variable";
  src: url("/fonts/TT%20Commons%20Pro%20Trial%20Variable.59fdbc49.ttf") format("truetype");
}
@font-face {
  font-family: "Instrument Sans";
  src: url(/fonts/InstrumentSans-Regular.dbd8d71a.ttf) format("truetype");
}
@font-face {
  font-family: "Instrument Sans";
  font-weight: 500;
  src: url(/fonts/InstrumentSans-Medium.29cc244d.ttf) format("truetype");
}
/* 移除所有元素的margin和padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* 使得元素的总宽度和高度包括padding和border */
}

body {
  font-family: "Halyard Display";
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Dark theme: html and body carry the page colour. Without it the white browser canvas
   shows through while pages slide in and out, which reads as a white flash on every tab
   change. color-scheme also darkens the overscroll area and native controls. */
html.dark,
html.dark body {
  background: var(--ev-color-bg-page);
  color-scheme: dark;
}

/* 仅在 Safari 浏览器中应用的样式 */
@media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-appearance: none) {
    body {
      letter-spacing: -1px;
    }
  }
}
a {
  text-decoration: none;
}

.web-flex {
  display: flex;
}

/* PC 端也使用移动端布局 */
.mb {
  display: block;
}

.pc {
  display: none;
}

/* 弹窗 Teleport 容器 */
#teleport-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  pointer-events: none;
}

#teleport-popup > * {
  pointer-events: auto;
}

#teleport-popup .van-popup,
#teleport-popup .van-overlay {
  pointer-events: auto !important;
}

/* PC 端：整体缩放到手机尺寸 390px 宽，居中展示 */
@media screen and (min-width: 761px) {
  body {
    overflow-x: hidden;
    background: #f0f0f0; /* color-allow: PC 端手机画面外的底色,不随主题 */
  }
  #pc-mobile-wrapper {
    width: 100vw;
    min-height: 100vh;
    transform: scale(var(--mobile-scale, 1));
    transform-origin: top center;
  }
  .history-page {
    height: 2000px !important;
  }
  #app-root {
    display: flex;
    justify-content: center;
  }
  #app {
    width: 100vw;
  }
  .van-overflow-hidden {
    overflow: visible !important;
  }
  /* 图标/图片/svg 统一放大以补偿 scale，避免逐个兜底 */
  #pc-mobile-wrapper .van-icon {
    font-size: 5.13vw !important;
  }
  #pc-mobile-wrapper .van-checkbox__icon,
  #pc-mobile-wrapper .van-radio__icon {
    font-size: 6.5vw !important;
  }
  #pc-mobile-wrapper .van-loading__spinner {
    width: 5.13vw !important;
    height: 5.13vw !important;
  }
  .withdraw-page {
    height: 100% !important;
  }
  #pc-mobile-wrapper svg[width="12"],
  #pc-mobile-wrapper img[width="12"] {
    width: 3.0769230769vw !important;
  }
  #pc-mobile-wrapper svg[height="12"],
  #pc-mobile-wrapper img[height="12"] {
    height: 3.0769230769vw !important;
  }
  #pc-mobile-wrapper svg[width="13"],
  #pc-mobile-wrapper img[width="13"] {
    width: 3.3333333333vw !important;
  }
  #pc-mobile-wrapper svg[height="13"],
  #pc-mobile-wrapper img[height="13"] {
    height: 3.3333333333vw !important;
  }
  #pc-mobile-wrapper svg[width="14"],
  #pc-mobile-wrapper img[width="14"] {
    width: 3.5897435897vw !important;
  }
  #pc-mobile-wrapper svg[height="14"],
  #pc-mobile-wrapper img[height="14"] {
    height: 3.5897435897vw !important;
  }
  #pc-mobile-wrapper svg[width="16"],
  #pc-mobile-wrapper img[width="16"] {
    width: 4.1025641026vw !important;
  }
  #pc-mobile-wrapper svg[height="16"],
  #pc-mobile-wrapper img[height="16"] {
    height: 4.1025641026vw !important;
  }
  #pc-mobile-wrapper svg[width="17"],
  #pc-mobile-wrapper img[width="17"] {
    width: 4.358974359vw !important;
  }
  #pc-mobile-wrapper svg[height="17"],
  #pc-mobile-wrapper img[height="17"] {
    height: 4.358974359vw !important;
  }
  #pc-mobile-wrapper svg[width="19"],
  #pc-mobile-wrapper img[width="19"] {
    width: 4.8717948718vw !important;
  }
  #pc-mobile-wrapper svg[height="19"],
  #pc-mobile-wrapper img[height="19"] {
    height: 4.8717948718vw !important;
  }
  #pc-mobile-wrapper svg[width="20"],
  #pc-mobile-wrapper img[width="20"] {
    width: 5.1282051282vw !important;
  }
  #pc-mobile-wrapper svg[height="20"],
  #pc-mobile-wrapper img[height="20"] {
    height: 5.1282051282vw !important;
  }
  #pc-mobile-wrapper svg[width="21"],
  #pc-mobile-wrapper img[width="21"] {
    width: 5.3846153846vw !important;
  }
  #pc-mobile-wrapper svg[height="21"],
  #pc-mobile-wrapper img[height="21"] {
    height: 5.3846153846vw !important;
  }
  #pc-mobile-wrapper svg[width="24"],
  #pc-mobile-wrapper img[width="24"] {
    width: 6.1538461538vw !important;
  }
  #pc-mobile-wrapper svg[height="24"],
  #pc-mobile-wrapper img[height="24"] {
    height: 6.1538461538vw !important;
  }
  #pc-mobile-wrapper svg[width="25"],
  #pc-mobile-wrapper img[width="25"] {
    width: 6.4102564103vw !important;
  }
  #pc-mobile-wrapper svg[height="25"],
  #pc-mobile-wrapper img[height="25"] {
    height: 6.4102564103vw !important;
  }
  #pc-mobile-wrapper svg[width="30"],
  #pc-mobile-wrapper img[width="30"] {
    width: 7.6923076923vw !important;
  }
  #pc-mobile-wrapper svg[height="30"],
  #pc-mobile-wrapper img[height="30"] {
    height: 7.6923076923vw !important;
  }
  #pc-mobile-wrapper svg[width="31"],
  #pc-mobile-wrapper img[width="31"] {
    width: 7.9487179487vw !important;
  }
  #pc-mobile-wrapper svg[height="31"],
  #pc-mobile-wrapper img[height="31"] {
    height: 7.9487179487vw !important;
  }
  #pc-mobile-wrapper svg[width="32"],
  #pc-mobile-wrapper img[width="32"] {
    width: 8.2051282051vw !important;
  }
  #pc-mobile-wrapper svg[height="32"],
  #pc-mobile-wrapper img[height="32"] {
    height: 8.2051282051vw !important;
  }
  #pc-mobile-wrapper svg[width="33"],
  #pc-mobile-wrapper img[width="33"] {
    width: 8.4615384615vw !important;
  }
  #pc-mobile-wrapper svg[height="33"],
  #pc-mobile-wrapper img[height="33"] {
    height: 8.4615384615vw !important;
  }
  #pc-mobile-wrapper svg[width="35"],
  #pc-mobile-wrapper img[width="35"] {
    width: 8.9743589744vw !important;
  }
  #pc-mobile-wrapper svg[height="35"],
  #pc-mobile-wrapper img[height="35"] {
    height: 8.9743589744vw !important;
  }
  #pc-mobile-wrapper svg[width="37"],
  #pc-mobile-wrapper img[width="37"] {
    width: 9.4871794872vw !important;
  }
  #pc-mobile-wrapper svg[height="37"],
  #pc-mobile-wrapper img[height="37"] {
    height: 9.4871794872vw !important;
  }
  #pc-mobile-wrapper svg[width="40"],
  #pc-mobile-wrapper img[width="40"] {
    width: 10.2564102564vw !important;
  }
  #pc-mobile-wrapper svg[height="40"],
  #pc-mobile-wrapper img[height="40"] {
    height: 10.2564102564vw !important;
  }
  #pc-mobile-wrapper svg[width="41"],
  #pc-mobile-wrapper img[width="41"] {
    width: 10.5128205128vw !important;
  }
  #pc-mobile-wrapper svg[height="41"],
  #pc-mobile-wrapper img[height="41"] {
    height: 10.5128205128vw !important;
  }
  #pc-mobile-wrapper svg[width="48"],
  #pc-mobile-wrapper img[width="48"] {
    width: 12.3076923077vw !important;
  }
  #pc-mobile-wrapper svg[height="48"],
  #pc-mobile-wrapper img[height="48"] {
    height: 12.3076923077vw !important;
  }
  #pc-mobile-wrapper svg[width="49"],
  #pc-mobile-wrapper img[width="49"] {
    width: 12.5641025641vw !important;
  }
  #pc-mobile-wrapper svg[height="49"],
  #pc-mobile-wrapper img[height="49"] {
    height: 12.5641025641vw !important;
  }
  #pc-mobile-wrapper svg[width="56"],
  #pc-mobile-wrapper img[width="56"] {
    width: 14.358974359vw !important;
  }
  #pc-mobile-wrapper svg[height="56"],
  #pc-mobile-wrapper img[height="56"] {
    height: 14.358974359vw !important;
  }
  #pc-mobile-wrapper svg[width="57"],
  #pc-mobile-wrapper img[width="57"] {
    width: 14.6153846154vw !important;
  }
  #pc-mobile-wrapper svg[height="57"],
  #pc-mobile-wrapper img[height="57"] {
    height: 14.6153846154vw !important;
  }
  #pc-mobile-wrapper svg[width="61"],
  #pc-mobile-wrapper img[width="61"] {
    width: 15.641025641vw !important;
  }
  #pc-mobile-wrapper svg[height="61"],
  #pc-mobile-wrapper img[height="61"] {
    height: 15.641025641vw !important;
  }
  #pc-mobile-wrapper svg[width="62"],
  #pc-mobile-wrapper img[width="62"] {
    width: 15.8974358974vw !important;
  }
  #pc-mobile-wrapper svg[height="62"],
  #pc-mobile-wrapper img[height="62"] {
    height: 15.8974358974vw !important;
  }
  #pc-mobile-wrapper svg[width="120"],
  #pc-mobile-wrapper img[width="120"] {
    width: 30.7692307692vw !important;
  }
  #pc-mobile-wrapper svg[height="120"],
  #pc-mobile-wrapper img[height="120"] {
    height: 30.7692307692vw !important;
  }
  #pc-mobile-wrapper svg[width="121"],
  #pc-mobile-wrapper img[width="121"] {
    width: 31.0256410256vw !important;
  }
  #pc-mobile-wrapper svg[height="121"],
  #pc-mobile-wrapper img[height="121"] {
    height: 31.0256410256vw !important;
  }
  #pc-mobile-wrapper svg[width="141"],
  #pc-mobile-wrapper img[width="141"] {
    width: 36.1538461538vw !important;
  }
  #pc-mobile-wrapper svg[height="141"],
  #pc-mobile-wrapper img[height="141"] {
    height: 36.1538461538vw !important;
  }
  #pc-mobile-wrapper svg[width="156"],
  #pc-mobile-wrapper img[width="156"] {
    width: 40vw !important;
  }
  #pc-mobile-wrapper svg[height="156"],
  #pc-mobile-wrapper img[height="156"] {
    height: 40vw !important;
  }
  #pc-mobile-wrapper svg[width="157"],
  #pc-mobile-wrapper img[width="157"] {
    width: 40.2564102564vw !important;
  }
  #pc-mobile-wrapper svg[height="157"],
  #pc-mobile-wrapper img[height="157"] {
    height: 40.2564102564vw !important;
  }
  #pc-mobile-wrapper svg[width="184"],
  #pc-mobile-wrapper img[width="184"] {
    width: 47.1794871795vw !important;
  }
  #pc-mobile-wrapper svg[height="184"],
  #pc-mobile-wrapper img[height="184"] {
    height: 47.1794871795vw !important;
  }
  #pc-mobile-wrapper svg[width="185"],
  #pc-mobile-wrapper img[width="185"] {
    width: 47.4358974359vw !important;
  }
  #pc-mobile-wrapper svg[height="185"],
  #pc-mobile-wrapper img[height="185"] {
    height: 47.4358974359vw !important;
  }
  #pc-mobile-wrapper svg[width="193"],
  #pc-mobile-wrapper img[width="193"] {
    width: 49.4871794872vw !important;
  }
  #pc-mobile-wrapper svg[height="193"],
  #pc-mobile-wrapper img[height="193"] {
    height: 49.4871794872vw !important;
  }
  #pc-mobile-wrapper svg[width="194"],
  #pc-mobile-wrapper img[width="194"] {
    width: 49.7435897436vw !important;
  }
  #pc-mobile-wrapper svg[height="194"],
  #pc-mobile-wrapper img[height="194"] {
    height: 49.7435897436vw !important;
  }
  #pc-mobile-wrapper svg[width="333"],
  #pc-mobile-wrapper img[width="333"] {
    width: 85.3846153846vw !important;
  }
  #pc-mobile-wrapper svg[height="333"],
  #pc-mobile-wrapper img[height="333"] {
    height: 85.3846153846vw !important;
  }
  #pc-mobile-wrapper svg[width="334"],
  #pc-mobile-wrapper img[width="334"] {
    width: 85.641025641vw !important;
  }
  #pc-mobile-wrapper svg[height="334"],
  #pc-mobile-wrapper img[height="334"] {
    height: 85.641025641vw !important;
  }
  #pc-mobile-wrapper svg[width="342"],
  #pc-mobile-wrapper img[width="342"] {
    width: 87.6923076923vw !important;
  }
  #pc-mobile-wrapper svg[height="342"],
  #pc-mobile-wrapper img[height="342"] {
    height: 87.6923076923vw !important;
  }
  #pc-mobile-wrapper svg[width="360"],
  #pc-mobile-wrapper img[width="360"] {
    width: 92.3076923077vw !important;
  }
  #pc-mobile-wrapper svg[height="360"],
  #pc-mobile-wrapper img[height="360"] {
    height: 92.3076923077vw !important;
  }
}
.el-loading-mask.basboard-fullscreen {
  top: 19.48718vw;
}
.el-loading-mask.basboard-fullscreen .el-loading-text {
  font-size: 4.61538vw;
  color: var(--ev-color-accent-text);
}

/* 列表样式重置 */
ul,
ol {
  list-style: none;
  /* 移除默认的列表样式（项目符号或编号） */
}

/* 链接样式重置 */
a {
  text-decoration: none;
  /* 移除链接的下划线 */
  color: #007BFF; /* color-allow: 全局链接 / 按钮默认色,保持不变(everything-workspace#1780 第 48 项) */
  /* 设置一个基本的链接颜色 */
}

/* 强调样式重置 */
em,
strong {
  font-style: normal;
  /* 移除<em>的斜体样式 */
  font-weight: normal;
  /* 移除<strong>的加粗样式，可以根据需要使用 */
}

/* 表单元素重置 */
input,
button,
select,
textarea {
  font-family: inherit;
  /* 继承body的字体样式 */
  font-size: 100%;
  /* 使得字体大小与父元素相同 */
  margin: 0;
  /* 移除默认的外边距 */
}

/* 按钮样式重置 */
button {
  cursor: pointer;
  /* 鼠标悬停时显示手指指针，表示可点击 */
  border: none;
  /* 移除默认边框 */
  background-color: #007BFF; /* color-allow: 全局链接 / 按钮默认色,保持不变(everything-workspace#1780 第 48 项) */
  /* 设置背景颜色 */
  color: white;
  /* 设置文字颜色 */
  padding: 2.5641vw 5.12821vw;
  /* 设置内边距 */
}

.font-main {
  font-family: "Halyard Display" !important;
}

.flex {
  display: flex;
}

.base-btn:active {
  opacity: 0.8;
}

.van-overlay {
  background: var(--ev-color-overlay);
}

/* 深色下 Dialog 与压暗后的页面分不开,加一圈描边;浅色 modal-border 是 transparent。用 box-shadow 不占尺寸 */
.van-dialog {
  box-shadow: 0 0 0 1px var(--ev-color-modal-border);
}

.input:-internal-autofill-selected {
  background: transparent !important;
}

.error .van-cell-group--inset {
  border: 1px solid var(--ev-color-error) !important;
}

.error-text {
  font-size: 3.07692vw;
  font-weight: 500;
  color: var(--ev-color-error);
  margin-top: 1.53846vw;
}

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.header-title {
  padding: 0 6.15385vw 6.15385vw 6.15385vw;
  width: 89.74359vw;
  height: 12.30769vw;
  color: var(--ev-color-text-primary);
  font-family: "PP Editorial New";
  font-size: 10.25641vw;
  font-style: normal;
  font-weight: 400;
  line-height: 12.30769vw;
  letter-spacing: -0.8px;
  margin-bottom: 6.15385vw;
}

@keyframes slide-in {
  0% {
    transform: translateY(5%);
    /* 动画起始于屏幕外右侧 */
    opacity: 0;
    /* 初始完全透明 */
  }
  100% {
    transform: translateY(0);
    /* 动画结束于原位 */
    opacity: 1;
    /* 最终完全不透明 */
  }
}
/* 离开状态定义动画 */
@keyframes slide-out {
  0% {
    transform: translateY(0);
    /* 动画起始于原位 */
    opacity: 1;
    /* 初始完全不透明 */
  }
  100% {
    transform: translateY(-5%);
    /* 动画结束于屏幕外左侧 */
    opacity: 0;
    /* 最终完全透明 */
  }
}
/* 动画添加对应的类 */
.slide-in-enter-active {
  animation: slide-in 1s ease forwards;
}

.slide-in-leave-active {
  animation: slide-out 0.5s ease forwards;
}

.page-slide-enter-active {
  animation: slide-in 1s ease forwards;
}

.page-slide-leave-active {
  animation: slide-out 0.5s ease forwards;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

/*
 * Page transitions (Menu/Index.vue picks the name). Both pages animate at once (no out-in
 * mode, see the note above); the leaving page is laid over the entering one with absolute
 * positioning, and each carries the page colour so the other never shows through.
 *   page-push: opening a page; the new page moves in 24px from the right and fades in
 *              (0.25s) while the old one moves 12px left and fades out (0.2s)
 *   page-pop:  going back; the same in the other direction
 *   page-fade: a quick cross-fade between the tab bar's pages
 */
.page-push-enter-active,
.page-pop-enter-active {
  transition: transform 0.25s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.25s cubic-bezier(0.32, 0.72, 0, 1);
}

.page-push-leave-active,
.page-pop-leave-active {
  transition: transform 0.2s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.2s cubic-bezier(0.32, 0.72, 0, 1);
}

.page-push-enter-active,
.page-push-leave-active,
.page-pop-enter-active,
.page-pop-leave-active {
  background-color: var(--ev-color-bg-page);
}

.page-push-leave-active,
.page-pop-leave-active,
.page-fade-leave-active {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.page-push-enter-from {
  opacity: 0;
  transform: translateX(6.15385vw);
}

.page-push-leave-to {
  opacity: 0;
  transform: translateX(-3.07692vw);
}

.page-pop-enter-from {
  opacity: 0;
  transform: translateX(-6.15385vw);
}

.page-pop-leave-to {
  opacity: 0;
  transform: translateX(3.07692vw);
}

.page-fade-enter-active,
.page-fade-leave-active {
  transition: opacity 0.2s ease;
}

.page-fade-enter-from,
.page-fade-leave-to {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .page-push-enter-active,
  .page-push-leave-active,
  .page-pop-enter-active,
  .page-pop-leave-active,
  .page-fade-enter-active,
  .page-fade-leave-active {
    transition: none;
  }
}
/* 滑入动画定义（从右侧滑入） */
@keyframes slide-in-right {
  0% {
    transform: translateX(10%);
    /* 动画起始于屏幕外右侧 */
    opacity: 0;
    /* 初始完全透明 */
  }
  100% {
    transform: translateX(0);
    /* 动画结束于原位 */
    opacity: 1;
    /* 最终完全不透明 */
  }
}
/* 滑出动画定义（从左侧滑出） */
@keyframes slide-out-left {
  0% {
    transform: translateX(0);
    /* 动画起始于原位 */
    opacity: 1;
    /* 初始完全不透明 */
  }
  100% {
    transform: translateX(-10%);
    /* 动画结束于屏幕外左侧 */
    opacity: 0;
    /* 最终完全透明 */
  }
}
/* 动画添加对应的类 */
.slide-in-right-enter-active {
  animation: slide-in-right 1s ease forwards;
}

.slide-in-right-leave-active {
  animation: slide-out-left 0.5s ease forwards;
}

.view-transition {
  animation: slide-in-right 1s ease forwards;
}

@keyframes backgroundExpand {
  0% {
    transform: translateY(10%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.toast {
  left: 4.10256vw !important;
}
.toast .van-popover__content {
  display: flex;
  width: 92.82051vw;
  padding: 3.07692vw;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.05128vw;
  border-radius: 4.10256vw;
  background: linear-gradient(0deg, var(--ev-color-bg-tint) 0%, var(--ev-color-bg-tint) 100%), var(--ev-color-bg-card) !important;
  align-self: stretch;
  color: var(--ev-color-text-primary);
  font-family: "Instrument Sans";
  font-size: 3.84615vw;
  font-style: normal;
  font-weight: 700;
  line-height: 6.15385vw;
}

/* The app's toast (product review, 2026-11-14): the bordeaux of the secondary button with
   cream text, in Instrument Sans, with 16px corners and a soft shadow, in place of Vant's
   translucent black box. The same two tokens invert it in the dark theme (light fill, dark
   text), where a dark toast would disappear on the dark page. A message alone is a compact
   bar; with an icon (success, fail, loading) it is a small card, the icon above the text. */
.van-toast {
  --van-toast-background: var(--ev-color-cta-secondary);
  --van-toast-text-color: var(--ev-color-text-inverse);
  --van-toast-loading-icon-color: var(--ev-color-text-inverse);
  --van-toast-radius: 4.10256vw;
  --van-toast-font-size: 3.84615vw;
  --van-toast-line-height: 5.12821vw;
  --van-toast-max-width: 80%;
  --van-toast-icon-size: 8.20513vw;
  --van-toast-text-min-width: 0;
  --van-toast-text-padding: 3.07692vw 4.61538vw;
  --van-toast-default-padding: 4.61538vw 5.12821vw 4.10256vw;
  --van-toast-default-width: fit-content;
  --van-toast-default-min-height: 0;
  min-width: 24.61538vw;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
  letter-spacing: -0.1px;
  word-break: break-word;
  box-shadow: 0 2.05128vw 6.15385vw rgba(28, 0, 6, 0.18); /* color-allow: 阴影不随主题(v2 约定) */
  /* Vant 的 toast 走全局自增 z-index（从 2000 起），而项目里多处弹窗手动指定了
     9999 / 10000（如 #teleport-popup、下单弹窗），toast 会被压在弹窗下面看不见。
     统一抬到所有弹窗之上，保证弹窗内的失败提示能显示。 */
  z-index: 20000 !important;
}
.van-toast .van-toast__text {
  margin-top: 2.5641vw;
}
.van-toast .van-loading__spinner {
  color: var(--ev-color-text-inverse);
}

.van-toast--text,
.van-toast--html {
  min-width: 0;
}
.van-toast--text .van-toast__text,
.van-toast--html .van-toast__text {
  margin-top: 0;
}

/* Success tick in green: lifted to green-400 on the bordeaux toast of the light theme,
   green-500 on the light toast of the dark theme */
.van-toast__icon.van-icon-success {
  color: var(--ev-v2-green-400);
}

html.dark .van-toast__icon.van-icon-success {
  color: var(--ev-v2-green-500);
}

/* Light toast (a confirmation such as a successful sign-in): white fill, dark text and a
   green tick, with a soft shadow so it stands off the page; the same in both themes */
.van-toast.e-toast-light,
html.dark .van-toast.e-toast-light {
  background: var(--ev-v2-white);
  color: var(--ev-v2-black-porto);
  box-shadow: 0 2.05128vw 6.15385vw rgba(28, 0, 6, 0.14); /* color-allow: 阴影不随主题(v2 约定) */
}
.van-toast.e-toast-light .van-toast__icon,
html.dark .van-toast.e-toast-light .van-toast__icon {
  color: var(--ev-v2-green-500);
}

/* Bottom sheets share one dark background, the form-sheet colour (neutral-850, one step above
   the page); fields inside use the raised card colour. Light sheets keep their own colours. */
html.dark .van-popup.van-popup--bottom {
  background: var(--ev-color-bg-sheet);
}

/* Error toast: the toast keeps its inverted fill and the fail icon turns red, as in the
   design spec. On the dark toast of the light theme the red is lifted to red-400 for
   contrast; on the light toast of the dark theme it is red-500. */
.van-toast__icon.van-icon-fail {
  color: var(--ev-v2-red-400);
}

html.dark .van-toast__icon.van-icon-fail {
  color: var(--ev-v2-red-500);
}

/* ── Google 登录入口(#87)──────────────────────────────────────────────────
 * 全局而非组件 scoped:Dapp 入口页(Index.vue)与登录页(SignIn.vue)共用同一套外观,
 * 各写一份必然漂移(GoogleRegister 与 SignUpEmail 的字段/校验就是这么各走各的)。
 *
 * 注意: 别把这几段搬回组件里的 `.invite-page` `&-n` 之下 —— DOM 里只有
 * `invite-page-n__top` / `invite-page-n__btn` 这类 BEM 子元素类,**没有**
 * `invite-page-n` 这个元素,那层后代选择器永远匹配不到(已踩过)。
 */
.dapp-or-divider {
  display: flex;
  align-items: center;
  gap: 3.07692vw;
  margin-top: 4.10256vw;
  /* 取页面文字色 #3e000d 的低透明度,不引入新配色 */
  color: var(--ev-color-text-muted);
  font-size: 3.58974vw;
  line-height: 5.12821vw;
  padding: 0 4.10256vw;
}
.dapp-or-divider::before, .dapp-or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ev-color-border-strong);
}

/* 官方 .gsi-material-button 模板的样式表(Google configurator 生成的那份)照抄进来。
 * 保留它是为了拿到图标盒子尺寸、content-wrapper 的布局与 contents 的文字省略行为;
 * 交互反馈那一层我们换掉了(见下面的 .dapp-google-btn)。
 * 与官方原文的唯一差别: 去掉了 -webkit-/-moz- 重复声明 —— postcss 链里就有
 * autoprefixer,它会按 .browserslistrc 重新补齐,手抄一遍只会两处不同步。 */
.gsi-material-button {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: white;
  background-image: none;
  border: 1px solid #747775; /* color-allow: Google 登录按钮官方样式 */
  border-radius: 1.02564vw;
  box-sizing: border-box;
  color: #1f1f1f; /* color-allow: Google 登录按钮官方样式 */
  cursor: pointer;
  font-family: "Roboto", arial, sans-serif;
  font-size: 3.58974vw;
  height: 10.25641vw;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 3.07692vw;
  position: relative;
  text-align: center;
  transition: background-color 0.218s, border-color 0.218s, box-shadow 0.218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 102.5641vw;
  min-width: -moz-min-content;
  min-width: min-content;
}
.gsi-material-button .gsi-material-button-icon {
  height: 5.12821vw;
  margin-right: 3.07692vw;
  min-width: 5.12821vw;
  width: 5.12821vw;
}
.gsi-material-button .gsi-material-button-content-wrapper {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}
.gsi-material-button .gsi-material-button-contents {
  flex-grow: 1;
  font-family: "Roboto", arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}
.gsi-material-button .gsi-material-button-state {
  transition: opacity 0.218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.gsi-material-button:disabled {
  cursor: default;
  background-color: rgba(255, 255, 255, 0.3803921569); /* color-allow: Google 登录按钮官方样式 */
  border-color: rgba(31, 31, 31, 0.1215686275); /* color-allow: Google 登录按钮官方样式 */
}
.gsi-material-button:disabled .gsi-material-button-contents,
.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}
.gsi-material-button:not(:disabled):active .gsi-material-button-state, .gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030; /* color-allow: Google 登录按钮官方样式 */
  opacity: 12%;
}
.gsi-material-button:not(:disabled):hover {
  box-shadow: 0 1px 0.51282vw 0 rgba(60, 64, 67, 0.3), 0 1px 0.76923vw 1px rgba(60, 64, 67, 0.15); /* color-allow: 阴影不随主题(v2 约定) */
}
.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030; /* color-allow: Google 登录按钮官方样式 */
  opacity: 8%;
}

/* Dapp 皮肤:把官方默认覆盖成邻近按钮(.invite-page-n__signup-btn)的值。
 * 覆盖全部写在 `.dapp-google-btn` 这一层(两个类 = 更高特异度),
 * 官方那份将来照抄新版也不会打架。
 *
 *   官方默认        → Dapp token             逐项对应
 *   height        40px            → 56px                  与 __signup-btn 同高
 *   border-radius 4px             → 24px                    对标各页 have-an-account 提示块
 *   background    white + 描边    → #fff8e8 无描边         内块色,两页统一
 *   color         #1f1f1f         → #3e000d                Boreaux
 *   font-family   'Roboto'        → 'PP Editorial New'     按钮的固定声音
 *   font-size     14px            → 22px                   产品字阶里的次级按钮档
 *   width/max-w   auto / 400px    → 100% / none            跟容器走,与邻居等宽
 *
 * 按钮本体在两页都是「外框里的内块」,不是外框本身,所以底色写死 #fff8e8:
 *   /dapp        外框 = .dapp-btn-container(#f6ead0),按钮是坐在里面的内块
 *   /dapp/signin 外框 = .signin-google(#f6ead0,在 SignIn.vue 里),按钮同为内块
 * 曾有一版让底色随页面变成 #f6ead0,那是错的:#f6ead0 在这套语言里是**外框色**
 * (.dapp-btn-container / .signin-content / .signin-prompt 全是外框),涂到按钮本体上
 * 等于把内块当外框用。signin 页缺的从来不是底色,是缺一层外框。
 *
 * 由此,按钮的 height / border-radius 在 signin 页会被那层外框改写(同心圆角 +
 * 撑满外框内容盒),改写写在 SignIn.vue 的 .signin-google 里 —— 那是嵌套关系的
 * 产物,属于页面,不属于按钮。这里这两个值是 /dapp 的单层形态。
 *
 * 高度这一项要连 padding 一起看:全站 `* { box-sizing: border-box }`,
 * 邻居是 height 56px + padding 9px 16px,这里必须同时对齐这两条,
 * 否则 getComputedStyle 读到的 height(内容盒)会差 2×padding。 */
.dapp-google-btn.gsi-material-button {
  height: 14.35897vw;
  padding: 2.30769vw 4.10256vw;
  border: none;
  /* 24px 四角对称,对标各页那条「have an account」提示块(.signin-prompt 就是
   * 24px + #f6ead0,dapp 页的 &__signin 是 16px + #fff8e8)——不取邻居 Sign up 的
   * 8px 8px 24px 24px。那个不对称圆角编码的是「在按钮组里的位置」:圆角小的一头
   * 表示与上方连着、大的一头表示这里是底(Connect Wallet 是 24/24/8/8 即开头,
   * Sign up 是 8/8/24/24 即结尾)。Google 入口被 or 分割线隔在组外、单独成块,
   * 套用「组内结尾」的值在语义上不成立,对称圆角才对。 */
  border-radius: 6.15385vw;
  background-color: var(--ev-color-bg-page);
  color: var(--ev-color-text-primary);
  font-family: "PP Editorial New";
  font-size: 5.64103vw;
  font-weight: 400;
  line-height: 6.15385vw;
  letter-spacing: -0.24px;
  width: 100%;
  max-width: none;
  align-self: stretch;
  margin-top: 4.10256vw;
  /* 官方模板用 text-align:center + justify-content:space-between;邻近两颗按钮的
   * 文字都是左起(padding 16px 起排),这里跟邻居,不跟官方。 */
  text-align: left;
  /* 图标与文字的间距:官方给 12px(配 14px 字),22px 字下显窄,取 10px 后
   * 视觉重心与 Connect Wallet 的图标间距一致。 */
  /* 官方的 hover 是一层 box-shadow(为白底设计),落在奶油底上会显脏;
   * 官方的 state 层是一块半透明深色蒙版,同理。两者都换成与 .base-btn 同口径的
   * 透明度反馈,全站按钮的按下反馈从此一致。 */
  /* 键盘可达:官方模板把 outline 去掉了,补一个可见焦点态
   * (用 Boreaux 而不是浏览器默认蓝,避免引入新配色)。 */
}
.dapp-google-btn.gsi-material-button .gsi-material-button-content-wrapper {
  justify-content: flex-start;
}
.dapp-google-btn.gsi-material-button .gsi-material-button-icon {
  height: 6.15385vw;
  width: 6.15385vw;
  min-width: 6.15385vw;
  margin-right: 2.5641vw;
}
.dapp-google-btn.gsi-material-button .gsi-material-button-contents {
  /* 不抢剩余空间,文案紧贴图标 */
  flex-grow: 0;
  font-family: inherit;
  font-weight: inherit;
  /* The text box clips (overflow hidden, for the ellipsis); a 30px line keeps the
     descenders of the 22px serif ("g" in Google) inside it */
  line-height: 7.69231vw;
}
.dapp-google-btn.gsi-material-button:not(:disabled):hover {
  box-shadow: none;
}
.dapp-google-btn.gsi-material-button:not(:disabled):active {
  opacity: 0.8;
}
.dapp-google-btn.gsi-material-button .gsi-material-button-state {
  display: none;
}
.dapp-google-btn.gsi-material-button:focus-visible {
  outline: 0.51282vw solid var(--ev-color-text-muted);
  outline-offset: 0.51282vw;
}
.dapp-google-btn.gsi-material-button:disabled {
  /* 授权窗在途:不用官方的 #ffffff61(白底假设),压透明度即可 */
  background-color: var(--ev-color-bg-page);
  border-color: transparent;
  opacity: 0.6;
  cursor: default;
}
.dapp-google-btn.gsi-material-button:disabled .gsi-material-button-contents,
.dapp-google-btn.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 1;
}

/*
 * 多色插画(src/components/Icons 里 13 个保持原色的插画,everything-workspace#1780 第 15 项):
 * 深色下在插画后面垫 bright-sand 圆底,浅色不加。取色走 --ev-color-illustration-bg,组件里不写 .dark。
 */
.ev-illustration {
  border-radius: var(--ev-illustration-radius);
  background: var(--ev-color-illustration-bg);
}

/* 本身就是一张圆角卡片的插画(两个 HP100):衬底圆角对齐卡片圆边,取值见 ev-tokens.css */
.ev-illustration--card {
  border-radius: var(--ev-illustration-card-radius);
}

/*
 * Skeleton fill, shared by every loading placeholder: the element keeps only its own size and
 * radius; the fill and the loop come from here, so all skeletons look and move the same.
 * Two tokens set the motion per theme: a band in --ev-color-skeleton-shimmer sweeps across
 * from right to left (light: the cream page colour), and the shape fades down to
 * --ev-skeleton-pulse-min halfway through each loop (dark: 55%, with no band). Under reduced
 * motion the flat fill remains.
 */
/* A wide or tall logo in a square image tile (v-logo-fit): shown whole on the page colour,
   with a little room round it, instead of cropped to fill the tile */
img.e-logo-fit {
  -o-object-fit: contain !important;
     object-fit: contain !important;
  box-sizing: border-box;
  padding: 10%;
  background: var(--ev-color-bg-page);
}

.e-skeleton-fill {
  background-color: var(--ev-color-skeleton);
  background-image: linear-gradient(90deg, transparent 0%, var(--ev-color-skeleton-shimmer) 50%, transparent 100%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: e-skeleton-fill-shimmer 1.8s ease-in-out infinite;
}

@keyframes e-skeleton-fill-shimmer {
  0% {
    background-position: 150% 0;
    opacity: 1;
  }
  50% {
    opacity: var(--ev-skeleton-pulse-min, 1);
  }
  100% {
    background-position: -50% 0;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .e-skeleton-fill {
    animation: none;
    background-image: none;
  }
}
/* Scrollbars: the native ones are hidden everywhere (hidden, they take no layout space), and
   the app draws its own overlay indicator instead (utils/scrollIndicator.ts: the page, and
   any scrolling element with v-scroll-hint). It is the same on every platform: a 3px thumb in
   the hint colour, 2px in from the right edge and 4px clear of the ends, shown while the area
   scrolls and faded out a moment after, floating over the content. */
* {
  scrollbar-width: none;
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.e-scroll-hint {
  position: absolute;
  top: 0;
  right: 0;
  width: 1.79487vw;
  height: 100%;
  pointer-events: none;
  z-index: 2147483000;
}

.e-scroll-hint--page {
  position: fixed;
  height: auto;
  bottom: 0;
}

.e-scroll-hint__thumb {
  position: absolute;
  top: 0;
  right: 0.51282vw;
  width: 0.76923vw;
  border-radius: 0.51282vw;
  background: var(--ev-color-scrollbar-hint);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.e-scroll-hint--on .e-scroll-hint__thumb {
  opacity: 1;
}
