.community-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.7fr);gap:18px}.community-grid>div{min-width:0}.live-card{border:1px solid #3a4b65;background:linear-gradient(140deg,#172941,#101b2d);border-radius:18px;padding:20px;margin-bottom:16px}.live-card h2{font-size:20px;margin:10px 0}.live-status{display:inline-flex;align-items:center;gap:8px;color:#d8b773;font-size:12px}.live-status::before{content:'';width:8px;height:8px;border-radius:50%;background:#8091ac}.live-status[data-on=true]::before{background:#53d2a5;box-shadow:0 0 0 5px #53d2a519}.live-controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.live-card audio{width:100%;height:40px;margin-top:12px}.community-note{color:#9fb1c9;font-size:12px;line-height:1.8;margin:8px 0}.chat-panel{border:1px solid #293c57;background:#101b2b;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;min-height:360px}.chat-title{padding:16px;border-bottom:1px solid #293c57;display:flex;justify-content:space-between;align-items:center;gap:8px}.chat-title h2{margin:0;font-size:17px}.chat-log{padding:14px;display:flex;flex-direction:column;gap:12px;max-height:55dvh;min-height:220px;overflow:auto;overscroll-behavior:contain}.chat-message{background:#18263c;border-radius:12px;padding:12px;max-width:94%;align-self:flex-start;overflow-wrap:anywhere}.chat-message.mine{background:#213749;align-self:flex-end;border:1px solid #405366}.chat-message.staff{border-right:3px solid #d5a856}.chat-message strong{color:#f0cf94;font-size:12px}.chat-message time{font-size:10px;color:#9db0ca;margin-inline-start:10px}.chat-message p{white-space:pre-wrap;line-height:1.8;margin:8px 0;font-size:14px}.chat-message.deleted{opacity:.6}.chat-message button{padding:5px 8px;font-size:11px}.chat-form{border-top:1px solid #293c57;padding:12px;display:flex;gap:8px;align-items:end}.chat-form textarea{flex:1;min-width:0;resize:vertical;min-height:48px;max-height:130px;background:#0a1424;color:#edf2fc;border:1px solid #32415c;border-radius:12px;padding:12px;font:inherit;font-size:16px}.chat-form button{min-height:48px}.community-error{color:#ffabb3;font-size:13px;padding:0 14px;white-space:pre-wrap}.assistant-output{white-space:pre-wrap;line-height:1.9;background:#0b1525;border:1px solid #304461;border-radius:12px;padding:14px;max-height:380px;overflow:auto;font-size:14px}.ai-controls{display:flex;flex-direction:column;gap:10px}.ai-controls button{width:100%;text-align:right}.empty-note{padding:22px;color:#a3b4cb;text-align:center;font-size:14px;line-height:1.9}@media(max-width:900px){.community-grid{grid-template-columns:1fr}.chat-log{max-height:48dvh}.live-card{padding:16px}.community-grid>div:empty{display:none}}@media(orientation:landscape) and (max-height:550px){.chat-log{max-height:38dvh}}@media(min-width:1100px){.chat-log{max-height:60dvh}}
