/* SILAMANI policy pages (docs/43 §9.5): static pages beside the game, its colours and its Mali font (ADR-0020). */
@font-face { font-family: 'Mali'; font-weight: 400; font-display: swap; src: url(/fonts/mali-400-thai.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Mali'; font-weight: 400; font-display: swap; src: url(/fonts/mali-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mali'; font-weight: 600; font-display: swap; src: url(/fonts/mali-600-thai.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Mali'; font-weight: 600; font-display: swap; src: url(/fonts/mali-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mali'; font-weight: 700; font-display: swap; src: url(/fonts/mali-700-thai.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Mali'; font-weight: 700; font-display: swap; src: url(/fonts/mali-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0e0b16; --ink: #f3e9d2; --dim: #b3a9c4; --gold: #e0b44c; --teal: #8ff0ff;
  --panel: rgba(20, 14, 32, 0.92); --line: rgba(224, 180, 76, 0.35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font: 400 16px/1.75 'Mali', system-ui, sans-serif;
  background: radial-gradient(ellipse at 50% -10%, rgba(90, 230, 255, .10), transparent 55%), radial-gradient(ellipse at 50% 120%, rgba(224, 180, 76, .10), transparent 50%), var(--bg);
}
a { color: var(--teal); }
a:hover { color: #fff; }
.wrap { max-width: 760px; margin: 0 auto; padding: 20px 16px 48px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand img { width: 32px; height: 32px; image-rendering: pixelated; }
.langs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 7, 16, .6); }
.langs button { font: inherit; font-size: 14px; color: var(--dim); background: none; border: 0; border-radius: 999px; padding: 3px 12px; cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--gold); color: #1a1020; font-weight: 600; }
nav.pages { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
nav.pages a { text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; font-size: 14px; background: rgba(255, 255, 255, .04); }
nav.pages a[aria-current="page"] { border-color: var(--gold); color: var(--gold); }
main { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
h1 { margin: 0 0 4px; font-size: 26px; line-height: 1.35; color: var(--gold); }
h2 { margin: 28px 0 8px; font-size: 19px; color: var(--gold); }
h3 { margin: 18px 0 6px; font-size: 16px; }
p, ul, ol { margin: 0 0 12px; }
ul, ol { padding-left: 1.3em; }
li { margin: 3px 0; }
.meta { color: var(--dim); font-size: 14px; margin-bottom: 16px; }
.lead { font-size: 17px; }
.note { border-left: 3px solid var(--teal); background: rgba(143, 240, 255, .06); padding: 10px 14px; border-radius: 0 10px 10px 0; }
.table { width: 100%; overflow-x: auto; margin: 0 0 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; vertical-align: top; padding: 7px 8px; border-bottom: 1px solid rgba(224, 180, 76, .18); }
th { color: var(--gold); font-weight: 600; }
/* what only the owner can fill in or confirm: never shipped as if it were settled */
mark.todo { background: rgba(255, 120, 90, .18); color: #ffb8a6; border: 1px dashed rgba(255, 140, 110, .7); border-radius: 6px; padding: 0 5px; }
footer { color: var(--dim); font-size: 13px; text-align: center; margin-top: 22px; }
[data-l] { display: none; }
html[data-lang="th"] [data-l="th"], html[data-lang="en"] [data-l="en"] { display: revert; }
html:not([data-lang]) [data-l="th"] { display: revert; }
@media (max-width: 480px) { main { padding: 18px 14px; } h1 { font-size: 22px; } }
