.player-chat{position:fixed;left:12px;bottom:14px;z-index:30;width:340px;max-width:calc(100vw - 24px);color:#cbe8f4;background:linear-gradient(135deg,#102d40f5,#04131ff5);border:1px solid #467894;border-radius:9px;box-shadow:0 6px 24px #0007;font:12px/1.4 Arial,sans-serif;overflow:hidden}
.player-chat-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:36px;padding:8px 12px;border:0;background:#123347;color:#a8e6f4;letter-spacing:1px;text-align:left;cursor:pointer;font-size:11px}
.player-chat-toggle span{font-size:10px;letter-spacing:0;color:#a3c5d4}
.player-chat-messages{height:130px;overflow:auto;overscroll-behavior:contain;padding:7px 12px;scrollbar-width:thin}
.player-chat-messages p{margin:0 0 8px;overflow-wrap:anywhere}.player-chat-messages b{color:#8cdcf2;font-size:11px}.player-chat-messages time{float:right;color:#8aa8b9;font-size:10px}.player-chat-messages p>span{display:block;white-space:pre-wrap}
.player-chat-status{margin:0;padding:3px 12px;color:#a4bfcc;font-size:10px;min-height:20px}
.player-chat form{display:flex;gap:6px;padding:6px 10px 10px}.player-chat input{min-width:0;flex:1;border:1px solid #456d80;border-radius:4px;background:#061722;color:#e6f5ff;padding:8px;font:12px Arial,sans-serif}.player-chat form button{border:1px solid #568d9f;border-radius:4px;padding:6px 10px;background:#1e5065;color:#e5faff;cursor:pointer}.player-chat button:disabled{opacity:.5;cursor:wait}.player-chat :focus-visible{outline:2px solid #9ae6ff;outline-offset:-2px}.player-chat [hidden]{display:none!important}
html[data-auth-locked] .player-chat{display:none}
@media(max-width:900px){.player-chat{bottom:120px;left:8px;width:300px;max-width:calc(100vw - 16px)}.player-chat input{font-size:16px}.player-chat-messages{height:110px}.player-chat form button{min-height:40px}}
@media(max-height:530px){.player-chat-messages{height:65px}.player-chat{bottom:8px}}
