/*
 * Canvas "slot reels" spin — reusable across any tile list.
 * The <canvas> overlays the tile container (#slots etc.) during a spin; the
 * real tiles are hidden under it and revealed by a crossfade when it ends.
 */

.reel-host {
    position: relative;
}

/* Hide the real tiles while the canvas plays over them. */
.reel-host > *:not(.reel-canvas) {
    opacity: 0;
}

.reel-canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 6;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.reel-canvas.is-done {
    opacity: 0;
}

/* Spin trigger button. */
.reel-spin {
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    height: 40px;
    padding: 0 18px;
    border: none;
    border-radius: 22px;
    background: var(--theme-bubbles-selected-background-color, #da3636);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: filter 0.15s ease, opacity 0.15s ease;
}

.reel-spin:hover:not(:disabled) {
    filter: brightness(1.08);
}

.reel-spin:disabled {
    opacity: 0.6;
    cursor: default;
}

.reel-spin__icon {
    font-size: 1.7rem;
    line-height: 1;
}

/* On the /slots toolbar: push to the right of the Sort row. */
.slot-filters__spin {
    margin-left: auto;
}

/* Desktop delight only — hide inside the mobile filter sheet (the grid is
   behind the backdrop there anyway). */
@media (max-width: 960px) {
    .slot-filters__spin {
        display: none;
    }
}

/* Reduced motion: no roll, instant swap — nothing extra to style. */
