:root{--bg:#081B3A;--surface:#0E2A52;--border:#1E3A66;--text:#EAF1FB;--muted:#A9B8CF;--link:#4DD2FF;--accent:#00C2FF;--blue:#2D8CFF;--violet:#6A3CFF;--note:#0B2447}
@media (prefers-color-scheme:light){:root{--bg:#F7F9FC;--surface:#FFFFFF;--border:#E7ECF3;--text:#081B3A;--muted:#4A5668;--link:#0B63C9;--accent:#2D8CFF;--note:#EAF3FF}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:17px/1.65 -apple-system,BlinkMacSystemFont,"Inter","Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.wrap{max-width:720px;margin:0 auto;padding:24px 20px 56px}
header.top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--border);margin-bottom:28px;flex-wrap:wrap}
header.top a.brand{display:flex;align-items:center;gap:10px;color:var(--text);font-weight:650;text-decoration:none}
header.top img{width:32px;height:32px;border-radius:8px}
.lang a{color:var(--link);font-weight:600}
h1{font-size:2rem;line-height:1.2;margin:0 0 .4em}
h2{font-size:1.3rem;margin:2em 0 .5em;padding-top:.2em}
h3{font-size:1.05rem;margin:1.4em 0 .3em}
p,li{color:var(--text)}
.muted,.meta{color:var(--muted)}
.meta{font-size:.95rem}
a{color:var(--link);text-underline-offset:3px}
a:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:3px}
ul,ol{padding-left:1.3em}li{margin:.35em 0}
code{background:var(--surface);border:1px solid var(--border);border-radius:6px;padding:.05em .35em;font-size:.9em}
.hero{text-align:center;padding:12px 0 8px}
.hero img{width:128px;height:128px;border-radius:28px;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.hero h1{margin-top:.6em}
.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:18px 20px;margin:22px 0}
.card.tv{border-color:var(--accent);background:var(--note)}
.card h2{margin-top:0}
.btns{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}
.btn{display:inline-block;padding:.65em 1.1em;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);text-decoration:none;font-weight:600}
.btn:hover{border-color:var(--accent)}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:560px){.grid{grid-template-columns:1fr}body{font-size:16px}h1{font-size:1.7rem}}
details{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:10px 16px;margin:10px 0}
summary{cursor:pointer;font-weight:600}
footer{margin-top:48px;padding-top:18px;border-top:1px solid var(--border);color:var(--muted);font-size:.9rem}
footer a{color:var(--muted)}
