
.bhkbac{
  --felt:#0b3a2d;
  --felt2:#082d24;
  --felt3:#114b3b;
  --rail:#071722;
  --rail2:#0b2431;
  --gold:#d4ad58;
  --gold2:#f0d18a;
  --player:#3b86e8;
  --player2:#245fae;
  --banker:#d74e5c;
  --banker2:#a9303d;
  --tie:#2bb979;
  --tie2:#17794d;
  --ink:#f4f7f5;
  --muted:#bfd1cc;
  --line:rgba(255,255,255,.09);
  --goldline:rgba(212,173,88,.28);
  --shadow:0 22px 55px rgba(0,0,0,.30);
}
.bhkbac, .bhkbac *{box-sizing:border-box}

.bhkbac a{color:inherit}
.bhkbac button,.bhkbac input,.bhkbac select{font:inherit}
.bhkbac{min-height:100vh}
.bhkbac section[id]{scroll-margin-top:88px}
.bhkbac-shell{width:min(1180px,calc(100% - 34px));margin:0 auto}

/* HERO — baccarat table, not generic article */
.bhkbac-hero{
  position:relative;
  overflow:hidden;
  padding:60px 0 50px;
  background:
    radial-gradient(circle at 75% 15%,rgba(212,173,88,.12),transparent 26%),
    repeating-linear-gradient(0deg,rgba(255,255,255,.012) 0 1px,transparent 1px 5px),
    linear-gradient(145deg,#081721 0%,#0b2d28 58%,#0a4a38 100%);
  border-bottom:1px solid var(--goldline);
}
.bhkbac-hero:before{
  content:"";
  position:absolute;
  left:50%;bottom:-160px;
  transform:translateX(-50%);
  width:min(900px,85vw);
  height:290px;
  border:2px solid rgba(240,209,138,.17);
  border-radius:50% 50% 0 0/100% 100% 0 0;
}
.bhkbac-hero:after{
  content:"BANKER   •   PLAYER   •   TIE";
  position:absolute;right:4%;top:30px;
  color:rgba(240,209,138,.20);
  letter-spacing:.22em;
  font-size:12px;
  font-weight:900;
}
.bhkbac-kicker{display:inline-block;color:var(--gold2);font-weight:950;letter-spacing:.09em;margin-bottom:13px}
.bhkbac-hero h1{max-width:1020px;margin:0 0 18px;font-size:clamp(38px,5vw,62px);line-height:1.06;color:#fff;letter-spacing:-.035em}
.bhkbac-hero p{max-width:950px;margin:0;color:#e1ece8;font-size:17px;line-height:1.8}
.bhkbac-hero-actions,.bhkbac-actions,.bhkbac-road-buttons{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.bhkbac-hero-actions{margin-top:24px}
.bhkbac-btn{
  appearance:none;border:1px solid transparent;border-radius:11px;
  padding:12px 17px;font-weight:900;text-decoration:none;cursor:pointer;
  transition:.15s ease;display:inline-flex;align-items:center;justify-content:center
}
.bhkbac-btn:hover{transform:translateY(-1px)}
.bhkbac-btn--jade{background:linear-gradient(180deg,#38c49f,#1b9b79);color:#071f18}
.bhkbac-btn--ghost,.bhkbac-btn--light{color:#fff;border-color:rgba(255,255,255,.20);background:rgba(255,255,255,.055)}
.bhkbac-btn--danger{background:linear-gradient(180deg,#d55d67,#a6323c);color:#fff}
.bhkbac-note{padding:13px 16px;border-left:4px solid var(--gold);border-radius:12px;line-height:1.65}
.bhkbac-note--hero{max-width:940px;margin-top:22px;background:rgba(255,255,255,.045);border-top:1px solid rgba(255,255,255,.08);border-right:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}

/* Baccarat console */
.bhkbac-casino-console{
  padding:26px 0;
  background:linear-gradient(180deg,#071823,#081e29);
  border-bottom:1px solid var(--goldline);
}
.bhkbac-table-shell{
  position:relative;overflow:hidden;padding:24px;border-radius:28px;
  border:1px solid rgba(240,209,138,.30);
  background:
    repeating-linear-gradient(90deg,rgba(255,255,255,.008) 0 1px,transparent 1px 8px),
    radial-gradient(circle at 50% 0%,rgba(255,255,255,.05),transparent 38%),
    linear-gradient(180deg,var(--felt3),var(--felt) 55%,var(--felt2));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),inset 0 -28px 70px rgba(0,0,0,.20),var(--shadow)
}
.bhkbac-table-shell:before{
  content:"";position:absolute;inset:12px;border:1px solid rgba(240,209,138,.22);border-radius:22px;pointer-events:none
}
.bhkbac-table-shell:after{
  content:"";position:absolute;left:10%;right:10%;bottom:-115px;height:185px;
  border:2px solid rgba(240,209,138,.22);border-radius:50% 50% 0 0/100% 100% 0 0;pointer-events:none
}
.bhkbac-table-top{position:relative;z-index:1;display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}
.bhkbac-table-eyebrow{color:var(--gold2);font-size:12px;font-weight:950;letter-spacing:.13em}
.bhkbac-table-top h2{margin:4px 0 6px;font-size:clamp(26px,3vw,38px);color:#fff}
.bhkbac-table-top p{margin:0;max-width:760px;color:#d7e7e0;line-height:1.65}
.bhkbac-dealer-tray{display:flex;gap:5px;padding:9px 10px;background:rgba(0,0,0,.16);border:1px solid rgba(255,255,255,.11);border-radius:14px}
.bhkbac-dealer-tray span{width:32px;height:44px;display:grid;place-items:center;border-radius:6px;background:#fff;color:#14181c;font-size:18px;box-shadow:0 6px 12px rgba(0,0,0,.22)}
.bhkbac-dealer-tray span:nth-child(2),.bhkbac-dealer-tray span:nth-child(3){color:#c94450}
.bhkbac-bet-layout{position:relative;z-index:1;display:grid;grid-template-columns:1fr .60fr 1fr;gap:12px;max-width:860px;margin:0 auto 20px}
.bhkbac-bet-zone{min-height:138px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:2px solid rgba(255,255,255,.28);border-radius:20px;color:#fff;text-decoration:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 12px 26px rgba(0,0,0,.19)}
.bhkbac-bet-zone small{letter-spacing:.13em;font-weight:950;opacity:.88}
.bhkbac-bet-zone strong{font-size:42px;line-height:1;margin:8px 0}
.bhkbac-bet-zone span{font-size:13px;font-weight:800}
.bhkbac-bet-zone--player{background:linear-gradient(180deg,var(--player),var(--player2))}
.bhkbac-bet-zone--banker{background:linear-gradient(180deg,var(--banker),var(--banker2))}
.bhkbac-bet-zone--tie{min-height:112px;align-self:center;background:linear-gradient(180deg,var(--tie),var(--tie2))}
.bhkbac-chip-rack{position:relative;z-index:1;display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
.bhkbac-chip-rack a{display:flex;align-items:center;gap:8px;min-width:120px;padding:8px 11px;border-radius:999px;text-decoration:none;background:rgba(0,0,0,.17);border:1px solid rgba(255,255,255,.10)}
.bhkbac-chip-rack span{font-size:12px;font-weight:850}
.bhkbac .chip{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;font-style:normal;font-size:11px;font-weight:950;color:#fff;border:3px dashed rgba(255,255,255,.70);box-shadow:inset 0 0 0 3px rgba(0,0,0,.12),0 5px 10px rgba(0,0,0,.22)}
.bhkbac .c25{background:#209d70}.bhkbac .c100{background:#252d35}.bhkbac .c500{background:#7f4a96}.bhkbac .c1000{background:#b18535}

/* Sticky baccarat navigation */
.bhkbac-jump{position:sticky;top:0;z-index:30;background:rgba(5,18,26,.94);border-bottom:1px solid var(--goldline);backdrop-filter:blur(10px)}
.bhkbac-jump .bhkbac-shell{display:flex;gap:8px;overflow:auto;padding:9px 0}
.bhkbac-jump a{white-space:nowrap;text-decoration:none;padding:8px 12px;border-radius:999px;color:#f4ead2;background:rgba(212,173,88,.10);border:1px solid rgba(212,173,88,.16);font-weight:850}

/* Sections all use same baccarat table family */
.bhkbac-section{
  padding:46px 0;
  background:
    repeating-linear-gradient(0deg,rgba(255,255,255,.007) 0 1px,transparent 1px 6px),
    linear-gradient(180deg,#071923,#0a2530);
}
.bhkbac-section--soft{background:linear-gradient(180deg,#09251f,#0a3027)}
.bhkbac-section--ink{background:linear-gradient(180deg,#061721,#081d28)}
.bhkbac-section--rules{padding-bottom:54px}
.bhkbac-section-head{display:flex;gap:15px;align-items:flex-start;margin-bottom:22px}
.bhkbac-section-head>span{flex:0 0 42px;height:42px;display:grid;place-items:center;border-radius:50%;color:#0a2119;background:linear-gradient(180deg,var(--gold2),var(--gold));font-weight:950;box-shadow:0 7px 14px rgba(0,0,0,.17)}
.bhkbac-section-head h2{margin:0 0 7px;color:#fff;font-size:clamp(27px,3.7vw,40px);line-height:1.15}
.bhkbac-section-head p{margin:0;color:var(--muted);line-height:1.65}

/* Tool selector cards become baccarat tiles */
.bhkbac-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bhkbac-feature-grid a{
  min-height:122px;padding:18px;border-radius:18px;text-decoration:none;
  border:1px solid var(--goldline);
  background:
    linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.02)),
    linear-gradient(180deg,var(--felt3),var(--felt2));
  box-shadow:var(--shadow);position:relative;overflow:hidden
}
.bhkbac-feature-grid a:after{position:absolute;right:15px;bottom:10px;font-size:34px;font-weight:950;color:rgba(240,209,138,.16)}
.bhkbac-feature-grid a:nth-child(1):after{content:"8"}
.bhkbac-feature-grid a:nth-child(2):after{content:"♠"}
.bhkbac-feature-grid a:nth-child(3):after{content:"●"}
.bhkbac-feature-grid a:nth-child(4):after{content:"%"}
.bhkbac-feature-grid a:nth-child(5):after{content:"○"}
.bhkbac-feature-grid a:nth-child(6):after{content:"6"}
.bhkbac-feature-grid b{display:block;color:#fff;font-size:18px;margin-bottom:6px}
.bhkbac-feature-grid small{color:#cbdad5;line-height:1.5}

/* Workspaces */
.bhkbac-section--workspace{scroll-margin-top:76px}
.bhkbac-work-tab-buttons,.bhkbac-inline-tab-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 15px}
.bhkbac-work-tab-buttons button,.bhkbac-inline-tab-buttons button{
  border:1px solid rgba(240,209,138,.18);background:rgba(255,255,255,.045);color:#e4ede9;
  padding:11px 15px;border-radius:999px;font-weight:900;cursor:pointer
}
.bhkbac-work-tab-buttons button.is-active,.bhkbac-inline-tab-buttons button.is-active{
  background:linear-gradient(180deg,var(--gold2),var(--gold));color:#0a2119
}
.bhkbac-tab-panel{display:none}
.bhkbac-tab-panel.is-active{display:block}
.bhkbac-work-tabs>.bhkbac-tab-panel{
  padding:18px;border:1px solid var(--goldline);border-radius:24px;
  background:
    repeating-linear-gradient(90deg,rgba(255,255,255,.006) 0 1px,transparent 1px 8px),
    linear-gradient(180deg,var(--felt3),var(--felt2));
  box-shadow:var(--shadow)
}
.bhkbac-inline-tabs>.bhkbac-tab-panel{padding:0;border:0;background:transparent;box-shadow:none}

/* Tool panels: all look like baccarat table modules */
.bhkbac-tool-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:18px;align-items:start}
.bhkbac-tool-grid--odds{margin-top:18px}
.bhkbac-panel,.bhkbac-history-panel,.bhkbac-stat-grid article,.bhkbac-odds-grid article{
  background:linear-gradient(180deg,rgba(5,20,17,.46),rgba(4,15,22,.58));
  border:1px solid rgba(240,209,138,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 16px 34px rgba(0,0,0,.18)
}
.bhkbac-panel{padding:20px;border-radius:18px}
.bhkbac-panel h3{margin-top:0;color:#fff}

/* Player / Banker hands are unmistakably baccarat */
.bhkbac-hand{padding:14px;border-radius:16px;margin-bottom:12px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.035)}
.bhkbac-hand--player{border-left:5px solid var(--player);background:linear-gradient(90deg,rgba(59,134,232,.13),rgba(255,255,255,.025) 36%)}
.bhkbac-hand--banker{border-left:5px solid var(--banker);background:linear-gradient(90deg,rgba(215,78,92,.13),rgba(255,255,255,.025) 36%)}
.bhkbac-hand-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:9px}
.bhkbac-hand-head b{font-size:18px;color:#fff}
.bhkbac-hand-head span{color:var(--gold2);font-weight:900}
.bhkbac-card-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.bhkbac-card-row--2{grid-template-columns:1fr 1fr}
.bhkbac-card-row label,.bhkbac-field{display:grid;gap:5px;color:#f0e9d8;font-size:13px;font-weight:800}
.bhkbac-card-row select,.bhkbac-field select,.bhkbac-field input{
  width:100%;padding:11px 12px;border-radius:10px;color:#fff;background:#071923;
  border:1px solid rgba(240,209,138,.20);outline:none
}
.bhkbac-card-row select:focus,.bhkbac-field select:focus,.bhkbac-field input:focus{border-color:var(--gold2);box-shadow:0 0 0 3px rgba(212,173,88,.10)}

.bhkbac-result{display:flex;gap:13px;padding:16px;border-radius:15px;margin-bottom:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.bhkbac-result-icon{width:44px;height:44px;flex:0 0 44px;border-radius:50%;display:grid;place-items:center;font-weight:950;background:#071923;border:1px solid rgba(255,255,255,.10)}
.bhkbac-result strong{display:block;color:#fff;font-size:22px;margin:2px 0 4px}.bhkbac-result small,.bhkbac-result p{color:#c3d3ce}.bhkbac-result p{margin:0;line-height:1.5}
.bhkbac-result--banker{border-color:rgba(215,78,92,.30);background:rgba(215,78,92,.10)}
.bhkbac-result--player{border-color:rgba(59,134,232,.30);background:rgba(59,134,232,.10)}
.bhkbac-result--tie{border-color:rgba(43,185,121,.30);background:rgba(43,185,121,.10)}

.bhkbac-kv{border:1px solid rgba(255,255,255,.08);border-radius:13px;overflow:hidden}
.bhkbac-kv>div{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.07)}.bhkbac-kv>div:last-child{border-bottom:0}
.bhkbac-kv span{color:#bacbc6}.bhkbac-kv b{color:#fff}
.bhkbac-footnote{margin:13px 0 0;color:#aebfba;font-size:13px;line-height:1.58}
.bhkbac-two{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.bhkbac-rule-summary,.bhkbac-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bhkbac-rule-summary>div,.bhkbac-metrics>div{padding:15px;border-radius:14px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.075)}
.bhkbac-rule-summary span,.bhkbac-metrics span{display:block;color:#b9cbc5;font-size:12px;margin-bottom:5px}.bhkbac-rule-summary strong,.bhkbac-metrics strong{font-size:21px;color:#fff}
.bhkbac-callout{margin-top:14px;padding:14px;border-radius:12px;background:rgba(212,173,88,.10);border:1px solid rgba(212,173,88,.17);color:#eee3c9;line-height:1.62}
.bhkbac-mini-table{margin-top:14px;border:1px solid rgba(255,255,255,.08);border-radius:13px;overflow:hidden}.bhkbac-mini-table>div{display:grid;grid-template-columns:105px 1fr;gap:10px;padding:11px;border-bottom:1px solid rgba(255,255,255,.07)}.bhkbac-mini-table>div:last-child{border-bottom:0}.bhkbac-mini-table b{color:var(--gold2)}.bhkbac-mini-table span{color:#cbd8d4}

/* Baccarat chips */
.bhkbac-chip-presets{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px;margin:3px 0 13px;border:1px solid rgba(212,173,88,.15);border-radius:13px;background:rgba(0,0,0,.10)}
.bhkbac-chip-presets>span{font-size:12px;font-weight:900;color:#dfe9e5;margin-right:3px}
.bhkbac-chip-presets button{width:50px;height:50px;border-radius:50%;color:#fff;font-weight:950;cursor:pointer;border:3px dashed rgba(255,255,255,.65);box-shadow:inset 0 0 0 3px rgba(0,0,0,.12),0 6px 12px rgba(0,0,0,.18)}
.bhkbac-chip-presets button:nth-of-type(1){background:#b58b35}.bhkbac-chip-presets button:nth-of-type(2){background:#357bd1}.bhkbac-chip-presets button:nth-of-type(3){background:#c74b58}.bhkbac-chip-presets button:nth-of-type(4){background:#77508d}

/* Probability cards retain baccarat colors */
.bhkbac-odds-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}
.bhkbac-odds-grid article{padding:18px;border-radius:16px}.bhkbac-odds-grid strong{display:block;font-size:29px;color:#fff;margin:4px 0}.bhkbac-odds-grid small,.bhkbac-odds-grid p{color:#c6d5d0}.bhkbac-odds-grid p{margin:0;line-height:1.5}
.bhkbac-dot{display:inline-block;width:11px;height:11px;border-radius:50%;margin-bottom:8px}.bhkbac-dot--banker{background:var(--banker)}.bhkbac-dot--player{background:var(--player)}.bhkbac-dot--tie{background:var(--tie)}

/* Road table */
.bhkbac-road-controls{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;align-items:center;margin-bottom:14px}
.bhkbac-pair-options{display:flex;gap:13px;flex-wrap:wrap;color:#d4e1dc}.bhkbac-pair-options label{display:flex;gap:6px;align-items:center}
.bhkbac-road-btn{border:0;border-radius:10px;padding:11px 16px;color:#fff;font-weight:900;cursor:pointer}.bhkbac-road-btn--banker{background:linear-gradient(180deg,var(--banker),var(--banker2))}.bhkbac-road-btn--player{background:linear-gradient(180deg,var(--player),var(--player2))}.bhkbac-road-btn--tie{background:linear-gradient(180deg,var(--tie),var(--tie2))}
.bhkbac-road-card{padding:17px;border-radius:17px;border:1px solid rgba(212,173,88,.17);background:rgba(0,0,0,.10);box-shadow:var(--shadow)}
.bhkbac-road-title{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-bottom:10px}.bhkbac-road-title small{color:#7fe4c9}.bhkbac-road-title h3{margin:2px 0 0;color:#fff;font-size:22px}.bhkbac-road-title>span{font-size:12px;color:#b8ccc5}
.bhkbac-road-scroll{overflow:auto;border-radius:10px;background:#f8fbfc;padding:2px}
.bhkbac-bead-grid,.bhkbac-bigroad{display:grid;grid-auto-flow:column;grid-template-rows:repeat(6,42px);grid-auto-columns:42px;min-width:100%;width:max-content;background-image:linear-gradient(#dce6ea 1px,transparent 1px),linear-gradient(90deg,#dce6ea 1px,transparent 1px);background-size:42px 42px}
.bhkbac-road-cell{width:42px;height:42px;display:grid;place-items:center;position:relative}
.bhkbac-chip{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:12px;font-weight:950;position:relative}.bhkbac-chip--B{background:var(--banker)}.bhkbac-chip--P{background:var(--player)}.bhkbac-chip--T{background:var(--tie)}
.bhkbac-chip .pair-b,.bhkbac-ring .pair-b{position:absolute;left:-2px;bottom:-2px;width:8px;height:8px;border-radius:50%;background:var(--banker);border:1px solid #fff}.bhkbac-chip .pair-p,.bhkbac-ring .pair-p{position:absolute;right:-2px;bottom:-2px;width:8px;height:8px;border-radius:50%;background:var(--player);border:1px solid #fff}
.bhkbac-ring{width:28px;height:28px;border-radius:50%;border:4px solid;display:grid;place-items:center;position:relative;background:#fff}.bhkbac-ring--B{border-color:var(--banker)}.bhkbac-ring--P{border-color:var(--player)}.bhkbac-ring .tie-mark{font-size:10px;font-weight:950;color:var(--tie);background:#fff;padding:0 2px}
.bhkbac-road-disclaimer{margin-top:14px;padding:13px 15px;border-left:4px solid var(--gold);border-radius:11px;background:rgba(255,255,255,.045);color:#d0ddd8;line-height:1.6}

/* Stats */
.bhkbac-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.bhkbac-stat-grid article{padding:16px;border-radius:14px}.bhkbac-stat-grid span,.bhkbac-stat-grid small{display:block;color:#b9ccc5}.bhkbac-stat-grid strong{display:block;color:#fff;font-size:27px;margin:3px 0}
.bhkbac-history-panel{display:flex;justify-content:space-between;gap:18px;align-items:end;margin-top:15px;padding:17px;border-radius:15px}.bhkbac-history-panel h3{margin:0 0 8px;color:#fff}.bhkbac-recent{display:flex;gap:5px;flex-wrap:wrap}.bhkbac-recent .mini{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:11px;font-weight:900}.bhkbac .mini.B{background:var(--banker)}.bhkbac .mini.P{background:var(--player)}.bhkbac .mini.T{background:var(--tie)}

/* Rules rail */
.bhkbac-checklist{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:11px}
.bhkbac-checklist li{position:relative;padding:15px 15px 15px 44px;border-radius:14px;border:1px solid var(--goldline);background:linear-gradient(180deg,var(--felt3),var(--felt2));line-height:1.58}
.bhkbac-checklist li:before{content:"♠";position:absolute;left:15px;top:14px;color:var(--gold2);font-weight:950}

/* responsive */
@media(max-width:920px){
  .bhkbac-feature-grid{grid-template-columns:repeat(2,1fr)}
  .bhkbac-tool-grid{grid-template-columns:1fr}
  .bhkbac-stat-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  .bhkbac-table-top{display:block}.bhkbac-dealer-tray{width:max-content;margin-top:15px}
  .bhkbac-bet-layout{grid-template-columns:1fr 1fr}.bhkbac-bet-zone--tie{grid-column:1/-1;grid-row:2;min-height:95px}
}
@media(max-width:620px){
  .bhkbac-shell{width:min(100% - 22px,1180px)}
  .bhkbac-hero{padding:46px 0 38px}.bhkbac-hero h1{font-size:35px}
  .bhkbac-section{padding:36px 0}
  .bhkbac-feature-grid,.bhkbac-two,.bhkbac-odds-grid,.bhkbac-stat-grid,.bhkbac-checklist{grid-template-columns:1fr}
  .bhkbac-card-row{grid-template-columns:1fr}.bhkbac-card-row--2{grid-template-columns:1fr 1fr}
  .bhkbac-work-tab-buttons button,.bhkbac-inline-tab-buttons button{width:100%}
  .bhkbac-history-panel{display:block}.bhkbac-history-panel .bhkbac-actions{margin-top:13px}
  .bhkbac-road-title{display:block}.bhkbac-road-title>span{display:block;margin-top:4px}
}


/* =========================================================
   v2.0.0 - Real baccarat simulator table
   No decorative images. The table itself is the visual.
========================================================= */
.bhkbac-sim{
  padding:28px 0 34px;
  background:
    repeating-linear-gradient(0deg,rgba(255,255,255,.006) 0 1px,transparent 1px 6px),
    linear-gradient(180deg,#06131c,#081e27);
  border-bottom:1px solid var(--goldline);
}
.bhkbac-sim-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:16px;
}
.bhkbac-sim-eyebrow{
  color:var(--gold2);
  font-size:11px;
  font-weight:950;
  letter-spacing:.14em;
}
.bhkbac-sim-topbar h2{
  margin:4px 0 5px;
  color:#fff;
  font-size:clamp(28px,4vw,42px);
}
.bhkbac-sim-topbar p{
  margin:0;
  color:#c8d7d2;
  line-height:1.6;
}
.bhkbac-shoe-status{
  flex:0 0 auto;
  min-width:118px;
  text-align:center;
  padding:10px 13px;
  border-radius:14px;
  border:1px solid var(--goldline);
  background:rgba(255,255,255,.045);
}
.bhkbac-shoe-status span,.bhkbac-shoe-status small{
  display:block;
  color:#b8cac4;
  font-size:10px;
  font-weight:800;
}
.bhkbac-shoe-status strong{
  display:block;
  margin:2px 0;
  color:#fff;
  font-size:27px;
}

.bhkbac-table{
  position:relative;
  overflow:hidden;
  padding:20px;
  border:6px solid #271a12;
  border-radius:34px 34px 90px 90px;
  background:
    radial-gradient(ellipse at 50% 92%,rgba(255,255,255,.04),transparent 35%),
    repeating-linear-gradient(90deg,rgba(255,255,255,.006) 0 1px,transparent 1px 7px),
    linear-gradient(180deg,#0f513e,#0a3d30 50%,#082f27);
  box-shadow:
    inset 0 0 0 2px rgba(212,173,88,.40),
    inset 0 0 60px rgba(0,0,0,.25),
    0 28px 60px rgba(0,0,0,.35);
}
.bhkbac-table:before{
  content:"";
  position:absolute;
  inset:14px;
  border:1px solid rgba(240,209,138,.18);
  border-radius:24px 24px 74px 74px;
  pointer-events:none;
}
.bhkbac-table-header{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:160px 1fr 110px;
  gap:14px;
  align-items:center;
  margin-bottom:18px;
}
.bhkbac-bankroll,.bhkbac-round{
  padding:10px 12px;
  border-radius:13px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.10);
}
.bhkbac-bankroll span,.bhkbac-round span{
  display:block;
  color:#b8cdc6;
  font-size:11px;
  font-weight:850;
}
.bhkbac-bankroll strong,.bhkbac-round strong{
  display:block;
  color:var(--gold2);
  font-size:23px;
}
.bhkbac-table-message{
  min-width:0;
  padding:11px 14px;
  border-radius:13px;
  text-align:center;
  color:#f1ead8;
  font-weight:800;
  background:rgba(0,0,0,.14);
  border:1px solid rgba(212,173,88,.15);
}

.bhkbac-hands{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1fr 170px 1fr;
  gap:14px;
  align-items:stretch;
  margin-bottom:17px;
}
.bhkbac-hand-zone{
  min-width:0;
  padding:14px;
  border-radius:19px;
  background:rgba(0,0,0,.14);
  border:2px solid;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.bhkbac-hand-zone--player{border-color:rgba(59,134,232,.70)}
.bhkbac-hand-zone--banker{border-color:rgba(215,78,92,.70)}
.bhkbac-hand-zone__head{
  display:grid;
  grid-template-columns:auto auto 1fr;
  gap:8px;
  align-items:baseline;
  margin-bottom:10px;
}
.bhkbac-hand-zone__head span{
  color:#bdd0ca;
  font-size:10px;
  font-weight:950;
  letter-spacing:.12em;
}
.bhkbac-hand-zone__head strong{
  color:#fff;
  font-size:23px;
}
.bhkbac-hand-zone__head b{
  justify-self:end;
  color:var(--gold2);
  font-size:20px;
}
.bhkbac-dealt-cards{
  display:flex;
  justify-content:center;
  gap:9px;
  min-height:118px;
}
.bhkbac-playing-card{
  width:74px;
  height:108px;
  border-radius:9px;
  padding:7px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:#fffdf7;
  color:#13181b;
  border:1px solid rgba(0,0,0,.22);
  box-shadow:0 10px 18px rgba(0,0,0,.25);
  font-family:Georgia,"Times New Roman",serif;
  animation:bhkbac-deal-in .18s ease-out;
}
.bhkbac-playing-card.is-red{color:#c6404c}
.bhkbac-playing-card strong{font-size:26px;line-height:1}
.bhkbac-playing-card em{
  align-self:flex-end;
  font-size:30px;
  line-height:1;
  font-style:normal;
}
.bhkbac-card-placeholder{
  width:74px;
  height:108px;
  border-radius:9px;
  display:grid;
  place-items:center;
  border:1px dashed rgba(255,255,255,.20);
  color:rgba(255,255,255,.25);
  font-size:30px;
  background:rgba(0,0,0,.08);
}
@keyframes bhkbac-deal-in{
  from{transform:translateY(-8px) scale(.96);opacity:.25}
  to{transform:none;opacity:1}
}
.bhkbac-center-emblem{
  align-self:center;
  text-align:center;
  padding:13px 8px;
  border-radius:50%;
  aspect-ratio:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(240,209,138,.28);
  color:#fff;
  background:rgba(0,0,0,.13);
}
.bhkbac-center-emblem span{
  color:var(--gold2);
  font-size:10px;
  font-weight:950;
  letter-spacing:.13em;
}
.bhkbac-center-emblem strong{
  margin:5px 0;
  font-size:18px;
}
.bhkbac-center-emblem small{
  color:#cbd9d4;
  min-height:16px;
}

.bhkbac-bet-board{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:.55fr 1fr .72fr 1fr .55fr;
  gap:9px;
  align-items:stretch;
  margin-bottom:17px;
}
.bhkbac-main-zone,.bhkbac-side-zone{
  min-width:0;
  border-radius:18px;
  color:#fff;
  cursor:pointer;
  border:2px solid rgba(255,255,255,.24);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:13px 9px;
  min-height:122px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10);
}
.bhkbac-main-zone span,.bhkbac-side-zone span{
  font-size:10px;
  letter-spacing:.10em;
  font-weight:950;
  opacity:.86;
}
.bhkbac-main-zone strong{font-size:35px;line-height:1;margin:7px 0}
.bhkbac-side-zone strong{font-size:23px;line-height:1;margin:6px 0}
.bhkbac-main-zone small,.bhkbac-side-zone small{font-size:11px;font-weight:800;opacity:.9}
.bhkbac-main-zone b,.bhkbac-side-zone b{
  margin-top:8px;
  min-width:48px;
  padding:4px 7px;
  border-radius:999px;
  color:#fff;
  background:rgba(0,0,0,.22);
  font-size:13px;
}
.bhkbac-main-zone--player,.bhkbac-side-zone--player{
  background:linear-gradient(180deg,#408ce9,#245fae);
}
.bhkbac-main-zone--banker,.bhkbac-side-zone--banker{
  background:linear-gradient(180deg,#db5966,#a9303d);
}
.bhkbac-main-zone--tie{
  background:linear-gradient(180deg,#31bb7c,#17794d);
}
.bhkbac-main-zone:hover,.bhkbac-side-zone:hover{
  filter:brightness(1.05);
}
.bhkbac-main-zone.has-bet,.bhkbac-side-zone.has-bet{
  box-shadow:inset 0 0 0 3px rgba(240,209,138,.70),0 0 0 2px rgba(0,0,0,.20);
}

.bhkbac-table-controls{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  padding-top:4px;
}
.bhkbac-chip-selector{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}
.bhkbac-chip-selector>span{
  color:#d7e4df;
  font-size:12px;
  font-weight:900;
}
.bhkbac-sim-chip{
  width:50px;
  height:50px;
  border-radius:50%;
  border:3px dashed rgba(255,255,255,.68);
  color:#fff;
  font-weight:950;
  cursor:pointer;
  background:#b08634;
  box-shadow:inset 0 0 0 4px rgba(0,0,0,.12),0 7px 12px rgba(0,0,0,.19);
}
.bhkbac-sim-chip:nth-of-type(2){background:#238e68}
.bhkbac-sim-chip:nth-of-type(3){background:#337ed2}
.bhkbac-sim-chip:nth-of-type(4){background:#c54b58}
.bhkbac-sim-chip:nth-of-type(5){background:#754d8c}
.bhkbac-sim-chip.is-active{
  transform:translateY(-2px);
  outline:3px solid rgba(240,209,138,.72);
}
.bhkbac-deal-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.bhkbac-deal-button{
  min-width:138px;
  border:0;
  border-radius:12px;
  padding:13px 18px;
  background:linear-gradient(180deg,#f0d18a,#caa34f);
  color:#112018;
  font-weight:950;
  letter-spacing:.05em;
  cursor:pointer;
  box-shadow:0 9px 18px rgba(0,0,0,.20);
}
.bhkbac-deal-button:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.bhkbac-last-settlement{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:auto auto 1fr;
  gap:10px;
  align-items:center;
  margin-top:14px;
  padding:10px 13px;
  border-radius:12px;
  background:rgba(0,0,0,.15);
  border:1px solid rgba(255,255,255,.08);
}
.bhkbac-last-settlement span,.bhkbac-last-settlement small{color:#bcd0c9}
.bhkbac-last-settlement strong{color:var(--gold2)}
.bhkbac-sim-footer{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-top:11px;
  color:#adc0ba;
  font-size:12px;
}
.bhkbac-sim-footer button{
  border:0;
  background:none;
  color:var(--gold2);
  text-decoration:underline;
  cursor:pointer;
  font-weight:850;
}

/* Overview accommodates one more tool */
.bhkbac-feature-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

/* Route manual-road buttons visually as table controls */
.bhkbac-road-btn--banker{background:linear-gradient(180deg,#db5966,#a9303d)!important}
.bhkbac-road-btn--player{background:linear-gradient(180deg,#408ce9,#245fae)!important}
.bhkbac-road-btn--tie{background:linear-gradient(180deg,#31bb7c,#17794d)!important}

@media(max-width:980px){
  .bhkbac-feature-grid{grid-template-columns:repeat(2,1fr)}
  .bhkbac-bet-board{grid-template-columns:1fr 1fr 1fr}
  .bhkbac-side-zone--player{grid-column:1}
  .bhkbac-main-zone--player{grid-column:1}
  .bhkbac-main-zone--tie{grid-column:2;grid-row:1 / span 2}
  .bhkbac-main-zone--banker{grid-column:3}
  .bhkbac-side-zone--banker{grid-column:3}
}
@media(max-width:760px){
  .bhkbac-sim-topbar{display:block}
  .bhkbac-shoe-status{width:max-content;margin-top:12px}
  .bhkbac-table-header{grid-template-columns:1fr 1fr}
  .bhkbac-table-message{grid-column:1/-1;grid-row:2}
  .bhkbac-hands{grid-template-columns:1fr}
  .bhkbac-center-emblem{width:120px;justify-self:center;aspect-ratio:1}
  .bhkbac-table-controls{display:block}
  .bhkbac-deal-actions{margin-top:12px;justify-content:flex-start}
}
@media(max-width:560px){
  .bhkbac-table{padding:14px;border-width:4px;border-radius:26px 26px 56px 56px}
  .bhkbac-bet-board{grid-template-columns:1fr 1fr}
  .bhkbac-main-zone--tie{grid-column:1/-1;grid-row:auto}
  .bhkbac-side-zone--banker{grid-column:auto}
  .bhkbac-dealt-cards{gap:6px}
  .bhkbac-playing-card,.bhkbac-card-placeholder{width:62px;height:92px}
  .bhkbac-playing-card strong{font-size:22px}.bhkbac-playing-card em{font-size:25px}
  .bhkbac-last-settlement{grid-template-columns:1fr}
  .bhkbac-sim-footer{display:block}
  .bhkbac-sim-footer button{margin-top:6px}
  .bhkbac-feature-grid{grid-template-columns:1fr}
}


/* =========================================================
   v2.1.0 - Sequential deal + chips on betting zones
========================================================= */
.bhkbac-bankroll small{
  display:inline-block;
  margin-top:4px;
  color:#a9beb7;
  font-size:10px;
  font-weight:800;
}
.bhkbac-bankroll em{
  margin-left:6px;
  color:#fff;
  font-style:normal;
  font-size:12px;
  font-weight:900;
}

.bhkbac-dealer-shoe{
  position:absolute;
  z-index:2;
  top:12px;
  left:50%;
  transform:translateX(-50%);
  width:92px;
  height:46px;
  border-radius:10px 10px 18px 18px;
  border:1px solid rgba(240,209,138,.25);
  background:linear-gradient(180deg,#222d33,#0c151a);
  box-shadow:0 8px 18px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}
.bhkbac-dealer-shoe:after{
  content:"";
  position:absolute;
  left:14px;right:14px;bottom:-5px;
  height:9px;
  border-radius:0 0 7px 7px;
  background:#06090b;
}
.bhkbac-dealer-shoe span{
  position:relative;
  z-index:2;
  color:#d6c28d;
  font-size:9px;
  letter-spacing:.12em;
  font-weight:950;
}
.bhkbac-shoe-deck{
  position:absolute;
  left:16px;right:16px;top:7px;
  height:20px;
  border-radius:4px;
  background:
    repeating-linear-gradient(0deg,#f5f2e9 0 2px,#bfc6c9 2px 3px);
  opacity:.82;
}

.bhkbac-main-zone,
.bhkbac-side-zone{
  position:relative;
  overflow:visible;
}
.bhkbac-zone-chip-stack{
  position:relative;
  height:30px;
  min-width:56px;
  margin:5px 0 1px;
  display:flex;
  justify-content:center;
  align-items:flex-end;
}
.bhkbac-zone-chip{
  position:absolute;
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:8px;
  font-weight:950;
  border:2px dashed rgba(255,255,255,.78);
  box-shadow:0 5px 10px rgba(0,0,0,.28), inset 0 0 0 2px rgba(0,0,0,.14);
  animation:bhkbac-chip-land .18s ease-out both;
}
.bhkbac-zone-chip[data-denom="10"]{background:#b7852d}
.bhkbac-zone-chip[data-denom="50"]{background:#218a64}
.bhkbac-zone-chip[data-denom="100"]{background:#337bd0}
.bhkbac-zone-chip[data-denom="500"]{background:#c34755}
.bhkbac-zone-chip[data-denom="1000"]{background:#704888}
@keyframes bhkbac-chip-land{
  from{transform:translateY(-18px) scale(.7);opacity:.15}
  to{opacity:1}
}
.bhkbac-chip-fly{
  position:fixed!important;
  z-index:9999!important;
  pointer-events:none!important;
  transition:transform .34s cubic-bezier(.18,.83,.32,1),opacity .34s ease!important;
}
.bhkbac-main-zone.is-winner,
.bhkbac-side-zone.is-winner{
  animation:bhkbac-win-pulse .75s ease 2;
  box-shadow:0 0 0 3px rgba(240,209,138,.82),0 0 30px rgba(240,209,138,.32)!important;
}
@keyframes bhkbac-win-pulse{
  0%,100%{filter:brightness(1)}
  50%{filter:brightness(1.28)}
}
.bhkbac-main-zone.is-loser,
.bhkbac-side-zone.is-loser{
  opacity:.68;
}

.bhkbac-playing-card{
  transform-origin:50% 50%;
}
.bhkbac-playing-card.is-dealing{
  animation:bhkbac-card-deal .38s cubic-bezier(.18,.82,.28,1) both;
}
@keyframes bhkbac-card-deal{
  0%{
    transform:translate(var(--deal-x,0),var(--deal-y,-160px)) rotate(var(--deal-r,-6deg)) scale(.72);
    opacity:.05;
  }
  70%{
    transform:translate(0,3px) rotate(1deg) scale(1.02);
    opacity:1;
  }
  100%{
    transform:none;
    opacity:1;
  }
}
.bhkbac-card-placeholder.is-pending{
  animation:bhkbac-placeholder-pulse .75s ease-in-out infinite alternate;
}
@keyframes bhkbac-placeholder-pulse{
  from{opacity:.24}
  to{opacity:.58}
}
.bhkbac-center-emblem.is-resolving{
  animation:bhkbac-resolve-spin .5s ease;
}
@keyframes bhkbac-resolve-spin{
  0%{transform:scale(.96)}
  55%{transform:scale(1.06)}
  100%{transform:none}
}
.bhkbac-table-message.is-dealing{
  color:#f4dda6;
}
.bhkbac-last-settlement.is-win strong{
  text-shadow:0 0 16px rgba(240,209,138,.50);
}
.bhkbac-last-settlement.is-loss strong{
  text-shadow:0 0 14px rgba(255,100,112,.35);
}

@media(max-width:760px){
  .bhkbac-dealer-shoe{top:8px;width:78px;height:40px}
  .bhkbac-zone-chip{width:27px;height:27px;font-size:7px}
  .bhkbac-zone-chip-stack{height:27px}
}


/* =========================================================
   v2.2.0 - Bugfix + dealer stage + stronger table effects
========================================================= */

/* Dealer stage sits in normal flow: no overlay on table message/buttons */
.bhkbac-dealer-stage{
  position:relative;
  z-index:3;
  min-height:112px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:14px;
  margin:-4px auto 10px;
  pointer-events:none;
}
.bhkbac-dealer-avatar{
  position:relative;
  width:94px;
  height:108px;
  flex:0 0 94px;
}
.bhkbac-dealer-hair--back{
  position:absolute;
  left:17px;
  top:4px;
  width:61px;
  height:72px;
  border-radius:50% 50% 46% 46%;
  background:linear-gradient(145deg,#f2d58b 0%,#d5a745 58%,#9d7427 100%);
  box-shadow:0 5px 16px rgba(0,0,0,.24);
}
.bhkbac-dealer-face{
  position:absolute;
  z-index:3;
  left:28px;
  top:17px;
  width:40px;
  height:48px;
  border-radius:46% 46% 48% 48%;
  background:linear-gradient(180deg,#f6d4b6,#e5b692);
  box-shadow:inset 0 -3px 0 rgba(156,93,68,.08);
}
.bhkbac-dealer-hair--front{
  position:absolute;
  z-index:4;
  left:24px;
  top:8px;
  width:51px;
  height:30px;
  border-radius:55% 55% 35% 20%;
  background:linear-gradient(145deg,#f5d98d,#c89635);
  clip-path:polygon(0 0,100% 0,91% 73%,68% 44%,48% 76%,31% 42%,10% 78%);
}
.bhkbac-dealer-eye{
  position:absolute;
  top:21px;
  width:4px;
  height:3px;
  border-radius:50%;
  background:#42362f;
}
.bhkbac-dealer-eye--l{left:10px}
.bhkbac-dealer-eye--r{right:10px}
.bhkbac-dealer-mouth{
  position:absolute;
  left:15px;
  bottom:9px;
  width:11px;
  height:5px;
  border-bottom:2px solid #b05f64;
  border-radius:50%;
}
.bhkbac-dealer-neck{
  position:absolute;
  z-index:2;
  left:42px;
  top:59px;
  width:13px;
  height:17px;
  background:#e5b692;
}
.bhkbac-dealer-body{
  position:absolute;
  z-index:2;
  left:14px;
  bottom:0;
  width:69px;
  height:48px;
  border-radius:34px 34px 8px 8px;
  background:linear-gradient(180deg,#121c23,#071117);
  border:1px solid rgba(240,209,138,.18);
}
.bhkbac-dealer-shirt{
  position:absolute;
  left:28px;
  top:0;
  width:13px;
  height:23px;
  background:#f6f3e9;
  clip-path:polygon(0 0,100% 0,50% 100%);
}
.bhkbac-dealer-bow{
  position:absolute;
  left:26px;
  top:6px;
  width:17px;
  height:8px;
  background:#c8a24e;
  clip-path:polygon(0 50%,35% 0,50% 40%,65% 0,100% 50%,65% 100%,50% 60%,35% 100%);
}
.bhkbac-dealer-arm{
  position:absolute;
  z-index:1;
  bottom:7px;
  width:42px;
  height:11px;
  border-radius:10px;
  background:#e5b692;
}
.bhkbac-dealer-arm--l{
  left:-5px;
  transform:rotate(10deg);
}
.bhkbac-dealer-arm--r{
  right:-5px;
  transform:rotate(-10deg);
}
.bhkbac-dealer-tag{
  align-self:center;
  min-width:82px;
  padding:7px 9px;
  border-radius:10px;
  text-align:center;
  background:rgba(0,0,0,.17);
  border:1px solid rgba(240,209,138,.16);
}
.bhkbac-dealer-tag small,
.bhkbac-dealer-tag strong{
  display:block;
}
.bhkbac-dealer-tag small{
  color:#b9cbc5;
  font-size:8px;
  letter-spacing:.12em;
}
.bhkbac-dealer-tag strong{
  color:var(--gold2);
  font-size:12px;
  margin-top:2px;
}
.bhkbac-table-shoe{
  align-self:center;
  width:82px;
  height:42px;
  position:relative;
  border-radius:10px 10px 16px 16px;
  background:linear-gradient(180deg,#273139,#0c1419);
  border:1px solid rgba(240,209,138,.18);
  box-shadow:0 8px 16px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.08);
}
.bhkbac-table-shoe:after{
  content:"";
  position:absolute;
  left:13px;
  right:13px;
  bottom:-5px;
  height:8px;
  border-radius:0 0 7px 7px;
  background:#05090c;
}
.bhkbac-table-shoe span{
  position:absolute;
  inset:auto 0 4px;
  text-align:center;
  color:#d4bd7d;
  font-size:8px;
  font-weight:950;
  letter-spacing:.10em;
}
.bhkbac-table-shoe__cards{
  position:absolute;
  left:15px;
  right:15px;
  top:7px;
  height:17px;
  border-radius:4px;
  background:repeating-linear-gradient(0deg,#f5f0e5 0 2px,#b8c0c2 2px 3px);
}

/* Important: buttons/tabs must always be clickable above decorative layers */
.bhkbac-work-tab-buttons,
.bhkbac-inline-tab-buttons,
.bhkbac-road-controls,
.bhkbac-table-controls,
.bhkbac-bet-board{
  position:relative;
  z-index:6;
  pointer-events:auto;
}
.bhkbac-work-tab-buttons button,
.bhkbac-inline-tab-buttons button,
.bhkbac-road-controls button,
.bhkbac-table-controls button,
.bhkbac-bet-board button{
  pointer-events:auto;
}

/* Chips visibly sit ON the betting fields */
.bhkbac-zone-chip-stack{
  position:absolute;
  z-index:8;
  left:50%;
  bottom:9px;
  transform:translateX(-50%);
  width:76px;
  height:39px;
  pointer-events:none;
  margin:0;
}
.bhkbac-main-zone b,
.bhkbac-side-zone b{
  position:relative;
  z-index:9;
  margin-top:40px;
}
.bhkbac-zone-chip{
  position:absolute;
  left:50%;
  bottom:3px;
}
.bhkbac-main-zone.has-bet,
.bhkbac-side-zone.has-bet{
  transform:translateY(-1px);
}

/* Card backs briefly cover the face while each card slides from the dealer area */
.bhkbac-playing-card{
  overflow:hidden;
}
.bhkbac-playing-card.is-flipping:after{
  content:"";
  position:absolute;
  inset:4px;
  z-index:10;
  border-radius:6px;
  border:2px solid #e8dbc0;
  background:
    repeating-linear-gradient(45deg,#173b6c 0 5px,#f1e3c4 5px 7px,#9f2d3b 7px 12px);
  box-shadow:inset 0 0 0 3px #173b6c;
  animation:bhkbac-card-back-away .34s ease .10s forwards;
}
@keyframes bhkbac-card-back-away{
  0%{opacity:1;transform:rotateY(0)}
  65%{opacity:1;transform:rotateY(82deg)}
  100%{opacity:0;transform:rotateY(90deg)}
}

/* Make the result visually clear but restrained */
.bhkbac-main-zone.is-winner,
.bhkbac-side-zone.is-winner{
  animation:bhkbac-win-pulse .55s ease 2;
}
.bhkbac-main-zone.is-loser,
.bhkbac-side-zone.is-loser{
  filter:saturate(.65) brightness(.8);
}

/* Road paper visibility guard */
.bhkbac-road-compact .bhkbac-tab-panel.is-active{
  display:block;
}
.bhkbac-road-compact .bhkbac-tab-panel:not(.is-active){
  display:none;
}

@media(max-width:760px){
  .bhkbac-dealer-stage{
    min-height:98px;
    transform:scale(.92);
    transform-origin:center bottom;
  }
}


/* =========================================================
   v2.3.0 - Remove cartoon dealer + real mobile table layout
========================================================= */

/* Remove the fake-person feel entirely. Keep only a professional dealer rail. */
.bhkbac-dealer-stage,
.bhkbac-dealer-avatar,
.bhkbac-dealer-tag{
  display:none!important;
}
.bhkbac-dealer-rail{
  position:relative;
  z-index:3;
  min-height:62px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin:-2px auto 8px;
  pointer-events:none;
}
.bhkbac-dealer-rail__label{
  min-width:92px;
  padding:7px 10px;
  border-radius:10px;
  text-align:center;
  border:1px solid rgba(240,209,138,.16);
  background:rgba(0,0,0,.16);
}
.bhkbac-dealer-rail__label small,
.bhkbac-dealer-rail__label strong{
  display:block;
}
.bhkbac-dealer-rail__label small{
  color:#aebfba;
  font-size:8px;
  letter-spacing:.13em;
}
.bhkbac-dealer-rail__label strong{
  color:var(--gold2);
  font-size:12px;
  margin-top:2px;
}

/* Stronger responsive table rules. */
@media(max-width:620px){

  .bhkbac-sim{
    padding:18px 0 24px;
  }

  .bhkbac-sim .bhkbac-shell{
    width:calc(100% - 12px);
  }

  .bhkbac-sim-topbar{
    display:grid;
    grid-template-columns:1fr auto;
    gap:10px;
    align-items:end;
    margin-bottom:10px;
  }

  .bhkbac-sim-topbar h2{
    font-size:25px;
    line-height:1.12;
  }

  .bhkbac-sim-topbar p{
    grid-column:1/-1;
    font-size:13px;
    line-height:1.5;
  }

  .bhkbac-shoe-status{
    min-width:86px;
    padding:7px 9px;
  }

  .bhkbac-shoe-status strong{
    font-size:22px;
  }

  .bhkbac-table{
    padding:10px 9px 14px;
    border-width:4px;
    border-radius:22px 22px 42px 42px;
  }

  .bhkbac-table:before{
    inset:7px;
    border-radius:17px 17px 34px 34px;
  }

  .bhkbac-dealer-rail{
    min-height:48px;
    gap:8px;
    margin:0 auto 6px;
  }

  .bhkbac-table-shoe{
    width:68px;
    height:35px;
  }

  .bhkbac-dealer-rail__label{
    min-width:80px;
    padding:5px 7px;
  }

  .bhkbac-table-header{
    display:grid;
    grid-template-columns:1fr 86px;
    gap:7px;
    margin-bottom:9px;
  }

  .bhkbac-bankroll,
  .bhkbac-round{
    padding:8px 9px;
  }

  .bhkbac-bankroll strong,
  .bhkbac-round strong{
    font-size:20px;
  }

  .bhkbac-table-message{
    grid-column:1/-1;
    grid-row:2;
    padding:8px 10px;
    font-size:12px;
  }

  /* Player and Banker stay side-by-side on phones. */
  .bhkbac-hands{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:7px;
    align-items:start;
    margin-bottom:9px;
  }

  .bhkbac-hand-zone{
    padding:8px;
    border-radius:13px;
  }

  .bhkbac-hand-zone__head{
    grid-template-columns:auto auto 1fr;
    gap:4px;
    margin-bottom:6px;
  }

  .bhkbac-hand-zone__head span{
    font-size:8px;
  }

  .bhkbac-hand-zone__head strong{
    font-size:17px;
  }

  .bhkbac-hand-zone__head b{
    font-size:15px;
  }

  .bhkbac-dealt-cards{
    min-height:78px;
    gap:3px;
  }

  .bhkbac-playing-card,
  .bhkbac-card-placeholder{
    width:46px;
    height:69px;
    border-radius:6px;
  }

  .bhkbac-playing-card{
    padding:4px;
  }

  .bhkbac-playing-card strong{
    font-size:18px;
  }

  .bhkbac-playing-card em{
    font-size:20px;
  }

  /* Result emblem becomes a compact full-width bar below both hands. */
  .bhkbac-center-emblem{
    grid-column:1/-1;
    grid-row:2;
    width:100%;
    min-height:46px;
    aspect-ratio:auto;
    border-radius:12px;
    padding:7px 10px;
    margin-top:0;
    flex-direction:row;
    gap:8px;
  }

  .bhkbac-center-emblem span{
    font-size:8px;
  }

  .bhkbac-center-emblem strong{
    margin:0;
    font-size:15px;
  }

  .bhkbac-center-emblem small{
    min-height:0;
    font-size:10px;
  }

  /* Mobile betting board: main bets first, Tie full width, pairs last. */
  .bhkbac-bet-board{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-areas:
      "player banker"
      "tie tie"
      "ppair bpair";
    gap:7px;
    margin-bottom:10px;
  }

  .bhkbac-main-zone--player{
    grid-area:player!important;
  }

  .bhkbac-main-zone--banker{
    grid-area:banker!important;
  }

  .bhkbac-main-zone--tie{
    grid-area:tie!important;
  }

  .bhkbac-side-zone--player{
    grid-area:ppair!important;
  }

  .bhkbac-side-zone--banker{
    grid-area:bpair!important;
  }

  .bhkbac-main-zone,
  .bhkbac-side-zone{
    grid-column:auto!important;
    grid-row:auto!important;
    width:100%;
    min-width:0;
  }

  .bhkbac-main-zone{
    min-height:92px;
    padding:9px 6px 8px;
  }

  .bhkbac-main-zone--tie{
    min-height:74px;
  }

  .bhkbac-side-zone{
    min-height:72px;
    padding:8px 6px 7px;
  }

  .bhkbac-main-zone strong{
    font-size:27px;
    margin:4px 0;
  }

  .bhkbac-side-zone strong{
    font-size:19px;
    margin:3px 0;
  }

  .bhkbac-main-zone span,
  .bhkbac-side-zone span{
    font-size:8px;
  }

  .bhkbac-main-zone small,
  .bhkbac-side-zone small{
    font-size:9px;
  }

  /* Chips remain physically on the zones without pushing layout. */
  .bhkbac-zone-chip-stack{
    width:60px;
    height:27px;
    bottom:5px;
  }

  .bhkbac-zone-chip{
    width:23px;
    height:23px;
    font-size:6px;
  }

  .bhkbac-main-zone b,
  .bhkbac-side-zone b{
    margin-top:29px;
    font-size:11px;
    min-width:38px;
    padding:3px 5px;
  }

  /* Chip tray wraps cleanly. */
  .bhkbac-table-controls{
    display:block;
    padding-top:0;
  }

  .bhkbac-chip-selector{
    justify-content:center;
    gap:5px;
    margin-bottom:9px;
  }

  .bhkbac-chip-selector>span{
    width:100%;
    text-align:center;
    font-size:10px;
  }

  .bhkbac-sim-chip{
    width:43px;
    height:43px;
    font-size:12px;
  }

  /* 3 small actions + full-width DEAL. */
  .bhkbac-deal-actions{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
    margin-top:0;
  }

  .bhkbac-deal-actions .bhkbac-btn{
    width:100%;
    min-width:0;
    padding:10px 5px;
    font-size:12px;
  }

  .bhkbac-deal-button{
    grid-column:1/-1;
    width:100%;
    min-width:0;
    padding:12px 10px;
    font-size:14px;
  }

  .bhkbac-last-settlement{
    margin-top:10px;
    grid-template-columns:1fr;
    gap:3px;
    padding:8px 10px;
    font-size:11px;
  }

  .bhkbac-sim-footer{
    font-size:10px;
    margin-top:8px;
  }

  /* Workspaces/tabs stay usable on mobile. */
  .bhkbac-work-tab-buttons,
  .bhkbac-inline-tab-buttons{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
  }

  .bhkbac-work-tab-buttons button,
  .bhkbac-inline-tab-buttons button{
    width:100%;
    padding:9px 7px;
    font-size:12px;
  }

  .bhkbac-work-tabs>.bhkbac-tab-panel{
    padding:10px;
    border-radius:16px;
  }

  .bhkbac-road-controls{
    gap:8px;
  }

  .bhkbac-road-buttons{
    width:100%;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
  }

  .bhkbac-road-buttons .bhkbac-road-btn,
  .bhkbac-road-buttons .bhkbac-btn{
    width:100%;
    min-width:0;
    padding:9px 5px;
    font-size:11px;
  }
}


/* =========================================================
   WordPress Hub SEO Layer v1.0.0
========================================================= */
.bhkbac-seo{
  padding:48px 0;
  background:linear-gradient(180deg,#071923,#0a2530);
  color:#fff;
}
.bhkbac-seo:nth-of-type(even){
  background:linear-gradient(180deg,#09251f,#0a3027);
}
.bhkbac-seo-tabs{
  border:1px solid rgba(212,173,88,.20);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.018));
  box-shadow:0 20px 45px rgba(0,0,0,.16);
  overflow:hidden;
}
.bhkbac-seo-tab-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:14px;
  border-bottom:1px solid rgba(255,255,255,.07);
  background:rgba(0,0,0,.10);
}
.bhkbac-seo-tab-buttons button{
  appearance:none;
  border:1px solid rgba(212,173,88,.18);
  border-radius:999px;
  background:rgba(255,255,255,.04);
  color:#e7efec;
  padding:10px 14px;
  font-weight:900;
  cursor:pointer;
}
.bhkbac-seo-tab-buttons button.is-active{
  color:#0b2119;
  background:linear-gradient(180deg,#f0d18a,#d4ad58);
}
.bhkbac-seo-panel{
  display:none;
  padding:24px;
}
.bhkbac-seo-panel.is-active{display:block}
.bhkbac-seo-panel h3{
  margin:0 0 12px;
  color:#fff;
  font-size:26px;
}
.bhkbac-seo-panel h4{
  margin:0 0 7px;
  color:#fff;
  font-size:18px;
}
.bhkbac-seo-panel p{
  color:#d2e0db;
  line-height:1.78;
}
.bhkbac-seo-panel a,
.bhkbac-reference-list a,
.bhkbac-seo-faq a{
  color:#8ee6d0;
  font-weight:850;
}
.bhkbac-seo-steps,
.bhkbac-seo-problems,
.bhkbac-seo-test-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.bhkbac-seo-steps article,
.bhkbac-seo-problems article,
.bhkbac-seo-test-grid article,
.bhkbac-seo-compare article{
  padding:17px;
  border-radius:16px;
  border:1px solid rgba(212,173,88,.16);
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));
}
.bhkbac-seo-steps article>b{
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  border-radius:50%;
  margin-bottom:9px;
  background:linear-gradient(180deg,#f0d18a,#d4ad58);
  color:#102118;
}
.bhkbac-seo-steps strong,
.bhkbac-seo-test-grid b{
  display:block;
  color:#fff;
  margin-bottom:6px;
}
.bhkbac-seo-steps p,
.bhkbac-seo-problems p,
.bhkbac-seo-test-grid p,
.bhkbac-seo-compare p{
  margin:0;
}
.bhkbac-seo-compare{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-bottom:24px;
}
.bhkbac-seo-compare span{
  color:#f0d18a;
  font-size:12px;
  font-weight:950;
  letter-spacing:.08em;
}
.bhkbac-seo-table-wrap{
  overflow:auto;
  border-radius:15px;
  border:1px solid rgba(212,173,88,.17);
  margin:16px 0;
}
.bhkbac-seo table{
  width:100%;
  min-width:760px;
  border-collapse:collapse;
  background:#0b1c25;
}
.bhkbac-seo th,
.bhkbac-seo td{
  padding:12px 13px;
  text-align:left;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.bhkbac-seo th{
  color:#f0d18a;
  background:#09151d;
}
.bhkbac-seo td{color:#e1e9e6}
.bhkbac-seo-formula{
  padding:15px 16px;
  border-left:4px solid #d4ad58;
  border-radius:12px;
  background:rgba(212,173,88,.08);
}
.bhkbac-seo-formula strong{color:#f0d18a}
.bhkbac-seo-formula p{margin:5px 0 0}
.bhkbac-reference-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.bhkbac-reference-list article{
  padding:17px;
  border-radius:16px;
  border:1px solid rgba(212,173,88,.16);
  background:rgba(255,255,255,.035);
}
.bhkbac-reference-list strong{
  color:#fff;
  font-size:17px;
}
.bhkbac-reference-list p{
  color:#cbd9d4;
  line-height:1.68;
}
.bhkbac-seo-faq details{
  margin:10px 0;
  padding:0 17px;
  border-radius:15px;
  border:1px solid rgba(212,173,88,.16);
  background:rgba(255,255,255,.035);
}
.bhkbac-seo-faq summary{
  cursor:pointer;
  padding:16px 34px 16px 0;
  color:#fff;
  font-weight:900;
}
.bhkbac-seo-faq p{
  margin:0;
  padding:0 0 16px;
  color:#cbd9d4;
  line-height:1.7;
}
.bhkbac-seo-next{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:20px;
  align-items:center;
  padding:24px;
  border-radius:20px;
  border:1px solid rgba(212,173,88,.20);
  background:linear-gradient(135deg,#071923,#0a3a2c);
}
.bhkbac-seo-next small{
  color:#f0d18a;
  font-weight:900;
}
.bhkbac-seo-next h2{
  margin:4px 0 7px;
  color:#fff;
  font-size:28px;
}
.bhkbac-seo-next p{
  margin:0;
  color:#cad9d4;
}
.bhkbac-seo-next>a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:10px 17px;
  border-radius:11px;
  text-decoration:none;
  background:linear-gradient(180deg,#f0d18a,#d4ad58);
  color:#102118;
  font-weight:950;
}
@media(max-width:760px){
  .bhkbac-seo{padding:36px 0}
  .bhkbac-seo-tab-buttons{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .bhkbac-seo-tab-buttons button:last-child{grid-column:1/-1}
  .bhkbac-seo-panel{padding:16px}
  .bhkbac-seo-steps,
  .bhkbac-seo-problems,
  .bhkbac-seo-test-grid,
  .bhkbac-seo-compare,
  .bhkbac-reference-list{
    grid-template-columns:1fr;
  }
  .bhkbac-seo-next{grid-template-columns:1fr}
  .bhkbac-seo-next>a{width:100%}
}


/* =========================================================
   v1.0.1 THEME COMPATIBILITY
   Only the interactive baccarat UI owns the casino skin.
   WordPress header/nav/footer + editorial SEO content inherit site CSS.
========================================================= */

/* The plugin must never repaint the WordPress body/header/navigation. */
body.bhk198-bac-wp{
  margin:initial;
  color:inherit;
  background:initial;
  font-family:inherit;
}

/* Normal editorial / SEO areas use the active site's typography and colors. */
.bhkbac .bhkbac-seo,
.bhkbac .bhkbac-seo:nth-of-type(even){
  padding:2.4em 0;
  color:inherit;
  background:transparent;
}
.bhkbac .bhkbac-seo > .bhkbac-shell{
  width:100%;
  margin:0;
}
.bhkbac .bhkbac-seo .bhkbac-section-head{
  color:inherit;
}
.bhkbac .bhkbac-seo .bhkbac-section-head > span{
  display:none;
}
.bhkbac .bhkbac-seo .bhkbac-section-head h2,
.bhkbac .bhkbac-seo .bhkbac-section-head p,
.bhkbac .bhkbac-seo-panel h3,
.bhkbac .bhkbac-seo-panel h4,
.bhkbac .bhkbac-seo-panel p,
.bhkbac .bhkbac-reference-list strong,
.bhkbac .bhkbac-reference-list p,
.bhkbac .bhkbac-seo-faq summary,
.bhkbac .bhkbac-seo-faq p,
.bhkbac .bhkbac-seo-next h2,
.bhkbac .bhkbac-seo-next p{
  color:inherit;
}
.bhkbac .bhkbac-seo-tabs,
.bhkbac .bhkbac-seo-steps article,
.bhkbac .bhkbac-seo-problems article,
.bhkbac .bhkbac-seo-test-grid article,
.bhkbac .bhkbac-seo-compare article,
.bhkbac .bhkbac-reference-list article,
.bhkbac .bhkbac-seo-faq details,
.bhkbac .bhkbac-seo-next{
  color:inherit;
  background:transparent;
  box-shadow:none;
  border-color:currentColor;
  border-color:color-mix(in srgb,currentColor 16%,transparent);
}
.bhkbac .bhkbac-seo-tab-buttons{
  background:transparent;
  border:0;
  padding:0 0 1em;
}
.bhkbac .bhkbac-seo-tab-buttons button{
  color:inherit;
  background:transparent;
  border:1px solid currentColor;
}
.bhkbac .bhkbac-seo-tab-buttons button.is-active{
  color:inherit;
  background:transparent;
  box-shadow:inset 0 -3px 0 currentColor;
}
.bhkbac .bhkbac-seo-panel{
  padding:0;
}
.bhkbac .bhkbac-seo-panel a,
.bhkbac .bhkbac-reference-list a,
.bhkbac .bhkbac-seo-faq a{
  color:inherit;
  text-decoration:underline;
}
.bhkbac .bhkbac-seo table{
  color:inherit;
  background:transparent;
}
.bhkbac .bhkbac-seo th,
.bhkbac .bhkbac-seo td{
  color:inherit;
  background:transparent;
}
.bhkbac .bhkbac-seo-formula{
  color:inherit;
  background:transparent;
}
.bhkbac .bhkbac-seo-next > a{
  color:inherit;
  background:transparent;
  border:1px solid currentColor;
}

/* Chip control reset: GeneratePress/site button padding must not split 10/50/100/500. */
.bhkbac .bhkbac-chip-selector{
  line-height:1;
}
.bhkbac .bhkbac-sim-chip{
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 50px!important;
  width:50px!important;
  min-width:50px!important;
  max-width:50px!important;
  height:50px!important;
  min-height:50px!important;
  padding:0!important;
  margin:0!important;
  line-height:1!important;
  white-space:nowrap!important;
  text-align:center!important;
  letter-spacing:0!important;
  text-indent:0!important;
  overflow:hidden!important;
}
.bhkbac .bhkbac-sim-chip::before,
.bhkbac .bhkbac-sim-chip::after{
  box-sizing:border-box;
}

/* Don't let theme button rules distort baccarat betting controls. */
.bhkbac .bhkbac-main-zone,
.bhkbac .bhkbac-side-zone,
.bhkbac .bhkbac-road-btn,
.bhkbac .bhkbac-deal-button{
  text-transform:none;
  line-height:1.2;
}

/* Mobile chip sizes also reset site button padding. */
@media(max-width:620px){
  .bhkbac .bhkbac-sim-chip{
    flex-basis:43px!important;
    width:43px!important;
    min-width:43px!important;
    max-width:43px!important;
    height:43px!important;
    min-height:43px!important;
    padding:0!important;
  }
}

.bhkbac .bhkbac-hero .bhkbac-tool-title{
  max-width:1020px;
  margin:0 0 18px;
  font-size:clamp(38px,5vw,62px);
  line-height:1.06;
  color:#fff;
  letter-spacing:-.035em;
}
@media(max-width:620px){
  .bhkbac .bhkbac-hero .bhkbac-tool-title{font-size:35px}
}


/* =========================================================
   v1.0.2 - H1 ownership + dark text contrast fix
========================================================= */

/* Hero title is the page's single H1 on the managed tool page. */
.bhkbac .bhkbac-hero .bhkbac-tool-title{
  color:#fff!important;
}

/* Active theme typography must not turn the dark hero note black. */
.bhkbac .bhkbac-note--hero,
.bhkbac .bhkbac-note--hero p,
.bhkbac .bhkbac-note--hero span{
  color:#e7f0ec!important;
}
.bhkbac .bhkbac-note--hero strong{
  color:#f0d18a!important;
}

/* Protect the rest of the dark hero copy from theme text-color overrides. */
.bhkbac .bhkbac-hero > .bhkbac-shell,
.bhkbac .bhkbac-hero .bhkbac-shell{
  color:#fff;
}
.bhkbac .bhkbac-hero .bhkbac-kicker{
  color:#f0d18a!important;
}
.bhkbac .bhkbac-hero p{
  color:#e1ece8!important;
}

/* Tool buttons retain intended contrast even if site button/link CSS is stronger. */
.bhkbac .bhkbac-hero-actions .bhkbac-btn--jade{
  color:#071f18!important;
}
.bhkbac .bhkbac-hero-actions .bhkbac-btn--ghost{
  color:#fff!important;
}
