/* ChiliPaste — release notes shown in Sparkle / WebKit views
   Edit HTML only; tweak spacing or colors here if needed. */

:root {
  color-scheme: light dark;
  --rn-text: #1d1d1f;
  --rn-muted: rgba(0, 0, 0, 0.55);
  --rn-accent: #c41e16;
  --rn-rule: rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --rn-text: #f5f5f7;
    --rn-muted: rgba(255, 255, 255, 0.55);
    --rn-accent: #ff6b61;
    --rn-rule: rgba(255, 255, 255, 0.12);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.rn {
  margin: 0;
  padding: 14px 16px 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--rn-text);
  background: transparent;
  -webkit-font-smoothing: antialiased;
}

.rn-wrap {
  max-width: 36em;
}

.rn-version {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.rn-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rn-muted);
  margin: 0 0 12px;
}

.rn-lead {
  margin: 0 0 14px;
  color: var(--rn-muted);
  font-size: 12px;
  line-height: 1.5;
}

.rn-list {
  margin: 0;
  padding: 0 0 0 1.1em;
}

.rn-list li {
  margin-bottom: 8px;
}

.rn-list li:last-child {
  margin-bottom: 0;
}

.rn-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--rn-rule);
  font-size: 11px;
  color: var(--rn-muted);
}

.rn-footer a {
  color: var(--rn-accent);
  text-decoration: none;
}

.rn-footer a:hover {
  text-decoration: underline;
}
