.avatar-speech{position:fixed;z-index:29;max-width:min(190px,55vw);min-width:48px;padding:10px 14px;border:1px solid #ecc88c;border-bottom:3px solid #9b6840;border-radius:17px 17px 17px 5px;background:linear-gradient(145deg,#fff5d8,#efd19c);color:#3c2424;box-shadow:0 6px 18px #0005,inset 0 2px #fff9;cursor:pointer;font:800 12px/1.4 Nunito,sans-serif;text-align:left;animation:speech-arrive .32s cubic-bezier(.2,.9,.25,1.3) both;overflow:visible}.avatar-speech:after{content:"";position:absolute;left:var(--speech-tail);bottom:-7px;width:11px;height:11px;transform:rotate(45deg);background:#efd19c;border-right:1px solid #c79b63;border-bottom:1px solid #c79b63;pointer-events:none}.avatar-speech>span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-wrap}.avatar-speech.sticker-speech{width:96px;height:100px;padding:5px;background:linear-gradient(135deg,#57352aee,#261c2bef);border-color:#d9a562;color:#ffecc7}.avatar-speech.sticker-speech:after{background:#352430}.sticker-speech img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 4px #0006)}.avatar-speech.leaving{animation:speech-leave .3s ease-in both;pointer-events:none}@keyframes speech-arrive{0%{opacity:0;transform:translateY(14px) scale(.65) rotate(-5deg)}to{opacity:1;transform:translateY(0) scale(1) rotate(0)}}@keyframes speech-leave{to{opacity:0;transform:translateY(-10px) scale(.85)}}.shell .table-social-surface{padding-bottom:78px}.shell .table-chat-dock{position:absolute;bottom:12px;left:12px;z-index:90;width:min(380px,calc(100% - 24px));pointer-events:none}.shell .table-chat-dock .table-chat{margin:0;border:0;box-shadow:none;background:none;overflow:visible;pointer-events:none}.shell .table-chat-dock .chat-toggle{pointer-events:auto;width:auto;min-width:125px;min-height:48px;padding:10px 17px;border:1px solid #d9b17c;border-bottom:4px solid #643d27;border-radius:14px;background:linear-gradient(#92634a,#573c36);box-shadow:inset 0 2px #ffe9bf55,0 5px 10px #0005;gap:12px}.shell .chat-toggle b{font-size:14px}.shell .chat-toggle span{font-size:10px;color:#f2d3a9}.shell .table-chat-dock .chat-window{position:absolute;bottom:calc(100% + 10px);left:0;width:100%;pointer-events:auto;border:1px solid #c6935d;border-bottom:4px solid #643f2e;border-radius:19px;background:linear-gradient(150deg,#422c34,#201c27 75%);box-shadow:0 15px 45px #0009,inset 0 1px #f5d8a44d;max-height:min(530px,70dvh);display:flex;flex-direction:column;overflow:hidden;animation:speech-arrive .25s ease-out}.chat-window-title{display:flex;align-items:center;justify-content:space-between;padding:10px 13px;border-bottom:1px solid #c7955a33;gap:10px;flex-shrink:0}.chat-window-title>b{font-size:12px;color:#f1d3a1}.chat-window-title button{font-size:11px;min-height:40px}.shell .table-chat-dock .chat-bubbles{min-height:70px;max-height:min(300px,36dvh);flex:1;padding:12px;touch-action:pan-y}.shell .chat-bubble{max-width:94%;min-width:0}.shell .chat-bubble p{font-size:13px}.shell .chat-bubble .chat-reply{display:block;margin:4px 0 -5px auto;min-height:38px;padding:6px 2px;color:#f4cf94;font-size:10px;background:none;border:0;box-shadow:none}.chat-quote{margin:7px 0 3px;padding:7px 9px;border-left:3px solid #e5b970;border-radius:3px 9px 9px 3px;background:#170f1b44;display:grid;gap:3px;overflow-wrap:anywhere}.chat-quote span{font-size:11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#dbc6b6}.chat-reply-preview{display:flex;gap:8px;align-items:center;margin:4px 12px;padding:7px 10px;border-left:3px solid #ebc582;background:#f1c4720c;border-radius:6px;flex-shrink:0}.chat-reply-preview>div{min-width:0;flex:1}.chat-reply-preview b,.chat-reply-preview span{display:block;font-size:11px}.chat-reply-preview span{color:#c9b6ad;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin-top:4px}.chat-reply-preview button{font-size:10px;min-height:40px}.shell .table-chat-dock .chat-composer{padding:9px;gap:6px;flex-shrink:0;flex-wrap:nowrap}.shell .table-chat-dock .chat-composer textarea{flex:1 1 0;width:0}.shell .table-chat-dock .chat-composer button{font-size:11px;padding:9px 10px;min-width:86px}body:has(.table-chat.expanded) .avatar-speech{visibility:hidden!important;pointer-events:none}.shell .table-self-avatar{position:absolute;left:50%;bottom:18px;transform:translate(-50%);z-index:30}.shell .table-self-avatar .avatar{width:36px;height:36px}.shell .table-social-surface .table-emotes{top:auto;bottom:12px;right:12px;z-index:91}.shell .table-social-surface .emote-picker{top:auto;bottom:calc(100% + 10px);max-height:70dvh;overflow:auto;overscroll-behavior:contain}body :is(.shell,.royal-overlay) :is(button.primary,button.soft,button.game-action,button.emote-launcher,button.support-action){box-shadow:inset 0 2px #fff1ca60,inset 0 -3px 7px #31152540,0 4px #3e2528,0 7px 14px #0004;border-bottom-width:3px;text-shadow:0 1px 1px #3a242750;transition:filter .18s,box-shadow .18s,translate .18s}body :is(.shell,.royal-overlay) :is(button.primary,button.soft,button.game-action,button.emote-launcher,button.support-action):not(:disabled):active{translate:0 3px;box-shadow:inset 0 2px 4px #351b3155,0 1px #3e2528,0 3px 6px #0003}@media(hover:hover){body :is(.shell,.royal-overlay) :is(button.primary,button.soft,button.game-action,button.emote-launcher,button.support-action):not(:disabled):hover{filter:brightness(1.12)}}@media(max-width:400px){.shell .table-chat-dock .chat-toggle{min-width:106px;padding:9px 12px;gap:7px}.shell .table-social-surface .emote-launcher{padding:10px 14px}.avatar-speech{font-size:11px;max-width:155px}.shell .table-self-avatar .avatar{width:30px;height:30px}.shell .table-self-avatar{bottom:21px}}@media(prefers-reduced-motion:reduce){.avatar-speech,.avatar-speech.leaving,.shell .table-chat-dock .chat-window{animation:none}body :is(.shell,.royal-overlay) :is(button.primary,button.soft,button.game-action,button.emote-launcher,button.support-action){transition:none}}
