/* NearNow Web v214 — native in-chat voice recording. */
#screen-chats .chat-voice-recording[hidden]{display:none!important}
#screen-chats .chat-voice-recording{
  grid-column:1/-1;min-width:0;min-height:62px;display:grid;grid-template-columns:auto auto minmax(90px,1fr) 44px 54px;align-items:center;gap:12px;
  padding:7px 8px 7px 13px;border:1px solid rgba(117,107,226,.38);border-radius:21px;background:linear-gradient(180deg,rgba(17,24,45,.98),rgba(10,16,31,.99));box-shadow:0 12px 30px rgba(0,0,0,.22)
}
.sensual-mode #screen-chats .chat-voice-recording{border-color:rgba(224,70,151,.38);background:linear-gradient(180deg,rgba(37,12,31,.98),rgba(19,7,18,.99))}
#screen-chats .chat-record-pulse{width:13px;height:13px;border-radius:50%;background:#ff376f;box-shadow:0 0 0 0 rgba(255,55,111,.44);animation:nnVoicePulse 1.25s ease-out infinite}
#screen-chats .chat-record-copy{display:grid;gap:1px;min-width:102px}#screen-chats .chat-record-copy b{font-size:13px;color:#f5f7ff}#screen-chats .chat-record-copy small{font-size:12px;color:#aeb8d8;font-variant-numeric:tabular-nums}
#screen-chats .chat-record-wave{height:30px;display:flex;align-items:center;justify-content:center;gap:3px;overflow:hidden}
#screen-chats .chat-record-wave i{width:3px;border-radius:99px;background:linear-gradient(180deg,#bd8cff,#5e6cff);animation:nnVoiceWave .85s ease-in-out infinite alternate}
#screen-chats .chat-record-wave i:nth-child(1),#screen-chats .chat-record-wave i:nth-child(7){height:8px}.chat-record-wave i:nth-child(2),#screen-chats .chat-record-wave i:nth-child(10){height:15px}#screen-chats .chat-record-wave i:nth-child(3),#screen-chats .chat-record-wave i:nth-child(8){height:23px}#screen-chats .chat-record-wave i:nth-child(4),#screen-chats .chat-record-wave i:nth-child(11){height:12px}#screen-chats .chat-record-wave i:nth-child(5),#screen-chats .chat-record-wave i:nth-child(9){height:27px}#screen-chats .chat-record-wave i:nth-child(6),#screen-chats .chat-record-wave i:nth-child(12){height:18px}
#screen-chats .chat-record-wave i:nth-child(2n){animation-delay:-.35s}#screen-chats .chat-record-wave i:nth-child(3n){animation-delay:-.55s}
#screen-chats .chat-record-cancel,#screen-chats .chat-record-send{border:1px solid rgba(111,123,192,.34);display:grid;place-items:center;padding:0;color:#fff}
#screen-chats .chat-record-cancel{width:42px;height:42px;border-radius:14px;background:rgba(32,40,65,.86);font-size:26px;line-height:1;color:#aeb8d8}
#screen-chats .chat-record-cancel:hover{background:rgba(63,36,56,.95);color:#ff8aac;border-color:rgba(255,97,145,.44)}
#screen-chats .chat-record-send{width:52px;height:52px;border-radius:18px;background:linear-gradient(135deg,#8050ff,#2f66ff);box-shadow:0 8px 23px rgba(69,63,241,.28)}
.sensual-mode #screen-chats .chat-record-send{background:linear-gradient(135deg,#d83482,#7f42e8)}
#screen-chats .chat-record-send svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#screen-chats .chat-compose.chat-recording-active>#chatInput,#screen-chats .chat-compose.chat-recording-active>.chat-custom-emoji-queue,#screen-chats .chat-compose.chat-recording-active>.chat-compose-tools,#screen-chats .chat-compose.chat-recording-active>.chat-send-lounge,#screen-chats .chat-compose.chat-recording-active>.chat-compose-plus-wrap{display:none!important}
#screen-chats #chatVoiceBtn.recording{color:#ff668f!important;border-color:rgba(255,79,133,.64)!important;background:rgba(75,20,48,.88)!important}
@keyframes nnVoicePulse{70%{box-shadow:0 0 0 10px rgba(255,55,111,0)}100%{box-shadow:0 0 0 0 rgba(255,55,111,0)}}
@keyframes nnVoiceWave{from{transform:scaleY(.55);opacity:.55}to{transform:scaleY(1);opacity:1}}
@media(max-width:860px){
 #screen-chats .chat-voice-recording{min-height:56px;grid-template-columns:auto auto minmax(45px,1fr) 40px 46px;gap:7px;padding:5px 5px 5px 9px;border-radius:17px}
 #screen-chats .chat-record-copy{min-width:76px}#screen-chats .chat-record-copy b{font-size:11px}#screen-chats .chat-record-copy small{font-size:11px}
 #screen-chats .chat-record-wave{gap:2px}#screen-chats .chat-record-wave i{width:2px}
 #screen-chats .chat-record-cancel{width:38px;height:38px;border-radius:12px}#screen-chats .chat-record-send{width:44px;height:44px;border-radius:14px}
}
@media(max-width:390px){#screen-chats .chat-record-copy b{display:none}#screen-chats .chat-record-copy{min-width:42px}.chat-record-wave i:nth-child(n+9){display:none}}
@media(prefers-reduced-motion:reduce){#screen-chats .chat-record-pulse,#screen-chats .chat-record-wave i{animation:none!important}}
