/* Shared SQWADSY shell contract: identical geometry across player and staff pages. */
:root{--platform-sidebar:240px;--platform-ink:#061b2b;--platform-accent:#00e58a;--platform-line:#e3e9ef;--platform-radius:10px}
body.player-experience,body[data-page]{font-family:Inter,Arial,sans-serif;color:var(--platform-ink);background:#f7f9fb}
.player-experience .exp-app-sidebar,.layout>.sidebar{box-sizing:border-box!important;width:var(--platform-sidebar)!important;padding:24px 14px!important;background:var(--platform-ink)!important}
.exp-app-sidebar .exp-logo,.sidebar .brand{display:flex!important;align-items:center!important;height:48px!important;min-height:48px!important;margin:0 10px 24px!important;padding:0!important;line-height:normal!important}
.exp-app-sidebar .exp-logo img,.sidebar .brand img{width:184px!important;height:40px!important;max-width:100%!important;object-fit:contain!important;object-position:left center;flex:0 0 auto!important}
.exp-app-sidebar nav,.sidebar nav{gap:6px!important;margin:0!important;padding:0!important}
.exp-app-sidebar nav a,.exp-sidebar-bottom,.sidebar .nav-link{box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:12px!important;height:48px!important;min-height:48px!important;flex:0 0 48px!important;padding:12px 14px!important;border:0!important;border-radius:9px!important;font:500 15px/20px Inter,Arial,sans-serif!important;color:#d4e0e9!important;text-decoration:none}
.exp-app-sidebar nav a.active,.exp-sidebar-bottom.active,.sidebar .nav-link.active{background:var(--platform-accent)!important;color:var(--platform-ink)!important;font-weight:700!important;border:0!important}
.exp-app-sidebar nav a:hover:not(.active),.sidebar .nav-link:hover:not(.active){background:#ffffff12!important}
.exp-app-sidebar :is(.exp-icon,svg),.sidebar .nav-link>:is(.icon,.ui-icon){width:22px!important;height:22px!important;min-width:22px!important;flex:0 0 22px!important;stroke-width:1.8}
.exp-sidebar-bottom{margin-top:auto!important;border-top:1px solid #ffffff24!important;border-radius:0!important;padding-top:16px!important}
.player-experience.session-signed-in .wrap{box-sizing:border-box!important;margin-left:var(--platform-sidebar)!important;padding:0 28px 40px!important;max-width:none!important;width:auto!important}
.layout{grid-template-columns:var(--platform-sidebar) minmax(0,1fr)!important}
.player-experience.session-signed-in .wrap>.header,.layout .topbar{box-sizing:border-box!important;background:white!important;color:var(--platform-ink)!important;height:76px!important;min-height:76px!important;padding:14px 28px!important;display:flex!important;align-items:center!important;gap:20px!important;flex-wrap:nowrap!important;border-bottom:1px solid var(--platform-line)!important;box-shadow:none!important}
.player-experience.session-signed-in .wrap>.header{margin:0 -28px 28px!important;justify-content:space-between!important}
.layout .topbar{flex:0 0 76px!important}
.layout #workspace{padding:0 28px 32px!important;padding-top:28px!important}
.player-experience .header-controls{position:static!important;inset:auto!important;margin:0 0 0 auto!important;max-width:none!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:12px!important;z-index:auto!important}
.player-experience #userMenu{position:static!important;display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:nowrap!important;margin:0!important}
.player-experience #userMenu.hidden{display:none!important}
.player-experience #accountMenu{order:3;position:relative}
.player-experience #messengerLink{order:1}.player-experience #notificationsLink{order:2}
.player-experience .header-controls .icon-btn-badge,.layout .top-actions>[data-action="wf-notifications"],.platform-messages{box-sizing:border-box!important;position:relative;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;color:var(--platform-ink)!important;border:0!important;border-radius:9px!important;width:40px!important;height:40px!important;min-height:40px!important;padding:8px!important;box-shadow:none!important;flex:0 0 40px!important}
.player-experience .header-controls .icon-btn-badge svg,.platform-messages svg,.layout .top-actions>[data-action="wf-notifications"] svg{width:22px!important;height:22px!important;stroke:currentColor!important}
.player-experience .header-controls #accountMenuName{display:flex!important;align-items:center!important;gap:8px!important;width:64px!important;max-width:64px!important;height:44px!important;min-height:44px!important;padding:0!important;font-size:0!important;background:transparent!important;color:var(--platform-ink)!important;border:0!important;box-shadow:none!important}
.player-experience #accountMenuName:before{content:attr(data-initials);font:700 12px Inter,Arial,sans-serif!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;flex:0 0 40px!important;border-radius:50%!important;background:var(--account-photo,#e3f2e9)!important;background-size:cover!important;background-position:center!important;color:#194b35!important}
.player-experience #accountMenuName:after{content:'⌄';font:16px Inter,Arial,sans-serif!important}
.player-experience .account-menu-panel{right:0!important;left:auto!important;top:calc(100% + 12px)!important;min-width:240px;max-width:calc(100vw - 28px)}
.layout .top-actions{gap:12px!important;align-items:center!important;min-width:0!important}
.layout .top-actions>small,.layout .top-actions>[data-action="reload"]{display:none!important}
.layout .top-avatar{width:40px!important;height:40px!important;flex:0 0 40px!important;min-height:40px!important;padding:0!important;background:transparent!important;border:0!important}
.layout .top-avatar .person-avatar{width:40px!important;height:40px!important}
.player-experience .lang-switch,.layout .language-switch{display:flex!important;gap:0!important;background:transparent!important;border:0!important;padding:0!important;align-items:center!important}
.player-experience .lang-switch button,.layout .language-switch button{font:600 12px/20px Inter,Arial,sans-serif!important;min-height:34px!important;padding:7px 6px!important;border:0!important;background:transparent!important;color:#66758b!important}
.player-experience .lang-switch button.lang-active,.layout .language-switch button.active{color:var(--platform-ink)!important;background:transparent!important}
.layout .language-menu{order:0}.layout .language-menu>summary{display:none!important}.layout .language-menu .language-switch{position:static!important;box-shadow:none!important;transform:none!important;width:auto!important;border:0!important}
.layout .top-actions [data-main-app]{order:1}.platform-messages{order:2}.layout .top-actions>[data-action="wf-notifications"]{order:3}.layout .top-avatar{order:4}
.layout .header-search{max-width:480px!important;height:42px!important;background:#f5f7fa!important;border-radius:9px!important}
.player-experience .social-global-search{flex:1 1 400px!important;width:auto!important;max-width:480px!important;min-width:0!important;margin:0!important}
.player-experience :is(main,section.account-page){max-width:none!important}
.player-experience :is(button,.page-link,.exp-button),.layout :is(button,.button){font-family:Inter,Arial,sans-serif;line-height:1.35;overflow-wrap:normal}
.player-experience :is(input,select,textarea),.layout :is(input,select,textarea){box-sizing:border-box;min-width:0;max-width:100%;font-family:Inter,Arial,sans-serif}
.player-experience :is(.rest-primary,.exp-button),.layout .primary{background:var(--platform-accent);color:var(--platform-ink);border-color:var(--platform-accent)}
:is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #00a86b!important;outline-offset:3px}
.profile-hub-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px;padding:6px;background:#eef2f7;border-radius:12px}
.profile-hub-nav a{display:inline-flex;align-items:center;min-height:40px;padding:9px 16px;border-radius:8px;color:#50627a;text-decoration:none;font-size:14px;font-weight:600}
.profile-hub-nav a[aria-current=page]{background:white;color:var(--platform-ink);box-shadow:0 2px 8px #0616230a}
.player-experience #communityPage.profile-hub{padding:0;border:0;background:transparent;box-shadow:none;width:100%;max-width:none}
.profile-hub>h1{font-size:32px;margin:0 0 20px}.profile-hub>.page-link{display:none}.profile-hub .community-tabs{display:none}
.profile-hub form[data-community-form]{display:grid;gap:18px;padding:24px;background:white;border:1px solid var(--platform-line);border-radius:14px;max-width:850px;margin-bottom:28px}
.profile-hub form label{display:grid;gap:8px;font-weight:600;font-size:14px}.profile-hub form :is(input,textarea,select){width:100%;padding:12px;font-weight:400}.profile-hub form textarea{min-height:110px}.profile-hub form button{justify-self:start;padding:12px 24px;background:var(--platform-accent);color:var(--platform-ink);border:0;font-weight:700}
.profile-hub>.public-pitch,.profile-hub>.profile-report{padding:20px;background:white;border:1px solid var(--platform-line);border-radius:12px;margin:12px 0;max-width:850px}.profile-report h3{margin:0 0 8px}.profile-report .rest-chip{display:inline-block}.profile-hub h2{font-size:22px;margin-top:24px}
.teams-design>.community-tabs{display:none!important}.teams-design>.rest-hero{margin-top:0!important}
.layout .page-grid,.layout .detail,.layout .card,.layout .toolbar{min-width:0}.layout .toolbar{flex-wrap:wrap}.layout .toolbar :is(button,.button){flex-shrink:0;white-space:normal}
.platform-mobile-logo{display:none}.platform-account-menu{position:absolute;right:28px;top:64px;min-width:220px;padding:10px;background:white;border:1px solid var(--platform-line);border-radius:12px;box-shadow:0 12px 35px #06162320;z-index:1300}.platform-account-menu a,.platform-account-menu button{display:flex;width:100%;padding:12px;min-height:40px;text-align:left;text-decoration:none;background:white;border:0;color:var(--platform-ink)}.platform-account-menu[hidden]{display:none!important}
@media(max-width:800px){
 .player-experience .exp-app-sidebar{display:none!important}.player-experience.session-signed-in .wrap{margin-left:0!important;padding:0 16px 90px!important}
 .player-experience.session-signed-in .wrap>.header,.layout .topbar{height:68px!important;min-height:68px!important;padding:12px 16px!important;background:var(--platform-ink)!important;color:white!important;gap:8px!important}
 .player-experience.session-signed-in .wrap>.header{margin:0 -16px 20px!important}
 .player-experience .header-controls,.player-experience #userMenu,.layout .top-actions{gap:3px!important}
 .player-experience .exp-app-logo{display:flex!important;flex:0 0 auto}.player-experience .exp-app-logo img,.platform-mobile-logo img{width:120px!important;height:32px!important;object-fit:contain}
 .player-experience .header-controls .icon-btn-badge,.platform-messages,.layout .top-actions>[data-action="wf-notifications"]{width:34px!important;height:40px!important;flex-basis:34px!important;color:white!important;padding:6px!important}
 .player-experience .lang-switch button,.layout .language-switch button{color:#bfcdda!important;padding:7px 4px!important;font-size:10px!important}
 .player-experience .lang-switch button.lang-active,.layout .language-switch button.active{color:white!important}
 .player-experience .header-controls #accountMenuName{width:36px!important;max-width:36px!important;color:white!important}.player-experience #accountMenuName:before{width:34px!important;height:34px!important;flex-basis:34px!important}.player-experience #accountMenuName:after{display:none!important}
 .player-experience .social-global-search,.layout .header-search{display:none!important}.layout .top-actions [data-main-app]{display:none!important}
 .layout{display:block!important;height:auto!important}.layout>.sidebar{position:fixed!important;z-index:1200;top:0;left:0;height:100dvh;transform:translateX(-100%)}.layout.menu-open>.sidebar{transform:translateX(0)}.layout>.main{height:auto!important;min-height:100dvh}.layout #workspace{padding:20px 16px 32px!important;overflow:visible!important}.layout .topbar{flex-basis:68px!important;position:sticky!important;top:0!important;z-index:1100}.layout .mobile-menu{display:inline-flex!important;color:white!important;padding:6px!important;width:32px!important;min-width:32px!important;background:transparent!important;border:0!important}.platform-mobile-logo{display:flex;align-items:center}.layout .top-avatar,.layout .top-avatar .person-avatar{width:34px!important;height:34px!important;flex-basis:34px!important}.platform-account-menu{right:16px}
 .profile-hub-nav{gap:4px;margin-bottom:20px}.profile-hub-nav a{padding:9px 10px;font-size:12px}.profile-hub form[data-community-form]{padding:18px}.profile-hub>h1{font-size:27px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Personal workflow forms share the account grid, including their nested controls. */
.profile-hub form[data-community-form] label{margin:0!important;padding:0!important}.profile-hub form[data-community-form] :is(input,select,textarea){margin:0!important}.profile-hub form[data-community-form="profile"]{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-hub form[data-community-form="profile"] label:has(textarea){grid-column:1/-1}.profile-hub form[data-community-form="profile"] button{grid-column:1/-1}
.layout .language-switch button[aria-pressed=true]{background:transparent!important;color:var(--platform-ink)!important}
.layout .sidebar .account{font-family:Inter,Arial,sans-serif;font-size:13px}.layout .nav-link span{font-family:inherit!important}
.layout .top-actions [data-main-app]{min-height:40px!important;height:40px!important;padding:8px 12px!important;font-size:12px!important}
.profile-hub button,.layout .toolbar button{white-space:normal!important}
@media(max-width:800px){.profile-hub form[data-community-form="profile"]{grid-template-columns:1fr}.layout .language-switch button[aria-pressed=true]{color:white!important}.platform-mobile-logo img{width:100px!important}.layout .mobile-menu{flex:0 0 28px!important}.layout .top-actions{margin-left:auto!important}.layout .topbar{gap:4px!important}}

/* Shared secondary screens and mobile geometry. */
.player-experience :is(#messagesPage,#conversationPage,#notificationsPage,#invitePage,#hostGamePage,#platformGamePage){width:100%;max-width:none;min-width:0}.player-experience :is(#messagesPage,#notificationsPage)>h1{font:800 36px/1.15 Inter,Arial,sans-serif;letter-spacing:-1px;margin:18px 0}.player-experience :is(#messagesPage,#notificationsPage)>.back-page{margin-bottom:4px}
.player-experience .notif-badge{border:2px solid white;background:#00b979;color:#061b2b;min-width:16px;height:16px;padding:0 3px;display:grid;place-items:center;font:700 9px/1 Inter,Arial,sans-serif;box-sizing:border-box}.player-experience .notif-badge.hidden{display:none!important}
.layout .settings-layout .field{min-width:0}.layout .settings-layout .field :is(input,select){min-width:0;width:100%}.layout .settings-layout .field>label{min-width:0}
@media(max-width:800px){.platform-mobile-logo img{width:120px!important}.player-experience :is(#messagesPage,#notificationsPage)>h1{font-size:28px}.player-experience .notif-badge{border-color:var(--platform-ink)}.layout .settings-layout .field{grid-template-columns:1fr!important;gap:8px!important}}
.player-experience .wrap>.header .header-controls .lang-switch button{color:#66758b!important;background:transparent!important;padding:7px 6px!important}
.player-experience .wrap>.header .header-controls .lang-switch button.lang-active{color:var(--platform-ink)!important;background:transparent!important}
@media(max-width:800px){.player-experience .wrap>.header .header-controls .lang-switch button{color:#bfcdda!important;padding:7px 4px!important}.player-experience .wrap>.header .header-controls .lang-switch button.lang-active{color:white!important}}
@media(max-width:800px){.layout>.sidebar{transition:none!important}}
.player-experience #accountMenu>.account-menu-panel{position:absolute!important;top:calc(100% + 12px)!important;right:0!important;left:auto!important;bottom:auto!important;max-height:calc(100dvh - 110px);overflow:auto!important}
