/* Royal4King customer composer/nav only. No admin/economy/controller changes. */
body.r4k-client .r4k-bottom{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-template-rows:auto!important}
body.r4k-client .r4k-bottom>a{min-width:0!important}
body.r4k-client .r4k-bottom>a span{white-space:nowrap}
body.r4k-client .r4k-bottom>a[href="/games"],body.r4k-client .r4k-bottom>a[href="/games/"],body.r4k-client .r4k-bottom>a[href^="/games?"],body.r4k-client .r4k-bottom>a[href="/bet"],body.r4k-client .r4k-bottom>a[href^="/bet?"]{display:none!important}
body.r4k-client.r4k-chat{position:fixed!important;top:var(--r4k-chat-vp-top,0px)!important;left:0!important;width:100%!important;height:var(--r4k-chat-vp-height,100dvh)!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important}
body.r4k-chat>.r4k-header{grid-row:1!important;width:100%!important;max-width:480px!important;height:auto!important;min-height:76px!important;margin:0 auto!important;padding:10px 16px!important;padding-top:max(10px,env(safe-area-inset-top))!important;flex-shrink:0!important}
body.r4k-chat>.r4k-page{grid-row:2!important;width:100%!important;max-width:480px!important;height:auto!important;min-height:0!important;margin:0 auto!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
body.r4k-chat .ui-screen-chat{display:flex!important;flex-direction:column!important;flex:1 1 0%!important;height:auto!important;min-height:0!important;overflow:hidden!important}
body.r4k-chat .r4k-chat-heading,body.r4k-chat .credit-card{flex:0 0 auto!important}
body.r4k-chat .chat-wrap{display:flex!important;flex-direction:column!important;position:relative!important;inset:auto!important;flex:1 1 0%!important;height:auto!important;min-height:0!important;width:100%!important;overflow:hidden!important}
body.r4k-chat #chatBody{flex:1 1 0%!important;height:auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
body.r4k-chat #chatBody>.msg{flex-shrink:0}
body.r4k-chat .chat-input-bar{display:flex!important;position:relative!important;inset:auto!important;flex:0 0 auto!important;align-items:center!important;gap:4px!important;padding:8px 7px!important;min-height:64px!important;z-index:2!important}
body.r4k-chat .chat-input-bar #msgInput{display:block!important;flex:1 1 0%!important;width:0!important;min-width:0!important;min-height:46px!important;font-size:16px!important}
body.r4k-chat .chat-input-bar>button,body.r4k-chat .btn-voice-wrap{flex:0 0 36px!important;width:36px!important}
body.r4k-chat .chat-input-bar button{min-height:44px!important}
body.r4k-chat #recordingDock,body.r4k-chat #imageUploadStatus{flex-shrink:0!important}
body.r4k-chat>.r4k-bottom{grid-row:3!important;position:relative!important;inset:auto!important;left:auto!important;bottom:auto!important;transform:none!important;width:100%!important;max-width:480px!important;margin:0 auto!important;padding-bottom:max(10px,env(safe-area-inset-bottom))!important}
body.r4k-chat.r4k-chat-tight .credit-card,body.r4k-chat.r4k-chat-tight .r4k-chat-heading{display:none!important}
body.r4k-chat.r4k-chat-tight>.r4k-header{min-height:50px!important;padding:5px 12px!important}
body.r4k-chat.r4k-chat-tight .r4k-logo{height:36px!important;width:36px!important}
body.r4k-chat.r4k-chat-keyboard>.r4k-bottom{display:none!important}
body.r4k-chat.r4k-chat-keyboard .chat-input-bar{padding-bottom:max(8px,env(safe-area-inset-bottom))!important}
