/* Fixed tracks do not depend on route titles, balance digits or late buttons. */
header.glass.sticky > div:has(> #aitoken-header-qq){--qq-title-width:200px;--qq-actions-width:700px;display:grid;grid-template-columns:var(--qq-title-width) minmax(148px,1fr) var(--qq-actions-width);gap:8px}
header.glass.sticky > div:has(> #aitoken-header-qq)>div:first-child{min-width:0;max-width:100%}
header.glass.sticky > div:has(> #aitoken-header-qq)>div:first-child>div{min-width:0}
header.glass.sticky:has(#aitoken-header-qq) h1,header.glass.sticky:has(#aitoken-header-qq) h1+p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#aitoken-header-qq{box-sizing:border-box;justify-self:center;display:inline-flex;align-items:center;justify-content:center;width:148px;height:42px;gap:9px;margin:0;padding:5px 9px;border:1px solid rgba(255,255,255,.68);border-radius:13px;background:rgba(240,247,255,.32);-webkit-backdrop-filter:blur(18px) saturate(155%);backdrop-filter:blur(18px) saturate(155%);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 3px 14px rgba(37,76,116,.08);color:#21688e;text-decoration:none;line-height:1.2;white-space:nowrap;transition:background-color .18s ease,border-color .18s ease}
#aitoken-header-qq:hover{background:rgba(227,241,255,.52);border-color:rgba(139,194,231,.55)}
#aitoken-header-qq:focus-visible{outline:2px solid #129bed;outline-offset:3px}
#aitoken-header-qq .aitoken-qq-mark{display:block;width:30px;height:30px;flex:0 0 30px;object-fit:contain}
#aitoken-header-qq .aitoken-qq-copy{display:flex;flex-direction:column;gap:3px}
#aitoken-header-qq strong{color:inherit;font-size:12px;font-weight:600}
#aitoken-header-qq small{color:#718193;font-size:10px;font-weight:400}
html.dark #aitoken-header-qq{background:rgba(68,100,128,.22);border-color:rgba(195,220,245,.17);color:#b6def7;box-shadow:inset 0 1px 0 rgba(221,239,255,.08),0 3px 14px rgba(0,0,0,.12)}
html.dark #aitoken-header-qq:hover{background:rgba(76,117,150,.32);border-color:rgba(160,209,245,.3)}
html.dark #aitoken-header-qq small{color:#9dafbe}
#aitoken-header-qq+div{width:var(--qq-actions-width);min-width:0;justify-content:flex-end;gap:8px}
#aitoken-header-qq+div>*{flex-shrink:0}
#aitoken-header-qq+div>a,#aitoken-header-qq+div>button{white-space:nowrap}
#aitoken-header-qq+div>div.group{min-width:90px;font-variant-numeric:tabular-nums}
@media(max-width:1535px){header.glass.sticky>div:has(>#aitoken-header-qq){--qq-title-width:180px;--qq-actions-width:550px;grid-template-columns:var(--qq-title-width) minmax(108px,1fr) var(--qq-actions-width)}#aitoken-header-qq{width:108px;height:38px;gap:6px;padding:3px 7px}#aitoken-header-qq small{display:none}#aitoken-header-qq+div{gap:6px}#aitoken-header-qq+div button[aria-label="用户菜单"]>div:nth-child(2),#aitoken-header-qq+div button[aria-label="用户菜单"]>svg{display:none}}
@media(max-width:1279px){header.glass.sticky>div:has(>#aitoken-header-qq){--qq-title-width:140px;--qq-actions-width:402px}#aitoken-header-qq+div>a>span{display:none}}
@media(max-width:1023px){header.glass.sticky>div:has(>#aitoken-header-qq){--qq-title-width:36px}}
@media(max-width:767px){header.glass.sticky>div:has(>#aitoken-header-qq){--qq-actions-width:258px;grid-template-columns:36px minmax(36px,1fr) var(--qq-actions-width);gap:4px}#aitoken-header-qq{width:36px;height:36px;padding:3px}#aitoken-header-qq .aitoken-qq-copy{display:none}#aitoken-header-qq .aitoken-qq-mark{width:28px;height:28px;flex-basis:28px}#aitoken-header-qq+div{gap:3px}#aitoken-header-qq+div>button{padding-left:6px;padding-right:6px;font-size:11px}#aitoken-header-qq+div>a{padding-left:7px;padding-right:7px}#aitoken-header-qq+div button[aria-label="公告"]{width:30px}#aitoken-header-qq+div>div.group{display:none}}
@media(max-width:359px){header.glass.sticky>div:has(>#aitoken-header-qq){--qq-actions-width:228px;grid-template-columns:30px minmax(32px,1fr) var(--qq-actions-width);padding-left:6px;padding-right:6px}#aitoken-header-qq{width:32px;height:34px}#aitoken-header-qq+div{gap:1px}#aitoken-header-qq+div>div.relative>button{padding-left:4px;padding-right:4px}}
@media(prefers-reduced-motion:reduce){#aitoken-header-qq{transition:none}}

