/* Content-first shell. Kept together for a small, reversible release. */
.global-search .sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body:is([data-page=home],[data-page=encyclopedia]) .topbar .global-search {display:none}
body .topbar {gap:12px;min-height:56px;height:auto;padding-top:8px;padding-bottom:8px}
.global-search {display:flex;gap:6px;align-items:center;margin:0 0 0 auto;width:min(440px,44vw)}
.global-search input {min-width:0;flex:1;min-height:38px;padding:8px 12px;border:1px solid #806090;border-radius:8px;background:#21192b;color:#f6eefb;font:inherit;font-size:14px}
.global-search button {min-height:38px;padding:6px 13px;white-space:nowrap;background:#8050a8;color:#fff;border:1px solid #aa7fca;border-radius:8px}
.global-search input::placeholder {color:#c1b0ce}
body .sidebar {display:flex;flex-direction:column}
body .sidebar nav[aria-label="主导航"] {flex:1}
body .sidebar-bottom {flex:none;margin-top:16px;padding:12px 0 0}
body .sidebar-bottom .nav-link {margin:0 0 8px}
body .sidebar-bottom>small {display:block;padding:0 12px;color:#c5b2d0;font-size:12px}
body .sidebar .nav-group {margin-top:18px;margin-bottom:7px}
body .sidebar .nav-link {min-height:40px;padding-top:8px;padding-bottom:8px}
body #home .home-player-hero {min-height:0;padding-top:14px;padding-bottom:14px;margin-bottom:12px;gap:16px}
body #home .home-player-hero h1 {font-size:28px;line-height:1.3;margin:5px 0}
body #home .home-player-hero .hero-kicker {font-size:11px}
body #home .home-player-hero .hero-description {font-size:14px;margin:0}
body #home .home-player-hero .hero-art {width:82px;height:82px;min-width:82px;position:static}
body #home .home-player-hero .hero-art img {width:82px;height:82px;max-width:none}
body #home .home-search {margin:0 0 16px;padding:0}
body #home .home-search-field {padding:5px}
body #home .home-search input,body #home .home-search button {min-height:40px}
body #home .home-directory-heading {margin:12px 0 10px}
body #home .home-directory-heading h2 {font-size:20px;margin:0}
body #home .home-directory {gap:10px;margin:0 0 14px}
body #home .home-directory-card {min-height:112px;padding:14px 12px}
body #home .home-directory-icon {width:38px;height:38px;margin-bottom:8px}
body #home .home-directory-icon img {width:38px;height:38px}
body #home .home-directory-card h3 {font-size:18px;margin:5px 0}
body #home .home-directory-card p {font-size:12px;margin:0}
body #home .home-resume {margin:10px 0;gap:8px}
body #home .home-resume a {padding:7px 10px;min-height:36px}
body #home .home-primary-entries {gap:10px;margin:14px 0}
body #home .home-primary-entries a {min-height:76px;padding:14px}
body #home .home-primary-entries strong {font-size:16px}
body #home .home-primary-entries a>span {font-size:13px}
body #home .home-service-note {padding:16px}
body #home .home-service-note h2 {font-size:20px;margin:7px 0}
body #brand .brand-page-head {min-height:0;padding:18px 22px;margin-bottom:16px}
body #brand .brand-page-head h1 {font-size:28px;margin:7px 0}
body #brand .brand-page-head p {font-size:15px}
body #brand .brand-page-head .banner-knight {height:90px;width:120px}
body #brand .service-price-notice {padding:10px 14px;font-size:14px;line-height:1.65;margin:12px 0}
body #brand .service-cards {gap:12px;margin:12px 0}
body #brand .service-entry {padding:16px}
body #brand .service-entry h2 {font-size:20px}
body #brand .service-section-nav a {padding:9px 13px}
body[data-page=bosses] .boss-portal-hero {padding:14px 20px;margin-bottom:14px;gap:15px}
body[data-page=bosses] .boss-portal-hero h1 {font-size:26px;margin:5px 0}
body[data-page=bosses] .boss-portal-hero p {font-size:14px;line-height:1.6}
body[data-page=bosses] .boss-portal-hero>img {width:80px;height:80px}
body[data-page=bosses] .boss-portal-tags {margin-top:9px;gap:6px}
body[data-page=bosses] .boss-portal-tags span {padding:4px 8px;font-size:12px}
body[data-page=bosses] .boss-portal-heading {margin:10px 0 12px}
body[data-page=bosses] .boss-portal-art {height:180px}
body[data-page=bosses] .boss-portal-copy {padding:14px 16px}
body[data-page=bosses] .boss-portal-copy h3 {font-size:22px}
body[data-page=attributes] .tool-banner {min-height:0;padding:8px 0;margin:0 0 12px}
body[data-page=attributes] .tool-banner h1 {font-size:24px;margin:0 0 5px}
body[data-page=attributes] .tool-banner p {font-size:14px;margin:0}
body[data-page=attributes] .attribute-sections {margin-bottom:12px;gap:8px}
body[data-page=attributes] .attribute-sections a {padding:10px 14px;min-height:40px}
body[data-page=attributes] .quicklinks {margin:10px 0 14px;gap:7px}
body[data-page=attributes] .quicklinks button {padding:8px 12px;min-height:38px;font-size:14px}
body[data-page=attributes] .curve-workspace {gap:14px}
body[data-page=attributes] :is(.curve-parameters,.curve-result-panel) {padding:18px}
body[data-page=attributes] #curves .benefit-comparison strong {color:#f4d397}
body[data-page=attributes] #curves .benefit-verdict {color:#dfcce9}
body[data-page=attributes] #curves .benefit-delta {color:#ffe1a0;background:#47314f}
body[data-page=attributes] #curves .benefit-delta small {color:#ead5f5}
body[data-page=build] .build-hero {padding:12px 18px;margin:10px 0 14px;min-height:0}
body[data-page=build] .build-hero h1 {font-size:25px;margin:0 0 4px}
body[data-page=build] .build-hero>img {width:66px;height:66px}
body[data-page=build] .build-hero p {margin:3px 0 8px;font-size:14px}
body[data-page=build] .build-hero-actions {margin-top:8px}
body[data-page=build] .build-hero-actions button {min-height:36px;padding:7px 12px}
.ency-site-results {margin:0 0 18px}
.ency-site-results h3 {margin:0 0 9px;font-size:16px;color:#e8d6f3}
.ency-site-result-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.ency-site-result {display:flex;flex-direction:column;gap:5px;padding:14px;border:1px solid #79588b;border-radius:10px;background:#372841;text-decoration:none;color:#f6eafd}
.ency-site-result:hover {background:#503460;border-color:#c79de4}
.ency-site-result strong {font-size:17px}
.ency-site-result span {font-size:13px;color:#d7c2e3}
.ency-site-result small {font-size:12px;color:#c7b4d3}
body[data-page=encyclopedia] .ency-search-panel {padding:10px 12px;margin:10px 0 14px}
body[data-page=encyclopedia] #ency-search {gap:8px}
body[data-page=encyclopedia] #ency-search :is(input,button,select) {min-height:38px}
body[data-page=encyclopedia] .ency-refine {margin-top:8px;padding-top:7px}
body[data-page=encyclopedia] .ency-refine>summary {min-height:32px;padding:6px 10px}
body[data-page=encyclopedia] .ency-refine-body {padding-top:10px}
@media(max-width:1050px) {
 body .topbar .context {font-size:12px}
 body .topbar #draft-state {display:none}
 body #home .home-directory {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px) {
 body .topbar {gap:8px;padding:8px 12px}
 body .topbar .context,body .topbar .top-brand-link {display:none}
 body .topbar .context:has(#mobile-menu) {display:flex;flex:none}
 body .topbar .context:has(#mobile-menu)>:not(#mobile-menu) {display:none}
 .global-search {width:auto;flex:1;margin:0}
 .global-search input {font-size:14px;min-height:40px}
 .global-search button {padding:6px 9px;min-height:40px}
 body #home .home-player-hero {padding-top:12px;padding-bottom:12px}
 body #home .home-player-hero h1 {font-size:24px}
 body #home .home-player-hero .hero-art,body #home .home-player-hero .hero-art img {width:62px;height:62px;min-width:62px}
 body #home .home-directory {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body #home .home-directory-card {min-height:98px;padding:10px}
 body #home .home-directory-card h3 {font-size:17px}
 body #home .home-directory-icon {float:left;margin:0 8px 6px 0}
 body #home .home-directory-heading>span {display:none}
 body #home .home-resume {font-size:13px}
 body #home .home-primary-entries {grid-template-columns:1fr}
 body #brand .brand-page-head {padding:14px}
 body #brand .brand-page-head h1 {font-size:24px}
 body #brand .brand-page-head .banner-knight {width:64px;height:64px}
 body[data-page=bosses] .boss-portal-hero {padding:14px}
 body[data-page=bosses] .boss-portal-hero h1 {font-size:24px;padding:0}
 body[data-page=bosses] .boss-portal-hero>img {display:none}
 body[data-page=bosses] .boss-portal-art {height:170px}
 body[data-page=attributes] .tool-banner {padding:6px 0;margin:0 0 10px}
 body[data-page=build] .build-hero {padding:12px}
 body[data-page=build] .build-hero>img {display:none}
}
