.game-chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;height:100%;min-height:0;min-width:0}.game-chat-layout>.playable-workspace{min-width:0}.game-chat-slot{min-width:0;align-self:end;max-height:100%;overflow:auto;padding:7px 8px 7px 0}.game-chat-panel{border:1px solid #96aa83;background:#fafbf3;border-radius:12px;overflow:hidden;box-shadow:0 5px 20px #1b382522;color:#304b39;font-size:13px}.game-chat-panel header{display:flex;justify-content:space-between;align-items:center;background:#284d3d;color:#fff7db;padding:9px 11px}.game-chat-panel h2{font-size:16px;margin:0;font-weight:700}.game-chat-panel header button{font-size:23px;min-width:32px;min-height:32px}.game-chat-note{font-size:10px;line-height:1.35;margin:8px 10px;color:#6e765e}.game-chat-audience{font-size:11px;font-weight:bold;margin:8px 10px 5px}.game-chat-members{display:flex;flex-wrap:wrap;gap:3px;margin:0 10px 8px;max-height:46px;overflow:auto}.game-chat-members span{font-size:10px;padding:3px 5px;border:1px solid #d6dfc9;border-radius:8px;overflow-wrap:anywhere}.game-chat-log{height:140px;overflow:auto;overscroll-behavior:contain;background:#eef2e5;padding:8px;display:flex;flex-direction:column;gap:7px}.game-chat-bubble{padding:6px 8px;border-radius:8px;background:#fffefa;border:1px solid #d9e1cf;max-width:95%;align-self:flex-start}.game-chat-bubble.own{background:#dce8d1;align-self:flex-end}.game-chat-bubble strong{font-size:10px;overflow-wrap:anywhere}.game-chat-bubble p{font-size:12px;line-height:1.4;overflow-wrap:anywhere;white-space:pre-wrap;margin:3px 0 0}.game-chat-empty{font-size:12px;color:#7f8a70;text-align:center;padding:20px 0}.game-chat-compose{display:flex;gap:4px;padding:8px}.game-chat-compose input{min-width:0;flex:1;border:1px solid #a9b79b;border-radius:6px;background:#fff;padding:8px;font-size:12px;color:#2c4333;min-height:36px}.game-chat-compose button{width:36px;min-height:36px;border-radius:6px;background:#30533f;color:#fff;font-size:18px}.game-chat-tools{display:flex;gap:7px;padding:0 8px 8px}.game-chat-tools button{font-size:12px;padding:5px 8px;border:1px solid #c0cbb2;border-radius:6px;min-height:32px}.game-chat-emojis{display:flex;flex-wrap:wrap;gap:2px;padding:5px 8px;border-top:1px solid #d4dcc7}.game-chat-emojis button{font-size:21px;width:33px;height:33px;border-radius:5px}.game-chat-emojis button:hover{background:#e0e9d6}.game-voice-preview{padding:8px 10px;border-top:1px solid #d5ddc9;background:#f6f1df;font-size:11px}.game-voice-preview p{line-height:1.4;margin:5px 0 8px}.game-voice-preview button{font-size:11px;border:1px solid #b4bea4;padding:6px 8px;border-radius:5px;min-height:32px}.game-voice-controls{display:flex;flex-wrap:wrap;gap:5px}.game-chat-error{font-size:11px;color:#a1432e;margin:6px 10px}.game-chat-layout.chat-collapsed{grid-template-columns:minmax(0,1fr) 44px}.game-chat-expand{background:#294e3b;color:#fff3cd;border:1px solid #a9bc8f;border-radius:8px;min-height:42px;width:36px;padding:8px 4px;display:flex;align-items:center;gap:8px;writing-mode:vertical-rl;font-size:14px;font-weight:bold}.game-chat-panel:has(.game-voice-preview) .game-chat-log{height:100px}
@media(max-width:900px){.game-chat-layout,.game-chat-layout.chat-collapsed{display:block;position:relative}.game-chat-slot{position:absolute;right:8px;bottom:8px;padding:0;width:min(280px,calc(100% - 16px));max-height:calc(100% - 16px);z-index:25}.chat-collapsed .game-chat-slot{width:auto}.game-chat-expand{writing-mode:horizontal-tb;width:auto;padding:7px 12px}.game-chat-log{height:120px}}

.game-chat-panel h2{font-size:clamp(16px,calc(16px * var(--font-scale,1)),21px)}.game-chat-bubble p,.game-chat-compose input,.game-chat-tools button{font-size:clamp(12px,calc(12px * var(--font-scale,1)),17px)}.game-chat-panel{--reader-color:var(--reader-light);color:var(--reader-light,#304b39)}.game-chat-panel header,.game-chat-compose button{--reader-color:var(--reader-dark)}

.game-chat-layout .dealing-hand:has(.deal-empty){display:flex;justify-content:center;align-items:center}.game-chat-layout .dealing-hand .deal-empty{width:100%;max-width:none;text-align:center;white-space:normal}

.game-chat-layout.no-chat{grid-template-columns:minmax(0,1fr)}

.game-chat-layout .dealing-hand .deal-empty{flex:1 1 100%}
