body::-webkit-scrollbar {
  display: none;
}
/* 隐藏滚动条 */
::-webkit-scrollbar {
  width: 0; /* Remove scrollbar space */
  background: transparent; /* Optional: just make scrollbar invisible */
}

/* For IE and Edge */
body {
  -ms-overflow-style: none; /* IE and Edge */
}

/* Firefox */
html {
  scrollbar-width: none; /* Firefox */
}

.y-header {
  top: 0;
  left: 0;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 100%;
  padding: 0 15px;
  background: rgba(230, 234, 243, 0.2);
  backdrop-filter: blur(6px);
  z-index: 3;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* header滚动超过400px后消失 */
.y-header-hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.y-header-box {
  display: flex;
  align-items: center;;
  /* width: 1386px; */
  background: transparent;
  width: 95%;
  padding: 0 var(--limit-content-lr-padding);
}

.logo {
  width: 40px;
  height: 22px;
  /* margin-right: 60px; */
  cursor: pointer;
}
.el-menu-demo {
  justify-content: center;
  flex: 1;
}

.y-header .el-menu {
  background-color: transparent;
}

.el-menu--horizontal .el-menu .el-menu-item{
  padding: 0 20px;
  background: #fff;
}

.el-menu--popup {
  min-width: 120px;
  padding: 0;
  box-shadow: none;
  background: transparent;
  background: rgba(230, 234, 243, 0.2);
  backdrop-filter: blur(6px);
  border-radius: 0 0 5px 5px;
  overflow: hidden;
  box-shadow: 0 10px 8px rgba(0, 0, 0, 0.1);
}

.y-header .el-menu--horizontal > .el-sub-menu .el-sub-menu__title:hover {
  background-color: transparent;
}

.y-header .el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{
  color: var(--el-menu-text-color);
}

.y-header .el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{
  border-bottom: none;
  color: var(--el-menu-text-color);
}

.y-header .el-menu--horizontal>.el-sub-menu .el-sub-menu__title{
  border-bottom: none;
}

.y-header .el-menu--horizontal.el-menu {
  border-bottom: none;
}

.y-header .el-popper{
  background: rgba(230, 234, 243, 0.2);
  border: none;
}

.el-popper.is-pure{
  background: rgba(230, 234, 243, 0.2);
  border: none;
}


.y-affix {
  position: absolute;
  right: 20px;
  bottom: 60px !important;
  z-index: 3;
}

.y-mobile-affix{
  width: 45px;
}

.y-affix-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(2px);
  border-radius: 30px;
}

.el-affix--fixed{
  height: 100vh;
  width: 20px;
  /* background-color: #000; */
  padding-bottom: 200px;
}

.y-affix-item {
  display: flex;
  padding: 8px;
  cursor: pointer;
}

.y-affix .el-affix--fixed{
  position: fixed;
  bottom: 60px !important;
  right: 2vw;
}

/* 手机版浮动按钮（UA识别为手机设备）：底部抬升到200px，避免遮挡底部内容 */
.y-affix-mobile .el-affix--fixed{
  bottom: 2000px !important;
}

/* 鼠标悬停时改变颜色 */
.y-affix-item:hover path {
  fill: #1890ff; /* 鼠标移上去后填充颜色变为蓝色 */
}

.y-divider {
  width: 20px;
  height: 1px;
  margin: 8px 0;
  background-color: rgba(255, 255, 255, 0.6);
}

/* 右侧浮动按钮 - 等比例缩放响应式（最多缩小 20%，保持按钮可用性） */
@media (max-width: 1200px) {
  .y-affix-box {
    zoom: 0.95;
  }
}

@media (max-width: 992px) {
  .y-affix-box {
    zoom: 0.9;
  }
}

@media (max-width: 768px) {
  .y-affix-box {
    zoom: 0.85;
  }
}

@media (max-width: 480px) {
  .y-affix-box {
    zoom: 0.8;
  }
}

