/* Shared styling for the public policy pages. Same visual language as the
   game: dark surface, gold accent, generous line height for long reading. */
:root { color-scheme: dark; }
* { box-sizing: border-box; margin: 0; }
body {
  background: #14151a; color: #dfe3ea; margin: 0 auto; max-width: 760px;
  padding: 40px 22px 80px;
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: #f2b134; }
header { border-bottom: 1px solid #2a2d36; padding-bottom: 18px; margin-bottom: 26px; }
.brand { font: 800 22px/1 system-ui, sans-serif; letter-spacing: -.01em; color: #fff; text-decoration: none; }

/* Embedded in the app (?in=app): the page is a document inside a screen that
   already has a back button, so the brand link — which would load the game
   into this frame — and the footer's list of siblings are both ways out of a
   place the player did not ask to leave. */
.in-app header, .in-app footer, .in-app .langs { display: none; }
.in-app { padding-top: 18px; }
h1 { font-size: 27px; line-height: 1.25; margin: 0 0 6px; }
h2 { font-size: 18px; margin: 30px 0 8px; color: #fff; }
h3 { font-size: 15px; margin: 20px 0 6px; color: #cfd4dc; }
p, li { color: #c2c9d4; }
p { margin: 10px 0; }
ul, ol { margin: 8px 0; padding-inline-start: 22px; }
li { margin: 5px 0; }
.updated { font-size: 13px; color: #7f8a99; }
.note { font-size: 13px; color: #8d99ae; }

/* Language row. Seven labels have to fit a phone, so it wraps. */
.langs { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 22px; font-size: 13px; }
.langs a, .langs .cur {
  border: 1px solid #2a2d36; border-radius: 999px; padding: 4px 11px; text-decoration: none;
}
.langs a { color: #9aa4b2; }
.langs a:hover { color: #f2b134; border-color: #4a4f5d; }
.langs .cur { color: #14151a; background: #f2b134; border-color: #f2b134; font-weight: 600; }
.box { background: #1b1d24; border: 1px solid #2a2d36; border-radius: 12px; padding: 16px 18px; margin: 18px 0; }
.box p:first-child { margin-top: 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: start; padding: 9px 10px; border-bottom: 1px solid #262a33; vertical-align: top; }
th { color: #8d99ae; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
footer { margin-top: 46px; padding-top: 18px; border-top: 1px solid #2a2d36; font-size: 13px; color: #7f8a99; }
footer a { margin-inline-end: 14px; }
