/* 361GO 全站搜索：首页搜索条 + 独立结果页共用样式 */
body { background: var(--page-bg, #0a0f1e); color: var(--text); min-height: 100vh; }
.home-search {
  box-sizing: border-box;
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  margin: 18px auto 0;
}
.hs-bar {
  display: flex; align-items: center; gap: 18px;
  padding: 10px 14px 10px 20px;
  border-color: rgba(240,215,140,.28);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.hs-title {
  display: flex; align-items: center; gap: 8px; flex: 0 0 auto;
  color: var(--brand); font-size: 15px; font-weight: 700; letter-spacing: .6px;
}
.hs-title svg { width: 18px; height: 18px; }
.hs-form { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.hs-form input {
  flex: 1; min-width: 0; height: 38px;
  border: 0; border-bottom: 1px solid rgba(255,255,255,.14); border-radius: 0;
  background: transparent; color: var(--text); font-size: 15px; outline: none;
  -webkit-appearance: none; appearance: none;
}
.hs-form input::placeholder { color: #7f8ba7; }
.hs-form input:focus { border-bottom-color: var(--brand); }
.hs-form .ui-btn { flex: 0 0 auto; border-radius: 16px; padding: 8px 22px; }
.hs-quick { margin: 9px 0 0 4px; font-size: 12px; color: var(--muted); }
.hs-quick button, .hs-quick a {
  margin-left: 8px; padding: 2px 8px; border-radius: 10px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04);
  color: #b9c5dc; font-size: 12px; font-family: inherit; text-decoration: none;
  transition: color .18s, border-color .18s;
}
.hs-quick button:hover, .hs-quick a:hover { color: var(--brand); border-color: rgba(240,215,140,.4); }
.hs-panel {
  margin-top: 10px; padding: 16px 22px 20px;
  border-color: rgba(240,215,140,.2);
}
.hs-panel[hidden] { display: none; }
.hs-status { font-size: 13px; color: var(--muted); padding: 8px 0; }
.hs-status b { color: var(--brand); font-weight: 600; }
.hs-login {
  margin-left: 12px; padding: 3px 10px; border-radius: 12px; cursor: pointer;
  border: 1px solid rgba(240,215,140,.35); background: rgba(240,215,140,.08);
  color: var(--brand); font-size: 12px; font-family: inherit;
}
.hs-group { margin-top: 18px; }
.hs-group:first-child { margin-top: 0; }
.hs-group h3 {
  font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .5px;
  padding-bottom: 7px; border-bottom: 1px solid rgba(240,215,140,.18);
}
.hs-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 10px 2px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 14px;
}
.hs-row:last-child { border-bottom: 0; }
.hs-row a { color: #e6ecf7; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-row a:hover { color: var(--brand); }
.hs-row span.hs-plain { color: #e6ecf7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-row small { flex: 0 0 auto; max-width: 45%; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-more { margin-top: 12px; font-size: 12px; color: var(--muted); }
.hs-more a { color: #8ab4f8; text-decoration: none; }
.hs-more a:hover { text-decoration: underline; }

.search-page { box-sizing: border-box; width: min(var(--page-max), calc(100% - var(--page-gutter))); margin: 0 auto; padding: 24px 32px; }
.search-page .sp-head { text-align: center; margin: 26px 0 18px; }
.search-page .sp-head h1 { font-size: 24px; color: #f4e6c4; letter-spacing: 1px; margin-bottom: 6px; }
.search-page .sp-head p { font-size: 13px; color: var(--muted); }
.search-page .hs-form input { height: 42px; font-size: 16px; }
.search-page .hs-panel { margin-top: 16px; }

@media (max-width: 760px) {
  .home-search, .search-page { width: calc(100% - 32px); }
  .search-page { padding-left: 18px; padding-right: 18px; }
  .home-search { margin-top: 12px; }
  .hs-bar { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
  .hs-form { flex-basis: 100%; }
  .hs-panel { padding: 14px 16px 16px; }
  .hs-row { flex-wrap: wrap; gap: 4px; }
  .hs-row small { max-width: 100%; }
  .search-page .sp-head { margin-top: 18px; }
}
