* {margin:0;padding:0;}
::-webkit-scrollbar{width:4px;height: 4px;}
        ::-webkit-scrollbar-thumb{background: #f1f1f1;border-radius: 5px;}
html,body {
	height: 100%;
	margin: 0;
	padding: 0;
	color: #3c4043;
	font-size: 14px;
	font-family: Arial, sans-serif;
	user-select: none;
				/* 禁止选择整个页面的所有元素 */;
}

a {
	text-decoration: none;
	color: #38f;
}

li {
	list-style: none;
}

input {
	outline: none;
	border: 0;
    background: transparent;
}

button {
    color: #3c4043;
    background: transparent;
    border: none;
}

.w:after {
    content: "'";
    color: #f60;
}

.input-box:hover, #x-ai {transition:.4s}

.x {
	display: flex;
	flex-direction: column;
	height: 100%;
	max-width: 666px;
	margin: auto;
	transition:.5s;
}

#navx{
    position: fixed;
    top: 20px;right: 0;
    display: flex;
}
#navx div{
    margin-right: 25px;
}

.search-container {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
  transition: transform 0.3s ease-out; /* 添加过渡效果，使缩放平滑 */
  transform: scale(1); /* 设置默认的缩放比例 */
}

			/* 选项卡 */
#search-engine input[type="radio"] {
	display: none;
}

#search-engine label {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 5px;
	cursor: pointer;
}

.checked {
	color: #f60;
}

#search-engine label:hover,
			a:hover {
	color: #38f;
}

			/* 选项卡 */
.input-box {
	width: 100%;
	display: flex;
	line-height: 50px;
	height: 50px;
	padding: 0 20px;
	margin: 8px 0;
	box-sizing: border-box;
	border: 1px solid #dfe1e5;
	border-radius: 24px;
	background: url(/css/img/admxn_s.png) calc(100% - 20px) no-repeat;animation:xxfirst 2s;transition:.5s;
}@keyframes xxfirst
    {0% {filter: blur(3px);}
    100% {filter: blur(0px);}
    }
.input-box:hover,
			#result li:hover,
			#button-container button:hover {
	box-shadow: 0 1px 6px rgb(32 33 36 / 28%);
	border-color: rgba(223, 225, 229, 0);
}

#input {
	flex: 1;
    font-size: 15px;
	border: 0;
	background: transparent;
}

#cancelButton {
	border: 0;
	background: transparent;
	cursor: pointer;
}

#button-container {
	display: flex;
}

#button-container button {
	flex-grow: 1;
}

#search-engine {
	padding: 0 10px;
	border-radius: 4px;
	border: none;
	color: #777;
}

#search-btn, #x-btn, #x-fanyi{
	padding: 10px 20px;
	margin: 6px;
	border-radius: 4px;
	border: none;
	background-color: #f8f9fa;
	cursor: pointer;
}

#result {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 0;
	margin: 0;
	list-style-type: none;
	max-height: 60px;
	overflow: hidden;
}

#result li {
	margin: 10px;
	padding: 10px;
	background-color: #f8f9fa;
	border-radius: 4px;
	display: flex;
	flex-direction: row;
	align-items: center;
}

logo {
	position: absolute;
	font-size: 26px;
	margin-top: -13px;
	color: #38f;cursor:pointer;
}

logo a::before{
    content: attr(title);
    position: absolute;
    font-size: 12px;
    color: #777;
    margin: -15px 0;
    -webkit-transform: scale(0.9);
    visibility: visible;
}

.ax-t {
	position: absolute;
}
.ax-b {
    position: absolute;
    margin-top: -5px;
    transform: rotate(180deg);
    color: #f60;
}

.x-b{width:100%}
.search-history {
    position: absolute;
    max-width: 660px;
    width: 100%;
    background: rgba(255,255,255,.95);
        z-index: 99;
}

#autocomplete {
	width: 100%;
	margin-top: -5px;
}

.autocomplete-item {
	padding: 8px 1px;
	cursor: pointer;
}

.autocomplete-item:hover {
	color: #38f;
}.autocomplete-active {
	color: #f60;
}

.search-container ul li {
    padding: 5px 20px;
    font-size: 12px;
    color: #666;
}

