:root { --bg-top:#29125f; --bg-bottom:#0d0729; --text:#f4f1ff; --muted:#b3a9d6; --accent:#ffc72e; --card:rgba(255,255,255,.07); --stroke:rgba(255,255,255,.12); }
* { box-sizing: border-box; }
body { margin:0; font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; color:var(--text);
  background:var(--bg-bottom) linear-gradient(180deg,var(--bg-top) 0,var(--bg-bottom) 900px) no-repeat; }
.wrap { max-width:780px; margin:0 auto; padding:28px 20px 80px; }
a { color:var(--accent); }
header { display:flex; align-items:center; gap:10px; margin-bottom:28px; }
header img { width:36px; height:36px; border-radius:9px; }
header a { color:var(--text); text-decoration:none; font-weight:800; font-size:20px; }
.langpick { margin-left:auto; }
.note { color:#7d73a6; font-size:14px; margin:0 0 18px; display:none; } .note.on { display:block; }
h1 { font-size:34px; line-height:1.15; margin:0 0 6px; }
h2 { font-size:21px; margin:34px 0 8px; }
p, li { color:var(--muted); }
strong { color:var(--text); }
.card { background:var(--card); border:1px solid var(--stroke); border-radius:16px; padding:18px 20px; margin:18px 0; }
.updated { color:#7d73a6; font-size:14px; }
section[lang] { display:none; } section.on { display:block; }

/* language picker (shared with the legal pages) */
.langpick { position: relative; }
.lp-btn { display: flex; align-items: center; gap: 7px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #f4f1ff; border-radius: 99px; padding: 7px 12px; font: 600 14px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; cursor: pointer; }
.lp-btn:hover { border-color: rgba(255, 255, 255, .3); }
.lp-flag { font-size: 16px; line-height: 1; }
.lp-list { display: none; position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; width: 220px; max-height: min(70vh, 460px); overflow: auto;
  background: #1f1150; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); z-index: 40; }
.langpick.open .lp-list { display: block; }
.lp-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; cursor: pointer; font-size: 15px; outline: none; }
.lp-list li:hover, .lp-list li:focus { background: rgba(255, 255, 255, .08); }
.lp-list li[aria-selected] { background: rgba(255, 199, 46, .16); color: #ffc72e; font-weight: 700; }

