@charset "UTF-8";

/* Removed duplicate :root block */

::selection {
  background: var(--heo-fontcolor);
  color: var(--heo-background);
}

:root {
  --heo-theme: #425aef;
  --heo-theme-op: #4259ef23;
  --heo-theme-op-deep: #4259efdd;
  --heo-theme-op-light: #4259ef0d;
  --heo-theme-none: #4259ef01;
  --heo-blue: #425aef;
  --heo-red: #d80020;
  --heo-red-op: #d800201a;
  --heo-red-op-deep: #d8002056;
  --heo-pink: #ff7c7c;
  --heo-green: #57bd6a;
  --heo-green-op: #57bd6a1a;
  --heo-green-op-deep: #57bd6a56;
  --heo-yellow: #936900;
  --heo-yellow-op: #d99c001a;
  --heo-orange: #e38100;
  --heo-purple: #7a60d2;
  --heo-fontcolor: #363636;
  --heo-background: #f7f9fe;
  --heo-navbg: rgba(22, 22, 23, 0.91);
  --heo-reverse: #000;
  --heo-maskbg: rgba(255, 255, 255, 0.6);
  --heo-maskbgdeep: rgba(255, 255, 255, 0.85);
  --heo-hovertext: var(--heo-main);
  --heo-ahoverbg: #f7f7fa;
  --heo-lighttext: var(--heo-main);
  --heo-secondtext: rgba(60, 60, 67, 0.6);
  --heo-scrollbar: rgba(60, 60, 67, 0.4);
  --heo-card-btn-bg: #1c1c1f;
  --heo-post-blockquote-bg: #fafcff;
  --heo-post-tabs-bg: #f2f5f8;
  --heo-secondbg: #f5f5f7;
  --heo-shadow-nav: 0 5px 12px -5px rgba(102, 68, 68, 0.05);
  --heo-card-bg: #fff;
  --heo-card-bg-op: var(--heo-black-op);
  --heo-card-bg-none: rgba(255, 255, 255, 0);
  --heo-shadow-lightblack: 0 5px 12px -5px rgba(102, 68, 68, 0);
  --heo-shadow-light2black: 0 5px 12px -5px rgba(102, 68, 68, 0);
  --heo-card-border: #e3e8f7;
  --heo-shadow-border: 0 8px 16px -4px #2c2d300c;
  --style-border-forever: 2px solid var(--heo-main);
  /* Added from first :root block */
  --heo-white: #fff;
  --heo-white-op: rgba(255, 255, 255, 0.2);
  --heo-black: #000;
  --heo-black-op: rgba(0, 0, 0, 0.2);
  --heo-none: #00001e00;
  --heo-gray: #999999;
  --heo-gray-op: #9999992b;
  --heo-vip: #e5a80d;
  --heo-main: var(--heo-theme);
  --heo-main-op: var(--heo-theme-op);
  --heo-main-none: var(--heo-theme-none);
  --heo-shadow-theme: 0 8px 12px -3px var(--heo-theme-op);
  --heo-shadow-blackdeep: 0 2px 16px -3px rgba(0, 0, 0, 0.15);
  --heo-shadow-main: 0 8px 12px -3px var(--heo-main-op);
  --heo-shadow-blue: 0 8px 12px -3px rgba(40, 109, 234, 0.2);
  --heo-shadow-white: 0 8px 12px -3px rgba(255, 255, 255, 0.2);
  --heo-shadow-black: 0 0 12px 4px rgba(0, 0, 0, 0.05);
  --heo-shadow-yellow: 0px 38px 77px -26px rgba(255, 201, 62, 0.12);
  --heo-shadow-red: 0 8px 12px -3px #ee7d7936;
  --heo-shadow-green: 0 8px 12px -3px #87ee7936;
  --heo-logo-color: linear-gradient(215deg, #4584ff 0%, #cf0db9 100%);
  --heo-snackbar-time: 5s;
  --style-border: 1px solid var(--heo-card-border);
  --style-border-always: 1px solid var(--heo-card-border);
  --style-border-hover: 1px solid var(--heo-main);
  --style-border-hover-always: 1px solid var(--heo-main);
  --style-border-dashed: 1px dashed var(--heo-theme-op);
}

@keyframes floating {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, 10px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes showbanner {
  0% {
    top: 0;
    background: var(--heo-theme);
  }
  30% {
    top: 60px;
  }
  80% {
    background: var(--heo-theme);
  }
  100% {
    background: var(--heo-secondbg);
  }
}

@keyframes showbannertext {
  0% {
    color: var(--heo-white);
  }
  80% {
    color: var(--heo-white);
  }
  100% {
    color: var(--heo-fontcolor);
  }
}

body {
  background: var(--heo-card-bg);
  display: flex;
  margin: auto;
  flex-direction: column;
  font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma,
    Arial, PingFang SC-Light, Microsoft YaHei;
  align-items: center;
  width: 100%;
  /* padding-bottom: 80px; */ /* Comment out or remove previous padding */
  /* Adjust padding based on the new bottom value + bar height */
  padding-bottom: 100px; /* Increased padding to accommodate the higher bar */
}

body.password-locked {
  overflow: hidden;
}
body .need-padding {
  max-width: 80%;
  z-index: 1;
}
a {
  text-decoration: none;
  -webkit-user-drag: none;
}
span {
  user-select: none;
}
sup {
  font-size: 12px;
  background: var(--heo-green);
  color: var(--heo-white);
  padding: 4px;
  border-radius: 4px;
  margin-left: 6px;
  white-space: nowrap;
  position: absolute;
  top: -4px;
}
sup.hot {
  position: absolute;
  right: 10px; /* 靠右对齐 */
  top: 10px;   /* 垂直方向顶部对齐（可调整） */
  display: flex;
  background: transparent;
  color: #fff;
  font-size: 24px;
}
sup.error {
  background: var(--heo-gray);
}
img {
  user-select: none;
  -webkit-user-drag: none;
}

.nav {
  display: flex;
  width: 100%;
  left: 0;
  position: fixed;
  justify-content: center;
  flex-direction: column;
  background: var(--heo-navbg);
  align-items: center;
  z-index: 2;
  transition: ease-in-out 0.3s;
  backdrop-filter: blur(10px);
}

.nav.top {
  background: var(--heo-card-bg);
}

/* 密码保护模态框样式 */
.password-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.35);
  align-items: center;
  justify-content: center;
}

