/* Three Card Poker visual skin layered on the existing casino components. */
.tcp-felt{background:radial-gradient(ellipse at 50% 35%,#296d6b,#174d54 68%,#132b40 100%);min-height:460px}
.tcp-felt .bj-table-aura{border-radius:48%/43%}
.tcp-player-area{min-height:164px}
.tcp-player-hand{width:100%;text-align:center;max-width:460px;background:#092e387a;border:2px solid #e0cd9360;border-radius:11px;padding:14px 16px 18px}
.tcp-player-hand .bj-cards{justify-content:center}
.tcp-control-title{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:15px}
.tcp-control-title h3{margin:0;font:900 17px 'Courier New',monospace;color:#f8e1b5}
.tcp-control-title small{font:700 11px 'Courier New',monospace;color:#b9c5cf}
.tcp-wager-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tcp-wager{min-width:0;padding:12px;background:#182438;border:1px solid #68718c;border-radius:8px}
.tcp-wager-title{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:7px;margin-bottom:12px;font:900 11px 'Courier New',monospace;color:#f4cf8f}
.tcp-wager-title b{color:#e5ecf0;font-size:14px}
.tcp-bet-chips{display:flex;flex-wrap:wrap;gap:6px}
.tcp-bet{height:40px;min-width:43px;padding:5px 9px;border:2px solid #698195;border-radius:20px;background:#2b3f58;color:#dce6eb;font:900 12px 'Courier New',monospace;box-shadow:0 3px 0 #0e1422;cursor:pointer;transition:transform .14s,border-color .14s}
.tcp-bet:hover:not(:disabled){transform:translateY(-3px);border-color:#f8da94}
.tcp-bet.is-selected{background:#e6ad54;color:#201d2c;border-color:#ffe6a1}
.tcp-bet:disabled{opacity:.3;cursor:not-allowed}
.tcp-cost-row{margin:14px 0 22px;padding:13px;background:#121e2e;border:1px solid #4b566d;display:flex;align-items:center;gap:13px;flex-wrap:wrap;font:700 11px 'Courier New',monospace;color:#b7c5d3}
.tcp-cost-row b,.tcp-cost-row strong{color:#ffd78e}
.tcp-decision strong{font:900 18px 'Courier New',monospace;color:#ffda93}
.tcp-decision p{font-size:13px;line-height:1.5;color:#c1ced7;max-width:620px}
.tcp-ledger{margin-top:14px;border-top:1px solid #ffffff3b;padding-top:8px}
.tcp-ledger-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid #ffffff1b;font:800 12px 'Courier New',monospace}
.tcp-ledger-row span{display:flex;flex-direction:column;gap:3px}
.tcp-ledger-row small{font-size:11px;font-weight:500;color:#c2d2dc}
.tcp-ledger-row strong{color:#dfe8f1;white-space:nowrap}
.tcp-ledger-row .up{color:#a1f2ca}.tcp-ledger-row .down{color:#ffb3b8}
.tcp-aside-tables{display:grid;gap:8px;margin-top:8px}
.tcp-pay-table{width:100%;border-collapse:collapse;font:700 11px 'Courier New',monospace}
.tcp-pay-table td{padding:5px 1px;border-bottom:1px solid #51607566;color:#c8d9e2}
.tcp-pay-table td:last-child{text-align:right;color:#f7d38e;white-space:nowrap}
.tcp-side-note{font-size:11px;color:#a9bfcb;line-height:1.5}
.casino-upcoming .casino-poker-tile{background:linear-gradient(138deg,#352b53,#1a3e55);border-color:#806ca7}
.casino-poker-tile .casino-game-symbol{color:#bfb2fa}
@media(max-width:1100px){.tcp-wager-grid{grid-template-columns:1fr}.tcp-wager{display:grid;grid-template-columns:minmax(100px,.5fr) minmax(0,1fr);align-items:center}.tcp-wager-title{margin:0}.tcp-bet-chips{justify-content:flex-end}}
@media(max-width:640px){.tcp-wager{grid-template-columns:1fr;gap:9px}.tcp-bet-chips{justify-content:flex-start}.tcp-felt{padding:18px 9px;min-height:375px}.tcp-felt .bj-card{width:58px;height:85px}.tcp-felt .bj-card-suit{font-size:31px}.tcp-felt .bj-cards{gap:6px}.tcp-player-hand{padding:12px 8px}.tcp-ledger-row{font-size:11px}}
@media(max-width:390px){.tcp-bet{min-width:36px;padding:5px 7px;font-size:11px}.tcp-felt .bj-card{width:54px;height:80px}}
@media(prefers-reduced-motion:reduce){.tcp-bet{transition:none}}
/* Avoid stretching a finished table to the full height of the payout guide. */
.tcp-page .bj-game-shell{align-self:start}
.casino-hub .casino-small-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:640px){.casino-hub .casino-small-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V15: upgraded Three Card Poker table to match the enhanced Blackjack presentation */
.tcp-felt{position:relative;padding-bottom:148px;background:radial-gradient(ellipse at 50% 35%,#296d6b,#174d54 68%,#132b40 100%);min-height:510px;overflow:hidden}
.tcp-felt .bj-table-aura{border-radius:48%/43%}
.tcp-felt .bj-table-rim{border-color:rgba(245,223,173,.22)}
.tcp-theme-classic{background:radial-gradient(ellipse at 50% 35%,#296d6b,#174d54 68%,#132b40 100%)}
.tcp-theme-red{background:radial-gradient(ellipse at 50% 35%,#7d2d3f,#4b1830 65%,#201025 100%)}
.tcp-theme-neon{background:radial-gradient(ellipse at 50% 35%,#243971,#191d53 60%,#110b2d 100%);box-shadow:inset 0 0 0 2px rgba(134,106,255,.26),0 24px 46px rgba(0,0,0,.35),0 0 0 3px rgba(120,92,255,.10),0 0 34px rgba(82,212,255,.16),inset 0 18px 50px rgba(0,0,0,.22)}
.tcp-theme-highlimit{background:radial-gradient(ellipse at 50% 35%,#2a4b61,#16344a 58%,#091926 100%)}
.tcp-theme-red .bj-table-rim{border-color:rgba(255,212,180,.18)}
.tcp-theme-neon .bj-table-rim{border-color:rgba(135,170,255,.25)}
.tcp-theme-highlimit .bj-table-rim{border-color:rgba(240,223,170,.26)}
.tcp-player-area{min-height:164px;justify-content:center;align-items:stretch;gap:12px;flex-wrap:wrap}
.tcp-player-hand{width:100%;text-align:center;max-width:500px;background:#092e387a;border:2px solid #e0cd9360;border-radius:11px;padding:14px 16px 18px;position:relative;z-index:2}
.tcp-player-hand .bj-cards,.tcp-dealer-cards{justify-content:center}
.tcp-theme-red .tcp-player-hand{background:rgba(55,17,29,.48)}
.tcp-theme-neon .tcp-player-hand{background:rgba(22,29,82,.42);border-color:rgba(130,178,255,.4)}
.tcp-theme-highlimit .tcp-player-hand{background:rgba(12,34,45,.48)}
.tcp-bet-spots{z-index:2}
.tcp-theme-bar{margin-bottom:16px;padding:14px 14px 12px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02))}
.tcp-theme-buttons{display:flex;gap:8px;flex-wrap:wrap}
.tcp-theme-btn{height:38px;padding:0 12px;border:1px solid #687692;border-radius:10px;background:#202a3b;color:#e4edf4;font:800 12px 'Courier New',monospace;cursor:pointer;transition:transform .14s,border-color .14s,background .14s}
.tcp-theme-btn:hover{transform:translateY(-2px);border-color:#f6d58d}.tcp-theme-btn.is-selected{background:#f0c971;color:#241806;border-color:#ffe7a7}
.tcp-control-title{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:15px}
.tcp-control-title h3{margin:0;font:900 17px 'Courier New',monospace;color:#f8e1b5}.tcp-control-title small{font:700 11px 'Courier New',monospace;color:#b9c5cf}
.tcp-wager-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tcp-wager{min-width:0;padding:12px;background:#182438;border:1px solid #68718c;border-radius:12px}.tcp-theme-neon ~ .bj-console .tcp-wager{background:#1b2342}
.tcp-wager-title{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:7px;margin-bottom:12px;font:900 11px 'Courier New',monospace;color:#f4cf8f}.tcp-wager-title b{color:#e5ecf0;font-size:14px}
.tcp-bet-chips{display:flex;flex-wrap:wrap;gap:6px}.tcp-bet{height:40px;min-width:43px;padding:5px 9px;border:2px solid #698195;border-radius:20px;background:#2b3f58;color:#dce6eb;font:900 12px 'Courier New',monospace;box-shadow:0 3px 0 #0e1422;cursor:pointer;transition:transform .14s,border-color .14s}.tcp-bet:hover:not(:disabled){transform:translateY(-3px);border-color:#f8da94}.tcp-bet.is-selected{background:#e6ad54;color:#201d2c;border-color:#ffe6a1}.tcp-bet:disabled{opacity:.3;cursor:not-allowed}
.tcp-cost-row{margin:14px 0 22px;padding:13px;background:#121e2e;border:1px solid #4b566d;display:flex;align-items:center;gap:13px;flex-wrap:wrap;font:700 11px 'Courier New',monospace;color:#b7c5d3}.tcp-cost-row b,.tcp-cost-row strong{color:#ffd78e}
.tcp-decision strong{font:900 18px 'Courier New',monospace;color:#ffda93}.tcp-decision p{font-size:13px;line-height:1.5;color:#c1ced7;max-width:620px}
.tcp-ledger{margin-top:14px;border-top:1px solid #ffffff3b;padding-top:8px}.tcp-ledger-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid #ffffff1b;font:800 12px 'Courier New',monospace}.tcp-ledger-row span{display:flex;flex-direction:column;gap:3px}.tcp-ledger-row small{font-size:11px;font-weight:500;color:#c2d2dc}.tcp-ledger-row strong{color:#dfe8f1;white-space:nowrap}.tcp-ledger-row .up{color:#a1f2ca}.tcp-ledger-row .down{color:#ffb3b8}
.tcp-outcome{position:relative;overflow:hidden}.tcp-celebrate{position:absolute;inset:0;pointer-events:none}.tcp-celebrate i{position:absolute;display:block;width:14px;height:14px;border-radius:50%;background:linear-gradient(180deg,#f6d58d,#b4852f);box-shadow:0 0 0 3px rgba(255,255,255,.15) inset;animation:tcp-chip-burst .9s ease-out forwards}.tcp-celebrate i:nth-child(1){left:10%;bottom:12%;animation-delay:.02s}.tcp-celebrate i:nth-child(2){left:26%;bottom:8%;animation-delay:.08s}.tcp-celebrate i:nth-child(3){left:48%;bottom:15%;animation-delay:0s}.tcp-celebrate i:nth-child(4){left:68%;bottom:10%;animation-delay:.05s}.tcp-celebrate i:nth-child(5){left:84%;bottom:18%;animation-delay:.12s}
.tcp-pay-table{width:100%;border-collapse:collapse;font:700 11px 'Courier New',monospace}.tcp-pay-table td{padding:5px 1px;border-bottom:1px solid #51607566;color:#c8d9e2}.tcp-pay-table td:last-child{text-align:right;color:#f7d38e;white-space:nowrap}.tcp-side-note{font-size:11px;color:#a9bfcb;line-height:1.5}
@keyframes tcp-chip-burst{0%{transform:translateY(0) scale(.9);opacity:0}15%{opacity:1}100%{transform:translateY(-52px) scale(1.05);opacity:0}}
@media(max-width:1100px){.tcp-wager-grid{grid-template-columns:1fr}.tcp-wager{display:grid;grid-template-columns:minmax(100px,.5fr) minmax(0,1fr);align-items:center}.tcp-wager-title{margin:0}.tcp-bet-chips{justify-content:flex-end}}
@media(max-width:860px){.tcp-felt{padding-bottom:172px}.tcp-player-area{min-height:154px}.tcp-bet-spots{gap:12px;bottom:14px}}
@media(max-width:640px){.tcp-wager{grid-template-columns:1fr;gap:9px}.tcp-bet-chips{justify-content:flex-start}.tcp-felt{padding:18px 9px 184px;min-height:390px}.tcp-felt .bj-card{width:58px;height:85px}.tcp-felt .bj-card-suit{font-size:31px}.tcp-felt .bj-cards{gap:6px}.tcp-player-hand{padding:12px 8px}.tcp-ledger-row{font-size:11px}.tcp-theme-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.tcp-theme-btn{width:100%}}
@media(max-width:390px){.tcp-bet{min-width:36px;padding:5px 7px;font-size:11px}.tcp-felt .bj-card{width:54px;height:80px}}
@media(prefers-reduced-motion:reduce){.tcp-bet,.tcp-theme-btn,.tcp-celebrate i{transition:none;animation:none}}
/* Avoid stretching a finished table to the full height of the payout guide. */
.tcp-page .bj-game-shell{align-self:start}
.casino-hub .casino-small-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:640px){.casino-hub .casino-small-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* V18: keep the Poker player hand below, not inside, the dealer-card row. */
@media(min-width:901px){
  .tcp-felt{padding-bottom:192px}
  .tcp-felt .tcp-player-area{margin-top:32px}
}
@media(max-width:640px){.tcp-felt{padding-bottom:206px}}
