/* Yalla Domino v44 — approved image-exact, interactive single screen */
.yd44-lobby{background:#050918!important;padding:0!important;overflow:hidden!important;overscroll-behavior:none!important;align-items:center!important;justify-content:center!important}
.yd44-lobby .yd44-shell{position:relative!important;width:100%!important;max-width:560px!important;height:100%!important;min-height:0!important;margin:0 auto!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;background:#050918}
.yd44-top{width:100%;height:clamp(59px,8.4dvh,90px);flex:0 0 clamp(59px,8.4dvh,90px);display:grid;grid-template-columns:minmax(0,1.13fr) minmax(0,1.27fr) auto;align-items:center;gap:clamp(4px,1.4vw,12px);box-sizing:border-box;padding:env(safe-area-inset-top,0px) 2.2vw 2px;max-width:100%;background:linear-gradient(180deg,#061329 0%,#020817 100%);box-shadow:0 4px 12px #0008;z-index:1;font-family:Arial,Tahoma,sans-serif;direction:ltr}
.yd44-top button{cursor:pointer;-webkit-tap-highlight-color:transparent}
.yd44-user{border:0;background:transparent;display:flex;align-items:center;gap:6px;min-width:0;padding:2px 0;text-align:left;color:white;font-family:inherit}
.yd44-top .yd44-user>div:first-child{height:clamp(39px,6dvh,61px)!important;width:clamp(39px,6dvh,61px)!important;min-width:clamp(39px,6dvh,61px)!important;flex:0 0 auto!important;border-radius:50%!important;border:2px solid #e8b54a!important;margin:0!important;box-shadow:0 0 0 2px #381c09,0 4px 10px #0008!important;font-size:25px!important}
.yd44-identity{display:flex;flex-direction:column;gap:4px;min-width:0;overflow:hidden}.yd44-identity>div{font-size:clamp(11px,3.5vw,18px)!important;font-weight:850!important;line-height:1.1;max-width:100%;text-shadow:0 2px 5px #000}
.yd44-id{font-size:clamp(9px,2.3vw,12px);color:#b9bdc7;line-height:1.2;white-space:nowrap}
.yd44-top .yd44-balance{display:flex!important;align-items:center;justify-content:space-between;gap:2px;height:clamp(37px,5.7dvh,57px);min-width:0;overflow:hidden;padding:0 6px 0 3px!important;border-radius:999px!important;border:2px solid #77717b!important;background:linear-gradient(180deg,#111824,#000814)!important;box-shadow:0 1px 0 #ffffff4d,inset 0 0 9px #000,0 4px 14px #0008!important;cursor:pointer;position:relative!important}
.yd44-balance>div:first-child{display:none!important}
.yd44-balance:before{content:'$';display:grid;place-items:center;width:clamp(27px,4.5dvh,43px);height:clamp(27px,4.5dvh,43px);min-width:clamp(27px,4.5dvh,43px);border-radius:50%;background:radial-gradient(circle at 32% 24%,#fff09b,#f8bd29 36%,#bf7510 78%);color:#fff8d2;border:2px solid #fbe08c;font-size:clamp(16px,3.8vw,26px);text-shadow:0 1px #75410c;box-shadow:0 2px 7px #0006}
.yd44-balance #nope{display:none}
.yd44-balance>div:nth-child(2){font-size:clamp(12px,3.45vw,21px)!important;font-weight:900!important;color:#fff!important;margin:0!important;flex:1;min-width:0;text-align:center;letter-spacing:-.35px!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important}
/* v46: plus button removed; entire remainder of pill belongs to the balance amount. */
.yd44-top-controls{display:flex;align-items:center;gap:clamp(3px,1.1vw,8px);justify-content:end}
.yd44-header-circle{width:clamp(29px,5.5dvh,49px);height:clamp(29px,5.5dvh,49px);padding:0;border-radius:50%;border:2px solid #8f7656;background:linear-gradient(180deg,#091a35,#010816);color:#fff0b5;font-size:clamp(14px,4.4vw,25px);box-shadow:0 3px 7px #0007;display:grid;place-items:center;line-height:1}
.yd44-header-circle:focus-visible,.yd44-hotspot:focus-visible{outline:3px solid #fff4a3;outline-offset:-3px}
.yd44-art{position:relative;min-height:0;flex:1;background-image:url('../assets/lobby_v44_art.webp');background-size:100% 100%;background-position:center;background-repeat:no-repeat;overflow:hidden}
.yd44-hotspot{position:absolute;border:0;padding:0;background:transparent;color:transparent;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;z-index:1;border-radius:11px;appearance:none}
.yd44-hotspot:active{box-shadow:inset 0 0 0 999px rgba(255,255,255,.13)}
.yd44-toast{position:absolute;bottom:8%;left:10%;right:10%;z-index:10;display:none;padding:9px 12px;text-align:center;border-radius:10px;background:#090d18e8;border:1px solid #e7be66;color:#ffe39e;box-shadow:0 5px 16px #0009;font-size:13px;pointer-events:none}
.yd44-toast.yd44-toast-visible{display:block}
.yd44-drawer{position:absolute;z-index:20;inset:0;display:none;align-items:center;justify-content:center;background:#000b;padding:14px}
.yd44-drawer.yd44-drawer-open{display:flex}
.yd44-drawer-panel{width:min(100%,440px);max-height:min(85dvh,730px);overflow:auto;border-radius:20px;border:2px solid #ddac53;background:linear-gradient(#172a4e,#081126);padding:16px;box-sizing:border-box;box-shadow:0 14px 34px #000a;display:flex;flex-direction:column;gap:10px;color:#fff}
.yd44-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:8px;border-bottom:1px solid #d9b45a66}
.yd44-drawer-head strong{font-size:17px;color:#f4cf84}.yd44-drawer-head button{border:0;border-radius:10px;background:#481923;color:#fff;padding:7px 13px;cursor:pointer;font-size:20px}
.yd44-drawer-item{padding:13px 15px;min-height:50px;border-radius:12px;background:linear-gradient(#263a70,#122449);border:1px solid #aa8657;color:white;text-align:right;font-size:15px;font-weight:800;cursor:pointer}
.yd44-drawer-detail{display:flex;flex-direction:column;gap:10px;color:#dfd3c8;font-size:13px}.yd44-stats{display:flex;gap:10px}.yd44-stats>div{flex:1}
/* Floating chat icons are replaced by real visible artwork hotspots while on lobby.
   Panels still open normally through their original buttons. */
body:has(.yd44-lobby:not([style*="display: none"])) #ydGlobalChatFixedWrap,body:has(.yd44-lobby:not([style*="display: none"])) #ydSupportBtn,body:has(.yd44-lobby:not([style*="display: none"])) #ydHistoryScrollWrap,body:has(.yd44-lobby:not([style*="display: none"])) #ydvr-launch{display:none!important}
/* Voice is deliberately omitted from the approved home screen. The backend is untouched. */
@media(max-width:365px){.yd44-top{grid-template-columns:minmax(0,1fr) minmax(0,1.23fr) auto;gap:3px;padding-left:5px;padding-right:5px}.yd44-identity>div{font-size:11px!important}.yd44-header-circle{width:29px;height:29px}.yd44-top .yd44-user>div:first-child{width:38px!important;height:38px!important;min-width:38px!important}.yd44-balance>div:nth-child(2){font-size:12px!important}}
@media(min-width:560px){.yd44-top{padding-left:12px;padding-right:12px}}

/* v48 — no burned-in text edits, no blurred pixels; crisp responsive tournament overlays. */
.yd48-tour-plate{position:absolute;box-sizing:border-box;z-index:1;pointer-events:none;overflow:hidden;isolation:isolate;display:flex;align-items:center;justify-content:space-around;gap:2%;padding:1.2% 2%;border-radius:clamp(9px,2vw,24px);box-shadow:inset 0 1px 0 #ffffff80,inset 0 -4px 9px #0006,0 3px 9px #0009;border:clamp(1.5px,.29vw,3px) solid #d6a654;}
.yd48-tour-plate::before{content:'';position:absolute;inset:1px 2px auto;height:40%;border-radius:inherit;background:linear-gradient(180deg,#fff4 0%,transparent 100%);z-index:-1;}
.yd48-tour-free{background:linear-gradient(178deg,#bd751b 0%,#9d520b 31%,#652e05 75%,#502106 100%);border-color:#ecac34;}
.yd48-tour-paid{background:linear-gradient(178deg,#ae39e4 0%,#8421bb 35%,#5c178e 76%,#39125f 100%);border-color:#d35dfb;}
.yd48-tour-icon{display:flex;align-items:center;justify-content:center;flex:0 0 26%;min-width:0;max-height:85%;filter:drop-shadow(0 3px 3px #180b01ba);}
.yd48-tour-icon svg{display:block;width:100%;height:auto;max-height:100%;}
.yd48-tour-labels{direction:rtl;flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:clamp(0px,.65dvh,7px);text-align:center;color:white;font-family:Tahoma,Arial,sans-serif;text-shadow:0 2px 4px #110718bd;line-height:1.15;}
.yd48-tour-ku{font-weight:900;font-size:clamp(12px,3.25vw,21px);white-space:normal;overflow-wrap:normal;}
.yd48-tour-en{font-weight:800;font-size:clamp(9px,2.5vw,17px);color:#ffe5ca;line-height:1.1;white-space:nowrap;}
/* The existing hotspot buttons remain in front; both actions are unchanged. */
.yd44-hotspot{z-index:3;}

/* v49: retired player Voice controls. Keep even if stale JS recreates launcher. */
#ydvr-launch, .ydvr-launch, #ydVoiceLobbyEntry {display:none !important;visibility:hidden !important;pointer-events:none !important;}


/* v50 — restore online count and unread red indicators on the visible dashboard. */
.yd50-online-pill{position:absolute;right:6.2%;top:26.8%;z-index:2;min-width:13.5%;max-width:18%;padding:1.05% .6% .95%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.18em;border:1px solid #e6cbff;clip-path:polygon(50% 0,100% 18%,100% 78%,50% 100%,0 78%,0 18%);background:linear-gradient(180deg,#f0d7ff 0%,#c38df5 38%,#7a3fc9 100%);box-shadow:0 5px 15px rgba(0,0,0,.42);color:#22093f;font-family:Arial,Tahoma,sans-serif;pointer-events:none;text-align:center}
.yd50-online-num{display:block;font-size:clamp(14px,3.6vw,26px);font-weight:900;line-height:1}
.yd50-online-label{display:block;font-size:clamp(7px,1.8vw,10px);font-weight:900;letter-spacing:.02em;line-height:1.1;text-transform:uppercase}
.yd50-unread-badge{position:absolute;z-index:4;display:none;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#e52d3f;color:#fff;font:900 11px/20px Arial,sans-serif;box-shadow:0 0 0 2px rgba(6,19,41,.92),0 3px 10px rgba(0,0,0,.45);pointer-events:none}
.yd50-global-badge{left:43.8%;top:84.2%}
.yd50-support-badge{right:2.9%;top:84.2%}
@media(max-width:420px){.yd50-unread-badge{min-width:18px;height:18px;font-size:10px;line-height:18px;padding:0 4px}}