/*历史记录*/
#search-history-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    overflow-y: scroll;
}#search-history-list li {
    display: flex;
    justify-content: space-between;
    cursor:pointer
}#search-history-list li:hover {color:#38f;}
#search-history-list button {color:#ccc;cursor:pointer}
#search-history-list button:hover {color:#38f;}
.search-history-btnbox button {color:#ccc;margin:25px;cursor:pointer}
.search-history-btnbox button:hover {color:#38f}
.search-history-btnbox  {
    display: flex;
    flex-direction: row-reverse;
}



#x-ai {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #f8f9fa url(/css/img/anthropic_app_icon.png) center no-repeat;
    background-size: 70%;
    margin: 5px;
    cursor: pointer;
    box-shadow: 0 -3px 5px rgb(199 199 199);
    text-indent: -9999px;
}#x-ai:hover {
    box-shadow: 0 -3px 5px rgb(51 136 255);
}
.aibox-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.aibox {
  position: absolute;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; /* 相对宽度 */
  height: 80%; /* 相对高度 */
  overflow: hidden; /* 避免滚动条出现问题 */
    display: flex;
    flex-direction: column;
}
@media screen and (min-width: 1241px) {
    .aibox {
  max-width: 1024px;
}
}

.aibox-fr {
  border: none;
  width: 100%;
  height: 100%;
}

.aibox.fullscreen {
  width: 100%;
  max-width: 100%;
  height: 100%;
}
.fullscreenbtn{
    position: absolute;
    top: 2px;
    right: 40px;
    font-size: 16px;
    background-color: transparent;
    border: none;
    outline: none;
    color: #8cd0ac;
    cursor: pointer;
    letter-spacing: 5px;
}
.fullscreenbtn.active{
    letter-spacing: 1px;
}

.close-btn {
    position: absolute;
    top: -5px;
    right: 5px;
    font-size: 30px;
    background-color: transparent;
    border: none;
    outline: none;
    color: #8cd0ac;
    cursor: pointer;
}

.close-btn:hover, .fullscreenbtn:hover {
  color: #38f;
}

.ainav {
    display: flex;
    align-items: center;
    width: 90%;
    height: 30px;
    overflow: hidden;
    white-space: nowrap;
    overflow-x: auto;
}

.ailogo {
    font-size: 24px;
    font-weight: 700;
}

.ainav a, .ainav span {
  padding: 15px;
  text-decoration: none;
  color: #333;
  position: relative;
}

.ainav a:hover {
  color:#38f;
}

.ainav ul  {
    position: absolute;
    top: 28px;
    left: 60px;
    padding: 10px 0;
    background: rgb(245 245 245 / 90%);
    z-index: 999;
}

.ainav ul li a {
  display: block;
  padding: 10px 15px 10px;
}
.highlight {
  color: #f60!important;
}
#loader {
    position: absolute;
    width: 100%;
    height: 100%;
    font-size: 24px;
    color: #ccc;
    margin-top: 28px;
    display: flex;
    align-content: flex-end;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#loader p{
    font-size: 12px;
    color: #777;
    padding: 10px 0;
}
.spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #fff;
  border-top-color: #3aafa9;
  animation: spin 0.8s linear infinite;
}
.x-url {
    padding: 25px 0;
    -webkit-transform: scale(0.8);
}.x-url a{margin-left:10px}

#load-news{
    position: absolute;
    margin-top: 300px;
    transform: rotate(90deg);
    cursor: row-resize;
}


@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 时间日期 */
    .time-section {
      margin-top: -65px;
      margin-bottom: 10px;
    }
    .time {
      font-size: 48px;
      font-weight: bold;
      cursor: help;
    }


.line {
    width: 20px;
    height: 2px;
    background: #999;
    margin: 2px 0;
}

.shokeybox i {
    background: #444;
    color: #fff;
    padding: 8px 12px;
    border-radius: 3px;
}
.shokeybox td{
    border-bottom: 1px dashed;
}

/* 提示浮窗信息 */
#popup {
    display: none;
    width: 80vw;max-width: 700px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 40px 20px;
    text-align: center;
    background-color: #fffff2;
    box-shadow: rgb(0 0 0 / 7%) 0px -0.5px 0px, rgb(0 0 0 / 10%) 0px 0px 18px;
    border-color: rgba(223, 225, 229, 0);
    border-radius: 10px;
    z-index: 9999;
}
#popup p{
    min-width: 80vw;
    font-size: 14px;
    text-align: left;
    line-height: 24px;
    margin-bottom: 15px;
}
#no-reminder {
    margin-top: 20px;
    color: #fff;
    padding: 10px 20px;
    background-color: #99f;
    border-radius: 3px;
    cursor:pointer;
}

