/* Gentle glass hover; retain selected states and all button labels. */
body.mate-immersive :is(.account,.match-row,.choices button,.text-button,.primary,.emoji-toggle){transition:filter .16s ease,box-shadow .16s ease,border-color .16s ease;}
@media(hover:hover) and (pointer:fine){
 body.mate-immersive :is(.account,.match-row):hover{filter:brightness(1.12);border-color:#9ddffb80;box-shadow:inset 0 1px 0 #ffffff24,0 0 20px #8dd8ef0d}
 body.mate-immersive :is(.choices button,.text-button,.primary,.emoji-toggle):not(:disabled):hover{filter:brightness(1.14);box-shadow:inset 0 1px 0 #ffffff24,0 0 14px #80d3f01a}
 body.mate-immersive .text-button:not(:disabled):hover{background-color:#a3dfff14;border-radius:10px}
}
body.mate-immersive .mate-pressed:not(:disabled){filter:brightness(1.14)}
body.mate-immersive :is(.choices button,.text-button,.primary,.emoji-toggle):focus-visible{outline:2px solid #b1e9ff;outline-offset:3px}
#mateMobileSettings p{font-size:14px;color:var(--muted);line-height:1.55}#mateMobileSettings h3{margin-top:24px}#mateMobileSettings button{min-height:44px}
#mateFeedbackDialog{width:min(520px,calc(100vw - 24px));box-sizing:border-box}#mateFeedbackDialog textarea{width:100%;min-height:110px;max-height:240px;resize:vertical}#mateFeedbackDialog p{font-size:13px;line-height:1.5}
@media(max-width:850px){
 body.mate-immersive :is(input,textarea,select){font-size:16px}
 body.mate-mobile-chat{overflow:hidden;overscroll-behavior:none}
 body.mate-immersive.mate-mobile-chat>main{position:fixed;top:var(--mate-vtop,0px);left:0;right:0;width:100%;height:calc(var(--mate-vh,100dvh) - 76px - env(safe-area-inset-bottom,0px));margin:0;padding:8px;max-width:none;overflow:hidden;box-sizing:border-box}
 body.mate-mobile-chat>main>header,body.mate-mobile-chat #content>.heading{display:none}
 body.mate-mobile-chat #content{height:100%;min-height:0}
 body.mate-mobile-chat #content>.chat{display:flex;flex-direction:column;height:100%;max-height:100%;margin:0;min-height:0;overflow:hidden}
 body.mate-mobile-chat .chat-head{flex:none;gap:8px;padding:10px 12px;min-height:60px}
 body.mate-mobile-chat .chat-head small{margin-top:3px}
 body.mate-mobile-chat .chat>.system{display:none}
 body.mate-mobile-chat .chat>.safety-actions{padding:0 10px;gap:8px;flex:none}
 body.mate-mobile-chat .safety-actions button{font-size:11px;padding:5px;min-height:30px}
 body.mate-mobile-chat #bubbles{flex:1 1 0;min-height:0;max-height:none;height:auto;overflow-y:auto;overscroll-behavior:contain;padding:12px}
 body.mate-mobile-chat .composer{flex:none;margin:0;padding:9px;gap:6px;min-height:58px}
 body.mate-mobile-chat .composer input{min-width:0;font-size:16px;padding:10px}
 body.mate-mobile-chat .composer button{min-height:42px}
 body.mate-mobile-chat #mateJump{flex:none;margin:0 auto;padding:5px 12px;font-size:12px;min-height:32px}
 body.mate-mobile-chat #mateTyping{flex:none;margin:3px 14px;font-size:11px}
 body.mate-mobile-chat .mate-presence{flex:none}
 body.mate-mobile-chat #emojiPanel{flex:none;max-height:min(180px,30vh);overflow:auto;padding:8px}
 body.mate-mobile-chat #messageError{flex:none;margin:0 12px;font-size:12px;max-height:48px;overflow:auto}
 body.mate-mobile-chat #mateRetry{flex:none;margin:2px 12px;min-height:32px}
 body.mate-keyboard-open>aside{visibility:hidden;pointer-events:none}
 body.mate-immersive.mate-mobile-chat.mate-keyboard-open>main{height:var(--mate-vh,100dvh);padding-bottom:4px}
 body.mate-mobile-chat #mateMute{font-size:11px;padding:5px}
}
@media(prefers-reduced-motion:reduce){body.mate-immersive :is(.account,.match-row,.choices button,.text-button,.primary,.emoji-toggle){transition:none}}
