/* =========================================================================
   BLACKJACK ÖZEL STİLLERİ
   ========================================================================= */

.bj-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: stretch;
}

/* ==================================
   SOL PANEL (BİLGİ & BAHİS)
   ================================== */
.bj-sidebar {
    display: flex;
    flex-direction: column;
}

.bj-info-section {
    position: relative;
    overflow: hidden;
}

.bj-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
}

.bj-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--surface-700);
    padding-bottom: 16px;
}

.bj-logo-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--surface-900);
    border: 1px solid var(--surface-600);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(var(--primary), 0.05);
}

.bj-logo-box img {
    width: 80%;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.bj-title-texts h2 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bj-title-texts p {
    font-size: 11px;
    color: var(--text-secondary);
    margin: 0;
}

.bj-stats-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bj-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bj-value {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    background: var(--surface-900);
    border: 1px solid var(--surface-700);
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.bj-bet-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bj-chips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: var(--surface-900);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--surface-700);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bj-chip {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.bj-chip img {
    width: 100%;
    max-width: 48px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
}

.bj-chip:hover {
    transform: translateY(-4px);
}

.bj-chip:hover img {
    filter: drop-shadow(0 8px 12px rgba(var(--primary), 0.4));
}

.bj-chip:active {
    transform: scale(0.95);
}

.bj-bet-actions {
    display: flex;
    gap: 12px;
}

.bj-btn-clear,
.bj-btn-deal {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 12px;
    font-size: 13px;
    font-weight: 800;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bj-btn-clear {
    background: var(--surface-700);
    color: var(--text-secondary);
    border: 1px solid var(--surface-600);
}

.bj-btn-clear:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color, #ef4444);
    border-color: rgba(239, 68, 68, 0.3);
}

.bj-btn-deal {
    background: var(--gradient);
    color: var(--text-on-accent, #000);
    box-shadow: 0 4px 15px rgba(var(--primary), 0.3);
}

.bj-btn-deal:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary), 0.5);
}

.bj-btn-clear:disabled,
.bj-btn-deal:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
}

/* ==================================
   SAĞ PANEL (OYUN ALANI)
   ================================== */
.bj-game-area {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bj-game-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
}

.bj-game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.95) 100%);
    z-index: 1;
}

.bj-board {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
}

.bj-zone {
    flex: 1;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.bj-zone-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: auto;
}

.bj-zone-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bj-score {
    padding: 4px 12px;
    height: auto;
    width: auto;
    border-radius: 20px;
    background: var(--surface-700);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    border: 1px solid var(--surface-600);
    white-space: nowrap;
}

