/* Keyboard height must not restyle the family/global headers. */
html body :is(#familyChatPanel,#globalChatPanel).chat-compact>.realtime-duel-chat-header{display:flex;padding:12px 13px;min-height:0;flex:none}
html body #familyChatPanel.chat-compact #familyChatSubtitle{display:block}
/* Device classification is stable while the keyboard changes viewport height. */
html.xixi-mobile-chat615 body :is(#globalChatPanel,#realtimeDuelChatPanel,#familyChatPanel,#dmChatPanel) .realtime-duel-chat-title{font-size:calc(.846rem * var(--xixi-chat-scale,1))!important}
.xixi-image-video-mute.is-muted::after{transform:translate(-50%,-50%) rotate(45deg)}
html body .xixi-image-tools .xixi-image-zoom-button{display:grid;place-items:center;width:38px;height:38px;min-width:38px;min-height:38px;padding:0;line-height:1;flex:none}
/* Enlarge only the album, retaining its separate 30px Reply column and 5px gap. */
html body .realtime-duel-chat-message .chat-photo-album-body{width:min(calc(90.2% - 3.5px),calc(var(--album-columns,3)*127.6px + 53.7px))}
html body .chat-photo-album-body>.chat-photo-album{padding:5.5px;gap:4.4px;border-width:1.1px}
html body .chat-photo-album-item :is(.chat-media-frame,.chat-media-preview){height:calc(80.8px + .117em)}
html body .chat-photo-album-item .chat-media-preview :is(img,video){height:calc(80.8px + .117em)!important}
html body .chat-photo-album-item{padding:3.3px!important;border-width:1.1px}
html body .chat-photo-album-item .chat-attachment-name{padding:2.2px;margin-bottom:4.4px}

.modal-msg.ranking-submit-pending{color:#475569}
body.theme-dark .modal-msg.ranking-submit-pending{color:#cbd5e1}

.xixi-video-gesture-surface{position:absolute;z-index:1;touch-action:none;background:transparent}
