/* The existing starfield remains the canvas. Only the navigation chrome changes. */
html.ui53-home{--home-ink:#20242b;--home-muted:#626a77;--home-panel:#fffffff0;--home-line:#dfe4eb;--home-hover:#edf2fc;--home-focus:#3064d9}
html.ui53-home[data-theme=dark]{--home-ink:#f1f3f7;--home-muted:#abb3c2;--home-panel:#1e2128ed;--home-line:#343b47;--home-hover:#293a55;--home-focus:#98baff}
html.ui53-home .masthead{inset:22px 28px auto;align-items:center;justify-content:space-between;gap:16px}
.home-brand{pointer-events:auto;display:flex;align-items:center;gap:12px;color:var(--home-ink);text-decoration:none;font:600 18px -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:.02em}.home-brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--home-panel);border:1px solid var(--home-line);box-shadow:0 4px 16px #15233b06;font:27px Georgia,"Songti SC",serif}.home-brand small{display:block;font-size:10px;color:var(--home-muted);font-weight:400;letter-spacing:.06em;margin-top:3px}
html.ui53-home .view-actions{gap:3px!important;padding:5px!important;background:var(--home-panel)!important;border:1px solid var(--home-line)!important;border-radius:17px!important;box-shadow:0 4px 18px #15233b0a!important;backdrop-filter:blur(24px)!important}
html.ui53-home .view-actions :is(button,.account-entry){height:42px!important;min-width:42px!important;width:auto!important;padding:0 13px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;background:transparent!important;color:var(--home-muted)!important;border:0!important;border-radius:11px!important;box-shadow:none!important;transform:none!important;translate:none!important;font:13px -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif!important;white-space:nowrap}
html.ui53-home .view-actions svg{width:18px!important;height:18px!important;stroke-width:1.6!important;flex-shrink:0}
html.ui53-home .view-actions [data-ui-label]::after{content:attr(data-ui-label)}
html.ui53-home .view-actions #huang-apps-entry{color:var(--home-ink)!important;background:var(--home-hover)!important;font-weight:550!important}
html.ui53-home .view-actions button[aria-expanded=true]{background:var(--home-hover)!important;color:var(--home-focus)!important}
html.ui53-home :is(.view-actions,.space-controls,.workspace-switcher){opacity:1!important;filter:none!important}
html.ui53-home :is(.space-controls,.workspace-switcher){background:var(--home-panel)!important;border:1px solid var(--home-line)!important;border-radius:16px!important;box-shadow:0 4px 18px #15233b0a!important;backdrop-filter:blur(24px)!important}
html.ui53-home :is(.space-controls,.workspace-switcher) button{color:var(--home-muted)!important;border:0!important;border-radius:10px!important;box-shadow:none!important;background:transparent!important}
html.ui53-home .space-controls button[aria-pressed=true]{background:var(--home-hover)!important;color:var(--home-focus)!important}
html.ui53-home #directory{border:1px solid var(--home-line)!important;border-radius:22px!important;background:var(--home-panel)!important;color:var(--home-ink)!important;box-shadow:0 28px 100px #0c17233d!important;padding:24px!important}
html.ui53-home #directory::backdrop{background:#16203155!important;backdrop-filter:blur(6px)!important}
html.ui53-home #directoryTitle{font:600 22px -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif!important;letter-spacing:0!important}
html.ui53-home #directory .search-box{background:var(--home-hover)!important;border:1px solid transparent!important;border-radius:12px!important;padding:12px!important;box-shadow:none!important}
html.ui53-home #directory input{font-size:16px!important;color:var(--home-ink)!important;letter-spacing:0!important}html.ui53-home #directoryList{mask-image:none!important}html.ui53-home #directoryList .star-row{border:1px solid var(--home-line)!important;border-radius:12px!important;background:transparent!important;letter-spacing:0!important;color:var(--home-ink)!important;box-shadow:none!important}
html.ui53-home :is(#directoryClose,#clearSelection){color:var(--home-muted)!important;background:var(--home-hover)!important;border:0!important;box-shadow:none!important}
html.ui53-home :is(.view-actions a,.view-actions button,.home-brand):focus-visible{outline:2px solid var(--home-focus)!important;outline-offset:3px!important}
@media(hover:hover){html.ui53-home .view-actions :is(button,.account-entry):hover{background:var(--home-hover)!important;color:var(--home-ink)!important}}
@media(max-width:650px){html.ui53-home .masthead{inset:14px 14px auto;gap:10px}.home-brand{gap:0}.home-brand>span:last-child{display:none}.home-brand-mark{width:36px;height:36px;font-size:25px;border-radius:11px}html.ui53-home .view-actions{border-radius:14px!important;padding:3px!important;gap:1px!important}html.ui53-home .view-actions :is(button,.account-entry){height:38px!important;min-width:38px!important;padding:0 10px!important;font-size:12px!important;gap:6px!important}.home-action-label{display:none}html.ui53-home #huang-apps-entry .home-action-label{display:inline}html.ui53-home #directory{padding:19px!important;border-radius:19px!important}}
@media(prefers-reduced-transparency:reduce){html.ui53-home{--home-panel:#fff}html.ui53-home[data-theme=dark]{--home-panel:#1e2128}}
@media(max-width:650px){html.ui53-home .view-actions [data-ui-label]::after{display:none}}
@media(max-width:650px){html.ui53-home .space-controls{position:fixed!important;top:auto!important;left:50%!important;right:auto!important;bottom:88px!important;transform:translateX(-50%)!important;translate:none!important}}

/* The workspace owns its header. Other starfield windows keep their controls. */
html:root.ui53-home[data-unified-shell] body #planet-app-window#planet-app-window.pa-workspace-shell{inset:0!important;left:0!important;top:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;border:0!important;border-radius:0!important;resize:none!important;padding:0!important;box-shadow:none!important;z-index:80!important;animation:none!important;transform:none!important;translate:none!important;scale:1!important;transition:none!important}
html:root.ui53-home[data-unified-shell] body #planet-app-window#planet-app-window.pa-workspace-shell>.pa-head,html:root.ui53-home[data-unified-shell] body #planet-app-window#planet-app-window.pa-workspace-shell>.pa-grip{display:none!important}
html:root.ui53-home[data-unified-shell] body #planet-app-window#planet-app-window.pa-workspace-shell>.pa-content{height:100%;min-height:0;background:var(--home-panel)}
html.ui53-home.workspace-shell-open :is(.masthead,.workspace-switcher,.space-controls,.pa-restore){visibility:hidden!important;pointer-events:none!important}


