/* Caisses web — complète hotel.css */

.crate-pool {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.crate-price {
    color: #ffd679;
    font-weight: 700;
}

.crate-art {
    font-size: 1.45rem;
    line-height: 1;
}

.roulette-root {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 10, 16, 0.72);
    padding: 1rem;
}

.roulette-root[hidden] {
    display: none !important;
}

.roulette {
    width: min(720px, 94vw);
    background: #12141c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px 16px 20px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.roulette__kicker {
    margin: 0 0 12px;
    text-align: center;
    color: var(--text-dim, #b7bcc8);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.roulette__window {
    overflow: hidden;
    position: relative;
    height: 118px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0c0e14;
}

.roulette__window::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ffd679;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
}

.roulette__strip {
    display: flex;
    gap: 8px;
    height: 100%;
    padding: 10px 0;
    will-change: transform;
}

.roulette__cell {
    flex: 0 0 148px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 10px;
    background: #1a1d28;
    border-left: 4px solid #8a90a0;
    padding: 6px 8px;
    text-align: center;
}

.roulette__cell.is-common { border-left-color: #8a90a0; }
.roulette__cell.is-rare { border-left-color: #5aa2ff; }
.roulette__cell.is-epic { border-left-color: #b07cff; }
.roulette__cell.is-legendary { border-left-color: #ffd679; }
.roulette__cell.is-win { outline: 2px solid #ffd679; }

.roulette__icon {
    font-size: 1.5rem;
    line-height: 1;
}

.roulette__name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #f3f5fa;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.roulette__rarity {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    color: #9aa3b5;
}

.roulette__wait {
    margin: 8px 0 4px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffd679;
    animation: cratePulse 1.1s ease-in-out infinite;
}

@keyframes cratePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.roulette__result {
    margin: 14px 0 0;
    text-align: center;
    color: #7dce9a;
    font-weight: 700;
    min-height: 1.2em;
}

.roulette__close {
    display: block;
    margin: 14px auto 0;
    padding: 0.5rem 1.15rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-deep, #5b3dff), var(--accent, #7c5cff));
    color: #fff;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.hotel-card--vote {
    min-height: 220px;
}

.crate-vote-stack {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.45rem;
}

.crate-vote-btn {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    margin-top: 0 !important;
}

.crate-vote-cd {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
}
