/* SLOTSEPETİ P49 — defensive UI corrections. Native finance/support/router unchanged. */
/* The live-support panel must never participate in footer layout or block the page while closed. */
html body #nx-live-support.site-support-panel,
html body .site-support-panel[data-support-panel]{
  position:fixed!important;z-index:15050!important;
  right:18px!important;left:auto!important;top:auto!important;bottom:90px!important;
  width:min(390px,calc(100vw - 24px))!important;
  max-width:calc(100vw - 24px)!important;
  height:auto!important;min-height:0!important;max-height:min(620px,calc(100dvh - 110px))!important;
  padding:0!important;overflow:hidden!important;
  border:1px solid #b9874b!important;border-radius:15px!important;
  background:#21121b!important;color:#fae4d1!important;
  box-shadow:0 24px 70px rgba(0,0,0,.65)!important;
  isolation:isolate;
}
html body #nx-live-support:not(.is-open),
html body .site-support-panel[data-support-panel]:not(.is-open),
html body #nx-live-support[aria-hidden="true"],
html body .site-support-panel[data-support-panel][aria-hidden="true"]{
  display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;
}
html body #nx-live-support.is-open:not([aria-hidden="true"]),
html body .site-support-panel[data-support-panel].is-open:not([aria-hidden="true"]){
  display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
}
html body #nx-live-support .ls-shell,
html body .site-support-panel[data-support-panel] .ls-shell{
  display:flex!important;flex-direction:column!important;
  width:100%!important;min-width:0!important;height:min(600px,calc(100dvh - 112px))!important;
  min-height:0!important;max-height:100%!important;overflow:hidden!important;
  background:#21121b!important;color:#f7e2d7!important;border:0!important;border-radius:14px!important;
  --ls-accent:#9c1736!important;--ls-surface:#21121b!important;--ls-text:#f7e2d7!important;--ls-muted:#c4a6b4!important;
  --site-brand:#f0ca83!important;--site-border:#694456!important;
}
html body .site-support-panel .ls-head{
  flex-shrink:0!important;background:linear-gradient(115deg,#7d1631,#33121f)!important;
  color:#ffe3b2!important;border-bottom:1px solid #90613e!important;
}
html body .site-support-panel .ls-body{display:flex!important;flex:1!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important}
html body .site-support-panel .ls-start,
html body .site-support-panel .ls-history,
html body .site-support-panel .ls-messages{overflow:auto!important;min-height:0!important;overscroll-behavior:contain!important}
html body .site-support-panel .ls-primary,
html body .site-support-panel .ls-compose button{background:linear-gradient(115deg,#ad7737,#f1d292)!important;color:#241009!important}
html body .site-support-panel .ls-compose textarea,
html body .site-support-panel .ls-start textarea{background:#140b13!important;color:#f6ddd2!important;border-color:#805061!important}
html body .chat-launcher{position:fixed!important;right:18px!important;bottom:24px!important;z-index:15045!important}
html body .chat-launcher[hidden],html body #nx-live-support[hidden]{display:none!important}
@media(max-width:820px){
 html body #nx-live-support.site-support-panel.is-open:not([aria-hidden="true"]),
 html body .site-support-panel[data-support-panel].is-open:not([aria-hidden="true"]){
   position:fixed!important;
   inset:auto 6px calc(var(--nx49-mobile-nav-gap,78px) + env(safe-area-inset-bottom,0px)) 6px!important;
   width:auto!important;max-width:none!important;
   height:min(580px,calc(100dvh - var(--nx49-mobile-nav-gap,78px) - 18px - env(safe-area-inset-bottom,0px)))!important;
   min-height:0!important;max-height:none!important;
   border-radius:14px!important;
 }
 html body #nx-live-support .ls-shell,
 html body .site-support-panel[data-support-panel] .ls-shell{
   width:100%!important;height:100%!important;max-height:100%!important;
   padding:0!important;border-radius:14px!important;
 }
 html body .site-support-panel .ls-head{min-height:54px!important;padding:10px 13px!important}
 html body .site-support-panel .ls-start,
 html body .site-support-panel .ls-history{padding:12px!important}
 html body .chat-launcher{bottom:calc(var(--nx49-mobile-nav-gap,78px) + 8px)!important;right:12px!important}
}
/* The sidebar should visually continue down the desktop page, including alongside the footer. */
@media(min-width:821px){
 #egt-final,.ef-app,.ef-content,.ef-layout{min-height:0}
 #egt-final .ef-app{width:100%!important;max-width:none!important;margin:0!important}
 #egt-final .ef-layout{align-items:stretch!important}
 #egt-final .ef-sidebar{height:auto!important;min-height:100%!important;background:linear-gradient(180deg,#1b0d16,#140b11)!important}
 #egt-final .ef-main{min-width:0!important}
 #egt-final .ef-footer{max-width:none!important;width:100%!important}
}
/* Duplicate footer wordmark and text-only copyright; retain official logo and licence disclosures. */
.royal-footer-v3 .rf-wordmark,.rf-top .rf-wordmark,
.royal-footer-v3 .rf-copyright{display:none!important}
.footer-brand .brand-fallback:not(:only-child){display:none!important}
.footer-bottom [data-footer-copyright]{display:none!important}
/* Footer information links are moved, not replaced, so their handlers and URLs persist. */
.nx49-footer-info-links{display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px 14px;margin-top:9px;max-width:100%}
.nx49-footer-info-links a,.nx49-footer-info-links button{font-size:11px!important;color:#f2cb85!important;text-decoration:none!important;white-space:normal!important;padding:4px 0!important}
/* Balance trigger should never imply that an unavailable amount is zero. */
.nx46-balance-button .nx46-value{font-variant-numeric:tabular-nums}
/* Sports and Racing browsing links stay present for guests; server keeps betting protected. */
body[data-mode="guest"] .ef-sidebar [data-route="sports"],
body[data-mode="guest"] .ef-sidebar [data-route="racing"],
body[data-mode="guest"] .leftbar [data-nx-route="sportsbook"],
body[data-mode="guest"] .leftbar [data-nx-route="racing"]{visibility:visible!important}
