/* Local world prototype: mode environments, without changing match controls. */
body.world-shell[data-world-mode=ranked]{background:#cbd7d4}
body.world-shell[data-world-mode=friends]{background:#e2d8bf}
body.world-shell:is([data-world-mode=practice],[data-world-mode=quick],[data-world-mode=cpu],[data-world-mode=free]){background:#dbe5cf}

/* The league office overlooks a floodlit stadium. */
body.world-shell #rankedDialog.ranked-page{padding:0;max-height:none;overflow:visible;background:#f8f7ec;border:1px solid #a0b8b4;border-radius:16px;box-shadow:0 8px 0 #728e8b22;margin-top:18px;margin-bottom:24px}
body.world-shell #rankedDialog.ranked-page>.dialog-top{min-height:182px;padding:28px 30px;position:relative;isolation:isolate;overflow:hidden;border-radius:15px 15px 0 0;background:#19364e url('./assets/arena-world-stadium.svg') center/cover no-repeat;color:#fff7dc;align-items:flex-start;border-bottom:5px solid #d2b770}
body.world-shell #rankedDialog.ranked-page>.dialog-top:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#152c48 0%,#152c48eb 29%,#152c4855 60%,transparent 78%)}
body.world-shell #rankedDialog.ranked-page>.dialog-top:after{content:'';position:absolute;right:18%;bottom:2px;width:88px;height:88px;background:url('./assets/448.png') center/contain no-repeat;image-rendering:pixelated;filter:drop-shadow(0 7px 2px #0b253d66);pointer-events:none}
body.world-shell #rankedDialog .dialog-top .eyebrow{display:block;color:#e8d898;font-size:9px;letter-spacing:2px;margin-bottom:14px}
body.world-shell #rankedDialog #rankedTitle{color:#fff5db;font:800 clamp(27px,3vw,40px)/1.08 'Segoe UI',sans-serif;letter-spacing:-1px;margin:0;max-width:420px}
body.world-shell #rankedDialog .ranked-intro{display:block;color:#cfdfd7;font-size:12px;max-width:310px;margin-top:11px;line-height:1.6}
body.world-shell #rankedDialog #rankedClose{position:relative;z-index:1;border:1px solid #839b9b;background:#173b4ae6;color:#fff4cf;border-radius:6px;padding:9px 12px;font-size:11px}
body.world-shell #rankedDialog .ranked-body{padding:16px}
body.world-shell #rankedContent>.hub-deck{border:1px solid #b5c6bd;border-radius:10px;overflow:hidden;background:#fffcf0}
body.world-shell #rankedContent .hub-tabs{background:#294b50;border:0;padding:9px;gap:6px;flex-wrap:wrap}
body.world-shell #rankedContent .hub-tabs button{color:#d7e5d8;border:1px solid transparent;background:transparent;font-size:12px;padding:9px 14px}
body.world-shell #rankedContent .hub-tabs button[aria-selected=true]{background:#ecdfa9;color:#24444a;border-color:#ecdfa9}
body.world-shell #rankedContent .hub-view{max-height:none;background:linear-gradient(135deg,#fffdf2,#edf0df);padding:18px}
body.world-shell #rankedContent .ranked-record{background:repeating-linear-gradient(90deg,#ffffff00 0 36px,#ffffff06 36px 37px),#23464b;border:1px solid #748c7e;border-bottom:4px solid #c6af6e;border-radius:8px;padding:15px 22px;gap:28px}
body.world-shell #rankedContent .ranked-record strong{font-family:'Segoe UI',sans-serif;font-size:34px;color:#f9eab5}
body.world-shell #rankedContent .ranked-team-choice{padding:12px 0}
body.world-shell #rankedContent .ranked-team-preview{border:1px solid #b6c4a2;border-radius:8px;background:repeating-linear-gradient(90deg,transparent 0 59px,#d9e5bb55 60px 62px),linear-gradient(#91ac79,#718f67);box-shadow:inset 0 -10px 0 #5e7c5750;padding:13px 12px}
body.world-shell #rankedContent .ranked-team-preview img{width:52px;height:52px;filter:drop-shadow(0 5px 1px #30583d55)}
body.world-shell #rankedContent .ranked-actions .primary{background:#244d51;border-bottom:3px solid #17383b;border-radius:7px}
body.world-shell #rankedContent .ranked-actions .outline{border-radius:7px;background:#fffdf0}
body.world-shell #rankedContent .ranked-offer{background:#fff3cc;border:2px solid #bba258;border-radius:10px;box-shadow:0 4px 0 #cabd9544}
body.world-shell #rankedContent .ranked-leaderboard table{background:#fffdf3;border-radius:8px;overflow:hidden}
body.world-shell #rankedContent .ranked-leaderboard th{background:#e2e8d5;color:#395b50}
body.world-shell #rankedContent .ranked-leaderboard td{padding:13px 10px}
body.world-shell #rankedContent .ranked-welcome-sprites{border-bottom:4px solid #8ea37b;background:linear-gradient(transparent 50%,#dbe5c9 50%);border-radius:8px}

/* Friends gather in the locker room before opening a private pitch. */
body.world-shell #onlineDialog.friends-page{padding:0;max-height:none;overflow:visible;background:#faf4e3;border:1px solid #b7a482;border-radius:16px;box-shadow:0 8px 0 #9b805a22;margin-top:18px;margin-bottom:24px}
body.world-shell #onlineDialog.friends-page>.dialog-top{min-height:182px;padding:30px;position:relative;isolation:isolate;overflow:hidden;border-radius:15px 15px 0 0;background:#e9dbb9 url('./assets/arena-world-clubhouse.svg') center/cover no-repeat;border-bottom:5px solid #aa8253;align-items:flex-start}
body.world-shell #onlineDialog.friends-page>.dialog-top:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#eee3c5 0%,#eee3c5eb 29%,#eee3c522 60%,transparent 78%)}
body.world-shell #onlineDialog.friends-page>.dialog-top:after{content:'';position:absolute;right:20%;bottom:0;width:92px;height:92px;background:url('./assets/133.png') center/contain no-repeat;image-rendering:pixelated;filter:drop-shadow(0 6px 1px #705c3d44);pointer-events:none}
body.world-shell #onlineDialog.friends-page .dialog-top .eyebrow{display:block;color:#806740;font-size:9px;letter-spacing:1.7px;margin-bottom:14px;max-width:280px;line-height:1.5}
body.world-shell #onlineDialog.friends-page .dialog-top h2{font:800 clamp(28px,3vw,40px)/1.08 'Segoe UI',sans-serif;color:#365240;letter-spacing:-1px;margin:0}
body.world-shell #onlineDialog.friends-page #onlineClose{position:relative;z-index:1;background:#fff4d8;border:1px solid #ad966f;color:#5a513b;box-shadow:0 2px 0 #a58a5c44}
body.world-shell #onlineDialog.friends-page .online-body{padding:18px 22px}
body.world-shell #onlineDialog.friends-page .lobby-entry-grid{gap:18px;margin:16px 0}
body.world-shell #onlineDialog.friends-page .entry-card{background:#fffcf0;border:1px solid #c5b38d;border-radius:10px;padding:22px;position:relative;box-shadow:0 4px 0 #bfaa7e33;overflow:hidden}
body.world-shell #onlineDialog.friends-page .entry-card:before{content:'';position:absolute;top:0;left:0;right:0;height:6px;background:repeating-linear-gradient(90deg,#537760 0 35px,#799575 35px 70px)}
body.world-shell #onlineDialog.friends-page .entry-card:nth-child(2):before{background:repeating-linear-gradient(90deg,#b5764d 0 35px,#d39d66 35px 70px)}
body.world-shell #onlineDialog.friends-page .entry-card h3{font:750 25px/1.15 'Segoe UI',sans-serif;letter-spacing:-.7px;max-width:360px;margin:12px 0}
body.world-shell #onlineDialog.friends-page .entry-card .eyebrow{font-size:9px;letter-spacing:1.5px;color:#7c7052}
body.world-shell #onlineDialog.friends-page .entry-card input,body.world-shell #onlineDialog.friends-page .entry-card select{border-color:#c4b594;background:#fffef8;border-radius:6px}
body.world-shell #onlineDialog.friends-page .entry-card button{border-radius:7px;min-height:42px}
body.world-shell #onlineDialog.friends-page .online-secondary{background:#eee6cd;border:1px solid #c8b894;border-radius:8px;padding:12px 15px;margin:10px 0}
body.world-shell #onlineDialog.friends-page .online-secondary summary{color:#66583c}
body.world-shell #onlineDialog.friends-page .online-note{color:#776b50;line-height:1.6}
.friends-connection{display:flex;align-items:center;gap:14px;background:#e9ead2;border:1px solid #bab98e;border-radius:10px;padding:16px 18px;margin:18px 0;color:#42513a}
.friends-connection-mark{font-size:30px;color:#9a7b43;flex:none}.friends-connection>div{flex:1}.friends-connection strong{font-size:14px}.friends-connection p{font-size:12px;line-height:1.6;margin:5px 0 0}.friends-connection button{flex:none;background:#fff7dc;min-height:42px}
.friends-preparation{display:flex;align-items:center;gap:18px;padding:18px 22px;margin:20px 0;border:1px solid #c7b992;border-radius:12px;background:linear-gradient(110deg,#e3e9ce,#f5ebce)}
.friends-preparation>img{width:75px;height:75px;image-rendering:pixelated;filter:drop-shadow(0 5px 1px #5d795933)}.friends-preparation>div{flex:1}.friends-preparation h3{font-size:23px;margin:5px 0}.friends-preparation p{font-size:12px;margin:0;line-height:1.6}.friends-preparation .eyebrow{font-size:9px;letter-spacing:1.5px}.friends-preparation a{flex:none;text-decoration:none;background:#fff9e5;min-height:42px;display:flex;align-items:center}
.friends-server-options #hostForm{margin-top:20px;display:flex;gap:12px;align-items:end}.friends-server-options #hostForm label{flex:1}.friends-server-options #hostForm button{flex:none}.friends-server-options #hostLink{display:inline-block;text-decoration:none}.friends-server-options #hostLink[hidden]{display:none}
body.world-shell #onlineDialog.friends-page .entry-card button:disabled{opacity:1;background:#e3dfce;color:#756e5c;border:1px solid #c7bea5;box-shadow:none;cursor:not-allowed}
body.world-shell #onlineDialog.friends-page .entry-card :is(input,select):disabled{color:#756e5c;background:#f0eddf;opacity:1}
body.world-shell #onlineDialog.friends-page .lobby-player{border-radius:12px;background:#fff9e8;border-color:#c4b68f;border-top:5px solid #a9b991}
body.world-shell #onlineDialog.friends-page .lobby-player.is-you{border-top-color:#4f785d}
body.world-shell #onlineDialog.friends-page .lobby-invite{background:#e3e7cd;border-color:#bac49a;border-radius:10px}
.friends-preparation a{color:#365240}
body.world-shell #onlineDialog.friends-page:has(#lobbyCard){padding:0;height:auto;max-height:none;max-width:none}
body.world-shell #onlineDialog.friends-page:has(#lobbyCard)>.dialog-top{padding:28px 30px;flex:none}
body.world-shell #onlineDialog.friends-page:has(#lobbyCard)>.online-body{padding:18px 22px;display:block}
@media(min-width:1100px) and (min-height:620px){body.world-shell #onlineDialog.friends-page:has(#lobbyCard){width:calc(100% - var(--world-rail) - 40px);margin-left:calc(var(--world-rail) + 20px);margin-right:20px}}
@media(max-width:760px){body.world-shell #onlineDialog.friends-page:has(#lobbyCard){width:calc(100% - 20px);margin:10px}body.world-shell #onlineDialog.friends-page:has(#lobbyCard)>.dialog-top{padding:20px}body.world-shell #onlineDialog.friends-page:has(#lobbyCard)>.online-body{padding:12px}}
@media(max-width:760px){.friends-connection{align-items:flex-start;flex-wrap:wrap;padding:14px;gap:10px}.friends-connection>div{flex-basis:calc(100% - 45px)}.friends-connection>button{width:100%}.friends-preparation{flex-wrap:wrap;padding:15px;gap:10px}.friends-preparation>img{width:52px;height:52px}.friends-preparation>div{flex-basis:calc(100% - 62px)}.friends-preparation h3{font-size:20px}.friends-preparation>a{width:100%;justify-content:center}.friends-server-options #hostForm{display:block}.friends-server-options #hostForm button{margin-top:10px}}

/* A sunny training ground leads to the three ways to practice. */
body.world-shell:is([data-world-mode=practice],[data-world-mode=quick],[data-world-mode=cpu]) #clubHome{position:relative;isolation:isolate;padding-top:30px;min-height:calc(100dvh - 64px)}
body.world-shell:is([data-world-mode=practice],[data-world-mode=quick],[data-world-mode=cpu]) #clubHome:before{content:'';position:absolute;z-index:-1;top:0;left:0;right:0;height:220px;background:#c3ddd0 url('./assets/arena-world-training.svg') right center/cover no-repeat;border-bottom:5px solid #91aa76}
body.world-shell:is([data-world-mode=practice],[data-world-mode=quick],[data-world-mode=cpu]) #clubHome>.club-kicker{color:#536e4f;font-size:10px;letter-spacing:2px;max-width:48%}
body.world-shell:is([data-world-mode=practice],[data-world-mode=quick],[data-world-mode=cpu]) #clubHome>h1{font-size:clamp(29px,3vw,40px);max-width:47%;margin:11px 0 13px;letter-spacing:-1px;color:#274b3b;min-height:72px}
body.world-shell:is([data-world-mode=practice],[data-world-mode=quick],[data-world-mode=cpu]) #clubHome>.club-lede{max-width:44%;font-size:12px;color:#4e6951;margin:0 0 18px}
body.world-shell #clubPracticeBody{position:relative;margin-top:24px}
body.world-shell .club-practice-options,body.world-shell .club-quick-grid,body.world-shell .club-practice-panel,body.world-shell .club-quick-intro{max-width:none}
body.world-shell .club-practice-options{gap:18px;margin:24px 0}
body.world-shell .club-practice-option{position:relative;overflow:hidden;background:#fffbed;border:1px solid #a6b48d;border-radius:12px;padding:26px;box-shadow:0 5px 0 #8da37433;min-height:260px}
body.world-shell .club-practice-option:before{content:'';position:absolute;right:20px;top:16px;width:74px;height:74px;background:#e6edcf url('./assets/25.png') center/contain no-repeat;border-radius:50%;image-rendering:pixelated;opacity:.95}
body.world-shell .club-practice-option:nth-child(2):before{background-image:url('./assets/137.png');background-color:#dce9da}
body.world-shell .club-practice-option h2{font-size:29px;margin-right:70px;color:#305842}
body.world-shell .club-practice-option>.club-kicker{font-size:9px;max-width:calc(100% - 78px);color:#6d8054}
body.world-shell .club-practice-option p{font-size:13px;max-width:540px;line-height:1.7;margin-top:10px}
body.world-shell .club-practice-option .club-actions{gap:8px}
body.world-shell .club-practice-option .club-primary,body.world-shell .club-quick-card .club-primary,body.world-shell .club-practice-panel .club-primary{box-shadow:0 3px 0 #153c2d}
body.world-shell .club-practice-option .club-outline{background:#f7f8e9}
body.world-shell .club-quick-intro{background:#f3f5e6;border:1px solid #b7c5a1;border-radius:9px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:20px}
body.world-shell .club-quick-intro p{margin:0;font-size:12px;max-width:740px}
body.world-shell .club-quick-intro button{flex:none;font-size:11px;background:#fffbed;min-height:39px}
body.world-shell .club-quick-grid{gap:18px}
body.world-shell .club-quick-card{background:#fffbed;border:1px solid #a9b991;border-top:6px solid #5a8059;border-radius:12px;padding:22px;box-shadow:0 5px 0 #8da37433}
body.world-shell .club-quick-card:nth-child(2){border-top-color:#c38757}
body.world-shell .club-quick-card h2{font-size:26px;margin:10px 0}
body.world-shell .club-quick-card p{font-size:12px}
body.world-shell .club-quick-stars{background:repeating-linear-gradient(90deg,transparent 0 79px,#e4efc555 80px 82px),#b1c997;border:1px solid #95b37a;border-radius:8px;box-shadow:inset 0 -10px 0 #86a27155;margin:18px 0;padding:8px 4px 18px}
body.world-shell .club-quick-stars img{filter:drop-shadow(0 6px 1px #4d734b44)}
body.world-shell .club-quick-stars small{color:#45623b}
body.world-shell .club-quick-card details{margin-top:14px}
body.world-shell .club-practice-panel{background:#fffbed;border:1px solid #afbd96;border-radius:12px;padding:24px;box-shadow:0 5px 0 #8da37433;gap:30px}
body.world-shell .club-practice-panel>div+div{background:#e6edda;padding:20px;border-radius:9px;border:1px solid #bccba6}
body.world-shell .club-practice-panel h2{font-size:27px}
body.world-shell .club-practice-panel p{font-size:13px}
body.world-shell .club-practice-panel .club-back{margin:0;font-size:12px}
/* The sandbox keeps its live field unobscured; only its surrounding desk changes. */
body.world-shell[data-world-mode=free] main>.page-title{padding:17px 22px;background:#bdd3b0 url('./assets/arena-world-training.svg') right center/cover no-repeat;border:1px solid #9cb28a;border-radius:12px;min-height:128px}
body.world-shell[data-world-mode=free] main>.page-title>div{max-width:52%}
body.world-shell[data-world-mode=free] main>.page-title h1{font-size:34px;margin:8px 0}
body.world-shell[data-world-mode=free] main>.page-title p{color:#3c6147;line-height:1.5}
body.world-shell[data-world-mode=free] main>.page-title>.outline{background:#f9f6df;align-self:flex-start}
body.world-shell:is([data-world-mode=free],[data-world-mode=quick],[data-world-mode=cpu]) .game-layout>.control-panel{border:1px solid #9aaf84;background:#f2f1db;box-shadow:0 4px 0 #718c5d22}

@media(min-width:1100px) and (min-height:620px){
 body.world-shell #rankedDialog.ranked-page,body.world-shell #onlineDialog.friends-page{width:calc(100% - var(--world-rail) - 40px);margin-left:calc(var(--world-rail) + 20px);margin-right:20px}
}
@media(max-width:760px){
 body.world-shell #rankedDialog.ranked-page,body.world-shell #onlineDialog.friends-page{width:calc(100% - 20px);margin:10px;border-radius:12px}
 body.world-shell #rankedDialog.ranked-page>.dialog-top,body.world-shell #onlineDialog.friends-page>.dialog-top{padding:20px;min-height:178px;background-position:60% center;border-radius:11px 11px 0 0;flex-wrap:nowrap;gap:10px}
 body.world-shell #rankedDialog.ranked-page>.dialog-top:before{background:linear-gradient(90deg,#152c48f5,#152c48cc 44%,#152c4810)}
 body.world-shell #onlineDialog.friends-page>.dialog-top:before{background:linear-gradient(90deg,#eee3c5f5,#eee3c5cc 44%,#eee3c510)}
 body.world-shell #rankedDialog #rankedTitle,body.world-shell #onlineDialog.friends-page .dialog-top h2{font-size:29px;max-width:220px}
 body.world-shell #rankedDialog .ranked-intro{max-width:210px;font-size:11px}
 body.world-shell #rankedDialog #rankedClose{font-size:10px;padding:8px;max-width:85px;white-space:normal}
 body.world-shell #rankedDialog.ranked-page>.dialog-top:after,body.world-shell #onlineDialog.friends-page>.dialog-top:after{right:4%;width:65px;height:65px}
 body.world-shell #rankedDialog .ranked-body,body.world-shell #onlineDialog.friends-page .online-body{padding:12px}
 body.world-shell #rankedContent .hub-tabs{gap:3px;padding:6px}
 body.world-shell #rankedContent .hub-tabs button{font-size:11px;padding:9px}
 body.world-shell #rankedContent .hub-view{padding:12px}
 body.world-shell #rankedContent .ranked-record{padding:13px;gap:16px;flex-wrap:wrap}
 body.world-shell #rankedContent .ranked-record strong{font-size:29px}
 body.world-shell #rankedContent .ranked-team-preview img{width:44px;height:44px}
 body.world-shell #onlineDialog.friends-page .entry-card{padding:20px 17px}
 body.world-shell #onlineDialog.friends-page .entry-card h3{font-size:23px}
 body.world-shell:is([data-world-mode=practice],[data-world-mode=quick],[data-world-mode=cpu]) #clubHome{padding:16px 12px}
 body.world-shell:is([data-world-mode=practice],[data-world-mode=quick],[data-world-mode=cpu]) #clubHome:before{position:relative;display:block;height:118px;margin:-16px -12px 20px;background-position:70% center;z-index:0}
 body.world-shell:is([data-world-mode=practice],[data-world-mode=quick],[data-world-mode=cpu]) #clubHome>.club-kicker,body.world-shell:is([data-world-mode=practice],[data-world-mode=quick],[data-world-mode=cpu]) #clubHome>h1,body.world-shell:is([data-world-mode=practice],[data-world-mode=quick],[data-world-mode=cpu]) #clubHome>.club-lede{max-width:none}
 body.world-shell:is([data-world-mode=practice],[data-world-mode=quick],[data-world-mode=cpu]) #clubHome>h1{min-height:0;font-size:32px;margin:10px 0}
 body.world-shell #clubPracticeBody{margin-top:16px}
 body.world-shell .club-practice-option{padding:22px;min-height:240px}
 body.world-shell .club-quick-intro{display:block;padding:15px}
 body.world-shell .club-quick-intro button{margin-top:10px}
 body.world-shell .club-quick-card{padding:19px}
 body.world-shell .club-practice-panel{padding:18px;gap:18px}
 body.world-shell .club-practice-panel>div+div{padding:16px}
 body.world-shell[data-world-mode=free] main>.page-title{padding:16px;background-position:60% center;gap:10px}
 body.world-shell[data-world-mode=free] main>.page-title>div{max-width:75%}
 body.world-shell[data-world-mode=free] main>.page-title h1{font-size:28px}
}

/* Queue and standings share the league desk, without hiding either behind tabs. */
body.world-shell #rankedContent .ranked-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,390px);gap:18px;align-items:start}
body.world-shell #rankedContent .ranked-workspace>.hub-deck{min-width:0;border:1px solid #b5c6bd;border-radius:10px;overflow:hidden;background:#fffcf0}
body.world-shell #rankedContent .ranked-workspace .ranked-layout{display:block;border:0}
body.world-shell #rankedContent .ranked-workspace .ranked-ready,body.world-shell #rankedContent .ranked-workspace .ranked-welcome{padding:0}
body.world-shell #rankedContent .ranked-workspace>.ranked-leaderboard{min-width:0;margin:0;padding:20px 16px;background:#eef1e2;border:1px solid #aabfae;border-top:5px solid #b79c52;border-radius:10px;position:sticky;top:16px}
body.world-shell #rankedContent .ranked-leaderboard h3{margin:0 0 10px;font:750 24px/1.15 'Segoe UI',sans-serif;letter-spacing:-.6px}
body.world-shell #rankedContent .ranked-leaderboard>p{font-size:11px;line-height:1.6;color:#577061}
body.world-shell #rankedContent .ranked-leaderboard .ranked-board-empty{font-size:13px;background:#fffbeb;padding:20px 14px;border:1px dashed #b9c6a9;border-radius:7px;margin-bottom:0}
body.world-shell #rankedContent .ranked-leaderboard table{min-width:0;font-size:12px}
body.world-shell #rankedContent .ranked-leaderboard td,body.world-shell #rankedContent .ranked-leaderboard th{padding:11px 7px;overflow-wrap:anywhere}
body.world-shell #rankedContent .ranked-leaderboard th{font-size:9px;letter-spacing:.5px}
body.world-shell #rankedContent .ranked-leaderboard td:nth-child(2){width:47%}
body.world-shell #rankedContent .ranked-calibration{font-size:9px}
body.world-shell #rankedContent .ranked-record{gap:18px;padding:15px}
body.world-shell #rankedContent .ranked-record>div:first-child{padding-right:18px}

/* A pair of invitation desks with natural-sized actions, not full-page strips. */
body.world-shell #onlineDialog.friends-page .online-body{max-width:1040px;margin-inline:auto;padding:24px 30px 30px}
body.world-shell #onlineDialog.friends-page .lobby-intro{max-width:650px;margin-bottom:22px}
body.world-shell #onlineDialog.friends-page .lobby-intro h3{margin-top:8px;font-size:30px}
body.world-shell #onlineDialog.friends-page .lobby-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0 24px}
body.world-shell #onlineDialog.friends-page .entry-card{padding:26px;min-width:0;min-height:280px;align-items:flex-start}
body.world-shell #onlineDialog.friends-page .entry-card h3{font-size:25px;max-width:290px}
body.world-shell #onlineDialog.friends-page .entry-card p{font-size:13px;max-width:330px;margin-bottom:16px}
body.world-shell #onlineDialog.friends-page .entry-card .entry-card-note{font-size:11px;color:#7b755d;padding-left:10px;border-left:2px solid #c9be9b}
body.world-shell #onlineDialog.friends-page .entry-card>button,body.world-shell #onlineDialog.friends-page .entry-card form button{width:auto;min-width:150px;flex:none;padding:12px 20px;margin:12px 0 0}
body.world-shell #onlineDialog.friends-page .entry-card>button{margin-top:auto}
body.world-shell #onlineDialog.friends-page .entry-card form{max-width:360px}
body.world-shell #onlineDialog.friends-page .entry-card form label{margin-top:0}
body.world-shell #onlineDialog.friends-page .entry-card input{min-height:46px}
body.world-shell #onlineDialog.friends-page .friends-connection{padding:14px 16px;margin:16px 0;font-size:12px}
body.world-shell #onlineDialog.friends-page .friends-preparation{padding:16px 20px}
body.world-shell #onlineDialog.friends-page .friends-preparation h3{font:700 20px/1.3 'Segoe UI',sans-serif;margin:5px 0}
body.world-shell #onlineDialog.friends-page .lobby-match-settings{display:grid;grid-template-columns:minmax(110px,auto) minmax(0,1fr);align-items:center;gap:10px 18px}
body.world-shell #onlineDialog.friends-page .lobby-match-settings>h3,body.world-shell #onlineDialog.friends-page #lobbySettingsHint,body.world-shell #onlineDialog.friends-page .lobby-setting-toggle{grid-column:1/-1;margin:0}
body.world-shell #onlineDialog.friends-page .lobby-match-settings>label:not(.lobby-setting-toggle){margin:0}
body.world-shell #onlineDialog.friends-page .lobby-match-settings>select{min-width:0;min-height:42px;background:#fffdf3;border:1px solid #bcb391;border-radius:6px;padding:8px}
@media(max-width:1000px){body.world-shell #rankedContent .ranked-workspace{grid-template-columns:minmax(0,1fr)}body.world-shell #rankedContent .ranked-workspace>.ranked-leaderboard{position:static}body.world-shell #rankedContent .ranked-leaderboard table{font-size:13px}}
@media(max-width:680px){body.world-shell #onlineDialog.friends-page .online-body{padding:16px}body.world-shell #onlineDialog.friends-page .lobby-entry-grid{grid-template-columns:1fr;gap:14px}body.world-shell #onlineDialog.friends-page .entry-card{min-height:0;padding:22px}body.world-shell #onlineDialog.friends-page .entry-card>button{margin-top:8px}body.world-shell #onlineDialog.friends-page .lobby-match-settings{display:block}body.world-shell #onlineDialog.friends-page .lobby-match-settings>label{margin-top:14px!important}body.world-shell #onlineDialog.friends-page .lobby-match-settings>select{margin-top:6px}body.world-shell #rankedContent .ranked-workspace>.ranked-leaderboard{padding:18px 12px}}
body.world-shell #rankedContent .ranked-workspace>.hub-deck{height:auto}
@media(min-width:1001px){body.world-shell #rankedContent .ranked-workspace .ranked-table-wrap{max-height:max(290px,calc(100dvh - 455px));overflow:auto;scrollbar-width:thin;scrollbar-color:#a1b096 #eef1e2}body.world-shell #rankedContent .ranked-leaderboard th{position:sticky;top:0}}
