.public-shell .play-with-friends[hidden]{display:none!important}
.public-shell .lobby-chat{min-width:0;width:100%;box-sizing:border-box;border:1px solid #397c9b;border-radius:8px;background:linear-gradient(145deg,#071b2bea,#020c16ed);color:#d9ebf7;overflow:hidden;grid-column:1/-1}
.lobby-chat header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px;border-bottom:1px solid #2c5269}
.public-shell .lobby-chat h2{margin:0;padding-left:10px;border-left:2px solid #b7eaff;font-size:14px;letter-spacing:.06em}
.chat-presence{display:flex;align-items:center;gap:6px;font-size:11px;color:#a7c9df;white-space:nowrap}.chat-presence i{width:6px;height:6px;border-radius:50%;background:#7190a4}.chat-presence.connected i{background:#56da9a;box-shadow:0 0 8px #56da9a66}
.chat-log{height:200px;overflow:auto;overscroll-behavior:contain;padding:10px 14px;scrollbar-width:thin;scrollbar-color:#397c9b #07131e}
.chat-message{margin:0 0 12px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.chat-message strong{color:#79d7ff;font-size:12px}.chat-message time{float:right;color:#83a1b7;font-size:10px;margin-left:8px}.chat-message>span{display:block;white-space:pre-wrap}
.chat-empty{color:#8cabc1;font-size:12px;line-height:1.6}.chat-status{margin:0;padding:0 14px;min-height:20px;font-size:11px;line-height:1.5;color:#b4d9ed}
.public-shell .chat-form{display:flex;gap:6px;padding:10px;border-top:1px solid #2c5269;margin:0}
.public-shell .chat-form input{min-width:0;width:0;flex:1;height:40px;border:1px solid #39718f;border-radius:4px;background:#041321;color:#e5f4ff;padding:8px;font:inherit;font-size:12px;box-sizing:border-box}
.public-shell .chat-form button{min-height:40px;padding:8px 12px;border:1px solid #4aa7d3;border-radius:4px;background:linear-gradient(#205892,#123652);color:#e9f6ff;font-size:12px;cursor:pointer}.chat-form button:disabled{opacity:.5;cursor:default}.chat-form input:focus-visible,.chat-form button:focus-visible{outline:2px solid #8cdeff;outline-offset:2px}
.chat-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:540px){.chat-log{height:230px}.public-shell .chat-form input{font-size:16px}.lobby-chat header{padding:12px}}
