/* Macs Rewards Program — tables "CQ pit" style: pit-table look modeled on Casino Quest layouts (own CSS, no their assets). Look only. Loaded last. */
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&display=swap");
:root{--cqg:#e9c75e;--cqg2:#fff0b0;--cqfelt:#2a5a2c;--cqfelt2:#173a1a;--cqbar:#0d1a10;
--cqfeltbg:radial-gradient(ellipse 70% 55% at 50% 40%,rgba(120,190,110,.20),rgba(0,0,0,0) 70%),radial-gradient(ellipse 120% 100% at 50% 45%,rgba(0,0,0,0) 40%,rgba(0,0,0,.55) 100%),url(/textures/felt-hd.webp?v=1793260000) 0 0/160px,#2a5a2c}
/* top bar: dark green-black strip, gold underline, pill balance */
html.rb body .hd{background:linear-gradient(#13241a,#0a140d)!important;border:0!important;border-bottom:2px solid var(--cqg)!important;border-radius:0 0 10px 10px!important;box-shadow:0 4px 14px #000c!important}
html.rb body .hd .t,html.rb body .hd .t span{font-family:Oswald,'Arial Narrow',sans-serif!important;font-weight:700!important;letter-spacing:2px!important;color:#fff!important;text-shadow:none!important}
html.rb body .hd .cr,html.rb body #cr{font-family:Oswald,sans-serif!important;color:#fff!important;background:#0f2a17!important;border:1.5px solid #3fae5a!important;border-radius:9px!important;padding:3px 10px!important}
html.rb body .hd .cr:before,html.rb body #cr:before{content:"🎟 ";color:var(--cqg)}
html.rb body .hd a{border-radius:9px!important}
/* felt: flatter, brighter pit green with gold printed lines */
html.rb body .wrap .v3rail>.felt,html.rb body .wrap .rail>.felt.felt,html.rb body #setup.felt,html.rb body .wrap .bjrail>.felt.bjt{background:var(--cqfeltbg)!important}
html.rb body .wrap .v3rail>.felt,html.rb body .wrap .rail>.felt.felt{box-shadow:inset 0 0 0 2px rgba(233,199,94,.55),inset 0 12px 22px rgba(0,0,0,.55),inset 0 0 50px rgba(0,0,0,.45)!important}
html.rb body .felt,html.rb body .felt .lbl,html.rb body .felt .msg,html.rb body .felt .brand{font-family:Oswald,'Arial Narrow',sans-serif!important;letter-spacing:1px}
html.rb body .felt .msg{display:inline-block;background:linear-gradient(#1f4a25,#12301a)!important;border:1px solid #6fbf6a77!important;border-radius:999px!important;color:#fff!important;padding:5px 16px!important;box-shadow:0 2px 6px #0009}
html.rb body .bjt .arcs text{fill:var(--cqg)!important;font-family:Oswald,sans-serif!important;letter-spacing:2px}
/* padded rail: dark brown leather like a pit table */
html.rb body .wrap .v3rail,html.rb body .wrap .rail{background:linear-gradient(180deg,#6a3a1e,#3a1d0d 45%,#1e0e06)!important}
/* blackjack: half-moon table (flat dealer side, round player arc) + gold betting circle */
html.rb body .wrap .bjrail,html.rb body .wrap .bjrail>.felt.bjt{border-radius:14px 14px 50% 50%/14px 14px 34% 34%!important}
html.rb body .bjt .spot .ring{border:3px solid var(--cqg)!important;background:radial-gradient(circle,#1d4520 55%,#0f2a12)!important;box-shadow:0 0 0 3px #0008,inset 0 3px 8px #000a!important}
html.rb body .bjt .tray{background:linear-gradient(#3a2a12,#1a1208)!important;border:2px solid var(--cqg)!important}
/* bottom console: dark wood strip with round gold-ringed buttons */
html.rb body .wrap .btns{background:linear-gradient(180deg,#3b2410,#1d1006 60%,#120a04)!important;border:1px solid #7a5a1c!important;border-top:2px solid var(--cqg)!important;border-radius:14px!important;padding:8px!important;box-shadow:0 6px 16px #000c,inset 0 1px 0 #ffe7a033!important;gap:8px!important;justify-content:center;flex-wrap:wrap}
html.rb body .wrap .btns button:not([data-b]){font-family:Oswald,sans-serif!important;font-weight:700!important;letter-spacing:1px!important;color:#ffe9a8!important;text-shadow:0 1px 1px #000!important;
background:radial-gradient(circle at 50% 30%,#5a3a16,#24150a 70%)!important;border:3px solid #d8b04e!important;border-radius:999px!important;min-height:52px;padding:6px 16px!important;
box-shadow:0 0 0 2px #3a2608,inset 0 2px 0 #ffeeb055,inset 0 -3px 6px #000a,0 4px 8px #000b!important}
html.rb body .wrap .btns button:not([data-b]):active{transform:translateY(1px)}
html.rb body .wrap .btns button.on{border-color:#7fe08a!important;color:#d9ffd9!important}
/* chip rack row */
html.rb body .wrap .panel:has(#chips),html.rb body .wrap .panel:has(.chipb){background:linear-gradient(180deg,#24150a,#120a04)!important;border:1px solid #7a5a1c!important;border-radius:999px!important}
html.rb body .wrap button.chipb.sel{outline:3px solid #fff3a0!important;outline-offset:2px;box-shadow:0 0 14px 4px #ffe36aaa!important}
/* roulette: printed layout like a pit table */
html.rb body #tbl .c{border-color:var(--cqg)!important;font-family:Oswald,sans-serif!important}
html.rb body #tbl .c.n span{font-family:Oswald,sans-serif!important;font-weight:700}
html.rb body #tbl .c.n:not(.g){background:#0e2410!important}
html.rb body #tbl .c.n span.r,html.rb body #tbl .c.n span.red{color:#fff!important}
html.rb body #tbl .c.g{background:#1d6b2a!important}
html.rb body #tbl .c.out{color:var(--cqg2)!important}
/* craps: printed boxes in gold on green, CQ arrangement (props left, numbers right) */
html.rb body #bd .b{border-color:var(--cqg)!important;color:#fff5cf!important;font-family:Oswald,sans-serif!important;border-radius:6px!important;background:rgba(0,0,0,.12)}
html.rb body #bd .b.lg{color:var(--cqg)!important;font-size:24px!important;letter-spacing:3px}
html.rb body #bd .ttl{font-family:Oswald,sans-serif!important;color:var(--cqg)!important;letter-spacing:3px}
html.rb body #bd .b[data-k^="p"] .big{font-family:Oswald,sans-serif!important;color:var(--cqg)!important;font-size:34px!important}
/* hold'em: seats around the oval (5 opponents all fit) */
html.rb body .ptable .bots{position:relative!important;display:block!important;height:236px}
html.rb body .ptable .bot{position:absolute!important;width:29%!important;min-width:0!important;transform:none!important}
html.rb body .ptable .bot:nth-child(1){left:0;top:132px}
html.rb body .ptable .bot:nth-child(2){left:3%;top:30px}
html.rb body .ptable .bot:nth-child(3){left:35.5%;top:0}
html.rb body .ptable .bot:nth-child(4){right:3%;top:30px}
html.rb body .ptable .bot:nth-child(5){right:0;top:132px}
html.rb body .ptable .bot:only-child{left:35.5%;top:0}
html.rb body .ptable .bot:first-child:nth-last-child(2){left:6%;top:20px}
html.rb body .ptable .bot:nth-child(2):last-child{left:auto;right:6%;top:20px}
html.rb body .ptable .bots:has(.bot:nth-child(3):last-child) .bot:nth-child(1),html.rb body .ptable .bots:has(.bot:nth-child(4):last-child) .bot:nth-child(1){left:0;top:110px}
html.rb body .ptable .bots:has(.bot:nth-child(3):last-child) .bot:nth-child(3){left:auto;right:0;top:110px}
html.rb body .ptable .bots:has(.bot:nth-child(3):last-child),html.rb body .ptable .bots:has(.bot:nth-child(2):last-child),html.rb body .ptable .bots:has(.bot:only-child){height:200px}
html.rb body .ptable .bots:has(.bot:nth-child(3):last-child) .bot:nth-child(2){left:35.5%;top:0}
html.rb body .ptable .bots:has(.bot:nth-child(4):last-child) .bot:nth-child(4){right:0;top:110px}
html.rb body .ptable .bots:has(.bot:nth-child(4):last-child) .bot:nth-child(2){left:12%;top:0}
html.rb body .ptable .bots:has(.bot:nth-child(4):last-child) .bot:nth-child(3){left:auto;right:12%;top:0}
html.rb body .ptable .bots:empty{height:0}
html.rb body .ptable .bot .nm{font-family:Oswald,sans-serif!important;letter-spacing:1px}
html.rb body .ptable .board{border-color:var(--cqg)!important}
/* lobby Live/Private table views */
html.rb body #game #gv.felt{background:var(--cqfeltbg) padding-box,linear-gradient(180deg,#6a3a1e,#1e0e06) border-box!important}
html.rb body #game #gv .bet,html.rb body #game #gv .seat{border-color:var(--cqg)!important;font-family:Oswald,sans-serif!important}
