/* Video Poker */

.balance-chip {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
}

.vp-table {
    background: radial-gradient(ellipse at center, #1e7a46 0%, #145c34 100%);
    border-radius: 14px;
    padding: 28px 16px;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
}

.vp-cards {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.vp-card-slot {
    width: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 3D flip card */
.vp-card {
    width: 92px;
    height: 128px;
    perspective: 700px;
    background: transparent;
}
.vp-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.45s;
    transform-style: preserve-3d;
}
.vp-card.face-down .vp-card-inner {
    transform: rotateY(180deg);
}
.vp-card-front,
.vp-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.vp-card-front {
    background: #fff;
    border: 1px solid #cfd8dc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
}
.vp-card.red .vp-card-front {
    color: #d32f2f;
}
.vp-card-back {
    transform: rotateY(180deg);
    background: repeating-linear-gradient(45deg, #2a5298 0, #2a5298 8px, #1e3c72 8px, #1e3c72 16px);
    border: 2px solid #fff;
}
.vp-rank {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1;
}
.vp-suit {
    font-size: 1.9rem;
    line-height: 1;
}

.vp-hold-label {
    margin-top: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    background: #e67e22;
    border-radius: 4px;
    padding: 2px 8px;
    visibility: hidden;
}
.vp-card-slot.held .vp-hold-label {
    visibility: visible;
}
.vp-card-slot.held .vp-card-front {
    box-shadow: 0 0 0 3px #e67e22, 0 2px 6px rgba(0, 0, 0, 0.35);
}

.vp-result {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 18px;
    padding: 10px;
    border-radius: 8px;
}
.vp-result.win {
    background: #e8f8ee;
    color: #1e7a46;
    border: 1px solid #b6e3c7;
}
.vp-result.lose {
    background: #f4f5f7;
    color: #7a7a7a;
    border: 1px solid #e0e0e0;
}

.vp-paytable td {
    padding: 0.3rem 0.4rem;
    font-size: 0.9rem;
}
.vp-paytable tr.vp-hit {
    background: #fff3cd;
}
.vp-paytable tr.vp-hit td {
    font-weight: 700;
}

.vp-mono {
    font-family: monospace;
    font-size: 0.72rem;
    word-break: break-all;
    color: #455a64;
}

.vp-mini-card {
    display: inline-block;
    min-width: 30px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 1px 4px;
    margin: 0 1px;
    background: #fff;
    border: 1px solid #cfd8dc;
    border-radius: 4px;
    color: #1a1a1a;
}
.vp-mini-card.red {
    color: #d32f2f;
}

.vp-verify summary {
    cursor: pointer;
    color: #007bff;
}
