/***********************公共样式***********************/
*{box-sizing: border-box;}
html,body{width: 100%;height: 100%;
 user-select: none; /* 防止选择文本 */
		    -webkit-user-drag: none; /* 禁止拖动（在Chrome, Safari, Opera上有效） */
		
}


/** reset **/
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td, img{border:medium none;margin: 0;padding: 0;font-size: 100%;}
body,button, input, select, textarea{font-size: 12px;font-family: "microsoft yahei","Gulim ", sans-serif;}
h1, h2, h3, h4, h5, h6{font-weight: normal;}
input,button,img{border: none;background: none;}
button {cursor: pointer;}
input[type="text"],
input[type="password"],button{outline: none;-webkit-appearance:none;}
em,i{font-style:normal;}
ul, ol{list-style: none;}
a{text-decoration: none;
	color:#333;
}
a,a:hover,a:active,a:visited,a:link,a:focus{
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
    outline:none;
    text-decoration: none;
}
img{border:0px;  outline-width:0px;  vertical-align:top;}
.clearfix {*zoom: 1;}
.clearfix:before, .clearfix:after {display: block; line-height: 0; content: "";}
.clearfix:after {clear: both;}
.fl {float:left;}
.fr {float:right;}

/* @charset "utf-8"; */

:root {
  --bgColor: #fff;
  --color: #333;
}
* {
  padding: 0;
  margin: 0;
  outline: none;
}
input[type="search"]::-webkit-search-cancel-button {
  display: none !important;
  -webkit-appearance: none;
}
img {
  -moz-user-select: none; /* 火狐浏览器 */
  -webkit-user-select: none; /* 谷歌浏览器 */
  -ms-user-select: none; /* IE10+ */
  user-select: none; /* 标准语法 */
}
	#logohu{display: grid; place-items:center;margin-top:0%;
			user-select: none; /* 防止选择文本 */
			-webkit-user-drag: none; /* 禁止拖动（在Chrome, Safari, Opera上有效） */

			}

    #wallpaper-logo{ width:265px; height:65px;margin-top:10px; display:none;
							user-select: none; /* 防止选择文本 */
							-webkit-user-drag: none; /* 禁止拖动（在Chrome, Safari, Opera上有效） */
							}

#home-logo {
  width: 230px;
}

/* 媒体查询：手机端 */
@media screen and (max-width: 768px) {
  #home-logo {
    width:180px;
  }
}


.sousuo {
  padding: 12px 10px 30px 10px;
height:106px;
}

.search {
  position: relative;
  margin: 0 auto;
  min-width: 400px;
  width: calc(42%);
  
}
.search-box {
  height:50px;
  overflow: hidden;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  border:2px solid #ddd;
  border-radius:20px;
  margin-bottom:10px;
  margin-top:20px;
  background-color: rgba(255, 255, 255, 0.5);
  min-width: 400px;
}
.search-box:hover {
  border:2px solid #ffffff;
  box-shadow: 0px 1px 7px  #999999;
}

.search-box:focus-within {
  border:2px solid #ffffff;
  box-shadow: 0px 1px 7px  #999999;
  background-color:white;
}

#search-icon {
  display: block;
  position: absolute;
  top: 7.5px;
  width: 60px;
  height: 36px;
  overflow: hidden;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
}
#search-img {
  display: none;
  position: absolute;
  top: 6.5px;
  width: 48px;
  height: 38px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  left: 8px;
}

.mobile-return{display: none;}
	.search-button img{ height:33px;  border:0;
		width:33px;}

/* 搜索按钮 开始*/
    .search-button {
      
    }

   /* 搜索按钮 结束*/
   .search-input {
     box-sizing: border-box;
     font-family: "SF-Pro-Display-Semibold", "PingFangSC-Regular", "Microsoft YaHei UI", "Microsoft YaHei", helvetica, sans-serif;
     flex:10;
     height: 50px;
     font-size: 18px;
     color: #000000de;
     border: none;
     outline: none;
     padding-left: 60px;
     /* 加大右侧内边距，给清除按钮留出空间 */
     padding-right: 80px;
   }

input::-webkit-input-placeholder {
  font-size: 18px;
  font-family: "SF-Pro-Display-Semibold", "PingFangSC-Regular",
    "Microsoft YaHei UI", "Microsoft YaHei", helvetica, sans-serif;
  letter-spacing: 1px;
  color: #999999;
 
}

.hot-text {
  position: relative;
  margin: 10px 10px 5px;
  overflow: hidden;
  color: #999;
  font-size: 14px;
}

/* 仅手机（767px以内）隐藏，平板768~1023px正常显示 */
@media screen and (max-width: 767px) {
  .hot-text {
    display: none;
  }
}


/* 仅手机（767px以内）隐藏，平板768~1023px正常显示 */
@media screen and (max-width: 767px) {
  .history-header-txt {
    display: none;
  }
}

/* 仅手机（767px以内）隐藏，平板768~1023px正常显示 */
@media screen and (max-width: 767px) {
  .history-header {
    display: none;
  }
}

