.rules-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.rules-card h2 {
  color: var(--accent-primary);
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.rules-list {
  margin: 0;
  padding-left: 1.5rem;
  color: var(--text-primary);
}

.rules-list li {
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

.rules-list li::marker {
  color: var(--text-secondary);
  font-weight: 700;
}

.alert-box {
  background-color: rgba(220, 38, 38, 0.1);
  border-left: 4px solid #dc2626;
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin-block: 1.5rem;
}

[data-theme="light"] .alert-box {
  background-color: rgba(220, 38, 38, 0.05);
}

[data-theme="hc-dark"] .alert-box {
  border-color: #ff0000;
  color: #ff0000;
  background: transparent;
  border: 1px solid #ff0000;
}

[data-theme="hc-light"] .alert-box {
  border-color: #000000;
  color: #000000;
  background: transparent;
  border: 2px solid #000000;
}

.alert-box strong {
  display: block;
  color: #ef4444;
  margin-bottom: 0.25rem;
}

[data-theme="light"] .alert-box strong {
  color: #b91c1c;
}

[data-theme="hc-dark"] .alert-box strong,
[data-theme="hc-light"] .alert-box strong {
  color: inherit;
}