/* How To Play announcement carousel. Sits on the dark sheet, so the
   counter and track use the app's light text and burlywood accent. */
.be-carousel[hidden] {
    display: none !important;
}

.be-carousel {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    display: block;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    gap: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: #f9fafb;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.be-carousel__stage {
    position: relative;
    height: 196px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(31, 20, 8, 0.14);
    border-radius: 16px;
    overflow: hidden;
}

.be-carousel__stage iframe.be-carousel__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
}

.be-carousel__stage iframe.be-carousel__frame.is-active {
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.be-carousel__track {
    margin: 8px 10px 0;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

.be-carousel__bar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: #deb887;
    transform: scaleX(0);
    transform-origin: left center;
}

.be-carousel__controls {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 8px;
    min-height: 56px;
    margin-top: 10px;
}

.be-carousel__side {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.be-carousel__side--end {
    justify-content: flex-start;
}

.be-carousel__count {
    margin: 0;
    color: #f9fafb;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

button.be-carousel__btn {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    width: 56px;
    height: 56px;
    min-width: 56px;
    margin: 0;
    padding: 0;
    border: 2px solid rgba(31, 20, 8, 0.16);
    border-radius: 16px;
    background: #fff;
    color: #1f1408;
    box-shadow: none;
    transform: none;
    cursor: pointer;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

button.be-carousel__btn--next {
    width: auto;
    min-width: 56px;
    padding: 0 16px 0 18px;
}

button.be-carousel__btn svg {
    display: block;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
}

button.be-carousel__btn:hover,
button.be-carousel__btn:focus,
button.be-carousel__btn:active {
    background: #fff;
    color: #1f1408;
    border-color: #deb887;
    box-shadow: none;
    transform: none;
}

button.be-carousel__btn:focus-visible {
    outline: 2px solid #deb887;
    outline-offset: 3px;
}

.be-carousel.is-single .be-carousel__count,
.be-carousel.is-single .be-carousel__btn,
.be-carousel.is-single .be-carousel__track,
.be-carousel.is-reduced .be-carousel__track {
    display: none;
}

.be-carousel__live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .be-carousel__track {
        display: none;
    }
}
