:root{--ink:#f4f6f2;--muted:#aeb8b0;--line:#2b3632;--navy:#121715;--navy-2:#1a211e;--card:#1b2420;--aqua:#83d7a0;--blue:#e6b56c;--shell:1240px}html{background:var(--navy)}body{background:#121715}.site-header{background:rgba(18,23,21,.96);backdrop-filter:blur(14px)}.brand-mark{border-radius:6px;background:#83d7a0;box-shadow:none}.site-nav a.is-active,.site-nav a:hover{color:var(--ink)}.site-nav a.is-active{border-bottom:2px solid var(--aqua);padding-bottom:3px}.site-search{border-radius:6px;background:#1a211e}.site-search button{background:#83d7a0}.hero{padding:72px 0 56px;background:#1a211e}.hero h1,.page-main h1{font-size:48px;letter-spacing:0}.hero p:not(.eyebrow){font-size:16px}.cta{border-radius:6px;background:#83d7a0}.cta span{font-size:18px}.category-strip{display:flex;align-items:flex-start;gap:12px 18px;flex-wrap:wrap;padding:12px 0 14px;border-top:1px solid var(--line)}.category-strip-label{color:var(--muted);font-size:12px;font-weight:700;line-height:30px;white-space:nowrap}.category-group{display:flex;align-items:flex-start;gap:8px}.category-parent{display:block;border:1px solid #4b5d55;border-radius:5px;color:var(--ink);font-weight:700;line-height:28px;padding:0 9px;white-space:nowrap}.category-parent:hover,.category-parent.is-active{border-color:var(--aqua);background:#28372f;color:var(--aqua)}.category-children{display:flex;flex-wrap:wrap;gap:4px;max-width:280px}.category-children a,.section-child-links a,.directory-links a,.category-context__links a{border-radius:4px;color:var(--muted);font-size:12px;line-height:28px;padding:0 7px;white-space:nowrap}.category-children a:hover,.category-children a.is-active,.section-child-links a:hover,.directory-links a:hover,.category-context__links a:hover,.category-context__links a.is-active{background:#28372f;color:var(--aqua)}.category-directory{padding:38px 0 32px;border-bottom:1px solid var(--line)}.directory-heading{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:18px}.directory-heading h2{margin:0;font-size:30px;line-height:1.2}.directory-heading>p{max-width:310px;margin:0;color:var(--muted);font-size:14px}.directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.directory-group{border:1px solid var(--line);border-radius:6px;background:var(--card);min-width:0;padding:14px}.directory-parent{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--ink);font-size:17px;font-weight:750}.directory-parent b{color:var(--aqua);font-size:12px;font-weight:600}.directory-links{display:flex;flex-wrap:wrap;gap:3px;margin-top:8px}.content-section{padding:44px 0}.compact-section{padding-top:24px}.section-heading--catalog{align-items:flex-start}.section-child-links{display:flex;flex-wrap:wrap;gap:3px;margin-top:8px}.card-grid{gap:12px}.media-card{border-radius:6px;background:#1b2420}.media-card:hover{border-color:#83d7a0;box-shadow:0 12px 24px rgba(0,0,0,.2)}.poster{background:#26322d}.category-context{display:flex;align-items:flex-start;gap:14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:0 0 24px;padding:12px 0}.category-context__title{flex:0 0 auto;color:var(--ink);font-size:15px;font-weight:750;line-height:28px}.category-context__title a{color:var(--aqua)}.category-context__links{display:flex;flex-wrap:wrap;gap:3px}.detail-layout,.player-shell,.profile{border-radius:6px;background:var(--card)}.site-footer{background:#0e1210}@media(max-width:1050px){.category-strip{gap:10px}.category-group{gap:6px}.category-children{max-width:225px}.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.hero{padding:42px 0 38px}.hero h1,.page-main h1{font-size:32px}.category-strip{flex-wrap:nowrap;overflow-x:auto;padding-bottom:12px}.category-strip-label,.category-group{flex:0 0 auto}.category-children{max-width:220px}.directory-heading{align-items:flex-start;flex-direction:column;gap:8px}.directory-heading h2{font-size:24px}.directory-grid{grid-template-columns:1fr;gap:8px}.directory-group{padding:12px}.section-heading--catalog{align-items:flex-start}.section-heading--catalog>a{padding-top:3px}.section-child-links{max-width:calc(100vw - 112px)}.category-context{align-items:flex-start;flex-direction:column;gap:4px}.category-context__links{max-width:100%}}
/* Matrix catalog refresh */
:root{--ink:#f3f5f2;--muted:#aab5ae;--line:#2b3731;--surface:#151c19;--surface-2:#1b2420;--canvas:#0f1412;--accent:#d8ae68;--accent-2:#82d3a0;--shell:1280px}
*{box-sizing:border-box}
html{background:var(--canvas);scroll-behavior:smooth}
body{margin:0;background:var(--canvas);color:var(--ink);font:15px/1.6 Inter,"PingFang SC","Microsoft YaHei",sans-serif}
.shell{width:min(calc(100% - 48px),var(--shell));margin:0 auto}
a{color:inherit;text-decoration:none}
.site-header{position:sticky;top:0;z-index:20;background:rgba(15,20,18,.97);border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}
.header-inner{height:72px;display:flex;align-items:center;gap:30px}
.brand{display:flex;align-items:center;gap:11px;white-space:nowrap;font-size:17px;font-weight:800}
.brand-mark{width:34px;height:34px;border-radius:7px;background:var(--accent);color:#12100b;box-shadow:none}
.site-nav{display:flex;align-items:center;gap:22px;flex:1;min-width:0;overflow:auto}
.site-nav a{color:var(--muted);white-space:nowrap;padding:25px 0 21px;border-bottom:2px solid transparent}
.site-nav a:hover,.site-nav a.is-active{color:var(--ink);border-color:var(--accent)}
.site-search{display:flex;flex:0 0 auto;width:270px;height:38px;border:1px solid var(--line);border-radius:6px;background:var(--surface);overflow:hidden}
.site-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:var(--ink);padding:8px 12px}
.site-search input::placeholder{color:#77857c}
.site-search button{border:0;background:var(--accent);color:#17130c;font-weight:800;padding:0 14px;cursor:pointer}
.category-strip{display:flex;align-items:center;gap:12px;padding:10px 0 12px;border-top:1px solid rgba(255,255,255,.04);overflow-x:auto;white-space:nowrap}
.category-strip-label{color:var(--muted);font-size:12px;font-weight:800;letter-spacing:.04em}
.category-group{display:flex;align-items:center;flex:0 0 auto}
.category-parent{display:block;padding:4px 11px;border:1px solid transparent;border-radius:5px;color:var(--muted);font-size:13px;font-weight:700}
.category-parent:hover,.category-parent.is-active{border-color:#6e5a36;background:#2b2417;color:var(--accent)}
.category-children{display:none}
.hero{padding:76px 0 68px;border-bottom:1px solid var(--line);background:#171e1b}
.hero-inner{max-width:820px}
.eyebrow{margin:0 0 10px;color:var(--accent);font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.hero h1,.page-main h1{margin:0;font-size:clamp(38px,5vw,58px);line-height:1.08;letter-spacing:0}
.hero p:not(.eyebrow){max-width:650px;margin:18px 0 0;color:var(--muted);font-size:16px}
.cta{display:inline-flex;align-items:center;gap:12px;margin-top:24px;padding:11px 16px;border-radius:5px;background:var(--accent);color:#17130c;font-weight:800}
.cta:hover{background:#edc47b}
.cta span{font-size:18px}
.category-directory{padding:42px 0 38px;border-bottom:1px solid var(--line)}
.directory-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:20px}
.directory-heading h2{margin:0;font-size:30px;line-height:1.2}
.directory-heading>p{max-width:360px;margin:0;color:var(--muted);font-size:13px}
.directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.directory-group{min-width:0;padding:16px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}
.directory-group:hover{border-color:#53655a}
.directory-parent{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:17px;font-weight:800}
.directory-parent b{color:var(--accent);font-size:11px;font-weight:700;white-space:nowrap}
.directory-links{display:flex;flex-wrap:wrap;gap:4px;margin-top:11px}
.directory-links a,.section-child-links a,.category-context__links a{padding:3px 7px;border-radius:4px;color:var(--muted);font-size:12px;line-height:1.6}
.directory-links a:hover,.section-child-links a:hover,.category-context__links a:hover,.category-context__links a.is-active{background:#29362e;color:var(--accent-2)}
.content-section{padding:48px 0}
.compact-section{padding-top:18px}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}
.section-heading h1,.section-heading h2{margin:0;font-size:28px;line-height:1.2}
.section-heading>a{color:var(--accent);font-size:13px;font-weight:800;white-space:nowrap}
.section-heading--catalog{align-items:flex-start}
.section-child-links{display:flex;flex-wrap:wrap;gap:3px;margin-top:9px}
.card-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.media-card{min-width:0;border:1px solid var(--line);border-radius:7px;background:var(--surface);overflow:hidden;transition:border-color .18s,transform .18s,box-shadow .18s}
.media-card:hover{border-color:#6b8b75;transform:translateY(-3px);box-shadow:0 12px 26px rgba(0,0,0,.24)}
.poster{position:relative;aspect-ratio:2/3;background:#202a25;overflow:hidden}
.poster img{width:100%;height:100%;display:block;object-fit:cover}
.poster span{position:absolute;right:7px;bottom:7px;max-width:calc(100% - 14px);padding:2px 6px;border-radius:3px;background:rgba(10,14,12,.88);color:#eef4ef;font-size:11px}
.media-card h2,.media-card h3{display:-webkit-box;margin:11px 12px 4px;overflow:hidden;font-size:14px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.media-card p{margin:0 12px 12px;overflow:hidden;color:var(--muted);font-size:12px;white-space:nowrap;text-overflow:ellipsis}
.page-main{min-height:65vh;padding-top:30px}
.crumb{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:25px;color:var(--muted);font-size:13px}
.crumb a:hover{color:var(--accent)}
.category-context{display:flex;align-items:flex-start;gap:16px;margin:0 0 26px;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.category-context__title{flex:0 0 auto;color:var(--ink);font-size:14px;font-weight:800;line-height:28px}
.category-context__title a{color:var(--accent)}
.category-context__links{display:flex;flex-wrap:wrap;gap:3px}
.detail-layout,.player-shell,.profile{border:1px solid var(--line);border-radius:7px;background:var(--surface)}
.site-footer{margin-top:56px;border-top:1px solid var(--line);background:#0b0f0d}
.footer-inner{padding:30px 0;color:var(--muted)}
.footer-inner strong{color:var(--ink)}
.footer-inner p{margin:4px 0}
.footer-links{display:flex;gap:18px;margin:14px 0}
.footer-links a:hover{color:var(--accent)}
@media(max-width:1100px){.site-nav{gap:15px}.site-search{width:220px}.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.shell{width:min(calc(100% - 28px),var(--shell))}.header-inner{height:64px;gap:11px}.brand{font-size:14px}.site-nav{display:none}.site-search{width:190px;margin-left:auto}.site-search input{padding-left:9px}.site-search button{padding:0 10px}.category-strip{padding:8px 0 10px}.hero{padding:50px 0 44px}.hero h1,.page-main h1{font-size:34px}.hero p:not(.eyebrow){font-size:14px}.category-directory{padding:30px 0 26px}.directory-heading{align-items:flex-start;flex-direction:column;gap:7px;margin-bottom:15px}.directory-heading h2{font-size:24px}.directory-grid{grid-template-columns:1fr;gap:8px}.directory-group{padding:13px}.content-section{padding:34px 0}.section-heading h1,.section-heading h2{font-size:23px}.card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.media-card h2,.media-card h3{margin:8px 8px 3px;font-size:12px}.media-card p{margin:0 8px 9px;font-size:11px}.poster span{right:5px;bottom:5px;padding:1px 4px;font-size:10px}.section-heading--catalog{align-items:flex-start}.section-child-links{max-width:calc(100vw - 120px)}.category-context{align-items:flex-start;flex-direction:column;gap:5px;margin-bottom:20px}.category-context__links{max-width:100%}}
@media(max-width:430px){.site-search{width:145px}.site-search input{font-size:12px}.site-search button{font-size:12px;padding:0 8px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.hero-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;align-items:center;gap:64px}.hero-featured{min-width:0}.hero-featured>a{display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;align-items:center;padding:12px;border:1px solid #3d4b42;border-radius:8px;background:#1b2420}.hero-featured img{width:112px;height:158px;display:block;object-fit:cover;border-radius:5px}.hero-featured h2{display:-webkit-box;margin:0 0 8px;overflow:hidden;font-size:17px;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:3}.hero-featured span{color:var(--muted);font-size:12px}.hero-featured .eyebrow{margin-bottom:8px;font-size:10px}@media(max-width:760px){.hero-layout{grid-template-columns:1fr;gap:28px}.hero-featured>a{grid-template-columns:84px minmax(0,1fr)}.hero-featured img{width:84px;height:118px}.hero-featured h2{font-size:15px}}
.hero h1,.page-main h1{font-size:58px}
/* Final visual direction */
:root{--ink:#f4f5f7;--muted:#9da3ad;--line:#292d35;--surface:#15171c;--surface-2:#1b1e25;--canvas:#0b0c0f;--accent:#ff6b63;--accent-2:#ffb4a9;--shell:1280px}
html,body{background:var(--canvas);color:var(--ink)}
.site-header{background:rgba(11,12,15,.96);border-bottom:1px solid #20232a}
.brand-mark{background:var(--accent);color:#210b0a}
.site-nav a:hover,.site-nav a.is-active{color:#fff;border-color:var(--accent)}
.site-search{border-color:#30343d;background:#14161b}
.site-search button{background:var(--accent);color:#220b0a}
.category-strip{display:none}
.hero{padding:88px 0 78px;background:#111318;border-bottom:1px solid #242730}
.hero-layout{grid-template-columns:minmax(0,1fr) 390px;gap:82px}
.hero h1,.page-main h1{font-size:58px;font-weight:800;letter-spacing:-.035em}
.hero p:not(.eyebrow){color:#b2b7c0}
.eyebrow{color:var(--accent);letter-spacing:.12em}
.cta{background:var(--accent);color:#230b0a;border-radius:7px}
.cta:hover{background:#ff827b}
.hero-featured>a{padding:10px;border-color:#343943;border-radius:9px;background:#191b21}
.hero-featured>a:hover{border-color:#7c4643}
.hero-featured img{border-radius:6px}
.hero-featured h2{font-size:16px}
.category-directory{padding:50px 0 42px;border-bottom:1px solid #242730}
.directory-heading h2{font-size:30px;letter-spacing:-.02em}
.directory-heading>p{color:#9298a3}
.directory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.directory-group{padding:18px;border-color:#292d35;border-radius:9px;background:var(--surface)}
.directory-group:hover{border-color:#4d535f;background:#181b21}
.directory-parent{font-size:17px}
.directory-parent b{color:var(--accent)}
.directory-links a,.section-child-links a,.category-context__links a{color:#aeb3bd}
.directory-links a:hover,.section-child-links a:hover,.category-context__links a:hover,.category-context__links a.is-active{background:#302021;color:var(--accent-2)}
.content-section{padding:54px 0}
.compact-section{padding-top:18px}
.section-heading{margin-bottom:20px}
.section-heading h1,.section-heading h2{font-size:27px;font-weight:800;letter-spacing:-.015em}
.section-heading>a{color:var(--accent)}
.card-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.media-card{border-color:#292d35;border-radius:9px;background:var(--surface)}
.media-card:hover{border-color:#714743;box-shadow:0 16px 32px rgba(0,0,0,.32)}
.poster{background:#20232a}
.poster span{background:rgba(10,11,14,.9)}
.media-card h2,.media-card h3{font-size:14px;font-weight:700}
.media-card p{color:#9298a3}
.category-context{border-color:#292d35}
.category-context__title a{color:var(--accent)}
.detail-layout,.player-shell,.profile{border-color:#292d35;background:var(--surface)}
.site-footer{background:#08090b;border-top-color:#242730}
.footer-inner{color:#858b95}
@media(max-width:1100px){.hero-layout{grid-template-columns:minmax(0,1fr) 320px;gap:44px}}
@media(max-width:760px){.hero{padding:54px 0 48px}.hero-layout{grid-template-columns:1fr;gap:28px}.hero h1,.page-main h1{font-size:36px}.directory-grid{grid-template-columns:1fr}.card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}}
/* Umbrella AI system layout adaptation */
:root{--ink:#e6edf3;--muted:#8b949e;--line:rgba(99,102,241,.16);--surface:rgba(22,27,34,.92);--surface-2:rgba(30,36,46,.92);--canvas:#0f1419;--purple:#6366f1;--purple-2:#8b5cf6;--green:#22c55e;--shell:1320px}
html,body{min-height:100%;background:var(--canvas)}
body{padding-left:280px;background:radial-gradient(circle at 90% 0%,rgba(99,102,241,.13),transparent 34rem),#0f1419;color:var(--ink)}
.site-header{position:fixed;left:0;top:0;bottom:0;width:280px;height:100vh;z-index:30;background:rgba(22,27,34,.96);border-right:1px solid var(--line);border-bottom:0;backdrop-filter:blur(20px)}
.header-inner{width:100%;height:100%;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:32px 20px}
.brand{gap:12px;margin:0 4px 8px;font-size:18px}
.brand-mark{width:48px;height:48px;border-radius:12px;background:linear-gradient(135deg,var(--purple),var(--purple-2));color:#fff;box-shadow:0 8px 24px rgba(99,102,241,.35)}
.site-nav{display:flex;flex-direction:column;align-items:stretch;gap:4px;flex:none;margin-top:30px;overflow:visible}
.site-nav a{display:flex;align-items:center;padding:12px;border:0;border-radius:8px;color:var(--muted);font-size:14px;font-weight:600}
.site-nav a:hover,.site-nav a.is-active{color:#fff;border:0;background:linear-gradient(135deg,rgba(99,102,241,.2),rgba(139,92,246,.2));box-shadow:inset 3px 0 var(--purple)}
.site-search{width:100%;height:42px;margin-top:auto;border:1px solid var(--line);border-radius:8px;background:rgba(99,102,241,.05)}
.site-search button{background:linear-gradient(135deg,var(--purple),var(--purple-2));color:#fff}
.category-strip{display:none}
main{min-height:calc(100vh - 80px);padding:0 0 40px}
.shell{width:min(calc(100% - 64px),var(--shell));margin-left:auto;margin-right:auto}
.hero{padding:52px 0 44px;border-bottom:1px solid var(--line);background:transparent}
.hero-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:32px;align-items:center}
.hero-inner{max-width:760px}
.eyebrow{color:#a5b4fc;letter-spacing:.12em}
.hero h1,.page-main h1{font-size:48px;letter-spacing:0}
.hero p:not(.eyebrow){color:var(--muted);font-size:16px}
.cta{background:linear-gradient(135deg,var(--purple),var(--purple-2));color:#fff;border-radius:8px;box-shadow:0 8px 22px rgba(99,102,241,.25)}
.cta:hover{background:linear-gradient(135deg,#7375f3,#9969f7)}
.hero-featured>a{padding:12px;border:1px solid var(--line);border-radius:12px;background:rgba(22,27,34,.9);box-shadow:0 15px 35px rgba(0,0,0,.2)}
.hero-featured>a:hover{border-color:rgba(99,102,241,.5)}
.hero-featured img{border-radius:8px}
.category-directory{padding:30px 0;border-bottom:1px solid var(--line)}
.directory-heading{margin-bottom:18px}
.directory-heading h2{font-size:26px}
.directory-heading>p{color:var(--muted)}
.directory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.directory-group{padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.directory-group:hover{border-color:rgba(99,102,241,.5);background:var(--surface-2)}
.directory-parent b{color:#a5b4fc}
.directory-links a,.section-child-links a,.category-context__links a{color:var(--muted)}
.directory-links a:hover,.section-child-links a:hover,.category-context__links a:hover,.category-context__links a.is-active{background:rgba(99,102,241,.15);color:#c4b5fd}
.content-section{padding:36px 0}
.compact-section{padding-top:16px}
.section-heading h1,.section-heading h2{font-size:26px}
.section-heading>a{color:#a5b4fc}
.card-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.media-card{border-color:var(--line);border-radius:10px;background:var(--surface);box-shadow:0 6px 16px rgba(0,0,0,.1)}
.media-card:hover{border-color:rgba(99,102,241,.55);box-shadow:0 14px 30px rgba(0,0,0,.25)}
.poster{background:#1c2430}
.media-card p{color:var(--muted)}
.category-context{border-color:var(--line)}
.category-context__title a{color:#a5b4fc}
.detail-layout,.player-shell,.profile{border-color:var(--line);background:var(--surface)}
.site-footer{margin-left:0;background:#0b1015;border-top-color:var(--line)}
.footer-inner{color:var(--muted)}
@media(max-width:1100px){body{padding-left:232px}.site-header{width:232px}.header-inner{padding:24px 16px}.hero-layout{grid-template-columns:1fr 320px}.card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){body{padding-left:0}.site-header{position:sticky;left:auto;top:0;bottom:auto;width:100%;height:auto}.header-inner{height:64px;padding:10px 14px;display:flex;flex-direction:row;align-items:center}.brand{margin:0;overflow:hidden;font-size:14px}.brand-mark{width:36px;height:36px}.site-nav{display:none}.site-search{width:190px;height:38px;margin:0 0 0 auto}.hero{padding:42px 0 34px}.hero-layout{grid-template-columns:1fr;gap:26px}.hero h1,.page-main h1{font-size:34px}.shell{width:min(calc(100% - 28px),var(--shell))}.directory-grid{grid-template-columns:1fr}.card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.content-section{padding:30px 0}.category-context{flex-direction:column;gap:5px}}
@media(max-width:430px){.site-search{width:150px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.site-topbar{height:64px;border-bottom:1px solid var(--line);background:rgba(15,20,25,.72)}.topbar-inner{height:100%;display:flex;align-items:center;justify-content:space-between}.topbar-inner>div{display:flex;align-items:baseline;gap:12px}.topbar-inner strong{font-size:18px}.topbar-inner span{color:var(--muted);font-size:12px}.topbar-inner>a{color:#a5b4fc;font-size:13px;font-weight:700}.topbar-inner>a:hover{color:#c4b5fd}@media(max-width:760px){.site-topbar{display:none}}

/* layout stability overrides 20260824 */
.site-header .brand img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-height: 46px;
  max-width: min(180px, 42vw);
  object-fit: contain;
}

.site-search {
  flex: 0 1 auto;
  min-width: 0;
}

.site-search input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.site-search button {
  flex: 0 0 auto;
  white-space: nowrap;
  min-width: 60px;
  padding: 0 14px;
  line-height: 1;
}

@media (max-width: 760px) {
  .site-header .brand img {
    max-height: 38px;
    max-width: min(132px, 38vw);
  }

  .site-search {
    width: min(190px, calc(100vw - 170px));
  }

  .site-search button {
    min-width: 54px;
    padding: 0 10px;
  }
}

@media (max-width: 430px) {
  .site-header .brand img {
    max-height: 34px;
    max-width: min(112px, 34vw);
  }

  .site-search {
    width: min(150px, calc(100vw - 136px));
  }

  .site-search button {
    min-width: 50px;
  }
}

/* search bar stabilization 20260825b */
@media (min-width: 761px) {
  .site-search {
    flex: 0 0 auto !important;
    width: calc(100% + 18px) !important;
    max-width: none !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin-top: auto !important;
    margin-left: -9px !important;
    margin-right: -9px !important;
    align-self: stretch !important;
    border-radius: 10px !important;
    border: 1px solid rgba(148, 163, 184, .18) !important;
    background: rgba(16, 20, 24, .82) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04) !important;
    overflow: hidden !important;
  }

  .site-search input {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 100% !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: var(--ink) !important;
    padding: 0 16px !important;
    font-size: 13px !important;
    letter-spacing: .02em !important;
  }

  .site-search input::placeholder {
    color: rgba(148, 163, 184, .78) !important;
  }

  .site-search button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 58px !important;
    min-width: 58px !important;
    width: 58px !important;
    height: 100% !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, .08) !important;
    background: linear-gradient(135deg, rgba(124, 58, 237, .88), rgba(99, 102, 241, .94)) !important;
    color: #fff !important;
    font-weight: 800 !important;
    letter-spacing: .04em !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 760px) {
  .site-search {
    width: 190px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 0 0 0 auto !important;
    flex: 0 0 auto !important;
  }

  .site-search input {
    padding: 0 12px !important;
    font-size: 12px !important;
  }

  .site-search button {
    flex-basis: 60px !important;
    min-width: 60px !important;
    width: 60px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 430px) {
  .site-search {
    width: 150px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
  }

  .site-search button {
    flex-basis: 56px !important;
    min-width: 56px !important;
    width: 56px !important;
  }
}
