/* WOBAZI — site search (public/js/site-search.js): one input, a ghost completion, a suggestion list. */
.ss { position: relative; width: 100%; max-width: 560px; margin: 0 auto; text-align: left; }
.ss-box {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 99px; cursor: text;
  background: rgba(13, 12, 26, 0.78); border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ss-box:focus-within { border-color: rgba(240, 192, 64, 0.55); box-shadow: 0 0 0 3px rgba(240, 192, 64, 0.12); }
.ss-ico { flex: none; display: grid; place-items: center; color: var(--muted, #9a9ab0); }
.ss-field { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; }
.ss-input, .ss-ghost { font: inherit; font-size: 16px; line-height: 1.2; letter-spacing: normal; }
.ss-input {
  position: relative; z-index: 1; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; outline: 0;
  background: transparent; color: var(--text, #f0f0ff); -webkit-appearance: none; appearance: none;
}
.ss-input::-webkit-search-cancel-button { filter: invert(0.7); }
.ss-input::placeholder { color: var(--muted, #9a9ab0); opacity: 0.85; }
/* The rest of the best match, in grey behind the caret (the typed part is invisible so it lines up). */
.ss-ghost { position: absolute; left: 0; top: 50%; transform: translateY(-50%); white-space: pre; overflow: hidden; max-width: 100%; color: rgba(240, 240, 255, 0.34); pointer-events: none; }
.ss-ghost-q { color: transparent; }
.ss-list {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none;
  border-radius: 18px; background: #12111f; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  max-height: min(60vh, 420px); overflow-y: auto;
}
.ss-row a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; color: var(--text, #f0f0ff); text-decoration: none; }
.ss-row.is-on a { background: rgba(255, 255, 255, 0.07); }
@media (hover: hover) { .ss-row a:hover { background: rgba(255, 255, 255, 0.07); } }
.ss-ri { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: var(--gold, #f0c040); background: rgba(240, 192, 64, 0.1); }
.ss-ri svg { width: 16px; height: 16px; }
.ss-orb { flex: none; display: inline-flex; }
.ss-orb .wz-orb { --orb-size: 28px !important; }
.ss-orb .wz-orb::after { display: none; }
.ss-rt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ss-rt b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-rt small { font-size: 12px; color: var(--muted, #9a9ab0); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-tag { flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted, #9a9ab0); }
.ss-none { padding: 12px; font-size: 13px; color: var(--muted, #9a9ab0); }
.ss-compact .ss-box { height: 40px; padding: 0 14px; }
.ss-compact .ss-list { max-height: min(50vh, 360px); }
