:root {
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
    --felt-color-center: #1b6d41;
    --felt-color-edge: #0d4224;
    --table-rail: #2b170c;
    --table-rail-border: #4d2b15;
    --gold: #d4af37;
    --gold-bright: #f9d976;
    --card-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

button, .chip, .bet-circle, .card {
    touch-action: manipulation;
}

body {
    font-family: var(--font-main);
    background: #0f1015;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    padding: 16px;
}

.casino-container {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Górny pasek */
.casino-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(18, 20, 29, 0.92);
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.logo {
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gold-bright);
    letter-spacing: 2.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.stats-bar {
    display: flex;
    gap: 24px;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-size: 0.7rem;
    color: #9aa0a6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Wybór języka */
.lang-dropdown-wrapper {
    position: relative;
}

.btn-lang {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    color: #f1f2f6;
    font-weight: 700;
    border-radius: 8px;
    padding: 7px 11px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-lang:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold);
}

.lang-arrow {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-left: 2px;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #151821;
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    min-width: 145px;
    overflow: hidden;
    z-index: 100;
}

.lang-item {
    background: none;
    border: none;
    color: #cbd5e1;
    padding: 9px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease, color 0.15s ease;
    font-family: var(--font-main);
}

.lang-item:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #ffffff;
}

.lang-item.active {
    color: var(--gold-bright);
    font-weight: 800;
    background: rgba(212, 175, 55, 0.1);
}

.btn-shop {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.08) 100%);
    border: 1.5px solid var(--gold);
    color: var(--gold-bright);
    font-weight: 800;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.btn-shop:hover {
    transform: translateY(-2px) scale(1.04);
    background: linear-gradient(135deg, #f9d976 0%, #e9b634 100%);
    color: #1e1007;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.5);
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.icon-btn:hover {
    transform: scale(1.15);
}

/* ==========================================
   STÓŁ KASYNOWY I SUKNO (VIP DELUXE)
   ========================================== */
.blackjack-table {
    position: relative;
    background: radial-gradient(ellipse at 50% 15%, #3d1f11 0%, #201007 75%, #140904 100%);
    border: 18px solid #291308;
    border-radius: 200px 200px 48px 48px;
    box-shadow: 
        0 25px 65px rgba(0, 0, 0, 0.95), 
        inset 0 0 0 3px rgba(212, 175, 55, 0.45),
        inset 0 12px 35px rgba(0, 0, 0, 0.9),
        0 0 0 2px rgba(0, 0, 0, 0.85);
    overflow: hidden;
}

.table-felt {
    position: relative;
    /* Głębokie zielone sukno ze świetlnym reflektorem na środku */
    background: 
        radial-gradient(circle at 50% 34%, rgba(46, 150, 90, 0.95) 0%, rgba(20, 88, 50, 0.98) 48%, rgba(9, 50, 27, 1) 85%, rgba(4, 25, 13, 1) 100%),
        repeating-radial-gradient(circle at 50% 34%, transparent 0, transparent 4px, rgba(0, 0, 0, 0.035) 4px, rgba(0, 0, 0, 0.035) 8px);
    min-height: 520px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.8), inset 0 0 25px rgba(0, 0, 0, 0.85);
    transition: background 0.4s ease;
}

/* Płótno rejestrujące stół dla Klyo Gry SDK (nagrywanie klipów) */
.table-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
}

/* Warianty kolorystyczne sukna (Skiny Stołu) */
.table-felt.table-green {
    background: 
        radial-gradient(circle at 50% 34%, rgba(46, 150, 90, 0.95) 0%, rgba(20, 88, 50, 0.98) 48%, rgba(9, 50, 27, 1) 85%, rgba(4, 25, 13, 1) 100%),
        repeating-radial-gradient(circle at 50% 34%, transparent 0, transparent 4px, rgba(0, 0, 0, 0.035) 4px, rgba(0, 0, 0, 0.035) 8px);
}

.table-felt.table-blue {
    background: 
        radial-gradient(circle at 50% 34%, rgba(32, 90, 168, 0.95) 0%, rgba(16, 52, 108, 0.98) 48%, rgba(8, 28, 62, 1) 85%, rgba(4, 14, 32, 1) 100%),
        repeating-radial-gradient(circle at 50% 34%, transparent 0, transparent 4px, rgba(0, 0, 0, 0.035) 4px, rgba(0, 0, 0, 0.035) 8px);
}

.table-felt.table-red {
    background: 
        radial-gradient(circle at 50% 34%, rgba(168, 32, 45, 0.95) 0%, rgba(108, 16, 26, 0.98) 48%, rgba(62, 8, 14, 1) 85%, rgba(32, 4, 7, 1) 100%),
        repeating-radial-gradient(circle at 50% 34%, transparent 0, transparent 4px, rgba(0, 0, 0, 0.035) 4px, rgba(0, 0, 0, 0.035) 8px);
}

.table-felt.table-black {
    background: 
        radial-gradient(circle at 50% 34%, rgba(48, 52, 60, 0.95) 0%, rgba(26, 29, 35, 0.98) 48%, rgba(14, 16, 20, 1) 85%, rgba(7, 8, 10, 1) 100%),
        repeating-radial-gradient(circle at 50% 34%, transparent 0, transparent 4px, rgba(0, 0, 0, 0.035) 4px, rgba(0, 0, 0, 0.035) 8px);
}

/* Złote oznaczenia na stole */
.felt-prints {
    position: absolute;
    top: 36%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    width: 86%;
    z-index: 2;
}

.felt-title {
    font-family: var(--font-main);
    font-size: 1.3rem;
    font-weight: 800;
    color: rgba(247, 218, 122, 0.7);
    letter-spacing: 3.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.felt-subtitle {
    font-size: 0.76rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 6px;
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.felt-insurance {
    font-family: var(--font-main);
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: rgba(247, 218, 122, 0.55);
    margin-top: 8px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.felt-arc {
    width: 86%;
    height: 150px;
    margin: 12px auto 0 auto;
    border: 2px dashed rgba(212, 175, 55, 0.32);
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

/* Ręce krupiera i gracza */
.hand-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.hand-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.hand-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #f1f2f6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.hand-score {
    background: linear-gradient(180deg, rgba(26, 30, 40, 0.92) 0%, rgba(10, 12, 18, 0.98) 100%);
    border: 1.5px solid var(--gold);
    color: var(--gold-bright);
    padding: 3px 14px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1rem;
    min-width: 42px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
}

.cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 130px;
    gap: 8px;
}

.cards-container:empty::before,
.cards-container:empty::after {
    content: '';
    width: 88px;
    height: 128px;
    border: 1.5px dashed rgba(212, 175, 55, 0.22);
    border-radius: 9px;
    display: block;
    background: rgba(0, 0, 0, 0.08);
}

/* But na karty (Shoe Deluxe) */
.shoe-container {
    position: absolute;
    top: 24px;
    right: 32px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-shoe {
    width: 72px;
    height: 98px;
    background: linear-gradient(135deg, #252932 0%, #111317 100%);
    border: 2px solid rgba(212, 175, 55, 0.85);
    border-radius: 10px 4px 10px 10px;
    position: relative;
    box-shadow: 
        0 14px 28px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 0 14px rgba(0, 0, 0, 0.85);
    transform: rotate(15deg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 7px;
}

.card-shoe::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 10px;
    right: 10px;
    height: 5px;
    background: linear-gradient(90deg, #b8860b 0%, #ffd700 50%, #b8860b 100%);
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.shoe-cards {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 26px;
}

.shoe-card-top {
    width: 100%;
    height: 100%;
    background: #7a151b;
    border: 2px solid #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}

.shoe-card-top::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(45deg, #5b1015 0, #5b1015 3px, #7a151b 3px, #7a151b 6px);
}

.shoe-label {
    font-family: var(--font-main);
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--gold-bright);
    letter-spacing: 1.5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

/* ==========================================
   KARTY DO GRY (PREMIUM CASINO FINISH)
   ========================================== */
.card {
    width: 88px;
    height: 128px;
    position: relative;
    margin: 0 -16px;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), z-index 0.2s;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.card:hover {
    transform: translateY(-10px) scale(1.05);
    z-index: 30 !important;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.65));
}

.card.dealing-player {
    animation: dealToPlayer 0.45s cubic-bezier(0.18, 0.89, 0.32, 1.15) forwards;
}

.card.dealing-dealer {
    animation: dealToDealer 0.45s cubic-bezier(0.18, 0.89, 0.32, 1.15) forwards;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 9px;
}

/* Karta zakryta i jej odkrycie */
.card.hole-card .card-inner {
    transform: rotateY(180deg);
}

.card.hole-card.revealed .card-inner {
    transform: rotateY(0deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 9px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 7px 9px;
    font-weight: 700;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.card-front {
    background: linear-gradient(150deg, #ffffff 0%, #fdfdfd 60%, #f2f4f7 100%);
    color: #1a1a1a;
    transform: rotateY(0deg);
}

/* Subtelna wewnętrzna złota/srebrna lamówka karty */
.card-front::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 6px;
    pointer-events: none;
}

.card-front.red {
    color: #c92a2a;
}

.card-front.black {
    color: #1e242b;
}

/* Luksusowy kasynowy rewers karty */
.card-back {
    background: #7a151b;
    border: 3.5px solid #ffffff;
    transform: rotateY(180deg);
    position: relative;
    box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.6);
}

.card-back::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px solid rgba(249, 217, 118, 0.55);
    border-radius: 4px;
    background: 
        radial-gradient(circle, #8e1a22 20%, transparent 20%) 0 0,
        radial-gradient(circle, #8e1a22 20%, transparent 20%) 6px 6px,
        linear-gradient(45deg, #641116 25%, transparent 25%, transparent 75%, #641116 75%, #641116),
        linear-gradient(45deg, #641116 25%, #7a151b 25%, #7a151b 75%, #641116 75%, #641116);
    background-size: 12px 12px;
    opacity: 0.95;
}

.card-back::after {
    content: '♠';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: radial-gradient(circle, rgba(142, 26, 34, 0.95) 0%, rgba(85, 14, 18, 0.95) 100%);
    border: 1.5px solid var(--gold-bright);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.15rem;
    color: var(--gold-bright);
    box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Warianty rewersów kart (Skiny) */
.card-back.card-blue,
.shoe-card-top.card-blue {
    background: #142a54;
    border-color: #ffffff;
}

.card-back.card-blue::before,
.shoe-card-top.card-blue::before {
    border-color: rgba(180, 215, 255, 0.6);
    background: 
        radial-gradient(circle, #1d3d75 20%, transparent 20%) 0 0,
        radial-gradient(circle, #1d3d75 20%, transparent 20%) 6px 6px,
        linear-gradient(45deg, #0e1e3d 25%, transparent 25%, transparent 75%, #0e1e3d 75%, #0e1e3d),
        linear-gradient(45deg, #0e1e3d 25%, #142a54 25%, #142a54 75%, #0e1e3d 75%, #0e1e3d);
    background-size: 12px 12px;
}

.card-back.card-blue::after {
    background: radial-gradient(circle, rgba(29, 61, 117, 0.95) 0%, rgba(14, 30, 61, 0.95) 100%);
    border-color: #b4d7ff;
    color: #b4d7ff;
}

.card-back.card-black,
.shoe-card-top.card-black {
    background: #16181d;
    border-color: var(--gold-bright);
}

.card-back.card-black::before,
.shoe-card-top.card-black::before {
    border-color: rgba(249, 217, 118, 0.7);
    background: 
        radial-gradient(circle, #252830 20%, transparent 20%) 0 0,
        radial-gradient(circle, #252830 20%, transparent 20%) 6px 6px,
        linear-gradient(45deg, #0e1014 25%, transparent 25%, transparent 75%, #0e1014 75%, #0e1014),
        linear-gradient(45deg, #0e1014 25%, #16181d 25%, #16181d 75%, #0e1014 75%, #0e1014);
    background-size: 12px 12px;
}

.card-back.card-black::after {
    background: radial-gradient(circle, rgba(40, 44, 52, 0.95) 0%, rgba(15, 17, 21, 0.95) 100%);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}

.card-back.card-green,
.shoe-card-top.card-green {
    background: #114223;
    border-color: #ffffff;
}

.card-back.card-green::before,
.shoe-card-top.card-green::before {
    border-color: rgba(249, 217, 118, 0.6);
    background: 
        radial-gradient(circle, #1a5d33 20%, transparent 20%) 0 0,
        radial-gradient(circle, #1a5d33 20%, transparent 20%) 6px 6px,
        linear-gradient(45deg, #0a2d17 25%, transparent 25%, transparent 75%, #0a2d17 75%, #0a2d17),
        linear-gradient(45deg, #0a2d17 25%, #114223 25%, #114223 75%, #0a2d17 75%, #0a2d17);
    background-size: 12px 12px;
}

.card-back.card-green::after {
    background: radial-gradient(circle, rgba(26, 93, 51, 0.95) 0%, rgba(10, 45, 23, 0.95) 100%);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}

.card-corner {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    z-index: 2;
}

.card-corner .rank {
    font-family: var(--font-main);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.card-corner.bottom-right {
    transform: rotate(180deg);
}

.card-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.85rem;
    line-height: 1;
    opacity: 0.94;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

@keyframes dealToPlayer {
    0% {
        opacity: 0;
        transform: translate(260px, -240px) rotate(35deg) scale(0.35);
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

@keyframes dealToDealer {
    0% {
        opacity: 0;
        transform: translate(260px, -70px) rotate(35deg) scale(0.35);
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

/* ==========================================
   POLE ZAKŁADU I ŻETONY NA STOLE
   ========================================== */
.bet-spot {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    margin-top: 4px;
}

.bet-label {
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.bet-circle {
    width: 94px;
    height: 94px;
    border: 2.5px dashed rgba(212, 175, 55, 0.75);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.65) 100%);
    box-shadow: 
        inset 0 0 18px rgba(0, 0, 0, 0.7),
        0 4px 12px rgba(0, 0, 0, 0.4),
        0 0 0 4px rgba(212, 175, 55, 0.15);
    margin-bottom: 8px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.bet-circle:hover {
    border-color: var(--gold-bright);
    box-shadow: 
        inset 0 0 25px rgba(212, 175, 55, 0.35),
        0 0 18px rgba(249, 217, 118, 0.4),
        0 0 0 5px rgba(212, 175, 55, 0.25);
}

.bet-placeholder {
    font-size: 0.68rem;
    color: rgba(245, 215, 120, 0.7);
    text-align: center;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.3;
    pointer-events: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    transition: opacity 0.2s;
}

.table-chips {
    position: absolute;
    width: 54px;
    height: 54px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.table-chip {
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 
        0 6px 14px rgba(0, 0, 0, 0.8), 
        inset 0 2px 2px rgba(255, 255, 255, 0.45), 
        inset 0 -2px 2px rgba(0, 0, 0, 0.6);
    animation: dropChip 0.25s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
    transition: transform 0.2s ease;
}

@keyframes dropChip {
    0% {
        transform: translateY(-30px) scale(1.25);
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.current-bet-display {
    background: rgba(14, 16, 24, 0.85);
    border: 2px solid var(--gold);
    color: var(--gold-bright);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
}

/* Komunikaty na stole */
.table-message-container {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.table-message {
    background: rgba(14, 16, 24, 0.92);
    backdrop-filter: blur(8px);
    border: 1.5px solid var(--gold);
    color: #ffffff;
    padding: 8px 28px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.6px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
}

.table-message.win {
    border-color: #2ed573;
    color: #2ed573;
    box-shadow: 0 0 15px rgba(46, 213, 115, 0.4);
}

.table-message.lose {
    border-color: #ff4757;
    color: #ff4757;
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.4);
}

.table-message.blackjack {
    border-color: var(--gold-bright);
    color: var(--gold-bright);
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 0 20px rgba(249, 217, 118, 0.6);
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

/* ==========================================
   PANEL STEROWANIA (HUD POD STOŁEM)
   ========================================== */
.controls-panel {
    background: rgba(18, 21, 30, 0.96);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.controls-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.bankroll-display {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 8px;
}

.bankroll-label {
    font-size: 0.72rem;
    color: #8b949e;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.bankroll-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2ecc71;
}

.btn-text-small {
    background: #dc2626;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.btn-text-small:hover {
    background: #ef4444;
}

.hidden {
    display: none !important;
}

/* Przyciski akcji */
.action-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
}

.btn-action {
    flex: 1;
    min-width: 100px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.btn-action:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.35);
}

.btn-action:active:not(:disabled) {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.btn-action:disabled {
    background: #181b24 !important;
    color: #4b5263 !important;
    border-color: rgba(255, 255, 255, 0.04) !important;
    box-shadow: none !important;
    cursor: not-allowed;
    opacity: 0.5;
}

.btn-gold {
    background: #d4a326;
    color: #111317;
    font-weight: 800;
}

.btn-gold:hover:not(:disabled) {
    background: #e0b134;
}

.btn-green {
    background: #16a34a;
    color: #ffffff;
}

.btn-green:hover:not(:disabled) {
    background: #22c55e;
}

.btn-red {
    background: #dc2626;
    color: #ffffff;
}

.btn-red:hover:not(:disabled) {
    background: #ef4444;
}

.btn-blue {
    background: #2563eb;
    color: #ffffff;
}

.btn-blue:hover:not(:disabled) {
    background: #3b82f6;
}

.btn-secondary {
    background: #374151;
    color: #d1d5db;
}

.btn-secondary:hover:not(:disabled) {
    background: #4b5563;
}

/* ==========================================
   REALISTYCZNE ŻETONY KASYNOWE (CLAY CHIPS)
   ========================================== */
.chip-rack {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 40px;
    padding: 6px 18px;
}

.chip {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    position: relative;
    border: none;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 
        0 8px 18px rgba(0, 0, 0, 0.65), 
        inset 0 2px 3px rgba(255, 255, 255, 0.5), 
        inset 0 -2px 3px rgba(0, 0, 0, 0.6);
    transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.18s ease;
    padding: 0;
}

.chip:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 
        0 14px 26px rgba(0, 0, 0, 0.75), 
        inset 0 2px 3px rgba(255, 255, 255, 0.6), 
        inset 0 -2px 3px rgba(0, 0, 0, 0.6);
}

.chip:active {
    transform: scale(0.96);
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.5), 
        inset 0 2px 3px rgba(255, 255, 255, 0.4), 
        inset 0 -2px 3px rgba(0, 0, 0, 0.7);
}

/* Wewnętrzny rowek w glinie żetonu */
.chip::before,
.table-chip::before {
    content: '';
    position: absolute;
    width: 82%;
    height: 82%;
    border-radius: 50%;
    border: 1.5px dashed rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* Środkowy medalion / naklejka żetonu (Inlay) */
.chip span,
.table-chip span {
    position: relative;
    width: 62%;
    height: 62%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #edf1f5 70%, #d8e0e8 100%);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.45), 
        0 1px 3px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-main);
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
    border: 2px solid rgba(0, 0, 0, 0.15);
    font-size: 0.92rem;
}

.chip span::before,
.table-chip span::before {
    content: '$';
    font-size: 0.65em;
    margin-right: 1px;
    font-weight: 800;
    opacity: 0.85;
}

.table-chip span {
    font-size: 0.82rem;
}

/* ==========================================
   WZORY KRAWĘDZI I KOLORYSTYKA POSZCZEGÓLNYCH ŻETONÓW
   ========================================== */

/* $5 - Casino Cherry Red ze striped edge spots */
.chip-5,
.table-chip.chip-5 {
    background: repeating-conic-gradient(
        #c92a2a 0deg 35deg,
        #ffffff 35deg 43deg,
        #1a1a1a 43deg 47deg,
        #ffffff 47deg 55deg,
        #c92a2a 55deg 90deg
    );
}
.chip-5 span,
.table-chip.chip-5 span {
    color: #c92a2a;
    border-color: #c92a2a;
}

/* $25 - Forest Green z limonkowo-białymi wstawkami */
.chip-25,
.table-chip.chip-25 {
    background: repeating-conic-gradient(
        #1e7e34 0deg 35deg,
        #f9ca24 35deg 43deg,
        #ffffff 43deg 47deg,
        #f9ca24 47deg 55deg,
        #1e7e34 55deg 90deg
    );
}
.chip-25 span,
.table-chip.chip-25 span {
    color: #1e7e34;
    border-color: #1e7e34;
}

/* $50 - Ocean Sapphire Blue z pomarańczowo-białymi wstawkami */
.chip-50,
.table-chip.chip-50 {
    background: repeating-conic-gradient(
        #1565c0 0deg 35deg,
        #ffffff 35deg 43deg,
        #ff7675 43deg 47deg,
        #ffffff 47deg 55deg,
        #1565c0 55deg 90deg
    );
}
.chip-50 span,
.table-chip.chip-50 span {
    color: #1565c0;
    border-color: #1565c0;
}

/* $100 - Obsidian Black ("Black Chip") ze złotymi wstawkami */
.chip-100,
.table-chip.chip-100 {
    background: repeating-conic-gradient(
        #181a1f 0deg 35deg,
        #ffd700 35deg 43deg,
        #ffffff 43deg 47deg,
        #ffd700 47deg 55deg,
        #181a1f 55deg 90deg
    );
}
.chip-100::before,
.table-chip.chip-100::before {
    border-color: rgba(255, 215, 0, 0.45);
}
.chip-100 span,
.table-chip.chip-100 span {
    background: radial-gradient(circle at 35% 35%, #252830 0%, #15171c 80%, #0d0e12 100%);
    color: #ffd700;
    border-color: #ffd700;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.5);
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.5);
}

/* $500 - Imperial Purple ze złoto-różowymi wstawkami */
.chip-500,
.table-chip.chip-500 {
    background: repeating-conic-gradient(
        #6a1b9a 0deg 35deg,
        #f8a5c2 35deg 43deg,
        #ffd700 43deg 47deg,
        #f8a5c2 47deg 55deg,
        #6a1b9a 55deg 90deg
    );
}
.chip-500::before,
.table-chip.chip-500::before {
    border-color: rgba(255, 215, 0, 0.45);
}
.chip-500 span,
.table-chip.chip-500 span {
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #f3e5f5 70%, #e1bee7 100%);
    color: #6a1b9a;
    border-color: #ffd700;
    text-shadow: 0 0 3px rgba(106, 27, 154, 0.3);
}

/* ==========================================
   MODAL SKLEPU VIP
   ========================================== */
.shop-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.shop-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.shop-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 10, 15, 0.85);
    backdrop-filter: blur(8px);
}

.shop-modal-content {
    position: relative;
    width: 90%;
    max-width: 680px;
    max-height: 88vh;
    background: #141720;
    border: 2px solid var(--gold);
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 2;
    animation: modalPop 0.25s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

@keyframes modalPop {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    background: rgba(22, 26, 36, 0.95);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.shop-title {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gold-bright);
    letter-spacing: 1.2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.btn-close-modal {
    background: none;
    border: none;
    color: #9aa0a6;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}

.btn-close-modal:hover {
    color: #ff4757;
    transform: scale(1.15);
}

.shop-balance-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px;
    background: rgba(10, 12, 18, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: #a4b0be;
    font-weight: 600;
}

.shop-bankroll-amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: #2ecc71;
}

.shop-tabs {
    display: flex;
    background: rgba(18, 22, 30, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    color: #8f959e;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.shop-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.shop-tab.active {
    color: var(--gold-bright);
    border-bottom: 2px solid var(--gold);
    background: rgba(212, 175, 55, 0.08);
}

.shop-items-container {
    padding: 18px 22px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    max-height: 55vh;
}

.shop-item-card {
    background: rgba(26, 30, 42, 0.7);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.shop-item-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.shop-item-card.equipped {
    border-color: #2ed573;
    background: rgba(46, 213, 115, 0.06);
}

.shop-item-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-item-swatch {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.shop-item-card-preview {
    width: 38px;
    height: 54px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
    position: relative;
}

.shop-item-details {
    display: flex;
    flex-direction: column;
}

.shop-item-title {
    font-weight: 800;
    font-size: 0.95rem;
    color: #ffffff;
}

.shop-item-desc {
    font-size: 0.75rem;
    color: #8f959e;
    line-height: 1.3;
    margin-top: 3px;
}

.shop-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-item-price {
    font-weight: 800;
    font-size: 1rem;
    color: var(--gold-bright);
}

.shop-item-price.free {
    color: #2ed573;
}

.btn-shop-action {
    padding: 7px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: all 0.2s;
}

.btn-shop-action.buy {
    background: linear-gradient(135deg, #f9d976 0%, #e9b634 100%);
    color: #1e1007;
}

.btn-shop-action.buy:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}

.btn-shop-action.buy:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-shop-action.equip {
    background: linear-gradient(135deg, #1e90ff 0%, #0c6cd4 100%);
    color: #ffffff;
}

.btn-shop-action.equip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(30, 144, 255, 0.4);
}

.btn-shop-action.active {
    background: rgba(46, 213, 115, 0.2);
    border: 1px solid #2ed573;
    color: #2ed573;
    cursor: default;
}

/* ==========================================
   OPTYMALIZACJA MOBILNA (MOBILE FRIENDLY)
   ========================================== */
@media (max-width: 768px) {
    body {
        padding: 8px 6px;
        align-items: flex-start;
    }

    .casino-container {
        gap: 8px;
        max-width: 100%;
    }

    /* Górny pasek */
    .casino-header {
        padding: 10px 14px;
        flex-wrap: wrap;
        gap: 8px;
        border-radius: 10px;
    }

    .logo {
        font-size: 1.05rem;
        letter-spacing: 1.2px;
    }

    .header-controls {
        gap: 8px;
    }

    .btn-shop {
        padding: 6px 10px;
        font-size: 0.78rem;
    }

    .stats-bar {
        width: 100%;
        justify-content: space-around;
        gap: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .stat-box {
        align-items: center;
    }

    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    .stat-value {
        font-size: 1rem;
    }

    /* Stół kasynowy */
    .blackjack-table {
        border-radius: 40px 40px 20px 20px;
        border-width: 8px;
    }

    .table-felt {
        min-height: 400px;
        padding: 14px 10px;
        border-radius: 32px 32px 14px 14px;
    }

    .felt-prints {
        top: 38%;
        width: 95%;
    }

    .felt-title {
        font-size: 0.88rem;
        letter-spacing: 1.8px;
    }

    .felt-subtitle {
        font-size: 0.64rem;
        letter-spacing: 1px;
        margin-top: 4px;
    }

    .felt-insurance {
        font-size: 0.72rem;
        letter-spacing: 1.8px;
        margin-top: 4px;
    }

    .felt-arc {
        width: 94%;
        height: 85px;
        margin-top: 6px;
    }

    .shoe-container {
        top: 8px;
        right: 8px;
        transform: scale(0.65);
        transform-origin: top right;
    }

    /* Ręce i karty */
    .hand-header {
        margin-bottom: 4px;
        gap: 8px;
    }

    .hand-title {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .hand-score {
        font-size: 0.85rem;
        padding: 2px 10px;
        min-width: 32px;
    }

    .cards-container {
        min-height: 95px;
        gap: 4px;
    }

    .cards-container:empty::before,
    .cards-container:empty::after {
        width: 62px;
        height: 90px;
        border-radius: 6px;
    }

    .card {
        width: 62px;
        height: 90px;
        margin: 0 -10px;
    }

    .card-face {
        padding: 5px 6px;
        border-radius: 6px;
    }

    .card-corner {
        font-size: 0.75rem;
        line-height: 1;
    }

    .card-corner .card-suit {
        font-size: 0.65rem;
    }

    .card-center {
        font-size: 1.35rem;
    }

    /* Animacje kart dostosowane do współrzędnych buta na telefonie */
    @keyframes dealToPlayer {
        0% {
            opacity: 0;
            transform: translate(110px, -170px) rotate(25deg) scale(0.35);
        }
        100% {
            opacity: 1;
            transform: translate(0, 0) rotate(0deg) scale(1);
        }
    }

    @keyframes dealToDealer {
        0% {
            opacity: 0;
            transform: translate(110px, -45px) rotate(25deg) scale(0.35);
        }
        100% {
            opacity: 1;
            transform: translate(0, 0) rotate(0deg) scale(1);
        }
    }

    /* Komunikat stołu */
    .table-message-container {
        margin: 6px 0;
    }

    .table-message {
        font-size: 0.82rem;
        padding: 6px 16px;
        max-width: 90%;
    }

    /* Okrąg zakładu */
    .bet-spot {
        margin-top: 2px;
    }

    .bet-label {
        font-size: 0.64rem;
        letter-spacing: 1.8px;
        margin-bottom: 3px;
    }

    .bet-circle {
        width: 76px;
        height: 76px;
        margin-bottom: 4px;
    }

    .bet-placeholder {
        font-size: 0.58rem;
        letter-spacing: 1px;
    }

    .table-chips {
        width: 48px;
        height: 48px;
    }

    .table-chip {
        width: 48px;
        height: 48px;
    }

    .table-chip span {
        font-size: 0.75rem;
    }

    .current-bet-display {
        font-size: 0.95rem;
        padding: 3px 14px;
    }

    /* Panel sterowania pod stołem */
    .controls-panel {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 10px;
    }

    .controls-top-row {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .bankroll-display {
        width: 100%;
        justify-content: space-between;
        padding: 6px 12px;
    }

    .bankroll-label {
        font-size: 0.68rem;
    }

    .bankroll-value {
        font-size: 1.15rem;
    }

    .chip-rack {
        width: 100%;
        justify-content: space-around;
        gap: 6px;
        padding: 5px 8px;
        border-radius: 30px;
    }

    .chip {
        width: 48px;
        height: 48px;
    }

    .chip span {
        font-size: 0.75rem;
    }

    /* Przyciski w ergonomicznej siatce na kciuki */
    .action-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        width: 100%;
    }

    .btn-action {
        min-width: 0;
        padding: 12px 6px;
        font-size: 0.82rem;
        letter-spacing: 0.4px;
    }

    #btn-deal {
        grid-column: span 2;
        font-size: 0.95rem;
        padding: 13px 6px;
    }

    /* Modal sklepu na ekranach mobilnych */
    .shop-modal-content {
        width: 95%;
        max-height: 90vh;
        border-radius: 14px;
    }

    .shop-header {
        padding: 12px 14px;
    }

    .shop-title {
        font-size: 0.95rem;
        letter-spacing: 0.8px;
    }

    .shop-balance-bar {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    .shop-bankroll-amount {
        font-size: 1.1rem;
    }

    .shop-tab {
        padding: 10px 8px;
        font-size: 0.8rem;
    }

    .shop-items-container {
        padding: 10px;
        gap: 10px;
        grid-template-columns: 1fr;
        max-height: 58vh;
    }

    .shop-item-card {
        padding: 10px;
        gap: 8px;
    }

    .shop-item-title {
        font-size: 0.88rem;
    }

    .shop-item-desc {
        font-size: 0.72rem;
    }

    .btn-shop-action {
        padding: 8px;
        font-size: 0.78rem;
    }
}

/* Dodatkowe dopasowanie dla bardzo małych ekranów (np. iPhone SE, Galaxy Fold cover, <= 380px) */
@media (max-width: 380px) {
    .table-felt {
        min-height: 350px;
        padding: 10px 6px;
    }

    .card {
        width: 52px;
        height: 78px;
        margin: 0 -8px;
    }

    .cards-container:empty::before,
    .cards-container:empty::after {
        width: 52px;
        height: 78px;
    }

    .card-corner {
        font-size: 0.65rem;
    }

    .card-center {
        font-size: 1.1rem;
    }

    .bet-circle {
        width: 66px;
        height: 66px;
    }

    .table-chips,
    .table-chip {
        width: 40px;
        height: 40px;
    }

    .chip {
        width: 42px;
        height: 42px;
    }

    .chip span {
        font-size: 0.68rem;
    }

    .btn-action {
        padding: 10px 4px;
        font-size: 0.76rem;
    }

    #btn-deal {
        padding: 11px 4px;
        font-size: 0.88rem;
    }
}

