/* Sun-Panel-Helper CSS */
/* 此文件由系统自动管理，请勿手动修改 */
/* 警告：手动修改可能导致样式冲突或程序异常 */
/* 上次更新：4/11/2025, 8:35:36 AM */

/* Sun-Panel-Helper CSS Start: xiantiao */
/* 背景线条样式 BY 香水 [二群大佬提供] */

/* 伪元素创建背景线条样式 */
.w-full .font-semibold:before {
  content: "";
  position: absolute;
  width: 93px;
  height: 93px;
  border-radius: 60%;
  background: rgba(239, 206, 206, 0.18);
  box-shadow: -8px 21px 0 rgba(206, 239, 241, 0.19);
  z-index: -1;
  right: -27px;
  top: -35px;
  pointer-events: none;
}

/* 伪元素创建另一种背景线条样式 */
.w-full .font-semibold:after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(235, 236, 227, 0.26);
  border-radius: 70%;
  z-index: -1;
  top: -19px;
  right: 48px;
  pointer-events: none;
}

/* 设置图标信息框的圆角样式 */
.icon-info-box .rounded-2xl {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.search-container.rounded-2xl {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(0.5px) !important;
  backdrop-filter: blur(0.5px) !important;
}


/* Sun-Panel-Helper CSS End: xiantiao */
input::placeholder {
  color: #ffffffcc !important;  /* #cc 表示 80% 不透明度 */
}





#ac-iframe-wrap {
  /* 统一偏移变量 */
  --x-offset: 0px;
  --y-offset: 0px;

  position: fixed;
  top: 16px;
  right: 16px;
  width: 360px;
  height: 740px;
  z-index: 9999;
  border-radius: 8px;
  overflow: visible;
  background: transparent;

  /* 始终应用完整 transform */
  transform: translateX(var(--x-offset)) translateY(var(--y-offset));
  transition: transform 0.1s ease;
  will-change: transform;
}

/* 折叠状态：只修改 X 偏移 */
#ac-iframe-wrap.collapsed {
  --x-offset: calc(100% - 15%); /* 你之前是 “只留 40px”，这里略为保守 */
}

/* iframe 内嵌样式 */
#ac-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  opacity: 0.9;
  display: block;
}

/* 折叠/展开按钮 */
#ac-toggle-btn {
  position: absolute;
  top: 15px;
  left: -15.5px;
  width: 20px;
  height: 20px;
  border-radius: 4px 0 0 4px;
  border: none;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

#ac-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.3);
}





