/* Static legal pages (privacy.html, terms.html). Standalone: does not load style.css (the game sets body overflow hidden). */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; touch-action: manipulation; }

body {
  margin: 0;
  background: radial-gradient(ellipse at 50% 0%, #12264a 0%, #091428 45%, #03060d 100%) fixed;
  color: #cbd5e1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
}

.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 18px 48px;
}

.legal-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 20px;
}

.legal-top a,
.legal-page a {
  color: #c8aa6e;
  text-decoration: none;
}

.legal-top a:hover,
.legal-page a:hover { text-decoration: underline; color: #f1f5f9; }

.legal-top a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
}

.lang-jump { display: flex; flex-wrap: wrap; gap: 4px; }

h1 {
  color: #fde047;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  margin: 8px 0 4px;
}

h2 {
  color: #f1f5f9;
  font-size: 1.15rem;
  margin: 28px 0 6px;
  border-bottom: 1px solid rgba(200, 170, 110, 0.25);
  padding-bottom: 4px;
}

.updated { color: #64748b; font-size: 0.85rem; margin: 0 0 12px; }

section.lang {
  background: rgba(9, 20, 40, 0.7);
  border: 1px solid rgba(200, 170, 110, 0.22);
  border-radius: 12px;
  padding: 18px 20px 22px;
  margin-bottom: 24px;
}

ul { padding-left: 1.2rem; }
li { margin: 4px 0; }

.placeholder {
  background: rgba(250, 204, 21, 0.12);
  color: #fde047;
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 700;
}

.riot-note {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 18px;
}

footer.legal-foot {
  text-align: center;
  font-size: 0.78rem;
  color: #64748b;
  padding: 0 18px 28px;
  max-width: 820px;
  margin: 0 auto;
}
