/* One quiet, stable footer across the landing page, entry and waiting room. */
body:has(> #siteFooter){--site-footer-height:calc(48px + env(safe-area-inset-bottom,0px))}
body:has(> #siteFooter):not(:has(.game-table)){padding-bottom:var(--site-footer-height)}
body > footer#siteFooter.site-footer{position:fixed;inset:auto 0 0;z-index:36;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:0;width:100%;max-width:none;height:var(--site-footer-height);min-height:var(--site-footer-height);margin:0;padding:0 24px env(safe-area-inset-bottom,0px);border-top:1px solid #b2a56a30;background:#101f19f5;box-shadow:0 -6px 24px #07140d18;font-size:12px;line-height:18px;color:#9db09d;backdrop-filter:blur(12px)}
.site-footer-inner{width:100%;max-width:1600px;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:24px}
.site-footer-motto{color:#a4b6a5;font-size:13px;letter-spacing:.03em;white-space:nowrap}
.site-footer-note{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 12px;margin:0;font-size:13px;font-weight:400;color:#9caf9d}
.site-footer-note>span{white-space:nowrap}
.site-footer-note>span+span{padding-left:12px;border-left:1px solid #9aa58440}
.site-footer-links{display:flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0}
#siteFooter a{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:36px;padding:4px 16px;border:1px solid #b8a56838;background:#baa5650b;color:#ead39b;font-size:16px;font-weight:650;letter-spacing:.04em;text-decoration:none;white-space:nowrap;border-radius:8px;transition:background .15s,border-color .15s,color .15s}
#siteFooter .site-contact{color:#d4e0c7;border-color:#a9bea338;background:#9cbaa00b}
#siteFooter .site-contact-arrow{font-size:14px;color:#b0c49d}
#siteFooter a:hover{color:#ffdfa0;background:#cdb6761c;border-color:#cdb67680;text-decoration:none}
#siteFooter a:focus-visible{outline:2px solid #efcb82;outline-offset:3px}
body:has(.game-table) > footer#siteFooter.site-footer{display:none}
body:has(#overlay:not(.hidden)) > footer#siteFooter.site-footer,body:has(#inPageCenter[open]) > footer#siteFooter.site-footer{visibility:hidden}
body #preGamePromotion .home-promotion,body #preGamePromotion .home-promotion-reopen{bottom:calc(var(--site-footer-height) + 16px)}
@media(min-width:901px){
 body #homeLanding .home-promotion,body #homeLanding .home-promotion-reopen{bottom:calc(var(--site-footer-height) + 16px)}
}
@media(max-width:1180px){.site-footer-motto{display:none}}
@media(max-width:900px){
 body:has(> #siteFooter){--site-footer-height:calc(72px + env(safe-area-inset-bottom,0px))}
 body > footer#siteFooter.site-footer{padding-left:12px;padding-right:12px}
 .site-footer-inner{flex-direction:column;gap:4px;justify-content:center}
 .site-footer-note{gap:4px 8px;font-size:12px;line-height:16px}
 .site-footer-note>span+span{padding-left:8px}
 .site-footer-links{order:-1;gap:14px}
 #siteFooter a{min-height:36px;padding:4px 18px;font-size:15px}
}
@media(max-width:650px){
 body #homeLanding .home-promotion,body #homeLanding .home-promotion-reopen,body #preGamePromotion .home-promotion,body #preGamePromotion .home-promotion-reopen{bottom:calc(var(--site-footer-height) + 10px)}
 .site-footer-note{font-size:11px;gap:4px 8px}
 .site-footer-note>span+span{padding-left:6px}
}

@media(prefers-reduced-motion:reduce){#siteFooter a{transition:none}}

/* Compact secondary links preserve the existing footer height. */
#siteFooter a.site-legal{font-size:13px;padding:4px 8px;border-color:transparent;background:transparent;color:#b9c9b5}
@media(max-width:900px){.site-footer-links{gap:5px}#siteFooter a{padding:4px 9px;font-size:14px}#siteFooter a.site-legal{font-size:12px;padding:4px 5px}}
@media(max-width:360px){#siteFooter a{padding:4px 6px;font-size:13px}#siteFooter a.site-legal{font-size:11px;padding:4px 3px}.site-footer-links{gap:3px}}
@media(min-width:901px) and (max-width:1350px){.site-footer-motto{display:none}.site-footer-inner{gap:12px}#siteFooter a{padding:4px 10px}.site-footer-links{gap:6px}}
