.room-chat-trigger{flex-shrink:0;position:relative;color:#f0d598!important}.room-chat-badge{color:#fff;background:#b5444c;border:1px solid #f0b1a6;border-radius:10px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:11px;font-weight:700;display:grid;position:absolute;top:-4px;right:-3px}.room-chat-dialog{flex-direction:column;gap:14px!important;width:calc(100vw - 24px)!important;max-width:560px!important;max-height:calc(100dvh - 24px)!important;display:flex!important}.room-chat-messages{overscroll-behavior:contain;flex-direction:column;gap:12px;height:clamp(120px,40dvh,420px);min-height:80px;padding:4px 4px 10px;display:flex;overflow-y:auto}.room-chat-message{background:linear-gradient(135deg,#294253d9,#162b3ee6);border:1px solid #55788a;border-radius:15px 15px 15px 4px;align-self:flex-start;max-width:90%;padding:11px 14px;box-shadow:0 4px 12px #0002}.room-chat-message.own{background:linear-gradient(135deg,#514024b3,#2b2a29e6);border-color:#9a7b46;border-radius:15px 15px 4px;align-self:flex-end}.room-chat-message>div{color:#eacf97;justify-content:space-between;align-items:center;gap:16px;font-size:12px;display:flex}.room-chat-message time{color:#a6bac9;font-size:11px}.room-chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;color:#eef4f8;margin:4px 0 0;font-size:15px;line-height:1.5}.room-chat-empty{color:#b3c4d0;text-align:center;margin:auto;padding:20px;font-size:15px;line-height:1.7}.room-chat-form{border-top:1px solid #ffffff20;flex-shrink:0;padding-top:12px}.room-chat-form label{color:#eacf97;margin:0 0 6px;font-size:13px;display:block}.room-chat-form>div{align-items:stretch;gap:10px;display:flex}.room-chat-form textarea{resize:vertical;color:#edf4fa;min-width:0;max-height:120px;font:inherit;background:#071421;border:1px solid #607687;border-radius:11px;flex:1;padding:10px 12px;font-size:16px;line-height:1.4}.room-chat-form .gold-button{flex-shrink:0;height:auto;min-height:48px;padding:10px;width:48px!important;margin:0!important}.room-chat-form small{color:#9db1c1;margin-top:6px;font-size:11px;display:block}.room-chat-form textarea:focus-visible{outline-offset:3px;outline:3px solid #f0d598}.room-chat-trigger:focus-visible{outline-offset:3px;outline:3px solid #f0d598}@media (max-width:500px){.active-game .room-label{display:none!important}.room-chat-dialog{padding:20px!important}.topbar nav:has(.room-chat-trigger){gap:4px}.topbar nav:has(.room-chat-trigger) .ya5-menu-trigger{padding:8px;font-size:13px}}
