/* Static mascot stays immediately beside the brand. */
.portal-brand-group{display:flex;align-items:center;gap:5px;flex:none;min-width:0}.head .head-inner{justify-content:space-between;gap:12px!important}.head .head-tools{margin-left:auto;display:flex;align-items:center;gap:9px!important}.head .head-tools>.tag{display:none!important}.head .portal-brand-group .mascot-track{width:68px!important;min-width:68px!important;height:68px!important;flex:0 0 68px!important;margin:0!important;overflow:visible!important}
html#portal-low-power body .head .mascot-track .hero-mascot#mascot{position:static!important;display:block!important;left:auto!important;top:auto!important;bottom:auto!important;right:auto!important;width:68px!important;height:68px!important;scale:1!important;transform:none!important;animation:none!important;opacity:1!important;cursor:default!important}
html#portal-low-power body .head #mascot-animation,html#portal-low-power body .head #mascot .mascot-crop{animation:none!important;transform:none!important;width:100%!important;height:100%!important;object-fit:contain!important;position:static!important;inset:auto!important}.portal-brand-group .mascot-bubble,.portal-brand-group .mascot-ground{display:none!important}.portal-docked-checkin .hero{display:none!important}
#portal-header-store,#portal-header-logout{font:600 11px/1.4 system-ui;border:1px solid var(--jt-line,#e6d6b5);background:var(--jt-surface,#fff7e5);color:var(--jt-muted,#a27336);padding:7px 9px;border-radius:8px;white-space:nowrap;cursor:pointer;flex:none}.portal-checkin-dock{display:block;width:0;height:0;flex:none;position:relative}#portal-checkin-storage[hidden]{display:none!important}.jh-checkin.jh-header-mode{position:fixed!important;left:var(--jh-dock-left,10px)!important;top:var(--jh-dock-top,80px)!important;width:var(--jh-dock-width,320px)!important;max-height:calc(100dvh - 110px);overflow:auto;z-index:10004!important;margin:0!important;box-shadow:0 10px 35px rgb(var(--jt-shadow-rgb,35 48 68) / 0.145);background:var(--jt-surface,#fffaf0);border:1px solid var(--jt-line,#e9d9b7);border-radius:13px;padding:14px 12px 10px!important;display:grid!important;grid-template-columns:46px minmax(0,1fr);gap:9px!important;color:var(--jt-text,#695038)}.jh-header-mode .jh-wallet{grid-column:1;min-width:0!important;width:auto!important}.jh-header-mode .jh-copy{grid-column:2;min-width:0!important;align-self:center}.jh-header-mode .jh-copy>strong{display:block;font-size:13px}.jh-header-mode .jh-copy>small{display:none}.jh-header-mode .jh-action{display:block!important;grid-column:1/-1;width:100%;margin:0!important;min-height:34px}.jh-header-mode .jh-shop-entry{display:none!important}.jh-header-mode .jh-levels{padding-right:0!important;gap:5px}.jh-header-mode .jh-level-row{flex-wrap:wrap;gap:4px}.jh-header-mode .jh-level-rules{font-size:9px;margin-left:auto}.jh-header-mode .jh-prompt-later{grid-column:1/-1;justify-self:center;font-size:10px;border:0;background:none;color:var(--jt-muted,#b29a74);padding:2px 8px;cursor:pointer}.jh-header-mode .jh-level-hint{font-size:9px;line-height:1.5}
#portal-account-panel .jh-checkin.jh-account-mode{position:static!important;margin:8px 0!important;padding:10px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr);gap:7px!important;background:var(--jt-surface,#fff7e5);border:1px solid var(--jt-line,#eadab8);border-radius:10px;min-height:0!important;color:var(--jt-text,#695038);line-height:1.5}#portal-account-panel .jh-account-mode .jh-wallet{grid-column:1;width:auto!important;min-width:0!important}#portal-account-panel .jh-account-mode .jh-coin{width:35px!important;height:35px!important}#portal-account-panel .jh-account-mode .jh-copy{grid-column:2;min-width:0!important}#portal-account-panel .jh-account-mode .jh-copy>strong{display:block!important;font-size:12px!important}#portal-account-panel .jh-account-mode .jh-copy>small{display:none!important}#portal-account-panel .jh-account-mode .jh-levels{padding:0!important;margin-top:4px;gap:4px}#portal-account-panel .jh-account-mode .jh-level-row{gap:4px;flex-wrap:wrap}#portal-account-panel .jh-account-mode .jh-level-xp{font-size:9px}#portal-account-panel .jh-account-mode .jh-level-hint{display:block!important;font-size:9px}#portal-account-panel .jh-account-mode .jh-action{grid-column:1/-1;display:block!important;width:100%;margin:0!important;padding:7px!important;font-size:11px!important}#portal-account-panel .jh-account-mode .jh-shop-entry{position:static!important;grid-column:1/-1;display:block;width:100%;font-size:10px!important;padding:6px!important}#portal-account-panel .jh-account-mode .jh-level-rules{display:block!important;font-size:9px;padding:0!important;margin-left:auto;border:0;background:none}#portal-account-panel .jh-account-mode .jh-prompt-later,#portal-account-panel .jh-account-mode .jh-expand{display:none!important}
@media(max-width:650px){.head .head-inner{padding:8px 10px!important;gap:5px!important}.portal-brand-group{gap:3px}.head .brand{font-size:18px!important;letter-spacing:0!important}.head .brand::after{font-size:8px!important;letter-spacing:0!important}.head .portal-brand-group .mascot-track{width:53px!important;min-width:53px!important;height:56px!important;flex:0 0 53px!important}html#portal-low-power body .head .mascot-track .hero-mascot#mascot{width:53px!important;height:56px!important}.head .head-tools{gap:5px!important}.head .head-tools .search{width:70px!important;min-width:0!important;padding:5px 6px!important;height:30px!important}.head .head-tools .search input{font-size:16px!important;width:100%;min-width:0}.head .head-tools .search>svg{width:12px;height:12px}.head .head-tools .search-clear{width:15px!important;min-width:15px!important}.head .head-tools .search-shortcut{display:none!important}#portal-header-store,#portal-header-logout{font-size:9px;padding:6px 5px;min-height:30px}#portal-user-entry{padding:0 3px!important;min-width:30px!important}.pa-signed .pa-entry-face{width:28px!important;height:28px!important}.jh-checkin.jh-header-mode{max-height:calc(100dvh - 100px)}#portal-account-panel.pa-compact-profile{max-width:410px!important;padding:12px!important}#portal-account-panel.pa-compact-profile .jh-checkin.jh-account-mode .jh-action{margin-left:0!important}#portal-account-panel.pa-compact-profile .jh-checkin .jh-wallet .jh-balance{font-size:9px!important}}

@media(max-width:650px){#portal-user-entry:not(.pa-signed)>span:not(.pa-entry-face){display:none!important}}

@media(max-width:650px){#portal-header-logout{display:none!important}}
