:root{--ui-alpha:.6;--ui-accent:#b6c8ff;--ui-accent-rgb:167 188 255}
/* One opacity curve for every route. Change fills, never content or scene brightness. */
html:root body{--surface:rgb(16 24 43/var(--ui-alpha));--surface-hover:rgb(24 35 58/var(--ui-alpha));--ui-inset:rgb(8 15 29/var(--ui-alpha));--panel:var(--surface);--panel-2:var(--ui-inset);--glass-bg:var(--surface);--glass-strong:var(--surface);--ui-popover:var(--surface);--universe-glass:var(--surface);--universe-glass-strong:var(--surface)}
/* The transparent wordmark and floating navigation keep one layout on every route. */
html:root body>header{background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
html:root body>header .shell.nav{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;width:min(1360px,calc(100% - 80px));max-width:none;height:84px;min-height:84px;margin:0 auto;padding:10px 0;box-sizing:border-box}
html:root body>header .brand{display:flex;align-items:center;gap:0;margin:0}
html:root body>header .brand-logo{display:block;width:168px;height:auto}
html:root body>header .brand-subtitle{display:inline;margin:0;padding:0 0 0 12px;border-left:1px solid rgb(167 188 255/.22);color:#aebbd4;font-size:11px;line-height:16px;white-space:nowrap}
html:root body>header .nav .top-categories{position:static;display:flex;order:0;flex:none;flex-wrap:nowrap;justify-content:flex-start;justify-self:end;gap:2px;width:max-content;min-width:0;max-width:100%;height:46px;box-sizing:border-box;margin:0;padding:4px;overflow-x:auto;scrollbar-width:none;border:1px solid rgb(167 188 255/.22);border-radius:999px;background:var(--ui-inset);box-shadow:0 6px 24px #02040f26;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);pointer-events:auto}
html:root body>header .nav .top-categories::-webkit-scrollbar{display:none}
html:root body>header .nav .top-categories a{display:inline-flex;flex:none;align-items:center;justify-content:center;height:36px;box-sizing:border-box;padding:8px 12px;border:1px solid transparent;border-radius:999px;color:#bac7df;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;font-size:12px;font-weight:500;line-height:18px;white-space:nowrap;text-shadow:none}
html:root body>header .nav .top-categories a:hover{color:#f0f4ff;background:rgb(167 188 255/.08);border-color:transparent}
html:root body>header .nav .top-categories a[aria-current]{color:#e2eaff;background:rgb(167 188 255/.14);border-color:rgb(167 188 255/.22)}
html:root body>header .nav .top-categories a:focus-visible{outline-offset:-2px}
html:root body>header .header-tools{align-self:center;gap:8px;margin:0}
html:root body>header .header-tools button{width:auto;min-width:36px;height:36px;min-height:36px;box-sizing:border-box;margin:0;padding:8px 11px;border:1px solid rgb(167 188 255/.22);border-radius:999px;color:#d6dff4;background:var(--ui-inset);box-shadow:none;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);font-size:11px;line-height:18px;text-shadow:none}
html:root body>header .header-tools button:is(:hover,[aria-expanded=true]){background:var(--surface-hover);border-color:var(--ui-accent)}
@media(max-width:1000px){
 html:root body>header .shell.nav{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:54px 42px;gap:6px 12px;width:calc(100% - 40px);height:118px;min-height:118px;padding:8px 0}
 html:root body>header .brand-logo{width:144px}
 html:root body>header .nav .top-categories{grid-column:1/-1;grid-row:2;justify-self:stretch;width:100%;height:42px}
 html:root body>header .nav .top-categories a{height:32px;padding:6px 10px;font-size:11px}
 html:root body>header .header-tools{grid-column:2;grid-row:1}
}
@media(max-width:1200px){html:root body>header .brand-subtitle{display:none}}
@media(max-width:650px){
 html:root body>header .shell.nav{grid-template-rows:50px 42px;width:calc(100% - 24px);height:114px;min-height:114px}
 html:root body>header .brand-logo{width:132px}
 html:root body>header .header-tools button{width:36px;padding:7px}
}
html:root body>footer{background:var(--surface)}
html:root body:not(.universe-view)::before{opacity:.3}
html:root body:not(.universe-view) #nebula-background{opacity:.8}
html:root body :is(.app-card,.world-card,.feed-item,.rank-item,.rank-row,.rank-category-card,.news-card,.news-item,.source-row,.download-item,.related-item,.model-card,.model-leader-row,.catalog-sidebar,.rank-nav,.model-sidebar,.model-stat,.model-coverage-note,.rank-stats,.rank-controls,.model-rank-form,.model-rank-tabs a,.model-rank-method,.model-board,.model-source-card,.document-panel,.portal-result-card,.portal-tabs a,.github-card,.github-filters,.github-stats>div,.price-calculator,.price-domestic,.price-best,.price-table-wrap,.price-sources,.hardware-config,.hardware-submit,.hardware-model,.universe-inspector,.universe-legend,.universe-scene-caption,.universe-domain-tabs,#ai-news,#discovery-facets){background:var(--surface)}
html:root body :is(.app-card,.world-card,.feed-item,.rank-item,.rank-row,.model-card,.model-leader-row,.github-card):hover{background:var(--surface-hover)}
html:root body :is(.search,.rank-search input,.model-filter-field select,.model-rank-form input,.model-controls select,.model-ranking-controls select,.filter-bar select,.rank-mode select,.rank-controls select,.catalog-sidebar select,.aigog-select-picker .universe-picker-trigger,.column-toggle,.hero-universe-link,.hardware-result-search,.hardware-gpu,.universe-search,.universe-select,.universe-tool-button,.universe-motion,.universe-zoom button,.universe-galaxy-nav button,.universe-group-list button,.model-universe-model-row,.github-language-search input,.github-search input,.github-results-head select,.github-universe-query,.github-universe-category){background:var(--ui-inset)}
html:root body :is(.action:not(.primary),.source-filter,.source-row a,.download-controls select,.language-toggle,.catalog-more button,.github-pool-tabs button,.github-home-tabs button,.github-filter-chip,.github-board-tabs a[aria-current=page],.price-presets button,.price-quick-filters button){background:var(--ui-inset)}
html:root body :is(#price-form,.hardware-config,.feedback-form) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea),html:root body #price-form .universe-picker-trigger,html:root body .universe-toolbar .universe-company-toggle{background:var(--ui-inset)}
html:root body :is(dialog,.universe-search-results,.universe-picker-menu,.menu-panel,.site-toast,#appearance-panel){background:var(--ui-popover)}
html:root body .universe-picker-menu{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
html:root body :is(.universe-catalog-row,.universe-hierarchy-row,.universe-directory-modes button,.universe-nav-actions button){background:var(--ui-inset);border-color:var(--glass-line)}
html:root body :is(.universe-catalog-row,.universe-hierarchy-row,.universe-directory-modes button,.universe-nav-actions button):hover{background:var(--surface-hover);border-color:var(--ui-accent)}
html:root body :is(.universe-catalog-row.is-active,.universe-directory-modes button[aria-pressed=true]){background:rgb(var(--ui-accent-rgb)/.14);border-color:var(--ui-accent);color:var(--ink)}
/* Layout wrappers stay clear so child cards do not accumulate extra opacity. */
html:root body .model-stats{background:transparent}
html:root body #model-leaderboards-page .model-rank-sidebar .model-rank-form{background:transparent}
html:root body :is(.price-table caption,.price-table thead){background:transparent}
.header-tools{display:flex;align-items:center;gap:8px;flex-shrink:0;pointer-events:auto}
body header .appearance-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:8px 11px;border:1px solid var(--glass-line);border-radius:7px;background:var(--ui-inset);color:var(--ink);font:inherit;font-size:11px;cursor:pointer;text-shadow:none}
.appearance-toggle svg,#appearance-panel svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
body header .appearance-toggle:hover,body header .appearance-toggle[aria-expanded=true]{background:var(--surface-hover);border-color:var(--ui-accent)}
#appearance-panel{position:fixed;inset:auto;margin:0;width:280px;max-width:calc(100vw - 24px);box-sizing:border-box;overflow:auto;padding:18px;border:1px solid var(--glass-line);border-radius:8px;color:var(--ink);background:var(--ui-popover);box-shadow:0 14px 50px #0006;font:13px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;pointer-events:auto}
#appearance-panel:not(:popover-open){display:none}
#appearance-panel::backdrop{background:transparent}
.appearance-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
#appearance-panel h2{font-size:16px;font-weight:550;line-height:1.5;margin:0;color:var(--ink)}
.appearance-heading button{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:5px;background:var(--ui-inset);color:var(--muted);font:inherit;font-size:22px;line-height:1;cursor:pointer}
.appearance-range-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:12px}
#appearance-value,#appearance-colorfulness-value,#appearance-transparency-value{color:var(--ui-accent);font-variant-numeric:tabular-nums}
#appearance-panel input[type=range]{display:block;box-sizing:border-box;width:100%;height:32px;margin:9px 0 0;padding:0;accent-color:var(--ui-accent);cursor:pointer;touch-action:pan-y}
.appearance-color-group,.appearance-transparency-group{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}
#appearance-transparency-hint{font-size:11px;line-height:1.8;color:var(--muted);margin:12px 0 0}
.appearance-range-ends{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}
.appearance-range-ends>span{display:inline-flex;align-items:center;gap:5px}
.appearance-heading button:focus-visible,#appearance-panel input[type=range]:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}
@media(max-width:650px){.header-tools{margin-left:auto;align-self:flex-start;gap:7px;margin-top:3px}body header .appearance-toggle{width:34px;min-height:34px;padding:7px}body header .appearance-toggle>span{display:none}.header-tools .language-toggle{margin:0}}
@media(forced-colors:active){#appearance-panel input[type=range]{forced-color-adjust:auto}}

/* Search and directory: readable content surfaces, using the shared opacity setting. */
body.search-view #global-search-page{width:min(1360px,calc(100% - 80px));margin-inline:auto;padding:34px 0 72px;min-height:72vh}
body.search-view .portal-search-panel{padding:32px;border:1px solid var(--glass-line);border-radius:18px;background:var(--surface);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
body.search-view .portal-page-heading .section-kicker{margin:0 0 12px;color:#b6c8ff;font-size:10px;font-weight:600;letter-spacing:.16em}
body.search-view .portal-page-heading h1{max-width:none;margin:0;font-size:clamp(26px,2.7vw,36px);font-weight:600;line-height:1.4;letter-spacing:0}
body.search-view .portal-page-heading>p:last-child{margin:12px 0 0;color:#c1cee4;font-size:14px;line-height:1.8}
body.search-view #global-search-form{max-width:none;gap:10px;margin:26px 0 14px;flex-direction:row}
body.search-view #global-search-form .search{min-width:0;min-height:56px;padding:12px 18px;border-radius:10px;border-color:rgb(167 188 255/.3);box-shadow:none}
body.search-view #global-search-form .search:focus-within{border-color:var(--ui-accent);box-shadow:0 0 0 3px rgb(167 188 255/.12)}
body.search-view #global-search-form .search input{font-size:16px}
body.search-view #global-search-form .search-mark{display:flex;flex:none;color:var(--ui-accent)}
body.search-view #global-search-form .search-mark svg{width:21px;height:21px}
body.search-view #global-search-form .search-button{flex:none;min-width:100px;min-height:56px;padding:12px 24px;border:1px solid var(--ui-accent);border-radius:10px;background:var(--ui-accent);color:#12203c;font-size:14px;font-weight:600;box-shadow:none}
body.search-view #global-search-form .search-button:hover{background:#d1ddff;border-color:#d1ddff}
.search-suggestions{margin:12px 0 18px;min-width:0}
.search-suggestions-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:8px}
.search-suggestions-label{flex:none;color:#b8c8e2;font-size:12px;font-weight:500;line-height:30px}
.search-suggestions-refresh{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:4px 8px;border:1px solid transparent;border-radius:5px;background:transparent;color:#c0d1ef;font-size:11px;line-height:1.5}
.search-suggestions-refresh:hover{border-color:rgb(167 188 255/.3);background:var(--ui-inset);color:#fff}
.search-suggestions-refresh:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}
.search-suggestion-list{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
html:root body .search-suggestion-list>a.search-suggestion{display:inline-flex;align-items:center;gap:9px;min-height:32px;max-width:100%;padding:6px 12px;border:1px solid rgb(167 188 255/.24);border-radius:8px;background:var(--ui-inset);color:#d2def3;font-size:12px;line-height:1.5;overflow-wrap:anywhere;text-decoration:none;transition:background-color .15s,border-color .15s,color .15s}
.search-suggestion-arrow{flex:none;color:#9bb2db;font-size:13px}
html:root body .search-suggestion-list>a.search-suggestion:hover{background:var(--surface-hover);border-color:var(--ui-accent);color:#fff}
html:root body .search-suggestion-list>a.search-suggestion:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}
body.home-view .hero .search-suggestions{max-width:650px;margin-top:-6px;margin-bottom:18px}
body.search-view .search-privacy-note{margin:16px 0 0;color:#b5c4dd;font-size:11px;line-height:1.8}
body.search-view .search-privacy-note a{margin-left:6px;color:#d1dcf9;text-decoration:underline;text-underline-offset:3px}
body.search-view #global-search-scopes{gap:8px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
html:root body.search-view #global-search-scopes a{min-height:40px;gap:8px;padding:9px 14px;border:1px solid transparent;border-radius:8px;background:transparent;color:#c5d2e8;font-size:13px;line-height:1.5;transition:background-color .15s,border-color .15s}
html:root body.search-view #global-search-scopes a:hover{background:rgb(167 188 255/.08);border-color:rgb(167 188 255/.24);color:#fff}
html:root body.search-view #global-search-scopes a[aria-current="page"]{background:rgb(167 188 255/.15);border-color:rgb(167 188 255/.4);color:#f2f5ff;font-weight:600}
.portal-result-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;padding:1px 6px;border-radius:5px;background:rgb(167 188 255/.12);color:#d6e1fa;font-size:11px;font-variant-numeric:tabular-nums}
body.search-view #global-search-status{width:fit-content;max-width:100%;min-height:0;margin:22px 0 18px;padding:9px 13px;border-radius:7px;background:var(--surface);color:#d2def2;font-size:12px;line-height:1.7;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
body.search-view #global-search-status:empty{display:none}
body.search-view .portal-result-group{margin:24px 0 30px}
body.search-view .portal-result-group-heading{margin:0 0 12px;padding:13px 17px;border:1px solid var(--line);border-radius:9px;background:var(--surface);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
body.search-view .portal-result-group-heading h2{font-size:17px;font-weight:600;line-height:1.6}
body.search-view .portal-result-group-heading>a{flex:none;color:#c6d6fb;font-size:12px}
body.search-view .portal-results-grid{gap:14px}
body.search-view .portal-result-card{padding:20px;border-radius:12px;border-color:var(--glass-line);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);transition:border-color .15s}
body.search-view .portal-result-card:hover{border-color:rgb(167 188 255/.5)}
body.search-view .portal-result-heading{gap:11px;margin-bottom:10px}
body.search-view .portal-result-heading h3{font-size:16px;font-weight:600}
body.search-view .portal-result-link{color:#f0f4ff}
body.search-view .portal-result-meta{font-size:11px;color:#c1cee4}
body.search-view .portal-result-card>p{margin:12px 0 20px;color:#ccd6e9;font-size:13px;line-height:1.8}
body.search-view .portal-result-action{color:#bdd0fc;font-size:12px;min-height:28px}
.portal-result-type{display:block;margin-bottom:12px;color:#aebfe0;font-size:10px;font-weight:600;letter-spacing:.04em}
body.search-view .portal-result-group:is(.is-empty,.is-error,.is-loading){display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin:10px 0;padding:15px 18px;border:1px solid var(--line);border-radius:10px;background:var(--surface);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
body.search-view .portal-result-group[hidden],body.search-view .portal-empty-state[hidden],.search-suggestions[hidden]{display:none}
body.search-view .portal-result-group:is(.is-empty,.is-error,.is-loading) .portal-result-group-heading{margin:0;padding:0;border:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
body.search-view .portal-result-group:is(.is-empty,.is-error,.is-loading) .portal-result-group-heading h2{font-size:13px}
body.search-view .portal-result-group:is(.is-empty,.is-error,.is-loading) .portal-results-grid{display:block;min-width:0}
body.search-view .portal-result-group:is(.is-empty,.is-error,.is-loading) :is(.portal-empty,.portal-group-error){margin:0;color:#c0cee6;font-size:12px;line-height:1.8}
body.search-view .portal-retry{min-height:32px;padding:5px 10px;border-color:rgb(167 188 255/.35);background:transparent;color:#d2dfff;font-size:12px}
body.search-view .portal-retry:hover{border-color:var(--ui-accent);background:rgb(167 188 255/.1)}
body.search-view .portal-empty-state{padding:32px;border:1px solid var(--glass-line);border-radius:14px;background:var(--surface);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
body.search-view .portal-empty-state h2{margin:0 0 10px;font-size:21px;line-height:1.5}
body.search-view .portal-empty-state>p{margin:0 0 20px;color:#c5d2e7;font-size:13px;line-height:1.8}
body.search-view #global-search-more{display:block;min-height:44px;margin:26px auto 0;padding:10px 24px;border-radius:8px;color:#e2eaff;border-color:rgb(167 188 255/.4)}
body.search-view #global-search-more[hidden]{display:none}
html:root body.home-view #discovery-facets{padding:26px 28px 12px;border-color:var(--glass-line);border-radius:16px;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
body.home-view #discovery-facets .discovery-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:10px;padding-bottom:20px;border-bottom:1px solid var(--line)}
body.home-view #discovery-facets .discovery-heading .section-kicker{margin:0 0 8px;color:#acbfe2;font-size:9px;letter-spacing:.14em}
body.home-view #discovery-facets .discovery-heading h2{margin:0;font-size:23px;font-weight:600;line-height:1.4}
body.home-view #discovery-facets .discovery-heading>p{max-width:450px;margin:0 0 2px;color:#c1cee3;font-size:12px;line-height:1.8}
body.home-view #discovery-facets .facet-row{grid-template-columns:108px minmax(0,1fr);gap:20px;align-items:start;padding:17px 0;border-color:var(--line)}
body.home-view #discovery-facets .facet-label{display:flex;align-items:center;gap:10px;padding-top:8px;color:#d2dff5;font-size:13px;font-weight:600;line-height:1.6}
body.home-view #discovery-facets .facet-label::before{content:'';flex:none;width:3px;height:14px;border-radius:3px;background:#9fbaff}
body.home-view #discovery-facets .facet-row-ai .facet-label::before{background:#c1aff7}
body.home-view #discovery-facets .facet-items{gap:8px;min-width:0}
body.home-view #discovery-facets .facet-items a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;max-width:100%;padding:7px 12px;border:1px solid rgb(167 188 255/.2);border-radius:8px;background:transparent;color:#d2def0;font-size:12px;line-height:1.6;white-space:normal;text-decoration:none;transition:background-color .15s,border-color .15s,color .15s}
body.home-view #discovery-facets .facet-row-ai .facet-items a{background:transparent;border-color:rgb(167 188 255/.2);color:#d2def0}
body.home-view #discovery-facets .facet-items a:hover{background:rgb(167 188 255/.12);border-color:rgb(167 188 255/.5);color:#fff;text-decoration:none}
body.home-view #discovery-facets .facet-items a:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}
@media(max-width:1000px){body.search-view #global-search-page{width:calc(100% - 40px);padding-top:24px}body.search-view .portal-search-panel{padding:26px}body.home-view #discovery-facets .discovery-heading{align-items:start;flex-direction:column;gap:10px}}
@media(max-width:650px){
 body.search-view #global-search-page{width:calc(100% - 24px);padding:18px 0 48px}
 body.search-view .portal-search-panel{padding:22px 16px 16px;border-radius:13px}
 body.search-view .portal-page-heading h1{font-size:25px;line-height:1.45}
 body.search-view .portal-page-heading>p:last-child{font-size:12px;margin-top:10px}
 body.search-view #global-search-form{gap:8px;margin-top:22px}
 body.search-view #global-search-form .search{min-height:50px;padding:10px 12px;gap:8px}
 body.search-view #global-search-form .search-button{min-width:64px;min-height:50px;padding:10px 14px;font-size:13px}
 .search-suggestions{margin-bottom:14px}.search-suggestions-heading{margin-bottom:7px}.search-suggestions-label{font-size:11px;line-height:1.7}.search-suggestion-list{gap:7px}
 html:root body .search-suggestion-list>a.search-suggestion{min-height:34px;padding:6px 10px;font-size:11px}
 body.search-view .search-privacy-note{font-size:10px}
 body.search-view #global-search-scopes{gap:5px;margin-top:18px;padding-top:16px}
 html:root body.search-view #global-search-scopes a{min-height:38px;padding:8px 10px;font-size:11px;gap:6px}
 body.search-view #global-search-status{margin:16px 0;font-size:11px}
 body.search-view .portal-result-group-heading{padding:11px 13px}.portal-result-count{min-width:18px;padding:1px 4px;font-size:10px}
 body.search-view .portal-result-group-heading h2{font-size:16px}
 body.search-view .portal-result-card{padding:18px}
 body.search-view .portal-result-group:is(.is-empty,.is-error,.is-loading){padding:13px 15px;gap:5px 14px}
 body.search-view .portal-empty-state{padding:24px 20px}.portal-empty-state h2{font-size:19px}
 html:root body.home-view #discovery-facets{padding:22px 18px 6px;border-radius:13px}
 body.home-view #discovery-facets .discovery-heading{padding-bottom:18px;margin-bottom:2px}
 body.home-view #discovery-facets .discovery-heading h2{font-size:21px}
 body.home-view #discovery-facets .discovery-heading>p{font-size:11px}
 body.home-view #discovery-facets .facet-row{grid-template-columns:1fr;gap:12px;padding:17px 0}
 body.home-view #discovery-facets .facet-label{padding:0;font-size:12px}
 body.home-view #discovery-facets .facet-items{gap:7px}
 body.home-view #discovery-facets .facet-items a{min-height:36px;padding:7px 10px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){body.search-view .portal-result-card,body.search-view #global-search-scopes a,html:root body .search-suggestion-list>a.search-suggestion,body.home-view #discovery-facets .facet-items a{transition:none}}

/* A single themed focus treatment and a shared, keyboard-accessible search menu. */
html:root body :is(#site-search-form,#global-search-form) .search-autocomplete-anchor{overflow:visible}
html:root body :is(#site-search-form,#global-search-form) .search-autocomplete-anchor:focus-within{border-color:var(--ui-accent);box-shadow:0 0 0 3px rgb(167 188 255/.12)}
html:root body :is(#site-search-form,#global-search-form) input:is(:focus,:focus-visible){outline:none;box-shadow:none}
html:root body #github-search-form input:is(:focus,:focus-visible){outline:none;border-color:var(--ui-accent);box-shadow:0 0 0 3px rgb(167 188 255/.12)}
html:root body>.search-autocomplete{position:fixed;z-index:100;box-sizing:border-box;min-width:0;max-width:calc(100vw - 24px);max-height:320px;overflow:auto;overscroll-behavior:contain;margin:0;padding:6px;border:1px solid rgb(167 188 255/.38);border-radius:12px;background:var(--surface);color:#d2def3;box-shadow:0 14px 42px rgb(0 0 0/.38);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);scrollbar-width:thin;scrollbar-color:#7189b4 transparent;color-scheme:dark}
html:root body>.search-autocomplete[hidden]{display:none}
html:root body>.search-autocomplete .search-autocomplete-option{display:flex;align-items:center;gap:12px;box-sizing:border-box;width:100%;min-width:0;min-height:42px;margin:0;padding:10px 12px;border:1px solid transparent;border-radius:7px;background:transparent;color:#d2def3;font:inherit;font-size:13px;line-height:1.6;text-align:left;cursor:pointer}
html:root body>.search-autocomplete .search-autocomplete-option:is(:hover,[aria-selected="true"]){border-color:rgb(167 188 255/.36);background:rgb(167 188 255/.15);color:#fff}
html:root body>.search-autocomplete .search-autocomplete-option:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}
.search-autocomplete-title{display:block;flex:1;min-width:0;overflow-wrap:anywhere}
.search-suggestions-refresh[hidden]{display:none}
.search-autocomplete-option :is(small,.search-autocomplete-description){display:block;color:#b5c7e5;font-size:11px;line-height:1.6}
@media(max-width:650px){html:root body>.search-autocomplete{padding:5px;border-radius:10px}html:root body>.search-autocomplete .search-autocomplete-option{min-height:44px;padding:10px;font-size:12px}}
