/* Vyral V7.0.239: final loaded overrides for the single real messenger and MFA */
#v7DmShell, #v7DmShell * { box-sizing:border-box!important; }
#v7DmShell .v7-msg-listpane, #v7DmShell .v7-dm-search { min-width:0!important;max-width:100%!important; }
#v7DmShell .v7-dm-search { position:relative!important; display:block!important; padding:0 3px 12px!important; }
#v7DmShell .v7-dm-search input, #v7DmShell input#v7DmSearch {
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
  padding:0 60px 0 14px!important; font-size:13px!important;line-height:46px!important;
  height:46px!important; border-radius:14px!important; text-overflow:ellipsis!important;
}
#v7DmShell .v7-dm-search input::placeholder {color:#8794af!important;opacity:1;}
#v7DmShell .v7-dm-search .kbd {
  position:absolute!important;top:calc(50% - 6px)!important;right:12px!important;transform:translateY(-50%)!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:34px!important;max-width:42px!important;height:24px!important;padding:0 5px!important;
  flex:0 0 34px!important; font-size:10px!important;white-space:nowrap!important;line-height:1!important;
  pointer-events:none!important;z-index:1!important;
}
#v7DmShell .v7-dm-search:focus-within .kbd {opacity:0!important;}
#v7DmShell .v7-dm-people {min-width:0!important;min-height:0!important;overscroll-behavior:contain!important;}
#v7DmShell .v7-dm-person {max-width:100%!important;min-width:0!important;}
#v7DmShell .v7-msg-main {min-width:0!important;min-height:0!important;overflow:hidden!important;}
#v7DmShell .v7-chat-head {min-width:0!important;max-width:100%!important;}
#v7DmShell .v7-chat-messages {min-width:0!important;min-height:0!important;overflow-x:hidden!important;overscroll-behavior:contain!important;}
#v7DmShell .v7-compose {min-width:0!important;max-width:100%!important;}
#v7DmShell .v7-compose input {min-width:0!important;max-width:100%!important;}
#v7DmShell .v7-msg-info {min-width:0!important;max-width:100%!important;}
#v7DmShell .v7-msg-action-grid {grid-template-columns:repeat(4,minmax(0,1fr))!important;}
#v7DmShell .v7-msg-action {min-width:0!important;overflow:hidden!important;}
#v7DmShell .v7-msg-action .label {overflow-wrap:break-word!important;max-width:100%!important;}
@media(max-width:900px){
  #v7DmShell .v7-dm-search .kbd {display:none!important;}
  #v7DmShell .v7-dm-search input, #v7DmShell input#v7DmSearch {padding-right:14px!important;}
}
@media(max-width:700px){
  #v7DmShell.v7-dm-shell {width:100%!important;max-width:100%!important;min-width:0!important;max-height:calc(100dvh - 64px)!important;height:calc(100dvh - 64px)!important;border-radius:0!important;overflow:hidden!important;grid-template-columns:minmax(0,1fr)!important;}
  #v7DmShell .v7-msg-rail,#v7DmShell .v7-msg-info {display:none!important;}
  #v7DmShell .v7-msg-listpane {min-height:0!important;width:100%!important;grid-template-rows:auto auto auto minmax(0,1fr)!important;padding:14px 12px max(12px,env(safe-area-inset-bottom))!important;overflow:hidden!important;}
  #v7DmShell.show-list .v7-msg-listpane {display:grid!important;}
  #v7DmShell.show-list .v7-msg-main {display:none!important;}
  #v7DmShell:not(.show-list) .v7-msg-listpane {display:none!important;}
  #v7DmShell:not(.show-list) .v7-msg-main {display:grid!important;width:100%!important;grid-template-rows:68px minmax(0,1fr) auto!important;}
  #v7DmShell .v7-dm-title {gap:8px!important;}
  #v7DmShell .v7-dm-title h2 {font-size:clamp(23px,6vw,28px)!important;}
  #v7DmShell .v7-dm-title-actions {flex:0 0 auto!important;gap:5px!important;}
  #v7DmShell .v7-dm-search {padding:0 2px 12px!important;}
  #v7DmShell .v7-dm-search input {font-size:16px!important;height:48px!important;}
  #v7DmShell .v7-msg-filters {overflow-x:auto!important;min-width:0!important;max-width:100%!important;scrollbar-width:none!important;}
  #v7DmShell .v7-msg-filter {flex:0 0 auto!important;font-size:12px!important;padding-inline:14px!important;}
  #v7DmShell .v7-chat-head {height:68px!important;padding:8px 10px!important;gap:7px!important;}
  #v7DmShell .v7-chat-head .v7-head-meta {flex:1 1 auto!important;overflow:hidden!important;}
  #v7DmShell .v7-chat-head .v7-head-meta b {font-size:15px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  #v7DmShell .v7-chat-head .v7-head-meta div {font-size:11px!important;}
  #v7DmShell .v7-chat-head .v7-msg-avatar {width:38px!important;height:38px!important;flex:0 0 38px!important;}
  #v7DmShell .v7-chat-actions {flex:0 0 auto!important;margin-left:0!important;gap:5px!important;}
  #v7DmShell .v7-chat-actions .v7-btn {width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;}
  #v7DmShell .v7-chat-actions .v7-btn:nth-child(2),#v7DmShell .v7-chat-actions .v7-btn:nth-child(3) {display:none!important;}
  #v7DmShell .v7-msg-mobile-back {display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;flex:0 0 32px!important;padding:0!important;}
  #v7DmShell .v7-chat-messages {padding:12px 10px!important;}
  #v7DmShell .v7-msg-row {max-width:100%!important;}
  #v7DmShell .v7-msg-row .vyral-message-bubble {max-width:min(85%,420px)!important;word-break:break-word!important;}
  #v7DmShell .v7-compose {padding:8px max(8px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-right))!important;gap:6px!important;grid-template-columns:38px minmax(0,1fr) 38px 38px!important;}
  #v7DmShell .v7-compose button {width:38px!important;height:42px!important;min-width:0!important;padding:0!important;border-radius:14px!important;}
  #v7DmShell .v7-compose input {height:42px!important;font-size:16px!important;}
  #v7DmShell .v7-compose [data-action="dm-plus"],#v7DmShell .v7-compose [data-action="dm-video"] {display:none!important;}
}
@media(max-width:355px){
  #v7DmShell .v7-chat-actions .v7-btn:not(:last-child){display:none!important;}
  #v7DmShell .v7-dm-title h2{font-size:22px!important;}
  #v7DmShell .v7-dm-people .v7-dm-person{padding-inline:6px!important;}
}

