@charset "utf-8";

/* 弹出检索 */
.ul-search-form-wrapper {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.65);
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: 0.3s ease;
  flex-direction: column;
  gap: 20px;
  /* backdrop-filter: blur(25px); */
}
.ul-search-form-wrapper.active {
  opacity: 1;
  pointer-events: all;
}
.ul-search-form-wrapper .ul-header-search-form {
  background-color: var(--white);
  max-width: 80%;
}
@media screen and (max-width: 575px) {
  .ul-search-form-wrapper .ul-header-search-form {
    max-width: 95%;
  }
}
@media screen and (max-width: 479px) {
  .ul-search-form-wrapper .ul-header-search-form {
    flex-direction: column;
    border-radius: 10px;
    height: auto;
  }
  .ul-search-form-wrapper .ul-header-search-form .ss-main {
    padding: 10px clamp(12px, 1.05vw, 20px);
  }
  .ul-search-form-wrapper .ul-header-search-form-right {
    padding: 10px clamp(18px, 1.31vw, 25px);
  }
}
.ul-search-closer {
	color: #341299;
	border: 1px solid #fff;
	border-radius: 50%;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	background: transparent;
	color: #fff;
	position: absolute;
	top: 42px;
	right: 25px;
}
.ul-search-closer i {
  display: inline-flex;
  font-size: 18px;
}
.ul-search-closer:hover {
  background-color: #fff;
  color: #121b99;
}
.ul-search-form {
	border-radius: 999px;
	border: 2px solid rgba(255, 255, 255, 1);
	display: flex;
	height: clamp(48px, 3.15vw, 60px);
	max-width: clamp(830px, 32.53vw, 850px);
	width: 100%;
	font-size: clamp(16px, 0.94vw, 18px);
	width: 95%;
	display: flex;
	align-items: center;
	background: rgba(0, 0, 0, .3);
}
.ul-search-form-right {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 clamp(18px, 1.31vw, 25px);
  flex-grow: 1;
}
.ul-search-form-right input {
  border: none;
  height: 100%;
  width: 100%;
  color: #fff;
  background: transparent;
  outline: none;
  font-size: 18px;
}
.ul-search-form-right input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}
.ul-search-form-right button {
	padding: 0;
	height: 100%;
	flex-shrink: 0;
	font-size: 30px;
	color: #fff;
	background: transparent;
	border: 0;
	cursor: pointer;
}
.ul-search-form-right button .icon {
  display: inline-flex;
}

/* 下拉选择框 */
.ul-search-form-left {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
	background: transparent;
}

.search-dropdown {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent; /* 关键修改 */
    border: none;
    color: #fff;
    font-size: clamp(18px, 0.84vw, 20px);
    padding-right: 25px;
    padding-left: 12px;
    cursor: pointer;
    outline: none;
    width: 100%; /* 新增 */
}
.search-dropdown option {
    background: rgba(0, 0, 0, 0.8); /* 下拉菜单背景 */
    color: #fff; /* 选项文字颜色 */
	border: none !important; /* 移除默认边框 */
    outline: none !important; /* 移除聚焦轮廓 */
    box-shadow: none !important; /* 移除可能的内阴影 */

}
.search-dropdown option:hover {
    background: rgba(255, 255, 255, 0.2);
}
.search-dropdown:focus {
    color: rgba(255, 255, 255, 0.9);
}

.dropdown-arrow {
    position: absolute;
    right: 20px;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    font-size: 12px;
	background: transparent;
}

/* 热词搜索样式 */
.search-hotwords {
    margin-top: 2px;
    width: 100%;
    max-width: clamp(830px, 32.53vw, 850px);
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.hotwords-title {
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

.hotwords-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hotword-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hotword-item:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* 响应式调整 */
@media screen and (max-width: 767px) {
    .search-hotwords {
        padding: 0 15px;
    }
    
    .hotwords-list {
        gap: 8px;
    }
    
    .hotword-item {
        padding: 3px 10px;
        font-size: 13px;
    }
}

.detail-select{float: right;padding: 5px 0;outline: none;margin: 15px 0;width: 90%;margin-top: 6px;max-width: clamp(800px, 32.53vw, 850px);color: rgba(255, 255, 255, 0.8);font-size: 14px;}
.detail-select a{border-radius: 4px;padding: 4px 10px;border: 1px solid rgba(255,255,255,.4);margin: 0 2px;color: #eef9f9;transition: .35s;text-decoration: none;font-size: 16px;float: right;}
.detail-select a:hover{border: 1px solid #106BF4;color: #106BF4;}

/* 弹出检索 end */