footer {
    margin: -40px 25px;
    display: flex;
    justify-content: space-between;
}
footer a, footer div, footer button{color: rgb(129 129 129 / 50%);cursor:pointer}
footer a:hover, footer div:hover, footer button:hover{color: rgb(129 129 129 / 100%);}
.ft_l, .ft_r {
    display: flex;align-items: center;
}.ft_l div, .ft_l a{
    margin-right: 10px;;
}.ft_r div, .ft_r button, .ft_r a{
    margin-left: 10px;;
}
.ft_r a {
    display: block;
    margin: 0;
    -webkit-transform: scale(0.8);
    color: rgba(129 129 129 / 90%);
}
.ft_x {
    font-weight: 700;
}
#scale-slider {opacity:0.3;cursor: w-resize;}
#scale-slider:hover {opacity:1}

/*小屏幕*/
@media screen and (max-width: 701px) {

    html, body {
    font-size: 12px;
    }
    
    .ft_gtab, .fullscreenbtn, #shokey, .ft_r a, .scale-slider {display:none;}
    
	.x {
		width: 100%;
		overflow: hidden;
	}
    .x-b {
        width: 95%;
    }
	.input-box  {
    z-index: 999;
    background: url(/css/img/admxn_s.png) calc(100% - 10px) no-repeat;
    background-size: 66px;
    }
    .aibox {
      width: 100%; /* 相对宽度 */
      height: 100%; /* 相对高度 */
    }
	#search-engine {
		width: 90%;
		white-space: nowrap;
		overflow-x: auto;
		z-index: 999;
	}

	.search-active {
		position: fixed;
		top: 20px;
		width: 100%;
		border-radius: 0;
		padding: 15px 20px;
		border: 0;
    /* box-shadow: 0 1px 6px rgb(32 33 36 / 28%); */;
	}

	#result {
		display: flex;
		flex-wrap: nowrap;
		flex-direction: row;
		position: fixed;
		width: 100%;
		top: 75px;
		white-space: nowrap;
		overflow-x: auto;
		background: #f9f9f9;
		z-index: 999;
	}.dark #result {
    background: #303134;
    }

	#result li {
		margin: 0 10px;
	}

	#autocomplete {
		position: absolute;
		top: 200px;
		margin: 0;
		padding: 0;
		text-align: center;
		display: flex;
	}

	#autocomplete li {
		font-size: 12px;
	}
	
/*搜索触发状态.m*/
.m .x-b {
    width: 100%;
}
	.m #button-container {
		position: fixed;
		top: 120px;
	}
	.m #search-engine  {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0.6;
}

	.m header {
		position: absolute;
		bottom: 100px;
		opacity: .1;
	}
	.m .x-url {display:none}
.ft_r {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}
}

/* 夜间暗色模式 */
.dark {
  background-color: #24252d;
  color: #979797;
}
.dark .ainav a, .dark .ainav span {
    color: #979797;
}.dark .ainav ul {
    background: rgb(36 37 45 / 90%);
}
.dark .input-box{
    background: #171c24 url(/css/img/xzz.png) calc(100% - 20px) -15px no-repeat;background-color: #171c24!important;border: 0;animation:bgmfirst 5s;
}@keyframes bgmfirst
{0% {background: #171c24 url(/css/img/xzz.png) calc(100% - 20px) -60px no-repeat;}
70% {background: #171c24 url(/css/img/xzz.png) calc(100% - 20px) -60px no-repeat;}
100% {background: #171c24 url(/css/img/xzz.png) calc(100% - 20px) -15px no-repeat;}
}
.dark #search-btn, .dark #x-btn, .dark #x-fanyi, .dark #result li {
    color: #979797;
    background-color: #303134;
}
.dark .x #input {
    color: #ccc;
}
.dark .x button {
    color: #959595;
}
.dark #x-ai {
    background-color: #f60;
}
.dark .m .input-box {
    background: #171c24;
}
.dark .search-history {
    background: rgb(36 37 45 / 95%);
}