.bj{max-width:1200px;margin:auto;color:#f2e8d6}.bj button{border:1px solid #c1a16a88;background:#25213b;color:#f6e3bb;padding:11px 18px;border-radius:9px;font:inherit;cursor:pointer}.bj button:disabled{opacity:.45;cursor:default}.bj button:hover:not(:disabled){border-color:#e2c58c;background:#38304d}.bj-heading{display:flex;align-items:center;gap:20px;padding:24px 0}.bj-heading h2{font-family:Georgia,serif;font-size:38px;margin:5px 0}.bj-heading p{margin:4px 0;color:#c7bdc8}.bj-sigil{width:76px;color:#e1c286;flex-shrink:0}.bj-sigil svg{width:100%}.bj-wallet{margin-left:auto;min-width:160px;text-align:right;font-size:25px}.bj-wallet span{display:block;font-size:12px;color:#c9becd;margin-top:5px}.bj-rules{background:#28233b;border:1px solid #a6885155;border-radius:12px;padding:15px 20px}.bj-rules strong{color:#f1d39b}.bj-rules p,.bj-note{font-size:14px;line-height:1.6;color:#cbc0d1}.bj-message{min-height:24px;color:#e8cb91}.bj-lobby{display:grid;grid-template-columns:1fr 1fr;gap:20px}.bj-lobby article,.bj-lobby form{background:#242038;border:1px solid #96806366;border-radius:15px;padding:24px}.bj-lobby h3{font-family:Georgia,serif;font-size:26px}.bj-lobby p{line-height:1.7;color:#cbbfd0}.bj label{display:block}.bj input{display:block;box-sizing:border-box;max-width:100%;background:#161324;color:#fae2b1;border:1px solid #96754e;border-radius:7px;font:inherit;padding:12px;margin:8px 0 16px}.bj-table-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:15px;margin:16px 0}.bj-table-toolbar input{font:700 23px monospace;letter-spacing:3px;width:190px;margin:4px 0}.bj-table-toolbar p{flex:1;min-width:180px;color:#c8bdd0;font-size:13px}.bj-felt{border:2px solid #b99b60;border-radius:70px 70px 28px 28px;background:radial-gradient(ellipse at 50% 0,#31594f,#172e2b 70%);padding:25px 18px;box-shadow:inset 0 0 0 6px #101e1d66,0 12px 30px #0004}.bj-dealer{text-align:center;min-height:165px}.bj-dealer p{font-size:13px;color:#c5d4c9}.bj-cards{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin:12px 0}.bj-card{width:55px;height:80px;flex-shrink:0;box-sizing:border-box;position:relative;border-radius:7px;background:#f9f3e5;border:1px solid #cab98e;color:#242438;text-align:left;box-shadow:0 3px 7px #0004;animation:bj-deal .25s ease-out}.bj-card b{position:absolute;left:6px;top:4px;font:700 17px Georgia,serif}.bj-card span{display:block;text-align:center;margin-top:24px;font:34px Georgia,serif}.bj-card-red{color:#a43e4c}.bj-card-back{background:repeating-linear-gradient(45deg,#302945,#302945 5px,#413753 5px,#413753 7px);color:#edce8c;display:grid;place-items:center;font-size:31px;border:2px solid #bd9e65}.bj-seats{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.bj-seat{flex:1 1 170px;min-width:0;max-width:210px;box-sizing:border-box;background:#101b1c88;border:1px solid #a8aa8d55;border-radius:15px;padding:12px;text-align:center;min-height:175px}.bj-seat h3{font:600 15px Georgia,serif;overflow-wrap:anywhere;margin:4px 0 10px}.bj-seat-state,.bj-result{font-size:13px;margin:6px 0}.bj-current{border:2px solid #efd99a;box-shadow:0 0 15px #ebcd6d33}.bj-empty{display:grid;place-items:center;opacity:.4;border-style:dashed}.bj-win{color:#a6edb0}.bj-loss{color:#f5b4b9}.bj-push{color:#ebd2a2}.bj-turn{font-size:18px;text-align:center;color:#f1d39b}.bj-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}.bj-actions button{min-width:130px;font-weight:bold}.bj-note{margin:20px auto;max-width:850px;text-align:center}@keyframes bj-deal{from{transform:translateY(-8px);opacity:.5}to{transform:translateY(0);opacity:1}}@media(max-width:650px){.bj-heading{gap:10px;flex-wrap:wrap}.bj-heading h2{font-size:30px}.bj-sigil{width:48px}.bj-wallet{width:100%;text-align:left;font-size:21px;margin:0}.bj-lobby{grid-template-columns:1fr}.bj-felt{border-radius:30px 30px 20px 20px;padding:18px 8px}.bj-seat{flex-basis:145px}.bj-card{width:49px;height:72px}.bj-card span{font-size:29px}.bj-table-toolbar p{flex-basis:100%;order:3}.bj-note{text-align:left}}@media(prefers-reduced-motion:reduce){.bj-card{animation:none}}

.bj-stakes{text-align:center;margin:22px auto}.bj-stakes h4{font-size:14px;font-weight:normal;letter-spacing:2px;text-transform:uppercase;color:#e1c286;margin:0 0 14px}.bj-stake-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.bj button.bj-stake-chip{width:64px;height:64px;min-width:64px;border-radius:50%;padding:0;border:4px dashed #b6a27e;background:#241f38;box-shadow:0 0 0 2px #746343,inset 0 0 0 2px #746343;font-size:18px;font-weight:bold}.bj button.bj-stake-chip[aria-pressed="true"]{background:#775c2e;color:#fff4d2;border-color:#ffe2a1;box-shadow:0 0 0 2px #e5be6e,0 0 15px #e5be6e55}.bj-stakes p{font-size:13px;color:#cbbfd0;margin:16px 0 0}@media(max-width:420px){.bj-stake-buttons{gap:9px}.bj button.bj-stake-chip{width:50px;height:50px;min-width:50px;font-size:16px}}

.bj-player-hand{border:1px solid transparent;border-radius:10px;padding:7px 2px;margin:7px 0}.bj-player-hand+.bj-player-hand{border-top:1px solid #b99b6055}.bj-hand-current{background:#e8c47714;border-color:#efd99a}.bj-actions button{min-width:120px}

.bj-player-hand .bj-cards{gap:4px}.bj-player-hand .bj-card{width:50px;height:74px}
