/* The game's sandstone and gold (Tools/Art/palette.py), with Cinzel for titles. Nothing loads from
   another site: the font and the icon ship with the pages. */
@font-face {
  font-family: "Cinzel";
  src: url("Cinzel.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --stone: #d3bb90;
  --stone-light: #eee0c2;
  --stone-dark: #4e3b24;
  --brass: #c99f45;
  --brass-light: #f1d88e;
  --brass-dark: #7a5620;
  --card: #f6f0e2;
  --card-edge: #cbbd9a;
  --ink: #1f1a2e;
  --team-blue: #2e6fe0;
}

* { box-sizing: border-box; }

html { background: var(--stone); }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(var(--stone-light), var(--stone));
  color: var(--ink);
  font: 17px/1.55 ui-rounded, -apple-system, "SF Pro Rounded", system-ui, sans-serif;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 16px 56px;
}

header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

header img {
  width: 88px;
  height: 88px;
  flex: none;
}

h1, h2 {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  color: var(--stone-dark);
  text-shadow: 0 1px 0 rgba(255, 250, 236, 0.8);
  line-height: 1.15;
}

h1 { font-size: clamp(28px, 6vw, 40px); margin: 0; }
header p { margin: 4px 0 0; color: var(--brass-dark); font-weight: 700; }

h2 { font-size: 22px; margin: 0 0 10px; }

.card {
  background: var(--card);
  border: 2px solid var(--card-edge);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 0 0 18px;
}

.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

dt { font-weight: 800; margin-top: 12px; }
dt:first-child { margin-top: 0; }
dd { margin: 2px 0 0; }

kbd {
  font: 700 14px ui-rounded, -apple-system, system-ui, sans-serif;
  background: var(--stone-light);
  border: 1px solid var(--card-edge);
  border-radius: 6px;
  padding: 1px 6px;
}

a { color: var(--team-blue); font-weight: 700; }

.plate {
  display: inline-block;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(var(--brass-light), var(--brass));
  border: 2px solid var(--brass-dark);
  color: var(--ink);
  text-decoration: none;
}

footer {
  margin-top: 28px;
  font-size: 15px;
  color: var(--stone-dark);
  text-align: center;
}
