.community-panel{max-width:900px;margin:0 auto;width:100%;box-sizing:border-box}.community-title{display:flex;justify-content:space-between;align-items:center;gap:20px}.community-title h2{font:750 26px/1.2 system-ui!important;margin:10px 0!important}.community-panel button{cursor:pointer;border:0;border-radius:9px;padding:11px 18px;font:700 13px system-ui;background:#b87b32;color:#fff}.community-panel button:disabled{opacity:.5}.community-panel button:focus-visible{outline:2px solid #ffd184;outline-offset:3px}.community-panel button:hover{filter:brightness(1.15)}.community-composer,.community-post,.community-empty{border:1px solid #ffffff12!important;background:#26272b!important;border-radius:14px!important;padding:20px!important;margin:18px 0!important}.community-composer header,.community-post header{display:flex;align-items:center;gap:12px}.community-avatar{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;overflow:hidden;background:linear-gradient(140deg,#a86d31,#5a3c84);color:#fff;font:700 21px system-ui}.community-avatar img{width:100%;height:100%;object-fit:cover}.community-post header>div,.community-composer header>div{flex:1}.community-panel small{display:block;color:#acaeb6;font-size:11px;margin:4px 0}.community-composer textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:90px;background:#323338;border:0;border-radius:12px;padding:15px;color:#fff;font:15px/1.5 system-ui}.community-composer label{color:#ddd!important;font-size:13px!important}.composer-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.composer-actions>button{margin-left:auto}.file-pick{border-radius:8px;background:#36373d;padding:10px!important;cursor:pointer}.file-pick input{display:none}.highlight-file-name{font-size:11px;color:#b3b4ba;max-width:230px;overflow-wrap:anywhere}.community-post p{white-space:pre-wrap;overflow-wrap:anywhere;color:#e3e3e7!important;font-size:15px!important}.community-post-media{display:block;max-height:550px;width:100%;object-fit:contain;border-radius:9px;background:#141518}.community-post footer{margin-top:14px;padding-top:12px;border-top:1px solid #ffffff14}.community-post footer button{background:#35363d;color:#d8d9e0}.community-post footer .is-liked{color:#ffc56f;background:#5a432b}.community-post header>button{background:transparent;color:#aaa;font-size:11px}.community-status:empty{display:none}.community-status{color:#ffd184!important}.community-footnote{font-size:11px!important;text-align:center}.profile-cover{border-radius:16px;background:radial-gradient(circle at 75% 20%,#94723a80,transparent 60%),linear-gradient(120deg,#313644,#1a1c24);padding:35px}.profile-cover span{font-size:10px;letter-spacing:.2em;color:#ffc974}.profile-cover h2{font:800 36px system-ui!important;margin:12px 0!important}.community-profile-form{background:#26272b!important;padding:25px!important}.profile-photo-preview .community-avatar{width:110px;height:110px;font-size:48px;border:4px solid #b28b50}.community-profile-form input:not([type=checkbox]){background:#33343a!important;border-color:#ffffff25!important}.community-profile-form input[type=checkbox]{width:auto!important;min-height:0!important;display:inline}.community-profile-form label{color:#e1e1e6!important}.community-profile-form button{margin-top:20px}.profile-remove-photo{display:flex!important;align-items:center;gap:10px}.social-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.account-page:has(#account-tab-social:not([hidden])),.account-page:has(#account-tab-community:not([hidden])),.account-page:has(#account-tab-profile:not([hidden])){background:#1c1d20}.account-page:has(#account-tab-community:not([hidden])):before,.account-page:has(#account-tab-profile:not([hidden])):before,.account-page:has(#account-tab-social:not([hidden])):before{display:none}.account-page:has(.community-panel:not([hidden])) #credit-account,.account-page:has(#account-tab-social:not([hidden])) #credit-account{background:transparent!important;border:0!important;box-shadow:none!important}.account-page:has(.community-panel:not([hidden])) .credit-rates,.account-page:has(.community-panel:not([hidden])) #account-welcome,.account-page:has(#account-tab-social:not([hidden])) .credit-rates,.account-page:has(#account-tab-social:not([hidden])) #account-welcome{display:none!important}.account-page:has(.community-panel:not([hidden])) .credit-top,.account-page:has(#account-tab-social:not([hidden])) .credit-top{margin-bottom:15px!important}.account-page .account-tab-content.community-panel,.account-page .account-tab-content.social-panel{background:transparent!important;box-shadow:none!important;border:0!important}.account-page:has(.community-panel:not([hidden])) .account-section-button,.account-page:has(#account-tab-social:not([hidden])) .account-section-button{background:transparent;border-color:transparent;padding:16px 20px;border-radius:10px}.account-page:has(.community-panel:not([hidden])) .account-section-button[aria-pressed=true],.account-page:has(#account-tab-social:not([hidden])) .account-section-button[aria-pressed=true]{background:#3b3328;color:#ffd08a}.account-page:has(.community-panel:not([hidden])) .account-page-header,.account-page:has(#account-tab-social:not([hidden])) .account-page-header{background:#26272b!important}.account-page .social-layout{background:#26272b;border-color:#ffffff15}.account-page .social-sidebar{background:#222327}.account-page .social-chat-head{background:#2a2b30}.account-page .social-bubble{background:#3b3c44}.account-page .social-bubble.is-own{background:#745328}.account-page .social-panel button{background:#3d3a35;border-color:#ffffff16;color:#f1d8b4}.account-page .social-panel form{background:transparent;border:0;padding:0}.account-page .social-panel h2{font:750 27px system-ui!important}.account-page .social-messages{height:420px}@media(max-width:650px){.community-title{align-items:flex-start}.community-title h2{font-size:22px!important}.community-title>button{font-size:11px;padding:9px}.community-composer,.community-post{padding:14px!important}.community-panel{min-width:0}.composer-actions{gap:8px}.composer-actions>button{width:100%}.profile-cover{padding:24px}.account-page .social-messages{height:320px}}
.profile-view{background:#1d1e20;border-radius:14px;overflow:hidden}.profile-banner{height:300px;background:linear-gradient(130deg,#353a44,#25252d 60%,#312d24);position:relative}.profile-banner>img{width:100%;height:100%;object-fit:cover}.profile-banner>button{position:absolute;bottom:20px;right:22px;background:#ececf1;color:#202127}.profile-identity{display:flex;align-items:center;gap:23px;padding:0 28px 25px;background:#26272b}.profile-large-avatar{margin-top:-35px;position:relative}.profile-large-avatar .community-avatar{width:145px;height:145px;font-size:60px;border:5px solid #26272b}.profile-identity>div:nth-child(2){flex:1}.profile-identity h2{font:800 30px system-ui!important;margin:18px 0 5px!important}.profile-identity p{margin:0}.profile-tabs{display:flex;padding:12px 25px;gap:10px;border-top:1px solid #ffffff18;background:#26272b}.profile-tabs button{background:transparent;color:#bfc0ca}.profile-tabs button:first-child{color:#63a7ff;border-bottom:3px solid #63a7ff;border-radius:0}.profile-columns{display:grid;grid-template-columns:.75fr 1.25fr;gap:18px;padding:20px 0}.profile-info-card,.profile-post-toolbar{background:#27282c;border-radius:12px;padding:20px;margin-bottom:18px}.profile-info-card h3,.profile-post-toolbar h3{margin:0!important;font:750 19px system-ui!important}.profile-post-toolbar{display:flex;align-items:center;justify-content:space-between}.profile-own-posts .community-post:first-child{margin-top:0!important}.profile-own-posts.is-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profile-own-posts.is-grid .community-post{margin:0!important}.profile-editor[hidden]{display:none!important}.profile-editor textarea{display:block;width:100%;box-sizing:border-box;background:#34353b;border:1px solid #ffffff25;color:#eee;border-radius:10px;padding:12px}.social-topbar.account-page{background:#1c1d20}.social-topbar .account-page-header{position:fixed;top:0;left:0;right:0;z-index:35;max-width:none!important;height:70px;box-sizing:border-box;padding:12px 24px!important;background:#252628!important;border-bottom:1px solid #ffffff16;justify-content:flex-start;gap:15px}.social-topbar .account-page-header>a{font-size:20px}.social-topbar .account-page-header>nav{display:none}.social-topbar .account-page-header .shop-locale{z-index:40}.social-topbar .top-player-search{display:flex;position:relative;margin:0;background:#3a3b3e;border-radius:25px;width:190px;padding:0;border:0}.top-player-search input{min-width:0;width:100%;border:0;outline:0;padding:12px 35px 12px 15px;border-radius:25px;color:#e9e9ed;background:transparent;font:13px system-ui}.top-player-search button{position:absolute;right:8px;top:7px;border:0;color:#ccd0da;background:transparent;font-size:23px;cursor:pointer}.social-topbar .account-section-nav{position:fixed!important;z-index:40!important;left:50%!important;top:0!important;transform:translateX(-50%);width:510px!important;max-width:45vw!important;height:70px;display:flex!important;align-items:stretch;gap:5px!important;background:transparent!important;padding:0!important;border:0!important;overflow:visible!important;box-shadow:none!important}.social-topbar .account-section-nav>button{min-width:0!important;flex:1;padding:14px!important;border:0!important;border-radius:7px!important;margin:5px 0!important;background:transparent!important;position:relative;display:grid!important;place-items:center;font-size:0!important;box-shadow:none!important}.social-topbar .account-section-nav>button:before{content:''!important;display:block!important;width:25px!important;height:25px!important;background-size:contain!important;background-repeat:no-repeat!important;border:0!important;border-radius:0!important}.social-topbar .account-section-nav>button[data-icon=community]:before{background-image:url('assets/nav-community.svg')}.social-topbar .account-section-nav>button[data-icon=shop]:before{background-image:url('assets/nav-shop.svg')}.social-topbar .account-section-nav>button[data-icon=game-pass]:before{background-image:url('assets/nav-game-pass.svg')}.social-topbar .account-section-nav>button[data-icon=social]:before{background-image:url('assets/nav-social.svg')}.social-topbar .account-section-nav>button[data-icon=profile]:before{background-image:url('assets/nav-profile.svg')}.social-topbar .account-section-nav>button[aria-pressed=true]{border-bottom:3px solid #5d9eff!important;border-radius:0!important}.social-topbar .account-section-nav>button:hover{background:#ffffff0d!important;transform:none!important}.account-more-menu{position:relative;align-self:center}.account-more-menu summary{cursor:pointer;color:#d4d5dd;padding:14px;list-style:none;background:#38393d;border-radius:50%}.account-more-menu>div{position:absolute;top:55px;right:0;min-width:230px;padding:10px;background:#292a30;border:1px solid #ffffff20;border-radius:14px;box-shadow:0 15px 30px #0008}.account-more-menu button{display:block!important;width:100%!important;text-align:left!important;min-height:45px;background:transparent!important;color:#ddd!important;font-size:13px!important}.social-topbar #account-wallet{display:block!important}.social-topbar .credit-top{display:none!important}.social-topbar #credit-account{margin-top:0!important}.social-topbar main{display:block!important;max-width:1280px!important;margin:85px auto 30px!important}.social-topbar .account-tab-content{width:100%;box-sizing:border-box}.social-topbar #account-tab-profile{max-width:1200px!important}.social-topbar .credit-rates{margin:20px 0!important}.social-topbar .account-footer-actions{justify-content:center}.social-topbar #account-status{top:75px}.social-topbar .account-section-nav>button[title='Friends & messages']:after{content:attr(data-badge);color:#fff;font-size:10px;position:absolute;right:18px;top:3px;background:#bf4242;border-radius:10px;padding:0 4px}.social-topbar .account-section-nav>button:not([data-badge]):after,.social-topbar .account-section-nav>button[data-badge='0']:after{display:none}@media(max-width:1000px){.social-topbar .top-player-search{display:none}.social-topbar .account-section-nav{left:48%!important;max-width:55vw!important;width:440px!important}.social-topbar .account-page-header>a{font-size:16px!important}}@media(max-width:650px){.social-topbar .account-page-header{height:60px;padding:10px!important}.social-topbar .account-page-header>a{font-size:13px!important;letter-spacing:1px}.social-topbar .account-section-nav{top:60px!important;left:0!important;width:100%!important;max-width:none!important;transform:none;height:55px;background:#252628!important;border-top:1px solid #ffffff15!important}.social-topbar main{margin-top:125px!important;padding:0 6px!important}.social-topbar .account-section-nav>button:before{width:22px!important;height:22px!important}.profile-banner{height:180px}.profile-large-avatar .community-avatar{width:90px;height:90px;font-size:40px}.profile-identity{padding:0 15px 15px;gap:12px;flex-wrap:wrap}.profile-identity h2{font-size:23px!important}.profile-identity>button{margin-left:auto;font-size:12px}.profile-columns{grid-template-columns:1fr}.profile-columns>aside{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profile-info-card{padding:14px;margin:0}.profile-info-card h3{font-size:16px!important}.profile-banner>button{font-size:11px;padding:9px}.profile-own-posts.is-grid{grid-template-columns:1fr}.social-topbar .account-more-menu>div{right:0}.social-topbar .account-section-nav>button[title='Friends & messages']:after{right:9px}}
/* Header lives outside the dialog so its fixed position is viewport-based. */
.social-topbar .account-page-header>nav.account-section-nav{display:flex!important;position:absolute!important;left:50%!important;top:0!important;width:500px!important;max-width:43vw!important;flex-flow:row nowrap!important;transform:translateX(-50%)!important;box-sizing:border-box!important}.social-topbar .account-page-header .account-section-nav>button{width:auto!important;max-width:none!important;flex:1 1 0!important;min-width:0!important;grid-column:auto!important;box-sizing:border-box!important}.social-topbar #credit-account{transform:none!important}.social-topbar,.social-topbar main,.social-topbar #credit-account,.social-topbar #account-wallet{max-width:100%;box-sizing:border-box}.social-topbar main{overflow:clip}.social-topbar .community-panel,.social-topbar .social-panel{min-width:0}.social-topbar .profile-columns>*{min-width:0}.player-profile-actions{display:flex;gap:10px;flex-wrap:wrap}.social-person strong[role=button],.community-post strong[role=button]{cursor:pointer}.social-person strong[role=button]:hover,.community-post strong[role=button]:hover{text-decoration:underline}.social-topbar .account-page-header .account-section-nav{overflow:visible!important}.social-topbar .profile-info-card p{overflow-wrap:anywhere}@media(max-width:650px){.social-topbar .account-page-header>nav.account-section-nav{position:absolute!important;top:60px!important;left:0!important;width:100%!important;max-width:100%!important;transform:none!important;height:55px!important}.social-topbar .profile-columns>aside{grid-template-columns:1fr}.social-topbar .player-profile-actions{margin-left:0}.social-topbar #credit-account{padding:8px!important}}
.social-topbar:has(#account-tab-social:not([hidden])) main{max-width:none!important;margin:70px 0 0!important;padding:0!important}.social-topbar:has(#account-tab-social:not([hidden])) #credit-account{padding:0!important;width:100%!important;max-width:none!important;border-radius:0!important}.social-topbar:has(#account-tab-social:not([hidden])) .account-tab-content.social-panel{padding:0!important;max-width:none!important}.social-topbar:has(#account-tab-social:not([hidden])) .social-heading{display:none}.social-topbar:has(#account-tab-social:not([hidden])) .account-footer-actions{display:none}.social-topbar:has(#account-tab-social:not([hidden])) .social-layout{grid-template-columns:340px minmax(0,1fr);height:calc(100dvh - 70px);border:0;border-radius:0;background:#1c1d20;gap:0}.social-topbar .social-sidebar{max-height:none;padding:20px;box-sizing:border-box}.social-topbar .social-chat{padding:14px;background:#1b1c1f;min-height:0}.social-topbar .social-chat-head{border-radius:12px 12px 0 0}.social-topbar .social-messages{height:auto!important;flex:1;background:#232428;min-height:0;border-radius:0 0 12px 12px}.social-topbar .social-chat:has(.social-compose[hidden]) .social-chat-head{display:grid;place-items:center;flex:1;border:0;border-radius:14px;background:#232428;font:750 22px system-ui;text-align:center;padding:25px}.social-topbar .social-chat:has(.social-compose[hidden]) .social-chat-head:before{content:'◌';font-size:85px;color:#9482d3;display:block}.social-topbar .social-chat:has(.social-compose[hidden]) .social-messages{display:none}.social-topbar .social-chat>small{text-align:center}.messenger-title{font:800 27px system-ui!important;margin:0 0 18px!important}.messenger-filters{display:flex;gap:8px;margin:15px 0}.messenger-filters button[aria-pressed=true]{background:#30475d!important;color:#8cc4ff!important}.social-topbar .social-avatar{width:45px;height:45px}.social-topbar .social-compose{padding:15px!important;background:#232428!important}.social-topbar .social-person{padding:15px 0}.profile-level{color:#8fc4ff!important;font-weight:700}@media(max-width:650px){.social-topbar:has(#account-tab-social:not([hidden])) main{margin-top:115px!important}.social-topbar:has(#account-tab-social:not([hidden])) .social-layout{grid-template-columns:1fr;height:auto;min-height:calc(100dvh - 115px)}.social-topbar .social-sidebar{max-height:350px!important}.social-topbar .social-chat{min-height:400px}}
.voice-panel{position:fixed;z-index:100;right:25px;bottom:25px;width:320px;max-width:calc(100vw - 40px);box-sizing:border-box;padding:22px;border-radius:18px;border:1px solid #696276;background:linear-gradient(140deg,#33303e,#202127);color:#fff;box-shadow:0 12px 50px #0009;font:14px system-ui}.voice-panel[hidden]{display:none}.voice-panel strong{display:block;font-size:21px}.voice-panel p{line-height:1.5;color:#d2c9df}.voice-controls{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.voice-controls button{border:0;border-radius:8px;padding:11px 14px;background:#6855af;color:#fff;cursor:pointer}.voice-controls button:last-child{background:#3a3c44}.voice-panel small{font-size:10px;color:#b5afc1}
body.social-topbar:not(.account-signed-in) .account-page-header>nav.account-section-nav{display:none!important}
.social-topbar .social-chat:has(.social-compose[hidden]) .social-chat-head:before{content:'';width:85px;height:85px;background:url('assets/nav-social.svg') center/contain no-repeat;opacity:.75}.social-topbar:has(#account-tab-social:not([hidden])) .companion-wrap{display:none}
.friends-panel{max-width:1050px;margin:0 auto}.friends-heading h2{font:800 30px system-ui!important;margin:10px 0!important}.friends-tools{padding:20px;background:#25262c;border-radius:14px;margin:18px 0}.friends-tools .social-search{margin:0!important;padding:0!important;border:0!important;background:none!important}.friends-tools .social-search>div{flex-wrap:nowrap}.friends-tools .social-search input{flex:1}.friends-columns{display:grid;grid-template-columns:1fr 1.4fr;gap:22px;margin:24px 0}.friends-columns>section{background:#25262b;border-radius:14px;padding:20px;min-width:0}.friends-directory{display:grid;gap:8px}.friends-panel .social-person{background:#ffffff04;border:1px solid #ffffff0e;border-radius:10px;padding:14px;gap:10px}.friends-panel .social-requests{display:grid;gap:10px}.friends-panel h3{font:750 18px system-ui!important;margin:0 0 16px!important}.friends-panel details{background:#25262b;padding:18px;border-radius:12px}.friends-notice:empty{display:none}.friends-notice{color:#a7ccff!important}.chat-local-search{width:100%;box-sizing:border-box;border:0;border-radius:22px;background:#35363c!important;color:#fff;padding:13px 16px;margin:10px 0;min-height:44px}.social-topbar .account-section-nav>button[data-icon=friends]:before{background-image:url('assets/nav-friends.svg')}.social-topbar .account-page-header>nav.account-section-nav{width:510px!important;max-width:44vw!important}.social-topbar .account-section-nav>button[title=Chats]:after,.social-topbar .account-section-nav>button[title=Friends]:after{content:attr(data-badge);color:#fff;font-size:10px;position:absolute;right:13px;top:3px;background:#bf4242;border-radius:10px;padding:0 4px}.social-topbar:has(#account-tab-friends:not([hidden])){background:#1c1d20}.social-topbar:has(#account-tab-friends:not([hidden])):before{display:none}.social-topbar:has(#account-tab-friends:not([hidden])) #credit-account{background:transparent!important;border:0!important;box-shadow:none!important}.social-topbar:has(#account-tab-friends:not([hidden])) .credit-rates,.social-topbar:has(#account-tab-friends:not([hidden])) #account-welcome{display:none!important}.account-page .account-tab-content.friends-panel{background:none!important;border:0!important}.friends-panel .social-heading{display:none}.social-person[hidden]{display:none!important}@media(max-width:650px){.friends-columns{grid-template-columns:1fr}.friends-tools{padding:14px}.friends-tools .social-search>div{flex-wrap:wrap}.social-topbar .account-page-header>nav.account-section-nav{width:100%!important;max-width:100%!important}}
.ladder-player .ladder-game-level{display:inline-block!important;margin-top:5px;color:#9cc8ff!important;font-size:10px!important;letter-spacing:.02em}.ladder-player .ladder-game-level:empty{display:none!important}
.ladder-profile-avatar{display:grid;place-items:center;width:42px;height:42px;overflow:hidden;border-radius:50%;border:1px solid #d5ae6c88;background:linear-gradient(140deg,#30344c,#171722);color:#edd6a7;font:800 13px system-ui;flex:none}.ladder-profile-avatar img{width:100%;height:100%;object-fit:cover}.ladder-player{grid-template-columns:42px 42px minmax(0,1fr) auto!important}
.live-ladder .ladder-player{display:grid!important;grid-template-columns:34px 42px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important}.live-ladder .ladder-score{display:grid;grid-template-columns:auto auto;align-items:center;column-gap:12px;justify-content:end}.live-ladder .ladder-score>strong{grid-column:1;grid-row:1}.live-ladder .ladder-score>small{grid-column:1;grid-row:2}.live-ladder .ladder-score>.ladder-leader-crown{grid-column:2;grid-row:1/3;position:static!important;display:block;align-self:center;margin:0!important;font-size:24px!important}.live-ladder .ladder-player>div:not(.ladder-score){min-width:0}@media(max-width:500px){.live-ladder .ladder-player{grid-template-columns:28px 32px minmax(0,1fr) auto!important;gap:8px!important}.ladder-profile-avatar{width:32px;height:32px}.live-ladder .ladder-score{column-gap:5px}.live-ladder .ladder-score>.ladder-leader-crown{font-size:18px!important}}
/* Ten players per mode, five equally sized player cards per desktop row. */
.live-ladder .ladder-modes{grid-template-columns:minmax(0,1fr)!important;gap:22px}.live-ladder .ladder-players-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:12px}.live-ladder .ladder-player{position:relative;display:grid!important;grid-template-columns:28px 38px minmax(0,1fr)!important;grid-template-rows:auto 1fr auto;align-items:start!important;min-height:170px;box-sizing:border-box;padding:16px 12px!important;border:1px solid #ffffff16!important;border-radius:12px;gap:10px!important;background:#121018;overflow:hidden}.live-ladder .ladder-player .ladder-number{grid-column:1;grid-row:1;width:27px;height:31px;font-size:18px!important}.live-ladder .ladder-player .ladder-profile-avatar{grid-column:2;grid-row:1;width:36px;height:36px}.live-ladder .ladder-player>div:not(.ladder-score){grid-column:1/-1;grid-row:2;min-width:0}.live-ladder .ladder-player .ladder-score{grid-column:1/-1;grid-row:3;justify-content:space-between;text-align:left;width:100%;border-top:1px solid #ffffff12;padding-top:9px}.live-ladder .ladder-score>strong{font-size:21px!important}.live-ladder .ladder-player>div:not(.ladder-score)>strong{display:block;min-height:36px;overflow-wrap:anywhere;font-size:14px!important;line-height:1.25}.live-ladder .ladder-player small{font-size:9px!important}.live-ladder .ladder-player .ladder-game-level{font-size:9px!important}.live-ladder .ladder-player.place-1{background:linear-gradient(135deg,#79541d55,#17121b);border-color:#c9a04470!important}.live-ladder .ladder-player .ladder-leader-crown{grid-column:2!important;grid-row:1/3!important;align-self:center!important;font-size:22px!important}.live-ladder .ladder-player.place-2{border-color:#afa4c64d!important}.live-ladder .ladder-player.place-3{border-color:#bf89654d!important}@media(max-width:1000px){.live-ladder .ladder-players-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.live-ladder .ladder-players-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px}.live-ladder .ladder-player{min-height:170px;padding:12px!important}}@media(max-width:370px){.live-ladder .ladder-players-grid{grid-template-columns:minmax(0,1fr)}}
/* Compact monthly lists: ten players per mode with matching row heights. */
.live-ladder .ladder-modes{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px}
.live-ladder .ladder-players-grid{display:block;padding:0}
.live-ladder .ladder-player{display:grid!important;grid-template-columns:28px 40px minmax(0,1fr) auto!important;grid-template-rows:auto!important;align-items:center!important;gap:12px!important;min-height:88px;height:88px;padding:12px 16px!important;border:0!important;border-bottom:1px solid #ffffff12!important;border-radius:0;background:#0b0b14}
.live-ladder .ladder-player .ladder-number{grid-column:1;grid-row:1}
.live-ladder .ladder-player .ladder-profile-avatar{grid-column:2;grid-row:1;width:40px;height:40px}
.live-ladder .ladder-player>div:not(.ladder-score){grid-column:3;grid-row:1}
.live-ladder .ladder-player>div:not(.ladder-score)>strong{min-height:0;font-size:14px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-ladder .ladder-player .ladder-score{grid-column:4;grid-row:1;width:auto;border:0;padding:0;text-align:right;justify-content:end}
.live-ladder .ladder-score>strong{font-size:21px!important}.live-ladder .ladder-player small{font-size:10px!important}.live-ladder .ladder-player .ladder-game-level{font-size:10px!important}.live-ladder .ladder-player:last-child{border-bottom:0!important}
@media(max-width:850px){.live-ladder .ladder-modes{grid-template-columns:1fr!important}}
@media(max-width:450px){.live-ladder .ladder-player{grid-template-columns:24px 32px minmax(0,1fr) auto!important;gap:7px!important;padding:10px!important}.live-ladder .ladder-player .ladder-profile-avatar{width:32px;height:32px}.live-ladder .ladder-score>strong{font-size:17px!important}}
.room-panel{padding:24px!important}.room-panel h2{font:750 28px system-ui!important}.room-options,.room-controls{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.room-panel button{padding:12px 18px;border-radius:10px;background:#5f4680;color:#fff;border:1px solid #ffffff25;cursor:pointer}.room-members{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}.room-members>div{padding:18px;background:#ffffff0a;border:1px solid #ffffff15;border-radius:12px}.room-status{color:#b9e3bb}.room-panel small{display:block;color:#b6afc0}.room-controls[hidden]{display:none}
/* Each ladder: ranks 1–5 left, ranks 6–10 right. */
.live-ladder .ladder-modes{grid-template-columns:1fr!important}
.live-ladder .ladder-players-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,88px);grid-auto-flow:column;gap:0;padding:0}
.live-ladder .ladder-player:nth-child(n+6){border-left:1px solid #ffffff18!important}
.live-ladder .ladder-player:nth-child(5){border-bottom:0!important}
.guild-current{padding:20px;border-radius:14px;background:#ffffff08}.guild-current:empty{display:none}.guild-current button{margin:8px 8px 0 0}.guild-item{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px;border-bottom:1px solid #ffffff15}.guild-create{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:20px 0}.guild-create[hidden]{display:none}.guild-create input{display:block;padding:12px;background:#221b2d;border:1px solid #ffffff30;border-radius:8px;color:#fff}
@media(max-width:700px){.live-ladder .ladder-players-grid{display:block}.live-ladder .ladder-player:nth-child(n+6){border-left:0!important}.live-ladder .ladder-player:nth-child(5){border-bottom:1px solid #ffffff12!important}}
.live-ladder .ladder-players-grid{grid-template-rows:repeat(5,72px)}
.live-ladder .ladder-player{height:72px;min-height:72px;padding:8px 12px!important;gap:10px!important}
.live-ladder .ladder-player>div:not(.ladder-score)>strong{font-size:13px!important;line-height:1.15}
.live-ladder .ladder-player small{font-size:9px!important;line-height:1.35;margin-top:3px!important}
.live-ladder .ladder-player .ladder-game-level{font-size:9px!important;margin-top:3px!important}
.live-ladder .ladder-score>strong{font-size:20px!important}.live-ladder .ladder-player .ladder-profile-avatar{width:34px;height:34px}
/* Dense rows with clear match results. */
.live-ladder .ladder-modes{max-width:1180px;margin-inline:auto;gap:12px}
.live-ladder .ladder-mode h3{padding:10px 14px!important;margin:0!important;font-size:13px!important}
.live-ladder .ladder-players-grid{grid-template-rows:repeat(5,62px)}
.live-ladder .ladder-player{grid-template-columns:24px 30px minmax(0,1fr) auto!important;height:62px;min-height:62px;padding:6px 10px!important;gap:8px!important}
.live-ladder .ladder-player .ladder-number{width:23px;height:28px;font-size:16px!important}
.live-ladder .ladder-player .ladder-profile-avatar{width:30px;height:30px;font-size:11px}
.live-ladder .ladder-player>div:not(.ladder-score)>strong{font-size:12px!important;line-height:1.1}
.live-ladder .ladder-player small{margin-top:2px!important;line-height:1.2}
.live-ladder .ladder-player .ladder-game-level{margin-top:2px!important;line-height:1.2}
.live-ladder .ladder-score{column-gap:6px!important}.live-ladder .ladder-score>strong{font-size:18px!important}.live-ladder .ladder-score>.ladder-leader-crown{font-size:18px!important}
.live-ladder .ladder-record .ladder-wins{color:#83e5a0!important;font-weight:650}
.live-ladder .ladder-record .ladder-losses{color:#ff969c!important;font-weight:650}
@media(max-width:700px){.live-ladder .ladder-players-grid{display:block}.live-ladder .ladder-player{height:64px;min-height:64px}}
