*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0d0d12;
  --card: #16161f;
  --brand: #FF2E63;
  --cyan: #08D9D6;
  --violet: #9D4EDD;
  --text: #f0f0f5;
  --muted: #a3a3bd;
  --border: rgba(255,255,255,0.09);
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.7;
}
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
header { padding-top: 1.75rem; padding-bottom: 1rem; display: flex; justify-content: space-between; align-items: center; }
.logo {
  font-family: 'Syne', 'Arial Black', 'Segoe UI', system-ui, sans-serif;
  font-weight: 800; font-size: 1.3rem; text-decoration: none;
  background: linear-gradient(135deg, #FF2E63, #9D4EDD);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.back { color: var(--muted); font-size: 0.9rem; text-decoration: none; }
.back:hover, .back:focus-visible { color: var(--text); }
main { padding-bottom: 3rem; }
h1 { font-family: 'Syne', 'Arial Black', 'Segoe UI', system-ui, sans-serif; font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 1.15; margin: 1.5rem 0 0.5rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; color: var(--text); }
p, li { color: var(--muted); font-size: 0.97rem; }
p { margin-bottom: 0.9rem; }
ul { padding-left: 1.25rem; margin-bottom: 0.9rem; }
li { margin-bottom: 0.35rem; }
strong { color: var(--text); }
a { color: var(--cyan); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.updated { color: var(--muted); font-size: 0.85rem; }
.todo { background: rgba(255,46,99,0.14); border: 1px dashed rgba(255,46,99,0.5); color: #ff9db6; padding: 0 0.35rem; border-radius: 4px; }
table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; font-size: 0.9rem; }
th, td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
th { color: var(--text); }
footer { padding-top: 1.5rem; padding-bottom: 2.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; }
footer a { margin-right: 1rem; }
@media (max-width: 560px) { table, thead, tbody, tr, th, td { display: block; } thead { display: none; } td { border: 0; padding: 0.15rem 0; } tr { border-bottom: 1px solid var(--border); padding: 0.6rem 0; } }
