@font-face{font-family:ShiyuSong;src:url('/fonts/SourceHanSerifCN-Bold.otf') format('opentype');font-weight:600 900;font-display:swap}
html{--brand-title:ShiyuSong,'Source Han Serif CN','Noto Serif CJK SC','Songti SC',serif}
html body :is(h1,h2,h3,.skillname,.article-title,.console-title,.navlink,.e2-copy h1){font-family:var(--brand-title)!important;font-weight:700!important}
#jade-ambient{pointer-events:none;position:fixed;inset:0;z-index:-1;overflow:hidden;contain:strict}#jade-ambient i{position:absolute;width:85vw;height:60vh;filter:blur(70px);opacity:.38;animation:jade-drift 28s ease-in-out infinite alternate;transform-origin:center;background:radial-gradient(ellipse at 35% 45%,#91bfb399,transparent 63%);top:3%;left:-18%}#jade-ambient i:nth-child(2){top:45%;left:40%;background:radial-gradient(ellipse,#dbcfaa66,transparent 65%);animation-duration:37s;animation-delay:-12s}#jade-ambient i:nth-child(3){top:70%;left:-15%;background:radial-gradient(ellipse,#99b8c066,transparent 65%);animation-duration:32s;animation-delay:-19s}@keyframes jade-drift{from{transform:translate(-6vw,-6vh) rotate(-12deg) scale(1)}to{transform:translate(18vw,12vh) rotate(12deg) scale(1.18)}}
html[data-theme=night] #jade-ambient{display:none}.theme-preview-note{position:fixed;bottom:14px;left:14px;z-index:200;background:var(--paper,#faf9f5);color:var(--ink,#233431);border:1px solid var(--line,#dfe6df);font:12px/1.4 sans-serif;padding:9px 13px;border-radius:20px;box-shadow:0 2px 18px #0001}
html[data-theme=day]{--bg:#f9f8f3;--surface:#fffffc;--fg:#263b34;--accent:#345f4f;--button-ink:#fff;--panel:rgba(255,255,252,.64);--display:var(--brand-title);--paper:#f9f8f3;--ink:#263b34;--muted:#65766d;--line:#47655326;--green:#345f4f;--glass-ink:#263b34;--glass-muted:#65766d;--glass-surface:#fffffc70;--glass-raised:#ffffffa8;--glass-line:#58726038;--glass-shadow:inset 0 1px 0 #fff,0 12px 40px #3f5c4609;--glass-blur:blur(20px) saturate(120%);background:#f9f8f3}
html[data-theme=day][data-theme=day] body[data-page][data-page]{--paper:#f9f8f3;--ink:#263b34;--muted:#65766d;--line:#47655326;--green:#345f4f;background:transparent!important;color:#263b34!important;isolation:isolate}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(header,.detail-topbar,.research-sticky){background:#fafbf480!important;border-color:#5c776130!important;box-shadow:inset 0 1px 0 #ffffffb0!important;backdrop-filter:blur(22px) saturate(120%)!important;-webkit-backdrop-filter:blur(22px) saturate(120%)!important;color:#263b34!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(.colour-flow,.night-stars,.e2-aurora,.e2-sky){display:none!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(main,.detail-surface,.e2-hero,.hero,.detail-main,.detail-layout,.detail-section){background:transparent!important;color:#263b34!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(.navlink,.backlink,.detail-topbar-title,.subtitle,.helper,.e2-description,.e2-hint,.skilldesc,.skillname,.article-title,.article-category,.brief,.detail-original,.detail-byline,.detail-intro,.detail-price,.detail-source,.usage-steps,.teacher-outcomes,.teacher-use-notes,.detail-section p,.detail-section li,.detail-section strong,.detail-toc a,.detail-meta,.rating-card,.rating-caption,.form-note,.side-card p,.side-card h2,.side-card h3,.console-title,.console-heading p,.console-empty,.console-workspace p,.console-workspace li,.brand-description){color:var(--ink)!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(h1,h2,h3){color:#263b34!important;text-shadow:none!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .e2-copy h1 em{color:#477660!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .e2-hero{border:0!important;box-shadow:none!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .e2-kicker{background:#ffffff70!important;color:#526f5d!important;border-color:#66816a29!important;box-shadow:inset 0 1px 0 #fff!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .e2-motion{background:#ffffff6b!important;color:#345f4f!important;border-color:#6a8c7440!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .e2-stones{filter:brightness(1.22) saturate(.83);}
html[data-theme=day][data-theme=day] body[data-page][data-page] .brand-lockup{filter:none!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .nav>.login{background:#ffffff75!important;color:#345f4f!important;border-color:#557f654d!important;box-shadow:inset 0 1px 0 #fff!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(.navlink[aria-current=page],.navlink:hover){color:#345f4f!important}.navlink[data-page=evaluation]{white-space:nowrap}
html[data-theme=day][data-theme=day] body[data-page][data-page] .navlink[aria-current=page]:after{background:#345f4f!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(.skillrow,.side-card,.detail-overview,.detail-section,.related-card,.panel,.article-card,.research-profile,.research-author,.console-sidebar,.console-workspace,.agent-panel){color:#263b34!important;background:linear-gradient(130deg,#ffffffe0,#fffefb80)!important;border:1px solid #ffffffc9!important;box-shadow:inset 0 1px 0 #fff,0 10px 30px #294c3510,0 0 0 1px #4b6d4f18!important;backdrop-filter:blur(18px) saturate(115%)!important;-webkit-backdrop-filter:blur(18px) saturate(115%)!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(.skill-card-grid .skillrow,.related-card):hover{border-color:#789e86aa!important;box-shadow:inset 0 1px 0 #fff,0 14px 32px #294c351a!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .skill-catalog-heading::before{background:transparent!important;border:0!important;backdrop-filter:none!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .skill-catalog-heading.is-stuck::before{background:linear-gradient(110deg,#ffffffe0,#eef5edac)!important;border-bottom:1px solid #557c6440!important;box-shadow:inset 0 1px 0 #fff,0 8px 32px #274a3010!important;backdrop-filter:blur(22px) saturate(125%)!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(.search,.sort-trigger,.sort-menu,.tab,.skill-category-tabs .tab,.detail-toc,.detail-tags .tag,.tag,.console-navigation button[aria-current=page]){background:#fffffc80!important;color:#345f4f!important;border-color:#58726038!important;box-shadow:inset 0 1px 0 #ffffffd0!important;backdrop-filter:blur(14px)!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(.tab[aria-selected=true],.skill-category-tabs .tab[aria-selected=true],.detail-toc a[aria-current=true]){background:#cfe1d780!important;color:#234c3e!important;border-color:#819e8a99!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(input,textarea,select,dialog input,dialog textarea){background:#fffffca6!important;color:#263b34!important;-webkit-text-fill-color:#263b34!important;caret-color:#345f4f!important;border-color:#738c7845!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(input,textarea)::placeholder{color:#7c897f!important;-webkit-text-fill-color:#7c897f!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(.btn:not(.secondary),.share-primary,.e2-cta){background:linear-gradient(145deg,#ffffffe8,#e5eee1c4)!important;color:#234c3e!important;border-color:#ffffffed!important;box-shadow:inset 0 1px 0 #fff,0 4px 18px #35523914,0 0 0 1px #738b762c!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(.btn.secondary,.community-dock button,.dock-trigger){background:#fffffc85!important;color:#345f4f!important;border-color:#557f6540!important;box-shadow:inset 0 1px 0 #fff!important;backdrop-filter:blur(18px)!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] dialog{background:linear-gradient(140deg,#fffffff0,#f1f6eddd)!important;color:#263b34!important;border-color:#fff!important;backdrop-filter:blur(24px)!important;box-shadow:0 24px 70px #1c382a2e,inset 0 1px 0 #fff!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] dialog :is(p,label,h2,h3,.auth-switcher button){color:#345347!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] dialog .auth-tab-indicator{background:#fff!important;box-shadow:0 2px 10px #1c382a12!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] dialog .auth-switcher{background:#d3e1d65c!important;border-color:#aec3b480!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .star-buttons button{color:#9d822e!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .related-stats,html[data-theme=day][data-theme=day] body[data-page][data-page] .skill-stats,html[data-theme=day][data-theme=day] body[data-page][data-page] .metric{color:#65766d!important}
@media(max-width:760px){body .nav{gap:clamp(8px,2vw,16px)}body .brand-description{display:none!important}body .navlink{font-size:12px}body .brand{min-width:0}body .brand-lockup{max-width:100px}body .nav>.login{padding:0 10px}body .navlink.product{display:none}}
@media(prefers-reduced-motion:reduce){#jade-ambient i{animation:none!important}}

html[data-theme=day][data-theme=day] body[data-page][data-page] .brand-lockup::after{display:none!important}

html[data-theme=night]{--paper:#070f20;--ink:#edf3fa;--muted:#b7c9d8;--line:#d4eaff29;--green:#c6e6ff;background:#070f20}
html[data-theme=night] body{--paper:#070f20;--ink:#edf3fa;--muted:#b7c9d8;--line:#d4eaff29;--green:#c6e6ff;background:transparent!important;color:#edf3fa!important}
html[data-theme=night] body>header{background:#0d1b2d80!important;color:#edf3fa!important;border-color:#d4eaff29!important;backdrop-filter:blur(22px)!important}
html[data-theme=night] body .brand-lockup{position:relative}html[data-theme=night] body .brand-lockup::after{display:block;content:'';position:absolute;inset:0;background:inherit;clip-path:inset(0 0 0 28.5%);filter:brightness(0) invert(1)}
html[data-theme=night] body:is([data-page=admin],[data-page=account],[data-page=agent],[data-page=product],[data-page=admin-setup]) :is(.console-sidebar,.console-workspace,.agent-panel,.panel){background:#19304485!important;color:#edf3fa!important;border-color:#d4eaff35!important;backdrop-filter:blur(20px)!important;box-shadow:inset 0 1px 0 #fff3!important}
html[data-theme=night] body:is([data-page=admin],[data-page=account],[data-page=agent],[data-page=product],[data-page=admin-setup]) :is(h1,h2,h3,p,label,a,button,.console-title,.console-heading p,.console-navigation button,.console-identity,.console-empty,.console-sidebar-footer){color:#dfedf7!important}
html[data-theme=night] body :is([data-page=admin],[data-page=account]){background:transparent!important}
html[data-theme=day][data-theme=day] body[data-page][data-page]::before{display:none!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .slide-art{background:#e3eae0!important;color:#244a3b!important}html[data-theme=day][data-theme=day] body[data-page][data-page] .slide-art.variant-1{background:#d8e7e4!important}html[data-theme=day][data-theme=day] body[data-page][data-page] .slide-art.variant-2{background:#eee8dc!important}
#jade-ambient .ambient-star{position:absolute;width:2px;height:2px;border-radius:50%;background:#edf6ff;animation:brand-twinkle 3s ease-in-out infinite alternate;opacity:.4}#jade-ambient .ambient-meteor{position:absolute;left:95%;top:15%;width:120px;height:1px;transform:rotate(-32deg);background:linear-gradient(90deg,transparent,#d8f0ff);opacity:0;animation:brand-meteor 7s linear infinite}
html[data-theme=day] #jade-ambient :is(.ambient-star,.ambient-meteor){display:none}
html[data-theme=night] body:is([data-page=account],[data-page=admin],[data-page=agent],[data-page=evaluation],[data-page=evaluation-task]) #jade-ambient{display:block}
@keyframes brand-twinkle{from{opacity:.15}to{opacity:.85;box-shadow:0 0 5px #c5ddf877}}@keyframes brand-meteor{0%,4%,100%{opacity:0;translate:0 0}7%{opacity:.8}25%{opacity:0;translate:-75vw 48vh}}
@media(prefers-reduced-motion:reduce){#jade-ambient :is(.ambient-star,.ambient-meteor){animation:none!important}#jade-ambient .ambient-meteor{display:none}}

html[data-theme=day] body[data-page=detail] .detail-surface{--ink:#263b34;--muted:#65766d;--green:#345f4f;--paper:#f9f8f3;--line:#47655326;color-scheme:light!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .detail-surface :is(h1,h2,h3,h4,strong,p,li,a,button,span,.detail-meta){color:#263b34!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(.detail-lead,.detail-overview-wide,.side-card,.detail-section){background:linear-gradient(130deg,#ffffffe0,#fffefb85)!important;border:1px solid #ffffffde!important;box-shadow:inset 0 1px 0 #fff,0 6px 25px #23482e0a,0 0 0 1px #3d65441a!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .detail-stick::before{background:linear-gradient(110deg,#ffffffdd,#eaf0e4bb)!important;border-bottom:1px solid #557c6440!important;backdrop-filter:blur(22px)!important;box-shadow:inset 0 1px 0 #fff!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .detail-stick :is(strong,a,button){color:#263b34!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .detail-loading :is(.detail-lead,.side-card,.loading-skeleton){background:#ffffffa0!important;color:#65766d!important;border-color:#a9b9a42e!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .detail-loading :is(h1,span,p){color:#65766d!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .skillrow :is(a,p,span,button){color:#334f40!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .detail-toc a[aria-current=location]{background:#cfe1d780!important;color:#234c3e!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .detail-toc a[aria-current=location]::before{background:#658770!important;box-shadow:none!important}
/* V67: shared material roles cover captions, disclosures, floating surfaces and forms. */
.theme-control{position:fixed;z-index:105;right:22px;bottom:calc(158px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:10px;flex-direction:row-reverse}
.theme-control button{cursor:pointer;color:#e9f5fa;background:#1e3448b8;border:1px solid #e5f2ff80;box-shadow:inset 0 1px 0 #fff5,0 6px 22px #0002;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);transition:transform .2s,background .2s}
#theme-toggle{width:56px;height:56px;padding:15px;border-radius:50%;display:grid;place-items:center}#theme-toggle svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.theme-control button:hover{transform:translateY(-3px);background:#3c566bd9}.theme-control button:focus-visible{outline:2px solid #7fbda5;outline-offset:4px}
html[data-theme=day] #jade-ambient i{opacity:.72;filter:blur(55px);background:radial-gradient(ellipse at 35% 45%,#81bdaa99,transparent 64%)}html[data-theme=day] #jade-ambient i:nth-child(2){background:radial-gradient(ellipse,#d5c7a880,transparent 65%)}html[data-theme=day] #jade-ambient i:nth-child(3){background:radial-gradient(ellipse,#9cbfc480,transparent 65%)}
html[data-theme=day][data-theme=day] body[data-page][data-page] .detail-surface :is(figcaption,small,summary,.teacher-source-details,.teacher-mechanism>summary){color:#526b61!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(.skill-source-popover,.community-popover){--ink:#263b34;--muted:#526b61;--green:#236b59;color:#263b34!important;background:linear-gradient(140deg,#ffffffed,#eef5ece3)!important;border:1px solid #fff!important;box-shadow:inset 0 1px 0 #fff,0 12px 38px #223e352b,0 0 0 1px #49695730!important;backdrop-filter:blur(24px)!important;-webkit-backdrop-filter:blur(24px)!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(.skill-source-popover,.community-popover) :is(p,a,small,span,strong,h2,h3,button){color:#345d4f!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] dialog#dialog{--ink:#263b34;--muted:#526b61;--green:#236b59;--paper:#f7faf5;--line:#49695730;height:auto!important;min-height:0!important;max-height:calc(100dvh - 40px)!important;color-scheme:light!important;color:#263b34!important;background:linear-gradient(135deg,#ffffffef,#eef5eee6)!important;padding:26px!important;overflow-y:auto!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] dialog#dialog :is(h2,h3,label,p,small,summary,.install-request-label){color:#345347!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] dialog#dialog :is(input,textarea,textarea:focus){background:#ffffffb8!important;color:#263b34!important;-webkit-text-fill-color:#263b34!important;caret-color:#236b59!important;border:1px solid #668b794d!important;box-shadow:inset 0 1px 0 #fff!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] dialog#dialog textarea:focus{outline:2px solid #438c7559!important;outline-offset:2px!important}
body[data-page] dialog#dialog.install-dialog,body[data-page] dialog#dialog.install-dialog #dialogbody{height:auto!important;min-height:0!important}body[data-page] dialog#dialog.install-dialog{max-height:calc(100dvh - 40px)!important}body[data-page] dialog#dialog.install-dialog textarea{height:170px!important;min-height:140px!important;max-height:32dvh!important}body[data-page] dialog#dialog.install-dialog .dialogfoot{margin-top:18px!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(.btn.primary,.share-primary,.e2-cta,.install-dialog .dialogfoot .btn:not(.secondary),.auth-actions .btn:not(.secondary)){background:linear-gradient(135deg,#337f6c,#246b59)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #276c5970!important;box-shadow:inset 0 1px 0 #ffffff38,0 5px 16px #286c5926!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .detail-surface .btn.primary{color:#fff!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .theme-control button{background:#ffffffaa;color:#2d6c59;border-color:#fff;box-shadow:inset 0 1px 0 #fff,0 5px 18px #26473322,0 0 0 1px #557b6433}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(.case-filters button[aria-pressed=true],.case-filters button.active){background:#d5e9df!important;color:#225d4b!important;border-color:#769d8880!important}
@media(max-width:760px){.theme-control{right:12px;bottom:calc(130px + env(safe-area-inset-bottom))}#theme-toggle{width:48px;height:48px;padding:12px}html[data-theme=day][data-theme=day] body[data-page][data-page] dialog#dialog{padding:22px!important;max-height:calc(100dvh - 28px)!important}body[data-page] dialog#dialog.install-dialog textarea{height:165px!important;max-height:35dvh!important}}
@media(prefers-reduced-motion:reduce){.theme-control button{transition:none}}
/* Dialog's inherited inset:0 stretched auto height to the viewport. */
html body[data-page] dialog#dialog:not(.lightbox-dialog){inset:50% auto auto 50%!important;margin:0!important;transform:translate(-50%,-50%)!important;height:fit-content!important;min-height:0!important;max-height:calc(100dvh - 32px)!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] dialog#dialog:not(.lightbox-dialog){height:fit-content!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(.btn.primary,.share-primary,.e2-cta) :is(span,strong){color:inherit!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .official-skill-popover{--ink:#263b34;--muted:#526b61;--green:#236b59;color:#263b34!important;background:linear-gradient(140deg,#ffffffed,#eef5ece3)!important;border:1px solid #fff!important;box-shadow:inset 0 1px 0 #fff,0 12px 38px #223e352b,0 0 0 1px #49695730!important;backdrop-filter:blur(24px)!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .official-skill-popover :is(p,strong,span,a,button.helper){color:#345d4f!important;background:transparent!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] :is(.btn[data-action=install],.official-skill-popover .btn){background:linear-gradient(135deg,#337f6c,#246b59)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#276c5970!important;box-shadow:inset 0 1px 0 #ffffff38,0 5px 16px #286c5926!important}
body:has(dialog[open]) .theme-control{visibility:hidden}
body:is([data-page=evaluation],[data-page=evaluation-task]) .theme-control{bottom:calc(22px + env(safe-area-inset-bottom))}
.match-choice{display:grid;gap:6px;text-align:left}.match-choice small{display:block;font-size:12px;color:var(--muted);font-weight:400}.related-options{margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}
/* Daytime stone previews use the same light glass material as other popovers. */
html[data-theme=day][data-theme=day] body[data-page][data-page] .e2-popover{color:#344e43!important;background:linear-gradient(135deg,#fffffff2,#edf5ede8)!important;border:1px solid #ffffffed!important;box-shadow:inset 0 1px 0 #fff,0 10px 28px #274b3526,0 0 0 1px #52735b40!important;backdrop-filter:blur(20px) saturate(115%)!important;-webkit-backdrop-filter:blur(20px) saturate(115%)!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .e2-popover h2{color:#263f33!important;text-shadow:none!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .e2-popover p{color:#405d4f!important;opacity:1!important}
html[data-theme=day][data-theme=day] body[data-page][data-page] .e2-popover a{color:#216650!important;font-weight:600}
html[data-theme=day][data-theme=day] body[data-page][data-page] .e2-popover a:focus-visible{outline:2px solid #367d65;outline-offset:4px;border-radius:3px}
/* A single diagonal Milky Way, with sparse surrounding stars, replaces stacked scatter. */
html[data-theme=night] .e2-sky{display:none!important}
.night-stars::before,html[data-theme=night] #jade-ambient::before{content:'';position:absolute;left:-20%;top:43%;width:140%;height:17%;transform:rotate(-31deg);background:radial-gradient(ellipse,#c8d4ef16 0%,#889fc010 24%,#716a9409 48%,transparent 70%);filter:blur(14px);pointer-events:none}
html[data-theme=night] .night-stars span{box-shadow:0 0 3px #d7e3ff55}
html[data-theme=night] #jade-ambient .ambient-meteor{background:linear-gradient(90deg,#f2fcff,#aad9ff88 22%,transparent);transform:rotate(-32deg);box-shadow:-2px 0 5px #d4eeff60}
html[data-theme=night] .sky-shooting-star{background:linear-gradient(90deg,#f2fcff,#aad9ff88 22%,transparent)!important}
html[data-theme=day] #jade-ambient i{opacity:.88;filter:blur(42px);animation-duration:22s}html[data-theme=day] #jade-ambient i:nth-child(2){animation-duration:29s}html[data-theme=day] #jade-ambient i:nth-child(3){animation-duration:25s}
html[data-theme=day] #jade-ambient::after{content:'';position:absolute;inset:-15%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800'%3E%3Cg fill='none' stroke='%23578068' stroke-width='1' opacity='.18'%3E%3Cpath d='M-100 590Q220 260 530 510T1300 220'/%3E%3Cpath d='M-100 610Q230 280 540 530T1300 240'/%3E%3Cpath d='M-100 640Q240 300 560 550T1300 270'/%3E%3C/g%3E%3C/svg%3E");background-size:cover;opacity:.32;animation:jade-drift 32s ease-in-out infinite alternate;pointer-events:none}
@media(max-width:760px){.night-stars span:nth-child(n+73){display:block}.night-stars span:nth-child(n+145){display:none}.night-stars::before,html[data-theme=night] #jade-ambient::before{height:12%;filter:blur(10px)}}
@media(prefers-reduced-motion:reduce){html[data-theme=day] #jade-ambient::after{animation:none}}

/* Daytime cover categories retain contrast on pale covers. */
html[data-theme=day][data-theme=day] body[data-page][data-page] .skill-cover .cover-category{background:#f7fcf4dc!important;color:#245c4b!important;border:1px solid #789d8b66!important;box-shadow:inset 0 1px 0 #ffffffb3!important;backdrop-filter:blur(12px)!important}

/* V75: keep control surfaces and their text in the same material role. */
html[data-theme=night][data-theme=night] body[data-page] .btn{background:#20364bb3!important;color:#e4eff7!important;border-color:#c5def047!important;box-shadow:inset 0 1px 0 #ffffff15!important}
html[data-theme=night][data-theme=night] body[data-page] :is(.btn.primary,.console-workspace .btn:not(.secondary),dialog .btn:not(.secondary),.btn[data-action=install],.btn[data-action=copy-install],.auth-actions .btn:not(.secondary),.official-skill-popover .btn,.agent-panel .btn:not(.secondary)){background:linear-gradient(145deg,#e8f7f3,#c4e2de)!important;color:#193e37!important;-webkit-text-fill-color:#193e37!important;border-color:#effffbb3!important}
html[data-theme=night][data-theme=night] body[data-page] .btn :is(span,strong){color:inherit!important}
html[data-theme=night][data-theme=night] body[data-page] :is(.console-navigation button:hover,.console-tabs [role=tab]:hover){background:#314f60b3!important;color:#edf7fb!important}
html[data-theme=night][data-theme=night] body[data-page] :is(.console-navigation button[aria-current=page],.console-tabs [role=tab][aria-selected=true],.console-periods [aria-pressed=true]){background:#c8e6de!important;color:#193e37!important;border-color:#d7f5e7a6!important}
html[data-theme=night][data-theme=night] body[data-page] .console-count{background:#0b263957;color:inherit}
html[data-theme=night][data-theme=night] body[data-page] :is(.console-rules summary,.console-ledger .is-credit){color:#b5e5cc!important}
html[data-theme=night][data-theme=night] body[data-page] :is(.console-balance .account-balance span,.console-mobile-navigation,.console-section-note){color:#b7c9d8!important}
html[data-theme=night][data-theme=night] body[data-page] .review-map{background:#122b3fbd!important;color:#dfedf7!important;border-color:#c5def047!important;box-shadow:inset 0 1px 0 #ffffff15!important}
html[data-theme=night][data-theme=night] body[data-page] .review-map :is(summary,.mechanism-overview){color:#dfedf7!important}
html[data-theme=night] body[data-page] :is(.console-rules,.console-ledger,.console-section-top,.console-tabs,.console-sidebar-footer){border-color:#d4eaff29}
@media(max-width:760px){
 html body[data-page] :is(input:not([type=checkbox]):not([type=radio]),textarea,select){font-size:16px!important}
 html body[data-page] :is(.detail-topbar .btn,.detail-stick .btn,.console-workspace .btn,.console-tabs [role=tab]){min-height:44px;font-size:13px}
 html body[data-page] .detail-topbar .btn{padding-inline:12px}
}