.password-container {
  background: #fff;
  border-radius: 10px;
  padding: 2.5rem 2rem 2rem 2rem;
  box-shadow: 0 6px 32px rgba(0,0,0,0.18);
  min-width: 320px;
  max-width: 90vw;
  text-align: center;
  position: relative;
}

.password-container h3 {
  margin-top: 0;
  font-size: 24px;
  color: var(--heo-fontcolor);
}

.password-input {
  width: 80%;
  margin: 20px 0;
  border-radius: 20px;
  height: 40px;
  font-size: 18px;
  text-align: center;
}

.password-error {
  color: var(--heo-red);
  margin-top: 10px;
  font-size: 14px;
}

/* 搜索框样式 */
.search-container {
  background-color: var(--heo-secondbg);
  border-radius: 12px;
  padding: 40px;
  margin: 40px auto;
  text-align: center;
  position: relative;
  width: 100%;
}

.search-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.search-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  justify-content: center;
}

.search-title {
  font-size: 28px;
  color: var(--heo-fontcolor);
  height: 28px;
  line-height: 28px;
  display: flex;
  align-items: center;
}

.search-description {
  color: var(--heo-secondtext);
  margin-bottom: 25px;
}

.search-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.search-input {
    flex-grow: 1; /* Allow input to grow */
    text-align: center;
    height: 50px; /* Slightly smaller height */
    font-size: 18px; /* Adjust font size */
    border: 1px solid #ddd; /* Lighter border */
    border-radius: 25px; /* Pill shape */
    box-sizing: border-box;
    outline: none; /* Remove default outline */
    transition: border-color 0.2s;
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: 1s;
}

