.plugins-page header {
  padding: 0 0 30px;
}

.plugins-page .top-nav {
  width: 100%;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--s1-line);
  background: rgba(16, 19, 16, .95);
}

.plugins-page .hero {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.plugins-page .hero > div {
  min-width: 0;
}

.plugins-page .server-icon {
  display: block;
  width: 86px;
  height: 86px;
  border: 2px solid var(--s1-green);
  border-radius: 12px;
  box-shadow: 0 0 0 5px rgba(85, 223, 114, .08);
  image-rendering: pixelated;
}

.plugins-page h1 {
  margin: 0;
  color: var(--s1-green);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.title-sub {
  display: block;
  color: var(--s1-text);
  font-size: .7em;
}

.hero-sub {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--s1-muted);
  font-size: .98rem;
}

.summary {
  display: grid;
  margin: 22px 0 36px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.summary-card {
  min-width: 0;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--s1-line);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(85, 223, 114, .08), var(--s1-panel));
}

.metric {
  display: block;
  color: var(--s1-green);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.label {
  color: var(--s1-muted);
  font-size: .8rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0 12px;
  color: var(--s1-muted);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.section-label::after {
  flex: 1;
  height: 1px;
  background: var(--s1-line);
  content: "";
}

.plugins-page section {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--s1-line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--s1-panel-soft), var(--s1-panel));
}

.section-head {
  display: flex;
  padding: 18px 20px;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--s1-line);
}

.plugins-page h2 {
  margin: 0;
  color: var(--s1-text);
  font-size: 1.2rem;
  line-height: 1.35;
}

.count {
  color: var(--s1-muted);
  font-size: .82rem;
  white-space: nowrap;
}

.table-wrap {
  overflow-x: auto;
}

.plugins-page table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: .9rem;
}

.plugins-page th,
.plugins-page td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--s1-line);
  text-align: left;
  vertical-align: top;
}

.plugins-page th {
  background: #131713;
  color: var(--s1-text);
  font-size: .78rem;
  letter-spacing: .035em;
}

.plugins-page tr:last-child td {
  border-bottom: 0;
}

.plugin-name {
  color: var(--s1-green);
  font-weight: 800;
  white-space: nowrap;
}

.version,
.kind {
  color: var(--s1-muted);
  white-space: nowrap;
}

.note {
  color: #d1d8d1;
}

.foot-note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 211, 90, .38);
  border-radius: 10px;
  background: rgba(255, 211, 90, .07);
  color: #e8dca9;
  font-size: .9rem;
}

@media (max-width: 820px) {
  .summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .plugins-page .top-nav {
    margin-bottom: 30px;
  }

  .plugins-page .hero {
    grid-template-columns: 1fr;
  }

  .plugins-page .server-icon {
    width: 68px;
    height: 68px;
  }

  .plugins-page h1 {
    font-size: 1.72rem;
  }

  .summary {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    display: block;
  }

  .count {
    display: block;
    margin-top: 5px;
  }
}
