:root {
  color-scheme: light;
  color: #292749;
  background: #f4f1ff;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  line-height: 1.7;
}
* { box-sizing: border-box; }
body { margin: 0; overflow-wrap: anywhere; }
a { color: #5840b8; text-underline-offset: 0.2em; }
a:hover { color: #322271; }
a:focus-visible { outline: 3px solid #7863df; outline-offset: 5px; border-radius: 2px; }
.skip-link { position: absolute; left: 12px; top: -80px; padding: 8px 16px; background: white; z-index: 2; }
.skip-link:focus { top: 12px; }
.site-header, .site-footer, .document { width: min(820px, calc(100% - 32px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 0; }
.brand { color: #343044; font: 800 24px/1.2 ui-rounded, "Trebuchet MS", system-ui, sans-serif; text-decoration: none; }
.brand span { color: #ce424f; }
.language { min-height: 44px; display: inline-flex; align-items: center; padding: 6px 12px; font-weight: 650; }
.document { padding: clamp(24px, 5vw, 52px); background: #fff; border-radius: 18px; box-shadow: 0 5px 0 #ded8f1; }
.document-header { border-bottom: 1px solid #e8e3f4; padding-bottom: 22px; margin-bottom: 30px; }
.game-link { font: 750 21px/1.3 ui-rounded, "Trebuchet MS", system-ui, sans-serif; text-decoration: none; }
h1 { margin: 16px 0 12px; font-size: clamp(28px, 5vw, 38px); letter-spacing: -0.035em; line-height: 1.16; }
h2 { margin: 0 0 14px; font-size: 21px; line-height: 1.35; letter-spacing: -0.015em; }
p { margin: 0 0 16px; }
.updated { font-size: 14px; color: #686179; }
.intro { font-size: 18px; color: #585067; margin-bottom: 0; }
section { margin-block: 32px; scroll-margin-top: 20px; }
section:last-child, section p:last-child { margin-bottom: 0; }
ol, ul { padding-left: 24px; }
li { margin-bottom: 10px; padding-left: 4px; }
.site-footer { padding: 28px 0; color: #716980; font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 12px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer nav a[aria-current] { color: #292749; font-weight: 700; }
@media (max-width: 380px) {
  .brand { font-size: 21px; }
  .site-header { gap: 8px; }
  .document { padding: 22px; }
}
@media print {
  :root { color: black; background: white; }
  .site-header, .site-footer { display: none; }
  .document { width: 100%; padding: 0; box-shadow: none; }
  a { color: inherit; }
}
