.rules-toggle-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 1.5rem 0;
}
.rules-toggle-btn {
  padding: 8px 24px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--border-card);
  background-color: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.rules-toggle-btn.is-active {
  background-color: var(--brand);
  color: var(--text-on-brand);
  border-color: var(--brand);
}
.rules-btn-icon {
  margin-right: 0.4rem;
  line-height: 1;
}
#rules-image-display {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}
.rule-article {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-card);
}
.rule-article:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.rule-article ul {
  padding-left: 20px;
}
.rule-article li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.rule-overview {
  margin-top: 1rem;
  padding: 1rem;
  background-color: var(--bg-pill);
  border-radius: 8px;
}
.rules-last-updated {
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
  color: var(--text-muted);
}