.search-input:hover {
    box-shadow: 0 0 20px 20px rgba(0, 0, 0, 0.3); /* 更浓厚的阴影 */
    transition: 1s;
}

/* 搜索框包装器样式 */
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-clear-btn {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    font-size: 25px;
    color: #000000;
    cursor: pointer;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.search-clear-btn:hover {
    background-color: #f0f0f0;
}

.engine-list {
  display: flex;
  gap: 8px;
  align-items: center;
}

.engine-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: none;
  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s;
  background: transparent;
}

.engine-logo.selected {
  border: 2px solid #0078d7;
  box-shadow: 0 0 6px 6px #0078d733;
  background: #e6f0fa;
}

@media (max-width: 768px) {
  .search-form {
    flex-direction: column;
  }
}

/* 网站列表样式 */
#common,
#learn {
  padding-top: 80px;
  margin-top: -60px;
}

.nav.top a.nav-item {
  color: var(--heo-fontcolor);
}

.nav-content {
  max-width: 1200px;
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  z-index: 2;
  transition: ease-in-out 0.3s;
}

.nav-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav-banner {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 60px;
  left: 0;
  animation: showbanner 4s ease-in-out;
  z-index: 1;
  background: var(--heo-secondbg);
}

.nav-banner a {
  font-size: 12px;
  transition: ease-in-out 0.3s;
  animation: showbannertext 4s ease-in-out;
  color: var(--heo-fontcolor);
}

.nav-banner a:hover {
  color: var(--heo-theme);
}

.nav-right .nav-menu {
  display: none;
}

a.site-logo {
  display: flex;
  align-items: center;
}

.site-logo-img {
  width: 26px !important;
  height: 26px !important;
  border-radius: 13px;
  overflow: hidden;
}

.menu-list {
  display: none;
}

.banner-img {
  width: 400px;
  overflow: hidden;
  box-shadow: 0 0px 64px 64px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s, transform 0.3s;
  object-fit: cover;
  background: #fff;
  border-radius: 200px;
  transition: 1s;
}

.banner-img:hover {
  box-shadow: 0 0px 32px 32px rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
  transition: 1s;
}

a.right-stack {
  display: flex;
  justify-content: center;
  min-height: 400px;
}

span.site-name {
  color: var(--heo-white);
  font-size: 14px;
  margin-left: 8px;
}

.nav.top span.site-name {
  color: var(--heo-fontcolor);
}

a.nav-item {
  color: var(--heo-white);
  opacity: 0.8;
  transition: ease-in-out 0.3s;
  font-size: 14px;
  margin: 0 2px;
  padding: 4px 8px;
  border-radius: 16px;
}

a.nav-item:hover {
  opacity: 1;
  background: var(--heo-card-bg);
  color: var(--heo-fontcolor);
}

.nav.top a.nav-item:hover {
  background: var(--heo-secondbg);
}

.nav-right {
  display: flex;
  align-items: center;
}

.first-stack {
  display: flex;
  justify-content: space-between;
  margin-top: 180px;
  margin-bottom: 120px;
  align-items: center;
}

.title-group {
  display: flex;
  flex-direction: column;
  font-size: 68px;
  font-weight: 400;
  color: #00001e;
  line-height: 75px;
  font-weight: 700;
  font-family: system-ui;
  letter-spacing: 0;
  line-height: 75px;
  text-shadow: 0 9px 41px rgba(0, 0, 0, 0.12);
}