/* Single centered MFA viewport: overrides historical auth panels. */
.auth-overlay.show:has(.v239-mfa-shell) {position:fixed!important;inset:0!important;height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;background:#070b17!important;z-index:100000!important;}
.auth-overlay.show .v239-mfa-shell {display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;overflow:hidden!important;background:radial-gradient(ellipse at 50% 0,rgba(72,94,255,.10),transparent 58%),#080b17!important;}
.auth-overlay.show .v239-mfa-shell .v239-mfa-main {display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;width:100%!important;min-width:0!important;max-width:100%!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;padding:24px 16px!important;scrollbar-width:thin!important;}
.auth-overlay.show .v239-mfa-shell .v239-mfa-card {box-sizing:border-box!important;position:relative!important;display:block!important;flex:0 0 auto!important;width:min(100%,480px)!important;max-width:480px!important;min-width:0!important;max-height:none!important;overflow:visible!important;padding:clamp(22px,4vw,36px)!important;margin:auto!important;background:linear-gradient(155deg,#131a32 0%,#0b1124 60%,#0b1020 100%)!important;border:1px solid rgba(106,131,255,.25)!important;border-radius:27px!important;box-shadow:0 28px 70px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.05)!important;color:#fff!important;}
.auth-overlay.show .v239-mfa-shell .v239-mfa-content {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;min-width:0!important;max-width:100%!important;padding:0!important;}
.v239-mfa-brand {display:flex!important;align-items:center!important;gap:12px!important;margin-bottom:25px!important;}
.v239-mfa-brand .vyral-official-logo {width:44px!important;height:44px!important;flex:0 0 44px!important;border-radius:13px!important;object-fit:cover!important;}
.v239-mfa-brand strong {display:block;font-size:18px;line-height:1.1;}
.v239-mfa-brand small {display:block;color:#aeb9d3;font-size:11px;margin-top:4px;}
.v239-mfa-shield {width:49px;height:49px;display:grid;place-items:center;border-radius:16px;color:#74e5ff;background:linear-gradient(135deg,rgba(83,102,255,.16),rgba(17,191,243,.15));border:1px solid rgba(93,165,255,.18);margin-bottom:19px;}
.v239-mfa-shield svg {width:25px!important;height:25px!important;}
.auth-overlay.show .v239-mfa-shell .v239-mfa-content>.v7-kicker {display:block!important;font-size:11px!important;line-height:1.4!important;letter-spacing:.13em!important;color:#65dfff!important;overflow-wrap:normal!important;margin-bottom:9px!important;}
.auth-overlay.show .v239-mfa-shell .v239-mfa-content>h2 {font-size:clamp(27px,5vw,38px)!important;line-height:1.13!important;letter-spacing:-.05em!important;margin:0 0 11px!important;overflow-wrap:normal!important;word-break:normal!important;}
.auth-overlay.show .v239-mfa-shell .v239-mfa-content>p {font-size:clamp(13px,3.4vw,15px)!important;line-height:1.55!important;color:#aeb9d2!important;margin:0 0 23px!important;}
.v239-otp-label {display:block;color:#e8edfa;font-size:13px;font-weight:800;margin:0 0 11px;}
.v239-otp-field {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(5px,1.6vw,9px);width:100%;max-width:100%;min-width:0;position:relative;cursor:text;margin-bottom:18px;}
.v239-code-cell {height:clamp(44px,12vw,56px);display:grid;place-items:center;min-width:0;border-radius:13px;border:1.5px solid rgba(132,155,214,.23);background:rgba(255,255,255,.035);color:#71809e;font:800 clamp(20px,6vw,26px)/1 ui-monospace,SFMono-Regular,Consolas,monospace;transition:border-color .12s ease,background .12s ease;}
.v239-code-cell.filled {color:#fff;background:rgba(78,101,225,.12);border-color:rgba(108,140,255,.45);}
.v239-code-cell.active {border-color:#54d8ff;box-shadow:0 0 0 2px rgba(84,216,255,.12);}
.v239-otp-field input.v239-otp-real {position:absolute!important;inset:0!important;z-index:3!important;display:block!important;width:100%!important;max-width:100%!important;height:100%!important;margin:0!important;padding:0!important;min-height:0!important;min-width:0!important;opacity:.02!important;background:transparent!important;border:0!important;box-shadow:none!important;color:transparent!important;letter-spacing:0!important;caret-color:transparent!important;font-size:16px!important;text-indent:0!important;cursor:text!important;}
.auth-overlay.show .v239-mfa-shell .v239-mfa-verify {min-height:51px!important;height:auto!important;width:100%!important;max-width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;padding:13px 12px!important;margin:0!important;border-radius:15px!important;font-size:15px!important;line-height:1.25!important;white-space:normal!important;box-shadow:0 14px 26px rgba(65,92,237,.2)!important;}
.auth-overlay.show .v239-mfa-shell .v239-mfa-verify svg {width:20px!important;height:20px!important;flex:0 0 20px!important;}
.auth-overlay.show .v239-mfa-shell .v239-mfa-verify span {display:inline!important;min-width:0!important;}
.auth-overlay.show .v239-mfa-shell .v239-mfa-secondary {display:flex!important;flex-direction:column!important;gap:11px!important;align-items:stretch!important;margin-top:12px!important;width:100%!important;}
.auth-overlay.show .v239-mfa-shell .v239-mfa-secondary .v7-btn {width:100%!important;min-height:46px!important;max-width:100%!important;justify-content:center!important;border-radius:14px!important;font-size:13px!important;padding:10px 12px!important;}
.auth-overlay.show .v239-mfa-shell .v239-mfa-secondary a {align-self:center!important;position:static!important;margin:0!important;padding:5px!important;color:#75dbff!important;font-size:12px!important;}
.auth-overlay.show .v239-mfa-shell .v239-mfa-legal {display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:10px 18px!important;margin:22px 0 0!important;color:#a7b0c7!important;}
.auth-overlay.show .v239-mfa-shell .v239-mfa-legal a {font-size:11px!important;}
@media(max-width:600px){
  .auth-overlay.show .v239-mfa-shell .v239-mfa-main {padding:12px 10px!important;justify-content:flex-start!important;}
  .auth-overlay.show .v239-mfa-shell .v239-mfa-card {margin:auto!important;padding:22px 20px!important;width:min(100%,430px)!important;border-radius:23px!important;}
  .auth-overlay.show .v239-mfa-shell .v239-mfa-brand {margin-bottom:18px!important;}
  .auth-overlay.show .v239-mfa-shell .v239-mfa-content>p {margin-bottom:19px!important;}
  .auth-overlay.show .v239-mfa-shell .v239-mfa-content>h2 {font-size:clamp(25px,7vw,33px)!important;}
  .auth-overlay.show .v239-mfa-shell .v239-mfa-shield {margin-bottom:14px!important;}
}
@media(max-width:350px){
  .auth-overlay.show .v239-mfa-shell .v239-mfa-card {padding:17px 14px!important;}
  .v239-code-cell {height:43px;border-radius:9px;}
  .v239-mfa-brand {margin-bottom:14px!important;}
  .auth-overlay.show .v239-mfa-shell .v239-mfa-legal {margin-top:14px!important;}
}
@media(max-height:570px){
  .auth-overlay.show .v239-mfa-shell .v239-mfa-main {justify-content:flex-start!important;}
  .auth-overlay.show .v239-mfa-shell .v239-mfa-card {margin:0 auto!important;}
}
@media(prefers-reduced-motion:reduce){.v239-code-cell{transition:none!important;}}
/* Match Vyral's existing blue/violet security actions, not generic red buttons. */
.auth-overlay.show .v239-mfa-shell .v239-mfa-verify {
  background:linear-gradient(110deg,#586dff 0%,#7558ff 50%,#23bff1 100%)!important;
  color:#fff!important;border:0!important;
}
.auth-overlay.show .v239-mfa-shell .v239-mfa-verify:disabled{opacity:.6!important;cursor:wait!important;}
@media(max-width:700px){html,body{max-width:100%!important;overflow-x:clip!important;}}
