.hrbj{--green:#53fc18;--panel:#111814;--line:#26372c;background:#080b0a;color:#f3f7f4;padding:clamp(14px,3vw,30px);border:1px solid var(--line);border-radius:20px;max-width:1200px;margin:auto;font-family:inherit;box-sizing:border-box}.hrbj *{box-sizing:border-box}.hrbj header{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:22px}.hrbj h2{font-size:clamp(30px,5vw,52px);line-height:1.1;color:#fff;margin:4px 0}.hrbj h2 span,.hrbj-wallet strong{color:var(--green)}.hrbj small,.hrbj p,.hrbj label,.hrbj-stat span,.hrbj-wallet span{color:#b4bdb8;font-size:13px}.hrbj-wallet{display:grid;gap:6px;background:var(--panel);border:1px solid var(--line);padding:14px 18px;border-radius:12px;min-width:210px}.hrbj-wallet strong{font-size:25px;line-height:1.25}.hrbj-track{height:5px;border-radius:6px;background:#293b30;overflow:hidden}.hrbj-track div{height:100%;background:var(--green);width:0;transition:width .3s linear}.hrbj-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:16px}.hrbj aside,.hrbj main{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px;min-width:0}.hrbj aside{display:flex;flex-direction:column;gap:12px}.hrbj input[type=number]{color:#fff;background:#080f0a;border:1px solid #34473a;border-radius:8px;padding:12px;width:100%;font-size:17px}.hrbj-stat{display:flex;flex-direction:column;gap:4px;padding:10px;background:#1d2a21;border-radius:8px}.hrbj button{cursor:pointer;min-height:42px;border:1px solid #34473a;border-radius:8px;padding:9px 12px;color:#fff;background:#233228;font:inherit;font-weight:700;line-height:1.1}.hrbj button:disabled{cursor:not-allowed;opacity:.6}.hrbj #hrbj-deal{background:var(--green);color:#0b1905;border:0}.hrbj-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hrbj-audio{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.hrbj-audio input{width:90px;flex:1;accent-color:var(--green)}.hrbj-table{min-height:520px;border-radius:18px;padding:18px;background:radial-gradient(circle at center,#17502f 0%,#10311f 58%,#0b2015 100%);border:1px solid #2e5a3d;display:grid;grid-template-rows:auto 1fr auto;gap:14px}.hrbj-seat{display:grid;gap:10px}.hrbj-head{display:flex;justify-content:space-between;align-items:center;font-weight:700;color:#eef7f0}.hrbj-head b{color:#fff;font-size:24px}.hrbj-cards{display:flex;gap:10px;flex-wrap:wrap;min-height:120px}.hrbj-card{width:76px;height:108px;border-radius:12px;border:1px solid #cfb16b;background:linear-gradient(180deg,#fff,#e9eee9);color:#101714;display:grid;place-items:center;font-weight:800;font-size:28px;box-shadow:0 10px 18px #0004;transform:translateY(8px);opacity:0;animation:hrbjDeal .32s ease forwards}.hrbj-card.hidden{background:linear-gradient(180deg,#1f3528,#101814);color:#7aa487}.hrbj-card.red{color:#ad3342}.hrbj-center{display:grid;place-items:center;text-align:center}.hrbj-center #hrbj-outcome{font-size:clamp(20px,3vw,34px);font-weight:800;color:#fff;padding:8px 12px;background:#0b190f75;border-radius:12px}.hrbj details{margin-top:12px;background:var(--panel);border:1px solid var(--line);padding:12px;border-radius:8px}.hrbj summary{cursor:pointer;font-weight:700}.hrbj button:focus-visible,.hrbj input:focus-visible{outline:2px solid #fff;outline-offset:2px}@keyframes hrbjDeal{to{transform:translateY(0);opacity:1}}@media(max-width:760px){.hrbj-layout{grid-template-columns:1fr}.hrbj-table{min-height:unset}.hrbj-cards{justify-content:center}.hrbj-actions{grid-template-columns:1fr 1fr}.hrbj main{padding:10px}}
.hrbj .hrbj-spots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.hrbj-spots>div{display:grid;justify-items:center;gap:6px;text-align:center}.hrbj-spots small{font-size:10px;letter-spacing:.04em;color:#e4d3a5}.hrbj-spots b{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#173126;border:3px dashed #d5b46b;box-shadow:inset 0 0 0 3px #0d1b13,0 4px 8px #0006;font-size:12px;color:#fff}.hrbj-spots>div:nth-child(2) b{background:#227839}.hrbj #hrbj-sides{display:grid;gap:5px}.hrbj #hrbj-sides p{padding:7px 9px;background:#0c2418;border-radius:7px;margin:0;color:#eee}.hrbj-card{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px}.hrbj-card .corner{position:absolute;top:6px;left:7px;font-size:13px}.hrbj-card .suit{font-size:27px}.hrbj-card.hidden{border:2px solid #c2a462;background:repeating-linear-gradient(45deg,#10271a,#10271a 6px,#204332 6px,#204332 12px)}.hrbj [hidden]{display:none!important}

/* Prevent Astra/Elementor button widths and intrinsic grid sizing from overflowing. */
.hrbj{width:100%;min-width:0;container-type:inline-size;overflow-wrap:anywhere}
.hrbj .hrbj-layout{grid-template-columns:minmax(0,260px) minmax(0,1fr)}
.hrbj .hrbj-layout>*,.hrbj .hrbj-actions,.hrbj .hrbj-audio,.hrbj .hrbj-seat,.hrbj .hrbj-table,.hrbj .hrbj-spots>div{min-width:0;max-width:100%}
.hrbj .hrbj-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
.hrbj .hrbj-actions button{box-sizing:border-box;min-width:0;width:100%;max-width:100%;margin:0;padding:10px 4px;min-height:46px;font-size:12px;letter-spacing:0;white-space:normal;overflow-wrap:anywhere;line-height:1.25;text-align:center;display:block}
.hrbj #hrbj-deal{grid-column:1/-1;min-height:48px;font-size:14px}
.hrbj #hrbj-double{grid-column:1/-1}
.hrbj .hrbj-audio{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%}
.hrbj .hrbj-audio button{grid-column:1/-1;width:100%;min-width:0;margin:0;padding:9px 5px;font-size:12px;white-space:normal}
.hrbj .hrbj-audio input{width:100%;min-width:0;max-width:100%;margin:0}
.hrbj .hrbj-wallet{min-width:0;max-width:100%;overflow-wrap:anywhere}
.hrbj .hrbj-wallet strong{font-variant-numeric:tabular-nums}
.hrbj .hrbj-track{width:100%;min-height:5px}
.hrbj .hrbj-spots b{max-width:100%;width:clamp(48px,100%,76px);height:auto;aspect-ratio:1;min-height:0;padding:3px;overflow-wrap:anywhere;font-size:11px;line-height:1.1;text-align:center}
.hrbj .hrbj-spots small{font-size:9px;overflow-wrap:anywhere}
.hrbj .hrbj-card{width:clamp(48px,16%,76px);min-width:0;height:auto;aspect-ratio:76/108;flex-shrink:0;font-size:clamp(18px,4vw,28px)}
.hrbj .hrbj-card .corner{font-size:11px}
.hrbj .hrbj-card .suit{font-size:21px}
@container (max-width:780px){.hrbj .hrbj-layout{grid-template-columns:minmax(0,1fr)}.hrbj .hrbj-table{min-height:unset;padding:12px}.hrbj .hrbj-cards{justify-content:center;min-height:90px}.hrbj .hrbj-wallet{width:100%}.hrbj .hrbj-layout main{padding:10px}}
@media(max-width:780px){.hrbj .hrbj-layout{grid-template-columns:minmax(0,1fr)}.hrbj .hrbj-table{min-height:unset;padding:12px}.hrbj .hrbj-wallet{width:100%}}
@media(prefers-reduced-motion:reduce){.hrbj .hrbj-card{animation:none;opacity:1;transform:none}.hrbj .hrbj-track div{transition:none}}

/* Center every card group, independent of Elementor container width. */
.hrbj .hrbj-cards{justify-content:center;align-items:center;width:100%;min-width:0;align-content:center}
.hrbj .hrbj-head{justify-content:center;gap:12px;flex-wrap:wrap;text-align:center}
.hrbj #hrbj-double,.hrbj #hrbj-split{grid-column:auto}
.hrbj #hrbj-player-cards.hrbj-split-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px}
.hrbj .hrbj-hand{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;gap:8px;border:1px solid #3a6248;border-radius:12px;background:#0b231780;padding:12px 6px;text-align:center}
.hrbj .hrbj-hand.active{border:2px solid #53fc18;background:#205232;box-shadow:0 0 12px #53fc1820}
.hrbj .hrbj-hand-head{font-weight:700;font-size:13px;color:#f3f7f4}
.hrbj .hrbj-hand .hrbj-cards{min-height:0;gap:5px}
.hrbj .hrbj-hand .hrbj-card{width:clamp(36px,28%,68px);font-size:clamp(14px,3vw,24px)}
.hrbj .hrbj-hand .hrbj-card .suit{font-size:clamp(13px,3vw,21px)}
.hrbj .hrbj-hand .hrbj-card .corner{font-size:9px;top:4px;left:4px}
@container (max-width:420px){.hrbj #hrbj-player-cards.hrbj-split-grid{grid-template-columns:minmax(0,1fr)}}
