/* Same existing brand containers and aspect ratio; Owner-supplied image unchanged. */
:root{--n6-brand-logo:url('./richone-original-ddfc7c7a140301e0.jpeg');}
.website-bull,.approved-bull,.reference-bull,.v22-registration .reg-brand{
 background-image:var(--n6-brand-logo)!important;background-size:contain!important;
 background-position:center!important;background-repeat:no-repeat!important;filter:none!important;
}
.lobby-brand>span:not(.website-bull){display:none!important;}
img[data-n6-brand="RICHONE"]{object-fit:contain!important;object-position:center!important;filter:none!important;}

.lobby-main-banner>img{object-fit:contain!important;background:#000;}
.lobby-main-banner>.banner-wordmark{visibility:hidden!important;}

/* Preserve the previously accepted header logo container dimensions. */
.lobby-brand>.website-bull{width:106px!important;height:53px!important;flex:0 0 106px!important;background-image:url('./richone-header-transparent-0d2c7ac1018d6ff6.png')!important;}
/* Owner-approved Lobby wallet card: existing balance and original action nodes. */
.lg-lobby>.owner-strip[data-r1-wallet]{box-sizing:border-box!important;height:auto!important;display:grid!important;grid-template-columns:minmax(78px,1fr) minmax(191px,1.75fr)!important;align-items:center!important;gap:8px!important;padding:10px 10px!important;margin:10px 0 12px!important;border:1px solid #8b795e!important;border-bottom-color:#b78e43!important;border-radius:18px!important;background:linear-gradient(115deg,#27231d,#171610 70%)!important;box-shadow:inset 0 1px 2px #f5e2be44,0 2px 8px #0006!important;min-height:86px;}
.lg-lobby>.owner-strip[data-r1-wallet]>.owner-identity,.lg-lobby>.owner-strip[data-r1-wallet]>.owner-wallet{display:none!important;}
.lg-lobby>.owner-strip[data-r1-wallet] .owner-balance{display:block!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:none!important;}
.lg-lobby>.owner-strip[data-r1-wallet] .owner-balance>img{display:none!important;}
.lg-lobby .r1-balance-heading{position:relative;height:28px;display:flex;align-items:center;gap:3px;white-space:nowrap;}
.lg-lobby .r1-balance-heading>small{font-size:clamp(10px,2.9vw,14px)!important;color:#ddd8ca!important;font-weight:600;}
.lg-lobby .r1-balance-eye{position:absolute;right:0;top:-8px!important;transform:none!important;scale:1!important;transition:none!important;display:grid;place-items:center;width:30px;height:44px;padding:4px;border:0;background:transparent;color:#958d7c;cursor:pointer;}
.lg-lobby .r1-balance-eye svg{width:21px;height:21px;}
.lg-lobby .r1-balance-value{position:relative;white-space:nowrap;height:clamp(32px,7.7vw,49px);min-height:clamp(32px,7.7vw,49px);}
.lg-lobby .owner-strip[data-r1-wallet] .owner-balance b{display:block!important;color:#ffe69c!important;font-size:clamp(26px,7vw,44px)!important;line-height:1.1!important;font-weight:800!important;letter-spacing:-.04em!important;font-variant-numeric:tabular-nums;}
.lg-lobby .owner-strip[data-r1-wallet].r1-long-balance .owner-balance b{font-size:clamp(16px,4.2vw,26px)!important;letter-spacing:-.045em!important;}
.lg-lobby .r1-wallet-currency{display:inline!important;font-size:.45em!important;color:#f0e6d4!important;font-weight:700;letter-spacing:0;}
.lg-lobby .r1-balance-mask{display:none;color:#ffe69c;font-size:22px;font-weight:700;}
.lg-lobby .r1-balance-hidden .r1-balance-value b{visibility:hidden!important;}
.lg-lobby .r1-balance-hidden .r1-balance-mask{display:block;position:absolute;left:0;bottom:0;}
.lg-lobby .r1-wallet-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;min-width:0;}
.lg-lobby .r1-wallet-action{appearance:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:64px;padding:6px 2px;border:1px solid #827c66;border-radius:13px;background:linear-gradient(#36352b,#1b1b16 55%);box-shadow:inset 0 1px 2px #eee5c144;color:#f5f2e9;font:600 clamp(10px,2.9vw,15px)/1.1 system-ui,sans-serif;cursor:pointer;}
.lg-lobby .r1-wallet-action svg{width:22px;height:22px;flex:none;}
.lg-lobby .r1-wallet-action span{display:flex;align-items:center;justify-content:center;min-height:24px;height:24px;text-align:center;overflow-wrap:normal;}
.lg-lobby .r1-wallet-action[data-r1-wallet-action=deposit]{border-color:#ffdf8b;background:linear-gradient(115deg,#fff3ab,#f3cb62 55%,#d39a32);box-shadow:inset 0 1px 2px #fff7ce,0 0 8px #ffc94b66;color:#302005;}
.lg-lobby .r1-wallet-action:disabled{opacity:.5;cursor:not-allowed;}
.lg-lobby .r1-wallet-action:active:not(:disabled){transform:translateY(1px);}
.lg-lobby .r1-wallet-action:focus-visible,.lg-lobby .r1-balance-eye:focus-visible{outline:2px solid #ffd877;outline-offset:2px;}
@media(min-width:600px){.lg-lobby>.owner-strip[data-r1-wallet]{padding:14px 16px!important;grid-template-columns:minmax(140px,1fr) minmax(240px,1.4fr)!important;}.lg-lobby .r1-wallet-action{min-height:76px;}}

@media(max-width:360px){.lg-lobby>.owner-strip[data-r1-wallet]{grid-template-columns:minmax(70px,1fr) minmax(191px,1.75fr)!important;padding:10px 6px!important;gap:4px!important;}.lg-lobby .owner-strip[data-r1-wallet].r1-long-balance .owner-balance b{font-size:clamp(12px,3.8vw,15px)!important;}}

/* Expand only the Lobby announcement; room announcements keep their original styles. */
body[data-app="player"] #app .lg-lobby>.lobby-ticker{min-height:38px!important;height:auto!important;box-sizing:border-box!important;padding-top:5px!important;padding-bottom:5px!important;}
body[data-app="player"] #app .lg-lobby>.lobby-ticker .announcement{font-size:clamp(13px,3.6vw,15px)!important;line-height:1.45!important;}
body[data-app="player"] #app .lg-lobby>.lobby-ticker .announcement span{font-size:inherit!important;line-height:inherit!important;}
/* Existing five navigation nodes, centre game orb; no room/Poker navigation changes. */
html body[data-app="player"] #app>nav.bottom-nav[data-r1-nav]{position:fixed!important;left:50%!important;right:auto!important;bottom:0!important;top:auto!important;transform:translateX(-50%)!important;width:min(100%,560px)!important;height:calc(64px + var(--host-bottom,env(safe-area-inset-bottom,0px)))!important;max-height:none!important;padding:0 6px var(--host-bottom,env(safe-area-inset-bottom,0px))!important;margin:0!important;box-sizing:border-box!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;overflow:visible!important;align-items:start!important;background:linear-gradient(#211e16,#100f0c)!important;border:0!important;border-top:1px solid #b78e4366!important;border-radius:0!important;box-shadow:0 -4px 18px #0005!important;z-index:30!important;}
html body[data-app="player"] #app>nav.bottom-nav[data-r1-nav]::before{display:none!important;content:none!important;}
html body[data-app="player"] #app>nav.bottom-nav[data-r1-nav]>button.r1-nav-item{position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;height:64px!important;min-height:64px!important;width:100%!important;min-width:0!important;padding:8px 1px!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#bfb9a9!important;filter:none!important;text-shadow:none!important;}
html body[data-app="player"] #app>nav.bottom-nav[data-r1-nav]>button.r1-nav-item::before,html body[data-app="player"] #app>nav.bottom-nav[data-r1-nav]>button.r1-nav-item::after{content:none!important;display:none!important;}
html body[data-app="player"] #app>nav.bottom-nav[data-r1-nav]>button.r1-nav-item.active{color:#f3cb62!important;background:none!important;box-shadow:none!important;}
html body[data-app="player"] #app>nav.bottom-nav[data-r1-nav] .r1-nav-icon{position:static!important;width:23px!important;height:23px!important;display:block!important;transform:none!important;background:none!important;box-shadow:none!important;border:0!important;flex:none;}
html body[data-app="player"] #app>nav.bottom-nav[data-r1-nav] .r1-nav-label{position:static!important;display:block!important;font:600 clamp(10px,3vw,12px)/1.2 system-ui,sans-serif!important;white-space:nowrap!important;transform:none!important;background:none!important;box-shadow:none!important;border:0!important;}
html body[data-app="player"] #app>nav.bottom-nav[data-r1-nav]>button[data-r1-nav-item=play]{padding:0!important;overflow:visible!important;}
html body[data-app="player"] #app>nav.bottom-nav[data-r1-nav] .r1-nav-orb{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;width:68px!important;height:68px!important;min-width:68px!important;border:2px solid #ffe69c!important;border-radius:50%!important;background:linear-gradient(120deg,#fff3ab,#f3cb62 55%,#d39a32)!important;box-shadow:inset 0 2px 4px #fff7ce,0 0 0 5px #d39a3226,0 4px 10px #0007!important;transform:translateY(-15px)!important;color:#302005!important;box-sizing:border-box!important;}
html body[data-app="player"] #app>nav.bottom-nav[data-r1-nav] .r1-nav-orb .r1-nav-label{font-size:11px!important;color:#302005!important;}

/* Retire the old dock's decorative SVG/bead only for the Owner-approved new dock. */
html body[data-app="player"] #app>nav.bottom-nav[data-r1-nav]>.dock-geometry,html body[data-app="player"] #app>nav.bottom-nav[data-r1-nav]>.dock-bead{display:none!important;visibility:hidden!important;pointer-events:none!important;}
html body[data-app="player"] #app>nav.bottom-nav[data-r1-nav] .r1-nav-label{top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;opacity:1!important;transition:none!important;}
html body[data-app="player"] #app>nav.bottom-nav[data-r1-nav] .r1-nav-orb{top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;margin:0!important;padding:0!important;opacity:1!important;transition:none!important;}
.lg-lobby .r1-balance-heading{width:100%;}
.lg-lobby .r1-balance-eye:active{top:-8px!important;transform:none!important;scale:1!important;}
