/* RAVEPING mobile-native layer: additive overrides, desktop layout remains intact. */
:root{--rp-safe-top:env(safe-area-inset-top,0px);--rp-safe-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}body{overscroll-behavior-y:contain}button,a,input,select,textarea{touch-action:manipulation}input,select,textarea{font-size:16px!important}
.rp-country-picker select,.rp-country-select{min-height:48px;border-radius:15px;padding:12px 42px 12px 14px;font-weight:700;background-color:#fff}
@media(max-width:767.98px){
 body{padding-bottom:var(--rp-safe-bottom)}
 .auth-body{min-height:100svh;background:radial-gradient(circle at 8% 0%,#f4dcff 0,transparent 34%),radial-gradient(circle at 100% 30%,#d9f9ef 0,transparent 32%),#fbf9ff!important}
 .auth-body>.row{min-height:100svh;align-items:center;padding:calc(14px + var(--rp-safe-top)) 0 calc(18px + var(--rp-safe-bottom))}
 .auth-body .container-tight{width:100%;max-width:520px!important;margin:0 auto!important;padding:18px!important}
 .auth-body h2{font-size:clamp(27px,8vw,36px);font-weight:900;letter-spacing:-.045em;line-height:1.05}
 .auth-body .card,.auth-body form.user{border-radius:24px}
 .auth-body .form-control,.auth-body .form-select,.auth-body select,.auth-body input{min-height:50px;border-radius:14px;font-size:16px!important}
 .auth-body .btn{min-height:50px;border-radius:15px;font-weight:850}
 .auth-body .login-selector{padding:5px;border-radius:16px;background:#eee9f8}
 .auth-body .login-selector .nav-link{border-radius:12px;font-weight:800}
 .auth-body .login-selector .nav-link.active{background:#7657ff;color:#fff;box-shadow:0 7px 18px #7657ff35}
 .auth-body .select2-container{width:100%!important}.auth-body .select2-selection{min-height:50px!important;border-radius:14px!important;display:flex;align-items:center}
 .rp-explore-shell,.rp-explore{padding-left:14px!important;padding-right:14px!important}
 .rp-explore-hero,.rp-explore-banner{border-radius:24px!important;overflow:hidden}
 .rp-explore-banner{min-height:unset!important;padding:23px!important;display:flex;gap:10px;flex-direction:column}
 .rp-banner-art{min-height:150px;max-height:180px;align-self:stretch}
 .rp-city-strip{display:block!important;padding:15px!important;border-radius:18px!important}
 .rp-city-pills{display:flex!important;overflow-x:auto;flex-wrap:nowrap!important;gap:8px;padding:10px 0 3px;scrollbar-width:none}.rp-city-pills::-webkit-scrollbar{display:none}
 .rp-city-pills a{white-space:nowrap;flex:0 0 auto;min-height:40px;display:inline-flex;align-items:center}
 .rp-explore-grid{grid-template-columns:1fr!important;gap:13px!important}
 .rp-explore-card{border-radius:20px!important;overflow:hidden}
 .rp-explore-card-art{height:150px!important}
 .rp-explore-card-body{padding:16px!important}
 .rp-create-strip{display:flex!important;flex-direction:column;align-items:stretch!important;gap:12px!important;padding:19px!important;border-radius:20px!important}
 .rp-create-strip>a{display:flex;justify-content:space-between;align-items:center;min-height:48px;padding:12px 15px;border-radius:13px;background:#f2edff}
 /* ChatNet chat becomes a single full-screen conversation on phones. */
 body:has(#chat-room-container) .navbar,body:has(#chat-room-container) .sidebar,body:has(#chat-room-container) .chat-sidebar,body:has(#chat-room-container) .right-sidebar{display:none!important}
 body:has(#chat-room-container) .container,body:has(#chat-room-container) .container-fluid{max-width:none!important;width:100%!important;padding-left:0!important;padding-right:0!important}
 body:has(#chat-room-container) #chat-room-container{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;min-height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;z-index:1000;background:#fff;padding-top:var(--rp-safe-top);padding-bottom:var(--rp-safe-bottom);}
 body:has(#chat-room-container) .chat-content,body:has(#chat-room-container) .chat-room-content,body:has(#chat-room-container) .chat-window{width:100%!important;max-width:none!important;min-width:0!important;height:100%!important;border:0!important;border-radius:0!important}
 body:has(#chat-room-container) .chat-header{position:sticky;top:0;z-index:5;padding-top:8px}
 body:has(#chat-room-container) .chat-footer,body:has(#chat-room-container) .chat-input-area{position:sticky;bottom:0;padding-bottom:calc(8px + var(--rp-safe-bottom));background:#fff;z-index:5}
 body:has(#chat-room-container) .chat-messages,body:has(#chat-room-container) .chat-body{height:auto!important;min-height:0;flex:1;overflow-y:auto!important;-webkit-overflow-scrolling:touch}
 .rp-sponsored-card{border-radius:18px!important;overflow:hidden}
}
@media(max-width:767.98px){
 body.incallx #wrapper{width:100vw!important;min-width:0!important;height:100dvh!important;overflow:hidden!important}
 body.incallx .room-bar,body.incallx #sidebar-wrapper,body.incallx .right-panel,body.incallx #rightbar-wrapper{display:none!important}
 body.incallx .main-tab-content,body.incallx .main-tab-content>.tab-pane,body.incallx .page-content-wrapper{width:100%!important;max-width:none!important;min-width:0!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important}
 body.incallx .page-content-wrapper{display:flex!important;flex-direction:column!important;overflow:hidden!important}
 body.incallx .main-panel{width:100%!important;max-width:none!important;min-width:0!important;flex:1 1 auto!important;height:100%!important;min-height:0!important;border:0!important}
 body.incallx .chat-scroll{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}
 body.incallx .group-chat,body.incallx .private-chat{height:100%!important;min-height:0!important}
 body.incallx .group-chat>.wrapper,body.incallx .private-chat>.wrapper{height:100%!important;min-height:0!important}
}

/* Mobile room navigation: the previous layer hid .room-bar entirely, leaving
   members without a way to switch between Explore, rooms and private chat. */
@media(max-width:767.98px){
 body.incallx #wrapper{padding-bottom:calc(68px + var(--rp-safe-bottom))!important}
 body.incallx .room-bar{display:flex!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:100%!important;height:calc(62px + var(--rp-safe-bottom))!important;min-height:62px!important;max-height:calc(72px + var(--rp-safe-bottom))!important;z-index:1200!important;flex-direction:row!important;align-items:center!important;justify-content:space-around!important;padding:5px 8px calc(5px + var(--rp-safe-bottom))!important;background:#fff!important;border-top:1px solid #dedede!important;box-shadow:0 -6px 24px rgba(0,0,0,.08)!important}
 body.incallx .room-bar .room-list,body.incallx .room-bar .mini-brand-seperator{display:none!important}
 body.incallx .room-bar .action-list{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-around!important;gap:8px!important;width:auto!important;flex:1!important;margin:0!important}
 body.incallx .room-bar .cn-tab{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;width:48px!important;height:48px!important;min-width:44px!important;border-radius:14px!important}
 body.incallx .room-bar .cn-tab>i{font-size:22px!important}
 body.incallx .room-bar .private-messages{display:flex!important;flex:0 0 48px!important}
 body.incallx .room-bar .pill{left:0!important;right:0!important;top:auto!important;bottom:-3px!important;width:18px!important;height:3px!important;margin:auto!important;border-radius:5px!important}
 body.incallx .sidebar-wrapper,body.incallx #sidebar-wrapper,body.incallx .right-sidebar,body.incallx .right-panel{display:none!important}
 body.incallx .main-tab-content{padding-bottom:calc(72px + var(--rp-safe-bottom))!important}
 body.incallx .main-tab-content>.tab-pane{padding-bottom:calc(72px + var(--rp-safe-bottom))!important}
}

/* Final mobile navigation correction: retain room shortcuts and let Explore open its drawer. */
@media(max-width:767.98px){
 body.incallx .room-bar .room-list{display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;flex:1 1 auto!important;min-width:0!important;max-width:48vw!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:none!important}
 body.incallx .room-bar .room-list::-webkit-scrollbar{display:none!important}
 body.incallx .room-bar .room-list>*{flex:0 0 42px!important;width:42px!important;height:46px!important}
 body.incallx .room-bar .action-list{flex:0 0 auto!important;width:auto!important;gap:4px!important}
 body.incallx .sidebar-wrapper,body.incallx #sidebar-wrapper{display:none!important}
 body.incallx.rp-mobile-discovery-open .sidebar-wrapper,body.incallx.rp-mobile-discovery-open #sidebar-wrapper{display:block!important;position:fixed!important;left:8px!important;right:8px!important;bottom:calc(72px + var(--rp-safe-bottom))!important;top:auto!important;width:auto!important;height:auto!important;max-height:70vh!important;overflow:visible!important;z-index:1185!important;background:transparent!important;border:0!important;box-shadow:none!important}
 body.incallx.rp-mobile-discovery-open .sidebar-wrapper>.channel-bar:not(.sidebar-discovery){display:none!important}
 body.incallx.rp-mobile-discovery-open .sidebar-wrapper .sidebar-discovery{display:block!important;position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;width:100%!important;height:auto!important;max-height:70vh!important;overflow-y:auto!important;z-index:1190!important;background:#fff!important;border:1px solid #ddd!important;border-radius:18px!important;box-shadow:0 16px 50px rgba(0,0,0,.2)!important;padding:12px!important}
}


/* Reliable mobile room menu drawer (desktop sidebar layout is unchanged). */
@media (max-width: 768px) {
  body.incallx .sidebar-wrapper {
    position: fixed !important; left: 0 !important; top: 0 !important; bottom: 0 !important;
    width: min(88vw, 340px) !important; max-width: 340px !important; height: 100dvh !important;
    margin: 0 !important; z-index: 1302 !important; overflow-y: auto !important;
    transform: translateX(-110%); transition: transform .22s ease;
    visibility: hidden; box-shadow: 12px 0 36px rgba(0,0,0,.18);
    background: #fff;
  }
  body.incallx.rp-mobile-menu-open .sidebar-wrapper {
    transform: translateX(0); visibility: visible;
  }
  body.incallx.rp-mobile-menu-open::before {
    content: ''; position: fixed; inset: 0; z-index: 1301;
    background: rgba(0,0,0,.42);
  }
  body.incallx .sidebarToggle { position: relative; z-index: 1303; touch-action: manipulation; }
}

/* MYRAVV mobile chat: native conversation shell, compact fundraisers and a real send action. */
.editor-container{gap:8px}
.editor-container .editor-col{min-width:0;flex:1 1 auto}
.rp-send-message{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-width:76px;min-height:42px;padding:0 14px;border:0;border-radius:14px;background:#7657ff;color:#fff;font-weight:800;box-shadow:0 5px 14px rgba(118,87,255,.22);touch-action:manipulation}
.rp-send-message i{font-size:18px}
.rp-send-message:active{transform:scale(.97)}
.rp-fundraiser-actions{display:flex;align-items:center;gap:7px}
.rp-fundraiser-toggle{display:none;border:1px solid #e6def4;background:#fff;color:#4b3a67;border-radius:10px;padding:6px 9px;font-size:11px;font-weight:800}

@media(max-width:767.98px){
  html,body.incallx{height:100%;min-height:100%;overflow:hidden;overscroll-behavior:none}
  body.incallx #wrapper{height:100dvh!important;min-height:100dvh!important;padding:0 0 calc(62px + env(safe-area-inset-bottom))!important;overflow:hidden!important;background:#f7f7fb}
  body.incallx .main-container,body.incallx .main-tab-content,body.incallx .main-tab-pane.active{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;height:100%!important;overflow:hidden!important}
  body.incallx .page-content-wrapper{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;height:100%!important;overflow:hidden!important;background:#f7f7fb}
  body.incallx .page-content-wrapper>.topbar{position:relative!important;flex:0 0 56px!important;min-height:56px!important;padding:0 12px!important;background:#fff!important;border-bottom:1px solid #eceaf2!important;box-shadow:0 2px 12px rgba(27,20,45,.04);z-index:10}
  body.incallx .topbar .sidebarToggle{display:inline-flex!important;width:40px!important;height:40px!important;align-items:center!important;justify-content:center!important;border-radius:13px!important;background:#f1edff!important;color:#6545db!important;border:0!important}
  body.incallx .topbar .top-channel-name{font-size:15px!important;font-weight:850!important;letter-spacing:-.02em;color:#211b31!important;max-width:42vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.incallx .topbar .rightbarToggle,body.incallx .topbar #notifications-panel{display:none!important}
  body.incallx .rp-fundraiser-strip{flex:0 0 auto!important;margin:6px 9px 4px!important;padding:8px 10px!important;border-radius:13px!important;background:#fff!important;box-shadow:0 2px 9px rgba(28,20,45,.045)!important}
  body.incallx .rp-fundraiser-strip-head{min-height:32px!important;gap:6px!important}
  body.incallx .rp-fundraiser-strip-head b{font-size:11px!important}
  body.incallx .rp-fundraiser-strip-head small{font-size:9px!important}
  body.incallx .rp-fundraiser-actions{gap:5px!important}
  body.incallx .rp-fundraiser-actions>.btn{min-height:30px!important;padding:5px 8px!important;font-size:10px!important;border-radius:9px!important}
  body.incallx .rp-fundraiser-toggle{display:inline-flex!important;align-items:center;gap:4px;min-height:30px}
  body.incallx .rp-fundraiser-list{display:none!important;max-height:0!important;overflow:hidden!important;padding-top:0!important}
  body.incallx.rp-fundraisers-open .rp-fundraiser-list{display:flex!important;max-height:138px!important;overflow-x:auto!important;overflow-y:hidden!important;padding-top:8px!important}
  body.incallx .rp-fundraiser-card{flex:0 0 min(250px,76vw)!important;max-height:122px!important;padding:8px!important}
  body.incallx .rp-fundraiser-copy p{max-height:26px!important}
  body.incallx .chat-scroll{flex:1 1 auto!important;min-height:0!important;height:auto!important;overflow-y:auto!important;padding:4px 8px 10px!important;-webkit-overflow-scrolling:touch!important}
  body.incallx .room-editor{flex:0 0 auto!important;position:relative!important;z-index:8!important;padding:5px 8px calc(7px + env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #eceaf2!important;box-shadow:0 -4px 16px rgba(28,20,45,.045)!important}
  body.incallx .room-editor .editor-container{display:flex!important;align-items:flex-end!important;gap:6px!important;margin:0!important;padding:6px!important;min-height:54px!important;border:1px solid #e7e3ef!important;border-radius:18px!important;background:#f7f6fa!important}
  body.incallx .room-editor .attachment-col{flex:0 0 34px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important}
  body.incallx .room-editor #attachmentOptions{width:24px!important;height:24px!important;color:#7254df!important;cursor:pointer}
  body.incallx .room-editor .editor-col{flex:1 1 auto!important;width:auto!important;min-width:0!important}
  body.incallx .room-editor .note-editor.note-frame{width:100%!important;margin:0!important;background:transparent!important}
  body.incallx .room-editor .note-editing-area .note-editable{min-height:36px!important;max-height:112px!important;padding:8px 5px!important;overflow-y:auto!important;font-size:16px!important;line-height:1.35!important;background:transparent!important}
  body.incallx .room-editor .rp-message-privacy-controls{display:none!important}
  body.incallx .room-editor .emoji-col{gap:5px!important;flex:0 0 auto!important}
  body.incallx .room-editor .editor-icon{width:21px!important;height:21px!important;margin:0 2px!important;color:#7a718a!important}
  body.incallx .room-editor .rp-send-message{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border-radius:50%!important;background:#7657ff!important;color:#fff!important;box-shadow:none!important}
  body.incallx .room-editor .rp-send-message span{display:none!important}
  body.incallx .room-editor .rp-send-message i{font-size:19px!important}
  body.incallx .room-bar{height:calc(60px + env(safe-area-inset-bottom))!important;min-height:60px!important;padding:5px 10px calc(5px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.97)!important;border-top:1px solid #e9e6f0!important;box-shadow:0 -5px 20px rgba(25,18,42,.07)!important;backdrop-filter:blur(16px)!important}
  body.incallx .room-bar .cn-tab{width:42px!important;height:42px!important;min-width:42px!important;border-radius:14px!important;background:#f4f2f8!important;color:#6e667d!important}
  body.incallx .room-bar .cn-tab.active{background:#eee9ff!important;color:#6d4ce7!important}
  body.incallx .room-bar .cn-tab>i{font-size:20px!important}
  body.incallx .room-bar .room-list{max-width:54vw!important;gap:5px!important}
  body.incallx .room-bar .room-list>*{width:39px!important;flex-basis:39px!important;height:42px!important;border-radius:13px!important}
  body.incallx .sidebar-wrapper,body.incallx #sidebar-wrapper{display:none!important}
  body.incallx.rp-mobile-menu-open .sidebar-wrapper,body.incallx.rp-mobile-menu-open #sidebar-wrapper{display:block!important;position:fixed!important;inset:0 auto 0 0!important;width:min(86vw,350px)!important;height:100dvh!important;max-height:100dvh!important;padding-top:env(safe-area-inset-top)!important;padding-bottom:env(safe-area-inset-bottom)!important;overflow-y:auto!important;transform:translateX(0)!important;visibility:visible!important;z-index:1302!important;background:#fff!important;border:0!important;border-radius:0 22px 22px 0!important;box-shadow:18px 0 50px rgba(20,12,36,.2)!important}
  body.incallx.rp-mobile-menu-open::before{content:'';display:block!important;position:fixed!important;inset:0!important;z-index:1301!important;background:rgba(18,12,30,.48)!important;backdrop-filter:blur(2px)!important}
  body.incallx.rp-mobile-menu-open .sidebar-wrapper .channel-bar{display:block!important;width:100%!important;max-height:none!important;height:auto!important;padding:14px!important;background:#fff!important}
  body.incallx.rp-mobile-menu-open .sidebar-wrapper .disc-header{font-size:17px!important;font-weight:900!important;letter-spacing:-.03em;padding:8px 4px 12px!important}
  body.incallx .sidebar-wrapper .channel-item,body.incallx .sidebar-wrapper .disc-cat-row,body.incallx .sidebar-wrapper .room-manage-row{min-height:50px!important;border-radius:14px!important;margin:3px 0!important}
  body.incallx .main-tab-content{padding-bottom:0!important}
  body.incallx .main-tab-content>.tab-pane{padding-bottom:0!important}
}
@media(max-width:767.98px){
  body.incallx .container-fluid.group-chat{display:flex!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;overflow:hidden!important}
  body.incallx .container-fluid.group-chat>.wrapper{display:flex!important;flex:1 1 auto!important;min-height:0!important;height:100%!important;overflow:hidden!important}
  body.incallx .container-fluid.group-chat .main-panel{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-height:0!important;height:100%!important;overflow:hidden!important}
  body.incallx .container-fluid.group-chat .main-panel>.ad-space{flex:0 0 auto!important;max-height:44px!important;overflow:hidden!important}
}

/* 2026-11-12 mobile sidebar refinements: clearer Chat/Radio actions and usable DM search */
@media(max-width:767.98px){
 body.incallx .room-bar .private-messages .private-item{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;border-radius:14px!important;background:#e9f4f2!important;color:#087568!important}
 body.incallx .room-bar .private-messages .private-item>i{font-size:23px!important;line-height:1!important}
 body.incallx .room-bar .radio-container .radio-thumb{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border-radius:14px!important;background:#f0eaff!important;color:#7650df!important}
 body.incallx .room-bar .radio-container .rp-radio-nav-icon>i{font-size:23px!important;line-height:1!important}
 body.incallx .room-bar .radio-container .radio-controls{display:none!important}
 body.incallx .sidebar-private{display:flex!important;flex-direction:column!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}
 body.incallx .sidebar-private .topbar-private{position:relative!important;top:auto!important;z-index:3!important;display:block!important;flex:0 0 auto!important;width:100%!important;min-height:0!important;height:auto!important;padding:8px 12px!important;margin:0!important;background:#fff!important;border:0!important;box-shadow:none!important}
 body.incallx .sidebar-private .topbar-private>div,body.incallx .sidebar-private .topbar-private .input-icon{width:100%!important;max-width:100%!important;min-width:0!important}
 body.incallx .sidebar-private .dm-user-search{display:block!important;width:100%!important;min-width:0!important;height:42px!important;min-height:42px!important;padding:8px 38px 8px 12px!important;border:1px solid #e6e1ee!important;border-radius:13px!important;background:#f8f7fb!important;box-shadow:none!important}
 body.incallx .sidebar-private .private-list{position:relative!important;display:block!important;flex:1 1 auto!important;min-height:100px!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;padding:4px 10px 18px!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
 body.incallx .sidebar-private .ad-sidebar-top,body.incallx .sidebar-private .ad-sidebar-bottom{flex:0 0 auto!important;max-width:100%!important;overflow:hidden!important}
 body.incallx .sidebar-private .private-list .private-user,body.incallx .sidebar-private .private-list .user-item{max-width:100%!important;min-width:0!important}
}
