:root {
  --bg: #0e1020;
  --panel: #171a30;
  --panel-soft: #1e2240;
  --text: #f7f7fb;
  --muted: #c8cad8;
  --accent: #ae8cff;
  --accent-2: #69d5ff;
  --line: rgba(255,255,255,.13);
  --warning-bg: rgba(255, 210, 96, .13);
  --warning-line: rgba(255, 210, 96, .40);
  --ok-bg: rgba(107, 234, 177, .11);
  --ok-line: rgba(107, 234, 177, .38);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 6% 2%, rgba(174,140,255,.20), transparent 32rem),
    radial-gradient(circle at 95% 8%, rgba(105,213,255,.14), transparent 30rem),
    var(--bg);
  line-height: 1.65;
}
a { color: #b9e7ff; }
a:hover { color: #fff; }
.shell { width: min(980px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 60px; }
.hero {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(174,140,255,.20), rgba(105,213,255,.12));
  box-shadow: 0 18px 80px rgba(0,0,0,.25);
}
.brand { display: flex; gap: 12px; align-items: center; font-weight: 800; letter-spacing: .02em; }
.logo { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(135deg, #ae8cff, #69d5ff); color: #111323; font-size: 20px; }
h1 { margin: 16px 0 8px; font-size: clamp(2rem, 6vw, 3.55rem); line-height: 1.08; }
h2 { margin: 42px 0 14px; font-size: 1.45rem; line-height: 1.22; }
h3 { margin: 28px 0 10px; font-size: 1.08rem; }
p { margin: 10px 0; }
.lead { color: #e7e8ef; font-size: 1.08rem; max-width: 75ch; }
.meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.pill { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(10,12,25,.30); color: var(--muted); font-size: .92rem; }
.nav { position: sticky; top: 0; z-index: 10; margin: 18px 0; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: rgba(14,16,32,.82); backdrop-filter: blur(14px); }
.nav a { display: inline-block; padding: 7px 9px; font-size: .92rem; color: var(--muted); text-decoration: none; }
.nav a:hover { color: #fff; }
.card, .notice, details {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(23,26,48,.78);
}
.notice.warning { background: var(--warning-bg); border-color: var(--warning-line); }
.notice.ok { background: var(--ok-bg); border-color: var(--ok-line); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
@media (max-width: 720px) { .grid { grid-template-columns: 1fr; } .shell { width: min(100% - 22px, 980px); padding-top: 11px; } .hero { padding: 22px; } }
.data-table { width: 100%; border-collapse: collapse; margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.data-table th, .data-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.data-table th { color: #f6efff; background: rgba(174,140,255,.12); }
.data-table tr:last-child td { border-bottom: 0; }
ul, ol { padding-left: 1.25rem; }
li { margin: 7px 0; }
.small { color: var(--muted); font-size: .92rem; }
.strong { color: #fff; font-weight: 750; }
hr { margin: 45px 0; border: 0; border-top: 1px solid var(--line); }
.lang-title { display: flex; align-items: center; gap: 10px; color: #cbefff; margin-top: 56px; }
.lang-title::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg,var(--accent),var(--accent-2)); }
.footer { margin-top: 54px; color: var(--muted); font-size: .9rem; }
code { border-radius: 7px; padding: 1px 5px; background: rgba(255,255,255,.08); }
summary { cursor: pointer; font-weight: 700; }