a.about-button {
  display: flex;
  padding: 11px 21px;
  background: var(--heo-card-btn-bg);
  color: var(--heo-white);
  border-radius: 29px;
  box-shadow: 0 12px 12px -9px rgba(0, 0, 0, 0.29);
  margin-top: 64px;
  width: fit-content;
  transition: ease-in-out 0.3s;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
}

a.about-button:hover {
  background: var(--heo-main);
  box-shadow: 0 12px 12px -9px rgba(5, 51, 137, 0.29);
}

.about-button.social-button:hover {
  border-color: var(--heo-main);
  color: var(--heo-white);
}

.product-group {
  margin: 0;
  width: 100%;
}

h2.group-title {
  font-size: 64;
  margin-bottom: 0;
}

.group-description {
  font-size: 14px;
  color: var(--heo-secondtext);
}

.group-items {
  display: flex;
  margin-top: 60px;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}

.group-item {
  width: calc(33.333% - 16px);
  min-width: 280px;
  max-width: 480px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 4px #2c2d3012;
  display: flex;
  align-items: center;
  padding: 24px 32px;
  margin-bottom: 28px;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
}

.group-item:hover {
  box-shadow: 0 8px 32px 0 #2c2d3022;
  transform: translateY(-4px) scale(1.02);
}

.footer {
  padding: 60px 0 60px 0;
  display: flex;
  width: 100%;
  background: var(--heo-secondbg);
  margin-top: 80px;
  align-items: center;
  gap: 8px;
}

.footer .info {
  font-size: 12px;
  color: var(--heo-secondtext);
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  gap: 2px;
}

.footer a.info:hover {
  color: var(--heo-fontcolor);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 10%;
}

.product-banner {
  background-image: linear-gradient(180deg, #02162a 0, #00001e 100%);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 94px 0 0 0;
  height: fit-content;
  margin: 40px 0;
  overflow: hidden;
  position: relative;
  min-height: 800px;
}

.banner-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-banner .tips {
  color: var(--heo-vip);
  font-size: 14px;
}

.product-banner span.title {
  font-size: 56px;
  color: var(--heo-white);
  font-weight: 700;
  text-align: center;
  line-height: 60px;
  margin-top: 12px;
}

span.punctuation {
  position: absolute;
}

.banner-discription-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.8;
  margin: 24px 0 32px 0;
}

.product-banner span.description {
  font-size: 16px;
  color: var(--heo-white);
  text-align: center;
}

