/* Local homologation composition. One spacing/type scale; no stacked historical overrides. */
body[data-pz-hom]{--ui-gap:12px;--ui-pad:16px;--ui-radius:10px;--ui-title:16px;--ui-copy:12px;--ui-small:11px}
.ms-catalog,.community-dashboard{font-family:inherit;font-size:var(--ui-copy)}
.ms-catalog h1,.ms-catalog h2,.community-dashboard h1,.community-dashboard h2,.community-dashboard h3{font-family:inherit;letter-spacing:-.025em}
.ms-catalog .ms-heading{margin:0 0 12px}.ms-catalog .ms-heading h1{font-size:26px;margin:0}.ms-catalog .ms-heading p{display:none}
.ms-catalog .ms-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ui-gap)}
.ms-catalog .ms-offer{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.95fr);grid-template-rows:20px 40px 40px;height:166px;min-height:0;padding:16px;gap:4px 16px;align-content:center;border-radius:var(--ui-radius)}
.ms-catalog .ms-offer>h2{grid-area:2/1;font-size:24px;margin:0;align-self:center;line-height:1.15}
.ms-catalog .ms-offer>.ms-chip{grid-area:1/1;font-size:9px;display:inline-flex;justify-self:start}
.ms-catalog .ms-offer>p,.ms-catalog .ms-offer>.ms-benefits{grid-area:3/1;margin:0;font-size:11px;line-height:1.5}
.ms-catalog .ms-benefits{display:flex;flex-wrap:wrap;gap:2px 10px;align-content:start}.ms-catalog .ms-benefits li{display:inline-flex;gap:4px}.ms-catalog .ms-subscription-state{display:none}
.ms-catalog .ms-offer>.ms-plan-reveal{grid-area:1/2/4/3;position:relative;width:100%;height:132px;max-width:340px;justify-self:end;align-self:center;margin:0}
.ms-catalog .ms-reveal-trigger{inset:50% 0 auto;width:100%;height:44px;padding:0 12px;transform:translateY(-50%);text-align:center;display:flex;align-items:center;justify-content:center;font:600 12px/1.35 inherit;color:var(--text);background:linear-gradient(120deg,var(--raised),var(--surface));border:1px solid var(--line);border-radius:8px;box-shadow:inset 0 1px #ffffff16,0 5px 16px #0003;transform-origin:center}
.ms-catalog .ms-plan-reveal.is-expanded .ms-reveal-trigger{transform:translateY(-50%) scale(.96)}
.ms-catalog .ms-reveal-plans{inset:0;height:132px;display:grid;grid-template-rows:108px 24px;transform-origin:center}
.ms-catalog .ms-plan-options,.ms-catalog .ms-private-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:108px;height:108px;gap:8px}
.ms-catalog .ms-plan-option{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;min-width:0;padding:8px;gap:6px;border:1px solid var(--line);border-radius:8px;background:linear-gradient(150deg,#24282be8,#141719ed);box-shadow:inset 0 1px #ffffff0c}
.ms-catalog .ms-plan-option .ms-period{font-size:11px;text-align:center;line-height:1.3;min-height:28px;display:flex;align-items:center}
.ms-catalog .ms-plan-option strong{font:600 23px/1.1 inherit;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--text)}
.ms-catalog .ms-plan-option .button{min-height:30px;padding:5px 12px;font-size:11px;margin:0;align-self:stretch;text-align:center}
.ms-catalog .ms-plan-option .ms-cycle,.ms-catalog .ms-plan-option .ms-plan-badge{display:none}
.ms-catalog .ms-reveal-collapse{height:24px;min-height:24px;padding:3px 6px;margin:0;justify-self:end;color:var(--muted);font-size:11px}
/* Same four-column grid under the offers: 2 columns Global, one per event. */
.ms-catalog .ms-featured-worlds{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ui-gap);margin:12px 0 0}
.ms-catalog .ms-featured-worlds>.is-global-showcase{grid-column:span 2}
.ms-catalog #server-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ui-gap)}
.ms-catalog .ms-servers-heading{margin:12px 0 8px}.ms-catalog .ms-servers-heading h2{font-size:var(--ui-title);margin:0}.ms-catalog .ms-servers-heading p{display:none}
.ms-catalog .ms-card,.ms-catalog .ms-featured-worlds .is-global-showcase{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:28px 80px 48px 40px;gap:8px;height:254px;min-height:0;padding:16px;align-content:start;border-radius:var(--ui-radius);background:linear-gradient(180deg,#12141633 0%,#12141645 55%,#12141670 82%,#121416b3 100%),var(--server-cover) center top/cover;border-color:var(--line)}
.ms-catalog .ms-card>*{position:relative;z-index:1;min-width:0;margin:0;grid-column:auto;grid-row:auto}
.ms-catalog .ms-card>.ms-server-top,.ms-catalog .ms-featured-worlds .ms-card>.ms-server-top{grid-area:1/1/2/3;display:flex;align-items:center;gap:10px;min-height:0}
.ms-catalog .ms-card .ms-server-top>.ms-chip{margin-right:auto;font-size:9px;letter-spacing:.09em}
.ms-catalog .ms-status{font-size:11px;white-space:nowrap;display:inline-flex;align-items:center;gap:7px;color:var(--text);margin:0}
.ms-catalog .ms-card .server-favorite{order:0;margin:0;width:28px;height:28px;min-width:28px;display:grid;place-items:center;border:1px solid #ffffff25;border-radius:7px;background:#12141680;color:var(--muted);font:400 23px/1 Arial;cursor:pointer;padding:0;transition:color .2s,background .2s}
.ms-catalog .ms-card .server-favorite:hover{background:var(--raised);color:var(--text)}.ms-catalog .ms-card .server-favorite[aria-pressed=true]{color:#f5c876;border-color:#f5c87680}
.ms-catalog .ms-card>.ms-server-identity,.ms-catalog .ms-featured-worlds .ms-card>.ms-server-identity{grid-area:2/1/3/3;display:flex;align-items:center;gap:12px;height:80px;flex-direction:row}
.ms-catalog .ms-server-identity>div{flex:1;min-width:0;text-align:center}.ms-catalog .ms-card h2{font-size:17px;margin:0;line-height:1.3;text-shadow:0 2px 8px #000}.ms-catalog .ms-card-detail{text-align:center;width:100%;font:inherit;line-height:inherit}
.ms-catalog .ms-card .ms-server-avatar,.ms-catalog .ms-featured-worlds .ms-server-avatar{width:72px;height:72px;flex:0 0 72px}
.ms-catalog .ms-card .ms-server-summary{display:flex;justify-content:center;flex-wrap:wrap;gap:3px 8px;font-size:11px;margin-top:8px;line-height:1.4}.ms-catalog .ms-server-summary span+span:before{display:none}
.ms-catalog .ms-card>.ms-server-roster,.ms-catalog .ms-featured-worlds .ms-card>.ms-server-roster{grid-area:3/1/4/3;height:48px;min-height:48px;overflow:hidden;align-self:start}
.ms-catalog .ms-mini-players{display:flex;gap:6px;justify-content:flex-start;align-items:start;height:48px}.ms-catalog .ms-mini-player{width:44px;min-width:44px;flex:0 0 44px;display:flex;flex-direction:column;align-items:center;gap:4px}.ms-catalog .ms-mini-player>span:last-child{width:44px;max-width:44px;font-size:10px;line-height:14px;text-align:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ms-catalog .ms-mini-portrait,.ms-catalog .ms-mini-portrait .avatar{width:30px;height:30px}.ms-catalog .ms-mini-more{flex-shrink:0}
.ms-catalog .ms-card>.world-atmosphere,.ms-catalog .ms-featured-worlds .ms-card>.world-atmosphere{grid-area:4/1/5/2;align-self:center}
.ms-catalog .ms-card>.button-row,.ms-catalog .ms-featured-worlds .ms-card>.button-row{grid-area:4/2/5/3;justify-content:flex-end;align-self:center}.ms-catalog .ms-card>.button-row .button{min-height:32px;font-size:11px;padding:6px 10px;white-space:nowrap}
.ms-catalog .global-world-description{display:none}.ms-catalog .ms-event-card{height:254px;min-height:0;padding:20px;border-radius:var(--ui-radius);display:flex;flex-direction:column;justify-content:center;gap:12px}.ms-catalog .ms-event-card h2{font:600 24px/1.2 inherit;margin:0}.ms-event-card p{display:none}
/* Shared telemetry readout; SVG icons have a reserved column. */
.weather-icon{width:24px;height:24px;flex:none;color:var(--weather-color,var(--accent));vertical-align:middle}
.world-atmosphere{display:flex;gap:12px;min-width:0}.world-atmosphere[hidden]{display:none!important}.world-atmosphere>span{background:#151719ab;border:1px solid #ffffff20;backdrop-filter:blur(4px);padding:10px 12px;border-radius:8px;color:var(--text)}
.world-atmosphere .world-climate{display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:8px;row-gap:3px}.world-climate em{grid-area:1/1/3/2;display:flex;align-items:center;font-style:normal}.world-climate b{grid-area:1/2}.world-climate small{grid-area:2/2;padding:0;width:auto}.world-atmosphere b{font-size:12px}.world-atmosphere small{font-size:11px;color:var(--muted);line-height:1.4}
.ms-catalog .world-atmosphere.is-compact{display:grid;grid-template-columns:45px minmax(0,1fr);gap:10px;height:40px;min-height:40px}
.world-atmosphere.is-compact .world-live,.world-atmosphere.is-compact .world-population{display:none}.world-atmosphere.is-compact>span{border:0;padding:0;background:none;box-shadow:none;backdrop-filter:none}
.world-atmosphere.is-compact .world-clock{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;font-size:0;gap:3px}.world-atmosphere.is-compact .world-clock small{padding:0;width:auto}.world-atmosphere.is-compact b{font-size:11px;line-height:1.3}.world-atmosphere.is-compact small{font-size:10px;white-space:nowrap}.world-atmosphere.is-compact .world-climate{grid-template-columns:24px minmax(0,1fr);gap:3px 8px;align-content:center}
/* Shared state signals. */
[data-state=online]{--signal:#56ed95}[data-state=offline]{--signal:#ff746b}[data-state=maintenance],[data-state=starting]{--signal:#ffc65c}
.ms-status:before{content:'';display:block;width:7px;height:7px;flex:none;border-radius:50%;background:var(--signal,#9fa8a6);box-shadow:0 0 9px var(--signal,#9fa8a6);animation:signal-breathe 2.5s ease-in-out infinite}
@keyframes signal-breathe{50%{box-shadow:0 0 3px var(--signal,#9fa8a6);opacity:.7}}
/* Internal cover contains the original maintenance widget, with space for every phase. */
.community-dashboard{gap:var(--ui-gap);padding:0;margin:0;min-width:0}
.community-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:96px minmax(0,1fr) auto;grid-template-rows:100px 154px;gap:16px;padding:20px;min-height:0;height:310px;align-content:start;border:1px solid var(--line);border-radius:var(--ui-radius);background:linear-gradient(90deg,#1214168c,#12141630),linear-gradient(0deg,#121416cc,transparent 80%),var(--server-cover) center 45%/cover;box-shadow:inset 0 1px #ffffff12,0 8px 24px #0002;overflow:hidden}
.community-hero>*{position:relative;z-index:1}.community-hero .ms-server-avatar{width:96px;height:96px}.community-title h1{font-size:30px;margin:5px 0;line-height:1.2}.community-title .eyebrow{font-size:10px}.community-title #community-status{display:none}.community-customize{display:inline-block;font-size:11px;margin-top:8px}.community-hero>a{grid-area:1/3;align-self:center;font-size:12px;background:#151719a8;border-color:var(--line)}
#overview-stats.community-native-stats{grid-area:2/1/3/4;display:grid;grid-template-columns:1.2fr .75fr 1fr;gap:16px;height:154px;margin:0;min-width:0}
#overview-stats.community-native-stats>.stat{position:relative;box-sizing:border-box;display:grid;grid-template-rows:20px 1fr 32px;align-content:start;gap:5px;padding:14px 16px;min-width:0;min-height:0;height:154px;background:#141719ba;border:1px solid #ffffff24;border-radius:8px;backdrop-filter:blur(5px);overflow:visible}
#overview-stats.community-native-stats .stat-label{font:500 11px/20px inherit;text-transform:uppercase;letter-spacing:.08em;margin:0;color:var(--muted)}
#overview-stats.community-native-stats .stat>strong{font-size:25px;font-weight:600;line-height:1.25;align-self:center;margin:0;white-space:nowrap}
#overview-stats.community-native-stats .stat>small{font-size:12px;color:var(--muted);line-height:1.4;margin:0;display:flex;align-items:center;gap:10px}
#overview-stats.community-native-stats>.lab-status-tile{grid-template-rows:20px 34px 28px 26px;gap:2px}
#overview-stats.community-native-stats .lab-status-row{grid-row:2;min-height:0;margin:0}.community-native-stats .lab-status-row>div{width:100%}
#overview-stats.community-native-stats .lab-state{font:600 19px/1.3 inherit;display:flex;align-items:center;gap:8px;margin:0;white-space:nowrap}
#overview-stats.community-native-stats .lab-state i{width:8px;height:8px;background:#ff746b;box-shadow:0 0 9px #ff746b80}.community-native-stats .lab-state.online i{background:#56ed95!important;box-shadow:0 0 10px #56ed9590!important}.community-native-stats .lab-state.working i{background:#ffc65c!important;box-shadow:0 0 10px #ffc65c90!important}
#overview-stats.community-native-stats .lab-status-row p,#overview-stats.community-native-stats .lab-stage-name{display:none}
#overview-stats.community-native-stats .overview-progress{grid-row:3;position:relative;inset:auto;height:28px;min-height:28px;width:100%;margin:0}
#overview-stats.community-native-stats .lab-actions{grid-row:4;display:flex;flex-wrap:nowrap;align-items:center;gap:10px;height:26px;min-height:26px;margin:0;padding:0}
#overview-stats.community-native-stats .lab-actions button{font-size:11px;line-height:1.3;white-space:nowrap;min-height:26px;padding:3px 0;margin:0}.community-native-stats .lab-actions .lab-phase-note{font-size:10px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.community-native-stats .lab-update-cta{padding:4px 8px!important}
.community-columns{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);grid-template-rows:170px 170px;gap:var(--ui-gap)}
.community-columns>.card{padding:var(--ui-pad);border:1px solid var(--line);border-radius:var(--ui-radius);background:var(--surface);box-shadow:inset 0 1px #ffffff06,0 6px 18px #0002;min-width:0;min-height:0;margin:0;overflow:hidden}
.community-columns header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 12px}.community-columns h2{font-size:var(--ui-title);line-height:1.3;margin:0;font-weight:600}.community-columns small,.community-columns p,.community-columns .text-link{font-size:var(--ui-copy);line-height:1.5}.community-columns .eyebrow{font-size:9px;margin-bottom:5px}
.community-news{grid-area:1/1/3/2;display:flex;flex-direction:column}.community-news:before{background:linear-gradient(0deg,#121416ed,#12141644),url('/assets/chapter-maze.webp') center/cover!important}.community-news #news-slide{flex:1;height:auto;min-height:0;padding:12px 0}.community-news #news-title{height:auto;min-height:64px;font-size:26px;line-height:1.25;margin:12px 0}.community-news #news-body{height:84px;max-height:84px;overflow:auto;font-size:13px;line-height:1.65;margin:8px 0}.community-news footer{margin-top:auto;min-height:26px}.community-online{grid-area:1/2/2/3}.community-survivor{grid-area:2/2/3/3}.community-access{grid-area:1/3/3/4;overflow:auto!important}.community-rules{display:none}
.community-online #community-roster{display:grid;grid-template-columns:repeat(auto-fill,52px);grid-auto-rows:63px;justify-content:start;align-content:start;gap:8px;height:90px;min-height:90px;overflow:auto}.community-online #community-roster>div{display:flex;flex-direction:column;align-items:center;width:52px;max-width:52px;gap:5px}.community-online #community-roster .avatar{width:34px;height:34px}.community-online #community-roster small{display:block;width:52px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;line-height:15px}.community-online #roster-note{display:block;height:16px;font-size:10px}
.community-survivor .community-person{display:flex;align-items:center;gap:12px;min-width:0;margin:0}.community-person>div{min-width:0}.community-survivor .community-person .avatar{width:44px;height:44px;flex:none}.community-person strong{font-size:14px;overflow-wrap:anywhere}.community-person small{display:block;font-size:11px}.community-survivor #community-character{min-height:70px;margin:0}.community-survivor>a{display:inline-block;font-size:11px;margin-top:8px}
.community-access .connection-access{min-height:260px}.community-access .access-steps{display:flex}.community-access .access-steps>span{flex-direction:row}.community-access .access-description{min-height:55px}.community-access .favorite-address{min-height:80px}
.server-context-bar{position:static;display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:0;min-height:34px;overflow-x:auto;white-space:nowrap}.community-back,.favorite-community{display:inline-flex;align-items:center;padding:7px 11px;border:1px solid var(--line);border-radius:7px;background:var(--raised);font-size:11px;text-decoration:none;color:var(--text);box-shadow:inset 0 1px #ffffff09}.favorite-community[aria-current=page]{border-color:var(--accent);color:var(--accent)}.favorite-hint{color:var(--muted);font-size:11px}
.server-scene{background:linear-gradient(180deg,#12141644,#121416dd),var(--server-cover) center/cover!important;isolation:isolate}.server-scene>*{position:relative;z-index:1}
.footer{gap:12px;border-top:1px solid var(--line);background:var(--surface);min-height:44px;box-shadow:0 -6px 20px #0002}.footer #demo-controls{margin-left:auto}.footer #connection-status{display:none}.footer #weather-lab{font-size:11px;min-height:30px;padding:5px 9px;color:var(--text);background:var(--raised);border:1px solid var(--line);border-radius:7px}
/* Canonical collapsed sidebar: one centered hit target per icon. */
@media(min-width:761px){body[data-layout=classic] .portal>.workspace{margin-left:228px!important}body[data-layout=classic] #sidebar{width:228px!important}body[data-layout=rail] .portal>.workspace{margin-left:72px!important}body[data-layout=rail] #sidebar{display:flex!important;width:72px!important;padding:16px 10px!important;transform:none;visibility:visible}body[data-layout=rail] #sidebar nav{width:100%;padding:0;gap:6px}body[data-layout=rail] #sidebar nav a{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;margin:0 auto;padding:0!important;font-size:0;gap:0;position:relative}body[data-layout=rail] #sidebar nav a .icon{width:20px;height:20px;flex:none;margin:0;transform:none}body[data-layout=rail] #sidebar nav a>span:not([data-icon]),body[data-layout=rail] #sidebar .nav-label,body[data-layout=rail] #sidebar .nav-group-label,body[data-layout=rail] #sidebar .community-label,body[data-layout=rail] #sidebar .sidebar-bottom,body[data-layout=rail] #sidebar .sidebar-footer,body[data-layout=rail] #sidebar .sidebar-art,body[data-layout=rail] #sidebar .profile-summary,body[data-layout=rail] #sidebar #sidebar-signout{display:none}body[data-layout=rail] #sidebar .brand,body[data-layout=rail] #sidebar .wordmark{padding:8px 0;margin:0 0 14px;width:50px}body[data-layout=rail] #sidebar img{max-width:50px}body[data-layout=rail] #sidebar nav a:after{display:none}}
.weather-choices{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.weather-choices [aria-pressed=true]{border-color:var(--accent);background:var(--raised)}.weather-examples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.weather-example{isolation:isolate;position:relative;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:linear-gradient(#12141666,#121416eb),url('/assets/survival-hall.webp') center/cover;padding:22px 16px;min-height:180px}.weather-example>*{position:relative;z-index:1}.weather-example>div{display:flex;align-items:center;gap:10px}.weather-example h3{font-size:15px;margin:0}.weather-example p,.weather-example small{font-size:12px}
@media(min-width:761px) and (max-height:850px){body[data-pz-hom]{--ui-pad:12px;--ui-title:14px}.ms-catalog .ms-heading{margin-bottom:8px}.ms-catalog .ms-heading h1{font-size:22px}.ms-catalog .ms-offer{height:126px;grid-template-rows:16px 32px 32px;padding:10px 12px;gap:3px 10px}.ms-catalog .ms-offer h2{font-size:20px}.ms-catalog .ms-offer>p,.ms-catalog .ms-offer>.ms-benefits{font-size:10px}.ms-catalog .ms-offer>.ms-plan-reveal,.ms-catalog .ms-reveal-plans{height:108px}.ms-catalog .ms-reveal-plans{grid-template-rows:86px 22px}.ms-catalog .ms-plan-options,.ms-catalog .ms-private-options{height:86px;grid-template-rows:86px}.ms-catalog .ms-plan-option{gap:3px;padding:4px}.ms-catalog .ms-plan-option strong{font-size:19px}.ms-catalog .ms-plan-option .ms-period{font-size:10px;min-height:24px}.ms-catalog .ms-plan-option .button{min-height:26px;padding:3px 8px}.ms-catalog .ms-reveal-collapse{height:22px;min-height:22px}.ms-catalog .ms-card,.ms-catalog .ms-featured-worlds .is-global-showcase{height:202px;grid-template-rows:24px 54px 44px 36px;gap:6px;padding:10px}.ms-catalog .ms-card>.ms-server-identity{height:54px}.ms-catalog .ms-card .ms-server-avatar{width:52px;height:52px;flex-basis:52px}.ms-catalog .ms-card h2{font-size:15px}.ms-catalog .ms-card .ms-server-summary{font-size:10px;margin-top:4px}.ms-catalog .ms-card>.ms-server-roster{height:44px;min-height:44px}.ms-catalog .ms-mini-portrait,.ms-catalog .ms-mini-portrait .avatar{width:26px;height:26px}.ms-catalog .ms-mini-player{gap:2px}.ms-catalog .ms-event-card{height:202px}.ms-catalog .ms-featured-worlds{margin-top:8px}.ms-catalog .ms-servers-heading{margin:8px 0 6px}.community-hero{height:238px;grid-template-columns:64px 1fr auto;grid-template-rows:64px 140px;gap:10px;padding:12px}.community-hero .ms-server-avatar{width:64px;height:64px}.community-title h1{font-size:24px}#overview-stats.community-native-stats{height:140px;gap:12px}#overview-stats.community-native-stats>.stat{height:140px;padding:10px 12px}.community-columns{grid-template-rows:116px 116px}.community-news #news-title{font-size:21px;min-height:48px;margin:6px 0}.community-news #news-slide{padding:4px 0}.community-news #news-body{height:55px;max-height:55px;font-size:11px;margin:4px 0}.community-columns header{margin-bottom:8px}.community-online #community-roster{height:58px;min-height:58px;grid-auto-rows:55px}.community-online #community-roster .avatar{width:28px;height:28px}.community-survivor #community-character{min-height:48px}.community-survivor .community-person .avatar{width:34px;height:34px}.community-survivor>a{margin-top:4px}.community-access .connection-access{min-height:180px}.community-access .access-description{min-height:0}}
@media(min-width:761px) and (max-width:1400px){.ms-catalog .ms-card>.world-atmosphere{grid-template-columns:40px minmax(0,1fr);gap:6px}.world-atmosphere.is-compact .world-climate{grid-template-columns:20px minmax(0,1fr);column-gap:6px}.world-atmosphere.is-compact .weather-icon{width:20px;height:20px}.world-atmosphere.is-compact b,.world-atmosphere.is-compact small{font-size:10px}.ms-catalog .ms-card>.button-row .button{padding:5px 7px;font-size:10px}.ms-catalog .ms-server-identity{gap:8px}.ms-catalog .ms-status{font-size:10px}.ms-catalog .ms-card .ms-server-top{gap:7px}.ms-catalog .ms-offer{grid-template-columns:minmax(0,1fr) minmax(190px,1fr)}}
@media(min-width:761px) and (max-height:760px){.ms-catalog .ms-featured-worlds>.is-global-showcase{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:24px 60px 40px;height:156px;gap:6px}.ms-catalog .ms-featured-worlds>.is-global-showcase>.ms-server-identity{grid-area:2/1;align-self:center;height:60px}.ms-catalog .ms-featured-worlds>.is-global-showcase>.ms-server-roster{grid-area:2/2;align-self:center}.ms-catalog .ms-featured-worlds>.is-global-showcase>.world-atmosphere{grid-area:3/1}.ms-catalog .ms-featured-worlds>.is-global-showcase>.button-row{grid-area:3/2}.ms-catalog .ms-featured-worlds .ms-event-card{height:156px}}
@media(min-width:761px) and (max-width:1100px){.ms-catalog .ms-offer{grid-template-columns:1fr;grid-template-rows:18px 28px 26px 108px;height:220px}.ms-catalog .ms-offer>.ms-plan-reveal{grid-area:4/1;max-width:none;height:108px}.ms-catalog .ms-offer h2{font-size:21px}.ms-catalog #server-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.community-columns{grid-template-columns:1fr 1fr;grid-template-rows:260px 170px}.community-news{grid-area:1/1}.community-access{grid-area:1/2}.community-online{grid-area:2/1}.community-survivor{grid-area:2/2}}
@media(max-width:760px){.ms-catalog .ms-offers{grid-template-columns:1fr}.ms-catalog .ms-offer{grid-template-columns:1fr;grid-template-rows:20px auto auto 132px;height:auto;min-height:280px;padding:18px;gap:10px}.ms-catalog .ms-offer>.ms-plan-reveal{grid-area:4/1;height:132px;max-width:none}.ms-catalog .ms-offer>h2{font-size:25px}.ms-catalog .ms-offer>p,.ms-catalog .ms-offer>.ms-benefits{font-size:12px}.ms-catalog .ms-plan-option .button{min-height:36px}.ms-catalog .ms-featured-worlds{grid-template-columns:1fr 1fr}.ms-catalog .ms-featured-worlds>.is-global-showcase{grid-column:1/-1}.ms-catalog #server-grid{grid-template-columns:1fr}.ms-catalog .ms-card,.ms-catalog .ms-featured-worlds .is-global-showcase{height:270px;padding:16px;gap:10px;grid-template-rows:30px 80px 48px 48px}.ms-catalog .ms-card>.button-row .button{min-height:44px;font-size:12px}.ms-catalog .ms-event-card{height:140px;padding:16px}.ms-catalog .ms-event-card h2{font-size:20px}.ms-catalog .ms-event-card .ms-status{font-size:9px}.community-hero{height:auto;grid-template-columns:68px minmax(0,1fr);grid-template-rows:80px auto 44px;gap:14px;padding:16px}.community-hero .ms-server-avatar{width:68px;height:68px}.community-title h1{font-size:24px}.community-hero>a{grid-area:3/1/4/3;width:100%;min-height:44px;text-align:center}#overview-stats.community-native-stats{grid-area:2/1/3/3;grid-template-columns:1fr 1fr;height:auto;gap:10px}#overview-stats.community-native-stats>.stat{height:118px;padding:12px;grid-template-rows:18px 1fr 30px}#overview-stats.community-native-stats>.lab-status-tile{grid-column:1/-1;height:144px;grid-template-rows:20px 34px 28px 26px}#overview-stats.community-native-stats .stat>strong{font-size:20px}#overview-stats.community-native-stats .stat>small{font-size:10px;gap:6px}.community-native-stats .weather-icon{width:20px;height:20px}.community-columns{display:flex;flex-direction:column;gap:12px}.community-columns>.card{padding:16px;min-height:0}.community-news{height:350px;min-height:350px!important}.community-news #news-slide{height:auto;min-height:0}.community-online,.community-survivor{min-height:170px!important}.community-access{min-height:310px!important}.community-online #community-roster{height:90px}.community-back{min-height:40px}.favorite-hint{font-size:10px}.footer{flex-wrap:wrap;justify-content:center;gap:10px;padding:12px}.footer #demo-controls{margin-left:0}.weather-examples{grid-template-columns:1fr 1fr}.weather-example{padding:18px 12px;min-height:160px}.weather-example h3{font-size:13px}.weather-example>div{gap:6px}.weather-choices .button{font-size:11px;padding:7px 9px}}
@media(prefers-reduced-motion:reduce){.ms-status:before{animation:none} :is(.ms-card,.community-hero,.server-scene,.weather-example):after{transition:none}}
/* Explicit compatibility boundaries for production and older catalog selectors. */
.ms-catalog .world-atmosphere.is-compact small{display:block!important}
.ms-catalog .ms-card[data-state] .ms-status:before{background:var(--signal,#9fa8a6);box-shadow:0 0 9px var(--signal,#9fa8a6)}
.ms-catalog .ms-card .ms-server-identity>.ms-server-avatar{width:72px;height:72px;min-height:72px;flex:0 0 72px;aspect-ratio:1}
.ms-catalog .ms-card .ms-server-identity h2{min-height:0}
.community-dashboard>.community-hero{flex-shrink:0}.community-dashboard>.server-context-bar{margin:0;flex-shrink:0}
.community-access .access-steps{display:flex!important}.community-online #roster-note{display:none}.community-survivor .community-person small{font-size:11px;line-height:1.5}
.footer #weather-lab{width:auto;white-space:nowrap;display:inline-flex;gap:5px;align-items:center}.footer>span:nth-of-type(2){display:none}
@media(min-width:761px) and (max-height:850px){.ms-catalog .ms-card .ms-server-identity>.ms-server-avatar{width:52px;height:52px;min-height:52px;flex-basis:52px}.community-hero{height:220px;grid-template-columns:52px 1fr auto;grid-template-rows:50px 140px;gap:8px;padding:10px}.community-hero .ms-server-avatar{width:50px;height:50px}.community-title h1{font-size:23px}.community-customize{margin-top:2px}.community-columns{grid-template-rows:124px 124px}.community-survivor .community-person strong{font-size:12px}.community-survivor #community-character{height:48px;min-height:48px}.community-survivor .community-person small{font-size:10px}.community-survivor>a{font-size:10px}.community-online #community-roster{height:62px;min-height:62px}}
@media(min-width:1101px) and (max-height:850px){body[data-layout] #main:has(.ms-catalog){padding-top:10px;padding-bottom:10px}.ms-catalog .ms-card{height:194px;grid-template-rows:24px 54px 40px 36px;gap:6px}.ms-catalog .ms-card>.ms-server-roster{height:40px;min-height:40px}.ms-catalog .ms-event-card{height:194px}}
@media(min-width:1101px) and (max-height:850px){.ms-catalog .ms-featured-worlds>.is-global-showcase{height:144px;grid-template-rows:24px 52px 34px}.ms-catalog .ms-featured-worlds>.is-global-showcase>.ms-server-identity{height:52px}.ms-catalog .ms-featured-worlds .ms-event-card{height:144px}}
@media(max-width:760px){.ms-catalog .ms-card .ms-server-identity>.ms-server-avatar{width:72px;height:72px;min-height:72px;flex-basis:72px}}

@media(min-width:761px) and (max-height:850px){.community-title:has(.community-customize) .eyebrow{display:none}.community-title h1{margin:2px 0}.ms-catalog #server-grid .ms-card>.ms-server-roster{height:40px;min-height:40px}}
@media(min-width:761px) and (max-width:1100px) and (min-height:851px){.community-columns{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr);grid-template-rows:160px 160px}.community-news{grid-area:1/1/3/2}.community-access{grid-area:1/3/3/4}.community-online{grid-area:1/2}.community-survivor{grid-area:2/2}.community-news #news-title{font-size:23px}.community-columns h2{font-size:13px}.community-columns>.card{padding:12px}.community-access .connection-access{min-height:260px}}

#community-roster[data-empty]:not([data-empty='']):before{content:attr(data-empty);grid-column:1/-1;color:var(--muted);font-size:12px;line-height:1.5;padding-top:8px}
/* Compact composition: fixed offer rows and restrained telemetry, shared across communities. */
.ms-catalog .ms-heading h1{font-size:24px;line-height:1.25}
.ms-catalog .ms-heading p{display:block;margin:4px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}
.ms-catalog .ms-servers-heading p{display:none}
.ms-catalog .ms-offer{height:154px;grid-template-rows:18px 42px 36px;grid-template-columns:minmax(0,1fr) minmax(210px,.95fr);gap:4px 14px}
.ms-catalog .ms-offer>.ms-plan-reveal,.ms-catalog .ms-reveal-plans{height:128px}
.ms-catalog .ms-reveal-plans{grid-template-rows:104px 24px}
.ms-catalog .ms-plan-options,.ms-catalog .ms-private-options{height:104px;grid-template-rows:104px;gap:8px}
.ms-catalog .ms-plan-option{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:24px 26px 30px!important;align-items:center;align-content:center;justify-items:stretch;padding:6px;gap:4px;min-height:0;height:104px;box-sizing:border-box;text-align:center}
.ms-catalog .ms-plan-option .ms-period{grid-area:1/1!important;position:static;font-size:10px;line-height:12px;height:24px;min-height:24px;width:100%;max-width:none;display:flex;align-items:center;justify-content:center;margin:0;white-space:normal}
.ms-catalog .ms-plan-option strong{grid-area:2/1!important;position:static;font-family:inherit;font-size:22px;font-weight:600;line-height:26px;text-align:center;margin:0;padding:0;width:100%;height:26px}
.ms-catalog .ms-plan-option .button{grid-area:3/1!important;position:static;display:flex;align-items:center;justify-content:center;width:100%;height:30px;min-height:30px;min-width:0;margin:0;padding:3px 6px;font-size:11px;line-height:18px;border:1px solid #ffffff2b;background:linear-gradient(135deg,#373b3c,#25282a);color:var(--text);box-shadow:inset 0 1px #ffffff15}
.ms-catalog .ms-plan-option .ms-plan-badge,.ms-catalog .ms-plan-option .ms-cycle{display:none!important}
.ms-catalog .ms-reveal-trigger{font-family:inherit;font-weight:600;font-size:12px;line-height:1.4;letter-spacing:0;background:linear-gradient(115deg,#373b3d,#24272a);border-color:#ffffff30;color:#f0eeea}
.ms-catalog .ms-reveal-collapse{height:24px;min-height:24px;line-height:18px;padding:3px 6px}
.ms-catalog .ms-featured-worlds{grid-template-columns:minmax(0,1fr) 160px;align-items:start}
.ms-catalog .ms-featured-worlds>.is-global-showcase{grid-column:1;grid-template-columns:90px minmax(0,1fr) 230px;grid-template-rows:26px 64px 40px;height:170px;padding:12px;gap:8px 14px}
.ms-catalog .ms-featured-worlds>.is-global-showcase>.ms-server-top{grid-area:1/1/2/4}
.ms-catalog .ms-featured-worlds>.is-global-showcase>.ms-server-identity{grid-area:2/1/3/3;height:64px}
.ms-catalog .ms-featured-worlds>.is-global-showcase>.ms-server-identity h2{font-size:21px}
.ms-catalog .ms-featured-worlds>.is-global-showcase>.ms-server-roster{grid-area:2/3;height:48px;min-height:48px;align-self:center}
.ms-catalog .ms-featured-worlds>.is-global-showcase>.global-world-description{grid-area:3/1/4/3;display:block;align-self:center;font-size:12px;line-height:1.5;color:var(--muted);margin:0;padding-right:20px}
.ms-catalog .ms-featured-worlds>.is-global-showcase>.world-atmosphere{grid-area:3/3;width:100%;padding-right:65px;box-sizing:border-box}
.ms-catalog .ms-featured-worlds>.is-global-showcase>.button-row{grid-area:3/3;justify-self:end;align-self:center}
.ms-events-compact{display:grid;gap:8px}
.ms-catalog .ms-events-compact .ms-event-card{height:81px;min-height:0;padding:10px 12px;gap:4px;justify-content:center;box-sizing:border-box}
.ms-events-compact .ms-event-card .ms-chip{font-size:8px;letter-spacing:.08em;background:none;padding:0}
.ms-events-compact .ms-event-card h2{font-family:inherit;font-size:16px;font-weight:600;line-height:1.2}
.ms-events-compact .ms-event-card .ms-status{display:none}
.ms-catalog .ms-card .ms-server-summary{gap:4px 9px;align-items:center}
.ms-online-count{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--text)}
.ms-access-tag{font-size:9px;color:var(--muted);border:1px solid #ffffff20;border-radius:4px;padding:2px 5px;background:#15171980}
.community-channels{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;padding:4px 6px;border:1px solid #ffffff22;border-radius:5px;background:#15171980;color:var(--muted);font-size:10px;line-height:16px;cursor:pointer;min-height:26px}
.community-channels svg,.channels-dialog svg{width:14px;height:14px;flex:none}.community-channels:hover{color:var(--text);border-color:var(--accent)}
.community-title .community-channels{margin-right:12px}.community-title .community-customize{margin-top:4px}
.channels-dialog{width:min(520px,calc(100vw - 32px));max-height:80dvh;box-sizing:border-box;border:1px solid var(--line);border-radius:14px;padding:24px;background:var(--surface);color:var(--text);box-shadow:0 24px 80px #0009}
.channels-dialog::backdrop{background:#080a0bbb;backdrop-filter:blur(5px)}.channels-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.channels-dialog header small{font-size:9px;color:var(--accent);letter-spacing:.1em}.channels-dialog h2{font-size:23px;margin:6px 0}.channels-dialog p{font-size:12px;color:var(--muted);margin:6px 0 20px}.channels-dialog .icon-button{width:36px;height:36px;font-size:24px}.channels-people{display:grid;gap:10px}.channels-people section{padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--raised)}.channels-people h3{font-size:14px;margin:0 0 10px}.channels-people section>div{display:flex;flex-wrap:wrap;gap:8px}.channels-people a{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #ffffff26;border-radius:6px;font-size:12px;color:var(--text);text-decoration:none}
.community-dashboard>.community-hero{height:252px;grid-template-columns:80px minmax(0,1fr) auto;grid-template-rows:82px 110px;gap:20px 16px;padding:20px;min-height:0}
.community-hero .ms-server-avatar{width:80px;height:80px}.community-title h1{font-size:26px}.community-title .eyebrow{font-size:9px}
#overview-stats.community-native-stats{width:min(100%,790px);height:110px;grid-template-columns:minmax(270px,1.35fr) minmax(130px,.65fr) minmax(225px,1fr);gap:10px;align-self:end;justify-self:start}
#overview-stats.community-native-stats>.stat{height:110px;padding:10px 12px;grid-template-rows:16px 30px 30px;gap:6px;background:#14171996;border-color:#ffffff20;backdrop-filter:blur(4px);border-radius:7px}
#overview-stats.community-native-stats .stat-label{font-family:inherit;font-size:10px;line-height:16px;letter-spacing:.03em;text-transform:none}
#overview-stats.community-native-stats .stat>strong{font-size:18px;line-height:24px;font-weight:500}
#overview-stats.community-native-stats .stat>small{font-size:10px;line-height:14px;gap:8px}
#overview-stats.community-native-stats>.lab-status-tile{grid-template-rows:16px 24px 18px 22px;gap:2px}
#overview-stats.community-native-stats .lab-state{font-size:18px;line-height:24px;font-weight:500;gap:8px}
#overview-stats.community-native-stats .overview-progress{height:18px;min-height:18px}
#overview-stats.community-native-stats .lab-actions{height:22px;min-height:22px;gap:8px}
#overview-stats.community-native-stats .lab-actions button{font-size:10px;min-height:22px;line-height:16px;padding:2px 0}
#overview-stats.community-native-stats .lab-actions .lab-phase-note{font-size:9px}
#overview-stats.community-native-stats .lab-update-cta{padding:2px 5px!important}
.community-native-stats .weather-icon{width:20px;height:20px}
/* Home-style weather: subtle light/mist behind the content; bounded fine precipitation. */
[data-weather=sun]{--weather-color:#e8c785}[data-weather=rain]{--weather-color:#adc3d2}[data-weather=snow]{--weather-color:#d4e2e7}[data-weather=fog],[data-weather=cloud]{--weather-color:#b9c4c9}
:is(.ms-card,.community-hero,.server-scene,.weather-example):after{content:none!important}
:is(.ms-card,.community-hero,.server-scene,.weather-example)>.weather-layer{position:absolute!important;inset:0;z-index:0!important;pointer-events:none;overflow:hidden;border-radius:inherit;grid-area:auto!important;opacity:.8;transition:opacity .6s}
.weather-layer canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0}
[data-weather=rain]>.weather-layer canvas,[data-weather=snow]>.weather-layer canvas{opacity:1}
.weather-layer:before,.weather-layer:after{content:'';position:absolute;inset:-20%;opacity:0;transition:opacity 1s}
[data-weather=sun]>.weather-layer:before{opacity:.65;background:radial-gradient(ellipse at 82% 0%,#f7d28e33,transparent 60%)}
[data-weather=cloud]>.weather-layer:before{opacity:.5;background:radial-gradient(ellipse at 30% 10%,#c1ced524,transparent 60%),radial-gradient(ellipse at 80% 0%,#a9b8c933,transparent 50%)}
[data-weather=fog]>.weather-layer:before,[data-weather=fog]>.weather-layer:after{opacity:.45;background:radial-gradient(ellipse at 30% 55%,#d6e1e64a,transparent 65%);filter:blur(18px);animation:world-mist 24s ease-in-out infinite alternate}
[data-weather=fog]>.weather-layer:after{background:radial-gradient(ellipse at 75% 35%,#b4c4ce40,transparent 60%);animation-duration:31s;animation-direction:alternate-reverse}
@keyframes world-mist{from{transform:translateX(-7%)}to{transform:translateX(7%)}}
body[data-weather-style=neutral] .weather-layer{display:none}
body[data-weather-style=top] .weather-layer{mask-image:linear-gradient(#000,transparent 65%)}
body[data-weather-style=bottom] .weather-layer{mask-image:linear-gradient(transparent 20%,#000)}
body[data-weather-style=frame] .weather-layer{mask-image:linear-gradient(90deg,#000,transparent 15%,transparent 85%,#000),linear-gradient(#000,transparent 25%,transparent 75%,#000)}
@media(min-width:761px) and (max-height:850px){
.ms-catalog .ms-heading h1{font-size:22px}.ms-catalog .ms-heading p{font-size:11px;margin-top:2px}
.ms-catalog .ms-offer{height:138px;padding:10px 12px;grid-template-rows:18px 38px 32px}.ms-catalog .ms-offer h2{font-size:20px}.ms-catalog .ms-offer>.ms-plan-reveal,.ms-catalog .ms-reveal-plans{height:116px}.ms-catalog .ms-reveal-plans{grid-template-rows:94px 22px}.ms-catalog .ms-plan-options,.ms-catalog .ms-private-options{height:94px;grid-template-rows:94px}.ms-catalog .ms-plan-option{height:94px;grid-template-rows:22px 22px 28px!important;gap:3px;padding:5px}.ms-catalog .ms-plan-option strong{font-size:20px;line-height:22px;height:22px}.ms-catalog .ms-plan-option .ms-period{height:22px;min-height:22px;line-height:11px}.ms-catalog .ms-plan-option .button{height:28px;min-height:28px}.ms-catalog .ms-reveal-collapse{height:22px;min-height:22px}
.ms-catalog .ms-featured-worlds>.is-global-showcase{height:158px;grid-template-rows:24px 58px 36px;padding:10px;gap:8px 12px}.ms-catalog .ms-featured-worlds>.is-global-showcase>.ms-server-identity{height:58px}.ms-catalog .ms-featured-worlds>.is-global-showcase>.ms-server-identity h2{font-size:19px}.ms-catalog .ms-featured-worlds>.is-global-showcase>.global-world-description{font-size:11px}.ms-catalog .ms-events-compact .ms-event-card{height:75px}
.community-dashboard>.community-hero{height:216px;grid-template-columns:64px minmax(0,1fr) auto;grid-template-rows:64px 110px;gap:14px 12px;padding:12px}.community-hero .ms-server-avatar{width:64px;height:64px}.community-title h1{font-size:23px}
}
@media(min-width:761px) and (max-width:1100px){
.ms-catalog .ms-offer{height:150px;padding:10px;grid-template-columns:minmax(0,1fr) minmax(170px,1fr);grid-template-rows:18px 40px 48px;gap:4px 8px}.ms-catalog .ms-offer>.ms-plan-reveal{grid-area:1/2/4/3;height:128px}.ms-catalog .ms-offer h2{font-size:18px}.ms-catalog .ms-offer>.ms-chip{font-size:7px;letter-spacing:.03em}.ms-catalog .ms-offer>p,.ms-catalog .ms-offer>.ms-benefits{font-size:10px;line-height:1.35}.ms-catalog .ms-plan-option strong{font-size:18px}.ms-catalog .ms-featured-worlds{grid-template-columns:minmax(0,1fr) 120px}.ms-catalog .ms-featured-worlds>.is-global-showcase{grid-template-columns:58px minmax(0,1fr) 190px;height:154px;grid-template-rows:24px 58px 36px;gap:6px 8px;padding:10px}.ms-catalog .ms-featured-worlds>.is-global-showcase>.ms-server-identity{height:58px}.ms-catalog .ms-featured-worlds>.is-global-showcase>.ms-server-identity h2{font-size:18px}.ms-catalog .ms-featured-worlds>.is-global-showcase .ms-server-avatar{width:54px!important;height:54px!important;min-height:54px!important;flex-basis:54px!important}.ms-catalog .ms-featured-worlds>.is-global-showcase>.global-world-description{font-size:10px;padding-right:8px}.ms-catalog .ms-featured-worlds>.is-global-showcase>.world-atmosphere{padding-right:60px;grid-template-columns:34px minmax(0,1fr);gap:4px}.ms-catalog .ms-featured-worlds>.is-global-showcase .world-climate{column-gap:4px;grid-template-columns:16px minmax(0,1fr)}.ms-catalog .ms-featured-worlds>.is-global-showcase .weather-icon{width:16px;height:16px}.ms-catalog .ms-events-compact .ms-event-card{height:73px;padding:8px}.ms-events-compact .ms-event-card .ms-chip{font-size:7px}.ms-events-compact .ms-event-card h2{font-size:14px}
.ms-catalog #server-grid .ms-card{height:156px;grid-template-columns:1fr auto;grid-template-rows:24px 52px 40px;gap:6px;padding:10px}.ms-catalog #server-grid .ms-card>.ms-server-identity{grid-area:2/1;height:52px}.ms-catalog #server-grid .ms-card .ms-server-avatar{width:48px!important;height:48px!important;min-height:48px!important;flex-basis:48px!important}.ms-catalog #server-grid .ms-card h2{font-size:15px}.ms-catalog #server-grid .ms-card .ms-server-summary{font-size:10px;margin-top:4px;gap:3px}.ms-catalog #server-grid .ms-card>.ms-server-roster{grid-area:2/2;height:46px;min-height:46px;max-width:94px}.ms-catalog #server-grid .ms-mini-player:nth-child(n+3){display:none}.ms-catalog #server-grid .ms-card>.world-atmosphere{grid-area:3/1}.ms-catalog #server-grid .ms-card>.button-row{grid-area:3/2}.ms-catalog .ms-server-top .community-channels span{display:none}
#overview-stats.community-native-stats{grid-template-columns:minmax(245px,1.2fr) minmax(115px,.65fr) minmax(205px,1fr);width:100%}
}
@media(max-width:760px){
.ms-catalog .ms-offer{height:auto;min-height:280px;grid-template-columns:1fr;grid-template-rows:20px auto auto 140px;gap:10px;padding:16px}.ms-catalog .ms-offer>.ms-plan-reveal{grid-area:4/1;height:140px;max-width:none}.ms-catalog .ms-reveal-plans{height:140px;grid-template-rows:112px 28px}.ms-catalog .ms-plan-options,.ms-catalog .ms-private-options{height:112px;grid-template-rows:112px}.ms-catalog .ms-plan-option{height:112px;grid-template-rows:24px 26px 38px!important}.ms-catalog .ms-plan-option .button{height:38px;min-height:38px}.ms-catalog .ms-reveal-collapse{height:28px;min-height:28px}.ms-catalog .ms-offer h2{font-size:24px}
.ms-catalog .ms-featured-worlds{grid-template-columns:1fr;gap:10px}.ms-catalog .ms-featured-worlds>.is-global-showcase{grid-column:1;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:28px 76px 40px 48px 40px;height:300px;padding:16px;gap:8px}.ms-catalog .ms-featured-worlds>.is-global-showcase>.ms-server-top{grid-area:1/1/2/3}.ms-catalog .ms-featured-worlds>.is-global-showcase>.ms-server-identity{grid-area:2/1/3/3;height:76px}.ms-catalog .ms-featured-worlds>.is-global-showcase>.global-world-description{grid-area:3/1/4/3;font-size:11px;padding:0}.ms-catalog .ms-featured-worlds>.is-global-showcase>.ms-server-roster{grid-area:4/1/5/3}.ms-catalog .ms-featured-worlds>.is-global-showcase>.world-atmosphere{grid-area:5/1;padding:0}.ms-catalog .ms-featured-worlds>.is-global-showcase>.button-row{grid-area:5/2}.ms-events-compact{grid-template-columns:1fr 1fr;gap:10px}.ms-catalog .ms-events-compact .ms-event-card{height:64px;padding:10px}.ms-events-compact .ms-event-card h2{font-size:16px}.ms-events-compact .ms-event-card .ms-chip{font-size:7px}
.community-dashboard>.community-hero{height:auto;grid-template-columns:64px minmax(0,1fr);grid-template-rows:90px auto 44px;padding:16px;gap:12px}.community-hero .ms-server-avatar{width:64px;height:64px}.community-title h1{font-size:22px}.community-title .eyebrow{font-size:8px}.community-title .community-customize{display:block;font-size:10px}.community-title .community-channels{font-size:9px;padding:2px 5px;min-height:24px}#overview-stats.community-native-stats{grid-area:2/1/3/3;grid-template-columns:1fr 1fr;height:auto;width:100%;gap:8px}#overview-stats.community-native-stats>.stat{height:106px;grid-template-rows:16px 26px 30px;padding:10px;gap:5px}#overview-stats.community-native-stats>.lab-status-tile{height:110px;grid-column:1/-1;grid-template-rows:16px 24px 18px 22px;gap:2px}#overview-stats.community-native-stats .stat>strong{font-size:16px}#overview-stats.community-native-stats .stat>small{font-size:9px;gap:5px}.community-native-stats .weather-icon{width:18px;height:18px}.community-hero>a{grid-area:3/1/4/3}
.channels-dialog{padding:20px}.channels-people a{min-height:28px}
}
@media(prefers-reduced-motion:reduce){.weather-layer:before,.weather-layer:after{animation:none!important;transition:none!important}.weather-layer canvas{display:none}}

/* Identical tracks: older private-offer selectors must not collapse the row gap. */
.ms-catalog .ms-plan-options .ms-plan-option,.ms-catalog .ms-private-options .ms-plan-option{row-gap:4px!important;column-gap:4px!important}
@media(min-width:761px) and (max-height:850px){.ms-catalog .ms-plan-options .ms-plan-option,.ms-catalog .ms-private-options .ms-plan-option{row-gap:3px!important}}
@media(min-width:761px) and (max-height:760px){
.ms-catalog .ms-offer{height:128px;padding:6px 10px;grid-template-rows:16px 34px 30px}
.ms-catalog .ms-featured-worlds>.is-global-showcase{height:138px;grid-template-rows:22px 48px 32px;gap:6px 10px;padding:10px}
.ms-catalog .ms-featured-worlds>.is-global-showcase>.ms-server-identity{height:48px}.ms-catalog .ms-featured-worlds>.is-global-showcase>.ms-server-identity h2{font-size:17px}
.ms-catalog .ms-featured-worlds>.is-global-showcase>.global-world-description{font-size:10px}
.ms-catalog .ms-events-compact .ms-event-card{height:65px}
.ms-catalog #server-grid .ms-card{height:184px;grid-template-rows:24px 50px 36px 34px;gap:6px;padding:10px}.ms-catalog #server-grid .ms-card>.ms-server-roster{height:36px;min-height:36px}.ms-catalog #server-grid .ms-mini-portrait,.ms-catalog #server-grid .ms-mini-portrait .avatar{width:22px;height:22px}.ms-catalog #server-grid .ms-mini-player{gap:1px}.ms-catalog .ms-heading{margin-bottom:6px}
}
@media(min-width:761px) and (max-width:1100px){
.ms-catalog .ms-offer{height:138px;grid-template-rows:18px 40px 44px;padding:6px 10px}
.ms-catalog .ms-featured-worlds>.is-global-showcase{height:144px;grid-template-rows:22px 54px 34px;gap:6px 8px;padding:10px}.ms-catalog .ms-events-compact .ms-event-card{height:68px}
.ms-catalog #server-grid .ms-card{height:150px;grid-template-rows:22px 50px 38px;gap:6px}
.ms-catalog #server-grid .ms-card>.ms-server-identity{height:50px}.ms-catalog .ms-heading{margin-bottom:8px}.ms-catalog .ms-servers-heading{margin:8px 0 6px}
}

.ms-mini-narrow-more{display:none}
@media(min-width:761px) and (max-width:1100px){.ms-catalog #server-grid .ms-mini-player{width:32px;min-width:32px;flex-basis:32px}.ms-catalog #server-grid .ms-mini-player>span:last-child{width:32px;max-width:32px}.ms-catalog #server-grid .ms-mini-more{display:none}.ms-catalog #server-grid .ms-mini-narrow-more{display:flex;align-items:center;align-self:center;min-width:18px;font-size:10px;color:var(--muted)}.ms-catalog #server-grid .ms-mini-players{gap:4px}.ms-catalog #server-grid .ms-card>.ms-server-roster{max-width:94px}}
@media(min-width:1101px) and (max-height:760px){.ms-catalog .ms-heading{margin-bottom:4px}}
.ms-catalog .ms-plan-option .button{margin:0!important;align-self:center!important;transform:none!important;top:auto;bottom:auto}

/* Production cover: one compact shared glass panel, preserving the picture. */
.community-dashboard>.community-hero.production-cover{height:350px;grid-template-columns:68px minmax(0,1fr) auto;grid-template-rows:94px minmax(0,1fr);padding:24px;gap:16px;background:linear-gradient(90deg,#0b101450,transparent 72%),var(--server-cover) center 48%/cover}
.production-cover .ms-server-avatar{width:68px;height:68px}.production-cover #community-avatar{align-self:start}
.production-cover .community-title h1{font-size:32px;line-height:1.2;margin:4px 0 6px;text-shadow:0 2px 10px #0009}.production-cover .community-title .eyebrow{font-size:9px}.production-cover>.button{align-self:start}
#overview-stats.production-summary{position:relative;grid-area:2/1/3/4;align-self:end;width:588px;max-width:100%;height:108px;box-sizing:border-box;grid-template-columns:130px 88px 102px minmax(0,1fr);grid-template-rows:1fr;gap:12px;padding:12px;border:1px solid #ffffff22;border-radius:7px;background:#111719d9;backdrop-filter:blur(7px);box-shadow:0 5px 18px #0003}
#overview-stats.production-summary>.stat,#overview-stats.production-summary>.lab-status-tile{display:grid;grid-template-rows:16px 23px 20px;position:static;width:auto;height:60px;min-height:0;gap:4px;padding:0;margin:0;border:0;border-radius:0;background:none;backdrop-filter:none;box-shadow:none;align-content:start}
#overview-stats.production-summary .stat-label{font-size:10px;line-height:16px;text-transform:none;letter-spacing:0;color:#d3d9d7;white-space:nowrap}
#overview-stats.production-summary .stat>strong,#overview-stats.production-summary .lab-state{font-size:16px;line-height:23px;font-weight:550;letter-spacing:-.025em;margin:0;align-self:start}
#overview-stats.production-summary .lab-state{gap:6px}#overview-stats.production-summary .lab-state i{width:5px;height:5px}
#overview-stats.production-summary .stat>small{font-size:10px;line-height:14px;align-self:start;gap:6px}
#overview-stats.production-summary #native-weather{display:grid;grid-template-columns:18px 1fr;gap:6px;align-items:start;line-height:14px}
#overview-stats.production-summary #native-weather .weather-icon{width:18px;height:18px;margin:0}
#overview-stats.production-summary .lab-status-row{grid-area:2/1;margin:0;min-height:0}
#overview-stats.production-summary .lab-status-tile .overview-progress{position:absolute;grid-area:auto;top:auto;bottom:33px;left:12px;right:auto;width:130px;min-height:15px;height:15px;margin:0}
#overview-stats.production-summary .lab-status-tile .lab-actions{position:absolute;grid-area:auto;top:auto;left:12px;right:12px;bottom:10px;display:flex;align-items:center;justify-content:flex-start;height:22px;min-height:22px;gap:12px;margin:0;padding:0}
#overview-stats.production-summary .lab-status-tile .lab-actions button{font-size:10px;line-height:16px;min-height:22px;padding:2px 0}
#overview-stats.production-summary .lab-status-tile .lab-actions .lab-phase-note{font-size:10px;line-height:16px;margin:0;color:var(--muted)}
#overview-stats.production-summary .lab-update-cta{background:transparent!important;border:0!important;box-shadow:none!important;padding:2px 0!important;color:var(--muted)}
@media(min-width:761px) and (max-height:850px){.community-dashboard>.community-hero.production-cover{height:228px;grid-template-rows:64px 108px;gap:14px;padding:16px}.production-cover .ms-server-avatar{width:58px;height:58px}.production-cover .community-title h1{font-size:26px}.production-cover .community-title:has(.community-customize) .eyebrow{display:none}}
@media(max-width:760px){.community-dashboard>.community-hero.production-cover{height:auto;grid-template-columns:58px minmax(0,1fr);grid-template-rows:90px 182px 44px;gap:12px;padding:16px;background-position:58% center}.production-cover .ms-server-avatar{width:58px;height:58px}.production-cover .community-title h1{font-size:23px}.production-cover>.button{grid-area:3/1/4/3;align-self:stretch}
#overview-stats.production-summary{grid-area:2/1/3/3;width:100%;max-width:100%;height:182px;grid-template-columns:1fr 1fr;grid-template-rows:50px 68px;gap:8px 12px;padding:12px}
#overview-stats.production-summary>.stat,#overview-stats.production-summary>.lab-status-tile{height:50px;grid-column:auto;grid-template-rows:16px 23px;gap:4px}
#overview-stats.production-summary>.world-readout{height:68px;grid-template-rows:16px 23px 20px}
#overview-stats.production-summary .stat>strong,#overview-stats.production-summary .lab-state{font-size:15px;line-height:23px}
#overview-stats.production-summary .lab-status-tile .overview-progress{top:48px;bottom:auto;width:calc(50% - 24px);height:15px}
#overview-stats.production-summary .lab-status-tile .lab-actions{bottom:10px;height:28px;min-height:28px}
#overview-stats.production-summary .lab-status-tile .lab-actions button{min-height:28px;font-size:11px}
#overview-stats.production-summary .lab-phase-note{font-size:9px}
}
@media(min-width:761px) and (max-height:760px){.community-dashboard>.community-hero.production-cover{height:214px;padding:12px;gap:12px}}

@media(min-width:761px) and (max-width:1100px) and (min-height:851px){.community-dashboard>.community-hero.production-cover{height:318px}}

/* Keep the animated walker in the maintenance dialog; the summary uses a fine progress line. */
#overview-stats.production-summary .overview-progress img,#overview-stats.production-summary .overview-progress b{display:none}

