:root {
  --bg: #FFF8EE;
  --card: #FFFFFF;
  --ink: #2A1B3D;
  --muted: #5C4B6B;
  --coral: #FF5A36;
  --coral-soft: #FFDAD1;
  --line: #F0E2CF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1326;
    --card: #2A1F36;
    --ink: #F6EEFF;
    --muted: #CBBBD9;
    --coral: #FF8A6B;
    --coral-soft: #4A2418;
    --line: #3C2F4A;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
header.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
header.brand a { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
header.brand img { width: 48px; height: 48px; border-radius: 12px; }
header.brand span { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 26px; color: var(--coral); }
h1, h2, h3 { font-family: "Fredoka", sans-serif; font-weight: 600; line-height: 1.25; }
h1 { font-size: 34px; margin: 0 0 8px; }
h2 { font-size: 23px; margin: 36px 0 8px; }
h3 { font-size: 18px; margin: 20px 0 4px; }
p, li { color: var(--ink); }
.muted { color: var(--muted); }
a { color: var(--coral); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  margin: 16px 0;
}
.rule { display: flex; gap: 14px; }
.rule .emoji { font-size: 28px; line-height: 1.2; width: 36px; flex: none; }
.rule h3 { margin-top: 0; }
.button {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.links a { background: var(--coral-soft); color: var(--ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { font-family: "Fredoka", sans-serif; font-weight: 600; }
.table-wrap { overflow-x: auto; }
footer { margin-top: 48px; font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); }
