/* 玻璃应用布局：外窗与内容位移由 light-theme.css 统一负责。 */
:root{--app-edge:32px;--app-sidebar:208px;--app-left:max(32px,calc((100vw - 1420px)/2));--accent:#386ec3;--accent-deep:#2e5c9f;--soft:#edf3fa;--accent-line:#bed0ec;--selected:#e4edf9;--text:#243445;--muted:#596b7a;--glass-panel:rgba(255,255,255,.55);--glass-border:rgba(255,255,255,.68)}
.hub-header{position:fixed;z-index:20;left:var(--app-left);top:var(--app-edge);bottom:var(--app-edge);width:var(--app-sidebar);background:var(--glass-panel);border:1px solid var(--glass-border);border-radius:24px 0 0 24px;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
.hub-inner{height:100%;padding:22px 12px;display:flex;flex-direction:column;align-items:stretch;gap:0;overflow-y:auto}
.hub-mobile-header,.hub-drawer,.hub-drawer-close{display:none}
.hub-brand{display:flex;align-items:center;gap:9px;min-height:44px;margin:0 4px 22px;color:var(--text);font-size:14px;font-weight:600;line-height:1.5;white-space:nowrap;flex:none}.hub-brand img{width:32px;height:32px;flex:none}.hub-brand small{display:none}
.hub-primary{display:flex;flex-direction:column;align-items:stretch;flex:1;gap:6px;margin:0;padding:0;border:0;min-height:300px}
.hub-primary>a,.hub-more>summary{display:flex;align-items:center;justify-content:flex-start;gap:11px;min-width:44px;min-height:44px;padding:11px 12px;border-radius:10px;color:var(--muted);font-size:14px;line-height:1.5;white-space:nowrap}
.hub-primary>a svg,.home-entry-symbol svg{display:block;width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.nav-short{display:none}
.hub-primary>a:hover,.hub-more>summary:hover{background:var(--glass-panel);color:var(--accent)}.hub-primary>a[aria-current],.hub-more>summary[data-current="true"]{background:var(--selected);color:var(--accent-deep);font-weight:600}.hub-primary>a[aria-current]::after{display:none}.hub-header :is(a,summary):focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.hub-more{position:relative;margin-top:auto;padding-top:24px}.hub-more>summary{list-style:none;cursor:pointer;gap:8px;justify-content:space-between}.hub-more>summary::-webkit-details-marker{display:none}.hub-more>summary::after{content:'⌄';font-size:13px}.hub-more[open]>summary{background:var(--glass-panel);color:var(--accent)}
.hub-more-panel{position:static;width:100%;padding:4px;background:var(--glass-panel);border:1px solid var(--glass-border);border-radius:12px}.hub-more-panel>a{display:flex;align-items:center;min-height:44px;padding:9px 8px;border-radius:8px;color:var(--text);font-size:12px;line-height:1.5;white-space:normal}.hub-more-panel>a:hover,.hub-more-panel>a[aria-current]{background:var(--selected);color:var(--accent-deep)}.hub-more-note{margin:6px;padding-top:9px;border-top:1px solid var(--glass-border);color:var(--muted);font-size:11px;line-height:1.8}
.hub-inner>.theme-picker{flex:none;width:100%;margin-top:16px;min-height:70px}.hub-actions,.hub-mobile{display:none!important}body[data-site-navigation]{padding-bottom:0}html:has(body[data-site-navigation]){scroll-padding-bottom:0}
body[data-site-navigation] main:focus{outline:none}.common-toc{top:calc(var(--site-header-height,0px) + 24px)}.common-reader-section,.common-message,.manage-status{scroll-margin-top:calc(var(--site-header-height,0px) + 24px)}body[data-site-navigation] :is(.toast,.space-toast){bottom:24px}
.community-course-link{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:-9px 0 23px;font-size:13px}.community-course-link a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px}
/* 首页工作区只有搜索和四个真实入口。 */
.home-simple{max-width:1148px;padding:38px 32px 25px;color:var(--text)}.home-welcome{margin-bottom:26px}.home-welcome h1{font-size:clamp(28px,3vw,36px);font-weight:600;line-height:1.4;letter-spacing:-.035em}.home-lead{margin:9px 0 0;color:var(--muted);font-size:15px;line-height:1.8}
.home-find{max-width:700px;margin-top:25px}.home-find>label{display:block;margin-bottom:8px;font-size:13px;font-weight:500}.home-find-row{display:flex;gap:10px}.home-find input{flex:1;min-width:0;min-height:50px;padding:12px 16px;background:var(--glass-panel);border:1px solid var(--glass-border);border-radius:12px;color:var(--text);font-size:16px;backdrop-filter:blur(12px)}.home-find input::placeholder{color:var(--muted);opacity:1}.home-find button{min-width:80px;min-height:50px;padding:11px 19px;background:var(--accent);border:1px solid var(--accent);border-radius:12px;color:#fff;font-size:15px;font-weight:500}.home-find button:hover{background:var(--accent-deep)}
.home-start{display:grid;grid-template-columns:1fr 1fr;gap:18px}.home-entry{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:192px;padding:22px;background:var(--glass-panel);border:1px solid var(--glass-border);border-radius:18px;color:var(--text);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 4px 18px rgba(36,52,69,.025)}.home-entry-first{background:var(--soft);border-color:var(--accent-line)}.home-entry-symbol{display:flex;align-items:center;justify-content:center;width:39px;height:39px;border-radius:11px;background:var(--selected);color:var(--accent);margin-bottom:13px}.home-entry-symbol svg{width:21px;height:21px}.home-entry-title{font-size:20px;font-weight:600;line-height:1.5}.home-entry-note{margin-top:4px;color:var(--muted);font-size:14px;line-height:1.8}.home-entry-action{display:inline-flex;align-items:center;min-height:32px;margin-top:10px;color:var(--accent-deep);font-size:13px;font-weight:500}.home-entry:hover{border-color:var(--accent-line);background:var(--soft)}
.home-quick{display:flex;align-items:center;flex-wrap:wrap;gap:12px 21px;margin-top:24px;padding-top:18px;border-top:1px solid var(--glass-border)}.home-quick h2{font-size:14px;font-weight:500;color:var(--muted)}.home-quick>div{display:flex;flex-wrap:wrap;gap:8px}.home-quick a{display:inline-flex;align-items:center;min-height:44px;padding:9px 13px;background:var(--glass-panel);border:1px solid var(--glass-border);border-radius:10px;color:var(--accent-deep);font-size:13px}.home-quick a:hover{border-color:var(--accent-line)}
.home-simple :is(a,button,input):focus-visible,.home-footer :is(a,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.home-footer.release-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;max-width:1148px;padding:18px 32px;border-top:1px solid var(--glass-border);gap:5px 20px;color:var(--muted);font-size:12px;line-height:1.8}.home-footer>nav{display:flex;align-items:center;gap:20px}.home-footer a,.footer-more>summary{display:inline-flex;align-items:center;min-height:44px;color:var(--muted);font-size:12px;text-decoration:none}.home-footer a:hover,.footer-more>summary:hover{color:var(--accent)}.footer-more{position:relative}.footer-more>summary{cursor:pointer;list-style:none}.footer-more>summary::-webkit-details-marker{display:none}.footer-more>div{position:absolute;bottom:calc(100% + 8px);right:0;z-index:24;width:280px;max-width:calc(100vw - 32px);padding:12px 16px;border:1px solid var(--glass-border);border-radius:12px;background:var(--glass-panel);backdrop-filter:blur(24px)}.footer-more>div a{display:flex}.footer-more p{padding-top:9px;border-top:1px solid var(--glass-border)}
@media(max-width:900px){
 .home-simple{max-width:none;padding:26px 22px 22px}.home-footer.release-footer{padding:16px 22px}.home-welcome h1{font-size:29px}.home-lead{font-size:14px}.home-start{gap:12px}.home-entry{min-height:181px;padding:18px}.home-entry-title{font-size:18px}.home-entry-note{font-size:13px}.home-entry-symbol{margin-bottom:10px}.home-footer>nav{gap:17px}
}
@media(max-width:700px){
 :root{--app-edge:16px;--app-left:16px}
 .hub-header{position:sticky;left:auto;top:16px;bottom:auto;width:auto;margin:16px 16px 0;border-radius:18px}
 .hub-mobile-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;min-height:64px}
 .hub-mobile-header .hub-brand{margin:0;min-width:0;font-size:14px;gap:8px}.hub-mobile-header .hub-brand img{width:30px;height:30px}
 .hub-menu-toggle,.hub-drawer-close{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid var(--accent-line);border-radius:10px;background:var(--glass-panel);color:var(--accent-deep);font-size:14px}
 .hub-menu-toggle{flex:none}.hub-drawer-close{display:block;position:absolute;top:16px;right:12px;padding:4px;font-size:25px;line-height:1}
 .hub-drawer[open]{display:block;position:fixed;inset:12px auto 12px 12px;margin:0;padding:0;width:min(300px,calc(100vw - 36px));height:calc(100dvh - 24px);max-height:none;max-width:none;border:1px solid var(--glass-border);border-radius:20px;background:var(--bg);color:var(--text);box-shadow:0 12px 45px #24344530}
 .hub-drawer::backdrop{background:#24344555;backdrop-filter:blur(4px)}
 .hub-drawer .hub-inner{position:relative;padding-top:76px;background:var(--glass-panel);backdrop-filter:blur(24px)}
 .hub-drawer .hub-brand{position:absolute;top:19px;left:12px;margin:0;font-size:14px}
 .hub-drawer .hub-brand img{width:28px;height:28px}
 .hub-drawer .hub-primary{min-height:0}.hub-drawer .hub-more{padding-top:18px}
 .common-toc{position:static}html:has(.hub-drawer[open]){overflow:hidden}
 .hub-menu-toggle:focus-visible,.hub-drawer-close:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
}
@media(max-width:500px){.home-simple{padding:24px 16px 18px}.home-welcome{margin-bottom:22px}.home-welcome h1{font-size:27px}.home-find{margin-top:18px}.home-find-row{gap:8px}.home-find input{padding-inline:12px}.home-find button{min-width:66px;padding-inline:12px}.home-entry{min-height:178px;padding:15px 13px}.home-entry-title{font-size:17px}.home-entry-note{font-size:12px}.home-entry-action{font-size:12px}.home-quick{gap:9px 14px}.home-quick a{padding-inline:10px}.home-footer.release-footer{padding:15px 16px}.home-footer>nav{gap:15px}}
@media(max-width:380px){.hub-mobile-header{padding-inline:10px}.hub-mobile-header .hub-brand{font-size:13px}.home-start{grid-template-columns:1fr}.home-entry{min-height:158px}}