.search-hot-text .history .history-header {
  position: relative;
  margin: 10px 10px 5px;
  overflow: hidden;
  color: #999;
  font-size:14px;
  display: flex;
  justify-content: space-between;
}
.history-header #clear {
  cursor: pointer;
  
}
.search-hot-text .history .history-body {
  margin: 0 5px;
  overflow: hidden;
}
.search-hot-text .history .history-body .item {
  width:49%;
  position: relative;
  float: left;

}
.search-hot-text .history .history-body .item:hover > #clearHistory {
  display: block !important;
  cursor: pointer;
}
.history-body .item #clearHistory {
  position: absolute;
   top:8px;
  width:30px;
  height:20px;
  color:red;
   background-color: #ddd;
  right:8px;
padding-left:6px;
 border-radius:10px;

}
.search-hot-text .history .history-body .item span {
  display: block;
margin:5px;
  overflow: hidden;
  color: #111;
  line-height:25px;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
margin-left:20px;
font-size:15px;
padding-left:10px;
  border-radius:6px;
 background-color: #f4f2f2;

}

.search-hot-text ul {
  margin: 0;
  padding: 0;
}
/* 下拉提示词样式 */
.search-hot-text ul li {
  cursor: pointer;
  line-height:30px;
  font-size: 16px;
  color: #222;
  list-style: none;
  border-bottom: 1px solid #eee;
  overflow: hidden;
}

.search-hot-text {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 42%;
  border-radius: 5px 5px 15px 15px;
  border-top: none;
  background-color:white;
  height:360px;
  overflow: hidden;
  min-width:370px;
}

.search-hot-text ul li:hover {
  color: #2196f3;
  cursor: pointer;
}
/*搜索提示数字*/
.search-hot-text ul li span {
  -webkit-tap-highlight-color: #00000000;
  list-style: none;
  cursor: pointer;
  box-sizing: border-box;
  display: inline-block;
  width:24px;
  height:20px;
  font-size:1px;
  text-align: center;
  margin-right: 10px;
  border-radius: 10px;
  color: #535353;
}
.search-engine {
  position: absolute;
  top:51px;
  background-image: linear-gradient(to bottom, #ddd, #eeeeee);
  border-radius:18px;
  box-shadow: 0 1px 6px 0 #999;
padding:5px;
z-index:100;
max-width:190px;
}
.search-engine-head {
  overflow: hidden;
top:1px;
}
.search-engine-tit {
  float: left;
  margin: 0;
  font-size:11px;
  color: white;
}
.search-engine-list::after {
  content: "";
  width: 70px;
  height: 18px;
  position: absolute;
  top: -15px;
  left: 5px;
}

.search-engine-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  max-width:90%;
  margin: auto;
}

.search-engine-list li {
  flex: 0 0 50%;
  margin: 0 0 7px;
  height: 30px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #333;
}

.search-engine-tool {
  float: right;
  margin-right: 15px;
  font-size:15px;
  color: white;
 padding-top:6px;
  cursor: pointer;
}

.icon {
  width: 3.1em;
  height:2.1em;
  vertical-align: -0.6em;
  fill: currentColor;
  overflow: hidden;
  padding: 0 5px 0 1px;
  user-select: none;
  -webkit-user-drag: none;
 
}
.iconImage {
  width: 3.1em;
  height:2.1em;
}

#search-clear {
 position:absolute;
  top: 20px;
  right:10px;
  width: 30px;
  height: 30px;
  line-height:20px;
  text-align: center;
  margin-top: -10px;
  color: #333;
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;

  
}

.search-engine::before {
  content: "";
  position: absolute;
   top:-10px;
  left:12px;
  width:20px;
  height:10px;
  background-color: var(--main-color);
  transform: rotate(45deg);
  transform-origin: 0 100%;
  z-index: -1;
  }

 .search-engine::after {
   content: "";
   position: absolute;
 top:-10px;
   left:12px;
   width:20px;
   height:10px;
   background-color: #ddd;
   transform: rotate(-45deg);
   transform-origin: 100% 100%;
   z-index: -1;
 }

.hot-row-cell{
  position: relative;
  padding-right:24px;
}

.search-icon{
  display: inline-block;
  width:30px;
  height: 30px;
  background: url(../image/search.png) no-repeat center;
  background-size: cover;
}

.arrow-icon {
  display: inline-block;
  width:20px;
  height:20px;
  background: url(../image/Arrow-top-left.png) no-repeat center;
  background-size: cover;
  position: absolute;
  right: 15px; cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
}

html, body {
  margin: 0;
  height: 100%;
}
/* ========== search-hub 基础样式（电脑端默认居中） ========== */
.search-hub {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 0 16px;
  transition: all 0.22s ease;
}

/* ========== 移动端适配 屏幕≤768px ========== */
@media screen and (max-width: 768px) {
  /* 手机初始状态不变 */
  .search {
    width:100%;
    min-width: unset;
  }
  .search-box {
    min-width: unset;
  }

  /* 激活类：输入框聚焦后置顶 */
  .search-hub.mobile-active {
    top: 12px;
    transform: translateX(-50%);
  }

  /* 隐藏LOGO */
  #logohu.logo-hidden {
    display: none !important;
  }
