.game-card{
 --card-ink:#211a24;position:relative;isolation:isolate;container-type:inline-size;box-sizing:border-box;overflow:hidden;aspect-ratio:63.5/88.9;color:var(--card-ink);border:1px solid #e4dac8;border-radius:6px;background:linear-gradient(115deg,#fffefa,#fff9ed 43%,#e9e7e0);box-shadow:inset 0 0 0 1px #fff,1px 2px 0 #c8bcaa,0 5px 9px #0008;transform-origin:50% 80%;
}
.game-card::before{content:'';position:absolute;inset:4%;border:1px solid #b5223e80;border-radius:3px;pointer-events:none;z-index:0}
.game-card::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:5;background:linear-gradient(125deg,transparent 5%,#fff6 8%,transparent 12%,transparent 80%,#ffffff28 84%,transparent 88%);opacity:.48}
.game-card.game-card--dealer{border-color:#bdb2d5;background:linear-gradient(125deg,#fff,#f4f0fc 48%,#dce3ef);box-shadow:inset 0 0 0 1px #fff,1px 2px 0 #8e80aa,0 5px 10px #0008}
.game-card.game-card--dealer::before{border-color:#72509b8c;box-shadow:inset 0 0 0 1px #fff9}
.game-card .game-card-corner{position:absolute;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:.85;font-family:Georgia,'Times New Roman',serif;font-weight:900;color:var(--card-ink);text-shadow:0 1px #fff9}
.game-card .game-card-corner.top{left:6%;top:6%}
.game-card .game-card-corner.bottom{right:6%;bottom:6%;transform:rotate(180deg)}
.game-card .game-card-rank{font-family:Georgia,'Times New Roman',serif;font-size:clamp(10px,27cqw,20px);font-weight:900;letter-spacing:-.085em;line-height:.85}
.game-card .game-card-suit{font-family:Georgia,'Times New Roman',serif;font-size:clamp(8px,20cqw,14px);line-height:1.05;margin-top:2px;font-weight:700}
.game-card .game-card-field{position:absolute;inset:14% 21%;z-index:1;pointer-events:none}
.game-card .game-card-pip{position:absolute;left:var(--pip-x);top:var(--pip-y);width:28%;height:20%;object-fit:contain;display:block;transform:translate(-50%,-50%) rotate(var(--pip-turn));filter:drop-shadow(0 .4px .3px #56001444)}
.game-card.game-card--dealer .game-card-pip{width:30%;height:21%;filter:drop-shadow(0 .5px .5px #30194766)}
.game-card[data-value='1'] .game-card-pip{width:69%;height:66%}
.game-card[data-value='2'] .game-card-pip,.game-card[data-value='3'] .game-card-pip{width:39%;height:29%}
.game-card[data-value='4'] .game-card-pip,.game-card[data-value='5'] .game-card-pip,.game-card[data-value='6'] .game-card-pip{width:34%;height:25%}
.game-card .game-card-signature{position:absolute;left:27%;right:27%;bottom:5.7%;height:5%;display:flex;align-items:center;justify-content:center;font:900 clamp(4px,8cqw,6px)/1 Georgia,'Times New Roman',serif;letter-spacing:.06em;color:#8f1832;z-index:2}
.game-card .game-card-face-wordmark{display:block;max-width:100%;width:100%;height:150%;object-fit:contain}
.game-card .game-card-court-half{position:absolute;left:6%;right:6%;height:48%;top:0;border:1px solid #ba43593d;border-radius:28% 28% 8% 8%;background:linear-gradient(135deg,#f1bdc238,#fff6 45%,#dbb85d2b);overflow:hidden}
.game-card .game-card-court-half.bottom{top:auto;bottom:0;transform:rotate(180deg)}
.game-card .game-card-crown{position:absolute;top:3%;left:30%;width:40%;height:22%;color:#a87523;filter:drop-shadow(0 .5px #fff)}
.game-card .game-card-court-emblem{position:absolute;top:24%;left:28%;width:44%;height:61%;object-fit:contain;filter:drop-shadow(0 1px 1px #3b001855)}
.game-card .game-card-court-rank{position:absolute;left:4%;top:32%;font:900 clamp(9px,22cqw,17px)/1 Georgia,'Times New Roman',serif;color:var(--card-ink)}
.game-card .game-card-court-divider{position:absolute;top:50%;left:5%;right:5%;height:1px;background:linear-gradient(90deg,transparent,#a02c49,#b99852,#a02c49,transparent)}
.game-card.game-card--dealer .game-card-court-half{border-color:#7856a363;background:linear-gradient(140deg,#d4c0ef99,#fdfbff 45%,#bac9e47d)}
.game-card.game-card--dealer .game-card-crown{color:#7356a3}
.game-card.game-card--dealer .game-card-court-divider{background:linear-gradient(90deg,transparent,#674395,#d5ddea,#674395,transparent)}
.game-card .game-card-back-face{position:absolute;inset:0;overflow:hidden;border-radius:inherit;z-index:1}
.game-card.covered .game-card-back-image{display:block;width:100%;height:100%;object-fit:cover;opacity:1}
.game-card.game-card--cherry.covered{background:#073d25;border-color:#d5c77f}
.game-card.game-card--dealer.covered{background:#291747;border-color:#d2c4ed;box-shadow:inset 0 0 0 1px #e2d6f4,1px 2px 0 #6d568f,0 5px 10px #0008}
.game-card.game-card--dealer.covered .game-card-back-face{inset:5%;border:1px solid #c6b1e2;border-radius:3px;background:radial-gradient(ellipse at 50% 42%,#8768b4,#342051 57%,#1b102f)}
.game-card .game-card-back-pattern{position:absolute;inset:5%;border:1px solid #c2a7e86b;background:repeating-linear-gradient(45deg,transparent 0 9%,#c4b0e02e 9.5% 10%,transparent 10.5% 19%),repeating-linear-gradient(-45deg,transparent 0 9%,#c4b0e02e 9.5% 10%,transparent 10.5% 19%);transform:rotate(180deg);box-shadow:inset 0 0 12px #070011}
.game-card.covered .game-card-back-chip{position:absolute;left:17%;top:30%;width:66%;height:40%;object-fit:contain;opacity:1;filter:drop-shadow(0 2px 2px #080010b3)}
.game-card.covered .game-card-back-wordmark{position:absolute;left:11%;top:9%;width:78%;height:16%;object-fit:contain;opacity:1;filter:drop-shadow(0 1px 1px #000)}
.game-card.covered .game-card-back-wordmark.bottom{top:auto;bottom:9%;transform:rotate(180deg)}
#casinoApp.has-dealt-cards .baccarat-hand-tray,#casinoApp.has-dealt-cards .vegas-hand{animation:gameHandDealPop .2s cubic-bezier(.2,.8,.2,1) both;transform-origin:50% 50%}
@keyframes gameHandDealPop{from{transform:scale(.96);opacity:.82}to{transform:scale(1);opacity:1}}
@media(max-width:550px){
 #casinoApp.has-dealt-cards .baccarat-hands{grid-template-columns:minmax(0,1fr);gap:4px}
 #casinoApp.has-dealt-cards .baccarat-hand-tray{display:grid;grid-template-columns:50px minmax(0,1fr);align-items:center;gap:6px;padding:4px 6px}
 #casinoApp.has-dealt-cards .baccarat-hand-label{flex-direction:column;gap:3px;margin:0}
 #casinoApp.has-dealt-cards .baccarat-hand-label>strong{font-size:8px;letter-spacing:.05em}
 #casinoApp.has-dealt-cards .baccarat-total{width:20px;height:20px;font-size:13px}
 #casinoApp.has-dealt-cards .baccarat-card-slots{min-height:70px;gap:5px}
 #casinoApp.has-dealt-cards .baccarat-card-slots .vegas-card{width:50px;height:70px;flex:0 0 50px;border-radius:4px}
 #casinoApp.has-dealt-cards .vegas-hand .vegas-card{width:68px;height:95px}
 #casinoApp.has-dealt-cards .vegas-cards:has(>.vegas-card:nth-child(4))>.vegas-card+.vegas-card{margin-left:-15px}
 #casinoApp.has-dealt-cards .vegas-cards:has(>.vegas-card:nth-child(5))>.vegas-card+.vegas-card{margin-left:-26px}
 #casinoApp.has-dealt-cards .vegas-cards:has(>.vegas-card:nth-child(6))>.vegas-card+.vegas-card{margin-left:-37px}
 #casinoApp.has-dealt-cards .vegas-cards:has(>.vegas-card:nth-child(9))>.vegas-card+.vegas-card{margin-left:-49px}
}
@media(max-width:550px) and (max-height:620px){
 #casinoApp.has-dealt-cards .baccarat-card-slots{min-height:50px;gap:4px}
 #casinoApp.has-dealt-cards .baccarat-card-slots .vegas-card{width:36px;height:50px;flex-basis:36px}
 #casinoApp.has-dealt-cards .vegas-hand .vegas-card{width:56px;height:78px}
 #casinoApp.has-dealt-cards .vegas-cards:has(>.vegas-card:nth-child(4))>.vegas-card+.vegas-card{margin-left:-12px}
 #casinoApp.has-dealt-cards .vegas-cards:has(>.vegas-card:nth-child(5))>.vegas-card+.vegas-card{margin-left:-20px}
 #casinoApp.has-dealt-cards .vegas-cards:has(>.vegas-card:nth-child(6))>.vegas-card+.vegas-card{margin-left:-28px}
 #casinoApp.has-dealt-cards .vegas-cards:has(>.vegas-card:nth-child(9))>.vegas-card+.vegas-card{margin-left:-39px}
}
@media(prefers-reduced-motion:reduce){.game-card{animation:none}}
@media(prefers-reduced-motion:reduce){#casinoApp.has-dealt-cards .baccarat-hand-tray,#casinoApp.has-dealt-cards .vegas-hand{animation:none}}
.game-card.game-card--dealer{background:linear-gradient(125deg,#e9dcfbf2,#bfa7dcf2 54%,#9ab9d8f2),url('/__build/046d45b66492e364968c906c0448c4ed0a7000a96dbf77b0245157cb7815d430/assets/pouch-icons/dealers-choice.png') center/cover;border-color:#d5c2ed;box-shadow:inset 0 0 0 1px #f6eaff,1px 2px 0 #795c9d,0 5px 10px #0008}
.game-card.game-card--dealer .game-card-court-half{background:linear-gradient(140deg,#a585cfb8,#d4c4eea8 45%,#86a8c5b3)}
