@import url('/assets/fonts/agenthub-ui.css?v=349');
html body .hub-to-top{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:24px;z-index:40;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid var(--hub-line);border-radius:50%;background:var(--hub-surface);color:var(--hub-text);box-shadow:var(--shadow-bar);cursor:var(--cur-hover)}
html body #to-top.hub-to-top{border-radius:50%;background:var(--hub-surface);color:var(--hub-text)}
html body .hub-to-top[hidden]{display:none}
html body .hub-to-top svg{width:20px;height:20px;fill:none}
html body .hub-to-top:hover{color:var(--mobile-tint);border-color:var(--mobile-tint)}
html body .hub-to-top:focus-visible{outline:2px solid var(--mobile-tint);outline-offset:3px}
@media(max-width:760px){html body .hub-to-top{bottom:calc(96px + var(--mobile-safe-bottom))}html body:has(#mobile-toolbar) .hub-to-top,html body.mobile-shell .hub-to-top{bottom:calc(160px + var(--mobile-safe-bottom))}html body.mobile-embedded .hub-to-top{display:none}}
html body:is(.mobile-modal,.mobile-keyboard,.mobile-forum-reply,.mobile-catalog-open) .hub-to-top{display:none}
html body.mobile-forum.mobile-reading #mobile-toolbar:not(:focus-within){transform:none;opacity:1;visibility:visible;pointer-events:auto}
@media print{html body .hub-to-top{display:none}}
@media(max-width:760px){
 html body.mobile-forum #mobile-toolbar{left:auto;right:16px;bottom:calc(96px + var(--mobile-safe-bottom));width:44px;min-height:0;padding:0;gap:12px;flex-direction:column;background:transparent;box-shadow:none;overflow:visible;pointer-events:none}
 html body.mobile-forum.mobile-embedded #mobile-toolbar{bottom:12px}
 html body.mobile-forum #mobile-toolbar>button{flex:none;pointer-events:auto}
 html body.mobile-forum #mobile-toolbar>.mobile-forum-refresh{width:44px;height:44px;min-height:44px;padding:10px;border:1px solid var(--hub-line);border-radius:50%;background:var(--hub-surface);color:var(--hub-text);box-shadow:var(--shadow-bar)}
 html body.mobile-forum #mobile-toolbar>.mobile-forum-refresh svg{width:20px;height:20px}
 html body.mobile-forum #mobile-toolbar>.mobile-forum-compose{width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;background:var(--mobile-tint);color:var(--mobile-canvas);font-size:32px;line-height:1;box-shadow:var(--shadow-bar)}
 html body.mobile-forum #mobile-toolbar>.mobile-forum-search{position:fixed;right:16px;top:calc(68px + env(safe-area-inset-top));width:44px;height:44px;padding:10px;border:0;background:var(--hub-surface);color:var(--hub-text);border-radius:8px}
 html body.mobile-forum.mobile-embedded #mobile-toolbar>.mobile-forum-search{top:8px}
 html body.mobile-forum #mobile-toolbar>.mobile-forum-search span,html body.mobile-forum #mobile-toolbar>#ah-community-open,html body.mobile-forum #mobile-toolbar>#mobile-open{display:none}
 html body.mobile-forum .IndexPage-toolbar-action{visibility:hidden;pointer-events:none}
 html body.mobile-forum #mobile-toolbar>[hidden]{display:none!important}
 html body.mobile-forum .hub-to-top,html body.mobile-shell:has(#fr[src*="forum"]) .hub-to-top{bottom:calc(208px + var(--mobile-safe-bottom))}
}
/* Shared controls read their current state and preserve the page's data and palettes. */
html body .hub-shell{--shell-canvas:#171819;--shell-fg:#e5e5e2;--shell-muted:#afb1ad;--shell-line:#434643;--shell-selected:#3b2b23;--shell-accent:#ffb179;display:flex!important;align-items:center;flex-wrap:nowrap!important;gap:20px;height:72px!important;min-height:72px!important;width:100%;padding:0 24px!important;position:sticky!important;top:0;z-index:60;background:var(--shell-canvas)!important;color:var(--shell-fg);border-bottom:1px solid var(--shell-line)!important;overflow:visible!important;box-sizing:border-box;font-family:var(--ff-body,system-ui,sans-serif)}
html body .hub-shell,html[data-theme=light] body .hub-shell{--shell-canvas:var(--mobile-canvas);--shell-fg:var(--mobile-text);--shell-muted:var(--mobile-muted);--shell-line:var(--mobile-line);--shell-selected:var(--mobile-selected);--shell-accent:var(--mobile-tint)}
html body .hub-shell .hub-brand{display:flex!important;flex:none;align-items:center;gap:14px;margin:0!important;padding:0!important;white-space:nowrap;color:var(--shell-fg);text-transform:none;font:600 16px/1.2 var(--ff-body,system-ui,sans-serif);text-decoration:none;letter-spacing:0}
html body .hub-shell .blogo{height:30px;width:auto;max-width:112px;object-fit:contain;filter:drop-shadow(0 1px 2px #0009)}
html[data-theme=light] body .hub-shell .blogo{filter:drop-shadow(0 0 1px #111) drop-shadow(0 0 2px #000d) drop-shadow(0 1px 2px #0007)}
html body .hub-shell .hub-brand>span{display:flex;align-items:center;gap:20px}
html body .hub-shell .hub-brand small{display:block!important;font:400 11px/1.2 var(--ff-body,system-ui,sans-serif);color:var(--shell-muted);margin:0;letter-spacing:0}
html body .hub-shell .hub-primary{display:flex!important;align-self:center;align-items:center;gap:6px;flex:0 1 auto;min-width:0;overflow:visible;margin-left:auto}
html body .hub-shell .hub-primary .tab{display:flex;justify-content:center;align-items:center;min-width:80px;width:auto;flex:0 0 auto;height:44px;min-height:44px;padding:8px 22px!important;border:0;border-radius:8px;white-space:nowrap;color:var(--shell-fg);background:transparent;font:600 15px/1.25 var(--ff-body,system-ui,sans-serif);text-decoration:none;text-transform:none;box-shadow:none}
html body .hub-shell .tab:is(.on,[aria-current=page]){color:var(--shell-accent)!important;background:var(--shell-selected)!important;box-shadow:none!important}
html body .hub-shell .hub-tools{display:flex!important;align-items:center;gap:8px;position:relative;flex:none;margin-left:auto}
html body .hub-shell .hub-tool,html body .hub-shell .hub-menu-button{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:8px;border:0;border-radius:8px;background:transparent;color:var(--shell-fg);cursor:var(--cur-hover);flex:none}
@media(hover:hover) and (pointer:fine){html body .hub-shell :is(.hub-tool,.tab):hover{background:var(--shell-selected);color:var(--shell-accent)}}
html body .hub-shell :is(.hub-tool,.tab):active{background:var(--shell-selected);color:var(--shell-accent)}
html body .hub-shell :is(.hub-tool,.hub-account-action,.hub-preview-options button){transition:transform 120ms cubic-bezier(.2,0,0,1),background-color 180ms ease,color 180ms ease}
html body .hub-shell :is(.hub-tool,.hub-account-action,.hub-preview-options button):active{transform:scale(.96)}
html body .hub-shell :is(button,[role=button]){touch-action:manipulation;-webkit-tap-highlight-color:transparent}
html body .hub-shell :is(a,button,[role=button]):focus-visible{outline:2px solid var(--shell-accent);outline-offset:2px}
html body .hub-shell .hub-tool svg{height:22px;width:22px;flex:none}
html body .hub-shell #ubistatus{display:flex!important;font-size:13px;position:relative}
html body .hub-shell #ubibadge{position:relative}
html body .hub-shell .dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--shell-muted);flex:none}
html body .hub-shell .dot.online{background:#2aa76b}html body .hub-shell .dot.maintenance{background:#5b7bff}html body .hub-shell .dot.degradation{background:#e8890c}html body .hub-shell .dot:is(.interrupted,.offline){background:#e5484d}
html body .hub-shell #ubibadge .dot{position:absolute;right:5px;bottom:8px;border:1px solid var(--shell-canvas)}
html body .hub-shell #ubibadge .pulse{animation:none}
html body .hub-shell .ubi-pop{position:absolute;top:52px;width:320px;max-width:calc(100vw - 24px);min-width:0;border-radius:12px;background:var(--shell-canvas);color:var(--shell-fg);border:1px solid var(--shell-line);padding:16px;right:0;z-index:100;line-height:1.5;box-shadow:0 12px 36px #0003}
html body .hub-shell .ubi-row{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-top:1px solid var(--shell-line)}html body .hub-shell .ubi-pop h4{margin:0 0 8px}html body .hub-shell .ubi-upd{font-size:12px;color:var(--shell-muted);margin-top:8px}html body .hub-shell .s-online{color:#2aa76b}html body .hub-shell .s-maintenance{color:#5b7bff}html body .hub-shell .s-degradation{color:#e8890c}html body .hub-shell .s-interrupted,html body .hub-shell .s-offline{color:#e5484d}
html body .hub-shell .ubi-pop{display:none}html body .hub-shell .ubi-pop.on{display:block}
html body .hub-shell .ubi-pop>strong{display:block;margin-bottom:8px}
html body .hub-shell .ubi-pop h4{font-size:13px;color:var(--shell-muted)}
html body .hub-shell #checkin-chip-lv{display:none}
html body .hub-shell .auth-avatar{width:30px;height:30px;border-radius:9px}
html body .hub-shell .sp,html body .hub-shell #hbadge{display:none}
html body .hub-shell #auth-out[hidden]{display:none}
html body .hub-shell .auth-popover{background:var(--shell-canvas);color:var(--shell-fg);border-color:var(--shell-line);width:290px}
html body .hub-shell :is(.hub-tool-preview,.auth-popover,.ubi-pop){background:var(--mobile-surface);color:var(--shell-fg);border:1px solid var(--shell-line);border-radius:12px;box-shadow:0 12px 36px #0003;box-sizing:border-box;text-transform:none;letter-spacing:0}
html body .hub-shell .hub-tool-preview{position:absolute;top:calc(100% + 8px);z-index:100;width:260px;max-width:calc(100vw - 24px);padding:16px;font:400 13px/1.5 var(--ff-body,system-ui,sans-serif)}
html body .hub-shell .hub-tool-preview strong,.hub-account-guest strong{display:block;font-size:14px;font-weight:600}
html body .hub-shell .hub-tool-preview p,.hub-account-guest p{margin:6px 0 0;font:400 13px/1.5 var(--ff-body,system-ui,sans-serif);color:var(--shell-muted)}
html body .hub-shell .hub-tool-preview small{display:block;margin-top:8px;font-size:12px;color:var(--shell-muted);font-variant-numeric:tabular-nums}
html body .hub-shell :is(.hub-tool-preview,.hub-tool-preview small,.hub-account-guest,.auth-popover-head)[hidden]{display:none}
html body .hub-shell .auth-popover::before{background:var(--mobile-surface);border-color:var(--shell-line)}
html body .hub-shell .auth-popover::after,html body .hub-shell .ubi-pop::before,html body .hub-shell .hub-tool-preview::before{content:'';position:absolute;inset:-10px 0 auto;height:10px}
.hub-account-display{display:none}
.auth-popover-actions:has(>button[hidden]):not(:has(>button:not([hidden]))){display:none}
.hub-page-title{display:none}
html body .hub-shell .hub-brand{order:0}html body .hub-shell .hub-primary{order:1}html body .hub-shell #shell-menu,html body .hub-shell .hub-menu-button{order:2}html body .hub-shell .hub-tools{order:3}
.hub-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.hub-news-unread{margin-left:auto;font-size:12px;color:var(--accent)}
html body .hub-shell{--hub-ui:'Noto Sans SC',system-ui,sans-serif;font-family:'Noto Sans SC',var(--ff-body,system-ui,sans-serif)!important;z-index:1100!important}
html body .hub-shell :is(button,a,strong,p,small){font-family:inherit!important}
html body .hub-shell :is(.hub-tool,.hub-menu-button){box-sizing:border-box}
html body .hub-shell :is(#lang,#theme){width:44px;min-width:44px;height:44px;min-height:44px}
html body .hub-shell .hub-primary .tab{font-weight:500}
html body .hub-shell .hub-tool svg{width:18px;height:18px;flex:none}
html body .hub-shell .auth-avatar{width:28px;height:28px}
html body .hub-shell .hub-tool-preview{width:280px;padding:12px 16px 16px;border-radius:8px}
html body .hub-shell .hub-preview-head,.hub-account-title{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-bottom:8px}
html body .hub-shell .hub-preview-title,.hub-account-title>strong{font-size:17px;font-weight:600;line-height:1.5}
html body .hub-shell :is([data-hub-preview-close],[data-hub-account-close]){display:grid;place-items:center;width:44px;min-width:44px;height:44px;padding:0;background:transparent;color:inherit;border:0;border-radius:6px;cursor:var(--cur-hover)}
html body .hub-shell :is([data-hub-preview-close],[data-hub-account-close]) svg{width:18px;height:18px;flex:none}
html body .hub-shell .hub-preview-options{display:grid;gap:4px}
html body .hub-shell .hub-preview-options button{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:8px;border:0;border-radius:6px;background:transparent;color:inherit;text-align:left;cursor:var(--cur-hover);font:500 13px/1.5 'Noto Sans SC',sans-serif}
html body .hub-shell .hub-preview-options button>span{flex:1;min-width:0}
html body .hub-shell .hub-preview-options svg{width:18px;height:18px;flex:none}
html body .hub-shell .hub-preview-options small{margin:0;font-size:12px;color:var(--shell-muted)}
html body .hub-shell .hub-preview-options button[aria-pressed=true]{background:var(--shell-selected);color:var(--shell-accent)}
html body .hub-shell .hub-preview-note{font-size:12px;line-height:1.5;margin:12px 0 0}
html body .hub-shell .hub-account-title{margin-bottom:12px}
html body .hub-shell .auth-popover{width:320px;border-radius:8px;max-width:calc(100vw - 24px)}
html body .hub-shell .auth-popover-head strong{font:600 15px/1.5 'Noto Sans SC',sans-serif}
html body .hub-shell .auth-popover-actions :is(button,a){justify-content:flex-start;font:500 13px/1.5 'Noto Sans SC',sans-serif;border:0;background:transparent;padding:8px;min-height:44px;text-align:left}
html body .hub-shell .hub-account-display{display:grid;margin-top:8px}
html body .hub-shell .hub-account-display [data-hub-checkin]{display:none}
html body .hub-shell .hub-account-display button{min-height:44px;padding:8px;border:0;background:transparent;color:inherit;text-align:left;font:500 13px/1.5 'Noto Sans SC',sans-serif;cursor:var(--cur-hover)}
html body .hub-shell .hub-account-display [hidden]{display:none}
html body .hub-shell :is(.hub-account-display,.auth-popover-actions) .hub-account-action{display:flex;align-items:center;gap:12px;min-height:44px;font-weight:500;box-sizing:border-box}
html body .hub-shell .hub-account-action svg{width:18px;height:18px;flex:none}
html body .hub-shell .hub-account-action span{min-width:0;overflow-wrap:anywhere}
html body .hub-shell #auth-popover-logout{color:var(--shell-muted)}
html body .hub-shell .hub-account-action[hidden]{display:none}
@media(hover:hover) and (pointer:fine){html body .hub-shell :is(.hub-preview-options button,.auth-popover-actions button,.hub-account-display button,[data-hub-preview-close],[data-hub-account-close]):hover{background:var(--shell-selected);color:var(--shell-accent)}}
html body :is(#mobile-catalog,.hub-account-display){caret-color:var(--shell-accent,var(--accent));scrollbar-width:thin;scrollbar-color:var(--line) transparent}
html body #mobile-catalog{--hub-ui:'Noto Sans SC',system-ui,sans-serif;font-family:'Noto Sans SC',var(--ff-body,system-ui,sans-serif)}
html body #mobile-catalog .mobile-catalog-head h2{font-family:inherit;font-size:17px;font-weight:600;line-height:1.5;color:inherit;letter-spacing:normal;text-transform:none}
html body #mobile-catalog .mobile-catalog-head>div{gap:8px}
html body #mobile-catalog .mobile-catalog-head h2{flex:1;min-width:0}
html body #mobile-catalog .hub-support-link{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;min-height:44px;padding:8px 12px;border-radius:8px;color:var(--mobile-tint);background:var(--mobile-selected);font-family:inherit;font-size:13px;font-weight:600;line-height:1.5;text-decoration:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:transform 120ms ease-out,background-color 160ms ease-out}
html body #mobile-catalog .hub-support-link svg{width:18px;height:18px;flex:none}
html body #mobile-catalog .hub-support-link:active{transform:scale(.97)}
html body #mobile-catalog .hub-support-link:focus-visible{outline:2px solid var(--mobile-tint);outline-offset:2px}
@media(hover:hover){html body #mobile-catalog .hub-support-link:hover{background:var(--mobile-line)}}
@media(prefers-reduced-motion:reduce){html body #mobile-catalog .hub-support-link{transition:none}html body #mobile-catalog .hub-support-link:active{transform:none}}
html body #mobile-catalog{--nav-gear-bg:#303024;--nav-gear-fg:#c6c090;--nav-season-bg:#20342c;--nav-season-fg:#92c8ae;--nav-news-bg:#233041;--nav-news-fg:#9abde8;--nav-tools-bg:#30283c;--nav-tools-fg:#c2a6df}
html[data-theme=light] body #mobile-catalog{--nav-gear-bg:#ecebd8;--nav-gear-fg:#666129;--nav-season-bg:#e0eee7;--nav-season-fg:#276757;--nav-news-bg:#e1ebf5;--nav-news-fg:#315f8f;--nav-tools-bg:#eee6f4;--nav-tools-fg:#6d548c}
html body #mobile-catalog [data-nav-group=gear]{--nav-category-bg:var(--nav-gear-bg);--nav-category-fg:var(--nav-gear-fg)}
html body #mobile-catalog [data-nav-group=season]{--nav-category-bg:var(--nav-season-bg);--nav-category-fg:var(--nav-season-fg)}
html body #mobile-catalog [data-nav-group=news]{--nav-category-bg:var(--nav-news-bg);--nav-category-fg:var(--nav-news-fg)}
html body #mobile-catalog [data-nav-group=tools]{--nav-category-bg:var(--nav-tools-bg);--nav-category-fg:var(--nav-tools-fg)}
html body #mobile-catalog .mobile-nav-group h3{display:flex;align-items:center;gap:8px;grid-column:1/-1;margin:0 0 4px;padding:8px 12px;border-radius:4px;background:var(--nav-category-bg);font-family:inherit;font-size:13px;font-weight:600;line-height:1.5;color:var(--nav-category-fg);letter-spacing:normal;text-transform:none}
html body #mobile-catalog .mobile-nav-group h3 svg{width:18px;height:18px;flex:none}
html body #mobile-catalog .mobile-catalog-body{display:flex;flex-direction:column;gap:16px}
html body #mobile-catalog .mobile-nav-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0}
html body #mobile-catalog .mobile-nav-primary a{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px;border:1px solid var(--mobile-line);border-radius:6px;background:var(--mobile-surface);color:var(--mobile-text);font-size:14px;font-weight:600;line-height:1.5}
html body #mobile-catalog .mobile-nav-primary svg{width:18px;height:18px;flex:none;color:inherit}
html body #mobile-catalog .mobile-nav-primary a[aria-current=page]{color:var(--mobile-tint);background:var(--mobile-selected)}
html body #mobile-catalog .mobile-nav-directory{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;flex:none}
html body #mobile-catalog .mobile-nav-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:6px;margin:0}
html body #mobile-catalog .mobile-nav-group :is(a,button){display:flex;align-items:center;min-height:44px;min-width:0;padding:8px 12px;border:1px solid var(--mobile-line);border-radius:6px;background:var(--mobile-surface);color:var(--mobile-text);font-family:inherit;font-size:13px;font-weight:500;line-height:1.5;text-decoration:none;overflow-wrap:anywhere;touch-action:manipulation}
html body #mobile-catalog .mobile-catalog-body a[aria-current=page]{color:var(--mobile-tint);background:var(--mobile-selected);box-shadow:inset 0 0 0 1px var(--mobile-tint)}
html body #mobile-catalog .mobile-catalog-body a[aria-current=page]::after{content:'';flex:none;width:6px;height:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:auto;margin-right:3px}
html body #mobile-catalog .mobile-catalog-body :is(a,button):focus-visible{outline:2px solid var(--mobile-tint);outline-offset:-2px}
@media(hover:hover){html body #mobile-catalog .mobile-catalog-body :is(a,button):hover{color:var(--mobile-tint);background:var(--mobile-selected)}}
html body #mobile-catalog .mobile-catalog-body :is(a,button):active{color:var(--mobile-tint);background:var(--mobile-selected)}
html body #mobile-catalog .mobile-catalog-body [hidden]{display:none!important}
/* Navigation keeps one installation guide; the original prompt remains owned by pwa.js. */
body:not([data-install-guide])>#pwa-install{display:none!important}
@media(min-width:761px){html body #mobile-catalog[open]{width:640px}html body #mobile-catalog .mobile-nav-primary{grid-template-columns:repeat(4,minmax(0,1fr))}html body #mobile-catalog .mobile-nav-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}html body #mobile-catalog .mobile-nav-group{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){html body #mobile-catalog[open]{width:min(420px,calc(100vw - 24px))}}
html body .hub-shell .hub-account-is-guest .hub-account-title{margin-bottom:12px}
html body .hub-shell .hub-account-is-guest .hub-account-guest{padding:12px;border-radius:8px;background:var(--shell-selected)}
html body .hub-shell .hub-account-is-guest .hub-account-guest strong{color:var(--shell-accent);font-size:14px;line-height:1.5}
html body .hub-shell .hub-account-is-guest .hub-account-guest p{margin:6px 0 0;color:var(--shell-fg);font-size:13px;line-height:1.5}
html body .hub-shell .hub-account-is-guest .hub-account-display{display:grid;gap:0;margin:12px 0 0;padding:0;border:0}
html body .hub-shell .hub-account-is-guest [data-hub-login]{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border-radius:8px;background:var(--shell-accent);color:var(--shell-canvas);text-align:center;font-size:14px;font-weight:600;line-height:1.5;transition:transform 120ms ease-out,filter 160ms ease-out}
html body .hub-shell .hub-account-is-guest [data-hub-login]:active{transform:scale(.98)}
@media(hover:hover){html body .hub-shell .hub-account-is-guest [data-hub-login]:hover{filter:brightness(.94)}}
@media(prefers-reduced-motion:reduce){html body .hub-shell .hub-account-is-guest [data-hub-login]{transition:none}html body .hub-shell .hub-account-is-guest [data-hub-login]:active{transform:none}}
html body #mobile-catalog .mobile-nav-search input{font-size:16px!important;box-sizing:border-box;border:0;outline-offset:0}
@media(min-width:761px){html body #mobile-catalog[open]{width:640px;max-width:calc(100vw - 32px);border-radius:8px;max-height:calc(100dvh - 100px)}.mobile-catalog-head h2{font-size:17px}.mobile-catalog-body :is(a,button,summary){font-size:13px}.mobile-catalog-body svg{width:18px;height:18px;flex:none}.mobile-catalog-body summary{min-height:44px}}
html body[data-hub-page=home] #fr{top:72px;height:calc(100% - 72px)}
html body .shell-transition{top:72px}
.hub-nav-icon{width:22px;height:22px;object-fit:contain;filter:brightness(0) invert(1)}
[data-theme=light] .hub-nav-icon,.ah-light .hub-nav-icon{filter:brightness(0)}
@media(min-width:761px){
 html body #mobile-catalog[open]{display:flex;flex-direction:column;position:fixed;inset:80px 24px auto auto;width:640px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 100px);margin:0;padding:12px 16px 20px;border:1px solid var(--line,#434643);border-radius:8px;background:var(--panel,#171819);color:var(--fg,#e5e5e2);overflow:hidden}
 #mobile-catalog::backdrop{background:#0004}
 .mobile-catalog-head>div{display:flex;align-items:center;justify-content:space-between}.mobile-catalog-head h2{font-size:18px;margin:0}
 .mobile-close{width:44px;height:44px;display:grid;place-items:center;border:0;background:transparent;color:inherit}.mobile-close svg{width:22px;height:22px}
 .mobile-nav-search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;padding:0 12px;margin:12px 0}.mobile-nav-search svg{width:20px}.mobile-nav-search input{width:100%;min-width:0;min-height:44px;background:transparent;color:inherit;border:0;font:inherit}
 .mobile-catalog-body{overflow:auto;overscroll-behavior:contain;min-height:0}.mobile-catalog-body section{display:grid}.mobile-catalog-body :is(a,button,summary){display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;color:inherit;background:transparent;border:0;text-decoration:none;font:inherit}.mobile-catalog-body summary{cursor:var(--cur-hover)}.mobile-catalog-body details section{padding-left:16px}.mobile-catalog-body a[aria-current=page]{color:var(--accent);background:var(--card)}.mobile-catalog-body svg{width:20px;height:20px}.mobile-catalog-body [hidden]{display:none}
}
@media(min-width:761px) and (max-width:1100px){html body .hub-shell{gap:8px;padding-inline:16px!important}html body .hub-shell .hub-brand>span{gap:8px}html body .hub-shell .hub-primary .tab{min-width:64px;padding-inline:12px!important}html body .hub-shell .hub-tools{gap:2px}html body .hub-shell .hub-brand small{font-size:10px}}
@media(min-width:761px) and (max-width:900px){html body .hub-shell .hub-brand small{display:none!important}html body .hub-shell .blogo{max-width:80px}html body .hub-shell .hub-brand{gap:8px}html body .hub-shell .hub-primary{gap:2px}html body .hub-shell .hub-primary .tab{min-width:56px;padding-inline:8px!important}}
@media(max-width:760px), (max-height:500px) and (pointer:coarse){
 html body .hub-shell{height:calc(60px + env(safe-area-inset-top))!important;min-height:60px!important;padding:env(safe-area-inset-top) max(8px,env(safe-area-inset-right)) 0 max(8px,env(safe-area-inset-left))!important;gap:4px;background:var(--mobile-canvas)!important;border-bottom:0!important}
 html body .hub-shell .hub-brand,html body .hub-shell .hub-primary,html body .hub-shell .hub-tools>:not(#auth):not(#auth-popover):not(#ubistatus):not(#lang):not(#theme):not(.flow-notification-entry){display:none!important}
 html body .hub-shell .hub-tools>:is(#ubistatus,#lang,#theme){display:flex!important}
 html body .hub-shell .hub-page-title{display:block;order:2;font-size:18px;line-height:1.25;min-width:0;overflow-wrap:anywhere}
 html body .hub-shell #shell-menu,html body .hub-shell .hub-menu-button{order:1;display:flex!important;background:transparent!important;border:0!important;width:44px;padding:10px!important;min-width:44px}
 html body .hub-shell .hub-tools{order:3;margin-left:auto;gap:0}
 body.mobile-standalone[data-hub-page]:is([data-hub-page=bug],[data-hub-page=steam],[data-hub-page=today])>header h1{display:none}
 html body .hub-shell #auth{display:flex!important;background:transparent;color:var(--mobile-text)}
 html body.mobile-shell[data-hub-page] #fr{top:calc(60px + env(safe-area-inset-top))!important;height:calc(100% - 60px - env(safe-area-inset-top) - var(--mobile-tab-space) - var(--mobile-safe-bottom))!important}
 html body.mobile-shell .shell-transition{top:calc(60px + env(safe-area-inset-top))}
 html body.mobile-shell[data-hub-page]:is(.mobile-keyboard,.mobile-modal) #fr{height:calc(100% - 60px - env(safe-area-inset-top) - var(--mobile-keyboard-inset))!important}
 html body .hub-shell .auth-popover{top:calc(66px + env(safe-area-inset-top));right:12px;max-height:calc(100dvh - 86px - env(safe-area-inset-top));overflow:auto;background:var(--mobile-surface);color:var(--mobile-text)}
 .hub-account-display{display:grid;border-top:1px solid var(--mobile-line);margin-top:12px;padding-top:8px}.hub-account-display button{min-height:44px;background:transparent;color:inherit;border:0;font:inherit;text-align:left;padding:8px}.hub-account-display [hidden]{display:none}
 html body .hub-shell .hub-account-display [data-hub-checkin]:not([hidden]){display:block}
 html body .hub-shell .ubi-pop{position:fixed;top:calc(66px + env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));max-height:calc(100dvh - 86px - env(safe-area-inset-top));overflow:auto;border-radius:8px}
 #mobile-tabs{border-radius:12px;box-shadow:none;padding:0;gap:0;bottom:calc(12px + var(--mobile-safe-bottom))}#mobile-tabs a{min-height:64px;border-radius:10px;font-size:12px;gap:6px}#mobile-tabs .hub-nav-icon{width:24px;height:24px}
 body.mobile-forum-reply #mobile-tabs,body.mobile-forum-reply #mobile-toolbar{display:none!important}
 html body.mobile-shell.mobile-forum-reply[data-hub-page] #fr{bottom:0!important;height:calc(100% - 60px - env(safe-area-inset-top))!important}
}
@media(max-width:359px){html body .hub-shell .hub-page-title{font-size:16px}}
html body .hub-shell .hub-status-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
html body .hub-shell .hub-status-head strong{font-size:17px}
html body .hub-shell .hub-status-summary{margin:0 0 12px;font-size:14px;font-weight:600}
html body .hub-shell .ubi-upd{overflow-wrap:anywhere}
html body .hub-shell .hub-status-close{display:grid;place-items:center;width:44px;min-width:44px;height:44px;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;cursor:var(--cur-hover)}
html body .hub-shell .hub-status-close svg{width:18px;height:18px}
html body .hub-shell .hub-status-refresh svg{width:18px;height:18px;flex:none}
@supports(transition-behavior:allow-discrete){
 html body .hub-shell :is(.hub-tool-preview,.auth-popover,.ubi-pop){opacity:0;transform:translateY(6px) scale(.985);transform-origin:top right;pointer-events:none;transition:opacity 160ms ease,transform 200ms cubic-bezier(.16,1,.3,1),background-color 220ms ease,color 220ms ease,border-color 220ms ease,display 200ms allow-discrete}
 html body .hub-shell .hub-tool-preview:not([hidden]),html body .hub-shell :is(.auth-popover,.ubi-pop).on{opacity:1;transform:none;pointer-events:auto}
 @starting-style{html body .hub-shell .hub-tool-preview:not([hidden]),html body .hub-shell :is(.auth-popover,.ubi-pop).on{opacity:0;transform:translateY(6px) scale(.985)}}
}
html body #mobile-catalog{outline:none;opacity:1;transition:opacity 180ms ease-out,transform 180ms cubic-bezier(.2,0,0,1)}
html body #mobile-catalog::backdrop{opacity:1;transition:opacity 180ms ease-out}
html body #mobile-catalog.hub-catalog-closing{opacity:0;transform:translateY(-6px);pointer-events:none}
html body #mobile-catalog.hub-catalog-closing::backdrop{opacity:0}
@starting-style{html body #mobile-catalog[open]{opacity:0}html body #mobile-catalog[open]::backdrop{opacity:0}}
html body .hub-shell .mobile-dragging,html body #mobile-catalog.mobile-dragging{transition:none!important;will-change:transform}
@media(prefers-reduced-motion:reduce){html body .hub-shell :is(.hub-tool,.hub-account-action,.hub-preview-options button,.hub-tool-preview,.auth-popover,.ubi-pop),html body #mobile-catalog{transition:none!important}html body .hub-shell :is(.hub-tool,.hub-account-action,.hub-preview-options button):active{transform:none}}
html body .hub-shell .hub-status-refresh{display:flex;align-items:center;gap:8px;min-height:44px;margin-top:8px;padding:8px 0;border:0;background:transparent;color:inherit;font-family:inherit;font-size:13px;font-weight:500;line-height:1.5;cursor:var(--cur-hover)}
@media(max-width:760px){
 html body.mobile-forum.mobile-reading:not(.mobile-modal):not(.mobile-keyboard):not(.flow-notification-ready) #header,
 html body.mobile-forum-reading:not(.mobile-modal):not(.mobile-keyboard):not(.flow-notification-ready) .hub-shell{transform:translateY(-110%)!important;pointer-events:none}
 html body.mobile-forum.mobile-reading:not(.mobile-modal):not(.mobile-keyboard):not(.flow-notification-ready) .ah-forum-header,
 html body.mobile-shell.mobile-forum-reading:not(.mobile-modal):not(.mobile-keyboard):not(.flow-notification-ready) .bar.hub-shell{transform:translateY(-110%)!important;pointer-events:none}
 html body.mobile-forum.mobile-reading #mobile-tabs,html body.mobile-forum-reading #mobile-tabs{transform:translateY(calc(100% + 32px));visibility:hidden;pointer-events:none}
 html body.mobile-forum.mobile-reading #mobile-toolbar{bottom:calc(12px + var(--mobile-safe-bottom))}
 html body.mobile-forum.mobile-reading #mobile-toolbar>.mobile-forum-search{top:8px}
 html body.mobile-forum.mobile-reading .hub-to-top,html body.mobile-forum-reading .hub-to-top{bottom:calc(136px + var(--mobile-safe-bottom))}
 html body.mobile-shell.mobile-forum-reading:not(.flow-notification-ready)[data-hub-page=forum] #fr,html body.mobile-shell.mobile-forum-reading:not(.flow-notification-ready)[data-hub-page=guide] #fr{top:0!important;bottom:0!important;height:100%!important}
 #mobile-tabs{transition:transform 180ms ease-out,visibility 180ms}
}
@media(prefers-reduced-motion:reduce){#mobile-tabs{transition:none}}
@media(max-width:760px){html body.mobile-forum #mobile-toolbar>.mobile-forum-search{right:68px}}
@media(max-width:760px){html body.mobile-shell.mobile-forum-reading[data-hub-page] #fr{top:0!important;bottom:0!important;height:100%!important}}

html body.mobile-forum #mobile-toolbar>.mobile-forum-compose svg{width:20px;height:20px}
@media(max-width:760px){
 html body.mobile-shell.mobile-modal .bar.hub-shell{visibility:hidden;pointer-events:none}
 html body.mobile-shell.mobile-modal #fr{top:0!important;bottom:0!important;height:100%!important;z-index:1200}
}
/* NT-01..04: notifications stay visible on desktop/mobile and reading mode. */
html body .hub-shell .flow-notification-entry{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;border:0;padding:0;background:transparent;color:inherit;cursor:var(--cur-hover);flex-shrink:0}
html body .hub-shell .flow-notification-entry svg{width:20px;height:20px}
html body .hub-shell .flow-notification-count{position:absolute;right:0;top:0;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--accent,#c46c22);color:var(--bg,#fff);font:600 10px/17px system-ui}
html body .hub-shell .flow-notification-count[hidden]{display:none}
@media(max-width:760px){html body .hub-shell .hub-tools>#ubistatus{display:none!important}}


/* Optical alignment: shared 18px glyph canvas, 44px target; status indicator at upper right. */
html body .hub-shell .hub-tools .hub-tool{padding:0;line-height:1;vertical-align:middle}
html body .hub-shell .hub-tools .hub-tool>svg{display:block;width:18px;height:18px;margin:0;flex:0 0 18px}
html body .hub-shell #ubistatus{position:relative;display:flex;align-items:center;height:44px}
html body .hub-shell #ubibadge .dot,html body .hub-shell #ubistatus>.ah-status-dot{position:absolute;box-sizing:border-box;width:7px;height:7px;right:8px;top:10px;bottom:auto;margin:0;border:1px solid var(--shell-canvas);border-radius:50%;pointer-events:none}
