/* Desktop launcher: original scene covers communicate module functionality. */
.desktop{max-width:1440px}
.modules{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:44px}
.modules .module{width:auto;min-width:0;display:flex;align-items:stretch;padding:0;text-align:left;border-radius:14px;background:var(--card-bg,#172b29f0);color:#eef2f0;overflow:hidden;box-shadow:0 8px 24px #00171433;transition:transform .18s,background .18s}
.modules .module:hover{background:var(--card-hover,#243b36);transform:translateY(-4px)}
.module-preview{display:block;aspect-ratio:16/9;overflow:hidden;background:#1b2428}
.module-preview img{display:block;width:100%;height:100%;object-fit:cover}
.module-caption{background:var(--capBg);transition:background .45s ease;display:flex;align-items:center;gap:12px;padding:19px 18px 20px;min-width:0}
.module-label{display:flex;flex-direction:column;min-width:0;gap:6px;flex:1}
.modules .module strong{color:var(--capInk);transition:color .3s;font-size:17px;font-weight:500;line-height:1.5}
.modules .module small{font-size:12px;line-height:1.6;color:var(--capSub);margin:0}
.module-open{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:999px;background:var(--arrowBg);color:var(--capInk)}
.module-open svg{width:18px;height:18px}
.modules.list{display:grid;grid-template-columns:1fr;gap:12px}
.modules.list .module{display:flex;flex-direction:row;align-items:center;gap:0;padding:0;text-align:left}
.modules.list .module-preview{width:160px;flex-shrink:0;aspect-ratio:16/9}
.modules.list .module-caption{flex:1}
.modules.list .module small{margin:0;display:block}
@media(max-width:1099px){.modules{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:599px){.modules{grid-template-columns:1fr;gap:18px;margin-bottom:30px}.module-caption{padding:17px 18px}.modules .module strong{font-size:17px}.modules .module small{font-size:12px}.modules.list .module-preview{width:112px}.modules.list .module-caption{padding:14px 12px}.modules.list .module-open{display:none}}
@media(prefers-reduced-motion:reduce){.modules .module{transition:none}.modules .module:hover{transform:none}}

/* Keep identity and navigation visible while the desktop/settings scroll. */
.topbar-authenticated{position:sticky;top:0;z-index:40;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.brand{min-width:0}.brand>span{min-width:0}.brand small{max-width:40vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.brand .brand-avatar{height:38px;width:38px;object-fit:cover;border-radius:999px;flex-shrink:0}
.window{position:relative}
.settings-close{position:absolute;right:14px;top:14px;z-index:2;width:44px;height:44px;background:var(--panel2);color:var(--text)}
.settings-close:hover{background:var(--line)}
.settings-content>h2{padding-right:38px}
@media(max-width:760px){.brand .brand-avatar{width:34px;height:34px}.settings-nav{margin-right:64px;padding-right:15px}.settings-close{right:10px;top:10px}.settings-content>h2{padding-right:0}}