/* 搜索按钮 开始*/
    .search-button {
    
    }

  /* 下拉框宽度跟随，不再固定42% */
  .search-hot-text {
    left: 0;
    transform: none;
    width: 100%;
    min-width: unset;
    padding: 0 16px;
  }
  
 
  .search-button{
	 
	  
  }

  #return {
    display: none;
	font-size:30px;
	font-weight: 900;
	 color:#3a7aec; 
	
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    font-size: 24px;
    z-index: 999; /* 提高层级，优先接收点击事件 */
    cursor: pointer;
    pointer-events: auto;
  }
  .mobile-search{width: 100%; height: 100%; background-color: #2196f3; }
   .history .history-body  {display: none;}
   #clear {
      display: none;
   
   }
   .hr-pc{display: none;}
  }

.Statement {
  width: 100%;
  height: 50px;
  background-color: #f3f7fa;
  /* 垂直居中文字 */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #666;
left: 0;
bottom:0;
position: fixed;
border-top: 2px solid #ddd;

}


/* 原生移动端全屏弹窗基础样式 */
#mobileSearchDialog {
width: 100vw;
height: 100vh;
max-width: 100vw;
max-height: 100vh;
border: none;
padding: 16px;
}
#mobileSearchDialog::backdrop {
background-color: #ffffff;
}
.dialog-search-bar {
display: flex;
align-items: center;
gap: 10px;
border-bottom: 1px solid #ddd;

}
.dialog-back-btn {
border: none;
background: transparent;
font-size: 25px;
cursor: pointer;
min-width: 44px;
min-height: 44px;
position: relative;
z-index: 99999 !important;
pointer-events: auto !important;

}
#dialog-input {
flex: 1;
font-size: 17px;
line-height: 1.5;
caret-color: #000;
font-size: 18px;
}
.dialog-clear-icon {
width: 30px;
height:30px;
cursor: pointer;
display: none;
}
/* 新增：给历史盒子左右统一16px内边距，和联想宽度对齐 */
#dialogHistoryBox {
  padding: 0 16px;
}
#dialogHistoryBox .history-header {
display:flex;
justify-content: space-between;
align-items:center;
padding:6px 0;
}
#dialogHistoryBox .history-area {
overflow: visible;
}
#dialogHistoryBox .history-body > div {
padding:8px 4px;
cursor:pointer;
}
/* PC端隐藏弹窗 */
@media screen and (min-width: 769px) {
#mobileSearchDialog {
display: none !important;
}
#return {
display: none;
}
}
/* 手机端隐藏页面自带return按钮 */
@media screen and (max-width: 768px) {
#return {
display: none !important;
pointer-events: none;
}
}

/* ========== 历史条目核心样式，联想直接复用该class ========== */
.history-item {
  display: flex;
  align-items: center;
  line-height:20px;
  border-bottom:1px solid #eee;
  gap: 10px;
  padding:8px 4px;
  cursor:pointer;

}
.history-text {
  flex: 1;
  font-size: 17px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.history-del {
  color: #aaa;
  font-size: 25px;
  cursor: pointer;
  padding: 0 6px;
}

/* 联想最小修饰，已移除外层边框 */
.sugg-icon-search {
  width: 18px;
  height: 18px;
  stroke: #999;
  flex-shrink:0;
  
}

.sugg-icon-arrow {
  width: 18px;
  height: 18px;
  stroke: #bbb;
  flex-shrink:0;
}
#mobile-suggest-list {
  margin:0;
  padding:0;
  list-style: none;
}
/* 修复重点：去掉联想盒子外圈边框、圆角，不再像表格 */
#mobile-suggest-box {
  width:calc(100% - 32px);
  margin:0 auto;
  display:none;
  /* 删除 border、border-radius */
  
}


/* 天气预报 */
/* 外层自适应容器 */
.weather-container {
  position: relative;
  width:300px;
  overflow: hidden;
  float: left;

}
/* 加载遮罩通用 */
.weather-mask {
  position: absolute;
  inset: 0;
  background: #ffffff;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
width: 100px;
height: 120;
 
}
/* 透明点击拦截层，禁止点进第三方网站 */
.block-click-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: transparent;
  float: left;
}
/* iframe通用基础 */
.weather-iframe {
  height: 100%;
  display: none;
  float: left;
}

/* PC端：屏幕宽度≥1024px 宽度250px */
@media screen and (min-width: 1024px) {
  .weather-iframe {
    width: 250px;
  }
}

/* 平板、手机：屏幕宽度＜1024px 宽度150px */
@media screen and (max-width: 1023px) {
  .weather-iframe {
    width: 150px;
  }
}
/* PC端容器高度 */
.pc-box {
  height: 100px;
  max-width: 800px;
  margin: 0 auto;
  display: none;
    margin-left:10px;
}
/* 移动端容器高度 */
.mobile-box {
  height:80px;
  display: none;
  width: 200px;
   margin-left:10px;
   
}

