:root {
  --bg: #0b1410;
  --panel: #111d17;
  --panel-2: #16251d;
  --text: #f2f6f1;
  --muted: #aebbb1;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #8be28f;
  --max: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #0b1410, #09110e 70%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 32px auto 0;
}

.header,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

.header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.label {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

h1, h2 {
  margin: 0;
  line-height: 1.1;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: 1.15rem; }

.intro,
.panel-head p,
.empty,
.footer,
.summary span {
  color: var(--muted);
}

.intro { margin: 10px 0 0; max-width: 54ch; }

.summary {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.summary div {
  min-width: 110px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  text-align: center;
}

.summary strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 18px;
}

code {
  padding: 0.15rem 0.35rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.sites-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.site-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.site-main {
  min-width: 0;
}

.site-name {
  margin: 0;
  font-size: 1.05rem;
}

.site-desc {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(139, 226, 143, 0.1);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-link {
  margin-top: 10px;
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.site-link:hover,
.site-link:focus-visible {
  text-decoration: underline;
}

.empty {
  margin: 14px 0 0;
}

.footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 28px;
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .header,
  .panel-head,
  .site-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .summary {
    width: 100%;
  }

  .summary div {
    flex: 1 1 0;
  }

  .site-meta {
    justify-content: flex-start;
  }
}
