/* Legal and help pages: plain, readable documents in the Wishio look. */
:root { --bg: #140a24; --panel: #1b0e31; --line: #2f1a52; --text: #f6f0ff; --body: #e6dcf7; --muted: #b9a8d6; --gold: #f2c14e; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 Manrope, 'Segoe UI', system-ui, sans-serif; }
a { color: var(--gold); }
a:hover { color: #ffd978; }
header.top { position: sticky; top: 0; z-index: 5; background: #170c2b; border-bottom: 1px solid var(--line); }
header.top .in { max-width: 1040px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 16px; }
header.top img { width: 118px; height: 48px; display: block; }
header.top nav { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
header.top nav a { padding: 8px 14px; border-radius: 999px; color: #d9ccef; text-decoration: none; font-size: 14px; font-weight: 700; }
header.top nav a[aria-current="page"] { background: rgba(242,193,78,.14); color: #ffd978; }
.hero { background: linear-gradient(180deg, rgba(20,10,36,.35), rgba(20,10,36,1)), url(galaxy.webp) center / cover; padding: 56px 20px 36px; }
.hero .in, footer .in { max-width: 820px; margin: 0 auto; }
main { max-width: 860px; margin: 0 auto; }
h1 { margin: 0; font-family: Rakkas, Georgia, serif; font-weight: 400; font-size: clamp(34px, 7vw, 52px); line-height: 1.05; color: var(--gold); }
.hero p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
main { padding: 8px 20px 64px; }
.toc { margin: 0 0 32px; padding: 18px 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.toc strong { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; font-size: 15px; }
.toc a { text-decoration: none; }
h2 { margin: 40px 0 10px; font-family: Rakkas, Georgia, serif; font-weight: 400; font-size: 28px; line-height: 1.15; scroll-margin-top: 84px; }
h3 { margin: 22px 0 6px; font-size: 17px; }
p, li { color: var(--body); }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 22px; }
li { margin: 4px 0; }
.note { padding: 14px 18px; border-radius: 14px; background: rgba(242,193,78,.08); border: 1px solid rgba(242,193,78,.35); color: #ffe39a; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 8px 0 16px; }
.card { padding: 16px 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.card b { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.coin { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.coin.g { background: #f2c14e; color: #3b2300; } .coin.s { background: #2fd08f; color: #063a26; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--body); }
th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
footer { border-top: 1px solid var(--line); background: #0f0720; padding: 28px 20px 40px; font-size: 13px; color: var(--muted); }
footer .in { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
footer a { color: #d9ccef; text-decoration: none; }
footer .age { margin-left: auto; padding: 4px 10px; border: 1px solid #6a4a9e; border-radius: 999px; color: var(--text); font-weight: 800; }
@media (max-width: 640px) {
  body { font-size: 15px; }
  header.top nav { display: none; }
  .toc ol { columns: 1; }
  td:first-child { width: 34%; }
  .cards { grid-template-columns: 1fr; }
  footer .age { margin-left: 0; }
}
