html body .site-search.gooey-search {
  --search-height: 48px;
  --search-offset: 60px;
  --search-surface: color-mix(in srgb, var(--rose, var(--accent, #ad416c)) 14%, var(--surface, var(--paper, var(--panel, #fff9fc))));
  --search-bubble: var(--rose, var(--accent, #ad416c));
  --search-ink: var(--ink, #543045);
  --search-muted: var(--muted, #826675);
  --search-focus: var(--rose, var(--accent, #a93463));
  position: relative;
  box-sizing: border-box;
  isolation: isolate;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 0;
  width: min(220px, 100%);
  max-width: 100%;
  min-width: 0;
  flex: 0 1 auto;
  height: var(--search-height);
  min-height: var(--search-height);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  outline: none;
  box-shadow: none;
  background: transparent;
  cursor: text;
  transition: width 430ms cubic-bezier(.23, 1, .32, 1);
}
html body .site-search.gooey-search.is-open { width: min(520px, 100%); }
html body #knowledgeView .site-search.gooey-search { --search-height: 58px; --search-offset: 74px; }
html body .site-search .gooey-search__caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
html body .site-search .gooey-search__defs { position: absolute; pointer-events: none; }
html body .site-search .gooey-search__shape {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Paint the rounded shapes directly: SVG alpha filters can leave seams
     and jagged edges at fractional zoom / device pixel ratios. */
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  outline: none;
  box-shadow: none;
  filter: none;
}
html body .site-search .gooey-search__well,
html body .site-search .gooey-search__bubble {
  position: absolute;
  top: 0;
  height: var(--search-height);
  border-radius: 999px;
  background: var(--search-surface);
}
html body .site-search .gooey-search__well {
  right: 0;
  left: 0;
  transition: left 430ms cubic-bezier(.23, 1, .32, 1);
}
html body .site-search.gooey-search.is-open .gooey-search__well { left: var(--search-offset); }
html body .site-search .gooey-search__bubble { left: 0; width: var(--search-height); background: var(--search-bubble); }
html body .site-search .gooey-search__icon {
  position: absolute;
  top: calc((var(--search-height) - 22px) / 2);
  left: calc((var(--search-height) - 22px) / 2);
  z-index: 2;
  width: 22px;
  height: 22px;
  color: #fff;
  pointer-events: none;
}
html body .site-search .gooey-search__icon svg { display: block; width: 100%; height: 100%; }
html body .site-search .gooey-search__hint {
  position: absolute;
  left: var(--search-offset);
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  color: var(--search-ink);
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 120ms ease;
}
html body .site-search.gooey-search.is-open .gooey-search__hint { opacity: 0; }
html body .site-search.gooey-search input {
  position: absolute;
  box-sizing: border-box;
  top: 0;
  left: var(--search-offset);
  z-index: 1;
  display: block;
  /* ID-scoped legacy forms must not repaint or resize the shared input. */
  width: calc(100% - var(--search-offset)) !important;
  min-width: 0 !important;
  max-width: none !important;
  height: var(--search-height) !important;
  min-height: var(--search-height) !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--search-ink) !important;
  font-family: inherit;
  font-size: 16px !important;
  line-height: 1.4;
  opacity: 0;
  cursor: text;
  transition: opacity 170ms ease 90ms;
}
html body .site-search.gooey-search.is-open input { opacity: 1; }
html body .site-search.gooey-search input::placeholder { color: var(--search-muted); opacity: 1; }
html body .site-search.gooey-search input::-webkit-search-cancel-button { cursor: pointer; }
html body .site-search.gooey-search:has(input:focus-visible) .gooey-search__well,
html body .site-search.gooey-search:has(input:focus-visible) .gooey-search__bubble {
  box-shadow: inset 0 0 0 2px var(--search-focus);
}
html[data-theme="night"] body .site-search.gooey-search {
  --search-surface: color-mix(in srgb, var(--rose, var(--accent, #cb7197)) 18%, var(--surface, var(--paper, var(--panel, #291b27))));
  --search-bubble: var(--rose, var(--accent, #cb7197));
  --search-ink: var(--ink, #f9edf3);
  --search-muted: var(--muted, #c8aebc);
  --search-focus: var(--rose, var(--accent, #f195b9));
}
html[data-theme="night"] body .site-search.gooey-search input::-webkit-search-cancel-button { filter: invert(1); }
@media (max-width: 640px) {
  html body .site-search.gooey-search.is-open { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html body .site-search.gooey-search,
  html body .site-search .gooey-search__well,
  html body .site-search .gooey-search__hint,
  html body .site-search.gooey-search input { transition: none; }
}

html body .site-search.gooey-search > :is(svg,span):not([class*="gooey-search__"]) { display:none; }
html body .site-search.gooey-search .gooey-search__hint { max-width:calc(100% - var(--search-offset) - 16px); overflow:hidden; text-overflow:ellipsis; }
html body .site-search.gooey-search input:disabled { cursor:not-allowed; }
html body .site-search.gooey-search:has(input:disabled) { opacity:.55; cursor:not-allowed; }
html body .site-search.gooey-search[hidden] { display:none!important; }

/* Keep the spacing and proportions of each host layout. */
html body .site-search.gooey-search.wordlists-filter { margin: 16px 0 20px; }
html body .site-search.gooey-search.translation-history-search { margin: 12px 0 16px; }
html body .site-search.gooey-search.people-search-panel { --search-height: 44px; --search-offset: 54px; margin: 6px 0 16px; }
html body .site-search.gooey-search.messenger-search {
  --search-height: 44px;
  --search-offset: 54px;
  width: min(200px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  margin: 8px 16px 14px;
  flex: none;
}
html body .site-search.gooey-search.messenger-search.is-open {
  width: min(260px, calc(100% - 32px));
}
