/* Launcher composition. Existing card, form, chat and plugin contracts stay intact. */
html body.launcher-app{--launcher-rail:0px;--launcher-top:64px;--launcher-navigation-surface:#101010;padding:0!important;margin:0!important;min-width:0;background:var(--realm-bg)!important}
.launcher-app *, .launcher-app *::before,.launcher-app *::after{box-sizing:border-box}
.launcher-workspace{margin-left:var(--launcher-rail);width:calc(100% - var(--launcher-rail));min-width:0;padding-top:var(--launcher-top);isolation:isolate;position:relative}
.launcher-workspace::before{content:'';position:absolute;z-index:-1;inset:0 0 auto;height:600px;pointer-events:none;background:linear-gradient(#101720a6,transparent),url('realm-welcome-banner.webp') center top/cover;opacity:.055}
html body.launcher-app[class] .site-header,html body.launcher-app[class] .site-header.scrolled{position:fixed!important;top:0!important;left:var(--launcher-rail)!important;right:0!important;width:auto!important;height:var(--launcher-top)!important;min-height:0!important;max-width:none!important;padding:0 28px!important;margin:0!important;display:flex!important;align-items:center;gap:18px;z-index:80;background:var(--launcher-navigation-surface)!important;border-bottom:1px solid #ffffff0b!important;box-shadow:none!important;animation:none!important;backdrop-filter:none!important}
html body.launcher-app[class] .site-header>.brand{display:flex!important;min-width:0;margin-right:auto}


.launcher-app .site-nav-menu{margin-left:auto!important}
html body.launcher-app[class] .site-header .account-link{max-width:200px;min-height:36px!important;padding:7px 12px!important}.launcher-app .account-link-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.launcher-sidebar{position:fixed;left:0;top:0;bottom:0;width:var(--launcher-rail);z-index:90;display:flex;flex-direction:column;padding:30px 18px 16px;background:var(--launcher-navigation-surface);border-right:1px solid #ffffff0b;isolation:isolate;overflow:auto;scrollbar-width:thin}
html body.launcher-app>aside.launcher-sidebar{background:var(--launcher-navigation-surface)!important;background-image:none!important}
.launcher-sidebar::before{content:none!important}
.launcher-brand{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;text-decoration:none;padding:0 0 30px;color:#fff}
.launcher-brand img{object-fit:contain;width:68px;height:68px}.launcher-brand>span{font-size:1.3rem;font-weight:800;letter-spacing:-.03em}.launcher-brand small{display:block;font-size:.49rem;font-weight:500;letter-spacing:.16em;color:#929eaf;margin-top:8px}
.launcher-primary,.launcher-secondary{display:grid;gap:4px}.launcher-primary a,.launcher-secondary a{display:flex;align-items:center;gap:14px;min-height:43px;padding:10px 13px;color:#a0abba;text-decoration:none;border-left:2px solid transparent;transition:background .16s,color .16s,transform .16s;font-size:.73rem;font-weight:500}
.launcher-sidebar svg,.launcher-mobile svg,.launcher-empty-icon svg,.launcher-map-placeholder svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.launcher-primary a[aria-current=page]{background:#91d7df0c;border-left-color:#8cd3dc;color:#d9f3f5}.launcher-primary a[aria-current=page] svg{color:#8cd3dc}.launcher-primary a:hover,.launcher-secondary a:hover{background:#ffffff06;color:#e9f1fa;transform:translateX(2px)}
.launcher-sidebar-bottom{margin-top:auto;padding-top:26px}.launcher-secondary{border-top:1px solid #ffffff0a;padding-top:16px}.launcher-secondary a{font-size:.65rem;min-height:38px;color:#8995a7}.launcher-secondary svg{width:17px;height:17px}
.launcher-player{display:flex;align-items:center;gap:11px;text-decoration:none;padding:18px 4px 2px;margin-top:20px;border-top:1px solid #ffffff0d;color:#cfd9e7}.launcher-player>img{object-fit:cover;image-rendering:pixelated;border:1px solid #ffffff1a;flex-shrink:0}.launcher-player>span{min-width:0}.launcher-player strong{display:block;font-size:.65rem;overflow-wrap:anywhere}.launcher-player small{display:block;font-size:.5rem;color:#93a2b7;margin-top:6px;line-height:1.7}.launcher-player .mc-rank{font-size:inherit}
.launcher-skip{position:fixed;left:calc(var(--launcher-rail) + 18px);top:-100px;z-index:120;background:#142832;color:#fff;padding:12px}.launcher-skip:focus{top:8px}#launcher-main{scroll-margin-top:80px}
.launcher-app :is(.launcher-primary a,.launcher-secondary a,.launcher-mobile a,.launcher-mobile summary):focus-visible{outline:2px solid #8cd3dc;outline-offset:3px}
html body.launcher-app main{padding-top:32px!important;min-width:0;max-width:100%;margin-top:0!important}
html body.launcher-app :is(main.profile-page,main.project-shell.content-shell){padding-top:0!important}
html body.launcher-app .project-shell.content-shell{width:100%!important;max-width:none!important;padding-inline:0!important}
html body.launcher-app .project-shell>.project-identity{margin-inline:0!important;width:100%!important;padding-inline:clamp(20px,3vw,56px)!important}
html body.launcher-app .project-shell>:not(.project-identity){max-width:1180px;width:calc(100% - 64px);margin-inline:auto}
html body.launcher-app :is(.content-shell,.story-shell,.account-shell,.member-shell,.forum-shell,.messages-shell){max-width:1180px;width:calc(100% - 64px)}
html body.launcher-app main.profile-page{width:100%!important}.launcher-app .profile-showcase{min-width:0}.launcher-app .profile-page>.profile-showcase{padding-inline:clamp(20px,3vw,56px)}
html body.launcher-app .site-footer{width:calc(100% - 64px)!important;max-width:1180px;margin:64px auto 0!important;padding-inline:0!important}.launcher-app .footer-navigation{margin-left:auto}.launcher-app .cms-notice{max-width:calc(100% - 32px);margin-inline:auto}
/* Existing home artwork and welcome copy become one horizontal feature. */
html body.launcher-app.realm-home-nav main{padding-top:28px!important}
html body.launcher-app .realm-portal-hero{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);min-height:340px!important;height:auto!important;max-width:1180px;width:calc(100% - 64px)!important;margin:0 auto 32px!important;overflow:hidden;isolation:isolate;background:#141923;border:1px solid #ffffff0c}
html body.launcher-app .realm-portal-hero::before,html body.launcher-app .realm-portal-hero::after{display:none!important}
html body.launcher-app .realm-portal-hero .welcome-art{position:relative!important;inset:auto!important;width:100%;height:100%;min-height:340px;object-fit:cover;object-position:center;z-index:auto!important;filter:brightness(.78)!important}
html body.launcher-app .realm-portal-hero .welcome-caption{position:relative!important;inset:auto!important;align-self:center;width:100%!important;padding:38px!important;max-width:none!important;margin:0!important;background:none!important;text-align:left!important;transform:none!important;z-index:auto!important}
html body.launcher-app .realm-portal-hero h1{font-size:clamp(1.8rem,2.8vw,3rem)!important;line-height:1.15;max-width:13ch;margin:14px 0 20px!important;text-shadow:none!important}.launcher-app .realm-portal-hero h1 span{color:#dfeaf0!important}.launcher-app .realm-portal-hero .eyebrow{color:#b7a374;font-size:.56rem!important;letter-spacing:.11em}.launcher-app .realm-portal-hero .welcome-caption>p:last-child{font-size:.78rem!important;color:#aab5c5;line-height:1.9;max-width:35ch}.launcher-app .realm-portal-hero br{display:none}
html body.launcher-app .realm-portal{padding-top:0!important;padding-bottom:12px!important;margin-top:0!important}.launcher-app .portal-heading{margin-bottom:20px!important}.launcher-app .portal-grid{gap:18px!important}.launcher-app .portal-choice{min-width:0}.launcher-app .portal-choice h2{font-size:1.15rem}.launcher-app .portal-choice p{font-size:.75rem}
.launcher-section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 0 24px}.launcher-section-heading h2{font-size:1.45rem;letter-spacing:-.03em;margin:0}.launcher-section-heading .eyebrow{font-size:.52rem;color:#8697ae;margin-bottom:10px}.launcher-section-heading>.text-link{font-size:.67rem;white-space:nowrap}
.launcher-live,.launcher-adventure{margin:48px auto}.launcher-live-grid{display:grid;grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr);gap:24px}.launcher-live-grid>div{min-width:0}.launcher-editorial{display:grid;gap:20px}.launcher-story{padding:28px;min-width:0}.launcher-story>.eyebrow{font-size:.53rem;color:#ad9d78;letter-spacing:.13em}.launcher-story h2{font-size:1.35rem;line-height:1.35;letter-spacing:-.025em;margin:12px 0 16px}.launcher-story h2 span{font-size:.75em;color:#95a6bb}.launcher-story p{font-size:.76rem;line-height:1.9;color:#99a7b9}.launcher-story time{display:block;font-size:.6rem;color:#6e829a;margin:15px 0 22px}.launcher-story .md-button{margin-top:16px}.launcher-inline-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.launcher-inline-actions .text-link{font-size:.7rem}.launcher-inline-actions .md-button{margin:8px 0 0}
.launcher-live .server-banner-card,.launcher-view .server-banner-card{width:100%;max-width:none}.launcher-data-note{font-size:.64rem;line-height:1.8;color:#8494ab}.launcher-adventure .public-mc-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:20px}.launcher-adventure-rank{margin:10px 0}.launcher-adventure>p:not(.launcher-data-note){color:#a9b3c2;font-size:.8rem;line-height:1.9}
.launcher-view{margin:0 auto;min-height:65vh;padding-bottom:32px}.launcher-view-heading{margin-bottom:38px;padding-top:18px}.launcher-view-heading .eyebrow{color:#8eaaae;font-size:.57rem;letter-spacing:.15em}.launcher-view-heading h1{font-size:clamp(2rem,4vw,3.1rem);letter-spacing:-.045em;margin:14px 0}.launcher-view-heading>p:last-child{color:#8f9eb3;font-size:.82rem;line-height:1.8}.launcher-empty{max-width:760px}.launcher-empty-icon{display:block;color:#a1cdd2;margin-bottom:24px}.launcher-empty-icon svg{width:38px;height:38px}.launcher-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.launcher-contact{display:flex;gap:18px;padding:24px}.launcher-contact>img{flex-shrink:0;object-fit:cover}.launcher-contact h2{font-size:.95rem;margin:0 0 10px}.launcher-contact p{font-size:.7rem;color:#8e9eb2}.launcher-contact .text-link{font-size:.67rem;margin-right:12px}.launcher-map-placeholder{padding:32px 20px;margin-top:32px;border:1px dashed #ffffff1c;text-align:center;color:#8ba5b2;min-height:210px}.launcher-map-placeholder strong{display:block;margin:14px 0;font-size:.85rem}.launcher-map-placeholder p{max-width:40ch;margin:auto;font-size:.67rem}
.launcher-mobile{display:none}.launcher-app .ember-layer{display:none!important}
html body.launcher-app.messages-page .messages-shell{padding-top:32px!important;padding-bottom:32px!important;max-width:1280px}.launcher-app.messages-page .messages-layout{height:clamp(540px,calc(100dvh - 225px),960px)}
@media(min-width:1600px){html body.launcher-app{--launcher-rail:0px}.launcher-brand{padding-bottom:40px}.launcher-primary a{min-height:47px}}
@media(max-width:1100px){html body.launcher-app{--launcher-rail:0px}.launcher-sidebar{padding:24px 12px 14px}.launcher-app .forum-nav-link{display:none}.launcher-primary a{gap:10px}.launcher-brand>span{font-size:1.14rem}html body.launcher-app[class] .site-header{gap:12px;padding-inline:22px!important}.launcher-live-grid{grid-template-columns:minmax(260px,.95fr) minmax(0,1.05fr)}html body.launcher-app .realm-portal-hero .welcome-caption{padding:25px!important}.launcher-app .portal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.launcher-app .portal-choice{padding:22px!important}.launcher-app .portal-choice p{font-size:.68rem}}
@media(max-width:900px){.launcher-live-grid{grid-template-columns:1fr}.launcher-editorial{grid-template-columns:repeat(2,minmax(0,1fr))}.launcher-app .portal-grid{grid-template-columns:1fr!important}.launcher-app .portal-choice{min-height:0!important}.launcher-app .portal-choice .portal-card-top{margin-bottom:12px}.launcher-app .profile-showcase{grid-template-columns:220px minmax(0,1fr)}.launcher-app .profile-showcase-actions{gap:8px}.launcher-app .account-columns{grid-template-columns:1fr!important}}
@media(max-width:800px){html body.launcher-app{--launcher-rail:0px;--launcher-top:60px}.launcher-sidebar{display:none}.launcher-workspace{width:100%;margin:0;padding-bottom:76px}html body.launcher-app[class] .site-header{left:0!important;padding-inline:18px!important;gap:12px}.launcher-mobile{position:fixed;bottom:0;left:0;right:0;z-index:100;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:var(--launcher-navigation-surface);border-top:1px solid #ffffff15;padding:8px 8px max(8px,env(safe-area-inset-bottom));backdrop-filter:blur(12px)}.launcher-mobile>a,.launcher-mobile summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:48px;color:#a1b0c3;text-decoration:none;cursor:pointer;font-size:.53rem;list-style:none}.launcher-mobile summary::-webkit-details-marker{display:none}.launcher-mobile>a:hover,.launcher-mobile details[open]>summary{color:#c3edf0}.launcher-mobile details>nav{position:absolute;bottom:calc(100% + 8px);right:12px;width:210px;max-height:65dvh;overflow:auto;background:var(--launcher-navigation-surface);border:1px solid #ffffff19;padding:10px;box-shadow:0 10px 32px #0006}.launcher-mobile details>nav a{display:block;padding:12px 14px;font-size:.76rem;text-decoration:none;color:#b8c5d7}.launcher-mobile details>nav a:hover{background:#ffffff08}.launcher-app .cookie-notice{bottom:90px!important}.launcher-app .cms-inline-toolbar{bottom:90px}.launcher-app .profile-showcase{grid-template-columns:250px minmax(0,1fr)}.launcher-app .portal-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:600px){html body.launcher-app :is(.content-shell,.story-shell,.account-shell,.member-shell,.forum-shell,.messages-shell){width:calc(100% - 32px)}html body.launcher-app .site-footer{width:calc(100% - 32px)!important}.launcher-app .site-nav-menu>summary{font-size:.7rem!important}.launcher-app .site-header .account-link-label{max-width:75px}.launcher-app .site-header .account-link .mc-rank,.launcher-app .site-header .account-link .staff-label{display:none}html body.launcher-app[class] .site-header{gap:9px;padding-inline:12px!important}html body.launcher-app .realm-portal-hero{width:calc(100% - 32px)!important;grid-template-columns:1fr;min-height:0!important}.launcher-app .realm-portal-hero .welcome-art{min-height:0!important;height:200px!important}.launcher-app .realm-portal-hero .welcome-caption{padding:28px!important}html body.launcher-app .realm-portal-hero h1{max-width:none;font-size:2rem!important}.launcher-app .portal-grid{grid-template-columns:1fr!important}.launcher-editorial,.launcher-contact-grid{grid-template-columns:1fr}.launcher-story{padding:24px}.launcher-live,.launcher-adventure{margin-top:36px;margin-bottom:36px}.launcher-section-heading h2{font-size:1.25rem}.launcher-section-heading{align-items:center}.launcher-section-heading>.text-link{font-size:.58rem}.launcher-adventure .public-mc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.launcher-app .profile-showcase{grid-template-columns:1fr}.launcher-app .project-shell>:not(.project-identity){width:calc(100% - 32px)!important}.launcher-app .footer-grid{gap:28px}.launcher-app .footer-navigation{width:100%;justify-content:flex-end}.launcher-app .launcher-contact>div{min-width:0}.launcher-contact h2{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.launcher-primary a,.launcher-secondary a{transition:none;transform:none!important}}

.launcher-realm-status{display:flex;align-items:center;gap:7px;white-space:nowrap;text-decoration:none;color:#899caf;font-size:.6rem}.launcher-realm-status span:first-child{color:#90bec5;font-size:1rem}@media(max-width:1100px){.launcher-realm-status{display:none}}@media(max-width:800px){.launcher-workspace::before{background-image:linear-gradient(#101720a6,transparent);height:260px}}

.launcher-app .realm-embers{display:none!important}.launcher-app .launcher-enter{margin-top:20px}.launcher-app .launcher-realm-status[data-state=online] span:first-child{color:#7aaf86}.launcher-app .launcher-realm-status[data-state=offline] span:first-child{color:#ba8079}
@media(min-width:801px) and (max-width:1100px){html body.launcher-app .project-identity{grid-template-columns:1fr!important;align-items:start!important}.launcher-app .project-header-actions{justify-content:flex-start!important}}

html body.launcher-app.realm-updates .changelog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;min-width:0}.launcher-app.realm-updates .changelog>.update-entry:first-child{grid-column:1/-1;padding-bottom:30px;border-bottom:1px solid #ffffff16}.launcher-app.realm-updates .changelog>.update-entry{min-width:0}.launcher-app.realm-updates .release-layout{display:block!important}@media(max-width:1100px){html body.launcher-app.realm-updates .changelog{grid-template-columns:1fr}}
html body.launcher-app .banner-projects{grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr))!important}.launcher-app .banner-projects .project-card{min-width:0}.launcher-app .banner-projects .project-card h2{overflow-wrap:anywhere}
