
/* === Lite Blackjack Ace — main stylesheet === */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.lbja-full-page {
    margin: 0;
}

.lbja-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    padding: 1.5rem;
    background: #045d4d;          /* deep green “felt” */
    color: #ffffff;
    text-align: center;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

.lbja-title {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    letter-spacing: 0.05em;
}

.lbja-table {
    width: 100%;
    max-width: 740px;
    background: #117a65;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 2px solid #fff;
}

.lbja-hand {
    margin-bottom: 1.5rem;
}

.lbja-cards {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.lbja-cards li img {
    width: 60px;
    height: auto;
    border-radius: 0.25rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.lbja-total {
    display: inline-block;
    margin-top: 0.25rem;
    font-weight: 600;
}

.lbja-controls {
    margin-top: 0.75rem;
}

.lbja-btn {
    appearance: none;
    border: none;
    background: #ffffff;
    color: #045d4d;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.6rem 1.4rem;
    margin: 0.25rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: opacity .2s, transform .2s;
}

.lbja-btn:active {
    transform: translateY(1px);
}

.lbja-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.lbja-message {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

@media (min-width: 600px) {
    .lbja-cards li img {
        width: 80px;
    }
}
