/* Shared club chrome, scaled within the 1920 × 1080 desktop frame. */
body.game-shell .game-frame{background:#16202b;color:#e6e9ee}
body.game-shell .shell-top{background:#111a24;border:0;box-shadow:none;z-index:25}
body.game-shell .shell-top .topbar{display:flex;align-items:center;justify-content:flex-start;gap:0;background:#111a24;border-bottom:1px solid #22303d}
.game-shell .shell-top .brand{flex:none;margin:0;color:#e6e9ee;letter-spacing:-.5px}
.game-shell .shell-top .brand span{color:#5fc489}
.game-shell .shell-top #navigation{padding:0;margin:0;gap:0;flex:none;border:0;background:#111a24}
.game-shell .shell-top #navigation button{display:flex;align-items:center;justify-content:center;border:0;border-radius:0;color:#b9c3cd;background:transparent;font-weight:500}
.game-shell .shell-top #navigation button svg{color:#7f8b98}
.game-shell .shell-top #navigation button[aria-current=true]{color:white;background:#1a2836;box-shadow:inset 0 -3px #5fc489;font-weight:700}
.game-shell .shell-top #navigation button[aria-current=true] svg{color:#5fc489}
.game-shell .shell-top #subnavigation:not([hidden]){display:flex;align-items:center;gap:4px;min-height:0;margin:0;border:0;border-bottom:1px solid #22303d;background:#141e28}
.game-shell .shell-top #subnavigation button{border-radius:7px;font-weight:500;color:#9aa4b1}
.game-shell .shell-top #subnavigation button[aria-current=true]{background:#24384a;color:white;font-weight:700;box-shadow:none}
.game-shell .shell-top #match-alert{position:static;transform:none;min-width:0;margin:0 0 0 auto;background:#16302a;border:1px solid #2f7a52;color:#cfe8d8;border-radius:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.game-shell .shell-top #match-alert::before{content:'';display:inline-block;vertical-align:middle;margin-right:7px;width:8px;height:8px;background:#5fc489;border-radius:50%}
.game-shell .shell-top #match-alert[data-state=soon]{background:#853744;border-color:#c66774;color:white}
.game-shell .shell-top #match-alert[data-state=soon]::before{background:#ffb1a4}
.game-shell .shell-top #content-account-menu:not([hidden]){position:static;inset:auto;display:flex;align-items:center;flex:none;transform:none;gap:12px;margin:0 0 0 12px;padding:0}
.game-shell .shell-top #header-balance{position:static;margin:0;padding:0 13px;height:36px;max-width:none;border:1px solid #5a4a1a;border-radius:8px;background:#2a2410;color:#ffd166;font-size:15px;box-shadow:none}
.game-shell .shell-top #header-balance::before{content:'K';width:20px;height:20px;color:#2a2410;background:#ffd166;box-shadow:none;border-radius:50%;font:900 12px/20px sans-serif}
.game-shell .shell-top #club-menu-toggle,.game-shell .shell-top #social-toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:0;height:36px;width:auto;gap:8px;padding:0 10px 0 4px;border:0;border-radius:8px;background:#1d2a37;color:#dfe5ea;box-shadow:none;font-size:14px}
.game-shell .shell-top #club-menu-toggle span{display:block;max-width:9em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.game-shell .shell-top #club-menu-toggle::after{content:'▾'}
.game-shell .shell-top #club-menu-toggle img{width:28px;height:30px;object-fit:contain}
.club-crest-fallback{width:28px;height:30px}
#club-menu-toggle:has(img:not([hidden])) .club-crest-fallback{display:none}
.game-shell .shell-top #content-account-menu #social-bar{display:contents}
.game-shell .shell-top #content-account-menu #social-toggle{width:38px;padding:0}
.game-shell .shell-top #social-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
.game-shell .shell-top #social-toggle::after{display:none}
.game-shell .shell-top #chat-unread,.game-shell .shell-top #locker-unread-badge{position:absolute;top:-4px;right:-4px;padding:0 4px;min-width:15px;border-radius:12px;background:#e0566a;color:white;font:800 10px/16px sans-serif;text-align:center}
.game-shell .shell-top #locker-unread-badge{left:auto;right:3px;top:2px}
.game-shell .shell-top #shell-scrim{position:fixed;inset:0;z-index:30;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;cursor:default}
.game-shell .shell-top #club-menu,.game-shell .shell-top #content-account-menu #social-panel{position:absolute;left:auto;right:24px;bottom:auto;top:60px;z-index:31;margin:0;border:1px solid #2f3e4d;border-radius:10px;background:#1a2531;color:#e6e9ee;box-shadow:0 12px 30px #0009}
.game-shell .shell-top #club-menu{width:290px;padding:8px}
#club-menu header,#club-menu button{display:flex;align-items:center;gap:10px}
#club-menu header{padding:8px 8px 12px;border-bottom:1px solid #2a3846;margin-bottom:6px}
#club-menu header img{width:36px;height:40px;object-fit:contain}
#club-menu button{width:100%;justify-content:space-between;padding:10px;border:0;border-radius:7px;background:transparent;color:#dfe5ea;text-align:left;font-size:14.5px}
#club-menu button:hover,#club-menu button:focus-visible{background:#24384a}
#club-menu button small{color:#9aa4b1}
#club-menu #logout{color:#e07474;border-top:1px solid #2a3846;border-radius:0}
.game-shell .shell-top #content-account-menu #social-panel{width:400px;height:min(620px,78dvh);max-height:none}
@media(min-width:1024px){
 .game-shell .shell-top{position:relative}
 body.game-shell .shell-top .topbar{height:5.556cqh;padding:0 1.25cqw 0 1.458cqw}
 .game-shell .shell-top .brand{font-size:1.302cqw;margin-right:1.563cqw}
 .game-shell .shell-top #navigation{height:100%;display:flex;align-items:stretch}
 .game-shell .shell-top #navigation button{height:100%;min-width:0;padding:0 1.146cqw;font-size:max(12px,.86cqw);gap:.47cqw}
 .game-shell .shell-top #subnavigation:not([hidden]){height:4.26cqh;padding:0 1.25cqw}
 .game-shell .shell-top #subnavigation button{padding:.65cqh .73cqw;font-size:max(11px,.755cqw)}
 .game-shell .shell-top #match-alert{height:min(36px,3.7cqh);min-height:0;padding:0 .72cqw;max-width:23cqw;font-size:max(11px,.73cqw)}
 .game-shell .shell-top #club-menu,.game-shell .shell-top #content-account-menu #social-panel{top:5.74cqh;right:1.25cqw}
 .game-shell .shell-top #match-alert .match-label-full{display:inline}
 .game-shell .shell-top #match-alert .match-label-short{display:none}
 .game-shell .game-frame main{padding:1.85cqh 1.25cqw}
}
@media(max-width:1023px){
 body.game-shell{--mobile-nav-height:64px}
 .game-shell .shell-top{position:sticky;top:0}
 body.game-shell .shell-top .topbar{height:52px;padding:0 12px;gap:8px}
 .game-shell .shell-top .brand{font-size:18px}
 .game-shell .shell-top #navigation{height:calc(64px + var(--safe-bottom,0px));border-top:1px solid #22303d}
 .game-shell .shell-top #navigation button{font-size:11.5px}
 .game-shell .shell-top #navigation button[aria-current=true]{background:transparent;box-shadow:none}
 .game-shell .shell-top #navigation button[aria-current=true]::before{content:'';position:absolute;inset:0 22% auto;height:3px;border-radius:0 0 3px 3px;background:#5fc489}
 .game-shell .shell-top #navigation #locker-unread-badge{left:calc(50% + 6px);right:auto;top:7px}
 .game-shell .shell-top #subnavigation:not([hidden]){height:44px;padding:0 10px;flex-wrap:nowrap;overflow-x:auto}
 .game-shell .shell-top #subnavigation button{min-height:32px;padding:6px 12px;font-size:14px}
 .game-shell .shell-top #match-alert{margin:0;max-width:none;height:28px;min-height:0;padding:0 8px;font-size:12.5px}
 .game-shell .shell-top #match-alert::before{width:6px;height:6px;margin-right:4px}
 .game-shell .shell-top #match-alert .match-label-full{display:none}
 .game-shell .shell-top #match-alert .match-label-short{display:inline}
 .game-shell .shell-top #content-account-menu:not([hidden]){margin-left:auto;gap:8px}
 .game-shell .shell-top #content-account-menu #header-balance{min-height:0;padding:0;border:0;background:transparent;color:#ffd166;font-size:14px}
 .game-shell .shell-top #content-account-menu #header-balance::before{display:none}
 .game-shell .shell-top #club-menu-toggle,.game-shell .shell-top #content-account-menu #social-toggle{height:34px;width:34px;padding:2px}
 .game-shell .shell-top #club-menu-toggle span,.game-shell .shell-top #club-menu-toggle::after{display:none}
 .game-shell .shell-top #shell-scrim{background:#000a}
 .game-shell .shell-top #club-menu,.game-shell .shell-top #content-account-menu #social-panel{position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;max-width:none;max-height:85dvh;border:0;border-radius:16px 16px 0 0;padding:10px 14px calc(16px + var(--safe-bottom,0px))}
 .game-shell .shell-top #club-menu::before,.game-shell .shell-top #social-panel::before{content:'';display:block;margin:0 auto 10px;width:40px;height:4px;border-radius:2px;background:#3a4856}
 .game-shell .shell-top #content-account-menu #social-panel{height:min(80dvh,780px)}
 .game-shell main{padding-bottom:calc(76px + var(--safe-bottom,0px))}
 body.game-shell main:has(#squad-panel:not([hidden])){padding-bottom:calc(124px + var(--safe-bottom,0px))}
 body.game-shell #training-panel .training-footer{bottom:calc(var(--mobile-nav-height) + var(--safe-bottom,0px))}
}
@media(max-width:360px){
 body.game-shell .shell-top .topbar{padding:0 7px;gap:5px}
 .game-shell .shell-top #content-account-menu:not([hidden]){gap:4px}
 .game-shell .shell-top #content-account-menu #header-balance{font-size:12px}
 .game-shell .shell-top #subnavigation button{font-size:13px;padding:6px 10px}
}
#social-panel .social-header{padding:9px 12px;border:0}
#social-panel #social-close{width:34px;height:34px;padding:0;color:#aab4bf;background:transparent;border:0;font-size:23px}
#social-panel .social-tabs{gap:4px;padding:0 10px 8px;border-color:#2a3846}
#social-panel .social-tabs button{flex:none;border:0;border-radius:15px;background:#26323e;color:#aab4bf;padding:6px 12px;font-size:13px}
#social-panel .social-tabs button[aria-selected=true]{background:#2f6e57;color:white;box-shadow:none}
#social-panel .social-message{width:fit-content;max-width:92%;border-radius:8px;background:#26323e}
#social-panel .own-message{margin-left:auto;background:#20654f}
#social-panel .social-message-heading{gap:12px}
#social-panel #social-input{min-width:0;background:#111a24;color:#e6e9ee;border:1px solid #2f3e4d;border-radius:7px}

.game-shell .shell-top #match-alert .match-label-compact{display:none}
@media(max-width:359px){
 .game-shell .shell-top #match-alert .match-label-short{display:none}
 .game-shell .shell-top #match-alert .match-label-compact{display:inline}
}
