/*
  The privacy policy and the terms (site/privacy, site/terms): plain documents beside the game,
  served at aero-friends.com/privacy and /terms. They are pages to read, not game UI, so they
  are HTML text; the face is still the game's own (AGENTS.md, typeface policy).
*/
@font-face {
  font-family: 'Aero Friends Soft';
  src: url('/assets/fonts/AeroFriendsSoft-Regular.woff2') format('woff2');
  font-display: swap;
}

:root {
  color-scheme: only light;
  --ink: #12304f;
  --soft: #4a6584;
  --sky: #2f9be8;
  --line: #d5e6f5;
  --page: #ffffff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #8fd0ff 0%, #d9f0ff 320px, #eef8ff 100%) fixed;
  color: var(--ink);
  font: 16px/1.6 'Aero Friends Soft', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

main {
  max-width: 760px;
  margin: 32px auto;
  padding: 32px 40px 40px;
  background: var(--page);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(18, 48, 79, .12);
}

@media (max-width: 640px) {
  main { margin: 0; padding: 24px 16px 32px; border-radius: 0; }
}

.back { display: inline-block; margin-bottom: 16px; color: var(--sky); text-decoration: none; }
.back:hover { text-decoration: underline; }

h1 { margin: 0 0 4px; font-size: 32px; line-height: 1.2; }
.updated { margin: 0 0 24px; color: var(--soft); }
h2 { margin: 32px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 22px; line-height: 1.3; }
h3 { margin: 20px 0 4px; font-size: 18px; }
p, li { overflow-wrap: anywhere; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
a { color: #1677c9; }

.short {
  margin: 0 0 8px;
  padding: 16px 20px;
  background: #eef7ff;
  border-radius: 14px;
}
.short h2 { margin-top: 0; padding-top: 0; border-top: 0; }

table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--soft); font-weight: inherit; }

@media (max-width: 640px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  td { padding: 2px 0; border: 0; }
  td:first-child { font-size: 16px; }
}

footer { margin-top: 32px; color: var(--soft); font-size: 14px; }
