/* Miniq Games hukuk sayfaları (/terms, /privacy). Kabuk paletinin sade bir kopyası. */
:root {
  --bg: #f6f4fb;
  --surface: #ffffff;
  --text: #1d1730;
  --muted: #5f5874;
  --line: #e3dff0;
  --accent: #6b3fd4;
  --todo-bg: #fff1b8;
  --todo-text: #5a4500;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14111d;
    --surface: #1d1928;
    --text: #efeaf9;
    --muted: #aaa2bf;
    --line: #322c44;
    --accent: #b49bff;
    --todo-bg: #5a4500;
    --todo-text: #fff1b8;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

header, main, footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 8px;
}

.brand { font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; }

nav.lang { display: flex; gap: 4px; }

nav.lang button {
  font: inherit;
  font-size: 14px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}

nav.lang button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); font-weight: 700; }

article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 24px 24px;
  margin: 16px 0 32px;
}

/* JS yoksa üç dil alt alta görünür; JS seçileni bırakır */
.js article:not(.active) { display: none; }

h1 { font-size: 28px; line-height: 1.25; margin: 20px 0 4px; }
h2 { font-size: 19px; margin: 28px 0 6px; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
a { color: var(--accent); }
ul { padding-left: 22px; }
li { margin: 4px 0; }

.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; margin: 8px 0; }
th, td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 8px 8px 8px 0; }
th { color: var(--muted); font-weight: 600; }

/* taslakta henüz karar verilmemiş yerler; yayından önce hiçbiri kalmamalı */
mark.todo { background: var(--todo-bg); color: var(--todo-text); padding: 0 4px; border-radius: 4px; }

.draft {
  background: var(--todo-bg);
  color: var(--todo-text);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  margin-top: 16px;
}

footer { color: var(--muted); font-size: 13px; padding-bottom: 32px; }
