.rrs-wrapper {
    font-family: 'Segoe UI', sans-serif;
    background-color: #fdf6e3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 500px;
    border: 1px solid #eee;
}
.rrs-wrapper h2 { color: #d35400; margin-bottom: 15px; border:none; }

.rrs-controls {
    margin-bottom: 20px;
    background: #fff3e0;
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid #ffcc80;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    color: #333;
}

.rrs-machine-container {
    background: #5d4037;
    padding: 15px;
    border-radius: 15px;
    border: 4px solid #f57c00;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    position: relative;
    max-width: 100%;
}

.rrs-window {
    display: flex;
    gap: 10px;
    background: #3e2723;
    padding: 10px;
    border-radius: 10px;
    position: relative;
    height: 240px; 
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.rrs-payline {
    position: absolute;
    top: 50%;
    left: 0; right: 0; height: 4px;
    background: rgba(255, 215, 0, 0.6);
    z-index: 5;
    transform: translateY(-50%);
    pointer-events: none;
    box-shadow: 0 0 5px gold;
}

.rrs-reel-container {
    width: 80px;
    position: relative;
    background: white;
    border-radius: 5px;
    overflow: hidden;
}

.rrs-reel {
    width: 100%;
    transform: translateY(0px); 
    will-change: transform;
}

.rrs-icon {
    width: 80px;
    height: 80px;
    font-size: 45px;
    line-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
    margin: 0; padding: 0;
}

.rrs-reel.blurring { filter: blur(2px); }

button#rrs-spinBtn {
    margin-top: 25px;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background: linear-gradient(to bottom, #ff9800, #e65100);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 5px 0 #bf360c;
    transition: transform 0.1s;
}
button#rrs-spinBtn:active { transform: translateY(5px); box-shadow: none; }
button#rrs-spinBtn:disabled { background: #95a5a6; cursor: not-allowed; }

#rrs-resultMsg {
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #e67e22;
    min-height: 25px;
    text-align: center;
}