.bj-page{padding:28px 24px 80px;color:white}.bj-wrap{max-width:1180px;margin:auto}.bj-heading{display:flex;align-items:center;gap:15px;margin-bottom:20px}.bj-heading>a{font-size:25px;color:#9ab0b6}.bj-heading small{font-size:9px;color:#6e8790;letter-spacing:2px;font-weight:800}.bj-heading h1{font-size:29px;font-style:italic;letter-spacing:-1px;margin:3px 0}.bj-wallet{margin-left:auto;color:#7c98a0;font-size:10px;font-weight:bold}.bj-wallet b{display:block;color:white;font-size:20px;margin-top:5px}.bj-layout{display:grid;grid-template-columns:260px 1fr;border-radius:24px;overflow:hidden;border:1px solid #ffffff10;box-shadow:0 30px 70px #0008}.bj-controls{position:relative;width:auto;inset:auto;overflow:visible;background:#1c2830;border:0;padding:24px;z-index:auto}.bj-controls label{display:block;color:#99adb5;font-size:12px;font-weight:bold;margin-bottom:8px}.bj-input{display:flex;align-items:center;border:1px solid #4a626d;border-radius:12px;background:#101d23;padding:0 12px}.bj-input input{width:100%;height:45px;background:none;border:0;color:white;font-size:16px;outline:none}.bj-input b{font-size:11px;color:#75cde0}.bj-primary,.bj-actions button{width:100%;border:0;border-radius:12px;padding:14px;font-weight:900;cursor:pointer}.bj-primary{margin-top:15px;background:#4ed1ed;color:#0a1e26}.bj-actions{display:grid;gap:8px;margin-top:12px}.bj-actions button{background:#364d58;color:white}.bj-controls button:disabled{opacity:.4;cursor:not-allowed}.bj-note{margin:24px 0 0;color:#8ea6ad;font-size:11px}.bj-controls #bj-error{color:#ff9999;line-height:1.5;font-size:12px}.bj-table{position:relative;min-height:600px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:26px;background:radial-gradient(ellipse at center,#104e4a,#0b302f 54%,#0b1e25);overflow:hidden}.bj-table:before{content:'';position:absolute;inset:45px 8%;border:1px solid #7cd5b521;border-radius:48%;pointer-events:none}.bj-brand{font-size:10px;letter-spacing:3px;color:#a4d9c77a;font-weight:900;z-index:1}.bj-brand i{color:#e1c881}.bj-hand{z-index:1;display:flex;flex-direction:column;align-items:center;gap:14px}.bj-hand-label{font-size:10px;letter-spacing:2px;color:#a2c5b7;font-weight:900}.bj-hand-label strong{font-size:13px;color:white;margin-left:7px}.bj-cards{display:flex;align-items:center;justify-content:center;gap:8px;min-height:110px;flex-wrap:wrap}.bj-card{width:76px;height:108px;padding:8px;border-radius:9px;background:#f5f4ec;color:#16222b;font:bold 19px Arial;box-shadow:0 10px 25px #0007;display:flex;flex-direction:column}.bj-card.red{color:#d53845}.bj-card i{font-style:normal;text-align:center;font-size:38px;margin:auto}.bj-card.back{background:repeating-linear-gradient(45deg,#213f4b 0 6px,#162b34 6px 12px);border:5px solid #e1dfd4;color:#8ad9dc;align-items:center;justify-content:center;font-size:28px}.bj-center{z-index:1;color:#ddc07a;font-size:15px;font-weight:900;letter-spacing:3px;text-align:center}.bj-table-footer{z-index:1;color:#d1bb7a8a;font-size:9px;letter-spacing:3px;font-weight:900}@media(max-width:767px){.bj-page{padding:18px 12px 90px}.bj-layout{display:flex;flex-direction:column-reverse}.bj-controls{padding:16px}.bj-actions{grid-template-columns:repeat(3,1fr)}.bj-actions button{padding:12px 4px;font-size:11px}.bj-table{min-height:440px;padding:20px 12px}.bj-card{width:55px;height:80px;font-size:15px}.bj-card i{font-size:27px}.bj-cards{min-height:82px}.bj-note{margin-top:14px}}

.bj-insurance{margin-top:18px;padding:15px;border:1px solid #7cd9d640;border-radius:14px;background:#102f34}.bj-insurance[hidden]{display:none}.bj-insurance strong{font-size:13px;color:#94eaf2}.bj-insurance p{font-size:11px;line-height:1.55;color:#b7cccd}.bj-insurance div{display:flex;gap:8px}.bj-insurance button{flex:1;padding:10px 5px;border:0;border-radius:9px;color:white;background:#36545b;font-weight:800;cursor:pointer}.bj-insurance button:first-child{background:#49c9dc;color:#082128}.bj-insurance button:disabled{opacity:.4}.bj-card.arrive{animation:bj-deal .28s ease-out both}@keyframes bj-deal{from{opacity:0;transform:translateY(-25px) scale(.85)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.bj-card.arrive{animation:none}}
/* Blackjack masası */
.bj-layout{border:1px solid #78d9d221;background:#0a1e24;box-shadow:0 24px 70px #0009,0 0 0 1px #0005}
.bj-controls{background:linear-gradient(165deg,#1a3038,#15252e);border-right:1px solid #a4f7ed12}
.bj-input{border-color:#92c7cb30;background:#0c1d24;box-shadow:inset 0 2px 8px #0003}
.bj-primary{background:linear-gradient(135deg,#63e3e7,#36b8d1);box-shadow:0 8px 24px #27c6d026;transition:filter .2s,transform .2s}
.bj-primary:not(:disabled):hover{filter:brightness(1.1);transform:translateY(-1px)}
.bj-actions button{background:#29444d;border:1px solid #a2e8e419;transition:background .2s,transform .2s}
.bj-actions button:not(:disabled):hover{background:#39606a;transform:translateY(-1px)}
.bj-table{min-height:590px;background:radial-gradient(ellipse at 50% 42%,#1c635c 0%,#104741 44%,#092b30 78%,#0a2029 100%);box-shadow:inset 0 0 80px #03161777}
.bj-table:before{inset:32px 6%;border:1px solid #a5e7ce1f;border-radius:48% 48% 42% 42%;box-shadow:inset 0 0 0 9px #ffffff05,0 0 0 10px #061d1e30}
.bj-brand{font-size:10px;letter-spacing:.3em;color:#d1ebdb82}
.bj-hand{min-height:155px;justify-content:center;gap:10px}
.bj-score{display:flex;align-items:center;justify-content:center;min-width:34px;height:27px;padding:0 9px;border:1px solid #d4ffe42a;border-radius:9px;background:#092b29d9;color:#d8f7e4;font-size:12px;box-shadow:0 5px 18px #0003}
.bj-score:empty{visibility:hidden}
.bj-card{border:1px solid #fff;box-shadow:0 10px 22px #0007,0 2px 3px #0004;transition:transform .2s}
.bj-center{position:relative;min-height:30px;display:grid;place-items:center;letter-spacing:.2em;font-size:12px;color:#d8c792}
.bj-win[hidden]{display:none}
.bj-win{position:absolute;left:50%;top:50%;z-index:5;transform:translate(-50%,-50%);min-width:190px;padding:17px 24px;border:1px solid #87f6c66b;border-radius:16px;background:radial-gradient(circle at 50% 0,#166c51,#09352c 65%,#08271f);box-shadow:0 15px 45px #000a,0 0 30px #4aefb330;display:flex;flex-direction:column;align-items:center;gap:5px;color:#ddffed;white-space:nowrap;pointer-events:none}
.bj-win.visible{animation:bj-win-in .3s ease-out both}.bj-win-label{font-size:9px;font-weight:900;letter-spacing:.2em;color:#85e4b4}.bj-win strong{font-size:25px;letter-spacing:-.04em;color:white;line-height:1.2}.bj-win-coin{display:inline-block;width:23px;height:23px;vertical-align:middle;object-fit:contain}.bj-win-ratio{font-size:13px;font-weight:900;color:#9ffac6;letter-spacing:.03em}
@keyframes bj-win-in{from{opacity:0;transform:translate(-50%,-40%) scale(.9)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@media(max-width:767px){.bj-controls{border-right:0;border-top:1px solid #a4f7ed12}.bj-table{min-height:400px}.bj-hand{min-height:110px}.bj-win{min-width:155px;padding:13px 18px}.bj-win strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){.bj-win.visible{animation:none}}
.bj-sound{margin-left:auto;width:36px;height:36px;border:1px solid #8fe4ef33;border-radius:10px;background:#152c35;color:#d7fbff;cursor:pointer}.bj-sound:hover{background:#244650}.bj-sound+.bj-wallet{margin-left:0}

/* 2026 casino table refresh */
.bj-page{--bj-red:#f04445;--bj-cream:#f6e8d1;max-width:1230px;margin:auto;padding:32px 26px 70px;color:#eee}
.bj-wrap{max-width:none}.bj-heading{gap:16px;margin-bottom:25px}.bj-heading>a{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #383838;border-radius:12px;text-decoration:none;color:#ddd;font-size:27px}.bj-heading>a:hover{border-color:#f04445;color:white}.bj-heading small{font-size:10px;letter-spacing:2px;color:#a29a92}.bj-heading h1{font-size:27px;font-style:normal;letter-spacing:-1px;line-height:1.1;margin:6px 0 0}.bj-heading h1 span{color:var(--bj-red)}.bj-wallet{padding:10px 15px;border:1px solid #343434;border-radius:11px;color:#98939b;letter-spacing:.06em}.bj-wallet b{color:#f3e9e2;font-variant-numeric:tabular-nums}.bj-sound{width:42px;height:42px;margin-left:auto;border:1px solid #423d40;border-radius:12px;background:#242326;color:#fff}.bj-sound+.bj-wallet{margin-left:0}
.bj-layout{grid-template-columns:280px minmax(0,1fr);gap:16px;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}.bj-controls{border:1px solid #38363a;border-radius:20px;padding:22px;background:linear-gradient(160deg,#242326,#19191c)}.bj-control-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:18px;margin-bottom:24px;border-bottom:1px solid #373337}.bj-control-head strong{font-size:15px}.bj-control-head span{font-size:9px;letter-spacing:1.3px;color:#ff8282}.bj-controls label{font-size:11px;color:#bdb8be}.bj-input{border:1px solid #48444a;border-radius:10px;background:#101013;box-shadow:none}.bj-input input{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}.bj-input b{color:#b6a9ad}.bj-primary{min-height:54px;margin-top:20px;border:1px solid #ff6969;border-radius:11px;background:linear-gradient(120deg,#ee3b42,#cf252b);color:white;box-shadow:0 5px 20px #d52b2b26;letter-spacing:.04em}.bj-actions{gap:8px}.bj-actions button{min-height:48px;border:1px solid #484148;border-radius:10px;background:#2c2a30;color:#e6dfe5}.bj-actions button:not(:disabled):hover{background:#42363a}.bj-controls button:focus-visible,.bj-heading a:focus-visible,.bj-input input:focus-visible{outline:2px solid #ff9c9c;outline-offset:3px}.bj-note{margin-top:25px;border-top:1px solid #383238;padding-top:18px;color:#a6a1a7;line-height:1.7}.bj-insurance{border:1px solid #865f5f;background:#302326}.bj-insurance strong{color:#f4d4c4}.bj-insurance button:first-child{background:#e33e45;color:white}
.bj-table{min-height:590px;isolation:isolate;border:1px solid #3d3438;border-radius:20px;padding:0 24px 20px;background:radial-gradient(ellipse at 50% 48%,#205348 0,#123d37 43%,#102b2b 75%,#141b1d 100%);box-shadow:inset 0 0 95px #06111299,0 20px 40px #0005}.bj-table:before{inset:74px 6% 52px;border:2px solid #cfb88029;border-radius:48% 48% 43% 43%;box-shadow:inset 0 0 0 8px #e8d2a006,0 0 0 8px #040d0d20}.bj-table:after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 50%,transparent 30%,#080c1070 100%);z-index:-1;pointer-events:none}.bj-table-top{z-index:1;display:flex;justify-content:space-between;gap:12px;align-items:center;width:100%;padding:20px 0;color:#9db6aa;font-size:9px;letter-spacing:1.5px}.bj-brand{color:#e8d6b9;font-size:10px;letter-spacing:2px}.bj-brand i{color:#ef5a62;font-size:15px}.bj-hand{gap:8px;min-height:155px}.bj-hand-label{color:#dfd4bd;font-size:10px;letter-spacing:2px}.bj-score{order:1;min-width:38px;border-color:#e9d1aa52;border-radius:999px;background:#102c2be8;color:#f8e6c7}.bj-cards{order:2;gap:0;min-height:113px}.bj-card{position:relative;width:78px;height:109px;margin:0 -4px;border:1px solid #fff;border-radius:10px;background:linear-gradient(145deg,#fffdf7,#e9e5da);box-shadow:0 12px 24px #0008,0 2px 4px #0005;transform:rotate(var(--tilt,0deg))}.bj-card:nth-child(odd){--tilt:-3deg}.bj-card:nth-child(even){--tilt:3deg}.bj-card.back{border:5px solid #f0e4cf;background:repeating-linear-gradient(45deg,#9a2833 0 7px,#6d1f29 7px 14px);color:#fff2dc}.bj-center{min-height:40px;color:#f6e8d1;font-size:13px;text-shadow:0 2px 10px #000}.bj-table-footer{color:#e7cb9f75}.bj-win{border-color:#5be6b55c;background:radial-gradient(circle at 50% 0,#136651,#092a22 75%);box-shadow:0 12px 36px #000a,0 0 25px #25de9950}
@media(max-width:900px){.bj-layout{grid-template-columns:240px minmax(0,1fr)}.bj-controls{padding:18px}}
@media(max-width:767px){.bj-page{padding:20px 14px 95px}.bj-heading h1{font-size:21px}.bj-heading small{font-size:8px}.bj-wallet{padding:8px;font-size:8px}.bj-wallet b{font-size:15px}.bj-sound{width:36px;height:36px}.bj-layout{display:flex;flex-direction:column;gap:12px}.bj-table{order:0;min-height:445px;padding:0 12px 18px}.bj-controls{order:1}.bj-table:before{inset:65px 5% 45px}.bj-hand{min-height:115px}.bj-cards{min-height:84px}.bj-card{width:57px;height:83px;margin:0 -3px}.bj-table-top{padding:14px 2px}.bj-table-top>span:last-child{display:none}.bj-control-head{margin-bottom:18px}.bj-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.bj-actions button{font-size:11px;padding:10px 3px}}
@media(prefers-reduced-motion:reduce){.bj-card,.bj-primary,.bj-actions button{transition:none!important}}

.bj-table:has(#bj-dealer:empty):has(#bj-player:empty):has(#bj-split-hands[hidden]) .bj-center:before{content:'21';display:block;font:italic 900 clamp(64px,10vw,118px) Georgia,serif;line-height:1;color:#e5cf9c44;text-shadow:0 4px 22px #0008}.bj-table:has(#bj-dealer:empty):has(#bj-player:empty):has(#bj-split-hands[hidden]) .bj-center:after{content:'♠  ♥  ♦  ♣';display:block;color:#e2c98b66;font-size:18px;letter-spacing:.55em}
@media(max-width:1023px){body>main{margin-left:0!important;width:100%;min-width:0}.bj-page{min-width:0}.bj-heading{flex-wrap:wrap}.bj-heading>div:nth-child(2){min-width:0;flex:1}.bj-wallet{max-width:100%}}

.bj-table:before{content:none}.bj-table:has(#bj-dealer:empty):has(#bj-player:empty):has(#bj-split-hands[hidden]) .bj-center:after{content:none}

.bj-page.bj-page{max-width:1230px;margin:0 auto;padding:20px 26px 70px;box-sizing:border-box;background:#132a39}.bj-page .bj-wrap{max-width:none;width:100%}.bj-page .bj-heading{display:flex;align-items:center;gap:16px;min-height:55px;margin-bottom:18px}.bj-page .bj-heading>a:first-child::before{content:"";width:8px;height:8px;border:solid currentColor;border-width:0 0 2px 2px;transform:translateX(2px) rotate(45deg)}
.bj-heading>a:first-child{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border:1px solid #383838;border-radius:12px;background:transparent;color:#ddd;font-size:28px;text-decoration:none}.bj-page .bj-heading h1{margin:0;color:#fff;font-size:25px;font-weight:800;font-style:normal;letter-spacing:-1px;line-height:1.1}.bj-page .bj-wallet{display:none}.bj-page .bj-stake-promo{display:flex;align-items:center;justify-content:center;gap:10px;flex:0 0 200px;width:200px;height:55px;margin-left:auto;padding:8px 14px;box-sizing:border-box;border:1px solid #328ff2;border-radius:10px;background:#147ce5;box-shadow:0 7px 20px #0623433d,inset 0 1px #b9e4ff26;text-decoration:none;animation:bj-stake-float 4.8s ease-in-out infinite}.bj-page .bj-stake-promo img{display:block;width:145px;height:auto;max-height:40px;object-fit:contain}.bj-page .bj-stake-promo span{font:400 17px/1 Arial,sans-serif;color:#e1f1ff}.bj-page .bj-stake-promo:hover{animation-play-state:paused;background:#238bf1}.bj-page .bj-stake-promo:focus-visible{outline:2px solid #a0d6ff;outline-offset:4px}.bj-page .bj-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;align-items:stretch;overflow:visible;border:0;box-shadow:none;background:transparent}.bj-page .bj-controls,.bj-page .bj-table{border:1px solid #80d7e019;border-radius:20px;box-shadow:0 16px 40px #0005}.bj-page .bj-controls{padding:20px;background:#222428}.bj-page .bj-table{background:#0e222e}.bj-page .bets-head p{display:none}@keyframes bj-stake-float{0%,65%,100%{transform:translateY(0) scale(1)}77%{transform:translateY(-5px) scale(1.025)}88%{transform:translateY(1px) scale(1)}}@media(max-width:760px){.bj-page.bj-page{padding:20px 14px 95px}.bj-page .bj-heading{gap:10px;min-height:48px}.bj-page .bj-heading h1{font-size:18px}.bj-page .bj-stake-promo{flex-basis:165px;width:165px;height:48px;padding:7px 12px}.bj-page .bj-stake-promo img{width:119px;max-height:33px}.bj-page .bj-layout{display:flex;flex-direction:column}.bj-page .bj-table{order:0}.bj-page .bj-controls{order:1;padding:16px}}@media(max-width:380px){.bj-page .bj-stake-promo{flex-basis:145px;width:145px}.bj-page .bj-stake-promo img{width:101px}}@media(prefers-reduced-motion:reduce){.bj-page .bj-stake-promo{animation:none}}

.bj-page .bj-heading>div:has(h1){min-width:0}.bj-page .bj-table-top{width:100%;display:flex;justify-content:space-between;align-items:center}.bj-page .bj-table-top .bj-sound{margin-left:auto}.bj-page .bj-brand{letter-spacing:.5em}.bj-page .bj-table{min-height:540px}
.bj-player-area{position:relative;z-index:1;width:100%;display:flex;justify-content:center;align-items:center}.bj-player-area [hidden]{display:none!important}.bj-split-hands{display:flex;justify-content:center;align-items:stretch;gap:14px;width:100%;max-width:560px}.bj-split-hand{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px 8px;border:1px solid #b7e3dc30;border-radius:14px;background:#061e2780;opacity:.68;transition:opacity .2s,border-color .2s,box-shadow .2s}.bj-split-hand.active{opacity:1;border-color:#73e1d7;box-shadow:0 0 0 1px #73e1d733,0 0 24px #3bc6bd30}.bj-split-label{color:#e5efe9;font-size:10px;letter-spacing:.1em}.bj-split-hand .bj-score{order:0}.bj-split-hand .bj-cards{order:1}.bj-split-outcome{min-height:12px;color:#aed7d2;font-size:10px;font-weight:800;letter-spacing:.08em}.bj-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.bj-actions button{min-width:0}.bj-split-hand .bj-card{width:61px;height:88px;font-size:15px}.bj-split-hand .bj-card i{font-size:30px}@media(max-width:767px){.bj-split-hands{gap:7px}.bj-split-hand{padding:8px 3px}.bj-split-hand .bj-card{width:43px;height:64px;padding:4px;font-size:11px}.bj-split-hand .bj-card i{font-size:22px}.bj-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Ortak oyun düzeni: sade kontrol paneli ve okunaklı masa. */
.bj-page .bj-controls{background:linear-gradient(150deg,#1b3442,#142a36);border-color:#7bb8cc29;box-shadow:0 10px 30px #04172230}
.bj-page .bj-control-head{margin-bottom:20px;padding-bottom:16px;border-color:#83bdce20}
.bj-page .bj-control-head strong{font-size:14px;font-weight:650;color:#d7eaf2}
.bj-page .bj-controls label{color:#9bbac8;font-size:12px;font-weight:600}
.bj-page .bj-input{border-color:#638fa43d;background:#0a202c;border-radius:11px;padding:0 13px;min-width:0}
.bj-page .bj-input input{height:49px;min-width:0;font-size:19px;color:#f2fbff}
.bj-page .bj-input b{color:#8fb7c8}
.bj-page .bj-primary{min-height:50px;border-color:#a1edff55;background:linear-gradient(110deg,#9ce8f9,#53c9e9);color:#092a3b;box-shadow:0 6px 16px #0a1e2b40;border-radius:11px;font-weight:800;font-size:13px;letter-spacing:.04em}
.bj-page .bj-actions{gap:9px;margin-top:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
.bj-page .bj-actions button{min-height:46px;padding:11px 6px;font-size:12px;font-weight:650;background:#244653;color:#d9f0f9;border-color:#74bbd12b}
.bj-page .bj-actions button:not(:disabled):hover{background:#315f70;border-color:#86d9ee80;transform:none}
.bj-page .bj-controls button:disabled{opacity:1;color:#78929e;background:#1c3542;border-color:#89b1c31a;box-shadow:none;cursor:not-allowed}
.bj-page .bj-controls #bj-error:empty{display:none}
.bj-page .bj-controls #bj-error{margin:18px 0 0;color:#ffb2b2;font-size:12px}
.bj-page .bj-table{box-sizing:border-box;min-width:0;min-height:520px;padding:0 24px 24px;background:radial-gradient(ellipse at 50% 50%,#173e4a44,transparent 65%),#0e2532;border-color:#7ab4c42b;box-shadow:0 10px 30px #04172230;gap:12px}
.bj-page .bj-table-top{box-sizing:border-box;padding:18px 0 2px}
.bj-page .bj-brand{color:#5c8395;letter-spacing:.45em}
.bj-page .bj-sound{display:grid;place-items:center;width:36px;height:36px;background:#193b49;border-color:#83d4ec29;border-radius:10px;font-size:15px}
.bj-page .bj-seat-label{order:0;color:#8daebb;font-size:10px;font-weight:650;letter-spacing:.08em}
.bj-page .bj-hand{max-width:100%;min-height:150px;gap:8px}
.bj-page .bj-score{height:25px;min-width:32px;border:1px solid #80c8de35;background:#1c4150;color:#d6f5ff;box-shadow:none;font-weight:700}
.bj-page .bj-cards{box-sizing:border-box;width:100%;max-width:100%;min-height:108px;padding:4px 6px;row-gap:10px;overflow:visible}
.bj-page .bj-card{box-sizing:border-box;flex:none;width:73px;height:104px;margin:0 -3px;border-radius:9px;font-size:17px;box-shadow:0 8px 18px #0005}
.bj-page .bj-card.back{background:repeating-linear-gradient(45deg,#245263 0 5px,#183949 5px 10px);border-color:#d8e8ec;color:#a2e8f8}
.bj-page .bj-center{font-size:12px;letter-spacing:.08em;min-height:32px;color:#d5eaf2}
.bj-page .bj-center:before{color:#8ac7db20!important;text-shadow:none!important}
.bj-page .bj-split-hand{padding:12px 8px;border-color:#6eb5c72b;background:#0a202b80;opacity:.65;min-width:0}
.bj-page .bj-split-hand.active{opacity:1;border-color:#89ddef;box-shadow:0 0 20px #65c9e314}
.bj-page .bj-split-label{font-size:10px;letter-spacing:0;line-height:1.5;text-align:center;color:#b7dce8}
.bj-page .bj-split-hand .bj-card{width:58px;height:84px;font-size:14px}
.bj-page .bj-insurance{background:#1c3643;border-color:#b4a06a55}
.bj-page .bj-insurance strong{color:#f4dca0}
.bj-page .bj-insurance p{color:#b7cad3}
.bj-page .bj-insurance button:first-child{background:#87deee;color:#102d3a}
.bj-page :is(button,a,input):focus-visible{outline:2px solid #9fe9fb;outline-offset:3px}
@media(max-width:900px) and (min-width:761px){.bj-page .bj-layout{grid-template-columns:230px minmax(0,1fr)}.bj-page .bj-controls{padding:16px}.bj-page .bj-table{padding-left:14px;padding-right:14px}}
@media(max-width:760px){.bj-page .bj-table{min-height:420px;padding:0 14px 18px;gap:8px}.bj-page .bj-table-top{padding-top:14px}.bj-page .bj-hand{min-height:115px;gap:6px}.bj-page .bj-cards{min-height:87px}.bj-page .bj-card{width:58px;height:82px;padding:6px;font-size:14px}.bj-page .bj-card i{font-size:29px}.bj-page .bj-split-hands{gap:8px}.bj-page .bj-split-hand{padding:10px 4px}.bj-page .bj-split-hand .bj-card{width:42px;height:62px;padding:4px;font-size:11px}.bj-page .bj-split-hand .bj-card i{font-size:21px}.bj-page .bj-split-hand .bj-cards{min-height:65px}.bj-page .bj-actions button{min-height:46px}.bj-page .bj-control-head{margin-bottom:16px}.bj-page .bj-player-area{min-width:0}}

.bj-page .bj-table-mark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:0;pointer-events:none;user-select:none;font:italic 800 clamp(76px,10vw,120px)/1 Georgia,serif;letter-spacing:-.06em;color:#8ac7db24}
.bj-page .bj-center::before,.bj-page .bj-center::after{content:none!important}

.bj-page .bj-input{gap:7px;padding-right:6px}
.bj-page .bj-input b{margin-right:3px}
.bj-page .bj-adjust{display:grid;place-items:center;flex:0 0 34px;width:34px;height:35px;border:1px solid #8eb9c126;border-radius:7px;background:#2a4653;color:#daedf5;font-family:inherit;font-weight:650;font-size:15px;line-height:1;cursor:pointer}
.bj-page .bj-adjust:not(:disabled):hover{background:#3a6071;border-color:#9cdeed65}

.bj-page .bj-input{gap:4px;padding-left:10px;padding-right:5px}
.bj-page .bj-input b{font-size:10px;margin-right:2px}
.bj-page .bj-adjust{flex-basis:28px;width:28px;height:30px;font-size:13px;border-radius:6px}


/* Blackjack table and BQT card backs. */
.bj-page .bj-layout{gap:0;border:1px solid #36506250;border-radius:14px;overflow:hidden}
.bj-page .bj-controls,.bj-page .bj-table{border:0;border-radius:0;box-shadow:none}
.bj-page .bj-controls{background:#203544}
.bj-page .bj-table{background:#10212d}
.bj-page .bj-input{background:#142633}
.bj-page .bj-primary{background:#1476db;color:white;border-color:transparent;box-shadow:none}
.bj-page .bj-actions button{background:#395467;color:#f1f7fa}
.bj-page .bj-score{background:#304754;border:0;color:white}
.bj-page .bj-card{
 width:78px;height:118px;padding:9px;
 margin:0 0 0 -24px;border:1px solid #e5edf2;border-radius:8px;
 background:#fff;color:#172b39;font-size:24px;line-height:1;
 transform:none;box-shadow:0 3px 8px #0004;
}
.bj-page .bj-card:first-child{margin-left:0}

.bj-page .bj-card i{font-size:35px;margin:10px auto 0}
.bj-page .bj-card.red{color:#ea123e}
.bj-page .bj-card.back{
 position:relative;
 border:3px solid #e6f7ff;
 background:url('./assets/bqt-jeton.png') center / 58% auto no-repeat,
 linear-gradient(145deg,#0786f9,#104c9b);
}
.bj-page .bj-card.back::before{
 content:'';position:absolute;inset:4px;border:1px solid #b2e2ff90;
 border-radius:4px;pointer-events:none;
}
.bj-page .bj-card.back::after{
 content:'';position:absolute;inset:8px;border:1px solid #a4d9fc40;
 border-radius:4px;pointer-events:none;
}
.bj-page .bj-split-hand .bj-card{height:90px;margin-left:-17px}
.bj-page .bj-split-hand .bj-card:first-child{margin-left:0}
@media(max-width:760px){
 .bj-page .bj-card{width:57px;height:84px;font-size:18px;padding:6px;margin-left:-15px}
 .bj-page .bj-card i{font-size:26px;margin-top:6px}
 .bj-page .bj-split-hand .bj-card{height:62px;margin-left:-10px}
}

.bj-page .bj-table-top{position:relative}
.bj-page .bj-table-top .bj-deck{
 position:absolute;top:8px;right:53px;width:43px;height:59px;
 margin:0;padding:0;border-width:2px;border-radius:5px;
 box-shadow:0 2px #e2edf4,0 4px #8199a9,0 6px #d4e4ee,0 8px 8px #0006;
 pointer-events:none;
}
.bj-page .bj-table-top .bj-deck::after{display:none}
@media(max-width:760px){
 .bj-page .bj-table-top .bj-deck{width:35px;height:46px;right:46px;top:6px}
}


/* Overlap each hand with a consistent diagonal offset. */
.bj-page .bj-cards{align-items:flex-start;--bj-card-drop:15px;--bj-card-overlap:38px}
.bj-page .bj-cards .bj-card{margin:calc(var(--bj-card-index,0) * var(--bj-card-drop)) 0 0 calc(-1 * var(--bj-card-overlap))}
.bj-page .bj-cards .bj-card:first-child{margin-left:0}
.bj-page .bj-split-hand .bj-cards{--bj-card-drop:10px;--bj-card-overlap:26px}
.bj-page .bj-actions{gap:8px;margin:12px 0 0}
.bj-page .bj-actions button{min-height:42px;border-radius:8px;font-size:13px}
.bj-page .bj-actions button span{margin-left:4px}
.bj-page .bj-primary{margin-top:12px;min-height:44px;border-radius:8px}
@media(max-width:760px){
 .bj-page .bj-cards{--bj-card-drop:11px;--bj-card-overlap:27px}
 .bj-page .bj-split-hand .bj-cards{--bj-card-drop:8px;--bj-card-overlap:20px}
}


.bj-page .bj-controls .bj-primary:disabled{background:#35424a;color:#a9b7bf;border-color:#ffffff10}
.bj-page .bj-card.back{
 background:url('./assets/bqt-jeton.png') center / 58% auto no-repeat,
 repeating-linear-gradient(45deg,#ffffff08 0 1px,transparent 1px 6px),
 linear-gradient(145deg,#3b3935,#171b20 75%);
}
.bj-page .bj-card.back{border-color:#d2c5a3}
.bj-page .bj-card.back::before{border-color:#c7a97290}
.bj-page .bj-card.back::after{border-color:#a88d5b55}
.bj-page .bj-card-flight-target{visibility:hidden}
.bj-page .bj-card-flight{
 position:absolute;
 z-index:8;
 pointer-events:none;
 perspective:650px;
}
.bj-page .bj-card-rotor{
 position:absolute;
 inset:0;
 transform-style:preserve-3d;
}
.bj-page .bj-card-flight .bj-card{
 position:absolute;
 inset:0;
 box-sizing:border-box;
 width:100%;
 height:100%;
 margin:0;
 backface-visibility:hidden;
}
.bj-page .bj-card-flight .bj-flight-reverse{
 transform:rotateY(180deg);
}
.bj-page .bj-controls .bj-bet-loading:disabled{
 position:relative;
 display:grid;
 place-items:center;
 background:#205889;
 opacity:1;
}
.bj-bet-loading::before,.bj-bet-loading::after{
 grid-area:1/1;
 width:15px;
 height:21px;
 border-radius:3px;
}
.bj-bet-loading::before{
 content:'';
 background:#83afcf;
 transform:translateX(-4px) rotate(-12deg);
}
.bj-bet-loading::after{
 content:'♥';
 display:grid;
 place-items:center;
 background:#bddaf0;
 color:#205889;
 font:700 12px/1 system-ui,sans-serif;
 animation:bj-bet-card .72s ease-in-out infinite alternate;
}
@keyframes bj-bet-card{
 from{transform:translate(3px,1px) rotate(7deg)}
 to{transform:translate(5px,-2px) rotate(13deg)}
}
@media(prefers-reduced-motion:reduce){
 .bj-bet-loading::after{animation:none;transform:translateX(4px)}
}


/* Limbo-style stake input and winning hand highlight. */
.bj-page .bj-input{box-sizing:border-box;height:47px;gap:0;padding:0;overflow:hidden;border-color:#55768766;background:#0b2330;border-radius:9px}
.bj-page .bj-input img{flex:none;width:20px;height:20px;margin:0 8px;object-fit:contain}
.bj-page .bj-input .bj-adjust{flex:0 0 34px;width:34px;height:100%;border:0;border-left:1px solid #ffffff10;border-radius:0;background:#284654;color:#e0f5f8;font-size:13px}
.bj-page .bj-input .bj-adjust:disabled{background:#1c3542;color:#78929e}
.bj-page .bj-hand-won .bj-card{border-color:#00e701;box-shadow:0 0 0 2px #00e701,0 3px 10px #00e72c40}
.bj-page .bj-hand-won .bj-score{background:#00e701;color:#082512}
.bj-page .bj-hand-lost .bj-card{border-color:#ff3657;box-shadow:0 0 0 2px #ff3657,0 3px 10px #ff365740}
.bj-page .bj-center:has(.bj-win:not([hidden])){z-index:6}
