/* HKCash Roulette Tools v1.0.0 — shortcode-scoped only */
.hkcash-roulette-tool,
.hkcash-roulette-tool *{box-sizing:border-box}

.hkcash-roulette-tool{
  --rt-purple-950:#170728;
  --rt-purple-800:#3a175f;
  --rt-purple-700:#54258b;
  --rt-purple-600:#7138b5;
  --rt-purple-100:#f0ebff;
  --rt-line:#e6def2;
  --rt-felt:#0f5b45;
  --rt-felt-deep:#093e30;
  --rt-gold:#d7b56d;
  --rt-white:#fff;
  --rt-ink:#21182e;
  --rt-muted:#70667f;
  display:grid;
  gap:16px;
  width:100%;
}

.hkcash-roulette-tool__settings{
  padding:22px;
  border:1px solid var(--rt-line);
  border-radius:20px;
  background:linear-gradient(180deg,#fff 0%,#fbf9ff 100%);
  box-shadow:0 10px 28px rgba(39,16,63,.06);
}

.hkcash-roulette-tool__eyebrow{
  margin-bottom:5px;
  color:var(--rt-purple-600);
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
}

.hkcash-roulette-tool__title,
.hkcash-roulette-felt__title{
  color:var(--rt-purple-950);
  font-size:clamp(22px,2.6vw,30px);
  font-weight:900;
  line-height:1.2;
}

.hkcash-roulette-tool__lead{
  margin:8px 0 0;
  color:var(--rt-muted);
  font-size:14px;
  line-height:1.7;
}

.hkcash-roulette-form{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}

.hkcash-roulette-field{
  display:grid;
  gap:7px;
}

.hkcash-roulette-field>span{
  color:var(--rt-purple-800);
  font-size:13px;
  font-weight:900;
}

.hkcash-roulette-field select,
.hkcash-roulette-field input{
  width:100%;
  min-height:46px;
  padding:10px 12px;
  border:1px solid #d9cdea;
  border-radius:12px;
  background:#fff;
  color:var(--rt-ink);
  font:inherit;
  font-size:14px;
  outline:none;
}

.hkcash-roulette-field select:focus,
.hkcash-roulette-field input:focus{
  border-color:var(--rt-purple-600);
  box-shadow:0 0 0 3px rgba(113,56,181,.12);
}

.hkcash-roulette-felt{
  position:relative;
  overflow:hidden;
  padding:24px;
  border:1px solid rgba(215,181,109,.65);
  border-radius:22px;
  background:
    radial-gradient(circle at 70% -10%,rgba(255,255,255,.08),transparent 35%),
    linear-gradient(180deg,var(--rt-felt) 0%,var(--rt-felt-deep) 100%);
  box-shadow:0 14px 34px rgba(8,49,38,.18);
  color:#fff;
}

.hkcash-roulette-felt:after{
  content:"";
  position:absolute;
  left:7%;right:7%;bottom:-120px;
  height:210px;
  border:2px solid rgba(215,181,109,.38);
  border-radius:50%;
  pointer-events:none;
}

.hkcash-roulette-felt__top{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}

.hkcash-roulette-tool__eyebrow--felt{color:#ead39d}
.hkcash-roulette-felt__title{color:#fff}

.hkcash-roulette-wheel-mark{
  display:flex;
  align-items:center;
  gap:4px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.hkcash-roulette-wheel-mark span{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:50%;
  background:rgba(16,15,22,.42);
  color:#fff;
  font-size:11px;
  font-weight:900;
}

.hkcash-roulette-wheel-mark span:first-child{
  background:#14815d;
  border-color:#dec27d;
}

.hkcash-roulette-note{
  position:relative;
  z-index:1;
  margin-top:16px;
  padding:11px 13px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:12px;
  background:rgba(255,255,255,.08);
  color:#eef9f5;
  font-size:13px;
  line-height:1.6;
}

.hkcash-roulette-results{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}

.hkcash-roulette-stat{
  min-width:0;
  padding:14px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  background:rgba(255,255,255,.08);
}

.hkcash-roulette-stat span{
  display:block;
  margin-bottom:5px;
  color:#cfe6dd;
  font-size:12px;
}

.hkcash-roulette-stat strong{
  display:block;
  color:#fff;
  font-size:clamp(18px,2.4vw,25px);
  line-height:1.15;
  overflow-wrap:anywhere;
}

.hkcash-roulette-stat--accent{
  border-color:rgba(215,181,109,.72);
  background:rgba(215,181,109,.12);
}

.hkcash-roulette-stat--accent strong{color:#f4dda7}

.hkcash-roulette-ev{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:10px;
}

.hkcash-roulette-ev>div{
  padding:13px 14px;
  border-radius:14px;
  background:#fff;
  color:var(--rt-ink);
}

.hkcash-roulette-ev span{
  display:block;
  margin-bottom:4px;
  color:var(--rt-muted);
  font-size:12px;
}

.hkcash-roulette-ev strong{
  color:var(--rt-purple-800);
  font-size:19px;
}

.hkcash-roulette-mathline{
  position:relative;
  z-index:1;
  margin-top:10px;
  padding:13px 14px;
  border:1px dashed rgba(255,255,255,.25);
  border-radius:14px;
}

.hkcash-roulette-mathline span{
  display:block;
  margin-bottom:4px;
  color:#ead39d;
  font-size:12px;
  font-weight:900;
}

.hkcash-roulette-mathline p{
  margin:0;
  color:#f3fbf8;
  font-size:13px;
  line-height:1.65;
}

.hkcash-roulette-error{
  padding:14px;
  border:1px solid #d9cdea;
  border-radius:12px;
  background:#fff;
}

@media (max-width:900px){
  .hkcash-roulette-form{grid-template-columns:1fr}
  .hkcash-roulette-results{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:600px){
  .hkcash-roulette-tool__settings,
  .hkcash-roulette-felt{padding:17px}
  .hkcash-roulette-felt__top{display:block}
  .hkcash-roulette-wheel-mark{justify-content:flex-start;margin-top:12px}
  .hkcash-roulette-results{grid-template-columns:1fr 1fr}
  .hkcash-roulette-ev{grid-template-columns:1fr}
  .hkcash-roulette-stat strong{font-size:19px}
}

@media (max-width:420px){
  .hkcash-roulette-results{grid-template-columns:1fr}
}


/* ===== Roulette table simulator ===== */
.hkcash-roulette-table-tool{--purple-950:#170728;--purple-800:#3a175f;--purple-700:#54258b;--purple-500:#8b5cf6;--purple-100:#f0ebff;--lilac:#f8f5ff;--ink:#21182e;--muted:#70667f;--line:#e6def2;--felt:#07573f;--felt2:#0a684d;--gold:#f0c75e;--red:#b5252b;--black:#17211e;--green:#0e8a61;--white:#fff}
.hkcash-roulette-table-tool *{box-sizing:border-box}
.hkcash-roulette-table-tool{margin:0;background:var(--lilac);color:var(--ink);font-family:Arial,"PingFang HK","Microsoft JhengHei",sans-serif}
.hkcash-roulette-table-tool button,.hkcash-roulette-table-tool select,.hkcash-roulette-table-tool input{font:inherit}
.hkcash-roulette-table-tool .page{width:min(1180px,calc(100% - 32px));margin:24px auto 50px}
.hkcash-roulette-table-tool .local-note,.hkcash-roulette-table-tool .how,.hkcash-roulette-table-tool .settings,.hkcash-roulette-table-tool .casino-shell{border-radius:20px;margin-bottom:18px}
.hkcash-roulette-table-tool .local-note{padding:18px 22px;background:#fff;border:1px solid var(--line)}
.hkcash-roulette-table-tool .local-note strong{font-size:18px}
.hkcash-roulette-table-tool .local-note p{margin:8px 0 0;color:var(--muted);line-height:1.65}
.hkcash-roulette-table-tool .how{padding:18px 22px;background:linear-gradient(135deg,#fff,#f1ebff);border:1px solid #d8cbf0}
.hkcash-roulette-table-tool .how>span{display:block;font-size:13px;font-weight:800;color:var(--purple-700);margin-bottom:10px}
.hkcash-roulette-table-tool .steps{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.hkcash-roulette-table-tool .steps strong{font-size:15px}
.hkcash-roulette-table-tool .steps b{color:var(--purple-500)}
.hkcash-roulette-table-tool .settings{background:#fff;border:1px solid var(--line);padding:24px;box-shadow:0 10px 30px rgba(42,19,73,.04)}
.hkcash-roulette-table-tool .section-head>span{font-size:13px;font-weight:800;color:var(--purple-700)}
.hkcash-roulette-table-tool .section-head__title{font-size:30px;margin:6px 0 8px}
.hkcash-roulette-table-tool .section-head p{margin:0 0 20px;line-height:1.7;color:var(--muted)}
.hkcash-roulette-table-tool .top-controls{display:grid;grid-template-columns:2fr 1fr auto;gap:14px;align-items:end}
.hkcash-roulette-table-tool label>span{display:block;font-weight:800;font-size:13px;margin-bottom:8px}
.hkcash-roulette-table-tool select,.hkcash-roulette-table-tool input{width:100%;min-height:48px;border:1px solid #d6c9ec;border-radius:12px;padding:0 14px;background:#fff;color:var(--ink)}
.hkcash-roulette-table-tool .btn{border:0;border-radius:12px;min-height:48px;padding:0 18px;font-weight:800;cursor:pointer}
.hkcash-roulette-table-tool .btn-soft{background:#f2ecfb;color:var(--purple-800);border:1px solid #d9caef}
.hkcash-roulette-table-tool .btn-primary{background:var(--purple-700);color:#fff}
.hkcash-roulette-table-tool .casino-shell{background:linear-gradient(150deg,var(--felt),var(--felt2));padding:24px;border:1px solid #b69b4d;color:#fff;overflow:hidden}
.hkcash-roulette-table-tool .status-bar{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}
.hkcash-roulette-table-tool .status-bar>div{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.17);border-radius:14px;padding:14px}
.hkcash-roulette-table-tool .status-bar span{display:block;font-size:12px;opacity:.86;margin-bottom:6px}
.hkcash-roulette-table-tool .status-bar strong{font-size:22px}
.hkcash-roulette-table-tool .chips-panel{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:16px}
.hkcash-roulette-table-tool .chips-panel>span{font-weight:800;color:#ffe08b}
.hkcash-roulette-table-tool .chips{display:flex;gap:8px;flex-wrap:wrap}
.hkcash-roulette-table-tool .chips button{width:48px;height:48px;border-radius:50%;border:3px dashed rgba(255,255,255,.55);background:#2a1740;color:#fff;font-weight:900;cursor:pointer}
.hkcash-roulette-table-tool .chips button.is-active{outline:3px solid var(--gold);outline-offset:2px}
.hkcash-roulette-table-tool .chip-current{font-size:13px;opacity:.92}
.hkcash-roulette-table-tool .table-wrap{overflow-x:auto;padding-bottom:4px}
.hkcash-roulette-table-tool .roulette-table{min-width:920px;display:grid;grid-template-columns:76px 1fr;grid-template-areas:"zero numbers" "zero columns" ". dozens" ". outside";gap:8px 10px}
.hkcash-roulette-table-tool .zero-stack{grid-area:zero;display:grid;gap:8px}
.hkcash-roulette-table-tool .number,.hkcash-roulette-table-tool .numbers-grid button,.hkcash-roulette-table-tool .column-bets button,.hkcash-roulette-table-tool .dozen-bets button,.hkcash-roulette-table-tool .outside-bets button{position:relative;min-height:52px;border:1px solid rgba(255,255,255,.42);color:#fff;font-weight:900;cursor:pointer}
.hkcash-roulette-table-tool .number.rt-green,.hkcash-roulette-table-tool .zero-stack button{background:var(--green)}
.hkcash-roulette-table-tool .numbers-grid{grid-area:numbers;display:grid;grid-template-columns:repeat(12,1fr);grid-template-rows:repeat(3,52px);grid-auto-flow:column;gap:4px;transform:scaleY(-1)}
.hkcash-roulette-table-tool .numbers-grid button{transform:scaleY(-1)}
.hkcash-roulette-table-tool .numbers-grid button.rt-red{background:var(--red)}
.hkcash-roulette-table-tool .numbers-grid button.rt-black{background:var(--black)}
.hkcash-roulette-table-tool .numbers-grid button.is-selected{outline:3px solid var(--gold);outline-offset:-3px}
.hkcash-roulette-table-tool .numbers-grid button.is-result,.hkcash-roulette-table-tool .zero-stack button.is-result{box-shadow:0 0 0 4px #fff,0 0 0 8px var(--gold);z-index:3}
.hkcash-roulette-table-tool .bet-chip{position:absolute;right:3px;bottom:3px;min-width:22px;height:22px;padding:0 4px;border-radius:11px;display:grid;place-items:center;background:#f4cd65;color:#231335;font-size:10px;font-weight:900;border:1px solid #fff}
.hkcash-roulette-table-tool .column-bets{grid-area:columns;display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.hkcash-roulette-table-tool .dozen-bets{grid-area:dozens;display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.hkcash-roulette-table-tool .outside-bets{grid-area:outside;display:grid;grid-template-columns:repeat(6,1fr);gap:4px}
.hkcash-roulette-table-tool .column-bets button,.hkcash-roulette-table-tool .dozen-bets button,.hkcash-roulette-table-tool .outside-bets button{background:rgba(255,255,255,.08);border-radius:8px}
.hkcash-roulette-table-tool .outside-bets .red-bet{background:var(--red)}
.hkcash-roulette-table-tool .outside-bets .black-bet{background:var(--black)}
.hkcash-roulette-table-tool .advanced{margin-top:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.17);border-radius:16px;padding:16px}
.hkcash-roulette-table-tool .advanced-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}
.hkcash-roulette-table-tool .advanced-head span{display:block;font-size:12px;color:#ffe08b;margin-bottom:4px}
.hkcash-roulette-table-tool .advanced-head strong{font-size:16px}
.hkcash-roulette-table-tool .advanced-controls{display:grid;grid-template-columns:1.2fr 2fr auto;gap:12px;align-items:end}
.hkcash-roulette-table-tool .advanced-controls label span{color:#fff}
.hkcash-roulette-table-tool .advanced-help{min-height:48px;border-radius:12px;padding:12px 14px;background:rgba(0,0,0,.14);line-height:1.5;font-size:13px}
.hkcash-roulette-table-tool .selected-box{margin-top:12px;font-size:13px}
.hkcash-roulette-table-tool .action-row{display:flex;gap:10px;margin:18px 0}
.hkcash-roulette-table-tool .btn-spin{min-height:56px;background:var(--gold);color:#24163a;font-size:18px;padding:0 28px}
.hkcash-roulette-table-tool .result-board{display:grid;grid-template-columns:300px 1fr;gap:18px;align-items:center}
.hkcash-roulette-table-tool .wheel-visual{width:280px;height:280px;margin:auto;position:relative;border-radius:50%;background:#133228;border:10px solid #d5b45b;box-shadow:inset 0 0 0 8px #6d5322}
.hkcash-roulette-table-tool .wheel-ring{position:absolute;inset:18px;border-radius:50%;transition:transform 1.2s cubic-bezier(.17,.67,.18,1)}
.hkcash-roulette-table-tool .wheel-ring span{position:absolute;left:50%;top:50%;width:34px;height:34px;margin:-17px;display:grid;place-items:center;border-radius:50%;background:#1d2925;border:1px solid rgba(255,255,255,.35);font-size:11px;font-weight:900}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(1){transform:rotate(0deg) translateY(-92px) rotate(0deg);background:var(--green)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(2){transform:rotate(30deg) translateY(-92px) rotate(-30deg)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(3){transform:rotate(60deg) translateY(-92px) rotate(-60deg);background:var(--red)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(4){transform:rotate(90deg) translateY(-92px) rotate(-90deg)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(5){transform:rotate(120deg) translateY(-92px) rotate(-120deg);background:var(--red)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(6){transform:rotate(150deg) translateY(-92px) rotate(-150deg)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(7){transform:rotate(180deg) translateY(-92px) rotate(-180deg);background:var(--red)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(8){transform:rotate(210deg) translateY(-92px) rotate(-210deg)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(9){transform:rotate(240deg) translateY(-92px) rotate(-240deg);background:var(--red)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(10){transform:rotate(270deg) translateY(-92px) rotate(-270deg)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(11){transform:rotate(300deg) translateY(-92px) rotate(-300deg);background:var(--red)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(12){transform:rotate(330deg) translateY(-92px) rotate(-330deg)}
.hkcash-roulette-table-tool .wheel-center{position:absolute;inset:86px;border-radius:50%;background:#fff;color:var(--purple-950);display:grid;place-items:center;align-content:center}
.hkcash-roulette-table-tool .wheel-center small{font-size:11px;color:var(--muted)}
.hkcash-roulette-table-tool .wheel-center strong{font-size:42px;line-height:1.1}
.hkcash-roulette-table-tool .settlement>span{font-size:12px;color:#ffe08b;font-weight:800}
.hkcash-roulette-table-tool .settlement__title{font-size:28px;margin:6px 0 8px}
.hkcash-roulette-table-tool .settlement p{line-height:1.65;opacity:.9}
.hkcash-roulette-table-tool .settlement-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}
.hkcash-roulette-table-tool .settlement-stats div{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);border-radius:12px;padding:12px}
.hkcash-roulette-table-tool .settlement-stats span{display:block;font-size:11px;opacity:.82;margin-bottom:6px}
.hkcash-roulette-table-tool .settlement-stats strong{font-size:19px}
.hkcash-roulette-table-tool .bets-panel,.hkcash-roulette-table-tool .history-panel{margin-top:18px;background:#fff;color:var(--ink);border-radius:16px;padding:16px}
.hkcash-roulette-table-tool .panel-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}
.hkcash-roulette-table-tool .panel-head span{font-weight:900}
.hkcash-roulette-table-tool .panel-head strong{color:var(--purple-700)}
.hkcash-roulette-table-tool .bets-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.hkcash-roulette-table-tool .bet-row{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.hkcash-roulette-table-tool .bet-row small{color:var(--muted)}
.hkcash-roulette-table-tool .bet-row button{border:0;background:#f2ecfb;color:var(--purple-800);border-radius:8px;padding:7px 9px;cursor:pointer}
.hkcash-roulette-table-tool .history{display:flex;gap:8px;flex-wrap:wrap}
.hkcash-roulette-table-tool .history .ball{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:900}
.hkcash-roulette-table-tool .ball.rt-red{background:var(--red)}
.hkcash-roulette-table-tool .ball.rt-black{background:var(--black)}
.hkcash-roulette-table-tool .ball.rt-green{background:var(--green)}
.hkcash-roulette-table-tool .empty{color:var(--muted);margin:0}
.hkcash-roulette-table-tool .warning{margin-top:14px;background:#fff;color:#402554;border-radius:12px;padding:14px;line-height:1.65}
@media (max-width:900px){.hkcash-roulette-table-tool .top-controls{grid-template-columns:1fr 1fr}
.hkcash-roulette-table-tool .top-controls .btn{grid-column:1/-1}
.hkcash-roulette-table-tool .advanced-controls{grid-template-columns:1fr}
.hkcash-roulette-table-tool .result-board{grid-template-columns:1fr}
.hkcash-roulette-table-tool .status-bar{grid-template-columns:1fr 1fr}
.hkcash-roulette-table-tool .bets-list{grid-template-columns:1fr}}
@media (max-width:600px){.hkcash-roulette-table-tool .page{width:min(100% - 20px,1180px);margin-top:10px}
.hkcash-roulette-table-tool .settings,.hkcash-roulette-table-tool .casino-shell{padding:18px 14px}
.hkcash-roulette-table-tool .top-controls,.hkcash-roulette-table-tool .status-bar,.hkcash-roulette-table-tool .settlement-stats{grid-template-columns:1fr}
.hkcash-roulette-table-tool .steps{display:grid}
.hkcash-roulette-table-tool .steps b{display:none}
.hkcash-roulette-table-tool .section-head__title,.hkcash-roulette-table-tool .settlement__title{font-size:25px}
.hkcash-roulette-table-tool .wheel-visual{width:250px;height:250px}
.hkcash-roulette-table-tool .wheel-center{inset:75px}}
.hkcash-roulette-table-tool .advanced-actions{display:flex;gap:8px;flex-wrap:wrap}
@media (max-width:600px){.hkcash-roulette-table-tool .page{
    width:min(100% - 16px,1180px);
    margin-top:8px;
  }
.hkcash-roulette-table-tool .local-note,.hkcash-roulette-table-tool .how{
    padding:16px;
    border-radius:16px;
  }
.hkcash-roulette-table-tool .settings,.hkcash-roulette-table-tool .casino-shell{
    padding:16px 12px;
    border-radius:16px;
  }
.hkcash-roulette-table-tool .top-controls,.hkcash-roulette-table-tool .status-bar,.hkcash-roulette-table-tool .settlement-stats{
    grid-template-columns:1fr;
  }
.hkcash-roulette-table-tool .steps{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
  }
.hkcash-roulette-table-tool .steps b{display:none}
.hkcash-roulette-table-tool .section-head__title,.hkcash-roulette-table-tool .settlement__title{
    font-size:24px;
  }
.hkcash-roulette-table-tool .chips-panel{
    display:block;
  }
.hkcash-roulette-table-tool .chips-panel>span{
    display:block;
    margin-bottom:10px;
  }
.hkcash-roulette-table-tool .chips{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:7px;
  }
.hkcash-roulette-table-tool .chips button{
    width:44px;
    height:44px;
    justify-self:center;
    font-size:13px;
  }
.hkcash-roulette-table-tool .chip-current{
    display:block;
    margin-top:10px;
  }
.hkcash-roulette-table-tool .table-wrap{
    overflow:visible;
    width:100%;
    padding:0;
  }
.hkcash-roulette-table-tool .roulette-table{
    min-width:0;
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:
      "zero"
      "numbers"
      "columns"
      "dozens"
      "outside";
    gap:7px;
  }
.hkcash-roulette-table-tool .zero-stack{
    grid-area:zero;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:5px;
  }
.hkcash-roulette-table-tool .zero-stack .zero:only-child{
    grid-column:1 / -1;
  }
.hkcash-roulette-table-tool .numbers-grid{
    grid-area:numbers;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-rows:none;
    grid-auto-flow:row;
    gap:4px;
    transform:none;
  }
.hkcash-roulette-table-tool .numbers-grid button{
    transform:none;
    min-height:46px;
    font-size:16px;
    border-radius:4px;
  }
.hkcash-roulette-table-tool .number,.hkcash-roulette-table-tool .column-bets button,.hkcash-roulette-table-tool .dozen-bets button,.hkcash-roulette-table-tool .outside-bets button{
    min-height:46px;
  }
.hkcash-roulette-table-tool .column-bets{
    grid-area:columns;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:4px;
  }
.hkcash-roulette-table-tool .dozen-bets{
    grid-area:dozens;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:4px;
  }
.hkcash-roulette-table-tool .outside-bets{
    grid-area:outside;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:4px;
  }
.hkcash-roulette-table-tool .column-bets button,.hkcash-roulette-table-tool .dozen-bets button,.hkcash-roulette-table-tool .outside-bets button{
    padding:8px 4px;
    font-size:13px;
    line-height:1.2;
  }
.hkcash-roulette-table-tool .bet-chip{
    right:2px;
    bottom:2px;
    min-width:20px;
    height:20px;
    font-size:9px;
  }
.hkcash-roulette-table-tool .advanced{
    padding:14px 12px;
    margin-top:14px;
  }
.hkcash-roulette-table-tool .advanced-head{
    display:grid;
    grid-template-columns:1fr;
    align-items:stretch;
    gap:12px;
  }
.hkcash-roulette-table-tool .advanced-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    width:100%;
  }
.hkcash-roulette-table-tool .advanced-actions .btn{
    width:100%;
    padding:0 10px;
  }
.hkcash-roulette-table-tool .advanced-controls{
    grid-template-columns:1fr;
    gap:10px;
  }
.hkcash-roulette-table-tool .advanced-help{
    min-height:auto;
    font-size:13px;
  }
.hkcash-roulette-table-tool .selected-box{
    line-height:1.5;
  }
.hkcash-roulette-table-tool .action-row{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }
.hkcash-roulette-table-tool .action-row .btn{
    width:100%;
  }
.hkcash-roulette-table-tool .btn-spin{
    min-height:54px;
  }
.hkcash-roulette-table-tool .result-board{
    grid-template-columns:1fr;
  }
.hkcash-roulette-table-tool .wheel-visual{
    width:232px;
    height:232px;
  }
.hkcash-roulette-table-tool .wheel-ring span{
    width:30px;
    height:30px;
    margin:-15px;
    font-size:10px;
  }
.hkcash-roulette-table-tool .wheel-ring span:nth-child(1){transform:rotate(0deg) translateY(-76px) rotate(0deg)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(2){transform:rotate(30deg) translateY(-76px) rotate(-30deg)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(3){transform:rotate(60deg) translateY(-76px) rotate(-60deg)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(4){transform:rotate(90deg) translateY(-76px) rotate(-90deg)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(5){transform:rotate(120deg) translateY(-76px) rotate(-120deg)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(6){transform:rotate(150deg) translateY(-76px) rotate(-150deg)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(7){transform:rotate(180deg) translateY(-76px) rotate(-180deg)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(8){transform:rotate(210deg) translateY(-76px) rotate(-210deg)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(9){transform:rotate(240deg) translateY(-76px) rotate(-240deg)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(10){transform:rotate(270deg) translateY(-76px) rotate(-270deg)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(11){transform:rotate(300deg) translateY(-76px) rotate(-300deg)}
.hkcash-roulette-table-tool .wheel-ring span:nth-child(12){transform:rotate(330deg) translateY(-76px) rotate(-330deg)}
.hkcash-roulette-table-tool .wheel-center{
    inset:70px;
  }
.hkcash-roulette-table-tool .wheel-center strong{
    font-size:36px;
  }
.hkcash-roulette-table-tool .bets-list{
    grid-template-columns:1fr;
  }
.hkcash-roulette-table-tool .bet-row{
    align-items:flex-start;
  }
.hkcash-roulette-table-tool .history .ball{
    width:34px;
    height:34px;
    font-size:12px;
  }}

/* v1.1.1 WordPress isolation / critical controls */
.hkcash-roulette-table-tool{width:100%;--purple-950:#170728;--purple-800:#3a175f;--purple-700:#54258b;--purple-500:#8b5cf6;--purple-100:#f0ebff;--lilac:#f8f5ff;--ink:#21182e;--muted:#70667f;--line:#e6def2;--felt:#07573f;--felt2:#0a684d;--gold:#f0c75e;--red:#b5252b;--black:#17211e;--green:#0e8a61;--white:#fff}
.hkcash-roulette-table-tool,.hkcash-roulette-table-tool *{box-sizing:border-box}
.hkcash-roulette-table-tool button{-webkit-appearance:none;appearance:none;margin:0;text-transform:none;letter-spacing:normal;box-shadow:none}
.hkcash-roulette-table-tool .section-head__title{font-size:clamp(20px,2.2vw,26px);font-weight:800;line-height:1.25;margin:6px 0 8px;color:var(--ink)}
.hkcash-roulette-table-tool .settlement__title{font-size:28px;font-weight:800;line-height:1.25;margin:6px 0 8px;color:#fff}
.hkcash-roulette-table-tool .chips{display:flex!important;align-items:center;gap:8px!important;flex-wrap:wrap!important}
.hkcash-roulette-table-tool .chips button{display:grid!important;place-items:center!important;flex:0 0 48px!important;width:48px!important;min-width:48px!important;max-width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;line-height:1!important;font-size:13px!important;border-radius:50%!important;color:#fff!important;background:#2a1740!important}
.hkcash-roulette-table-tool .chips button.is-active{outline:3px solid var(--gold)!important;outline-offset:2px!important}
.hkcash-roulette-table-tool .numbers-grid{visibility:visible!important;opacity:1!important}
.hkcash-roulette-table-tool .numbers-grid button{display:grid!important;place-items:center!important;visibility:visible!important;opacity:1!important;margin:0!important;padding:0!important;min-width:0!important;color:#fff!important;line-height:1!important;font-size:15px!important;border:1px solid rgba(255,255,255,.42)!important}
.hkcash-roulette-table-tool .numbers-grid button.rt-red{background:#b5252b!important}
.hkcash-roulette-table-tool .numbers-grid button.rt-black{background:#17211e!important}
.hkcash-roulette-table-tool .zero-stack button.rt-green{display:grid!important;place-items:center!important;background:#0e8a61!important;color:#fff!important}
.hkcash-roulette-table-tool .column-bets button,.hkcash-roulette-table-tool .dozen-bets button,.hkcash-roulette-table-tool .outside-bets button{display:grid!important;place-items:center!important;color:#fff!important;white-space:nowrap!important;line-height:1.2!important}
.hkcash-roulette-table-tool .outside-bets .red-bet{background:#b5252b!important}
.hkcash-roulette-table-tool .outside-bets .black-bet{background:#17211e!important}
.hkcash-roulette-table-tool .history .ball.rt-red{background:#b5252b!important}
.hkcash-roulette-table-tool .history .ball.rt-black{background:#17211e!important}
.hkcash-roulette-table-tool .history .ball.rt-green{background:#0e8a61!important}
@media(max-width:600px){
 .hkcash-roulette-table-tool .chips{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;width:100%!important}
 .hkcash-roulette-table-tool .chips button{justify-self:center!important;flex:none!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;font-size:12px!important}
 .hkcash-roulette-table-tool .section-head__title{font-size:22px}
 .hkcash-roulette-table-tool .settlement__title{font-size:24px}
}
