/* Curio Casino · Table 03, Baccarat. Pixel-inspired felt layout. */
.bac-page .bj-hero h1{letter-spacing:-2px}
.bac-page .bj-game-shell{overflow:hidden}
.bac-table{position:relative;overflow:hidden;border:10px solid #71524c;box-shadow:inset 0 0 0 3px #dfba75,inset 0 0 0 9px #2a6459,inset 0 12px 65px #051e2d99;background:radial-gradient(ellipse at 50% 30%,#287b70,#185a58 60%,#0d3844 100%);border-radius:25px;min-height:492px;padding:29px 27px 28px;display:flex;flex-direction:column;gap:13px}
.bac-table::after{content:'';position:absolute;inset:18px;pointer-events:none;border:2px solid #f2d9a344;border-radius:18px}
.bac-table-mark{position:absolute;right:25px;top:18px;font:900 10px 'Courier New',monospace;letter-spacing:2px;color:#eed7a14d}
.bac-hand{position:relative;z-index:1;flex:1;min-height:153px}
.bac-hand-title{display:flex;align-items:center;justify-content:space-between;max-width:410px;margin:0 auto 8px;color:#f6e5b5;font:900 12px 'Courier New',monospace;letter-spacing:1px}
.bac-hand-title strong{font-size:19px;color:#f9df90}.bac-hand-title small{font-size:10px;color:#d6d4c6}
.bac-cards{justify-content:center;min-height:108px}.bac-cards .bj-card{width:70px;height:101px}.bac-cards .bj-card-suit{font-size:36px}
.bac-empty-hand{display:grid;place-items:center;min-height:84px;width:min(100%,270px);border:2px dashed #e7d3a352;color:#cad6c8;background:#123e465c;font:900 10px 'Courier New';letter-spacing:1px;text-align:center;padding:12px}
.bac-card-note{display:block;text-align:center;color:#f5e4b3;font:900 10px 'Courier New';letter-spacing:1px;margin-top:6px}
.bac-center{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:16px;padding:11px 4px;margin:0 auto;border-top:2px solid #e9d0a354;border-bottom:2px solid #e9d0a354;width:min(100%,450px);background:#0b454d80}
.bac-round-seal{flex-shrink:0;color:#f8d47d;font:900 12px 'Courier New';letter-spacing:2px;white-space:nowrap}.bac-round-seal span{display:inline-grid;place-items:center;width:44px;height:44px;border:3px double #f1cf82;border-radius:50%;font-size:27px}
.bac-center-copy{display:grid;gap:4px;text-align:center;font:900 10px 'Courier New';color:#e1d9c1;letter-spacing:1px}
.bac-center-copy strong{font-size:17px;color:#ffe4aa}.bac-center-copy small{font-size:9px;color:#b6d2c7}
.bac-console{padding:21px 25px 25px}.bac-bet-panel{margin-top:18px}.bac-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 12px}.bac-section-head h3{font:900 13px 'Courier New';color:#f6daa1;margin:0}.bac-section-head span{font-size:11px;color:#aab7ca}
.bac-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.bac-side{border:2px solid #596b7c;background:#192941;padding:13px 9px;color:#f8f3e5;cursor:pointer;text-align:center;display:grid;gap:6px;min-height:107px;transition:transform .15s,background .15s;box-shadow:3px 4px #111827}
.bac-side:hover{transform:translateY(-2px);background:#2a3b55}.bac-side.is-selected{border-color:#f3d083;outline:2px solid #f3d08355;outline-offset:2px;background:#36445b}.bac-side-player .bac-side-label{color:#94d1ee}.bac-side-banker .bac-side-label{color:#f5ac9b}.bac-side-tie .bac-side-label{color:#e7d28b}
.bac-side-label{font:900 13px 'Courier New';letter-spacing:1px}.bac-side strong{font:900 21px 'Courier New';color:#fff0c8}.bac-side small{font:800 9px 'Courier New';color:#a8b8c9;letter-spacing:.3px}
.bac-chip-choices{margin:13px 0 20px;justify-content:space-between}.bac-chip-choices .bj-chip-button[data-value="10"] .bj-chip-disc{--chip:#378e8a}.bac-chip-choices .bj-chip-button[data-value="20"] .bj-chip-disc{--chip:#4874b9}.bac-chip-choices .bj-chip-button[data-value="50"] .bj-chip-disc{--chip:#b84d6b}.bac-chip-choices .bj-chip-button[data-value="100"] .bj-chip-disc{--chip:#8362b5}.bac-chip-choices .bj-chip-button[data-value="250"] .bj-chip-disc{--chip:#daa347;color:#292236}
.bac-bet-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#121b2c;border:1px solid #49566b;padding:13px 15px;flex-wrap:wrap}.bac-bet-footer>div{display:grid;gap:5px}.bac-bet-footer>div span{font:900 9px 'Courier New';color:#a3b3c8;letter-spacing:1px}.bac-bet-footer>div strong{font:900 17px 'Courier New';color:#f5d493}
.bac-result{margin:19px 0 0}.bac-next-actions{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0 22px}.bac-next-actions .bj-button{flex:1 1 190px}
.bac-history{border-top:1px solid #526072;margin-top:20px;padding-top:16px}.bac-history-header{display:flex;align-items:center;justify-content:space-between;gap:10px;font:900 10px 'Courier New';letter-spacing:.5px;color:#ebd7aa}.bac-history-header span{color:#9eaec4;font-size:10px}.bac-road{display:flex;gap:7px;flex-wrap:wrap;align-items:center;min-height:43px;margin-top:10px}
.bac-road-dot{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;border:2px solid #f0d7b299;color:#fdf7e9;font:900 12px 'Courier New';box-shadow:1px 3px #0d1120}.bac-player{background:#2779a4}.bac-banker{background:#b14e5c}.bac-tie{background:#47865c}.bac-history-empty{font-size:12px;color:#a4b6c5}.bac-large-symbol{font-size:70px;color:#f0c87b}
.bac-pay-table{width:100%;border-collapse:collapse;font:800 12px 'Courier New';color:#e8e4d4}.bac-pay-table td{border-bottom:1px solid #46546a;padding:11px 0}.bac-pay-table td:last-child{text-align:right;color:#f4d08a}
@media(max-width:850px){.bac-page .bj-page-grid{grid-template-columns:1fr}}
@media(max-width:640px){.bac-table{padding:21px 12px 22px;border-width:6px;min-height:435px}.bac-cards .bj-card{width:60px;height:88px}.bac-cards .bj-card-suit{font-size:30px}.bac-hand{min-height:138px}.bac-center-copy strong{font-size:14px}.bac-round-seal span{width:36px;height:36px;font-size:23px}.bac-round-seal{font-size:10px}.bac-options{gap:6px}.bac-side{padding:9px 4px;min-height:102px}.bac-side-label{font-size:11px}.bac-side strong{font-size:17px}.bac-side small{font-size:8px}.bac-console{padding:17px 13px}.bac-chip-choices{gap:10px 3px}.bac-bet-footer .bj-button{flex:1}.bac-page .bj-hero h1{font-size:clamp(35px,10vw,49px)}}
@media(max-width:350px){.bac-cards .bj-card{width:54px;height:82px}.bac-side strong{font-size:15px}.bac-side small{font-size:7px}.bac-bet-footer>div strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){.bac-side{transition:none}}
/* Keep the complete balance and chip symbol together in narrow HUD panels. */
.bac-page .bj-stat b{display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap}
.bac-page .bj-stat b span{display:inline;margin:0;color:inherit;font:inherit}

/* Curio Casino V16 — immersive Baccarat table, chip placement and dealing effects. */
.bac-page #baccarat-app{min-width:0}
.bac-player-bar{gap:10px}
.bac-customize{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:linear-gradient(115deg,#222b40,#1b2336);border:1px solid #536176;border-radius:12px;padding:14px 15px;margin-bottom:10px}
.bac-theme-pick{display:grid;gap:9px;min-width:0;flex:1 1 340px}
.bac-theme-pick>span,.bac-shoe-label{font:900 10px 'Courier New',monospace;letter-spacing:1.4px;color:#efd5a0}
.bac-theme-pick>div{display:flex;flex-wrap:wrap;gap:7px}
.bac-theme-btn,.bac-sound,.bac-skip{border:1px solid #69788f;background:#27354c;color:#e1eaf2;font:900 10px 'Courier New',monospace;cursor:pointer;padding:10px 12px;border-radius:6px;transition:transform .15s,background .15s,border-color .15s}
.bac-theme-btn:hover,.bac-sound:hover,.bac-skip:hover{transform:translateY(-2px);border-color:#f7d187}
.bac-theme-btn.is-selected{background:#f1c975;border-color:#ffe7aa;color:#26202e;box-shadow:0 3px 0 #8b6843}
.bac-sound{white-space:nowrap;color:#f1dbb4}
.bac-shoe-meter{border-radius:10px 10px 0 0;border:1px solid #59627a;background:#152337;padding:11px 15px 9px;display:grid;gap:7px}
.bac-shoe-label{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
.bac-shoe-label b{color:#f7e2b3}.bac-shoe-meter>small{font:800 9px 'Courier New',monospace;color:#aec0cd}
.bac-shoe-track{height:9px;background:#3b4658;border:1px solid #6e7e94;border-radius:999px;overflow:hidden}.bac-shoe-track i{display:block;height:100%;background:repeating-linear-gradient(90deg,#a6d5b5 0 16px,#82bba2 16px 21px);border-radius:999px;transition:width .4s}
.bac-table{--bac-bg:radial-gradient(ellipse at 50% 28%,#2c866b,#145645 64%,#0a332e 100%);--bac-ink:#f2e2b9;--bac-trim:#caac77;background:var(--bac-bg);border:13px solid #644635;min-height:690px;padding:102px 23px 26px;gap:18px;display:flex;flex-direction:column;overflow:hidden;border-radius:0 0 34px 34px;box-shadow:inset 0 0 0 3px var(--bac-trim),inset 0 0 0 8px rgba(17,30,31,.8),inset 0 20px 80px rgba(1,12,15,.4),0 20px 35px rgba(0,0,0,.16)}
.bac-table.bac-theme-red{--bac-bg:radial-gradient(ellipse at 50% 30%,#823f57,#541d37 66%,#250e23 100%);--bac-trim:#c99c70}
.bac-table.bac-theme-neon{--bac-bg:radial-gradient(ellipse at 50% 25%,#34469a,#1c255b 62%,#140d33 100%);--bac-trim:#9a87e0;box-shadow:inset 0 0 0 3px #a99cfa,inset 0 0 0 8px #191d35,inset 0 25px 80px #090d39,0 0 25px #8264e633}
.bac-table.bac-theme-highlimit{--bac-bg:radial-gradient(ellipse at 50% 20%,#3b6573,#163b50 58%,#101d31 100%);--bac-trim:#f3d18b;border-color:#413128}
.bac-table-rim{position:absolute;inset:14px;border-radius:20px;border:2px solid color-mix(in srgb,var(--bac-trim),transparent 52%);pointer-events:none;z-index:0}
.bac-table::after{display:none}
.bac-table-mark{left:50%;right:auto;top:27px;transform:translateX(-50%);color:#f2ddad89;text-align:center;letter-spacing:2px;white-space:nowrap}
.bac-decor{position:absolute;top:42px;z-index:1;pointer-events:none}.bac-decor.bac-left{left:24px}.bac-decor.bac-right{right:23px}
.bac-chip-tray{border:1px solid #e5bf8650;border-radius:10px;background:linear-gradient(180deg,#0a282baf,#061a22ac);padding:8px 10px;box-shadow:inset 0 0 10px #0004}
.bac-chip-tray>span{display:block;margin-bottom:7px;font:900 9px 'Courier New',monospace;letter-spacing:1px;color:#f3dca5}
.bac-chip-piles{display:flex;gap:4px}.bac-chip-piles i{width:17px;height:17px;border-radius:50%;background:#b64c6a;border:3px dashed #f8e8ce;box-shadow:0 4px 0 #522633,0 6px 3px #001c2388}.bac-chip-piles i:nth-child(2){background:#357f85;box-shadow:0 6px 0 #173b49}.bac-chip-piles i:nth-child(3){background:#cb9747;box-shadow:0 9px 0 #63451d}.bac-chip-piles i:nth-child(4){background:#6e60a8;box-shadow:0 5px 0 #2d2a5b}.bac-chip-piles i:nth-child(5){background:#4f8f63;box-shadow:0 3px 0 #264d37}
.bac-shoe{width:95px;height:57px;border-radius:8px;background:linear-gradient(150deg,#263a49,#111b2d);border:2px solid #af9373;position:relative;box-shadow:3px 5px 0 #07111f}.bac-shoe i{position:absolute;right:12px;top:-4px;width:27px;height:40px;background:repeating-linear-gradient(45deg,#7c638f 0 5px,#34496d 5px 10px);border:3px solid #f5e2bd;transform:skewY(-9deg)}.bac-shoe i:nth-child(2){right:19px;top:-2px}.bac-shoe i:nth-child(3){right:26px;top:0}.bac-shoe span{position:absolute;bottom:4px;left:0;right:0;text-align:center;color:#f3dca9;font:900 8px 'Courier New',monospace}
.bac-hands-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;z-index:2;position:relative}
.bac-hand{min-width:0;min-height:206px;display:flex;flex-direction:column;background:linear-gradient(180deg,#051a2266,#03182128);border:1px solid #edcc9661;border-radius:16px;padding:15px 10px 12px}
.bac-hand-title{display:flex;justify-content:space-between;align-items:center;gap:7px;max-width:none;margin-bottom:13px;color:var(--bac-ink)}
.bac-hand-title span{padding:7px 11px;border:1px solid #e5cb9c40;border-radius:999px;background:#0e29327d;font-size:12px;letter-spacing:1.5px}
.bac-hand-banker .bac-hand-title span{color:#ffb6b5}.bac-hand-player .bac-hand-title span{color:#b8e3ff}
.bac-hand-title strong{font-size:23px}.bac-hand-title small{font-size:11px}
.bac-cards{justify-content:center;gap:5px;min-height:110px;flex-wrap:nowrap}
.bac-cards .bj-card{width:66px;height:97px}.bac-cards .bj-card-suit{font-size:35px}
.bac-card-still{animation:none!important;opacity:1!important;transform:none!important}.bac-card-arrive{animation:bac-card-deal .3s cubic-bezier(.2,.9,.3,1) both!important}
.bac-card-pending{font:900 12px 'Courier New';color:#ffdfad;border:2px dashed #aebcc07c;border-radius:7px;padding:8px;align-self:center}
.bac-empty-hand{border-radius:9px;background:#0d3e3b60;min-height:88px;width:100%;font-size:9px}
.bac-card-note{margin-top:auto;padding-top:12px;color:#ddcdab;font-size:9px}
.bac-center{width:min(100%,390px);border:1px solid #ead9ae61;border-radius:15px;background:#091d2582;box-shadow:0 5px 20px #0003;padding:12px 16px;margin:0 auto;z-index:2;gap:12px}
.bac-center-copy strong{color:#f8dea0;font-size:17px;line-height:1.15}.bac-center-copy small{color:#b4cbd0}
.bac-wager-board{z-index:2;margin-top:auto;display:grid;gap:12px;justify-items:center}
.bac-main-spot{display:flex;align-items:center;gap:12px;border:2px dashed #ead4a66e;background:#092e3073;border-radius:999px;padding:9px 15px;min-width:210px;justify-content:center}
.bac-main-spot>span:first-child{font:900 11px 'Courier New',monospace;color:#f4e1b6;letter-spacing:1px}
.bac-wager-chip{min-width:48px;height:48px;padding:4px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;border:5px dashed #f5ebce;color:#fff5e1;font:900 11px 'Courier New',monospace;box-shadow:0 5px 0 #091d2180,0 8px 12px #0004;background:linear-gradient(150deg,#e0a950,#8f6729)}
.bac-wager-chip.bac-chip-side{width:34px;height:34px;min-width:34px;padding:2px;border-width:3px;font-size:9px;background:linear-gradient(150deg,#458d9b,#20566d);box-shadow:0 3px 0 #0c2734}
.bac-wager-off{font:800 11px 'Courier New';color:#aabac0}
.bac-bonus-spots{display:flex;justify-content:center;align-items:flex-start;gap:7px;flex-wrap:wrap;width:100%}
.bac-bonus-spot{border:1px dashed #d1c4a16e;min-width:0;flex:1 1 90px;max-width:124px;min-height:78px;border-radius:12px;padding:10px 5px;display:grid;justify-items:center;align-content:center;gap:8px;background:#0b2a2d77}
.bac-bonus-spot small{color:#f1d8b3;font:900 8px 'Courier New',monospace;text-transform:uppercase;letter-spacing:.1px;text-align:center;line-height:1.1}
.bac-animating .bac-wager-board{filter:brightness(1.16)}
.bac-flight-chips{position:absolute;inset:0;pointer-events:none;z-index:5}.bac-flight-chips i{position:absolute;left:calc(40% + var(--flight)*4%);bottom:-25px;width:30px;height:30px;border:4px dashed #f7e6bf;border-radius:50%;background:linear-gradient(135deg,#d8aa67,#98612c);box-shadow:0 4px 0 #603e23;opacity:0}
.bac-phase-chips .bac-flight-chips i{animation:bac-chip-toss .43s cubic-bezier(.2,.6,.4,1) both;animation-delay:calc(var(--flight)*.035s)}
.bac-confetti{position:absolute;inset:0;z-index:4;pointer-events:none;overflow:hidden}.bac-confetti i{position:absolute;left:calc(10% + var(--i)*6.7%);top:-10px;width:8px;height:17px;background:#f8d186;opacity:0;transform:rotate(15deg)}.bac-result-win .bac-confetti i{animation:bac-confetti-fall 1.6s ease-out both;animation-delay:calc(var(--i)*.065s)}.bac-confetti i:nth-child(3n){background:#9dd9d3}.bac-confetti i:nth-child(4n){background:#e6969d}
.bac-result-win{box-shadow:inset 0 0 0 3px #e5ce95,0 0 30px #f2d28b4a!important}.bac-result-loss{box-shadow:inset 0 0 0 3px #a8666f,0 0 25px #d0788740!important}.bac-result-push{box-shadow:inset 0 0 0 3px #7a9fc0,0 0 20px #7a9fc030!important}
.bac-dealing-bar{margin:15px 0 8px;padding:14px 16px;border:1px solid #566b83;background:#18283b;display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#f4dbac;font:900 12px 'Courier New',monospace}
.bac-dealing-bar strong{flex:1}.bac-skip{padding:9px 12px;border-color:#d0b57f;color:#f5dea8}
.bac-recent{border-top:1px solid #526072;padding-top:15px;margin-top:13px}.bac-recent-header{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center;font:900 10px 'Courier New',monospace;color:#efd39b}.bac-recent-header small{color:#b8c8d4}.bac-recent-nets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:9px}.bac-net-pill{padding:8px 9px;border-radius:8px;background:#192b3b;border:1px solid #43596c;display:grid;gap:5px;font:900 9px 'Courier New',monospace;color:#e8d2ae}.bac-net-pill b{font-size:12px}.bac-net-pill.up b{color:#9ee4bb}.bac-net-pill.down b{color:#ffb2b4}.bac-net-pill.push b{color:#d0dbe7}.bac-recent-empty{color:#adc1cc;font-size:12px}
@keyframes bac-chip-toss{0%{opacity:0;transform:translate(-130px,50px) rotate(-40deg) scale(.7)}45%{opacity:1}100%{opacity:0;transform:translate(0,-150px) rotate(40deg) scale(1)}}
@keyframes bac-card-deal{0%{opacity:0;transform:translate(110px,-55px) rotate(12deg) scale(.8)}70%{opacity:1;transform:translate(-3px,4px) rotate(-1deg)}100%{opacity:1;transform:none}}
@keyframes bac-confetti-fall{0%{opacity:0;transform:translateY(-15px) rotate(0)}12%{opacity:1}90%{opacity:1}100%{opacity:0;transform:translateY(410px) rotate(390deg)}}
@media(max-width:1150px){.bac-table{padding-top:95px}.bac-decor{top:42px}.bac-bonus-spot{flex-basis:84px}}
@media(max-width:850px){.bac-page .bj-page-grid{grid-template-columns:1fr}.bac-table{min-height:680px}}
@media(max-width:640px){.bac-customize{padding:11px 12px}.bac-theme-pick>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.bac-theme-btn{width:100%;padding:10px 6px}.bac-sound{width:100%}.bac-table{min-height:880px;border-width:8px;padding:72px 12px 17px;gap:13px}.bac-table-mark{font-size:9px;top:17px}.bac-decor{display:none}.bac-hands-grid{grid-template-columns:1fr;gap:11px}.bac-hand{min-height:165px;padding:9px 9px 10px}.bac-hand-title{margin-bottom:8px}.bac-hand-title strong{font-size:19px}.bac-cards{min-height:88px}.bac-cards .bj-card{width:61px;height:89px}.bac-cards .bj-card-suit{font-size:30px}.bac-card-note{padding-top:6px}.bac-bonus-spots{gap:5px}.bac-bonus-spot{flex:1 1 calc(33.333% - 6px);max-width:none;min-height:65px;padding:5px 4px}.bac-bonus-spot small{font-size:8px}.bac-wager-chip.bac-chip-side{width:30px;height:30px;min-width:30px;font-size:8px}.bac-main-spot{min-width:190px;padding:6px 12px}.bac-wager-chip{height:43px;min-width:43px;font-size:10px}.bac-center{padding:9px 11px;width:min(100%,370px)}.bac-center-copy strong{font-size:15px}.bac-center-copy span{font-size:9px}.bac-recent-nets{grid-template-columns:repeat(2,minmax(0,1fr))}.bac-dealing-bar{padding:12px 10px;font-size:10px}}
@media(max-width:380px){.bac-hands-grid{gap:9px}.bac-table{padding-left:9px;padding-right:9px}.bac-cards .bj-card{width:55px;height:82px}.bac-card-note{font-size:8px}.bac-round-seal{display:none}.bac-bonus-spot{min-height:60px}}
@media(prefers-reduced-motion:reduce){.bac-card-arrive,.bac-phase-chips .bac-flight-chips i,.bac-result-win .bac-confetti i{animation:none!important}.bac-shoe-track i{transition:none!important}.bac-theme-btn,.bac-sound,.bac-skip{transition:none!important}}

/* Keep the table compact beside the tall rules panel. */
.bac-page .bj-game-shell{align-self:start}

/* V18: keep the mute control, omit the theme picker. */
.bac-customize.bac-sound-only{justify-content:flex-end;gap:0}
@media(max-width:640px){.bac-customize.bac-sound-only{padding:9px 12px}.bac-sound-only .bac-sound{width:auto}}
