.desktop-library{border:1px solid #6f849336;min-height:100vh;border-radius:3px}.library-frame-title{height:28px;padding:4px 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #6f849333;background:#060b11;color:#ced9e5;font-size:10px;letter-spacing:.15em;position:relative;z-index:6}.library-frame-title small{letter-spacing:.02em;color:#91a0b5;font-size:9px}
.desktop-library header{margin-left:170px;margin-right:244px;gap:16px;padding:10px 18px;height:64px;border-bottom:1px solid #8291a329;background:#080f18b8}.desktop-library header nav,.desktop-library header .brand-menu,.desktop-library header .account-entry,.desktop-library header .create-account{display:none}.desktop-library header .header-search{margin:0;width:min(430px,100%)}.desktop-library .shell{margin-left:170px;margin-right:244px;padding:8px 18px 18px;max-width:none}.desktop-library .app-left-rail{display:flex;position:fixed;z-index:7;left:1px;top:29px;bottom:42px;width:169px;margin:0;padding:0;min-height:0;flex-direction:column;background:linear-gradient(145deg,#08111aef,#04090ff5);border:0;border-right:1px solid #d521453d;border-radius:0;box-shadow:none}.rail-brand{padding:28px 22px 24px;color:#f4f7fb;font-weight:700;font-size:22px;letter-spacing:.17em}.app-left-rail nav{display:flex;flex-direction:column;gap:0;width:100%;height:auto;margin:8px 0;font-size:13px}.app-left-rail nav a{display:block;min-height:46px;padding:13px 22px;border:0;border-left:3px solid transparent;color:#dbe5f0}.app-left-rail nav a.active{border-left-color:var(--crimson);background:linear-gradient(90deg,#bd163b55,#c5163525);color:white}.rail-account{margin-top:auto;padding:18px 22px;display:flex;flex-direction:column;gap:10px;font-size:12px}.rail-account a:last-child{color:var(--crimson-hover)}
.desktop-library .friends-preview{display:flex;flex-direction:column;position:fixed;z-index:7;top:29px;right:1px;bottom:42px;width:243px;padding:20px 17px;margin:0;min-height:0;border:0;border-left:1px solid #8193ab36;border-radius:0;box-shadow:none;background:linear-gradient(145deg,#09121aee,#04090ff5);overflow:auto}.friends-heading{display:flex;align-items:center;gap:9px}.friends-heading h2{font-size:20px;margin:0}.friends-heading .badge{font-size:9px;padding:3px 7px}.friends-heading>button{display:none}.friends-preview input{width:100%;min-width:0;margin:18px 0 8px;padding:10px;font-size:12px;background:#0c141d;border:1px solid #7788a344;border-radius:4px;color:#9bacbf}.friends-preview p{font-size:11px;line-height:1.6}.friends-empty{margin:14px 0;border-block:1px solid #7a8ea326;padding:16px 0}.friend-skeleton{display:flex;align-items:center;gap:14px;color:#536174;margin:12px 0}.friend-skeleton span:first-child{font-size:34px}.friend-skeleton span:last-child{font-size:14px;letter-spacing:.1em}.friends-actions{display:flex;flex-direction:column;gap:8px}.friends-actions button{font-size:11px;min-height:34px}.voice-preview{margin-top:auto;padding-top:22px;border-top:1px solid #7a8ea326}.voice-preview h2{font-size:17px}.voice-preview button{display:block;width:100%;font-size:10px;margin:8px 0}.friends-toggle{display:none}
.desktop-library .selected-world{grid-template-columns:minmax(0,1fr) 175px;column-gap:18px}.desktop-library .selected-world h1{font-size:32px}.desktop-library .selected-world .background-description{font-size:13px}.desktop-library .cards{gap:12px}.desktop-library .card-actions{display:none}.desktop-library .card .card-body{gap:6px;padding:11px 8px}.desktop-library .card .card-body h3{font-size:clamp(12px,1vw,16px);min-height:2.5em}.desktop-library .card .catalog-kicker{font-size:8px}.desktop-library footer{padding:12px 18px 12px 190px;font-size:10px;border-top-color:#8193ab36;background:#060c12}.desktop-library footer .footer-main{font-size:10px}.desktop-library footer .footer-fine{margin-top:7px;gap:16px;font-size:9px}.library-download-strip{margin-top:18px;padding:15px 18px;border:1px solid #7a8ea333;border-radius:4px;background:#07111b9e;display:flex;align-items:center;justify-content:space-between;gap:20px}.library-download-strip h2{font-size:15px;margin:0 0 6px}.library-download-strip p{font-size:11px;margin:0}.library-download-strip a{font-size:11px;white-space:nowrap}.integrity-preview table{width:100%;border-collapse:collapse;margin:20px 0;font-size:13px}.integrity-preview th,.integrity-preview td{text-align:left;padding:12px;border-bottom:1px solid #7788a333}.integrity-preview .hero-actions{flex-wrap:wrap}.integrity-preview select{margin-left:12px}.integrity-preview .meta{overflow-wrap:anywhere}
@media(max-width:1400px) and (min-width:741px){.desktop-library header,.desktop-library .shell{margin-right:0}.desktop-library .friends-preview{display:none}.desktop-library .friends-toggle{display:inline-flex;margin-left:auto;font-size:11px;min-height:38px}.desktop-library.friends-open .friends-preview{display:flex;box-shadow:-20px 0 50px #000b}.desktop-library .friends-heading>button{display:block;margin-left:auto;font-size:10px;padding:6px}}
@media(max-width:1100px) and (min-width:741px){.desktop-library .app-left-rail{width:144px}.desktop-library header,.desktop-library .shell{margin-left:145px}.desktop-library footer{padding-left:163px}.rail-brand{font-size:18px;padding-left:18px}.app-left-rail nav a{padding-left:18px}}
@media(max-width:740px){.desktop-library .app-left-rail{display:none}.desktop-library header,.desktop-library .shell{margin:0}.desktop-library header{height:auto;min-height:0;padding:14px 18px 0;gap:8px 12px}.desktop-library header nav{display:flex}.desktop-library header .brand-menu,.desktop-library header .account-entry{display:block}.desktop-library header .header-search{width:100%;margin:0 0 4px}.desktop-library .friends-toggle{display:inline-flex;position:absolute;right:72px;top:17px;margin:0;font-size:10px;min-height:32px;padding:6px 8px}.desktop-library .friends-preview{display:none;top:28px;bottom:0;width:min(280px,90vw)}.desktop-library.friends-open .friends-preview{display:flex;box-shadow:-20px 0 50px #000b}.desktop-library .friends-heading>button{display:block;margin-left:auto;font-size:10px;padding:6px}.desktop-library .shell{padding:20px 18px}.desktop-library .selected-world{display:block}.desktop-library .selected-world h1{font-size:34px}.desktop-library .selected-world .background-description{font-size:14px}.desktop-library .card .card-body h3{font-size:20px;min-height:0}.desktop-library .card .catalog-kicker{font-size:10px}.desktop-library .cards{gap:20px}.desktop-library footer{padding:18px}.library-download-strip{flex-direction:column;align-items:stretch;gap:12px}.library-download-strip a{text-align:center}.library-frame-title{font-size:9px;padding-inline:12px}}

/* Private members occupy approved right sidebar; lounge remains at bottom. */
.friends-preview .relay-members{width:100%;padding:0;border:0;min-height:0;flex:1;background:transparent}.friends-preview .relay-members ul{flex:1;min-height:100px}.friends-preview .relay-members section{margin-top:auto}

/* Override the older shell's generic aside hiding/sticky/fit-content rules. */
.desktop-library .friends-preview{height:calc(100dvh - 71px);align-self:stretch;min-height:0;overflow-y:auto;background:#080e16f5}
.desktop-library .friends-preview .relay-members{display:flex;position:static;top:auto;height:auto;overflow:visible;min-width:0}
.desktop-library .friends-preview .relay-members button,.desktop-library .friends-preview .relay-members p{max-width:100%;overflow-wrap:anywhere;white-space:normal}
@media(max-width:740px){.desktop-library .friends-preview{height:calc(100dvh - 28px)}}
