:root { --bg:#0f172a; --card:#16223d; --line:#24324f; --text:#e5ecf6; --muted:#8ea0bd; --primary:#2f80ed; }
* { box-sizing: border-box; }
body { margin:0; font-family:system-ui,-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","SF Arabic","Geeza Pro","Helvetica Neue",sans-serif,"Segoe UI",Tahoma,sans-serif; -webkit-font-smoothing:antialiased; background:var(--bg); color:var(--text); line-height:1.9; }
.wrap { max-width: 820px; margin: 0 auto; padding: 0 22px 40px; }
header { padding: 22px 0; }
header a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; display: inline-flex; align-items: center; gap: 10px; }
header img { width: 32px; height: 32px; }
h1 { font-size: 30px; margin: 20px 0 4px; }
.date { color: var(--muted); font-size: 13px; margin-top: 0; }
h2 { font-size: 19px; margin: 32px 0 8px; }
p, li { font-size: 15px; color: #cfd8e6; }
a { color: #7fb3ff; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
th, td { border: 1px solid var(--line); padding: 10px; text-align: right; vertical-align: top; }
th { background: var(--card); }
footer { margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; }
header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lang-switch { margin-inline-start: auto; display: flex; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.lang-switch button { background: transparent; color: var(--muted); border: 0; padding: 6px 12px; border-radius: 7px; cursor: pointer; font: inherit; font-size: 14px; }
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active { background: var(--primary); color: #fff; }
.note { background: rgba(47,128,237,.1); border: 1px solid rgba(47,128,237,.35); border-radius: 10px; padding: 8px 14px; font-size: 13.5px !important; }
[hidden] { display: none !important; }
html[dir="ltr"] th, html[dir="ltr"] td { text-align: left; }
@media (max-width: 600px) { .lang-switch { margin-inline-start: 0; width: 100%; justify-content: center; } }
