.rf-vocabulary{border:1px solid #665575;border-radius:18px;background:linear-gradient(135deg,#2d2338,#19141f);padding:16px;margin:16px 0;color:#f5efe4;min-width:0}
.rf-vocabulary .rf-rare-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:52px;padding:12px 14px;border:1px solid #796387;border-radius:12px;background:#30253b;color:#f5efe4;text-align:left;font:700 15px/1.3 system-ui;cursor:pointer}
.rf-vocabulary .rf-rare-toggle[aria-checked=true]{border-color:#d1ff32;background:#353b23;color:#e7ff9a}
.rf-vocabulary p,.rf-vocabulary small{display:block;color:#cbbfd3;font:12px/1.5 system-ui;margin:10px 0}
.rf-vocabulary .rf-word-regions{display:flex;gap:8px}
.rf-vocabulary .rf-word-regions button{flex:1;padding:11px 8px;min-height:44px;border:1px solid #796387;border-radius:10px;background:#251c2d;color:#f5efe4;font:700 13px system-ui;cursor:pointer}
.rf-vocabulary .rf-word-regions button[aria-pressed=true]{background:#d1ff32;border-color:#d1ff32;color:#141019}
.rf-vocabulary button:focus-visible{outline:3px solid white;outline-offset:3px}
#localDuel .rf-vocabulary .rf-rare-toggle[aria-checked=true]{border-color:#d1ff32;background:#353b23;color:#e7ff9a}
#localDuel .rf-vocabulary .rf-word-regions button[aria-pressed=true]{background:#d1ff32;border-color:#d1ff32;color:#141019}
.rf-battle-steps:not([data-setup-step="2"])>#rfBattleVocabulary,.rf-battle-steps.rf-in-room>#rfBattleVocabulary{display:none}

.rf-vocabulary[hidden],#rfBattleVocabulary[hidden]{display:none!important}
#battleCue{overflow-wrap:anywhere}
