.hkcash-bj-suite[hidden],.hkcash-bj-suite [hidden]{display:none!important}
:root{--bj-bg:#170728;--bj-deep:#0f0718;--bj-panel:#27103f;--bj-panel2:#3a175f;--bj-accent:#8b5cf6;--bj-accent2:#7138b5;--bj-soft:#c4b5fd;--bj-gold:#f2c96d;--bj-text:#f8f5ff;--bj-muted:#d6cdec;--bj-line:rgba(196,181,253,.22);--bj-good:#bff2d2;--bj-bad:#ffc7c7;--bj-shadow:0 18px 60px rgba(0,0,0,.22)}
*{box-sizing:border-box}.hkcash-bj-page{margin:0;background:radial-gradient(circle at 15% 0%,rgba(139,92,246,.10),transparent 34%),#0f0718;color:var(--bj-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC",sans-serif;min-height:100vh}.hkcash-bj-page button,.hkcash-bj-page select,.hkcash-bj-page input{font:inherit}.hkcash-bj-page a{color:var(--bj-soft)}
.hkcash-bj-suite{max-width:1200px;margin:0 auto;padding:28px 18px 64px;color:var(--bj-text)}
.hkcash-bj-hero{padding:30px;border:1px solid var(--bj-line);border-radius:26px;background:linear-gradient(135deg,rgba(58,23,95,.96),rgba(23,7,40,.98));box-shadow:var(--bj-shadow)}.hkcash-bj-kicker,.hkcash-bj-eyebrow{margin:0 0 8px;color:var(--bj-gold);font-weight:850;letter-spacing:.04em}.hkcash-bj-eyebrow{font-size:13px}.hkcash-bj-hero h1{margin:0 0 14px;font-size:clamp(30px,5vw,50px);line-height:1.08}.hkcash-bj-hero p{max-width:900px;margin:0;line-height:1.75;color:var(--bj-muted)}
.hkcash-bj-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.hkcash-bj-tab{border:1px solid var(--bj-line);border-radius:16px;background:rgba(39,16,63,.92);color:var(--bj-muted);padding:14px 12px;cursor:pointer;font-weight:800}.hkcash-bj-tab.is-active{background:linear-gradient(135deg,var(--bj-accent2),var(--bj-panel2));color:#fff;border-color:rgba(196,181,253,.45)}
.hkcash-bj-panel{border:1px solid var(--bj-line);border-radius:24px;background:linear-gradient(180deg,rgba(39,16,63,.98),rgba(31,12,50,.98));padding:22px;box-shadow:var(--bj-shadow)}.hkcash-bj-panel[hidden]{display:none}.hkcash-bj-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:20px;align-items:start}.hkcash-bj-box{border:1px solid var(--bj-line);border-radius:18px;background:rgba(255,255,255,.025);padding:18px}.hkcash-bj-box h2,.hkcash-bj-box h3{margin-top:0}.hkcash-bj-section{margin-top:18px;padding-top:18px;border-top:1px solid var(--bj-line)}
.hkcash-bj-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hkcash-bj-field{display:flex;flex-direction:column;gap:7px}.hkcash-bj-field label{font-weight:780}.hkcash-bj-field small{color:var(--bj-muted);line-height:1.45}.hkcash-bj-field select,.hkcash-bj-field input{width:100%;min-height:46px;border:1px solid var(--bj-line);border-radius:12px;background:#1b0c2b;color:var(--bj-text);padding:0 12px}.hkcash-bj-button{border:0;border-radius:14px;padding:13px 18px;font-weight:900;cursor:pointer;background:linear-gradient(135deg,var(--bj-accent),var(--bj-accent2));color:#fff}.hkcash-bj-button--ghost{background:transparent;border:1px solid var(--bj-line);color:var(--bj-soft)}.hkcash-bj-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.hkcash-bj-chip{border:1px solid var(--bj-line);background:transparent;color:var(--bj-soft);border-radius:999px;padding:8px 11px;cursor:pointer}.hkcash-bj-rule-summary,.hkcash-bj-note{margin-top:15px;padding:12px 14px;border:1px solid var(--bj-line);border-radius:14px;background:rgba(139,92,246,.07);color:var(--bj-muted);line-height:1.65}.hkcash-bj-rule-summary{border-color:rgba(242,201,109,.25);background:rgba(242,201,109,.05);color:#f5e6b0}
.hkcash-bj-cards{display:flex;align-items:center;gap:9px;margin:14px 0}.hkcash-bj-card{display:grid;place-items:center;width:52px;height:68px;border-radius:10px;background:#f8f5ff;color:#231035;font-size:23px;font-weight:950}.hkcash-bj-card--dealer{background:var(--bj-gold)}
.hkcash-bj-empty{display:grid;place-items:center;text-align:center;min-height:420px;color:var(--bj-muted)}.hkcash-bj-empty strong{display:grid;place-items:center;width:82px;height:82px;border-radius:22px;background:linear-gradient(135deg,var(--bj-panel2),var(--bj-bg));color:var(--bj-gold);font-size:30px;margin:auto auto 14px}.hkcash-bj-action{font-size:clamp(36px,6vw,54px);color:var(--bj-gold);font-weight:950;margin:5px 0 10px}.hkcash-bj-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.hkcash-bj-facts div{padding:12px;border:1px solid var(--bj-line);border-radius:12px}.hkcash-bj-facts span{display:block;color:var(--bj-muted);font-size:12px;margin-bottom:4px}.hkcash-bj-facts div:last-child{grid-column:1/-1}.hkcash-bj-links{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.hkcash-bj-links a{padding:8px 11px;border:1px solid var(--bj-line);border-radius:999px;text-decoration:none;font-weight:800}
.hkcash-bj-prob-row{margin:12px 0}.hkcash-bj-prob-label{display:flex;justify-content:space-between;margin-bottom:5px}.hkcash-bj-prob-label span{color:var(--bj-muted)}.hkcash-bj-prob-track{height:11px;background:#140a20;border-radius:999px;overflow:hidden}.hkcash-bj-prob-fill{display:block;height:100%;background:linear-gradient(90deg,var(--bj-accent),var(--bj-soft));border-radius:999px}.hkcash-bj-stat{display:inline-flex;flex-direction:column;padding:10px 12px;border:1px solid rgba(242,201,109,.25);border-radius:14px;background:rgba(242,201,109,.05)}.hkcash-bj-stat span{font-size:12px;color:var(--bj-muted)}.hkcash-bj-stat strong{font-size:24px;color:var(--bj-gold)}
.hkcash-bj-ev-best{padding:18px;border-radius:18px;background:linear-gradient(135deg,var(--bj-panel2),#2e1348);border:1px solid var(--bj-line);margin-bottom:14px}.hkcash-bj-ev-best strong{display:block;color:var(--bj-gold);font-size:34px}.hkcash-bj-table{width:100%;border-collapse:collapse}.hkcash-bj-table th,.hkcash-bj-table td{padding:11px 10px;border-bottom:1px solid var(--bj-line);text-align:left}.hkcash-bj-table th{color:var(--bj-muted);font-size:13px}.hkcash-bj-table .is-best{color:var(--bj-gold)}
.hkcash-bj-count-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.hkcash-bj-count-card{padding:12px;border:1px solid var(--bj-line);border-radius:14px;background:rgba(255,255,255,.025);text-align:center}.hkcash-bj-count-card>strong{display:block;font-size:20px}.hkcash-bj-count-card>span{display:block;color:var(--bj-gold);margin:3px 0 8px}.hkcash-bj-count-card div{display:grid;grid-template-columns:30px 1fr 30px;gap:5px;align-items:center}.hkcash-bj-count-card button{height:30px;border:1px solid var(--bj-line);border-radius:8px;background:#1b0c2b;color:#fff;cursor:pointer}.hkcash-bj-count-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px}.hkcash-bj-count-summary div{padding:14px;border:1px solid var(--bj-line);border-radius:14px}.hkcash-bj-count-summary span{display:block;color:var(--bj-muted);font-size:12px}.hkcash-bj-count-summary strong{display:block;font-size:25px;margin-top:4px;color:var(--bj-gold)}
.hkcash-bj-trainer-table{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;max-width:540px;margin:18px auto}.hkcash-bj-trainer-side{text-align:center}.hkcash-bj-trainer-side h3{margin:0 0 10px}.hkcash-bj-trainer-cards{display:flex;justify-content:center;gap:8px}.hkcash-bj-vs{color:var(--bj-gold);font-weight:950}.hkcash-bj-trainer-actions{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.hkcash-bj-trainer-actions button{border:1px solid var(--bj-line);border-radius:12px;background:#1b0c2b;color:#fff;padding:11px 8px;cursor:pointer;font-weight:800}.hkcash-bj-trainer-actions button:disabled{opacity:.5}.hkcash-bj-trainer-feedback{margin-top:14px;padding:13px;border:1px solid var(--bj-line);border-radius:12px;color:var(--bj-muted)}.hkcash-bj-trainer-feedback.is-correct{border-color:rgba(191,242,210,.35);color:var(--bj-good)}.hkcash-bj-trainer-feedback.is-wrong{border-color:rgba(255,199,199,.35);color:var(--bj-bad)}.hkcash-bj-score{display:flex;gap:10px;flex-wrap:wrap}.hkcash-bj-score span{padding:8px 10px;border:1px solid var(--bj-line);border-radius:999px}.hkcash-bj-source{margin-top:18px;padding:17px;border:1px solid var(--bj-line);border-radius:18px;background:rgba(255,255,255,.025);color:var(--bj-muted);line-height:1.7}
@media(max-width:920px){.hkcash-bj-grid{grid-template-columns:1fr}.hkcash-bj-tabs{grid-template-columns:1fr 1fr}.hkcash-bj-empty{min-height:250px}}@media(max-width:650px){.hkcash-bj-suite{padding:14px 10px 40px}.hkcash-bj-hero,.hkcash-bj-panel{padding:16px;border-radius:19px}.hkcash-bj-tabs{grid-template-columns:1fr}.hkcash-bj-form-grid,.hkcash-bj-facts,.hkcash-bj-count-summary{grid-template-columns:1fr}.hkcash-bj-facts div:last-child{grid-column:auto}.hkcash-bj-count-grid{grid-template-columns:repeat(2,1fr)}.hkcash-bj-trainer-actions{grid-template-columns:1fr 1fr}.hkcash-bj-trainer-table{grid-template-columns:1fr}.hkcash-bj-vs{display:none}}
/* =========================================================
   v2.1.5 — Standalone Hi-Lo layout fix
   Only affects [hkcash_blackjack_count] standalone template.
   ========================================================= */
.hkcash-bj-suite--standalone .hkcash-bj-grid{
  grid-template-columns:1fr;
  gap:16px;
}
.hkcash-bj-suite--standalone .hkcash-bj-box{
  min-width:0;
}
.hkcash-bj-suite--standalone .hkcash-bj-box h2,
.hkcash-bj-suite--standalone .hkcash-bj-box h3{
  color:var(--bj-text);
}
.hkcash-bj-suite--standalone .hkcash-bj-box p{
  color:var(--bj-text);
}
.hkcash-bj-suite--standalone .hkcash-bj-count-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.hkcash-bj-suite--standalone .hkcash-bj-count-card{
  min-width:0;
}
.hkcash-bj-suite--standalone .hkcash-bj-count-card div{
  grid-template-columns:28px minmax(0,1fr) 28px;
}
.hkcash-bj-suite--standalone .hkcash-bj-count-summary{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
@media(max-width:760px){
  .hkcash-bj-suite--standalone .hkcash-bj-count-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .hkcash-bj-suite--standalone .hkcash-bj-count-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:420px){
  .hkcash-bj-suite--standalone .hkcash-bj-count-summary{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   v2.1.6 — standalone strategy trainer
   Tool-internal only; page chrome continues to use HKCash Global CSS.
   ========================================================= */

.hkcash-bj-suite--trainer .hkcash-bj-panel--standalone {
  padding: 22px;
}

.hkcash-bj-suite--trainer .hkcash-bj-trainer-layout {
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);
  gap:18px;
  align-items:start;
}

.hkcash-bj-suite--trainer .hkcash-bj-box h2,
.hkcash-bj-suite--trainer .hkcash-bj-box h3 {
  color:#fff;
}

.hkcash-bj-suite--trainer .hkcash-bj-box > p {
  color:var(--bj-muted);
}

.hkcash-bj-suite--trainer .hkcash-bj-trainer-scorebox {
  position:sticky;
  top:94px;
}

.hkcash-bj-suite--trainer .hkcash-bj-score--stack {
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}

.hkcash-bj-suite--trainer .hkcash-bj-score--stack span {
  display:flex;
  justify-content:space-between;
  gap:12px;
  border-radius:14px;
}

.hkcash-bj-suite--trainer .hkcash-bj-score--stack strong {
  color:var(--bj-gold);
}

.hkcash-bj-suite--trainer .hkcash-bj-trainer-actions {
  margin-top:16px;
}

.hkcash-bj-suite--trainer .hkcash-bj-trainer-feedback {
  min-height:58px;
  line-height:1.6;
}

@media(max-width:920px) {
  .hkcash-bj-suite--trainer .hkcash-bj-trainer-layout {
    grid-template-columns:1fr;
  }

  .hkcash-bj-suite--trainer .hkcash-bj-trainer-scorebox {
    position:static;
  }
}


/* =========================================================
   v2.1.7 — standalone widget heading semantics
   Interactive widget labels are NOT document headings.
   ========================================================= */
.hkcash-bj-suite .hkcash-bj-tool-title {
  margin:0 0 14px;
  color:#fff;
  font-size:clamp(28px,3vw,42px);
  line-height:1.12;
  font-weight:900;
}

.hkcash-bj-suite .hkcash-bj-tool-subtitle {
  margin:0 0 10px;
  color:#fff;
  font-size:18px;
  line-height:1.3;
  font-weight:850;
}


/* =========================================================
   v2.1.8 — 高低牌計數工具：牌桌視覺
   只作用於 [hkcash_blackjack_count]
   ========================================================= */

.hkcash-bj-suite--count-table {
  max-width:1200px;
  margin:0 auto;
  padding:0;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-felt {
  position:relative;
  overflow:hidden;
  padding:30px;
  border:1px solid #2b6a54;
  border-radius:28px;
  background:
    radial-gradient(circle at 50% 25%, rgba(255,255,255,.035), transparent 38%),
    linear-gradient(180deg,#17513c,#0f3d2e);
  box-shadow:0 18px 50px rgba(18,43,33,.18);
  color:#fff;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-felt::before {
  content:"";
  position:absolute;
  inset:14px;
  border:2px solid rgba(242,201,109,.28);
  border-radius:24px;
  pointer-events:none;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-felt__head,
.hkcash-bj-suite--count-table .hkcash-bj-count-grid,
.hkcash-bj-suite--count-table .hkcash-bj-count-controls,
.hkcash-bj-suite--count-table .hkcash-bj-count-board {
  position:relative;
  z-index:2;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-felt__head {
  max-width:820px;
  margin:0 auto 20px;
  text-align:center;
}

.hkcash-bj-suite--count-table .hkcash-bj-eyebrow {
  color:#f2c96d;
}

.hkcash-bj-suite--count-table .hkcash-bj-tool-title {
  color:#fff;
  font-size:clamp(30px,4vw,46px);
}

.hkcash-bj-suite--count-table .hkcash-bj-count-felt__head p:last-child {
  margin:0;
  color:#e9f5ef;
  line-height:1.75;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-tableline {
  position:relative;
  z-index:1;
  width:min(760px,85%);
  height:70px;
  margin:-2px auto 2px;
  border-top:2px solid rgba(242,201,109,.24);
  border-radius:50%;
  opacity:.9;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  max-width:980px;
  margin:0 auto;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-card {
  padding:14px 10px 12px;
  border:1px solid rgba(255,255,255,.82);
  border-radius:14px;
  background:linear-gradient(180deg,#fff,#f5f2fa);
  color:#1f102d;
  box-shadow:0 8px 18px rgba(0,0,0,.16);
  text-align:center;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-card > strong {
  color:#1f102d;
  font-size:26px;
  line-height:1;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-card > span {
  color:#a66a00;
  font-size:16px;
  font-weight:900;
  margin:7px 0 10px;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-card div {
  display:grid;
  grid-template-columns:36px minmax(0,1fr) 36px;
  gap:6px;
  align-items:center;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-card b {
  color:#1f102d;
  font-size:18px;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-card button {
  height:34px;
  border:0;
  border-radius:9px;
  background:#27103f;
  color:#fff;
  font-size:18px;
  font-weight:900;
  cursor:pointer;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-card button:hover {
  background:#54258b;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-controls {
  display:grid;
  grid-template-columns:minmax(240px,360px) auto;
  gap:14px;
  align-items:end;
  max-width:980px;
  margin:22px auto 0;
}

.hkcash-bj-suite--count-table .hkcash-bj-field label {
  color:#fff;
}

.hkcash-bj-suite--count-table .hkcash-bj-field input {
  min-height:48px;
  border:1px solid rgba(255,255,255,.22);
  background:#0d2f25;
  color:#fff;
}

.hkcash-bj-suite--count-table .hkcash-bj-button--ghost {
  min-height:48px;
  border-color:rgba(242,201,109,.36);
  background:rgba(242,201,109,.10);
  color:#f7dda0;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-board {
  max-width:980px;
  margin:24px auto 0;
  padding:18px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:20px;
  background:rgba(5,28,21,.58);
}

.hkcash-bj-suite--count-table .hkcash-bj-count-board__title {
  margin-bottom:12px;
  color:#fff;
  font-size:22px;
  font-weight:900;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-summary {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-summary div {
  padding:14px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:14px;
  background:rgba(255,255,255,.045);
}

.hkcash-bj-suite--count-table .hkcash-bj-count-summary span {
  color:#d9eee5;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-summary strong {
  color:#f2c96d;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-explain {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:12px;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-explain > div {
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.045);
  color:#d9eee5;
  line-height:1.6;
}

.hkcash-bj-suite--count-table .hkcash-bj-count-explain strong {
  display:block;
  color:#fff;
  margin-bottom:3px;
}

@media(max-width:760px) {
  .hkcash-bj-suite--count-table .hkcash-bj-count-felt {
    padding:22px 14px;
    border-radius:22px;
  }

  .hkcash-bj-suite--count-table .hkcash-bj-count-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .hkcash-bj-suite--count-table .hkcash-bj-count-controls {
    grid-template-columns:1fr;
  }

  .hkcash-bj-suite--count-table .hkcash-bj-count-summary,
  .hkcash-bj-suite--count-table .hkcash-bj-count-explain {
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:430px) {
  .hkcash-bj-suite--count-table .hkcash-bj-count-summary,
  .hkcash-bj-suite--count-table .hkcash-bj-count-explain {
    grid-template-columns:1fr;
  }
}


/* =========================================================
   v2.1.9 — 21點基礎策略訓練：牌桌視覺
   只作用於 [hkcash_blackjack_trainer]
   ========================================================= */

.hkcash-bj-suite--trainer-table {
  max-width:1200px;
  margin:0 auto;
  padding:0;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-settings {
  margin-bottom:18px;
  padding:18px;
  border:1px solid rgba(84,37,139,.18);
  border-radius:18px;
  background:linear-gradient(180deg,#2a123f,#1c0c2b);
  box-shadow:0 10px 28px rgba(23,7,40,.10);
}

.hkcash-bj-suite--trainer-table .hkcash-bj-form-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-field label {
  color:#f8f5ff;
  font-weight:800;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-field select {
  min-height:46px;
  border:1px solid rgba(207,184,255,.24);
  background:#160a22;
  color:#fff;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-felt {
  position:relative;
  overflow:hidden;
  padding:26px 24px 30px;
  border:1px solid #2b6a54;
  border-radius:28px;
  background:
    radial-gradient(circle at 50% 30%,rgba(255,255,255,.035),transparent 38%),
    linear-gradient(180deg,#17513c,#0f3d2e);
  box-shadow:0 18px 50px rgba(18,43,33,.18);
  color:#fff;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-felt::before {
  content:"";
  position:absolute;
  inset:14px;
  border:2px solid rgba(242,201,109,.28);
  border-radius:24px;
  pointer-events:none;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-scoreline,
.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-dealer,
.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-player,
.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-prompt,
.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-actions,
.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-feedback,
.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-next {
  position:relative;
  z-index:2;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-scoreline {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-bottom:14px;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-scoreline > div {
  min-width:140px;
  padding:9px 12px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:12px;
  background:rgba(6,35,26,.45);
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-scoreline span {
  display:block;
  color:#d9eee5;
  font-size:12px;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-scoreline strong {
  display:block;
  margin-top:2px;
  color:#f2c96d;
  font-size:18px;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-dealer,
.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-player {
  text-align:center;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-label {
  display:block;
  margin-bottom:10px;
  color:#f2c96d;
  font-weight:900;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-cards {
  display:flex;
  justify-content:center;
  gap:10px;
  min-height:108px;
  align-items:center;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-card {
  display:grid;
  place-items:center;
  width:76px;
  height:106px;
  border:1px solid #ece7f5;
  border-radius:10px;
  background:#fff;
  color:#1f102d;
  box-shadow:0 8px 20px rgba(0,0,0,.24);
  font-size:30px;
  font-weight:900;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-card--dealer {
  border-color:#f2c96d;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-arc {
  width:min(760px,86%);
  height:54px;
  margin:-2px auto 2px;
  border-top:2px solid rgba(242,201,109,.26);
  border-radius:50%;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-hand {
  margin-top:8px;
  color:#fff;
  font-weight:850;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-prompt {
  width:min(620px,90%);
  margin:18px auto 12px;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(4,29,21,.60);
  color:#fff;
  text-align:center;
  font-weight:900;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-actions {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  max-width:980px;
  margin:0 auto;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-actions button {
  min-height:48px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:#241034;
  color:#fff;
  font-weight:900;
  cursor:pointer;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-actions button:hover:not(:disabled) {
  background:#7138b5;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-actions button:disabled {
  opacity:.48;
  cursor:not-allowed;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-feedback {
  min-height:58px;
  max-width:980px;
  margin:14px auto 0;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:rgba(4,29,21,.42);
  color:#e9f5ef;
  line-height:1.65;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-feedback.is-correct {
  border-color:rgba(242,201,109,.50);
  color:#fff4c7;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-feedback.is-wrong {
  border-color:rgba(255,143,143,.46);
  color:#ffe0e0;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-next {
  display:flex;
  justify-content:center;
  margin-top:12px;
}

.hkcash-bj-suite--trainer-table .hkcash-bj-trainer-next .hkcash-bj-button {
  min-width:150px;
  min-height:46px;
}

@media(max-width:820px) {
  .hkcash-bj-suite--trainer-table .hkcash-bj-form-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .hkcash-bj-suite--trainer-table .hkcash-bj-trainer-actions {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .hkcash-bj-suite--trainer-table .hkcash-bj-trainer-actions button:last-child {
    grid-column:1/-1;
  }
}

@media(max-width:520px) {
  .hkcash-bj-suite--trainer-table .hkcash-bj-trainer-settings {
    padding:14px;
  }

  .hkcash-bj-suite--trainer-table .hkcash-bj-form-grid {
    grid-template-columns:1fr;
  }

  .hkcash-bj-suite--trainer-table .hkcash-bj-trainer-felt {
    padding:20px 12px 24px;
    border-radius:22px;
  }

  .hkcash-bj-suite--trainer-table .hkcash-bj-trainer-scoreline {
    justify-content:stretch;
  }

  .hkcash-bj-suite--trainer-table .hkcash-bj-trainer-scoreline > div {
    flex:1;
    min-width:0;
  }

  .hkcash-bj-suite--trainer-table .hkcash-bj-card {
    width:64px;
    height:90px;
    font-size:26px;
  }
}
