.sr-open,.sr-glass{display:inline-flex;align-items:center;justify-content:center}
a.sr-open{width:44px;height:44px;flex:none;color:#22d3ee;border-radius:50%}
.sr-glass{position:relative;width:17px;height:17px;border:2px solid currentColor;border-radius:50%;box-sizing:border-box;margin-right:4px}
.sr-glass::after{content:"";position:absolute;width:8px;height:2px;background:currentColor;bottom:-4px;right:-6px;transform:rotate(45deg)}
.sr-open:is(:hover,:focus-visible,:active),body:has(#search-dialog[open]) .sr-open{background:#143141;box-shadow:0 0 18px #22d3ee66}
#search-dialog{position:fixed;inset:12vh auto auto 50%;transform:translateX(-50%);margin:0;width:min(90vw,520px);box-sizing:border-box;background:#101a2a;color:white;border:1px solid #22d3ee;border-radius:18px;padding:20px;box-shadow:0 0 36px #22d3ee40}
#search-dialog::backdrop{background:#030810bb}
#search-dialog form{display:grid;grid-template-columns:1fr auto;align-items:center}
#search-dialog form>div{grid-column:1/-1;display:flex;gap:8px;border:1px solid #425166;border-radius:12px;padding:4px;transition:box-shadow .18s}
#search-dialog form>div:focus-within{border-color:#22d3ee;background:#132635;box-shadow:0 0 20px #22d3ee55}
#search-dialog input{width:0;flex:1;min-width:0;padding:8px;color:white;font-size:17px;background:transparent;border:0;outline:0}
#search-dialog button{min-height:44px;min-width:44px;border:0;border-radius:9px;color:#04121a;background:#22d3ee;padding:0 14px}
#search-dialog [data-close]{color:white;background:transparent;font-size:24px}
body:has(#search-page){background:#0a0f1c}
body:has(#search-page) :is(.portal-header,.portal-footer){background:#070b14;border-block:1px solid #1c2438}
body:has(#search-page) :is(a,button){min-height:44px;min-width:44px}
#search-page{max-width:760px;margin:0 auto;padding:30px 0 48px;color:#eef1f7}
#search-page,#search-page *{box-sizing:border-box;font-family:Inter,Arial,sans-serif!important}
#search-page :is(h1,h2,mark){font-family:Newsreader,Georgia,serif!important}
#search-page h1{font-size:34px!important;line-height:1.15!important;color:white!important;font-weight:600!important;margin:10px 0 20px}
#search-page small{font-size:12px;letter-spacing:.14em;color:#9aa3b5}
#search-page form{display:flex;align-items:center;gap:10px;border-bottom:1px solid #3a4560;color:#9aa3b5}
#search-page form:focus-within{border-color:#22d3ee;box-shadow:0 1px #22d3ee}
#search-page input{background:none;border:0;outline:0;width:100%;min-height:48px;font-size:17px;color:white}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#search-page a{display:inline-flex;align-items:center;text-decoration:none}
.sr-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:12px 0}
.sr-chips::-webkit-scrollbar{display:none}
.sr-chips a,.sr-more{flex:none;white-space:nowrap;justify-content:center;border:1px solid #2a3550;border-radius:30px;padding:0 14px;color:#eef1f7}
.sr-chips a[aria-current=true],#search-page aside a{background:#22d3ee;color:#04121a;font-weight:700}
.sr-sort{display:flex;align-items:center;justify-content:flex-end;gap:9px;font-size:14px;color:#9aa3b5}
.sr-sort a{color:inherit}
#search-page .sr-sort [aria-current=true]{font-weight:700;color:white;text-decoration:underline #22d3ee;text-underline-offset:6px}
#search-page .sr-card{display:grid;align-items:start;grid-template-columns:minmax(0,1fr) 112px;gap:16px;padding:20px 0;border-bottom:1px solid #1c2438}
#search-page h2{font-size:20px!important;font-weight:600!important;line-height:1.2!important;color:white!important}
#search-page .sr-card h2{color:#c9cfdb!important;margin:6px 0 0}
#search-page .sr-card small{color:#22d3ee;font-size:11px;letter-spacing:.07em;text-transform:uppercase}
.sr-card img{width:112px;height:84px;object-fit:cover;border-radius:12px}
.sr-card mark{background:#16384a;color:white;border-radius:3px;padding:0 2px}
.sr-more{margin-top:20px;height:48px;border-color:#eef1f7}
#search-page aside{background:#111a2e;border:1px solid #1f2a44;border-radius:18px;padding:20px;margin-top:24px}
#search-page aside h2{font-size:24px!important}
#search-page aside p{color:#b4bccb;font-size:15px}
#search-page aside a{padding:0 16px;border-radius:24px}
@media(max-width:480px){body:has(.sr-open:not(.home-search-trigger)) .header-actions{gap:2px!important}body:has(#search-page) .home-language-switch{gap:0}}

@media (max-width: 800px) {
  a.home-search-trigger { display: none; }
}
