/* The legal pages (privacy, cookies, copyright, contact): one plain, readable column. */
:root { --red: #c81e1e; --text: #222; --muted: #666; --panel: #fff; --bg: #eee; --line: #d6d6d6; }
@media (prefers-color-scheme: dark) { :root { --text: #e8ecf2; --muted: #9aa5b5; --panel: #1b212b; --bg: #0e131b; --line: #334052; } }
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--gb-font); font-size: 14px; line-height: 1.6; color: var(--text); background: var(--bg); }
header { background: var(--red); border-bottom: 3px solid #861616; }
header .wrap { max-width: 860px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 14px; }
header img { height: 42px; width: auto; display: block; }
header a.back { margin-left: auto; color: #fff; font-weight: bold; text-decoration: none; }
nav.legal { max-width: 860px; margin: 12px auto 0; padding: 0 16px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
nav.legal a { color: var(--text); text-decoration: none; font-weight: bold; }
nav.legal a:hover, nav.legal a[aria-current="page"] { color: var(--red); text-decoration: underline; }
main { max-width: 860px; margin: 10px auto 14px; background: var(--panel); border: 1px solid var(--line); padding: 8px 22px 18px; }
h1 { color: var(--red); margin-bottom: 4px; }
h2 { font-size: 18px; margin: 22px 0 6px; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
h3 { font-size: 15px; margin: 14px 0 4px; }
a { color: var(--red); }
@media (prefers-color-scheme: dark) { a, nav.legal a:hover, nav.legal a[aria-current="page"] { color: #ff7a6e; } }
.muted { color: var(--muted); font-size: 12px; }
.note { border-left: 4px solid var(--red); background: rgba(200,30,30,.06); padding: 8px 12px; margin: 12px 0; }
table { border-collapse: collapse; width: 100%; font-size: 13px; margin: 6px 0 12px; }
th, td { border: 1px solid var(--line); padding: 5px 8px; text-align: left; vertical-align: top; }
th { background: rgba(0,0,0,.04); }
.table-scroll { overflow-x: auto; }
code { font-size: 12px; background: rgba(0,0,0,.06); padding: 1px 4px; border-radius: 2px; word-break: break-all; }
button, .btn { font: inherit; padding: 6px 14px; cursor: pointer; border: 1px solid #861616; background: var(--red); color: #fff; border-radius: 3px; text-decoration: none; display: inline-block; }
.btn:not(.green) { background: #f4f4f4; color: #222; border-color: #aaa; }
.btn.green { background: #2f8f2f; border-color: #1d6a1d; color: #fff; }
footer { text-align: center; font-size: 11px; color: var(--muted); padding: 0 16px 30px; }
footer a { color: var(--muted); }
@media (max-width: 500px) { main { margin: 8px 0 0; border-left: 0; border-right: 0; padding: 4px 16px 16px; } }
