/* The same four collection choices on every game, with a disclosure for each game family. */
body[data-navigation-game] header .game-navigation{display:block;position:relative;order:0;flex:0 0 auto;width:auto;min-width:0;max-width:100%;margin:0 auto;overflow:visible;z-index:350}
body[data-navigation-game] .game-nav-links{display:flex;align-items:center;gap:7px}
body[data-navigation-game] .game-navigation :is(a,summary,.game-nav-toggle,.donate-button){display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:40px;padding:8px 12px;border:1px solid #ad9455;border-radius:8px;background:#10231c;color:#f8e3ad;font:700 14px/1.25 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;text-decoration:none;white-space:nowrap;cursor:pointer;box-shadow:none}
body[data-navigation-game] .game-navigation a::after{content:none}
body[data-navigation-game] .game-navigation :is(a,summary,.game-nav-toggle,.donate-button):hover{background:#2c4432}
body[data-navigation-game] .game-navigation :is(a,summary,.game-nav-toggle,.donate-button):focus-visible{outline:3px solid #e8d18d;outline-offset:3px}
body[data-navigation-game] .game-navigation [aria-current=page],body[data-navigation-game] .game-category[data-current]>summary{background:linear-gradient(#f4dfa0,#b69b57);color:#14271c;border-color:#eed38e}
body[data-navigation-game] .game-navigation summary{list-style:none;gap:9px}
body[data-navigation-game] .game-navigation summary::-webkit-details-marker{display:none}
body[data-navigation-game] .game-navigation summary::after{content:'';width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}
body[data-navigation-game] .game-category[open]>summary::after{transform:translateY(2px) rotate(225deg)}
body[data-navigation-game] .game-menu-panel{position:fixed;z-index:351;width:240px;max-width:calc(100vw - 16px);padding:8px;display:grid;gap:4px;background:#0c2019;border:1px solid #b79b58;border-radius:12px;box-shadow:0 12px 30px #0009;overflow:auto;overscroll-behavior:contain}
body[data-navigation-game] .game-menu-panel a{justify-content:flex-start;min-height:44px;border-color:transparent;font-size:15px}
body[data-navigation-game] .game-navigation .game-nav-toggle{display:none}
/* Poker's secondary controls use its existing Options panel at every width. */
body[data-navigation-game=poker] header{gap:12px}
body[data-navigation-game=poker] #tools-open,body[data-navigation-game=poker] #seats-open{display:block;white-space:nowrap}
body[data-navigation-game=poker] #table-tools{display:none}
body[data-navigation-game=poker] #table-tools.tools-expanded{display:flex;position:fixed;top:60px;right:12px;z-index:360;align-items:center;flex-wrap:wrap;background:#10251c;border:1px solid #a7b99f;border-radius:12px;padding:14px;width:min(360px,calc(100vw - 24px));box-sizing:border-box;max-height:75dvh;overflow:auto;gap:12px;box-shadow:0 12px 30px #0009}
body[data-navigation-game=blackjack] .site-header{min-width:0;width:min(1680px,97vw);max-width:97vw}
@media(min-width:761px) and (max-width:1250px) and (min-height:551px){
 body[data-navigation-game] header .game-navigation{order:3;flex-basis:100%;width:100%}
 body[data-navigation-game] .game-nav-links{justify-content:center}
 body[data-navigation-game=poker] header .game-navigation{order:0;flex-basis:auto;width:auto}
 body[data-navigation-game=poker] .game-navigation :is(a,summary){font-size:12px;padding:7px 9px;min-height:34px}
}
/* Small phones and short landscape screens get one Games button. */
@media(max-width:900px),(max-width:1100px) and (max-height:550px){
 body[data-navigation-game] header .game-navigation{display:block;order:0;flex:0 0 auto;width:auto;margin:0 0 0 auto}
 body[data-navigation-game] .game-navigation .game-nav-toggle{display:flex;min-height:40px;padding:8px 10px;font-size:13px}
 body[data-navigation-game] .game-nav-links{display:none;position:fixed;z-index:351;width:280px;max-width:calc(100vw - 16px);padding:8px;background:#0c2019;border:1px solid #b79b58;border-radius:12px;box-shadow:0 12px 30px #0009;overflow:auto;overscroll-behavior:contain}
 body[data-navigation-game] .game-navigation.is-open .game-nav-links{display:grid;gap:5px}
 body[data-navigation-game] .game-navigation :is(a,summary){display:flex;justify-content:flex-start;min-height:44px;padding:10px 12px;font-size:15px}
 body[data-navigation-game] .game-navigation summary{justify-content:space-between}
 body[data-navigation-game] .game-menu-panel{position:static;width:auto;max-height:none!important;padding:6px 0 2px 12px;margin-top:4px;border:0;border-left:2px solid #8f7947;border-radius:0;box-shadow:none;overflow:visible}
 body[data-navigation-game] .game-menu-panel a{font-size:14px}
 body[data-navigation-game=poker] header{gap:5px}
 body[data-navigation-game=poker] header .brand{font-size:17px}
 body[data-navigation-game=poker] header .brand small{display:none}
 body[data-navigation-game=poker] #table-tools.tools-expanded{top:50px}
}
@media(max-width:600px){
 body[data-navigation-game=blackjack] .site-header{display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between;gap:5px;padding:5px 8px}
 body[data-navigation-game=blackjack] .site-header .brand{font-size:19px;justify-content:flex-start}
 body[data-navigation-game=blackjack] .site-header .tools{flex-basis:100%}
 body[data-navigation-game=videopoker] .vp-header{display:flex;flex-wrap:wrap}
 body[data-navigation-game] .game-navigation .game-nav-toggle{font-size:12px;min-height:36px}
}

body[data-navigation-game] .game-navigation [aria-current=page]:hover,body[data-navigation-game] .game-category[data-current]>summary:hover{background:linear-gradient(#ffeab3,#d5b76c);color:#14271c}

@media(max-width:1100px) and (max-height:550px){
 body[data-navigation-game=poker] .game-navigation .game-nav-toggle{min-height:32px;padding:5px 10px}
}

/* Long machine menus scroll inside the panel, never the playing surface. */
body[data-navigation-game] .game-category[data-category=slots]>.game-menu-panel,
body[data-navigation-game] .game-category[data-category=videopoker]>.game-menu-panel{width:300px}
body[data-navigation-game] .game-navigation .browse-collection{border-bottom:1px solid #ad945566;border-radius:6px 6px 0 0;color:#f4d891}
body[data-navigation-game] .machine-group{display:grid;gap:3px;margin:6px 0 0}
body[data-navigation-game] .machine-group h3{font:800 12px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:1px;text-transform:uppercase;color:#d4bb79;margin:5px 10px}
body[data-navigation-game] .game-menu-panel a{white-space:normal;line-height:1.3;text-align:left}
body[data-navigation-game] .game-menu-panel a[aria-disabled=true]{opacity:.5;cursor:not-allowed}
body[data-navigation-game] .game-menu-status{font:600 13px/1.45 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#f4dfa0;background:#263428;border:1px solid #a3915d;border-radius:6px;padding:10px;margin:0 0 4px}
@media(max-width:900px),(max-width:1100px) and (max-height:550px){
 body[data-navigation-game] .game-category[data-category=slots]>.game-menu-panel,
 body[data-navigation-game] .game-category[data-category=videopoker]>.game-menu-panel{width:auto}
}

/* The entrance and all collection views use the same menus as the game pages. */
body[data-navigation-game=home] .home-header{position:relative;z-index:350;flex-wrap:nowrap;gap:16px}
body[data-navigation-game=home] header .game-navigation{order:0;flex:0 0 auto;width:auto;margin-left:auto;margin-right:0}
body[data-navigation-game=home] #about-open{min-height:40px;white-space:nowrap}
@media(max-width:900px){
 body[data-navigation-game=home] .home-header{min-height:70px;padding-block:12px;gap:12px}
 body[data-navigation-game=home] #about-open{min-height:44px;text-align:left;padding:10px 12px}
}
@media(max-width:600px){
 body[data-navigation-game=home] .home-header .brand{font-size:22px;gap:8px}
 body[data-navigation-game=home] .home-header .brand-mark{font-size:28px}
 body[data-navigation-game=home] .home-header .brand small{font-size:8px;letter-spacing:2px;margin-top:6px}
}

/* Optional support preview; payment setup is intentionally deferred. */
body[data-navigation-game] .game-navigation .donate-button{gap:7px;border-color:#c3a55d;background:linear-gradient(145deg,#34462d,#182b22);box-shadow:inset 0 1px #fff3,0 2px 0 #050e09;color:#ffe5a2}
body[data-navigation-game] .game-navigation .donate-button span{font-size:17px;line-height:1;color:#e1bf72}
body[data-navigation-game] .game-navigation .donate-button:hover{background:#3c4e32;border-color:#f2d48a}
.donation-preview{box-sizing:border-box!important;position:fixed!important;inset:0!important;margin:auto!important;width:500px!important;height:fit-content!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;padding:0!important;border:1px solid #c6ab66!important;border-radius:16px!important;background:#0b2019!important;color:#fff0c8!important;text-align:left!important;box-shadow:0 22px 70px #000a;font:16px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;z-index:20000}
.donation-preview::backdrop{background:#020911bf}
.donation-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 28px)}
.donation-head{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid #bfa45d44;background:#173024}
.donation-head h2{font:700 24px/1.2 Georgia,serif;color:#f6d991;margin:0}
.donation-preview .donation-close{flex-shrink:0;min-height:44px;padding:9px 14px;border:1px solid #bca36c;border-radius:8px;background:#29432f;color:#fff0c8;font:700 14px/1.3 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;cursor:pointer;box-shadow:none}
.donation-preview button:focus-visible{outline:3px solid #f3d68e;outline-offset:3px}
.donation-body{min-height:0;overflow:auto;padding:22px;text-align:center}
.donation-body p{font:inherit;margin:12px 0}
.donation-emblem{display:grid;place-items:center;margin:0 auto 12px;width:60px;height:60px;border:1px solid #bfa25a;border-radius:50%;background:radial-gradient(circle at 35% 20%,#52613a,#193324 75%);box-shadow:inset 0 1px #fff4,0 4px 0 #04120b;font-size:32px;color:#f1d48b}
.donation-body .donation-eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;color:#d7be84}
.donation-notice{margin:20px 0;padding:16px;border:1px solid #8b9e7770;border-radius:10px;background:#142f23}
.donation-notice strong{font-size:17px;color:#ffe1a1}.donation-notice p{font-size:15px;margin:8px 0 0;color:#dbe6d9}
.donation-body .donation-free{font-size:14px;color:#d2e0d4;margin-bottom:0}
@media(max-width:500px){.donation-head{padding:12px}.donation-head h2{font-size:20px}.donation-body{padding:18px 14px}}
@media(max-height:450px){.donation-emblem{display:none}.donation-head{padding:10px 16px}.donation-body{padding:12px 16px}}
@media(max-width:900px),(max-width:1100px) and (max-height:550px){body[data-navigation-game] .game-navigation .donate-button{justify-content:flex-start;min-height:44px;padding:10px 12px;font-size:15px}}
