/* 27 Nov 2026 - UI fit fixes (owner request) */
/* 1. Top nav: room between green active dot and label, same pill width (no jump) */
html body header.topbar #topnav a.active,html body nav.topnav a.active{padding-left:19px !important;padding-right:11px !important}
html body header.topbar #topnav a.active::before,html body nav.topnav a.active::before{left:7px !important}
/* 2. Search popup: back arrow and X no longer touch the box */
.gshead{gap:12px !important;align-items:center}
.gshead input:focus,.gshead input:focus-visible{outline-offset:0 !important}
/* 3. TOP Games: artwork is 4:3 like every other casino row (was forced square, sides cut) */
html body #rlLobby .lf-topg .lf-g2 .lf-t .im,.lf-topg .im{aspect-ratio:4/3 !important}
/* 4. Virtual games: show whole 4:3 artwork (titles were cut top/bottom) */
body .tile.vg .img,body .vg-grid .tile.vg.big .img{height:auto !important;aspect-ratio:720/542 !important}
/* 5. Instant sports games: artwork is square, show it whole */
body .vg-grid .tile.big:not(.vg) .img{height:auto !important;aspect-ratio:1/1 !important}
/* 6. Rules: full sport list on computers, no small scroll box */
@media (min-width:900px){html body nav.lm14-rtabs{max-height:none !important;overflow:visible !important;position:static !important}html body nav.lm14-rtabs a{padding-top:7px !important;padding-bottom:7px !important;margin-top:0 !important;margin-bottom:2px !important}}
/* 7. My account: cards only as tall as their content (Bets has one row now) */
.la-grid{align-items:start}
/* 8. Side menu: no empty black strip above it once the header has scrolled away */
@media (min-width:900px){html body .shell > aside.sidebar{top:0 !important;height:100vh !important;max-height:100vh !important}}
/* 9. Home Top Slots: art is 4:3, box was square */
html body .lm-h2sec .h2-tile > i{aspect-ratio:4/3 !important;height:auto !important;width:100% !important;background-size:cover !important;background-position:center !important}
/* 10. Game tiles: no name printed over the artwork (the art already shows it); the name goes in the strip below */
html body .tile.lm-nm .img > .t{display:none !important}html body .tile.lm-nm .img::after{display:none !important}
html body .tile.lm-nm .name span:first-child{font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
/* 11. My account: two columns now (Money + Help and security) */
@media (min-width:900px){html body .la-grid{grid-template-columns:repeat(2,1fr) !important}}
/* 12. Pop-up close button: the x sits in the middle of its circle */
html body .panelbox .la-close{display:inline-flex !important;align-items:center !important;justify-content:center !important;padding:0 !important;width:32px !important;height:32px !important;line-height:1 !important;font-size:14px !important;border-radius:50% !important;flex:none}
/* 13. When the 2FA set-up window is open, the account pop-up steps aside */
body.lm-popoff #laMenu ~ .panelbox{visibility:hidden !important}
/* 14. Side menu: room at the bottom so Log out is always reachable (the bar is a full screen tall but starts under the 60px header) */
@media (min-width:900px){html body .shell > aside.sidebar{padding-bottom:76px !important;box-sizing:border-box !important}}
/* 15. Support chat: Send button and message box get room between them */
html body #lsPanel .ls-f{gap:10px !important;padding:10px 12px 12px !important;align-items:center !important}
html body #lsPanel .ls-f textarea{outline-offset:0 !important}html body #lsPanel .ls-f textarea:focus,html body #lsPanel .ls-f textarea:focus-visible{outline:none !important;box-shadow:0 0 0 2px rgba(155,226,45,.55) !important}
html body #lsPanel .ls-send{min-width:72px !important;border-radius:12px !important}
/* 16. Reports Summary: no second row of links - the tabs at the top already do this */
html body .rp .panelbox .rptiles{display:none !important}
/* 17. Install-app pop-up never covers odds: hidden on computers (App button + My account card stay), on phones only on the home page */
@media (min-width:900px){html body #lmInst{display:none !important}}
@media (max-width:899px){html body:not(.home-route) #lmInst{display:none !important}}
/* 18. Home banner: at browser zoom a sliver of the neighbouring banner showed at the edge - trim 2px each side */
html body #app .hero.car #carTrack{clip-path:inset(0 2px round 14px) !important}
