.isabel .body {
    max-width: 780px;
    min-width: 300px;
    margin: 0 auto;
    padding: 0 10px;
}

.isabel h1 {
    text-align: center;
}

.isabel .info {
    text-align: center;
    margin: 1em auto;
    font-size: 110%;;
}

.isabel .table {
    /* background-color: #060; */
    background: url('/img/cards/backgrounds/sukno.png') #146A2C;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 10px;
    padding: 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.isabel .pile {
    display: grid;
    grid-gap: 10px;
}

.isabel .column {
    display: grid;
    grid-gap: 10px;
}

.isabel .tableau {
    display: grid;
    position: relative;
}

.isabel .tableau-end {
    align-items: end;
}

.isabel .tableau img {
    width: 100%;
}

.isabel .tableau-card {
    opacity: 0.2;
    border: 1px solid #000;
    border-radius: 2%;
}

.isabel .card {
    position: absolute;
    /* transition: all 2s ease; */
}

.isabel .card.selected {
    box-shadow: 0 0 4px #e885c4, 0 0 6px #e885c4, 0 0 8px #e885c4, 0 0 10px #e885c4, 0 0 12px #e885c4, 0 0 14px #e885c4, 0 0 16px #e885c4;
}

.isabel .controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3em;
}

.isabel .score {
    font-size: 1.2em;
    font-weight: bold;
}

@media (max-width: 480px) {
    .isabel .table {
        padding: 5px;
        grid-gap: 5px;
    }

    .isabel .column {
        grid-gap: 5px;
    }

    .isabel .card.selected {
        box-shadow: 0 0 1px #e885c4, 0 0 2px #e885c4, 0 0 3px #e885c4, 0 0 4px #e885c4, 0 0 5px #e885c4, 0 0 6px #e885c4, 0 0 7px #e885c4;
    }
}

.isabel .rules {
    margin: 1em 0;
}

.isabel .rules dt {
    margin-top: 1em;
    font-weight: bold;
}

.isabel .rules dd {
    margin-left: 1em;
}

.isabel .rules h2 {
    line-height: 2em;
    font-size: 130%;
    font-weight: normal;
}
.isabel #overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.isabel .popup {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: black;
    display: none;
}