/* 顶部导航栏内容（.y-header-box）- 等比例缩放响应式（最多缩小 20%，保持导航可用性） */
@media (max-width: 1200px) {
  .y-header-box {
    zoom: 0.95;
  }
}

@media (max-width: 992px) {
  .y-header-box {
    zoom: 0.9;
  }
}

@media (max-width: 768px) {
  .y-header-box {
    zoom: 0.85;
  }
}

@media (max-width: 480px) {
  .y-header-box {
    zoom: 0.8;
  }
}

.el-popover.el-popper {
  min-width: 50px !important;
}

/* 注册按钮 */
.register {
  margin-right: 24px;
  color: #262626;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
}

.register:hover {
  color: #1890ff;
}

/* 按钮样式 */

.y-button {
  min-height: 36px;
  min-width: 88px;
  background-color: rgba(51, 109, 244, 0.05);
  border-radius: 1px solid #000;
}

.y-button:hover{
  min-height: 36px;
  min-width: 88px;
  color: #336DF4;
  border: 1px solid #336DF4;
}

.yun {
  border-radius: 12px;
  color: #336DF4;
  border: 1px solid rgba(51, 109, 244, 0.20);
}
.yun:hover{
  color: #336DF4;
  background-color: rgba(51, 109, 244, 0.05);
}

.chatInterface {
  /* background-image: url('./images/ai-header-bg.png') !important;
  background-size: cover;
  background-repeat: repeat;
  background-position: center;
  background-color: white;
  color: linear-gradient(90deg, #c86dff 19.36%, #1890ff 100%); */
  cursor: pointer;
}
.chatInterface:hover{
  opacity: 0.8;
}

.chatInterface span {
  background: linear-gradient(
    90deg,
    #c86dff 19.36%,
    #1890ff 100%
  ); /* 设置线性渐变背景 */
  -webkit-background-clip: text; /* 使用 Webkit 的背景裁剪属性 */
  background-clip: text; /* 使用标准的背景裁剪属性 */
  color: transparent; /* 将文字颜色设置为透明，以便显示背景渐变 */
}

/* 隐藏滚动条 */
.hide-scrollbar {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  overflow-y: scroll; /* Keep the content scrollable */
}

.hide-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.page-frame {
  display: block;
  width: 100%;
  margin-top: 60px;
  height: calc(100vh - 60px);
}

.y-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: auto;
  /* padding: 0 3.2vw; */
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0px 3px 18px 0px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(15px);
}

.y-mobile-header .y-mobile-collapse {
  width: 100%;
  border: none;
  --el-collapse-border-color: transparent;
}

/* .y-mobile-header --el-collapse-border-color{

} */

.y-mobile-header .el-collapse-item__header {
  padding: 0 3.2vw;
  background: rgba(255, 255, 255, 0.2);
  border-bottom: none;
}

.future-collapse .el-collapse-item__header {
  padding: 0 4.25vw;
  font-weight: 600;
}

.y-mobile-header .el-collapse-item__wrap {
  background: rgba(255, 255, 255, 0.2);
  border-bottom: none;
}

.y-mobile-header .el-collapse-item.is-disabled .el-collapse-item__header {
  color: black;
  cursor: pointer;
}

.y-mobile-header .el-collapse-item__content {
  padding-bottom: 0;
}

/* .future-collapse .el-collapse-item{
  padding: 0 3.2vw;
} */

.collapse-item {
  height: 5.8vh;
  line-height: 5.8vh;
  padding: 0 5.3vw;
}

.ml-36 {
  margin-left: 3.2vw;
}
.mr-36 {
  margin-right: 3.2vw;
}

.page-layout-row-inner-ab83f{
  padding: 0;
}

@media (max-width: 750px) {
  .page-frame {
    margin-top: 50px;
    height: calc(100vh - 50px);
  }

  .y-mobile-header {
    min-height: 50px;
  }
}