.link-group {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

a.primary-button {
  padding: 11px 21px;
  background: var(--heo-white);
  color: var(--heo-fontcolor);
  border-radius: 26px;
  transition: ease-in-out 0.3s;
  white-space: nowrap;
}

a.primary-button:hover {
  background: var(--heo-main);
  color: var(--heo-white);
}

a.second-link {
  color: var(--heo-white);
  background: 0 0;
  border: var(--style-border-always);
  padding: 11px 21px;
  border-radius: 26px;
  font-size: 16px;
  margin-left: 12px;
  transition: ease-in-out 0.3s;
}

a.second-link:hover {
  background: var(--heo-main);
  color: var(--heo-white);
  border-color: var(--heo-main);
}

.banner-pic {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  height: 400px;
  position: absolute;
  bottom: 120px;
}

.banner-pic-img {
  max-width: 968px;
  width: 100%;
  margin: auto;
}

.inline-word {
  word-break: keep-all;
  white-space: nowrap;
}

.first-stack-links {
  display: flex;
  flex-wrap: wrap;
}

.about-button.social-button {
  margin-left: 8px;
  padding: 0 16px;
  background: 0 0;
  border: var(--style-border-always);
  color: var(--heo-fontcolor);
  border-color: var(--heo-fontcolor);
  box-shadow: none;
}

.about-button.social-button i {
  font-size: 20px;
  line-height: 1;
  min-width: 20px;
}

.special-card {
  background: #131202;
  width: 90%;
  border-radius: 30px;
  max-width: 1200px;
  position: relative;
  display: flex;
  overflow: hidden;
  height: 500px;
}

.special-card-left {
  padding: 54px 0 54px 75px;
  z-index: 1;
  width: 100%;
  position: relative;
  box-shadow: var(--heo-shadow-border);
}

.special-card-left .tips {
  font-size: 18px;
  font-weight: 700;
  color: var(--heo-white);
}

special-card-left .title {
  font-size: 40px;
  font-weight: 700;
  max-width: 400px;
  line-height: 1.2;
  margin-top: 8px;
  max-width: calc(100% - 700px);
  color: var(--heo-white);
}

.special-card-left .discription {
  font-size: 16px;
  margin-top: 24px;
  opacity: 0.8;
  line-height: 1.2;
  max-width: calc(100% - 700px);
  color: var(--heo-white);
}

.special-card-left .button-group {
  position: absolute;
  bottom: 56px;
  display: flex;
  align-items: center;
}

.special-card-right {
  position: absolute !important;
  right: 0;
  top: 0;
  height: 100%;
  display: flex !important;
  z-index: 0;
}

.avatar-discription {
  display: flex;
  flex-direction: row; /* 横向排列 */
  align-items: center; /* 垂直居中 */
  justify-content: center; /* 水平居中 */
  padding: 24px 24px;
  border-color: transparent;
  line-height: 1.5;
  margin-top: 18px;
  flex-wrap: wrap;
  width: 80%;
  gap: 2em;
  transition: ease-in-out 0.5s;
}

.avatar-discription:hover {
  transform: scale(1.2);
  transition: ease-in-out 0.5s;
}

.author-bio-col {
  writing-mode: vertical-rl;
  text-align: center;
  white-space: pre-line;
  font-size: 24px;
  line-height: 1.8;
  letter-spacing: 2px;
  color: #333;
  /* 可根据需要调整颜色和字体 */
  font-family: 'KaiTi', 'FangSong', sans-serif; /* 更改字体 */
}

.avatar-discription-text {
  display: flex;
  flex-direction: row-reverse;
  gap: 1.5em;
  align-items: flex-end; /* 调整对齐方式，使印章在底部 */
  justify-content: center; /* 水平居中 */
  font-family: 'KaiTi', 'FangSong', sans-serif; /* 更换字体 */
  font-size: 22px; /* 适中字号 */
  line-height: 2; /* 调整行间距使其疏朗 */
  width: auto; /* 让内容自适应 */
  padding: 20px 40px;
  border-radius: 12px;
  flex-wrap: wrap;
}

.avatar-discription-text p {
  margin: 0;
}

.avatar-discription-text b {
  color: #c87500;
}

.avatar-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  min-width: 140px;
}

.avatar-name {
  display: flex;
  margin: auto;
  font-family: 'SimSun', serif; /* 使用宋体 */
  font-weight: bold; /* 加粗 */
  font-size: 28px; /* 比座右铭文字略大 */
  opacity: 1;
  margin-top: 8px;
}

.avatar-title {
  display: flex;
  margin: auto;
  font-size: 18px; /* 字号缩小 */
  color: #555; /* 颜色略浅 */
  text-align: center;
  max-width: 200px;
  margin-top: 4px; /* 在avatar-name下方 */
  font-family: 'FangSong', sans-serif; /* 更换字体 */
}

