/* Chat-only layout; game and media state remain in their original DOM nodes. */
.chat-menu-toggle{display:none}
.compose-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px}.compose-meta>#status{flex:1;margin:0;min-height:0}.compose-meta>.chat-info>summary{width:28px;height:28px;font-size:18px}
.chat-info{position:relative;flex:0 0 auto;align-self:flex-end;margin:0;z-index:20}
.chat-info>summary{display:grid;place-items:center;list-style:none;width:44px;height:44px;cursor:pointer;color:var(--muted);font-size:22px}
.chat-info>summary::-webkit-details-marker{display:none}
.chat-info-content{position:absolute;bottom:48px;right:0;width:min(420px,calc(100vw - 24px));max-height:65dvh;overflow:auto;padding:18px;background:#151515;border:1px solid #444;border-radius:12px;font:12px/1.6 Montserrat,sans-serif;box-shadow:0 8px 35px #000a}
#chat-info-notes>*{display:block;margin:0 0 12px}
#chat-info-notes .screen-note,#chat-info-notes .voice-compact-warning{font:inherit;color:#aaa}
@media(max-width:760px){
 html:has(body[data-site-page=chat]),body[data-site-page=chat]{height:auto;min-height:100dvh;overflow:visible}
 body[data-site-page=chat]{--ks-header-height:64px}
 body[data-site-page=chat]>header.ks-navigation-header{display:flex;height:64px;min-height:64px;padding:0 12px;gap:8px;overflow:visible}
 body[data-site-page=chat] .chat-menu-toggle{display:grid;place-items:center;order:2;margin-left:auto;min-width:44px;min-height:44px;border:0;background:transparent;color:inherit;font-size:24px}
 body[data-site-page=chat]>header.ks-navigation-header>.ks-site-nav{display:none;position:absolute;top:64px;right:12px;width:min(280px,calc(100vw - 24px));height:auto;margin:0;padding:8px;flex-direction:column;align-items:stretch;background:#151515;border:1px solid #444;box-shadow:0 8px 30px #0009;z-index:50}
 body[data-site-page=chat]>header.ks-navigation-header>.ks-site-nav[data-open=true]{display:flex}
 body[data-site-page=chat]>header.ks-navigation-header>.ks-site-nav>a{justify-content:flex-start}
 html body[data-site-page=chat]>.shell{height:auto;min-height:0;padding:0 8px 8px}
 body[data-site-page=chat] main{display:block;height:auto;min-height:0}
 body[data-site-page=chat] .workspace-nav{display:none!important}
 body[data-site-page=chat] .layout{display:flex;flex-direction:column;height:auto;min-height:0;overflow:visible;gap:18px}
 body[data-site-page=chat] .layout>.chat-panel{display:flex!important;height:auto;min-height:0;max-height:none;overflow:visible;padding:0 0 12px;border-right:0;border-bottom:1px solid #ffffff20}
 body[data-site-page=chat] .chat-panel .messages{height:auto;min-height:100px;max-height:none;overflow:visible;flex:none;padding:10px 6px;overscroll-behavior:auto}
 body[data-site-page=chat] .game-workspace,body[data-site-page=chat] #game-scroll{display:grid!important;height:auto;min-height:0;max-height:none;overflow:visible;grid-template-columns:minmax(0,1fr);overscroll-behavior:auto}
 body[data-site-page=chat] #game-scroll{padding:0 2px 12px;gap:16px}
 body[data-site-page=chat] .game-quicknav{position:relative;top:auto;grid-column:1/-1}
 body[data-site-page=chat] .game-scroll .game,body[data-site-page=chat] .drawing-panel{scroll-margin-top:12px}
 body[data-site-page=chat] .screen-panel{max-height:none;overflow:visible}
 body[data-site-page=chat] .chat-info{width:auto;display:flex;flex-direction:column;align-items:flex-end}
 body[data-site-page=chat] .chat-info:not([open])>.chat-info-content{display:none}
 body[data-site-page=chat] .chat-info-content{position:absolute;bottom:34px;right:0;width:min(350px,calc(100vw - 32px));max-height:60dvh;overflow:auto}
}
