/* This layer is declared FIRST in HTML: important material rules outrank every legacy skin. */
@layer halo-material {
html{--hm-pane:rgba(255,255,255,.23);--hm-inner:rgba(255,255,255,.12);--hm-menu:rgba(251,253,255,.93);--hm-rim:rgba(255,255,255,.66);--hm-shine:rgba(255,255,255,.24);--hm-ink:#172035;--hm-muted:#46516a;--hm-solid:#f3f5fa;--hm-shadow:0 10px 34px #182a4915,inset 0 1px 0 #ffffff9c,inset 0 -1px 0 #ffffff28;--hm-blur:blur(22px) saturate(160%)}
html[data-theme=dark]{--hm-pane:rgba(12,25,49,.24);--hm-inner:rgba(8,18,36,.15);--hm-menu:rgba(20,31,52,.94);--hm-rim:rgba(206,232,255,.27);--hm-shine:rgba(207,235,255,.11);--hm-ink:#f2f7ff;--hm-muted:#c2cee4;--hm-solid:#1b2435;--hm-shadow:0 12px 34px #0000002b,inset 0 1px 0 #e3f2ff36,inset 0 -1px 0 #ffffff08}
body.social-authenticated{--hm-loaded:13}
body.social-authenticated[data-halo-material=clear]{--au-panel:var(--hm-pane)!important;--au-raised:var(--hm-menu)!important;--au-canvas:var(--hm-inner)!important;--au-soft:var(--hm-inner)!important;--au-line:var(--hm-rim)!important;--au-blur:var(--hm-blur)!important;--au-ink:var(--hm-ink)!important;--au-muted:var(--hm-muted)!important;color:var(--hm-ink)!important}
body.social-authenticated[data-halo-material] :is(.app-shell,#social-shell,.social-main,.social-view,.social-dashboard-grid,.hs-hub,.hs-layout,.social-profile-grid,.au-profile-layout){background:transparent!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}
body.social-authenticated[data-halo-material=clear] :is(.social-contacts-card,#halo-home-welcome,#direct-chat-card,#halo-group-detail,.au-calls-pane,.au-status-viewer-pane,.au-guild-sidebar,.au-guild-pane,.au-games-sidebar,.au-games-pane,.au-profile-sidebar,[data-social-panel=profile] .hs-content){background:linear-gradient(135deg,var(--hm-shine),transparent 48%),var(--hm-pane)!important;border-color:var(--hm-rim)!important;box-shadow:var(--hm-shadow)!important;backdrop-filter:var(--hm-blur)!important;-webkit-backdrop-filter:var(--hm-blur)!important}
body.social-authenticated[data-halo-material] :is(.au-profile-sidebar,.au-games-sidebar,.au-guild-sidebar)>.social-contacts-card{background:transparent!important;background-image:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.social-authenticated[data-halo-material] :is([data-social-panel=profile] .hs-page>.social-card,[data-social-panel=profile] .hs-nav,[data-social-panel=profile] .hs-identity,[data-social-panel=profile] .hs-page,.au-games-layout,.au-status-sidebar,.au-calls-sidebar){background:transparent!important;background-image:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.social-authenticated[data-halo-material=clear] .au-dock-zone .social-rail{background:linear-gradient(120deg,var(--hm-shine),transparent 60%),var(--hm-pane)!important;border-color:var(--hm-rim)!important;box-shadow:var(--hm-shadow)!important;backdrop-filter:var(--hm-blur)!important;-webkit-backdrop-filter:var(--hm-blur)!important}
body.social-authenticated[data-halo-material=clear] :is(.direct-chat-header,.direct-chat-form,.au-contacts-heading,.hc-guild-bar,.au-calls-pane-head,.au-profile-savebar){background:var(--hm-inner)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.social-authenticated[data-halo-material=clear]:not([data-halo-coin-background]) #social-shell :is(#direct-chat-messages,#halo-group-messages){background:transparent!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.social-authenticated[data-halo-material=clear] :is(.halo-menu-portal,.halo-contact-details-sidebar,.halo-search-dialog,.hc-dialog,.au-call-picker,.hg-player-picker){background:var(--hm-menu)!important;color:var(--hm-ink)!important;border-color:var(--hm-rim)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important}
body.social-authenticated:is([data-halo-material=solid],[data-halo-material=reduced],[data-halo-material=fallback]){--au-panel:var(--hm-solid)!important;--au-raised:var(--hm-solid)!important;--au-canvas:var(--hm-solid)!important;--au-blur:none!important}
body.social-authenticated:is([data-halo-material=solid],[data-halo-material=reduced],[data-halo-material=fallback]) :is(.social-contacts-card,#halo-home-welcome,#direct-chat-card,#halo-group-detail,.au-calls-pane,.au-status-viewer-pane,.au-guild-sidebar,.au-guild-pane,.au-games-sidebar,.au-games-pane,.au-profile-sidebar,[data-social-panel=profile] .hs-content,.au-dock-zone .social-rail,.halo-menu-portal,.halo-contact-details-sidebar,.halo-search-dialog,.hc-dialog,.au-call-picker,.hg-player-picker){background:var(--hm-solid)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transition:none!important}
body.au-profile-mode[data-halo-material=clear] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){background:var(--hm-inner)!important;color:var(--hm-ink)!important;border-color:var(--hm-rim)!important;box-shadow:inset 0 1px 0 #ffffff0b!important}
@media(max-width:900px){html{--hm-blur:blur(18px) saturate(150%)}body.au-profile-mode[data-halo-material=clear] #social-shell .au-profile-layout{background:linear-gradient(135deg,var(--hm-shine),transparent 48%),var(--hm-pane)!important;border:1px solid var(--hm-rim)!important;box-shadow:var(--hm-shadow)!important;backdrop-filter:var(--hm-blur)!important;-webkit-backdrop-filter:var(--hm-blur)!important}body.au-profile-mode[data-halo-material] #social-shell :is(.au-profile-sidebar,.hs-content){background:transparent!important;background-image:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}body.au-profile-mode:is([data-halo-material=solid],[data-halo-material=reduced],[data-halo-material=fallback]) #social-shell .au-profile-layout{background:var(--hm-solid)!important}}
}
@layer halo-aurora {
body.au-profile-mode .topbar{display:none!important;height:0!important;min-height:0!important;padding:0!important}
body.au-profile-mode #social-shell{height:100dvh!important;max-height:100dvh!important}
body.au-profile-mode [data-social-panel=profile]{padding:12px 12px 0!important;overflow:hidden!important;box-sizing:border-box!important;height:100%!important}
body.au-profile-mode .halo-profile-toolbar{display:none!important}
body.au-profile-mode #social-profile-form{display:block!important;min-width:0!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
body.au-profile-mode .au-profile-layout{display:grid!important;grid-template-columns:310px minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;gap:10px!important;height:100%!important;min-width:0!important;min-height:0!important;max-height:100%!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;box-sizing:border-box!important}
body.au-profile-mode :is(.au-profile-sidebar,.hs-content){display:flex!important;flex-direction:column!important;position:relative!important;box-sizing:border-box!important;min-width:0!important;min-height:0!important;max-height:100%!important;margin:0!important;padding:0!important;border:1px solid var(--au-line)!important;border-radius:20px!important;background:var(--au-panel)!important;overflow:hidden!important;color:var(--au-ink)!important}
body.social-authenticated.au-profile-mode #social-shell .au-profile-sidebar>.social-contacts-card{display:contents!important}
body.social-authenticated.au-profile-mode #social-shell .au-profile-sidebar>.social-contacts-card>:not(.au-contacts-heading){display:none!important}
body.au-profile-mode .au-contacts-heading{display:flex!important;flex:none!important;align-items:center!important;gap:6px!important;height:auto!important;min-height:58px!important;padding:12px!important;margin:0!important;box-sizing:border-box!important}
body.au-profile-mode .au-contacts-heading .au-list-title{font-size:18px!important}
body.au-profile-mode .au-contacts-heading .au-heading-utilities{margin-left:auto!important;gap:4px!important}
body.au-profile-mode .au-contacts-heading :is(#social-new-invite,.au-new-call){display:none!important}
body.au-profile-mode .hs-identity{display:block!important;flex:none!important;min-width:0!important;padding:8px 12px 12px!important;margin:0!important;border:0!important;border-radius:0!important}
body.au-profile-mode .hs-identity .social-profile-identity{display:flex!important;align-items:center!important;gap:12px!important;padding:0!important;min-width:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
body.au-profile-mode .hs-identity .social-profile-identity>div{flex:1!important;min-width:0!important}
body.au-profile-mode .hs-identity :is(.hs-edit,.overline,.social-profile-identity p){display:none!important}
body.au-profile-mode .au-profile-name-bar{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-width:0!important;margin:0!important}
body.au-profile-mode #social-profile-heading{flex:0 1 auto!important;min-width:0!important;margin:0!important;font:700 16px/1.5 Manrope,system-ui!important;color:var(--au-ink)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.au-profile-mode :is(#au-profile-wallet,.au-profile-mobile-wallet){position:static!important;flex:none!important;min-height:30px!important;width:auto!important;margin:0!important;padding:5px 9px!important;border:1px solid var(--au-line)!important;border-radius:11px!important;background:var(--au-soft)!important;color:var(--au-ink)!important;font:600 11px system-ui!important}
body.au-profile-mode .au-profile-username{display:block!important;margin-top:3px!important;color:var(--au-muted)!important;font-size:11px!important;overflow-wrap:anywhere!important}
body.au-profile-mode .au-profile-mini-avatar{flex:none!important;width:60px!important;height:60px!important;min-width:60px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;cursor:pointer!important}
body.au-profile-mode .au-profile-mini-avatar .social-profile-avatar{position:relative!important;display:grid!important;place-items:center!important;width:60px!important;height:60px!important;min-width:60px!important;min-height:60px!important;border-radius:50%!important;font-size:22px!important;margin:0!important;overflow:visible!important}
body.au-profile-mode .au-profile-mini-avatar img{width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important}
body.au-profile-mode .hs-nav{display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;gap:3px!important;padding:0 10px 12px!important;margin:0!important;border:0!important;border-radius:0!important;overflow:auto!important;scrollbar-width:thin!important}
body.au-profile-mode .hs-nav button{display:flex!important;align-items:center!important;gap:10px!important;flex:none!important;width:100%!important;min-height:38px!important;margin:0!important;padding:8px 10px!important;border:0!important;border-radius:11px!important;background:transparent!important;color:var(--au-muted)!important;text-align:left!important;box-shadow:none!important}
body.au-profile-mode .hs-nav button[aria-current=page]{background:var(--au-active)!important;color:var(--au-accent)!important}
body.au-profile-mode .hs-nav .hs-icon{flex:none!important;display:grid!important;place-items:center!important;width:20px!important;height:20px!important;border-radius:0!important;background:transparent!important}
body.au-profile-mode .hs-nav svg{width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important}
body.au-profile-mode .hs-nav strong{color:inherit!important;font:600 12px system-ui!important}
body.au-profile-mode .hs-nav :is(small,.hs-chevron){display:none!important}
body.au-profile-mode .hs-content{overflow:auto!important;overscroll-behavior:contain!important;scrollbar-width:thin!important}
body.au-profile-mode .hs-page{display:flex!important;flex-direction:column!important;gap:18px!important;box-sizing:border-box!important;flex:0 0 auto!important;height:auto!important;min-height:100%!important;padding:22px!important;margin:0!important;border:0!important;max-width:none!important}
body.au-profile-mode .hs-page-head{display:flex!important;align-items:center!important;gap:12px!important;flex:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}
body.au-profile-mode .hs-page-head h2{font:750 24px/1.3 Manrope,system-ui!important;color:var(--au-ink)!important;margin:0!important}
body.au-profile-mode .hs-page-head p{font-size:12px!important;line-height:1.7!important;color:var(--au-muted)!important;margin:5px 0 0!important}
body.au-profile-mode .hs-back{display:none!important}
body.au-profile-mode .hs-page>.social-card{flex:none!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;box-sizing:border-box!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--au-ink)!important}
body.au-profile-mode .hs-page :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:42px!important;padding:10px 12px!important;margin:0!important;border:1px solid var(--au-line)!important;border-radius:11px!important;background:var(--au-soft)!important;color:var(--au-ink)!important;font-size:13px!important;box-shadow:none!important}
body.au-profile-mode .hs-page label{min-width:0!important;color:var(--au-ink)!important;font-size:12px!important;line-height:1.7!important}
body.au-profile-mode .hs-page label>small{color:var(--au-muted)!important}
body.au-profile-mode [data-settings-section=profile]>.social-profile-card{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:16px!important;align-items:start!important}
body.au-profile-mode [data-settings-section=profile]>.social-profile-card>label{margin:0!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:6px!important}
body.au-profile-mode .au-profile-about{grid-column:1/-1!important}
body.au-profile-mode #social-gaming-bio{min-height:90px!important;height:90px!important;resize:vertical!important}
body.au-profile-mode .au-profile-photo{display:flex!important;align-items:center!important;gap:20px!important;flex:none!important;padding:0!important;margin:0!important;color:var(--au-ink)!important}
body.au-profile-mode .au-profile-photo .profile-avatar-control{flex:none!important;width:96px!important;min-width:96px!important;display:block!important;margin:0!important;padding:0!important}
body.au-profile-mode #social-profile-avatar{display:grid!important;place-items:center!important;width:96px!important;height:96px!important;min-width:96px!important;min-height:96px!important;border-radius:50%!important;font-size:32px!important;margin:0!important}
body.au-profile-mode #social-profile-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}
body.au-profile-mode .profile-avatar-note{display:none!important}
body.au-profile-mode .au-profile-photo-info{flex:1!important;min-width:0!important}
body.au-profile-mode .profile-avatar-actions{justify-content:flex-start!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;margin:0!important;padding:0!important}
body.au-profile-mode .profile-avatar-actions button{margin:0!important;min-height:38px!important;padding:8px 12px!important;border:1px solid var(--au-line)!important;border-radius:11px!important;background:var(--au-soft)!important;color:var(--au-ink)!important;font:600 12px system-ui!important}
body.au-profile-mode .au-profile-mobile-identity{display:none!important}
body.au-profile-mode .halo-identity-card{padding:12px!important;border:1px solid var(--au-line)!important;border-radius:12px!important;background:var(--au-soft)!important}
body.au-profile-mode .halo-identity-card :is(.overline,.halo-help){display:none!important}
body.au-profile-mode .halo-identity-card h3{margin:0 0 5px!important;font-size:12px!important;color:var(--au-muted)!important}
body.au-profile-mode #halo-own-username{font:650 16px system-ui!important;color:var(--au-ink)!important;margin:0!important}
body.au-profile-mode .au-profile-savebar{position:sticky!important;bottom:-22px!important;display:flex!important;flex:none!important;justify-content:flex-end!important;box-sizing:border-box!important;padding:12px 0!important;margin-top:auto!important;z-index:2!important}
body.au-profile-mode .hs-save{width:auto!important;align-self:flex-end!important;min-width:140px!important;min-height:42px!important;margin:0!important;padding:10px 16px!important;border:0!important;border-radius:12px!important;background:var(--au-accent)!important;color:var(--au-bg)!important;font:700 13px system-ui!important}
body.au-profile-mode .au-dock-profile #header-profile-avatar{outline:2px solid var(--au-accent)!important;outline-offset:3px!important}
.au-material-status{font-size:12px!important;line-height:1.7!important;color:var(--au-muted)!important;margin:8px 0!important}
.au-material-choice{display:flex!important;flex-direction:column!important;gap:6px!important;margin-top:12px!important}
body.au-profile-mode :is(.hs-page[hidden],.hs-nav[hidden],.hs-content[hidden],.hs-identity[hidden],.profile-avatar-actions button[hidden]){display:none!important}
@media(max-width:1100px) and (min-width:901px){body.au-profile-mode .au-profile-layout{grid-template-columns:285px minmax(0,1fr)!important}}
@media(max-width:900px){body.au-profile-mode [data-social-panel=profile]{padding:6px 8px 0!important}body.au-profile-mode .au-profile-layout{display:flex!important;flex-direction:column!important;border:1px solid var(--au-line)!important;border-radius:20px!important;gap:0!important}body.au-profile-mode .au-profile-sidebar{display:contents!important}body.au-profile-mode .hs-content{border:0!important;border-radius:0!important;flex:1!important}body.au-profile-mode .hs-page{min-height:100%!important;padding:14px!important;gap:16px!important}body.au-profile-mode .hs-back{display:grid!important;place-items:center!important;flex:none!important;width:38px!important;height:38px!important;min-width:38px!important;border:1px solid var(--au-line)!important;border-radius:11px!important;background:var(--au-soft)!important;color:var(--au-ink)!important;font-size:25px!important}body.au-profile-mode .hs-page-head h2{font-size:21px!important}body.au-profile-mode .hs-page-head p{display:none!important}body.au-profile-mode .hs-identity{padding:10px 14px 16px!important}body.au-profile-mode .hs-nav{flex:1!important;padding:0 12px 12px!important}body.au-profile-mode .hs-nav button{min-height:44px!important}body.au-profile-mode [data-settings-section=profile]>.social-profile-card{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}body.au-profile-mode [data-settings-section=profile]>.social-profile-card>label{margin:0!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:6px!important}
body.au-profile-mode .au-profile-about{grid-column:auto!important}body.au-profile-mode .au-profile-photo{gap:14px!important;align-items:flex-start!important}body.au-profile-mode .au-profile-photo .profile-avatar-control{width:72px!important;min-width:72px!important}body.au-profile-mode #social-profile-avatar{width:72px!important;height:72px!important;min-width:72px!important;min-height:72px!important;font-size:26px!important}body.au-profile-mode .au-profile-mobile-identity{display:flex!important;align-items:center!important;gap:8px!important;margin:0 0 12px!important;flex-wrap:wrap!important}body.au-profile-mode .au-profile-mobile-name{font-size:18px!important;color:var(--au-ink)!important;overflow-wrap:anywhere!important}body.au-profile-mode .profile-avatar-actions{gap:6px!important}body.au-profile-mode .profile-avatar-actions button{padding:7px 8px!important;font-size:11px!important}body.au-profile-mode .au-profile-savebar{bottom:-14px!important;padding:10px 0!important}body.au-profile-mode .hs-save{width:100%!important}body.au-profile-mode .au-contacts-heading #header-profile-button{width:32px!important;min-width:32px!important;height:32px!important;padding:0!important;outline:2px solid var(--au-accent)!important;outline-offset:1px!important}}
}
