/* LENZARYA RC449 — application finish layer. Additive only: preserves business logic. */
:root{--rf449-safe-top:max(12px,env(safe-area-inset-top,0px));--rf449-safe-bottom:max(12px,env(safe-area-inset-bottom,0px))}
.nx-universal-back svg,.rf449-messages-back svg,.rf449-call-back svg,.rf449-call-icon{width:22px;height:22px;fill:none;stroke:currentColor}
body.nx-world-shell-on>.nx-universal-back:not([hidden]){display:grid!important;top:calc(var(--lz420-topbar-h,64px) + 10px)!important;left:max(12px,env(safe-area-inset-left,0px))!important;width:42px!important;height:42px!important;border-radius:50%!important;background:rgba(8,11,18,.82)!important;border:1px solid rgba(255,255,255,.12)!important;backdrop-filter:blur(18px)!important;color:#fff!important;box-shadow:0 12px 34px rgba(0,0,0,.28)!important;place-items:center!important}
body.nx-world-shell-on>.nx-universal-back[hidden]{display:none!important}
@media(min-width:1000px){body.nx-world-shell-on>.nx-universal-back:not([hidden]){left:calc(var(--lz420-sidebar-w,248px) + 14px)!important}}

/* Messages: full application surface, no compressed-web layout on phones. */
.rf449-messages-back{width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer;flex:0 0 auto}
body.lz-messages-page .lz398-brandbar{display:flex!important;align-items:center!important;gap:4px!important}
body.lz-messages-page .lz398-brand-actions{margin-left:auto!important}
@media(max-width:760px){
 body.lz-messages-page>.nx-world-topbar,body.lz-messages-page>.nx-world-sidebar,body.lz-messages-page>.nx-universal-back{display:none!important}
 body.lz-messages-page.nx-world-shell-on>.page{padding:0 0 calc(70px + env(safe-area-inset-bottom,0px))!important;min-height:100dvh!important;background:#070a10!important}
 body.lz-messages-page .lz398-messages{width:100%!important;max-width:none!important;padding:0 14px 12px!important}
 body.lz-messages-page .lz398-brandbar{min-height:calc(58px + env(safe-area-inset-top,0px))!important;padding-top:env(safe-area-inset-top,0px)!important;margin:0!important;position:sticky!important;top:0!important;z-index:60!important;background:rgba(7,10,16,.94)!important;backdrop-filter:blur(20px)!important}
 body.lz-messages-page .lz404-inbox-head,body.lz-messages-page .lz398-modes,body.lz-messages-page .lz404-online,body.lz-messages-page .lz398-searchrow,body.lz-messages-page .lz404-list-head{margin-left:0!important;margin-right:0!important}
 body.lz-messages-page .msg-app{height:auto!important;min-height:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}
 body.lz-messages-page .msg-app.thread-open{position:fixed!important;inset:0!important;z-index:30000!important;height:100dvh!important;background:#070a10!important;overflow:hidden!important}
 body.lz-messages-page .msg-app.thread-open .msg-thread{position:absolute!important;inset:0!important;display:flex!important;transform:none!important;height:100dvh!important;min-height:100dvh!important;background:#070a10!important}
 body.lz-messages-page .msg-thread-head{padding-top:calc(8px + env(safe-area-inset-top,0px))!important;min-height:calc(64px + env(safe-area-inset-top,0px))!important;position:relative!important;z-index:12!important}
 body.lz-messages-page .msg-bubbles{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding-bottom:20px!important}
 body.lz-messages-page .msg-compose{position:relative!important;z-index:14!important;padding-bottom:max(10px,env(safe-area-inset-bottom,0px))!important}
 body.lz-messages-page .rc274-net{position:absolute!important;top:0!important;left:0!important;right:0!important;z-index:30!important}
}

/* Calls: immersive WebRTC screen with centered controls and no website chrome. */
body.rf3e5-call-page{overflow:hidden!important;background:#020409!important}
body.rf3e5-call-page>.nx-world-topbar,body.rf3e5-call-page>.nx-world-sidebar,body.rf3e5-call-page>.nx249-mobile-dock,body.rf3e5-call-page>.nx-universal-back,body.rf3e5-call-page>.nav,body.rf3e5-call-page>.stars{display:none!important}
body.rf3e5-call-page.nx-world-shell-on>.page,body.rf3e5-call-page>.page{padding:0!important;margin:0!important;max-width:none!important;width:100%!important;height:100dvh!important;overflow:hidden!important}
.rf3e5-call-shell{height:100dvh!important;min-height:100dvh!important;grid-template-rows:auto minmax(0,1fr) auto!important;background:#020409!important}
.rf449-call-back{display:flex!important;align-items:center!important;gap:5px!important;min-width:40px!important;min-height:40px!important;padding:0 8px!important;border-radius:999px!important;color:#fff!important;background:rgba(0,0,0,.25)!important}
.rf449-call-back span{font-size:11px;font-weight:700;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rf3e5-call-main{min-height:0!important;padding:0!important;overflow:hidden!important}
.rf3e5-call-main .call-stage{width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#020409!important}
.rf3e5-call-main #remote{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;background:#020409!important}
.rf3e5-call-main #local{z-index:6!important}
.rf3e5-call-main .call-status{z-index:7!important}
.rf3e5-call-bottom{background:linear-gradient(180deg,rgba(2,4,9,.2),rgba(2,4,9,.96) 30%)!important;border:0!important}
.rf3e5-call-controls{justify-content:center!important;align-items:flex-start!important;gap:9px!important;overflow-x:auto!important;padding:2px max(8px,env(safe-area-inset-left,0px))!important;scroll-snap-type:x proximity!important}
.rf3e5-call-controls button,.rf3e5-call-controls a{min-width:64px!important;min-height:60px!important;border:0!important;background:rgba(24,29,39,.88)!important;border-radius:18px!important;color:#f4f6fa!important;scroll-snap-align:center!important;backdrop-filter:blur(16px)!important}
.rf3e5-call-controls .primary{background:#f4f6fa!important;color:#090d15!important}
.rf3e5-call-controls .danger-btn{background:#e7475d!important;color:#fff!important}
.rf449-call-icon{width:24px!important;height:24px!important;stroke-width:1.8}
.rf3e5-call-controls button>span:last-child,.rf3e5-call-controls a>span:last-child{font-size:10px!important;font-weight:750!important}
.rf5-control-mark{display:none!important}
@media(max-width:760px){
 .rf3e5-call-shell{grid-template-rows:auto minmax(0,1fr) auto!important}
 .rf3e5-call-top{padding:calc(7px + env(safe-area-inset-top,0px)) 9px 7px!important;grid-template-columns:auto minmax(0,1fr)!important;background:linear-gradient(180deg,rgba(2,4,9,.82),rgba(2,4,9,.2))!important;border:0!important;position:absolute!important;top:0!important;left:0!important;right:0!important;z-index:30!important}
 .rf3e5-call-person{min-width:0!important}.rf3e5-call-avatar{width:38px!important;height:38px!important}.rf3e5-call-person small{font-size:10px!important}.rf3e5-call-security{display:none!important}
 .rf449-call-back{width:40px!important;height:40px!important;padding:0!important;justify-content:center!important}.rf449-call-back span{display:none!important}
 .rf3e5-call-main{grid-row:1 / -1!important;height:100dvh!important}
 .rf3e5-call-main .call-stage{height:100dvh!important;min-height:100dvh!important}
 .rf3e5-call-main #local{right:12px!important;top:calc(72px + env(safe-area-inset-top,0px))!important;bottom:auto!important;width:min(29vw,112px)!important;aspect-ratio:9/14!important;border-radius:16px!important}
 .rf3e5-call-main .call-status{top:auto!important;bottom:calc(96px + env(safe-area-inset-bottom,0px))!important;max-width:82vw!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .rf3e5-call-bottom{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:25!important;padding:24px 6px max(10px,env(safe-area-inset-bottom,0px))!important}
 .rf3e5-call-controls{justify-content:flex-start!important;padding-left:10px!important;padding-right:10px!important}
 .rf3e5-call-controls button,.rf3e5-call-controls a{min-width:62px!important;min-height:58px!important;border-radius:50%!important;width:58px!important;height:58px!important;display:flex!important;flex:0 0 58px!important;flex-direction:column!important;justify-content:center!important;gap:1px!important;padding:5px!important}
 .rf3e5-call-controls button>span:last-child,.rf3e5-call-controls a>span:last-child{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
 .rf3e5-call-devicebar{display:none!important}
 .nx111-call-gift-panel{bottom:calc(92px + env(safe-area-inset-bottom,0px))!important;max-height:34dvh!important}
 .rf3e5-call-gift-confirm{bottom:calc(92px + env(safe-area-inset-bottom,0px))!important;left:12px!important;right:12px!important;width:auto!important}
 .rf3e5-call-reaction-tray{bottom:calc(92px + env(safe-area-inset-bottom,0px))!important}
}
@media(prefers-reduced-motion:reduce){.rf3e5-call-controls,.msg-thread{scroll-behavior:auto!important;transition:none!important}}
/* RC449 · Match LIVE réel — overlay d’application, aucun ancien gameplay. */
.lz449-match-bar{position:fixed;z-index:55;top:max(94px,calc(env(safe-area-inset-top) + 72px));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;max-width:calc(100vw - 28px);border:1px solid #ffffff2b;background:rgba(6,8,13,.72);backdrop-filter:blur(18px);color:#fff;border-radius:999px;padding:8px 12px;box-shadow:0 8px 30px #0007}.lz449-match-bar[hidden]{display:none}.lz449-match-live-dot{width:7px;height:7px;border-radius:50%;background:#ff315b;box-shadow:0 0 0 4px #ff315b22}.lz449-match-bar b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lz449-match-bar strong{font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}.lz449-match-bar span:last-child{font-size:11px;color:#d8dde8;white-space:nowrap}.lz449-match-sheet{color:#fff}.lz449-match-status{padding:10px 2px}.lz449-match-score{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center}.lz449-match-score span{display:grid;text-align:center;padding:12px;border-radius:16px;background:#ffffff0c}.lz449-match-score small{font-size:11px;color:#aeb6c5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lz449-match-score b{font-size:24px;font-variant-numeric:tabular-nums}.lz449-match-score i{font-style:normal;font-size:11px;font-weight:900;color:#ff5577}.lz449-match-status p,.lz449-match-rule,.lz449-match-support p{font-size:12px;line-height:1.5;color:#b8bfcc}.lz449-match-create{display:grid;gap:10px}.lz449-match-create label{display:grid;gap:5px;font-size:12px;color:#c5cbd5}.lz449-match-create input,.lz449-match-create select{width:100%;box-sizing:border-box;border:1px solid #ffffff1f;border-radius:13px;background:#10131a;color:#fff;padding:12px}.lz449-match-invite{display:grid;gap:10px;padding:13px;border-radius:16px;background:#ffffff0d}.lz449-match-invite>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.lz449-match-invite button,.lz449-match-support a{border:0;border-radius:13px;padding:11px;text-align:center;text-decoration:none;background:#ffffff12;color:#fff}.lz449-match-invite button.primary{background:#ff315b}.lz449-match-support{display:grid;gap:9px}.lz449-match-support a{display:block}.lz449-match-control{border-color:#ff315b55!important}
@media(max-width:700px){.lz449-match-bar{top:calc(env(safe-area-inset-top) + 66px);max-width:calc(100vw - 20px)}.lz449-match-sheet{max-height:min(72dvh,620px)}}
