/* Reference lock: DERBYO midnight stadium, compact competition rail, red game CTA. */
.focus-home{padding-top:24px}.lobby-grid{display:grid;grid-template-columns:minmax(0,1fr) 344px;gap:0 30px;grid-template-areas:"main rail" "rooms rail";align-items:start}.lobby-main{min-width:0;grid-area:main}.focus-home>.lobby-grid>.room-directory{grid-area:rooms}.lobby-rail{grid-area:rail;display:grid;gap:22px;align-content:start}.focus-home .focus-hero{min-height:400px;padding:12px 0 22px;grid-template-columns:minmax(0,1.05fr) minmax(0,.8fr)}.focus-home .focus-copy h1{font-size:clamp(37px,3.8vw,55px);letter-spacing:-2px;margin:18px 0}.focus-home .focus-kicker{font-size:9px;letter-spacing:1.25px}.focus-home .focus-lead{font-size:14px;line-height:1.7;max-width:390px}.focus-home .focus-actions{gap:10px;margin-top:22px}.focus-home .focus-actions .button{font-size:12px;padding:12px 13px;min-height:50px;gap:7px}.focus-home .focus-actions .ui-art{width:24px;height:24px;flex-basis:24px}.focus-home .focus-help{margin-top:12px;font-size:12px}.focus-home .focus-art{width:calc(100% + 105px);margin-left:-105px;height:400px;aspect-ratio:auto}.focus-home .stadium-image{object-position:75% 50%}.focus-home .focus-online{margin-top:12px;font-size:12px;min-height:38px;padding:6px 11px}
.home-leaders,.home-friends{padding:23px 21px;border:1px solid var(--dy-border);border-radius:18px;background:linear-gradient(140deg,#112132,#0b1623 75%)}.home-leaders{border-top-color:#52677c}.lobby-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.lobby-panel-heading .eyebrow{font-size:8px;letter-spacing:1.5px;color:var(--dy-muted)}.lobby-panel-heading h2{font-size:22px;line-height:1.2;letter-spacing:-.6px;margin:9px 0 0}.lobby-panel-heading>img{object-fit:contain;flex-shrink:0}.home-leader-tabs{display:flex;gap:5px;padding:4px;margin:22px 0 14px;border:1px solid var(--dy-border);background:#07111d;border-radius:11px}.home-leader-tabs button{flex:1;padding:8px 4px;min-height:36px;border:0;border-radius:7px;background:transparent;color:var(--dy-muted);font:inherit;font-size:11px;font-weight:700;cursor:pointer}.home-leader-tabs [aria-selected="true"]{background:var(--dy-raised);color:var(--dy-text)}.home-rank-list{margin:0;padding:0;list-style:none}.home-rank-list li{display:flex;align-items:center;gap:10px;min-height:60px;border-bottom:1px solid #2c405760}.home-rank-list li:last-child{border-bottom:0}.home-rank-place{flex-shrink:0;width:19px;font-size:12px;color:var(--dy-muted);font-variant-numeric:tabular-nums}.home-rank-place.place-1{color:#ffd18a;font-weight:800}.home-rank-place.place-2{color:#d3deeb}.home-rank-place.place-3{color:#d7a580}.home-rank-person{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:0;background:transparent;border:0;text-align:left;color:var(--dy-text);font:inherit;font-size:12px;font-weight:600;cursor:pointer}.home-rank-person>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-rank-person small{margin-left:6px;color:var(--dy-muted);font-size:10px}.home-rank-list li>strong{font-size:14px;letter-spacing:-.2px;font-variant-numeric:tabular-nums}.home-rank-list .is-self{background:#ffffff05}.home-leader-empty{padding:20px 0;min-height:128px;display:flex;flex-direction:column;justify-content:center}.home-leader-empty>strong{font-size:15px;line-height:1.5}.home-leader-empty p,.lobby-small-empty p{color:var(--dy-muted);font-size:12px;line-height:1.75;margin:9px 0 0}.home-leader-empty .lobby-text-action{margin-top:14px}.lobby-placeholder{margin:18px 0;color:var(--dy-muted);font-size:12px;line-height:1.7}.lobby-text-action{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;min-height:40px;background:transparent;border:0;color:var(--dy-text);font:inherit;font-size:12px;font-weight:600;text-align:left;cursor:pointer}.lobby-text-action:hover{color:var(--dy-primary)}.home-all-leaders{width:100%;margin-top:13px;border-top:1px solid var(--dy-border);padding-top:17px}.home-my-rank{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;margin-top:15px;padding:14px 10px;border:1px solid #52677c;border-radius:9px;background:#ffffff06;color:var(--dy-text);font:inherit;font-size:11px;cursor:pointer}.home-my-rank small{margin-left:6px;color:var(--dy-muted)}.home-my-rank strong{font-size:11px;white-space:nowrap}.home-career{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:4px 0 30px;padding:21px 0;border-top:1px solid var(--dy-border);border-bottom:1px solid var(--dy-border)}.home-career h2{font-size:19px;line-height:1.35;letter-spacing:-.4px;margin:8px 0}.home-career p{margin:0;font-size:12px;color:var(--dy-muted);line-height:1.65}.home-career .eyebrow{font-size:8px;letter-spacing:1.2px}.home-career .lobby-text-action{flex-shrink:0}.home-career-identity{display:flex;align-items:center;gap:14px;min-width:0}.home-career-identity h2{font-size:18px}.home-career-identity .social-avatar{width:42px;height:42px;border-radius:12px}.focus-home .room-directory{margin-top:28px}.focus-home .directory-heading h2{font-size:25px;line-height:1.2}.focus-home .directory-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.focus-home .directory-status{font-size:12px;line-height:1.7}.lobby-icon-action{display:grid;place-items:center;min-width:36px;min-height:36px;border:1px solid var(--dy-border);border-radius:10px;background:transparent;color:var(--dy-text);font-size:23px;cursor:pointer}.lobby-small-empty{padding-top:10px}.lobby-small-empty .lobby-text-action{margin-top:9px}
.social-header-button{position:relative}.social-count{display:grid;place-items:center;min-width:17px;height:17px;padding:0 3px;border-radius:8px;background:var(--dy-primary);color:var(--dy-ink);font-size:10px;font-weight:800;line-height:1}.social-count[hidden]{display:none}.social-person{display:flex;align-items:center;gap:11px;padding:16px 0;border-bottom:1px solid #2c405760}.social-person:last-child{border-bottom:0}.social-avatar{display:inline-grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid var(--dy-border);border-radius:10px;background:#17283a;color:var(--dy-muted);font-size:11px;font-weight:700}.social-person-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.social-player-name,.career-player-link{padding:0;background:transparent;border:0;color:var(--dy-text);font:inherit;font-weight:600;text-align:left;cursor:pointer}.social-player-name{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.social-player-name:hover,.career-player-link:hover{text-decoration:underline}.social-presence{display:flex;align-items:center;gap:5px;color:var(--dy-muted);font-size:10px;line-height:1.5}.social-presence.online:before,.social-presence.in_match:before{content:'';width:5px;height:5px;border-radius:50%;background:#d4e4ef}.social-presence.in_match:before{background:var(--dy-primary)}.social-small-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:36px;padding:8px 10px;border:1px solid var(--dy-border);border-radius:9px;background:transparent;color:var(--dy-text);font:inherit;font-size:11px;font-weight:600;white-space:nowrap;cursor:pointer}.social-small-button:hover{background:var(--dy-raised)}.social-small-button.accent{border-color:#ff536455;background:#ff536412;color:#ff9aa5}.social-small-button.is-busy{opacity:.6}.social-row-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.social-all-friends{margin-top:9px}.social-dialog{width:min(570px,calc(100% - 28px))}.social-dialog .career-tabs{margin-bottom:16px}.social-dialog .social-person{padding:17px 0}.social-dialog .social-avatar{width:40px;height:40px}.social-empty{padding:24px 6px;min-height:150px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.social-empty h3{margin:8px 0;color:var(--dy-text)}.social-empty p,.social-muted{color:var(--dy-muted);font-size:13px;line-height:1.7}.social-empty .button{margin-top:12px}.social-section-label{font-size:11px!important;letter-spacing:.4px;text-transform:uppercase;color:var(--dy-muted);margin:24px 0 0}.social-search-form{display:grid;gap:10px;margin:20px 0}.social-search-form label{font-size:13px;font-weight:700}.social-search-form>div{display:flex;gap:8px}.social-search-form input{min-width:0;flex:1;box-sizing:border-box;min-height:48px;padding:12px 14px;border:1px solid var(--dy-border);border-radius:11px;background:#07111d;color:var(--dy-text);font:inherit;font-size:16px}.social-search-form p{margin:0;color:var(--dy-muted);font-size:11px}.social-search-form .social-small-button{padding:12px 14px}.social-blocked,.social-player-settings{margin-top:25px;border-top:1px solid var(--dy-border);padding-top:16px;font-size:12px;color:var(--dy-muted)}.social-blocked summary,.social-player-settings summary{min-height:30px;cursor:pointer}.social-player-settings .social-small-button{margin:10px 8px 0 0}.social-public-rating{display:flex;flex-direction:column;gap:8px;margin:28px 0;padding:22px 0;border-top:1px solid var(--dy-border);border-bottom:1px solid var(--dy-border)}.social-public-rating strong{font-size:32px;line-height:1.1;letter-spacing:-1px}.social-public-rating>span{font-size:12px;color:var(--dy-muted)}.social-public-actions{display:flex;gap:10px;margin-top:24px}.social-public-actions>.social-small-button{min-height:46px;flex:1}.social-h2h{padding:18px;border:1px solid var(--dy-border);border-radius:12px;background:#07111d}.social-h2h>span{font-size:9px;letter-spacing:1px;color:var(--dy-muted)}.social-h2h>strong{display:block;margin:13px 0 0;font-size:25px;font-variant-numeric:tabular-nums}.social-h2h small{font-size:11px;font-weight:400;color:var(--dy-muted)}.social-h2h p{font-size:12px;color:var(--dy-muted);margin-bottom:0}.social-invitation{padding:15px;margin:16px 0;border:1px solid #ff536448;border-radius:12px;background:#ff536409}.social-invitation .eyebrow{font-size:8px;letter-spacing:1px;color:var(--dy-muted)}.social-invitation strong{display:block;font-size:14px;margin-top:8px;overflow-wrap:anywhere}.social-invitation p{font-size:11px;line-height:1.6;color:var(--dy-muted);margin:8px 0 0}.social-invitation-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.social-request-note{display:flex;align-items:center;gap:10px;justify-content:space-between;width:100%;padding:12px;margin-top:15px;border:1px solid var(--dy-border);border-radius:10px;background:#17283a;color:var(--dy-text);font:inherit;font-size:12px;cursor:pointer}.social-request-note strong{margin-left:auto;color:var(--dy-primary)}
.social-dialog button:focus-visible,.home-leaders button:focus-visible,.home-career button:focus-visible,.home-friends button:focus-visible,.social-search-form input:focus-visible,.social-public-actions button:focus-visible,.career-player-link:focus-visible{outline:2px solid var(--dy-focus);outline-offset:3px}
@media(min-width:1500px){.lobby-grid{grid-template-columns:minmax(0,1fr) 365px;gap:38px}.focus-home .focus-hero{min-height:440px}.focus-home .focus-copy h1{font-size:58px}}
@media(max-width:1100px) and (min-width:741px){.lobby-grid{grid-template-columns:minmax(0,1fr) 310px;gap:22px}.focus-home .focus-hero{display:block;min-height:390px;position:relative;padding-top:24px}.focus-home .focus-copy{max-width:390px}.focus-home .focus-copy h1{font-size:46px}.focus-home .focus-lead{max-width:330px}.focus-home .focus-art{position:absolute;inset:0 -20px auto auto;width:300px;height:310px;opacity:.28;margin:0;z-index:-1}.home-leaders,.home-friends{padding:21px 17px}.home-career{align-items:flex-start;flex-direction:column;gap:8px}.focus-home .directory-cards{grid-template-columns:1fr}.focus-home .directory-heading{gap:12px}.focus-home .directory-heading h2{font-size:22px}}
@media(max-width:740px){.focus-home{display:flex;flex-direction:column;gap:20px;padding-top:10px}.lobby-grid,.lobby-main,.lobby-rail{display:contents}.focus-home .focus-hero{order:1;display:block;position:relative;min-height:0;padding:12px 0 0;overflow:hidden}.focus-home .focus-copy{max-width:none;position:relative;z-index:2}.focus-home .focus-kicker{font-size:8px;max-width:230px}.focus-home .focus-copy h1{font-size:clamp(35px,8.8vw,48px);margin:16px 0;letter-spacing:-1.8px;max-width:400px}.focus-home .focus-lead{font-size:13px;line-height:1.75;max-width:420px}.focus-home .focus-art{position:absolute;top:-12px;right:-56px;width:255px;height:210px;margin:0;opacity:.35;z-index:0;mask-image:radial-gradient(ellipse,#0008 15%,#000 40%,transparent 75%);-webkit-mask-image:radial-gradient(ellipse,#0008 15%,#000 40%,transparent 75%)}.focus-home .focus-actions{display:grid;grid-template-columns:1fr 1fr;margin-top:20px;gap:10px}.focus-home .focus-actions .button{min-height:50px;padding:10px 8px;font-size:12px}.focus-home .focus-help{margin-top:5px}.focus-home .focus-help summary{min-height:36px}.focus-home .focus-online{margin-top:10px}.home-career{order:2;gap:12px;margin:0;padding:15px 0}.home-career h2{font-size:15px;margin:7px 0}.home-career p{font-size:11px}.home-career .lobby-text-action{max-width:96px;font-size:11px;line-height:1.6}.home-career-identity{gap:10px}.home-career-identity .social-avatar{width:32px;height:32px;border-radius:9px}.home-career .eyebrow{font-size:7px;letter-spacing:.9px}.home-leaders{order:3}.home-friends{order:4}.focus-home #dh-resume{order:5;margin-top:0}.focus-home .room-directory{order:6;margin-top:6px}.home-leaders,.home-friends{padding:20px;border-radius:15px}.lobby-panel-heading h2{font-size:22px}.home-leader-tabs{margin-top:18px}.home-rank-list li:nth-child(n+4){display:none}.home-rank-list li{min-height:53px}.home-leader-empty{min-height:92px;padding:12px 0}.home-all-leaders{margin-top:8px;padding-top:14px}.home-my-rank{margin-top:10px}.focus-home .directory-heading h2{font-size:24px}.focus-home .directory-cards{grid-template-columns:1fr}.social-header-button .social-count{position:absolute;right:-4px;top:0}.social-header-button{min-width:32px}.dh-site-header .header-right{gap:4px}.career-header-best{padding:5px;min-width:32px}.account-entry{max-width:70px;padding:8px}.social-dialog .social-row-actions{gap:5px}.social-dialog .social-small-button{padding:8px;font-size:10px}.social-dialog .social-person{gap:8px}.social-dialog .social-avatar{width:32px;height:32px}.social-dialog .social-player-name{font-size:12px}}
@media(max-width:360px){.dh-site-header{gap:5px}.dh-site-header .brand b{font-size:19px}.dh-site-header .header-right{gap:2px}.career-header-best,.social-header-button{min-width:29px;padding:3px}.career-header-best img{width:22px;height:22px}.account-entry{max-width:58px;padding:8px 6px;font-size:11px}.dh-site-header .dh-header-join{min-width:32px;padding:7px}.dh-site-header .icon-button{min-width:28px;width:28px}.focus-home .focus-actions .button{font-size:11px}.focus-home .focus-actions .ui-art{width:20px;height:20px;flex-basis:20px}.home-leaders,.home-friends{padding:18px 15px}.home-career .social-avatar{display:none}.social-dialog .social-person{flex-wrap:wrap}.social-dialog .social-row-actions{margin-left:auto}.social-dialog .social-person-copy{min-width:105px}.social-search-form input{padding:11px}.social-search-form .social-small-button{padding:10px}.social-public-actions{flex-wrap:wrap}}

@media(max-width:740px){.focus-home .focus-lead{margin:0;line-height:1.65}.home-career.is-guest p{display:none}.home-career.is-guest h2{margin-bottom:0}}

/* Mobile lobby: play first, top three next; detail lives behind explicit actions. */
.mobile-copy,.mobile-directory-toggle,.focus-home .focus-actions .mobile-join{display:none}
@media(max-width:740px){
 .desktop-copy{display:none!important}.mobile-copy{display:inline}
 .dh-site-header{position:relative;z-index:10;min-height:64px;gap:12px;padding-top:8px;padding-bottom:8px}
 .dh-site-header .brand small{display:none}.dh-site-header .brand b{font-size:24px}
 .dh-site-header .header-right{gap:8px;align-items:center}
 .dh-site-header #career-leaders,.dh-site-header #join-shortcut{display:none!important}
 .dh-site-header .account-entry{min-height:44px;max-width:110px;padding:10px 12px;font-size:13px}
 .focus-home{gap:18px;padding-top:0}
 .focus-home .focus-hero{padding-top:12px;padding-bottom:0;overflow:visible}
 .focus-home .focus-kicker{display:none}
 .focus-home .focus-copy h1{font-size:clamp(28px,8vw,36px);line-height:1.15;letter-spacing:-1px;margin:6px 0 20px;max-width:390px;text-wrap:balance}
 .focus-home .focus-lead{font-size:14px;line-height:1.5}
 .focus-home .focus-art{top:-20px;right:-16px;width:220px;height:180px;opacity:.32;overflow:hidden;pointer-events:none}
 .focus-home .focus-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}
 .focus-home .focus-actions .button{font-size:14px;min-height:46px;padding:10px 14px}
 .focus-home .focus-actions [data-hub=quick]{grid-column:1/-1;min-height:56px;font-size:17px}
 .focus-home .focus-actions .mobile-join{display:flex;gap:9px}
 .focus-home .focus-help{display:none}.focus-home .focus-online{margin-top:12px;min-height:36px}
 .focus-home #dh-resume{order:2;margin:0}
 .home-career{order:3;padding:12px 0;margin:0;gap:12px}
 .home-career.is-guest:not(.has-progress){display:none}
 .home-career .eyebrow{font-size:11px;letter-spacing:0;text-transform:none}
 .home-career.is-guest .eyebrow,.home-career p{display:none}
 .home-career h2{font-size:15px;margin:4px 0 0;line-height:1.4}
 .home-career .lobby-text-action{font-size:12px;min-height:44px;max-width:130px}
 .home-career-identity .social-avatar{display:inline-grid;width:36px;height:36px}
 .home-leaders{order:4;position:relative;padding:18px;border-radius:14px}
 .home-leaders .eyebrow,.home-leader-tabs,.home-leaders .lobby-panel-heading>img,#home-leader-me{display:none}
 .home-leaders .lobby-panel-heading{min-height:32px;padding-right:94px}
 .home-leaders .lobby-panel-heading h2{font-size:20px;letter-spacing:-.5px}
 .home-all-leaders{position:absolute;top:12px;right:18px;width:auto;min-height:44px;margin:0;padding:8px 0;border:0;color:var(--dy-muted);font-size:12px}
 .home-rank-list{margin:8px 0 0}.home-rank-list li{min-height:48px;gap:10px}
 .home-rank-person{font-size:13px;min-height:44px}.home-rank-list .social-avatar{width:28px;height:28px;border-radius:9px;font-size:10px}
 .home-rank-list li>strong{font-size:14px}.home-leader-empty{min-height:0;padding:15px 0 4px}.home-leader-empty>strong{font-size:14px}.home-leader-empty p{font-size:12px;line-height:1.5;margin-top:5px}
 .home-friends{display:none;order:3;padding:14px 18px}
 .home-friends.has-updates{display:block}.home-friends .eyebrow,.home-friends .lobby-icon-action,.home-friends .social-person,.home-friends .social-all-friends,.home-friends .lobby-small-empty{display:none}
 .home-friends .lobby-panel-heading h2{font-size:17px}.home-friends .social-invitation{margin:12px 0 0}.social-invitation .social-small-button{min-height:44px}
 .focus-home .room-directory{order:5;margin:0;padding:0 14px;border:1px solid var(--dy-border);border-radius:14px;background:#0d1927}
 .mobile-directory-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:12px 2px;border:0;background:transparent;color:var(--dy-text);font:inherit;font-size:14px;cursor:pointer}
 .focus-home .room-directory .directory-heading{display:none}
 .focus-home .room-directory:not(.is-expanded) .directory-cards,.focus-home .room-directory:not(.is-expanded) .directory-status,.focus-home .room-directory:not(.is-expanded) .directory-more{display:none}
 .focus-home .room-directory.is-expanded .directory-cards{margin:0 0 14px}.focus-home .room-directory.is-expanded .directory-status{margin:0 0 14px}.focus-home .room-directory.is-expanded .directory-more:not([hidden]){margin-bottom:14px}
 .social-dialog .social-small-button{min-height:44px;font-size:12px}.social-dialog .career-intro{display:none}
 .career-board-heading p{display:none}.career-board .career-board-rules{font-size:12px;line-height:1.6}
}

@media(max-width:740px){.rights-notice>p{display:none}.rights-notice>a.mobile-copy{display:inline-flex;align-items:center;font-size:11px;color:var(--dy-muted);min-height:44px;padding:12px 0;text-decoration:underline}}

.career-rating-rules{margin-top:12px;border-top:1px solid var(--dy-border);color:var(--dy-muted);font-size:12px}.career-rating-rules summary{display:flex;min-height:44px;padding:14px 0;cursor:pointer}.career-rating-rules .career-board-rules{border:0;margin:0;padding:0}

.home-career[hidden]{display:none}

/* Header utilities stay visible and compact on phones and desktops. */
.dh-site-header #sound,.dh-site-header .account-entry{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;padding:0;border:1px solid #405a72;border-radius:12px;background:linear-gradient(155deg,#233b50,#112135);color:var(--dy-text)}
.dh-site-header .account-entry svg{display:block;width:24px;height:24px}.dh-site-header .account-entry.is-signed-in{border-color:var(--dy-primary)}.dh-site-header #sound img{width:26px;height:26px}.dh-site-header .header-right{align-items:center}

/* Reuse the approved sculpted action buttons and generated football icons. */
.focus-home .focus-actions [data-hub=create]{background:linear-gradient(165deg,#3a5870,#233c53 45%,#14283c);border-color:#58748d}
.focus-home .focus-actions [data-hub=create],.focus-home .focus-actions [data-hub=join]{min-height:56px;gap:9px;box-shadow:inset 0 1px 1px #ffffff50,inset 0 -3px 2px #0002,0 3px 0 #02081066,0 7px 16px #0002}
.focus-home .focus-actions [data-hub=create] .ui-art,.focus-home .focus-actions [data-hub=join] .ui-art{display:block;width:30px;height:30px;flex:0 0 30px;filter:none;mix-blend-mode:normal}
@media(max-width:740px){.focus-home .focus-actions [data-hub=create],.focus-home .focus-actions [data-hub=join]{padding:10px 12px;font-size:15px;border-radius:14px}}
@media(max-width:360px){.focus-home .focus-actions [data-hub=create],.focus-home .focus-actions [data-hub=join]{font-size:14px;padding:10px 8px;gap:7px}.focus-home .focus-actions [data-hub=create] .ui-art,.focus-home .focus-actions [data-hub=join] .ui-art{width:27px;height:27px;flex-basis:27px}}

/* The ranking uses the same sculpted metal and midnight surfaces as game actions. */
.dh-site-header .account-entry img{display:block;width:30px;height:30px;object-fit:contain}
.home-leaders{background:radial-gradient(ellipse at 8% 0,#ff53640a,transparent 55%),linear-gradient(145deg,#172b3e,#0d1927 70%);border-color:#38516a;border-top-color:#627b91;box-shadow:inset 0 1px #ffffff0a,0 10px 26px #0002}
.home-leaders .lobby-panel-heading{min-height:54px;padding-right:0;gap:10px;align-items:center}.home-rank-heading{display:flex;align-items:center;gap:10px;min-width:0}.home-rank-heading>div{min-width:0}.home-rank-trophy{display:grid;place-items:center;flex:0 0 48px;width:48px;height:54px;background:radial-gradient(ellipse,#ff536418,transparent 70%)}.home-rank-trophy img{width:48px;height:48px;object-fit:contain}.home-rank-heading .eyebrow{display:block;font-size:8px;letter-spacing:1.2px;color:var(--dy-muted)}.home-leaders .lobby-panel-heading h2{font-size:22px;margin:6px 0 0;line-height:1.15;letter-spacing:-.7px}
.home-rank-more{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;min-height:44px;padding:7px 9px;border:1px solid #405a72;border-radius:11px;background:linear-gradient(160deg,#243d53,#122438);box-shadow:inset 0 1px #ffffff12;color:var(--dy-text);font:inherit;font-size:11px;font-weight:700;cursor:pointer}.home-rank-more img{object-fit:contain;width:22px;height:22px}.home-rank-more:hover{border-color:#7d9ab4}.home-rank-more:focus-visible{outline:2px solid var(--dy-focus);outline-offset:3px}
.home-leaders .home-leader-empty{min-height:110px;margin-top:16px;padding:20px 0 5px;border-top:1px solid #38516a80;justify-content:center}.home-leaders .home-leader-empty>strong{font-size:16px;line-height:1.4}.home-leaders .home-leader-empty p{font-size:12px;line-height:1.6;margin-top:7px;max-width:250px}
.home-rank-list{margin-top:14px}.home-rank-list li{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:64px;padding:8px 0;border-bottom:1px solid #38516a70}.home-rank-list li:last-child{border-bottom:0}.home-rank-place{display:grid;place-items:center;width:28px;height:30px;border-radius:9px;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--dy-muted)}.home-rank-place.place-1{background:linear-gradient(150deg,#ffe3a7,#c89950);border:1px solid #ffeac188;color:#352717;box-shadow:inset 0 1px #fff9,inset 0 -2px #684b2822}.home-rank-place.place-2{background:linear-gradient(150deg,#e5edf6,#9aafc2);border:1px solid #e5edf688;color:#1b2b3b;box-shadow:inset 0 1px #fff9,inset 0 -2px #25394e22}.home-rank-place.place-3{background:linear-gradient(150deg,#eac0a3,#aa7358);border:1px solid #eac0a388;color:#352216;box-shadow:inset 0 1px #fff8,inset 0 -2px #56332522}
.home-rank-person{gap:9px;min-width:0;min-height:44px;font-size:13px}.home-rank-list .social-avatar{width:32px;height:34px;border-radius:10px;flex-shrink:0;background:linear-gradient(145deg,#29445c,#13283b);border-color:#46617a;color:#e3edf7}.home-rank-list li>strong{text-align:right;font-size:18px;line-height:1.1;font-variant-numeric:tabular-nums}.home-rank-list li>strong small{display:block;margin-top:4px;color:var(--dy-muted);font-size:9px;font-weight:400;letter-spacing:.3px}.home-rank-list .is-self{background:#ff53640b;box-shadow:inset 2px 0 var(--dy-primary);border-radius:9px;padding-left:8px;padding-right:8px}
@media(max-width:740px){.home-leaders{padding:18px;border-radius:16px}.home-leaders .lobby-panel-heading h2{font-size:21px}.home-rank-heading .eyebrow{display:block}.home-rank-list li{min-height:64px}.home-rank-list .social-avatar{width:30px;height:32px}.home-leaders .home-leader-empty{min-height:102px}.home-rank-person{font-size:13px}}
@media(max-width:360px){.home-rank-more>span{display:none}.home-rank-more{width:44px;padding:8px}.home-rank-trophy{flex-basis:42px;width:42px}.home-rank-trophy img{width:42px;height:46px}.home-leaders .lobby-panel-heading h2{font-size:20px}.home-rank-person{gap:7px;font-size:12px}.home-rank-list li{grid-template-columns:28px minmax(0,1fr) auto;gap:7px}.home-rank-list li>strong{font-size:16px}}

.lobby-text-action .career-inline-icon,.social-small-button .career-inline-icon{width:19px;height:19px;flex-basis:19px}.social-request-note .career-inline-icon{width:20px;height:20px}.focus-online-arrow{display:inline-flex;align-items:center}.focus-online-arrow .career-inline-icon{width:18px;height:18px;flex-basis:18px}.mobile-directory-toggle .directory-disclosure{transform:rotate(90deg)}.mobile-directory-toggle[aria-expanded=true] .directory-disclosure{transform:rotate(-90deg)}.directory-level .career-inline-icon{width:15px;height:15px;flex-basis:15px;transform:rotate(-35deg);margin-left:3px}

/* Friends belong to the personal profile; header notifications lead there. */
.dh-site-header .account-entry{position:relative;overflow:visible}
.account-entry .social-count{position:absolute;top:-4px;right:-4px;pointer-events:none;border:2px solid var(--dy-panel)}
.profile-friends{margin-top:24px;padding-top:20px;border-top:1px solid var(--dy-border)}
.profile-friends-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.profile-friends-heading h3{display:flex;align-items:center;gap:8px;margin:0;font-size:18px}
.profile-friends-heading h3 small{font-size:12px;color:var(--dy-muted);font-weight:500}
.profile-friends .social-small-button{min-height:44px}
.profile-friends .social-person{gap:8px}
.profile-friends .social-player-name{min-height:28px}
.profile-friends .social-muted{margin-bottom:0}
.profile-friends button:focus-visible{outline:2px solid var(--dy-focus);outline-offset:3px}
.mobile-directory-toggle:focus-visible{outline:2px solid var(--dy-focus);outline-offset:3px}

/* Compact home, with a room picker that opens above its trigger. */
@media(max-width:740px){
 body[data-view="catalog"] .shell{display:flex;flex-direction:column;min-height:calc(100dvh - 28px)}
 body[data-view="catalog"] .header{min-height:64px;padding:8px 0}
 body[data-view="catalog"] #app{flex:1;padding:0;min-height:0;display:flex;flex-direction:column}
 body[data-view="catalog"] .focus-home{flex:1;gap:12px;padding:8px 0 0}
 body[data-view="catalog"] .focus-home .focus-hero{padding:0;flex-shrink:0}
 body[data-view="catalog"] .focus-home .focus-copy h1{font-size:clamp(28px,7.7vw,36px);line-height:1.08;margin:12px 0;letter-spacing:-1.2px;max-width:420px}
 body[data-view="catalog"] .focus-home .focus-actions{margin-top:14px;gap:8px}
 body[data-view="catalog"] .focus-home .focus-actions>.button{min-height:48px;padding:9px 8px;font-size:14px}
 body[data-view="catalog"] .home-leaders{padding:12px 14px;border-radius:16px}
 body[data-view="catalog"] .home-leaders .lobby-panel-heading{min-height:44px}
 body[data-view="catalog"] .home-leaders .home-leader-list{min-height:0}
 body[data-view="catalog"] .home-leader-empty{padding:12px 0 4px}
 body[data-view="catalog"] .home-rank-list{margin-top:6px}
 body[data-view="catalog"] .home-rank-list li{min-height:44px}
 body[data-view="catalog"] .home-rank-list li:nth-child(n+4){display:none}
 body[data-view="catalog"] .focus-home .room-directory{position:relative;margin-top:auto;padding:0 12px;flex-shrink:0}
 .mobile-directory-toggle #mobile-directory-count{color:#b7cce1;font-variant-numeric:tabular-nums;margin-left:4px}
 .mobile-directory-toggle .directory-disclosure{transform:rotate(-90deg)}.mobile-directory-toggle[aria-expanded="true"] .directory-disclosure{transform:rotate(90deg)}
 .focus-home .room-directory .directory-panel .directory-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
 .focus-home .room-directory .directory-panel .directory-status{display:block;font-size:13px;margin:0 0 12px}.focus-home .room-directory .directory-panel .directory-status:empty{display:none}
 .focus-home .room-directory .directory-panel .directory-more:not([hidden]){display:block;margin:14px auto 0;min-height:44px}
 .directory-panel .directory-room{padding:12px 10px;border-radius:16px}
 .directory-panel .directory-room-top{flex-direction:column;align-items:flex-start;gap:4px;font-size:10px}
 .directory-panel .directory-access{font-size:9px}
 .directory-panel .directory-game{gap:6px;margin:12px 0;align-items:flex-start;flex-direction:column}
 .directory-panel .directory-game img{width:32px;height:32px}.directory-panel .directory-game h3{font-size:13px;line-height:1.3;margin-bottom:4px;overflow-wrap:anywhere}.directory-panel .directory-game p{font-size:11px}
 .directory-panel .directory-tags{gap:4px;font-size:9px}.directory-panel .directory-tags span{padding:4px 5px;border-radius:6px}
 .directory-panel .directory-players{flex-direction:column;align-items:flex-start;gap:4px;margin:12px 0;padding-top:10px;font-size:10px}.directory-panel .directory-players>span:not(.directory-vs){flex:none;max-width:100%}.directory-panel .directory-vs{display:none}
 .directory-panel .directory-room-bottom{align-items:stretch;flex-direction:column;gap:7px}.directory-panel .directory-room-bottom>span{font-size:9px}.directory-panel .directory-room-bottom .button{width:100%;min-height:44px;padding:8px 4px;font-size:11px}
 body[data-view="catalog"] .site-footer,body[data-view="quick"] .site-footer{margin-top:12px;padding:8px 0;min-height:44px}
 body[data-view="catalog"]>.rights-notice,body[data-view="quick"]>.rights-notice{margin:0 auto 8px;font-size:10px;min-height:20px;line-height:20px}
 body[data-view="catalog"] .home-career{padding:4px 0}
 body[data-view="catalog"] .dh-resume{padding:10px;gap:8px;flex-wrap:nowrap;margin:0}.dh-resume .resume-actions{width:auto}
 body[data-view="catalog"] .dh-resume .resume-actions>.button{min-height:44px;padding:6px 8px;font-size:11px}.dh-resume .resume-actions>.button:not(.primary){display:none}
}
@media(max-width:740px) and (max-height:700px){
 body[data-view="catalog"] .focus-home{gap:8px}
 body[data-view="catalog"] .home-rank-list li:nth-child(n+3){display:none}
 body[data-view="catalog"] .focus-home .focus-copy h1{font-size:28px;margin:8px 0}
 body[data-view="catalog"] .focus-home .focus-actions{margin-top:10px}
 body[data-view="catalog"] .home-leaders{padding:8px 12px}
}
@media(max-width:740px) and (max-height:610px){
 body[data-view="catalog"] .home-rank-list li:nth-child(n+2){display:none}
 body[data-view="catalog"] .home-leader-empty p{display:none}
 body[data-view="catalog"] .home-leader-empty{padding:4px 0}
 body[data-view="catalog"] .focus-home .focus-copy h1{font-size:26px}
 body[data-view="catalog"] .focus-home .focus-actions>.button{min-height:44px}
}
@media(max-width:740px){
 body[data-view="catalog"] .shell,body[data-view="quick"] .shell{min-height:calc(100dvh - 52px)}
 body[data-view="catalog"] .home-leader-empty{min-height:0}
}
@media(max-width:740px){
 body[data-view="catalog"] .shell{min-height:100dvh}
 body[data-view="catalog"]>.rights-notice,body[data-view="catalog"] .site-footer .footer-feedback{display:none}
 body[data-view="catalog"] .site-footer{margin-top:8px;padding:0;min-height:44px}
 body[data-view="catalog"] .dh-resume{min-height:56px;padding:6px 8px;border-radius:14px}
 body[data-view="catalog"] .dh-resume .resume-icon{width:28px;height:28px}
 body[data-view="catalog"] .dh-resume .resume-copy{flex:1 1 0;min-width:0}
 body[data-view="catalog"] .dh-resume .resume-copy strong{font-size:12px;line-height:1.3}
 body[data-view="catalog"] .dh-resume .resume-copy p{display:none}
 body[data-view="catalog"] .dh-resume .connection-status{font-size:9px;line-height:1.3}
 body[data-view="catalog"] .dh-resume .resume-actions{flex-shrink:0;gap:0}
 .focus-home:has(.dh-resume:not([hidden])) .home-leader-empty{display:none}
}
@media(max-width:740px){
 body[data-view="catalog"] .dh-resume .resume-actions{flex:0 0 auto;width:auto;min-width:0}
 body[data-view="catalog"] .dh-resume .resume-actions>.button{flex:none;min-height:44px;height:44px;white-space:nowrap}
}
