/* Voice Channel Chat uses the same message/composer language as normal Rift text channels. */
.rvc-chat[data-rvc-parity]{grid-template-rows:52px minmax(0,1fr) auto auto 20px auto!important;background:#111318!important}
.rvc-parity-header{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 10px 0 14px;border-bottom:1px solid #24272e;background:#111318}
.rvc-parity-header>div{display:flex;align-items:center;gap:8px;min-width:0}.rvc-parity-header>div>span{color:#808792;font-size:21px}.rvc-parity-header>div>div{display:flex;flex-direction:column;min-width:0}.rvc-parity-header strong{font-size:14px;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rvc-parity-header small{font-size:9px;color:#747b86;margin-top:2px}.rvc-parity-header>button{width:32px;height:32px;border:0;border-radius:7px;background:transparent;color:#9ca2ac;display:grid;place-items:center;cursor:pointer}.rvc-parity-header>button:hover{background:#20232a;color:#fff}.rvc-parity-header svg{width:18px;height:18px}

.rvc-parity-message-list{min-height:0!important;overflow-y:auto!important;padding:12px 0 10px!important;background:#111318!important;scroll-behavior:auto!important}
.rvc-parity-message-list>.channel-intro{padding:18px 14px 10px!important}.rvc-parity-message-list>.channel-intro .channel-intro-icon{width:42px;height:42px;font-size:25px}.rvc-parity-message-list>.channel-intro h2{font-size:17px;margin:9px 0 4px}.rvc-parity-message-list>.channel-intro p{font-size:11px;color:#8b929d}
.rvc-parity-message-list>.message{position:relative!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:9px!important;width:100%!important;padding:5px 10px 5px 12px!important;margin:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}
.rvc-parity-message-list>.message:hover,.rvc-parity-message-list>.message:focus-within{background:#16191e!important}
.rvc-parity-message-list>.message>.avatar{width:34px!important;height:34px!important;min-width:34px!important;border-radius:50%!important;display:grid!important;place-items:center!important;font-size:11px!important;font-weight:700!important;cursor:pointer!important;margin:0!important}
.rvc-parity-message-list .message-content{min-width:0!important;padding:0!important}.rvc-parity-message-list .message-meta{display:flex!important;align-items:baseline!important;gap:6px!important;min-width:0!important}.rvc-parity-message-list .message-author{font-size:12px!important;font-weight:650!important;color:#f1f2f4!important}.rvc-parity-message-list .message-time,.rvc-edited{font-size:9px!important;color:#737a85!important}.rvc-parity-message-list .message-text{font-size:12px!important;line-height:1.38!important;color:#d7d9de!important;overflow-wrap:anywhere!important;margin-top:1px!important}
.rvc-parity-message-list .reply-preview{font-size:10px!important;line-height:1.3!important;margin:0 0 3px!important;padding-left:7px!important;border-left:2px solid #555c67!important;color:#9299a4!important}.rvc-parity-message-list .reply-preview strong{margin-right:5px;color:#c9cdd2!important}
.rvc-parity-message-list .message-attachments{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:5px}.rvc-parity-message-list .message-image{max-width:min(100%,290px)!important;max-height:260px!important;border-radius:6px!important;object-fit:contain!important;background:#090a0d}.rvc-parity-message-list .file-attachment{max-width:100%;min-width:0;display:grid!important;grid-template-columns:24px minmax(0,1fr) auto!important;gap:7px!important;align-items:center!important;padding:7px 8px!important;border:1px solid #30343b!important;border-radius:6px!important;background:#171a20!important;color:#d9dce1!important;text-decoration:none!important}.rvc-parity-message-list .file-attachment strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rvc-parity-message-list .file-attachment small{font-size:9px;color:#7f8791}
.rvc-parity-message-list .reaction-strip{display:flex!important;flex-wrap:wrap!important;gap:4px!important;margin-top:4px!important}.rvc-parity-message-list .reaction-chip{min-height:24px!important;padding:2px 6px!important;border:1px solid #30343b!important;border-radius:6px!important;background:#1b1e24!important;color:#d8dbe0!important;font-size:11px!important;cursor:pointer!important}.rvc-parity-message-list .reaction-chip:hover,.rvc-parity-message-list .reaction-chip.mine{border-color:var(--accent,#d84b4b)!important;background:color-mix(in srgb,var(--accent,#d84b4b),transparent 88%)!important}
.rvc-parity-message-list .message-actions{display:none!important}
.rvc-parity-message-list .ui0213-message-toolbar{z-index:20!important;right:8px!important;top:-14px!important;transform:none!important;max-width:calc(100% - 18px)!important}
.rvc-parity-message-list .ui0213-message-toolbar button{width:30px!important;height:30px!important;min-width:30px!important}.rvc-parity-message-list .ui0213-message-toolbar .emoji{font-size:15px!important}
.rvc-parity-menu{z-index:4200!important}

.rvc-parity-reply{margin:0 10px!important;border-radius:7px 7px 0 0!important;background:#181b21!important;border:1px solid #2a2e35!important;border-bottom:0!important;min-height:44px!important;padding:7px 8px 7px 10px!important}.rvc-parity-reply.hidden{display:none!important}.rvc-parity-reply>div{min-width:0}.rvc-parity-reply span{font-size:9px;color:#8d949e}.rvc-parity-reply strong{font-size:10px;color:#d9dce0}.rvc-parity-reply p{font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:2px 0 0!important;color:#8d949e!important}.rvc-parity-reply button{width:28px!important;height:28px!important}
.rvc-parity-files{margin:0 10px!important;padding:7px!important;border:1px solid #2a2e35!important;border-bottom:0!important;background:#181b21!important;display:flex!important;flex-direction:column!important;gap:4px!important}.rvc-parity-files.hidden{display:none!important}.rvc-parity-files .pending-file{display:grid!important;grid-template-columns:minmax(0,1fr) auto 24px!important;gap:6px!important;align-items:center!important;min-height:30px!important;padding:4px 6px!important;border-radius:5px!important;background:#20232a!important}.rvc-parity-files .pending-file strong{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rvc-parity-files .pending-file small{font-size:9px;color:#858c96}.rvc-parity-files .pending-file button{border:0;background:transparent;color:#9ba1aa;cursor:pointer}
.rvc-parity-typing{height:20px!important;min-height:20px!important;padding:2px 13px 0!important;background:#111318!important;color:#8d949e!important;font-size:9px!important}

.rvc-parity-composer{position:relative!important;margin:0 10px 10px!important;width:auto!important;min-height:42px!important;padding:5px 6px!important;display:grid!important;grid-template-columns:30px minmax(0,1fr) auto 32px!important;gap:3px!important;align-items:end!important;border:0!important;border-radius:8px!important;background:#1b1e24!important;box-shadow:none!important}
.rvc-parity-composer textarea{min-width:0!important;min-height:30px!important;max-height:120px!important;margin:0!important;padding:6px 5px!important;border:0!important;outline:0!important;resize:none!important;background:transparent!important;color:#eef0f3!important;font-size:12px!important;line-height:1.35!important}.rvc-parity-composer textarea::placeholder{color:#747b86!important}.rvc-parity-composer .composer-action,.rvc-parity-tools button,.rvc-parity-composer .send-button{width:30px!important;height:30px!important;min-width:30px!important;border:0!important;border-radius:7px!important;display:grid!important;place-items:center!important;background:transparent!important;color:#a7adb6!important;cursor:pointer!important}.rvc-parity-composer .composer-action:hover,.rvc-parity-tools button:hover{background:#292d34!important;color:#fff!important}.rvc-parity-composer .send-button{background:var(--accent,#d84b4b)!important;color:#fff!important}.rvc-parity-composer .send-button:disabled{opacity:.45!important}.rvc-parity-composer svg{width:18px;height:18px}.rvc-parity-tools{display:flex;align-items:center}

@media(max-width:980px){.rift-voice-chat-open .rvc-layout{grid-template-columns:minmax(0,1fr) minmax(290px,340px)!important}.rvc-parity-message-list .ui0213-message-toolbar .emoji:nth-of-type(-n+2){display:none!important}}

html[data-rift-effective-theme='light'] .rvc-chat[data-rvc-parity],html[data-rift-effective-theme='light'] .rvc-parity-header,html[data-rift-effective-theme='light'] .rvc-parity-message-list,html[data-rift-effective-theme='light'] .rvc-parity-typing{background:#f7f8fa!important;color:#171b21!important}
html[data-rift-effective-theme='light'] .rvc-parity-header{border-color:#d4d9df!important}html[data-rift-effective-theme='light'] .rvc-parity-header strong,html[data-rift-effective-theme='light'] .rvc-parity-message-list .message-author{color:#20262d!important}html[data-rift-effective-theme='light'] .rvc-parity-message-list>.message:hover,html[data-rift-effective-theme='light'] .rvc-parity-message-list>.message:focus-within{background:#e9edf1!important}html[data-rift-effective-theme='light'] .rvc-parity-message-list .message-text{color:#343b44!important}html[data-rift-effective-theme='light'] .rvc-parity-composer,html[data-rift-effective-theme='light'] .rvc-parity-reply,html[data-rift-effective-theme='light'] .rvc-parity-files{background:#fff!important;border-color:#cbd1d8!important}html[data-rift-effective-theme='light'] .rvc-parity-composer textarea{color:#20262d!important}html[data-rift-effective-theme='light'] .rvc-parity-files .pending-file{background:#eef1f4!important}html[data-rift-effective-theme='light'] .rvc-parity-message-list .file-attachment{background:#fff!important;border-color:#cbd1d8!important;color:#252b33!important}html[data-rift-effective-theme='light'] .rvc-parity-message-list .reaction-chip{background:#fff!important;border-color:#cbd1d8!important;color:#252b33!important}
