:root {
  --bg: #12151b;
  --panel: #1a1f28;
  --line: #2a313d;
  --text: #e6e9ee;
  --muted: #98a2b3;
  --green: #4caf50;
  --green-d: #2e7d32;
  --red: #e5534b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

.top { border-bottom: 1px solid var(--line); background: #0e1116; position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { color: var(--text); font-weight: 700; letter-spacing: .2px; display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.logo { width: 22px; height: 22px; background: linear-gradient(var(--green) 0 36%, #6b4a2b 36% 100%); box-shadow: inset -2px -2px 0 rgba(0,0,0,.25); }
nav { display: flex; gap: 18px; }
nav a { color: var(--muted); font-size: .95rem; }
nav a:hover { color: var(--text); text-decoration: none; }

.hero { padding: 64px 0 40px; background: radial-gradient(900px 300px at 20% -10%, rgba(76,175,80,.14), transparent 70%); border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--green); font-size: .85rem; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 6px; }
h1 { font-size: 2.6rem; line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: 1.5rem; margin: 0 0 18px; }
.lead { color: var(--muted); max-width: 620px; margin: 0 0 24px; font-size: 1.1rem; }

.ip { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); }
.ip code { padding: 10px 16px; font-size: 1.05rem; }
.ip button, .btn { background: var(--green-d); color: #fff; border: 0; padding: 0 16px; font: inherit; cursor: pointer; display: inline-flex; align-items: center; }
.btn { padding: 8px 18px; border-radius: 8px; text-decoration: none !important; }
.ip button:hover, .btn:hover { background: var(--green); }

.status { margin: 18px 0 10px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #667085; }
.status.up .dot { background: var(--green); box-shadow: 0 0 10px rgba(76,175,80,.7); }
.status.up #st-text { color: var(--text); }
.status.down .dot { background: var(--red); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 760px; min-height: 32px; }
.chip { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; font-size: .9rem; }
.chip.more { color: var(--muted); }

.block { padding: 44px 20px; }
.news { display: grid; gap: 14px; }
.post { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.post time { color: var(--muted); font-size: .85rem; }
.post h3 { margin: 2px 0 6px; font-size: 1.1rem; }
.post p { margin: 0; color: var(--muted); }

.steps, .rules { padding-left: 22px; }
.steps li, .rules li { margin-bottom: 8px; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: .85rem; }
.notfound { text-align: center; padding-top: 90px; }
.notfound h1 { font-size: 4rem; margin-bottom: 4px; }

@media (max-width: 560px) {
  h1 { font-size: 2rem; }
  nav { gap: 12px; }
  .ip { display: flex; }
}