.avatar-image {
  width: 150px !important;
  height: 150px !important;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: var(--heo-shadow-lightblack) !important;
  filter: drop-shadow(2px 4px 12px #ec625b2e) !important;
}

.seal-image {
  width: 40px; /* 调整印章大小 */
  height: 40px; /* 调整印章大小 */
  margin-left: 10px; /* 与文字的间距 */
  align-self: flex-end; /* 确保印章在底部对齐 */
}

.beian-icon {
  height: 14px !important;
  width: 14px !important;
}

.info-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media screen and (max-width: 1200px) {
  .group-item {
    width: 50%;
  }

  .special-card {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .group-info {
    margin-right: 20px;
  }

  .group-info-group {
    margin-left: 12px;
    height: 100px;
    flex-direction: row;
    width: 100%;
    align-items: center;
    margin-left: 20px;
  }

  .first-stack {
    margin-bottom: 20px;
    flex-direction: column;
    margin-top: 112px;
  }

  .left-Introduce {
    margin-bottom: 40px;
    margin-right: auto;
  }

  a.about-button {
    margin-top: 28px;
  }

  .group-items {
    margin-top: 30px;
  }

  body .need-padding {
    width: calc(100% - 64px);
  }

  .product-group {
    margin: 0;
  }

  .group-item {
    width: 100%;
    margin-bottom: 30px;
  }

  .footer {
    flex-direction: column;
    margin-top: 20px;
  }

  .show-menu .nav {
    background: var(--heo-fontcolor);
  }

  .nav-content {
    width: 80%;
  }

  .nav-right .nav-item {
    display: none;
  }

  .show-menu .nav.top span.site-name {
    color: var(--heo-white);
  }

  body:not(.show-menu) .nav.top .nav-menu {
    color: var(--heo-fontcolor);
  }

  .show-menu span.site-name {
    color: var(--heo-white);
  }

  .nav-right .nav-menu {
    display: flex;
    color: var(--heo-white);
    padding: 8px 0 8px 8px;
  }

  .product-banner span.title {
    font-size: 40px;
    line-height: 46px;
  }

  .menu-list {
    display: flex;
    position: fixed;
    flex-direction: column;
    top: 60px;
    background: #00001eee;
    width: 100%;
    height: 0%;
    z-index: 10;
    align-items: center;
    overflow: hidden;
    transition: ease-in-out 0.3s;
    opacity: 0;
    backdrop-filter: blur(12px);
  }

  .show-menu .menu-list {
    height: 100%;
    opacity: 1;
  }

  .menu-list a.nav-item {
    padding: 8px 8px;
    font-size: 16px;
    border-bottom: 1px solid #ffffff1e;
    width: 90%;
    margin-left: 0;
    border-radius: 0;
    width: 80%;
  }

  .show-menu .menu-list a.nav-item {
    padding: 12px 8px;
  }

  .banner-pic {
    margin-top: 20px;
    height: 200px;
    bottom: 40px;
  }

  .product-banner {
    padding-top: 60px;
    min-height: 580px;
  }

  h2.group-title {
    margin: 0;
    font-size: 20px;
  }

  .group-info-group a.title {
    font-size: 16px;
  }

  a.linkbutton {
    margin-left: 0;
  }

  .banner-img {
    height: 100%;
    width: 100%;
    max-width: 100%;
  }

  .banner-pic-img {
    width: 100vw;
  }

  .nav-center {
    display: none;
  }

  .title-group .title {
    font-size: 42px;
    line-height: 38px;
  }

  .avatar-discription {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .avatar-discription-text {
    flex-direction: row-reverse;
    width: 100%;
    padding: 20px;
    justify-content: center;
  }

  .avatar-info {
    width: 100%;
    margin-top: 20px;
  }

  .group-info-group a.discription {
    margin-bottom: 0;
    -webkit-line-clamp: 2;
  }

  .group-info-button {
    flex-direction: column;
  }

  span.linkbotton-tips {
    margin-left: 0;
    margin-top: 4px;
    font-size: 10px;
  }

  span.discription-text {
    font-size: 24px;
    line-height: 30px;
    margin-top: 16px;
  }

  a.right-stack {
    min-height: auto;
  }

  a.second-link {
    font-size: 14px;
  }

  a.primary-button {
    font-size: 14px;
  }
}

@media screen and (max-width: 375px) {
  .first-stack {
    margin-bottom: 20px;
  }

  .left-Introduce {
    margin-bottom: 40px;
  }

  a.about-button {
    margin-top: 20px;
  }

  .group-items {
    margin-top: 30px;
  }

  .group-item {
    flex-direction: row;
  }

  .group-info-group {
    margin-left: 20px;
    flex-direction: row;
    width: 100%;
    height: 45px;
  }

  .group-info-button {
    margin-top: 0;
    flex-direction: column;
  }

  span.linkbotton-tips {
    margin-top: 4px;
  }

  .product-group {
    margin: 0;
  }

  .product-banner {
    padding-top: 40px;
  }

  .banner-pic {
    margin-top: 0;
    height: 150px;
  }

  h2.group-title {
    margin: 0;
  }

  a.linkbutton {
    margin-left: 8px;
  }

  .footer {
    margin-top: 20px;
  }

  .title-group .title {
    font-size: 35px;
    line-height: 1.2;
  }

  span.discription-text {
    font-size: 16px;
    line-height: 1.2;
  }

  a.about-button {
    padding: 8px 24px;
  }

  .nav-center {
    display: none;
  }
}

.menu-list::before {
  display: block;
  padding-top: 40px;
  content: "";
}

.progressive-picture {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  background: radial-gradient(circle, #c3c3c3 0%, #d9dee4 100%);
  transition: filter 0.3s ease-out;
  filter: blur(50px);
  /* this is needed so Safari keeps sharp edges */
  transform: scale(1);
}

.progressive-picture.loaded {
  filter: none;
  background: none;
}

.progressive-thumbnail {
  opacity: 1;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  object-fit: cover;
  transition: opacity 0.3s ease-out;
}

.progressive-thumbnail.loaded {
  opacity: 0;
}

.progressive-content {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: relative;
  top: 0;
  left: 0;
  object-fit: cover;
  transition: opacity 0.3s ease-out;
}

.progressive-content.loaded {
  opacity: 1;
}

.site-item-logo-img {
  width: 80px;
  height: 80px;
  margin-right: 32px;
  margin-bottom: 0;
  object-fit: contain;
}

.site-title {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  display: flex;
  position: static;
  align-items: center; /* 垂直居中 */
  height: 24px;
}

.site-bio {
  color: #666;
  font-size: 15px;
  margin: 8px 0 16px 0;
  line-height: 1.6;
}
.site-btn {
  background: linear-gradient(90deg, #0078d7, #3f8def);
  color: #fff;
  border-radius: 24px;
  padding: 8px 28px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 2px 8px #0078d733;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  outline: none;
  text-decoration: none;
  width: 60px;
  min-width: 60px;
  max-width: 60px;
  justify-content: center;
}
.site-btn:hover {
  background: linear-gradient(90deg, #005fa3, #0078d7);
  box-shadow: 0 4px 16px #0078d744;
}
@media (max-width: 600px) {
  .site-btn {
    width: 100%;
    justify-content: center;
    min-width: 100px;
    max-width: 100%;
  }
}

/* 首页header-sites整体布局优化 */
.first-stack.need-padding {
  align-items: stretch;
  gap: 48px;
}
.left-Introduce {
  flex: 1 1 0;
  min-width: 320px;
}
.right-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  max-width: 480px;
}
@media (max-width: 900px) {
  .first-stack.need-padding {
    flex-direction: column;
    gap: 24px;
  }
  .right-stack {
    min-width: 0;
    max-width: 100%;
  }
}

/* 首页header-sites文字美化 */
.title-group .title {
  font-size: 64px;
  font-weight: 800;
  /* line-height: 75px; */
  background: linear-gradient(90deg, #425aef 10%, #cf0db9 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  line-height: 1.3;
  margin-bottom: 8px;
  text-shadow: 0 6px 32px #4259ef22;
}

.discription-text {
  font-size: 26px;
  font-weight: 500;
  color: #4b4b4b;
  line-height: 1.6;
  margin-top: 18px;
  background: linear-gradient(90deg, #425aef 0%, #57bd6a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px #4259ef11;
}

.first-stack-links {
  margin-top: 32px;
  gap: 16px;
}

/* 站内搜索组件 */
.site-search-container {
    position: fixed; /* 确保固定定位 */
    bottom: 25px;    /* 调整距离底部的距离 */
    width: 100%;     /* 设置宽度为100% */
    max-width: 30%;  /* 最大宽度 50% */
    /* Add positioning to center the container itself */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.98); /* 背景色 */
    background: linear-gradient(90deg, #5ab1eb 0%, #cd34b4 100%);
    padding: 10px 0; /* 内边距 */
    border-radius: 40px; /* 药丸形状 */
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.3); /* 更浓厚的阴影 */
    z-index: 999; 
    box-sizing: border-box; /* 确保宽度计算正确 */
    overflow: visible; /* 确保内容不被裁剪 */
    display: flex; /* 使用 flex 布局来居中内容 */
    justify-content: center; /* 水平居中 flex 项目 */
    align-items: center;
    transition: 1s;
}

.site-search-container:hover {
    box-shadow: 0 0 20px 20px rgba(0, 0, 0, 0.3); /* 更浓厚的阴影 */
    transition: 1s;
}

.site-search-input {
    flex-grow: 1; /* Allow input to grow */
    text-align: center;
    height: 50px; /* Slightly smaller height */
    font-size: 18px; /* Adjust font size */
    border: transparent; /* Lighter border */
    border-radius: 25px; /* Pill shape */
    box-sizing: border-box;
    outline: none; /* Remove default outline */
    transition: border-color 0.2s;
    background-color: transparent;
}

.site-search-input::placeholder {
  color: #b6eb4c; /* 灰色 */
  opacity: 1; /* 修复 Firefox 的默认半透明问题 */
}

/* 站内搜索框包装器样式 */
.site-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.site-search-clear-btn {
    position: absolute;
    right: 20px;
    background: none;
    border: none;
    font-size: 35px;
    color: #000000;
    cursor: pointer;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.site-search-clear-btn:hover {
    background-color: rgba(255, 255, 255, 0.98);
}

.site-search-clear-btn:active {
    transform: scale(0.95);
}

/* Styles for highlighting */
.group-item.highlight {
    box-shadow: 0 0 10px 10px rgb(131, 167, 179);
    outline: 1px solid rgb(131, 167, 179);
    z-index: 1; /* Ensure highlight is above dimmed text but below search bar */
}

.group-item.dimmed {
  opacity: 0.5; /* Dim non-matching items */
}

.group-item.focused-result {
  outline: 2px solid yellow; /* Example: Highlight the currently focused result */
  box-shadow: 0 0 10px 10px yellow; /* Optional: Add a shadow effect */
}

/* No Results Toast Notification */
.no-results-toast {
    position: fixed;
    bottom: 200px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 193, 7, 0.9); /* Amber color, slightly transparent */
    color: #ff0000;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1001; /* Ensure it's above most other elements */
    opacity: 1;
    transition: opacity 0.5s ease-out;
    font-size: 20px;
    text-align: center;
}

.no-results-toast.fade-out {
    opacity: 0;
}

/* 登录弹窗按钮样式 from index.html */
.login-btn {
  padding: 10px 24px;
  margin: 0 10px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px #425aef22;
}
.login-once {
  background: #57bd6a;
  color: #fff;
}
.login-once:hover {
  background: #4cae4c;
}
.login-always {
  background: #cd34b4;
  color: #fff;
}
.login-always:hover {
  background: #a81e8a;
}
#login-options {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* 返回顶部按钮样式 */
#back-to-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.8s;
    pointer-events: none;
}

#back-to-top:hover {
    box-shadow: 0 0 20px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
    transition: 0.8s;
}
