:root {
  --bg: #faf8ef;
  --surface: #ffffff;
  --ink: #776e65;
  --ink-strong: #5b5148;
  --ink-soft: #9c9289;
  --accent: #f2a65a;
  --board: #bbada0;
  --t1: #f2a65a; --t5: #5b8fd9; --t7: #6dba5a; --t3: #e26d9c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1e1b18;
    --surface: #2a2622;
    --ink: #ede6dd;
    --ink-strong: #ffffff;
    --ink-soft: #a79d93;
    --board: #3b342e;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
}
main { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
header.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
header.brand a { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 14px; }
header.brand img { width: 56px; height: 56px; border-radius: 13px; }
header.brand span { font-size: 26px; font-weight: 800; color: var(--ink-strong); }
nav.lang { margin-left: auto; font-size: 15px; }
h1 { font-size: 34px; line-height: 1.2; color: var(--ink-strong); margin: 0 0 12px; }
h2 { font-size: 22px; color: var(--ink-strong); margin: 32px 0 8px; }
a { color: #c47a2c; }
@media (prefers-color-scheme: dark) { a { color: var(--accent); } }
.tiles { display: flex; gap: 8px; margin: 8px 0 20px; }
.tiles b {
  width: 48px; height: 48px; border-radius: 11px; color: #fff;
  display: grid; place-items: center; font-size: 26px; font-weight: 800;
}
.card { background: var(--surface); border-radius: 18px; padding: 18px 20px; margin: 16px 0; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.links a {
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700;
  padding: 10px 16px; border-radius: 12px;
}
footer { margin-top: 48px; font-size: 14px; color: var(--ink-soft); }
footer a { color: inherit; }
