/* Two levels of navigation occupy a single band. The module directory is available at every width. */
.appframe.orbit-shell{display:block;min-height:100dvh;background:radial-gradient(ellipse 66% 27rem at 83% -9rem,color-mix(in srgb,var(--ds-s5) 38%,transparent),transparent 90%),var(--ds-s0)}
.station-head{height:78px;background:color-mix(in srgb,var(--ds-s1) 93%,transparent);border-bottom:1px solid color-mix(in srgb,var(--ds-halo) 13%,transparent);position:sticky;top:0;z-index:15;backdrop-filter:blur(16px)}
.station-wrap,.orbit-shell .workspace-main{width:min(1510px,calc(100% - clamp(48px,8vw,152px)));margin-inline:auto}
.station-head>.station-wrap{width:100%;max-width:none;padding:0 22px}
.station-head>.station-wrap,.station-subbar>.station-wrap{height:100%;display:flex;align-items:center;gap:clamp(14px,2vw,34px)}
.station-brand{flex:none}.station-brand .brand img{width:40px;height:40px}.station-brand .brand strong{color:var(--ds-t1);font-size:20px}.station-brand .brand small{color:var(--ds-t2);font-size:8px}
.station-categories{flex:1;display:flex;align-items:center;justify-content:space-evenly;gap:clamp(4px,.8vw,14px);height:100%}
.station-categories button,.station-subbar button,.station-dock button,.station-account,.directory-launch{font-family:inherit;cursor:pointer;color:var(--ds-t3);background:transparent;border:0}
.station-categories button{height:100%;padding:0 clamp(8px,1vw,18px);font-size:15px;position:relative;letter-spacing:.03em;white-space:nowrap}
.station-categories button[aria-current],.station-subbar button[aria-current]{color:var(--ds-t1);font-weight:650}
.station-categories button[aria-current]::after{content:'';position:absolute;bottom:0;left:12px;right:12px;height:3px;border-radius:5px 5px 0 0;background:var(--ds-halo);box-shadow:0 0 12px #8695ff64}
.station-categories button:hover,.station-subbar button:hover{color:var(--ds-t1)}
.station-identity{margin-left:auto;display:flex;align-items:center;gap:12px;flex:none}.station-identity .directory-launch{display:inline-flex;align-items:center;gap:8px;color:var(--ds-t2);border:1px solid var(--ds-line-2);border-radius:8px;padding:9px 12px;font-size:13px;background:var(--ds-s2)}
.station-account{display:inline-flex;align-items:center;gap:9px;font-size:13px;white-space:nowrap}.station-account i{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;font:600 16px/1 MiSans,sans-serif;color:var(--ds-t1);background:var(--ds-s5);border:1px solid var(--ds-line-3)}
.station-subbar{height:50px;background:color-mix(in srgb,var(--ds-s1) 50%,transparent);border-bottom:1px solid var(--ds-line-2)}.station-subbar>.station-wrap{gap:16px}.station-subbar strong{color:var(--ds-t2);font-size:12px;padding-right:16px;border-right:1px solid var(--ds-line-3);white-space:nowrap}
.station-subbar nav{min-width:0;display:flex;align-items:center;gap:5px;overflow-x:auto;scrollbar-width:none}
.station-subbar button{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:6px;white-space:nowrap;font-size:12px;line-height:1.5;flex:none}  /* 不压缩单按钮，整条横滚，不裁字 */
.station-subbar button[aria-current]{background:var(--ds-s4);color:var(--ds-t1)}
.orbit-shell .workspace-main{padding:32px 0 58px;max-width:1510px;min-width:0}
.orbit-shell .workspace-head{padding:0 0 19px;margin:0 0 13px;border:0;gap:1rem}
.orbit-shell .workspace-head h1{font-size:clamp(30px,3.05vw,48px);letter-spacing:-.05em}
.orbit-shell .workspace-head p{font-size:14px;margin-top:7px;color:var(--ds-t2)}
.station-filters{margin:0 0 18px;border-block:1px solid color-mix(in srgb,var(--ds-line-2) 47%,transparent);color:var(--ds-t2)}.station-filters summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;font-size:12px;padding:9px 1px}.station-filters summary::after{content:'⌄';color:var(--ds-t3)}.station-filters[open] summary::after{transform:rotate(180deg)}
.station-filters .toolbar{border:0;margin:0 0 7px;padding:0}.station-filters .toolbar select{font-size:12px}
.orbit-shell .station-directory[hidden],.orbit-shell .directory-shade[hidden],.station-directory [hidden]{display:none!important}
.orbit-shell .station-directory,.orbit-shell.nav-open .station-directory{display:flex;flex-direction:column;position:fixed;top:0;right:0;bottom:0;left:auto;z-index:52;width:min(443px,94vw);height:100dvh;transform:none;padding:22px 25px;background:var(--ds-s2);border:0;border-left:1px solid var(--ds-line-3);box-shadow:-12px 0 80px #0006;overflow-y:auto}
@keyframes directory-enter{from{transform:translateX(23px)}to{transform:translateX(0)}}
.orbit-shell .directory-shade:not([hidden]){display:block;position:fixed;inset:0;z-index:51;background:color-mix(in srgb,var(--ds-s0) 71%,transparent);backdrop-filter:blur(4px);border:0}
.directory-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.directory-head h2{font-size:22px}.directory-head button,.station-directory .userline button{display:grid;place-items:center;width:33px;height:33px;border-radius:7px;border:1px solid var(--ds-line-3);color:var(--ds-t1);background:var(--ds-s3)}
.station-directory input{height:40px;flex:none;margin-bottom:13px}.orbit-shell .station-directory>nav{flex:1;overflow-y:auto;padding-right:4px}
.orbit-shell .station-directory .navgroup{margin:12px 0 20px;display:grid;grid-template-columns:1fr 1fr;gap:5px}
.orbit-shell .station-directory .navgroup h3{grid-column:1/-1;margin:0 0 3px;font-size:12px;color:var(--ds-t3)}
.station-directory .navgroup button{display:flex;align-items:center;gap:8px;border:1px solid transparent;color:var(--ds-t2);border-radius:6px;background:var(--ds-s3);padding:8px 11px;font-size:13px;text-align:left}
.station-directory .navgroup button:hover,.station-directory .navgroup button[aria-current]{border-color:var(--ds-line-3);background:var(--ds-s5);color:var(--ds-t1)}
.orbit-shell .station-directory .userline{display:flex;align-items:center;justify-content:space-between}.station-directory .userline>div{min-width:0}.station-directory .userline strong{overflow-wrap:anywhere}
.station-dock{display:none}
@media(min-width:1550px){.orbit-shell .workspace-main{padding-top:42px}}
@media(max-width:850px){.station-head{height:58px}.station-categories{display:none}.station-wrap,.orbit-shell .workspace-main{width:calc(100% - 32px)}.station-identity{gap:9px}.station-brand .brand strong{font-size:16px}.station-brand .brand img{width:32px;height:32px}.station-head>.station-wrap{gap:10px}.station-subbar{height:43px}.station-subbar>.station-wrap{gap:8px}.station-subbar strong{font-size:12px;padding-right:8px}.station-subbar button{padding:5px 7px}.station-subbar button svg{display:none}
.orbit-shell .workspace-main{padding:21px 0 calc(75px + env(safe-area-inset-bottom))}.orbit-shell .workspace-head{margin-bottom:7px;padding-bottom:10px;align-items:flex-start}.orbit-shell .workspace-head p{font-size:12px}.orbit-shell .workspace-head h1{font-size:28px}.orbit-shell .workspace-head .controls{flex-wrap:wrap;justify-content:flex-end}.orbit-shell .workspace-head .controls button{font-size:12px;padding:5px 6px}.station-filters{margin-bottom:11px}
.station-dock{display:flex;align-items:center;justify-content:space-around;position:fixed;bottom:0;left:0;right:0;z-index:14;padding:5px 9px max(5px,env(safe-area-inset-bottom));background:color-mix(in srgb,var(--ds-s2) 93%,transparent);backdrop-filter:blur(16px);border-top:1px solid var(--ds-line-2)}
.station-dock button{display:grid;place-items:center;gap:2px;font-size:12px;min-height:42px;min-width:48px;line-height:1.25}.station-dock button[aria-current]{color:var(--ds-t2)}.station-dock button[aria-current] svg{filter:drop-shadow(0 0 4px #9b9aff88)}
}
@media(max-width:430px){.station-identity .directory-launch{padding:7px 8px}.station-directory .navgroup button{font-size:12px}.station-account{font-size:0;gap:0}.station-subbar>.station-wrap{width:calc(100% - 20px)}}

/* 手机顶栏：订阅余量占第二行，完整写出「次数 / 次数包 / 额度」，第一行不再被挤出屏幕；头像保持完整圆形。 */
@media(max-width:850px){
  .station-head{height:auto;min-height:58px}
  .station-head>.station-wrap{height:auto;min-height:58px;flex-wrap:wrap;row-gap:0;padding-top:4px}
  .station-badge-holder{display:flex;flex:0 0 100%;order:5;justify-content:center;min-width:0;padding:2px 0 6px}
  .station-badge-holder:empty{display:none}
  .station-badge-holder .sb-badge{width:100%;height:29px;justify-content:center;padding:0 8px;font-size:12px}
  .station-identity{min-width:0}
  .station-identity>*, .station-account, .station-account i{flex:none}
  .account-menu{min-width:0}
}
