.search-wrap { max-width: 760px; margin: 0 auto; padding: 1.5rem 1rem 3rem; position: relative; z-index: 1; color: #fff; }
.search-wrap h1 { font-size: 1.6rem; margin: 1rem 0 0.4rem; text-align: center; }
.search-wrap .lede { color: rgba(255,255,255,0.72); text-align: center; line-height: 1.6; font-size: 0.95rem; margin: 0 auto 1.2rem; max-width: 600px; }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; color: rgba(255,255,255,0.7); text-decoration: none; }
.back-link:hover { color: #00d4ff; }
.search-box input { width: 100%; box-sizing: border-box; padding: 0.8rem 1rem; font: inherit; font-size: 1.05rem; color: #fff; background: rgba(0,0,0,0.45); border: 1px solid rgba(0,212,255,0.45); border-radius: 8px; }
.search-box input:focus { outline: 2px solid #00d4ff; outline-offset: 2px; }
.search-opts { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.6rem; margin: 0.7rem 0; font-size: 0.88rem; color: rgba(255,255,255,0.8); }
.search-opts select { font: inherit; color: #fff; background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.3); padding: 0.25rem 0.4rem; }
#limit-note { opacity: 0.7; }
.search-status { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0.6rem 0; }
.search-results { list-style: none; padding: 0; margin: 0; }
.search-results li { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; margin: 0.6rem 0; padding: 0.8rem 1rem; backdrop-filter: blur(5px); }
.search-results a.res-title { color: #00d4ff; text-decoration: none; font-weight: bold; }
.search-results a.res-title:hover { text-decoration: underline; }
.search-results .res-part { font-size: 0.75rem; color: #a78bfa; margin-left: 0.4rem; }
.search-results p { margin: 0.4rem 0 0; color: rgba(255,255,255,0.85); line-height: 1.6; font-size: 0.93rem; }
.search-results mark { background: rgba(0,212,255,0.25); color: #fff; padding: 0 0.1em; }
.search-results .res-sub { display: block; margin-top: 0.35rem; font-size: 0.85rem; color: rgba(255,255,255,0.7); text-decoration: none; }
.search-results .res-sub:hover { color: #fff; }
.search-more { display: block; margin: 1rem auto; font: inherit; cursor: pointer; padding: 0.5rem 1.4rem; color: #00d4ff; background: transparent; border: 1px solid rgba(0,212,255,0.5); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
