#rcm-main-wrapper {
    position: relative;
    max-width: 500px;
    margin: 20px auto;
    border-radius: 30px;
    padding: 20px;
    color: white !important;
    background: #1a1a2e; /* Fond solide stable */
    overflow: hidden;
    min-height: 550px;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.rcm-mode-tabs { display: flex; gap: 5px; margin-bottom: 30px; background: rgba(255,255,255,0.1); border-radius: 50px; padding: 5px; }
.rcm-tab { flex: 1; border: none; background: transparent; color: rgba(255,255,255,0.6); padding: 10px; border-radius: 40px; cursor: pointer; font-weight: bold; font-size: 11px; }
.rcm-tab.active { background: #ffffff; color: #1a1a2e; }

#rcm-config-toggle { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.1); border: none; color: white; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; }

.rcm-view { display: none; text-align: center; }
.rcm-view.active { display: block; }

.wheel-container { position: relative; width: 100%; display: flex; justify-content: center; margin-bottom: 30px; }
.wheel-arrow { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); color: #ffeb3b; font-size: 30px; z-index: 100; }
#rcm-wheel-canvas { background: transparent; display: block; margin: 0 auto; max-width: 100%; height: auto; }

.rcm-main-btn { background: #ffeb3b; color: #1a1a2e; border: none; padding: 15px 40px; border-radius: 50px; font-weight: bold; font-size: 1.2rem; cursor: pointer; }

#rcm-config-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.95); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.rcm-config-content { background: #222; width: 100%; border-radius: 20px; padding: 25px; position: relative; }
#rcm-config-close { position: absolute; top: 10px; right: 10px; background: transparent; border: none; color: white; font-size: 24px; cursor: pointer; }
.rcm-field { margin-bottom: 15px; text-align: left; }
.rcm-field label { display: block; color: #aaa; margin-bottom: 5px; font-size: 12px; }
#rcm-options-input, #rcm-presets { width: 100%; background: #333; border: 1px solid #444; color: white; padding: 10px; border-radius: 8px; }