.match-message-drawer,.match-message-handle{display:none}
.character-message-menu:not(:has(.crew-inline-panel:not([hidden]))) .crew-add-opponent,
.character-message-menu:not(:has(.crew-inline-panel:not([hidden]))) .crew-invite-status {display:none!important}
.character-quick-actions {display:none!important}
.crew-market-action {display:flex;align-items:center;gap:8px;width:100%;padding:6px;opacity:.65}
.crew-market-action .crew-request-symbol {flex:0 0 72px;width:72px}
.crew-market-action small {font:700 11px/1.3 system-ui}
@media(pointer:coarse) and (orientation:landscape){
.match-message-handle:not([hidden]){display:block;position:fixed;right:max(12px,env(safe-area-inset-right));bottom:90px;z-index:2100;background:#101119e8;color:#8be436;border:1px solid #8be436;border-radius:8px;min-width:110px;min-height:48px;touch-action:pan-y;font:900 25px system-ui}
.match-message-handle small{display:block;font-size:10px}
.match-message-handle i{font-style:normal}
.match-message-handle.has-unread i{animation:message-dot 1.4s ease-in-out infinite}
.match-message-handle.has-unread i:nth-child(2){animation-delay:.15s}
.match-message-handle.has-unread i:nth-child(3){animation-delay:.3s}
.match-message-drawer:not([hidden]){display:block;position:fixed;right:0;top:0;bottom:0;width:min(340px,70vw);box-sizing:border-box;padding:12px;background:#111019f5;border-left:2px solid #8be436;z-index:2200;transform:translateX(105%);transition:transform .22s ease;overflow-y:auto;touch-action:pan-y}
.match-message-drawer.is-open{transform:translateX(0)}
.match-message-drawer>button{min-height:44px;background:#191722;color:#8be436;border:1px solid #8be436}
.match-message-drawer .character-message-menu{width:100%;margin:0}
.match-message-drawer .crew-inline-panel{position:static!important;inset:auto!important;width:100%!important;max-height:none!important;box-sizing:border-box}
.match-message-drawer .character-quick-actions{display:none!important}
.match-message-drawer .crew-player-entry{display:none!important}
.match-message-drawer .crew-symbols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.match-message-drawer .crew-symbols button{min-height:64px}
}
@keyframes message-dot{0%,100%{opacity:1}50%{opacity:.25}}
@media(prefers-reduced-motion:reduce){.match-message-drawer{transition:none!important}.match-message-handle.has-unread i{animation:none!important;text-shadow:0 0 6px #8be436}}

@media(pointer:coarse) and (orientation:landscape){
 .drawer-character-messages{display:grid;gap:8px;margin:8px 0}
 .drawer-character-row{display:flex;align-items:center;gap:8px;min-height:80px}
 .drawer-character-row>img{width:72px;height:92px;object-fit:contain}
 .drawer-character-speech{flex:1;min-width:0;border:2px solid white;border-radius:12px;background:#17151e;padding:6px;color:white}
 .drawer-character-speech>strong{display:block;font:700 11px system-ui}
 .drawer-character-speech .character-symbol-bubble{position:static!important;inset:auto!important;max-height:none!important;margin:0!important;width:auto!important}
 .drawer-character-speech .crew-art-symbol{max-width:74px}
 .match-message-drawer .crew-symbols:not([hidden]){display:grid!important}
}

@media(pointer:coarse) and (orientation:landscape){
 .match-message-drawer .crew-add-opponent[hidden],.match-message-drawer .crew-invite-status[hidden]{display:none!important}
 .drawer-character-messages{grid-template-columns:1fr 1fr;gap:6px}
 .drawer-character-row{flex-direction:column;gap:2px;min-height:0}
 .drawer-character-row>img{height:68px;width:58px}
 .drawer-character-speech{width:100%;box-sizing:border-box;min-height:48px}
 .drawer-character-speech>strong{font-size:9px}
 .drawer-character-speech .character-symbol-bubble{padding:2px;font-size:10px}
 .match-message-drawer .crew-symbols:not([hidden]){display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:6px;touch-action:pan-x}
 .match-message-drawer .crew-symbols button{flex:0 0 82px;height:82px}
}

