@scope ([data-iw4m-plugin="Credify"]) to ([data-iw4m-host]) {
/* Credify Casino Hold'em — vs-house table. Cards render via the shared CardView (blackjack.css). */

.ch-felt {
    background: radial-gradient(130% 110% at 50% -10%, #1a2740 0%, #111a2d 45%, #070c16 100%);
}

.ch-muted { color: var(--color-subtle, #a1a1aa); font-size: 0.72rem; }
.ch-chip-stat {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.35rem 0.7rem; border-radius: 0.6rem;
    background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 700; font-size: 0.85rem;
}

/* ── table ───────────────────────────────────────────────────────────── */
.ch-table { max-width: 34rem; margin-inline: auto; display: flex; flex-direction: column; gap: 0.8rem; }
.ch-row {
    border-radius: 1rem; padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.08);
}
.ch-row-community { background: rgba(251, 191, 36, 0.05); border-color: rgba(251, 191, 36, 0.18); }
.ch-row-me { border-color: rgba(16, 185, 129, 0.35); box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.12); }
.ch-row-label { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; }
.ch-hand-name { margin-left: 0.5rem; font-size: 0.82rem; font-weight: 700; }
.ch-hand { display: flex; gap: 0.4rem; margin-top: 0.5rem; min-height: 4.5rem; }
.ch-empty { color: #52525b; font-size: 1.5rem; }

/* ── settle breakdown ────────────────────────────────────────────────── */
.ch-breakdown {
    max-width: 20rem; margin-inline: auto;
    border-radius: 0.8rem; padding: 0.5rem 0.9rem;
    background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.88rem; font-variant-numeric: tabular-nums;
}
.ch-bd-row { display: flex; justify-content: space-between; padding: 0.2rem 0; color: #d4d4d8; }
.ch-bd-net { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 0.25rem; padding-top: 0.4rem; font-weight: 800; }

/* ── controls ────────────────────────────────────────────────────────── */
.ch-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.4rem; border-radius: 0.8rem; font-weight: 800; color: #fff;
    transition: filter 0.15s ease, transform 0.05s ease;
}
.ch-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.ch-btn-primary { background: var(--color-action-primary, #6366f1); }
.ch-btn-call { background: linear-gradient(180deg, #10b981, #047857); }
.ch-btn-primary:hover:not(:disabled), .ch-btn-call:hover:not(:disabled) { filter: brightness(1.1); }
.ch-btn-fold { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); }
.ch-btn-fold:hover:not(:disabled) { background: rgba(244, 63, 94, 0.18); border-color: rgba(244, 63, 94, 0.4); }
.ch-btn-primary:active:not(:disabled), .ch-btn-call:active:not(:disabled), .ch-btn-fold:active:not(:disabled) { transform: translateY(1px); }

/* ── paytable ────────────────────────────────────────────────────────── */
.ch-paytable {
    max-width: 20rem; margin-inline: auto;
    border-radius: 0.8rem; padding: 0.5rem 0.8rem;
    background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.07);
}
.ch-pt-head { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: #a1a1aa; margin-bottom: 0.3rem; }
.ch-pt-row { display: flex; justify-content: space-between; font-size: 0.82rem; padding: 0.12rem 0; }
.ch-pt-row span:last-child { font-weight: 800; color: #fcd34d; }
.ch-pt-note { margin-top: 0.35rem; font-size: 0.72rem; color: #71717a; }

}
