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

body {
    width: 100vw;
    height: 100vh;
    color: white;
    font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
    text-shadow:
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black;
    font-size: 40px;
    overflow: hidden;
    line-height: 1em;
}

p {
    margin: 0;
}

.highlight {
    color: burlywood;
    font-weight: bold;
}

#result {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#slotsGuide {
    position: absolute;
    top: 1em;
    left: 1em;
}

#runInfo {
    display: none;
    position: absolute;
}

.top-left {
    top: 0.5em;
    left: 0.5em;
}

.top-right {
    top: 0.5em;
    right: 0.5em;
    text-align: right;
}

.bottom-left {
    bottom: 0.5em;
    left: 0.5em;
}

.bottom-right {
    bottom: 0.5em;
    right: 0.5em;
    text-align: right;
}

#error {
    display: none;
    position: absolute;
    font-size: 1.5em;
    color: #f00;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.slot-container {
    position: absolute;
    width: 400px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 12px;
}

.card-strip {
    display: flex;
    transition: transform 0.5s ease-out;
}

.card {
    min-width: 400px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: white;
    font-weight: bold;
}

.card:nth-child(odd) {
    background: crimson;
}

.card:nth-child(even) {
    background: royalblue;
}

.card-img {
    image-rendering: -moz-crisp-edges;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
}

#slotContainer {
    display: none;
}

#runInfo {
    font-size: 0.7em;
}
