/* 论坛与门户首页共用搜索，关键词与开关读取 DZ 原生配置。 */
:is(#aws_home_banner, #aws_forum_home_v2) .aws-hero-search-slot {
  display: block !important;
  width: 460px !important;
  max-width: 100% !important;
  margin-top: 20px !important;
}
:is(#aws_home_banner, #aws_forum_home_v2) .aws-hero-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 42px;
  padding: 4px 5px 4px 15px;
  margin: 0;
  border: 1px solid rgba(112, 145, 164, .65);
  border-radius: 24px;
  background: rgba(15, 24, 33, .92);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .2);
  box-sizing: border-box;
}
:is(#aws_home_banner, #aws_forum_home_v2) .aws-hero-search-form:focus-within {
  border-color: #79a8c4;
  box-shadow: 0 0 0 3px rgba(105, 155, 192, .14);
}
:is(#aws_home_banner, #aws_forum_home_v2) .aws-hero-search-icon {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  color: #a1bbc9;
}
:is(#aws_home_banner, #aws_forum_home_v2) .aws-hero-search-input {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  height: 32px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #edf7f2;
  font: 13px/32px "Microsoft YaHei", sans-serif;
}
:is(#aws_home_banner, #aws_forum_home_v2) .aws-hero-search-input::placeholder { color: #a5b7c5; }
:is(#aws_home_banner, #aws_forum_home_v2) .aws-hero-search-button {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 18px;
  border: 0;
  border-radius: 18px;
  background: #35c968;
  color: #071e16;
  font: 700 13px/32px "Microsoft YaHei", sans-serif;
  cursor: pointer;
  transition: background .15s;
}
:is(#aws_home_banner, #aws_forum_home_v2) .aws-hero-search-button:hover { background: #52db7f; }
:is(#aws_home_banner, #aws_forum_home_v2) .aws-hero-search-button:focus-visible,
:is(#aws_home_banner, #aws_forum_home_v2) .aws-hero-search-hot a:focus-visible { outline: 2px solid #afcde4; outline-offset: 3px; }
:is(#aws_home_banner, #aws_forum_home_v2) .aws-hero-search-hot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-top: 9px;
  padding-left: 15px;
  color: #b0bdc9;
  font: 12px/18px "Microsoft YaHei", sans-serif;
}
:is(#aws_home_banner, #aws_forum_home_v2) .aws-hero-search-hot a {
  display: inline;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #b5d5ed;
  font: inherit;
  text-decoration: none;
}
:is(#aws_home_banner, #aws_forum_home_v2) .aws-hero-search-hot a:hover { color: #edf5ff; }
#aws_forum_home_v2 .aws-hero-search-hot { max-height: 38px; overflow: auto; }
