body { min-width: 0; }

.game-name {
  max-width: 40rem;
  margin: 0;
  color: var(--forest);
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.8rem;
  border: 2px solid var(--forest);
  border-radius: 999px;
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}

.language-switcher a[aria-current="page"],
.language-switcher a:hover {
  color: #fff;
  background: var(--forest);
}

.language-switcher img {
  flex: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 15%);
}

.document-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.25rem;
  color: var(--forest);
  font-weight: 700;
}

.document-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-underline-offset: 0.2em;
}

.document-nav a[aria-current="page"] {
  text-decoration-thickness: 0.16em;
}

.publisher {
  margin-top: 0.35rem !important;
  color: var(--muted-ink);
  font-size: 0.95rem;
}

.legal-content section p + p { margin-top: 0.85rem; }
.legal-content p { overflow-wrap: anywhere; }
.legal-content section:first-of-type h2 { margin-top: 1.6rem; }
.legal-content section:not(:first-of-type) h2 { margin-top: 2.1rem; }

@media print {
  body { background: #fff; }
  .site-header { padding-top: 0; }
  .language-switcher, .document-nav, .skip-link { display: none; }
  .legal-content { padding: 0; border: 0; box-shadow: none; }
  h2 { break-after: avoid; }
}
