/* Additive: search page only — kill rectangular blue input:focus ring;
 * even padding under header. Scoped by unique SearchView placeholder so
 * login / compose / comment inputs keep global input:focus styles.
 * Keep search-enter-only-v2 Enter-only behavior unchanged.
 */
input[placeholder="搜索帖子、标签或板块"]:focus,
input[placeholder="搜索帖子、标签或板块"]:focus-visible {
  box-shadow: none !important;
  border-color: transparent !important;
  outline: none !important;
}

/* Soft focus affordance on the rounded pill, not the inner rectangle */
label.flex.items-center.gap-2.rounded-full.bg-page:has(
  > input[placeholder="搜索帖子、标签或板块"]
):focus-within {
  box-shadow: 0 0 0 2px rgba(47, 124, 246, 0.22);
}

/* Was px-3 pb-3 only (padding-top:0) — match bottom 12px */
.bg-white.px-3.pb-3:has(> label > input[placeholder="搜索帖子、标签或板块"]),
.bg-white.px-3.pb-3:has(input[placeholder="搜索帖子、标签或板块"]) {
  padding-top: 12px !important;
}
