
/* ---------- ROFSS settings gear + language popup (added, does not alter existing rules) ---------- */
#rofssSettingsGear {
  transition: filter 0.15s;
}
#rofssSettingsGear:hover {
  filter: brightness(1.3);
}
#rofssSettingsOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 59, 0, 0.55);
  z-index: 2000;
}
#rofssSettingsOverlay.is-open {
  display: block;
}
#rofssSettingsPopup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2001;
  width: 260px;
  background: #f5f8f3;
  border: 3px outset #8aaf7d;
  border-radius: 3px;
  font-family: Arial, sans-serif;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
#rofssSettingsPopup.is-open {
  display: block;
}
#rofssSettingsPopup .rofss-settings-head {
  background: #0f3b00;
  color: #f5f8f3;
  font-weight: bold;
  font-size: 13px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#rofssSettingsPopup .rofss-settings-close {
  background: transparent;
  border: none;
  color: #f5f8f3;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}
#rofssSettingsPopup .rofss-settings-body {
  padding: 16px;
}
#rofssSettingsPopup .rofss-settings-label {
  font-size: 11px;
  font-weight: bold;
  color: #0f3b00;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px 0;
}
#rofssSettingsPopup .rofss-lang-row {
  display: flex;
  gap: 8px;
}
#rofssSettingsPopup .rofss-lang-btn {
  flex: 1;
  padding: 8px 0;
  background: #d1dcce;
  border: 2px outset #8aaf7d;
  border-radius: 2px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #103c00;
  cursor: pointer;
}
#rofssSettingsPopup .rofss-lang-btn.is-active {
  background: #1f7200;
  color: #f5f8f3;
  border-style: inset;
}
#rofssSettingsPopup .rofss-settings-label-theme {
  margin-top: 14px;
}
#rofssSettingsPopup .rofss-theme-btn {
  flex: 1;
  padding: 8px 0;
  background: #d1dcce;
  border: 2px outset #8aaf7d;
  border-radius: 2px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #103c00;
  cursor: pointer;
}
#rofssSettingsPopup .rofss-theme-btn.is-active {
  background: #1f7200;
  color: #f5f8f3;
  border-style: inset;
}
