@layer wg-ft1 {
/* Clear active navigation, aligned favorites, and opaque chat surfaces. */
html body :is(.mp-nav-item,.wg-shell-nav-item):is([aria-current="page"],.active,.is-active)::before{content:none!important;display:none!important}
html body :is(.mp-nav-item,.wg-shell-nav-item):is([aria-current="page"],.active,.is-active){transform:none!important;outline-offset:0;box-shadow:inset 0 0 0 1px #f2829650!important}
html body .mp-game>.mp-favorite,html body [data-game-card]>.mp-favorite{position:absolute!important;top:10px!important;right:10px!important;bottom:auto!important;left:auto!important;width:30px!important;height:30px!important;margin:0!important;padding:6px!important;display:grid!important;place-items:center!important;transform:none!important;z-index:6!important;border-radius:10px!important}
html body .mp-favorite svg{display:block!important;width:17px!important;height:17px!important;margin:0!important;transform:none!important;flex:none}
html body .wg-help-panel{position:fixed!important;top:80px!important;bottom:90px!important;left:18px!important;right:auto!important;height:auto!important;max-height:calc(100dvh - 170px)!important;background:#18171f!important;background-image:none!important;isolation:isolate;box-shadow:0 18px 70px #0009!important}
html body .wg-help-head{background:#1c1a24!important;border-bottom-color:#ffffff18!important;min-height:70px!important;padding:16px 20px!important}
html[data-theme="light"] body .wg-help-panel,html[data-theme="light"] body .wg-help-head{background:#faf7f8!important}
html body .wg-help-panel::before,html body .wg-help-panel::after{display:none!important}
html body .wg-live-online-panel{gap:7px!important;padding-inline:15px!important}
html body .wg-live-online-panel .wg-live-kicker{line-height:1.4!important;letter-spacing:.035em!important;white-space:nowrap}
html body .wg-live-online-panel [data-wg-online-count]{margin-left:5px!important;font-variant-numeric:tabular-nums}
html body :is(.wg-rank-hero,.rk-hero,.ranking-hero,.mp-rank-hero){padding-inline:clamp(22px,3vw,44px)!important}
html body .wg-account :is(.wg-auth-methods,.wg-login-methods,.wg-methods){display:flex;flex-wrap:wrap;align-items:stretch;gap:12px}
html body .wg-account :is([data-use-email],[data-use-telegram],[data-use-phone],[data-use-local]){min-height:48px;white-space:normal;line-height:1.4;padding:11px 16px}
html body .wg-account :is(.wg-form-error,.wg-msg,[role="alert"]){line-height:1.5;overflow-wrap:anywhere;margin-block:10px}
.wp-lobby-page{max-width:1200px;margin:0 auto;padding:35px 20px 70px;color:#f4f1f6;font:16px/1.5 Arimo,system-ui}.wp-lobby-page h1{font-size:clamp(30px,5vw,52px);letter-spacing:-.04em;margin:15px 0 12px}.wp-lobby-page>p{color:#bcb4c4;margin-bottom:30px}.wp-lobby-page .wp-lobby{grid-template-columns:repeat(4,minmax(0,1fr))}.wp-lobby-brand{color:#dec581;font-size:12px;letter-spacing:.14em}.wp-lobby-search{width:min(450px,100%);padding:14px 16px;margin-bottom:25px;background:#211d28;border:1px solid #60505e;border-radius:12px;color:#fff;font:inherit}
@media(min-width:1000px){html body .wg-help-panel{left:calc(var(--wg-nav-w,76px) + 18px)!important;width:min(480px,calc(100vw - 130px))!important}}
@media(max-width:700px){html body .wg-help-panel{left:10px!important;right:10px!important;width:auto!important;top:70px!important;bottom:88px!important;max-height:calc(100dvh - 158px)!important;border-radius:16px!important}.wp-lobby-page .wp-lobby{grid-template-columns:repeat(2,minmax(0,1fr))}.wp-lobby-page{padding:24px 14px 80px}}

html body .wg-shell-nav-item.wg-shell-nav-item.wg-shell-nav-item.active::before{display:none!important;content:none!important}html body .wg-shell-nav-item.wg-shell-nav-item.wg-shell-nav-item.active{transform:none!important}
}
@layer wg-ft1 {
html body .wsm-overlay .wsm .wsm-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;border:0!important;padding:5px!important;background:#100e14!important;border-radius:14px!important;margin-bottom:18px!important}
html body .wsm-overlay .wsm .wsm-tabs button{padding:12px 15px!important;border-radius:10px!important;border:1px solid #ffffff1a!important;background:#231d27!important;box-shadow:none!important;min-height:48px!important}
html body .wsm-overlay .wsm .wsm-tabs button[aria-selected=true]{background:#5a2538!important;border-color:#c56883!important;color:#fff!important}
html body .wsm-overlay .wsm .wsm-tabs button::after{display:none!important}
html body :is(.rk-status,.rankings-status) .rk-dot{margin-right:8px}
}