.bj-score:not(:empty) {
    background: var(--gradient);
    color: var(--text-on-accent, #000);
    border: none;
    box-shadow: 0 0 10px rgba(var(--primary), 0.5);
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: -15px;
    min-height: 70px;
    perspective: 1000px;
    margin-top: 10px;
}

@keyframes dealCard {
    0% {
        opacity: 0;
        transform: translateY(-40px) scale(0.9) rotate(-10deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

.blackjack-card {
    width: 60px;
    height: 86px;
    background: white;
    border-radius: 4px;
    border: 1px solid var(--text-secondary, #ddd);
    box-shadow: -3px 3px 10px rgba(0, 0, 0, 0.6);
    margin-left: -20px;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: dealCard 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.cards-container .blackjack-card:first-child {
    margin-left: 0;
}

.blackjack-card:hover {
    transform: translateY(-8px) scale(1.05);
}

/* Oyun İçi Kontrol Butonları (Kart Al, Dur) */
.bj-game-controls {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 0 24px 20px;
}

.bj-btn-game {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    border: 1px solid var(--surface-600);
    background: var(--surface-800);
    color: var(--text-secondary);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bj-btn-game:hover:not(:disabled) {
    background: var(--surface-700);
    color: var(--brand-red);
    border-color: var(--brand-red);
}

.bj-btn-game:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Mesaj Alanı */
.bj-message-bar {
    position: relative;
    z-index: 2;
    background: rgba(10, 10, 10, 0.85);
    border-top: 1px solid var(--brand-red);
    padding: 12px;
    text-align: center;
    color: var(--brand-red);
    font-size: 15px;
    font-weight: 800;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(var(--primary), 0.3);
}

.bj-btn-primary {
    background: var(--gradient) !important;
    color: var(--text-on-accent, #000)!important;
    border: none !important;
    box-shadow: 0 0 15px rgba(var(--primary), 0.3);
}

.bj-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(var(--primary), 0.5);
}

/* İstatistik Paneli */

/* ==================================
   MOBİL (RESPONSIVE YAPI)
   ================================== */
@media (max-width: 992px) {
    .bj-container {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .bj-sidebar {
        display: contents;
    }

    .bj-info-section {
        order: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        background: var(--surface-800);
        border-radius: 12px;
    }

    .bj-title-row {
        margin-bottom: 0;
        border-bottom: none;
        padding-bottom: 0;
    }

    .bj-logo-box {
        width: 40px;
        height: 40px;
    }

    .bj-title-texts h2 {
        font-size: 15px;
    }

    .bj-stats-block {
        flex-direction: row;
        align-items: center;
        gap: 0px;
    }

    .bj-label {
        display: none;
    }

    .bj-value {
        padding: 8px 12px;
        font-size: 14px;
    }

    .bj-game-area {
        order: 2;
        min-height: 240px;
        /* Mobilde oldukça küçültüldü */
        margin-bottom: 8px;
    }

    .bj-bet-section {
        order: 3;
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 16px;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .bj-bet-actions {
        order: 3;
        /* Üçüncü sırada butonlar (Dağıt, Temizle) */
    }

    .bj-chips-container {
        order: 4;
        /* En altta çipler */
    }

    .bj-chips-container .bj-label {
        display: block;
        margin-bottom: 12px;
    }

    .bj-board {
        padding: 12px;
        gap: 12px;
    }

    .bj-zone {
        padding: 12px;
    }

    .blackjack-card {
        width: 55px;
        height: 80px;
        margin-left: -10px;
    }

    .cards-container {
        min-height: 60px;
    }

    .bj-game-controls {
        padding: 0 12px 16px;
        gap: 8px;
    }

    .bj-btn-game {
        padding: 8px 12px;
        font-size: 11px;
    }
}
/*  ===== oyun_ref katmanı (eski oyun_ref.css) buraya katlandı =====  */

.blackjack-wrapper {
    max-width: none;
    padding: 0;
}
.blackjack-content {
    overflow: hidden;
    border: 1px solid rgba(var(--stroke-rgb, 140, 200, 255), 0.1);
    border-radius: 14px;
    background: rgb(var(--surface-rgb, 17, 35, 74));
}

.blackjack-content > *:not(.game-head) {
    margin-left: 12px;
    margin-right: 12px;
}

.blackjack-content > *:last-child {
    margin-bottom: 12px;
}

@media (max-width: 992px) {

    .blackjack-content > *:not(.game-head) {
        margin-left: 8px;
        margin-right: 8px;
    }
}
.bj-container {
    gap: 12px;
}

.bj-sidebar {
    gap: 12px;
}

.bj-info-section,
.bj-bet-section,
.blackjack-stats-section {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: none;
}

.bj-info-section::before {
    display: none;
}

.bj-info-section .bj-title-row {
    display: none;
}

.blackjack-stats-section {
    margin-top: 12px;
}

.bj-game-area {
    min-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: none;
}

.bj-game-bg,
.bj-game-overlay {
    display: none;
}
.bj-stats-panel__title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.bj-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.bj-stats-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.bj-stats-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.bj-stats-value {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.bj-stats-reset {
    margin-top: 10px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 768px) {
    .bj-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.blackjack-content {
    position: relative;
}

.blackjack-content > .game-loader {
    margin: 0;
}

/*  ===== oyun_blackjack_ref katmanı (eski oyun_blackjack_ref.css) buraya katlandı =====  */
.bj-container.bjr {
    display: grid;
    grid-template-columns: 348px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
}

.bjr-side {
    display: flex;
    flex-direction: column;
    align-self: start;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.bjr-bet {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bjr-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bjr-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.bjr-bal {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.bjr-bal b {
    font-weight: 700;
    color: #fff;
}

.bjr-hint {
    margin: -4px 0 0;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
}

.bjr-input {
    display: flex;
    align-items: stretch;
    height: 44px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bjr-input:focus-within {
    border-color: rgba(var(--primary), 0.55);
    box-shadow: 0 0 0 3px rgba(var(--primary), 0.12);
}

.bjr-input input {
    flex: 1;
    min-width: 0;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
}

.bjr-input input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.bjr-input__coin {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.bjr-input__seg {
    width: 44px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.bjr-input__seg:disabled {
    opacity: 0.4;
    cursor: default;
}

@media (hover: hover) and (pointer: fine) {
    .bjr-input__seg:not(:disabled):hover {
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
    }
}

.bjr-main {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, color-mix(in srgb, rgb(var(--primary)) 78%, #fff), color-mix(in srgb, rgb(var(--primary)) 90%, #000));
    color: var(--text-on-accent, #fff);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 22px -14px rgba(var(--primary), 0.9);
    transition: filter 0.2s ease, transform 0.15s ease;
}

.bjr-main:disabled {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.35);
    box-shadow: none;
    cursor: default;
}

.bjr-main:not(:disabled):active {
    transform: scale(0.98);
}

.bjr-side .bjr-status {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    text-align: center;
    text-transform: none;
    text-shadow: none;
}

.bjr-side .bjr-status.win {
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    font-weight: 700;
}

.bjr-side .bjr-status.lose,
.bjr-side .bjr-status.error {
    border-color: rgba(248, 113, 113, 0.4);
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
    font-weight: 700;
}

.bjr-side .bjr-status.draw {
    border-color: rgba(250, 204, 21, 0.4);
    background: rgba(250, 204, 21, 0.08);
    color: #facc15;
    font-weight: 700;
}
.bjr-side:not([data-state="betting"]) .bjr-bet {
    display: none;
}

.bjr-side[data-state="betting"] .bjr-actions {
    display: none;
}

.bjr-side .bjr-actions {
    display: grid;
    padding: 0;
}

@media (hover: hover) and (pointer: fine) {
    .bjr-side .bjr-act:not(:disabled):hover {
        border-color: rgba(var(--primary), 0.45);
        background: rgba(var(--primary), 0.12);
        color: #fff;
    }
}

.bjr-side .bjr-act--primary {
    grid-column: 1 / -1;
    background: linear-gradient(180deg, color-mix(in srgb, rgb(var(--primary)) 78%, #fff), color-mix(in srgb, rgb(var(--primary)) 90%, #000)) !important;
}
.bj-game-area.bjr-table {
    position: relative;
    min-height: 580px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background:
        radial-gradient(ellipse 70% 55% at 50% 38%, rgba(var(--primary), 0.08), transparent 70%),
        rgba(0, 0, 0, 0.28);
}

.bjr-felt {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 2px, transparent 2px 5px);
    pointer-events: none;
}

.bjr-watermark {
    position: absolute;
    left: 50%;
    top: 38%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 700;
    font-size: 34px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    user-select: none;
    transition: opacity 0.3s ease;
}

.bjr-watermark span:last-child {
    font-size: 26px;
}

.bjr-deck {
    position: absolute;
    right: 9%;
    top: 36%;
    width: 72px;
    height: 100px;
    pointer-events: none;
}

.bjr-deck i {
    position: absolute;
    inset: 0;
    border: 3px solid #fff;
    border-radius: 8px;
    background: linear-gradient(160deg, color-mix(in srgb, rgb(var(--primary)) 70%, #fff), color-mix(in srgb, rgb(var(--primary)) 85%, #000));
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
}

.bjr-deck i:nth-child(1) { transform: translate(-8px, 8px); }
.bjr-deck i:nth-child(2) { transform: translate(-6px, 6px); }
.bjr-deck i:nth-child(3) { transform: translate(-4px, 4px); }
.bjr-deck i:nth-child(4) { transform: translate(-2px, 2px); }

.bjr-deck__top {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bjr-deck__top img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.bjr-idle {
    position: absolute;
    left: 50%;
    top: 33%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.bjr-idle h2 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.bjr-idle p {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
}

.bjr-table:not([data-state="betting"]) .bjr-idle,
.bjr-table:not([data-state="betting"]) .bjr-watermark {
    opacity: 0;
}

.bjr-board.bj-board {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 580px;
    padding: 18px 18px 190px;
    gap: 14px;
    justify-content: space-between;
}

.bjr-board .bj-zone {
    flex: 0 0 auto;
    min-height: 130px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
}

.bjr-board .bj-zone-header {
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.bjr-board .bj-zone-title {
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.75);
}

.bjr-board .bj-score {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
}

.bjr-board .bj-score:not(:empty) {
    background: rgba(var(--primary), 0.18);
    color: rgb(var(--primary-text, var(--primary)));
    border: 1px solid rgba(var(--primary), 0.35);
    box-shadow: none;
}

.bjr-spot {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 3;
    transform: translateX(-50%);
    width: 133px;
    height: 133px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    pointer-events: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.bjr-spot.has-bet {
    border-color: rgb(var(--primary));
    background: rgba(var(--primary), 0.12);
}

@media (max-width: 992px) {
    .bj-container.bjr {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .bj-game-area.bjr-table,
    .bjr-board.bj-board {
        min-height: 480px;
    }

    .bjr-board.bj-board {
        padding-bottom: 160px;
    }

    .bjr-spot {
        width: 108px;
        height: 108px;
        bottom: 18px;
        font-size: 15px;
    }

    .bjr-deck {
        right: 5%;
        top: 30%;
        transform: scale(0.8);
        transform-origin: top right;
    }

    .bjr-watermark {
        font-size: 22px;
    }

    .bjr-watermark span:last-child {
        font-size: 17px;
    }
}

@media (max-width: 992px) {
    .bjr-side {
        align-self: stretch;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .bjr-idle {
        top: 26%;
    }

    .bjr-watermark {
        display: none;
    }
}