/* Shared header: the game page and every community page use these same rules. */
.site-header .settings-link{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border:1px solid #414752;border-radius:7px;color:#c9cdd5;background:transparent}.site-header .settings-link:hover{color:#fff;background:#303641}
.site-header{height:52px;min-height:52px;display:flex;align-items:center;flex-wrap:nowrap;gap:28px;padding:0 24px 0 32px;background:#15171b;border-bottom:1px solid #242933;font:14px/1.5 'Segoe UI',Arial,sans-serif;color:#f1f2f5}.site-header .brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:800;letter-spacing:-.6px;white-space:nowrap}.site-header .brand .brand-icon{display:inline-block;color:#4d87d8;font-size:33px;line-height:1;margin:0;vertical-align:baseline}.site-header .site-nav{display:flex;align-items:center;gap:16px;border-left:1px solid #333943;padding:0 0 0 28px;margin:0;white-space:nowrap}.site-header .site-nav a,.site-header .site-nav a.current{font-size:14px;font-weight:700;color:#f2f3f6;letter-spacing:0}.site-header .site-nav a:hover{color:#abc5e9}.site-header .account{display:flex;align-items:center;gap:14px;margin-left:auto;border-left:1px solid #333943;padding-left:32px;white-space:nowrap}.site-header .account>a.avatar{display:block;flex:none;width:36px;height:36px;border:2px solid #444c59;border-radius:50%;background:#546575 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath fill='%230674d4' d='M3 48V34q21-17 42 0v14'/%3E%3Crect x='14' y='7' width='21' height='27' rx='9' fill='%23e1b17c'/%3E%3Cpath fill='%23552f1b' d='m11 18 2-12 6-2 4-3 6 4 7 1 3 11-6-5-2 5-5-7-4 5-6-3-1 8'/%3E%3Cpath d='M20 21v2m10-2v2m-9 4q4 4 8 0' stroke='%23452d22' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/cover no-repeat;filter:saturate(.65)}.site-header .account>a.profile-link{display:block;font-size:15px;font-weight:750;color:#f1f2f5;line-height:1.5}.site-header .account button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:32px;padding:6px 14px;border:1px solid #464c58;border-radius:7px;background:#24272e;color:#f1f2f5;font:600 12px/1.5 'Segoe UI',Arial,sans-serif;box-shadow:none;cursor:pointer}.site-header .account button:hover{background:#303641}.site-header .account button.primary,.site-header .account button.light{background:#2b6fce;border-color:#2b6fce}.site-header .account button.primary:hover,.site-header .account button.light:hover{background:#3980e1}.site-header [hidden]{display:none!important}.site-header a:focus-visible,.site-header button:focus-visible{outline:2px solid #96b3e4;outline-offset:3px}.site-header+main#content{min-height:calc(100dvh - 52px)}
@media(max-width:1000px){.site-header{padding:0 18px;gap:20px}.site-header .site-nav{padding-left:20px;gap:14px}.site-header .account{padding-left:18px;gap:10px}}
@media(max-width:800px){.site-header{gap:12px}.site-header .brand{font-size:20px}.site-header .brand .brand-icon{font-size:29px}.site-header .site-nav{gap:12px;padding-left:14px}.site-header .site-nav a{font-size:12px}.site-header .account>a.profile-link{font-size:12px}.site-header .account button{padding:6px 10px;font-size:11px}.site-header .account{gap:8px;padding-left:12px}}
@media(max-width:650px){.site-header{height:auto;min-height:56px;padding:10px 12px;flex-wrap:wrap;gap:10px;row-gap:10px}.site-header .site-nav{order:3;width:100%;border-left:0;border-top:1px solid #30343c;padding:9px 0 0;gap:22px}.site-header .site-nav a{font-size:12px}.site-header .account{padding-left:10px;gap:8px;margin-left:auto}.site-header .account>a.avatar{display:none}.site-header .account>a.profile-link{font-size:12px}.site-header .account button{font-size:10px;padding:6px 9px}}
.site-header .account #accountName,.site-header .account #myName{font-size:15px;font-weight:750;line-height:1.5}@media(max-width:800px){.site-header .account #accountName,.site-header .account #myName{font-size:12px}}
.site-header .account>a.profile-link{gap:normal}
@media(max-width:800px){.site-header .site-nav a.current{font-size:12px}}
.password-row{display:flex;gap:6px;align-items:center}.password-row input{min-width:0;flex:1}.password-row button{padding:10px!important;width:auto!important;margin:0!important;flex:none}.register-fields{display:grid;gap:9px;margin-top:12px}.register-fields label{margin:4px 0}.register-fields select{background:#17191e;color:#eee;padding:11px;border:1px solid #42464f;border-radius:6px}.register-fields .robot-check{display:flex;gap:9px;align-items:center}.robot-check input{width:18px;height:18px;flex:none}.coin-wallet{color:#d8e5b3!important;display:flex;align-items:center;gap:5px;font-size:12px!important}
.site-header .account>a.button{font-size:12px;padding:7px 13px;border:1px solid #3b424d;border-radius:6px;justify-content:center}.site-header .account>a.primary{background:#2873e8;color:white;border-color:#2873e8}
.site-header .account .header-messages{display:flex;gap:6px;font-size:12px;color:#c0c7d2}.header-messages>span:first-child{font-size:22px}.site-header .account .coin-wallet{border:1px solid #3a424b;background:#20252b;padding:5px 9px;border-radius:6px;font-size:12px;gap:5px}.site-header .account .admin-switch{font-size:11px;border:1px solid #414956;border-radius:5px;padding:4px 7px;color:#b8c4d6}.notifications-menu{position:relative}.site-header .notification-bell{position:relative;display:grid;place-items:center;padding:5px;width:34px;height:34px;background:transparent;border:0}.notification-bell #notificationCount{position:absolute;top:-4px;right:-5px;border:2px solid #15171b;min-width:19px;height:19px;line-height:15px;text-align:center;font-size:10px;border-radius:12px;background:#d54451;color:white;padding:0 3px}.site-header #headerNotifications{position:absolute;z-index:1000;top:43px;right:0;width:360px;max-width:calc(100vw - 28px);background:#1b1e24;border:1px solid #434b57;border-radius:10px;box-shadow:0 16px 50px #0009;white-space:normal;color:#eceff3}.notification-title{display:flex;justify-content:space-between;align-items:center;padding:15px 16px;border-bottom:1px solid #333b46}.notification-title a{font-size:11px;color:#a8c4ed}.site-header #notificationList{max-height:410px;overflow:auto}.notification{display:flex;flex-direction:column;padding:14px 16px;border-bottom:1px solid #323944;gap:6px;font-size:12px}.notification:last-child{border:0}.notification span{color:#aeb8c5;line-height:1.5;overflow-wrap:anywhere}.notification strong{font-size:12px}.notification-actions{display:flex;gap:8px;margin-top:4px}.site-header .notification-actions button{padding:5px 10px;font-size:11px}.notifications-empty{padding:18px;color:#a4adba;font-size:12px;line-height:1.6;margin:0}@media(max-width:1050px){.site-header .account{gap:9px;padding-left:16px}.message-label{display:none!important}.site-header .account .profile-link{max-width:110px;overflow:hidden;text-overflow:ellipsis}.site-header .site-nav{gap:12px;padding-left:18px}.site-header{gap:18px}}@media(max-width:650px){.site-header .account{flex-wrap:wrap;justify-content:flex-end;padding-left:0;border:0;max-width:100%;gap:8px}.site-header .account .profile-link{max-width:95px}.site-header .account>a.avatar{display:block;width:28px;height:28px}.site-header #headerNotifications{right:-50px}}
.site-header .account .notification-bell{display:grid;place-items:center;width:34px;height:34px;padding:5px;border:0;background:transparent;flex:none;color:#cad4e2}.site-header .account .notification-bell svg{display:block;width:23px;height:23px;min-width:23px;flex:none}
.site-header .site-nav{align-self:stretch;gap:8px;padding-left:16px}.site-header .site-nav a{display:flex;align-items:center;justify-content:center;min-width:88px;padding:0 20px;transition:background .15s,color .15s;border-bottom:2px solid transparent}.site-header .site-nav a:hover,.site-header .site-nav a:focus-visible{background:#2a303b;color:#fff}.site-header .site-nav a.current{background:#222832;border-bottom-color:#4c88db}@media(max-width:800px){.site-header .site-nav{gap:4px;padding-left:8px}.site-header .site-nav a{min-width:64px;padding:0 12px}}@media(max-width:650px){.site-header .site-nav{gap:8px;padding:0}.site-header .site-nav a{min-height:42px;flex:1}}
.site-header .site-nav{align-items:stretch}.site-header .site-nav a{align-self:stretch}

[data-avatar-id]{position:relative!important;background-size:cover!important;background-position:center!important;filter:none!important;overflow:visible!important}.avatar-status{position:absolute;right:0;bottom:0;width:13px;height:13px;border:2px solid #17191e;border-radius:50%;background:#737984;z-index:2}.avatar-status.site{background:#358bea}.avatar-status.game{background:#46ce77}.site-header .avatar-status{width:11px;height:11px;right:-1px;bottom:-1px}.presence.offline{background:#737984!important}.site-header .site-nav a{min-width:70px;padding:0 14px}

.site-header .brand img.brand-icon{display:block;width:27px;height:27px;object-fit:contain;flex:none}@media(max-width:800px){.site-header .brand img.brand-icon{width:24px;height:24px}}

.avatar-status.offline,.presence.offline{display:none!important}
