.rzw-top100-page {
  --top100-ink: #132033;
  --top100-muted: #627087;
  --top100-line: #dbe6ef;
  --top100-green: #147c63;
  --top100-blue: #2f5eea;
  --top100-card: #ffffff;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 2%, rgba(20, 124, 99, .10), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(47, 94, 234, .10), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #edf4f8 54%, #fafafa 100%);
  color: var(--top100-ink);
}

.rzw-top100-page * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.rzw-top100-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.rzw-top100-hero {
  padding: 64px 0 34px;
}

.rzw-top100-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 22px;
  align-items: stretch;
}

.rzw-top100-hero-copy,
.rzw-top100-panel,
.rzw-top100-rule-grid article,
.rzw-top100-card,
.rzw-top100-candidate-grid article,
.rzw-top100-version .rzw-top100-shell {
  border: 1px solid var(--top100-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 22px 58px rgba(20, 32, 51, .08);
}

.rzw-top100-hero-copy {
  padding: clamp(28px, 5vw, 56px);
}

.rzw-top100-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  border: 1px solid rgba(47, 94, 234, .18);
  border-radius: 999px;
  background: #edf4ff;
  padding: 7px 12px;
  color: var(--top100-blue);
  font-size: 13px;
  font-weight: 900;
}

.rzw-top100-hero h1 {
  margin: 0;
  color: var(--top100-ink);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
}

.rzw-top100-lead {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--top100-muted);
  font-size: 19px;
  line-height: 1.82;
}

.rzw-top100-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.rzw-top100-btn,
.rzw-top100-card-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 900;
  text-decoration: none;
}

.rzw-top100-btn-primary,
.rzw-top100-card-link {
  background: var(--top100-green);
  color: #fff;
  box-shadow: 0 16px 30px rgba(20, 124, 99, .18);
}

.rzw-top100-btn-secondary {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--top100-ink);
}

.rzw-top100-panel {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(10, 21, 36, .96), rgba(18, 49, 63, .90)), #0a1624;
  color: #eef6ff;
}

.rzw-top100-panel span {
  color: #9ee9d7;
  font-weight: 900;
}

.rzw-top100-panel strong {
  color: #fff;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
}

.rzw-top100-panel p {
  margin: 0;
  color: #c8d8e8;
  line-height: 1.78;
}

.rzw-top100-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rzw-top100-mini b,
.rzw-top100-mini small {
  display: block;
  text-align: center;
}

.rzw-top100-mini b {
  border-radius: 12px 12px 0 0;
  background: rgba(255, 255, 255, .10);
  padding: 12px 8px 4px;
  color: #9ee9d7;
  font-size: 22px;
}

.rzw-top100-mini small {
  border-radius: 0 0 12px 12px;
  background: rgba(255, 255, 255, .10);
  padding: 0 8px 12px;
  color: #c8d8e8;
}

.rzw-top100-mini b:nth-of-type(1),
.rzw-top100-mini small:nth-of-type(1) {
  grid-column: 1;
}

.rzw-top100-mini b:nth-of-type(2),
.rzw-top100-mini small:nth-of-type(2) {
  grid-column: 2;
}

.rzw-top100-mini b:nth-of-type(3),
.rzw-top100-mini small:nth-of-type(3) {
  grid-column: 3;
}

.rzw-top100-mini b {
  grid-row: 1;
}

.rzw-top100-mini small {
  grid-row: 2;
}

.rzw-top100-section {
  padding: 34px 0;
}

.rzw-top100-rule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.rzw-top100-rule-grid article {
  min-height: 210px;
  padding: 24px;
}

.rzw-top100-rule-grid span,
.rzw-top100-card-top span,
.rzw-top100-category,
.rzw-top100-candidate-grid span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: #edf7f4;
  color: var(--top100-green);
  font-size: 12px;
  font-weight: 900;
}

.rzw-top100-rule-grid h2,
.rzw-top100-heading h2,
.rzw-top100-version h2 {
  margin: 12px 0 0;
  color: var(--top100-ink);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.16;
}

.rzw-top100-rule-grid p,
.rzw-top100-heading p,
.rzw-top100-version p,
.rzw-top100-version li {
  color: var(--top100-muted);
  line-height: 1.78;
}

.rzw-top100-heading {
  max-width: 860px;
  margin-bottom: 22px;
}

.rzw-top100-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rzw-top100-category-grid div,
.rzw-top100-category-grid article {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--top100-line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.rzw-top100-category-grid strong {
  color: var(--top100-ink);
  font-size: 16px;
}

.rzw-top100-category-grid span {
  color: var(--top100-green);
  font-weight: 900;
}

.rzw-top100-list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rzw-top100-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.rzw-top100-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rzw-top100-rank {
  background: #edf4ff !important;
  color: var(--top100-blue) !important;
}

.rzw-top100-status {
  background: #f4f7fb !important;
  color: #4c5c72 !important;
}

.rzw-top100-card h3 {
  margin: 4px 0 0;
  color: var(--top100-ink);
  font-size: 24px;
  line-height: 1.2;
}

.rzw-top100-theme {
  margin: 0;
  color: var(--top100-green);
  font-weight: 900;
  line-height: 1.45;
}

.rzw-top100-copy {
  display: grid;
  gap: 5px;
}

.rzw-top100-copy strong {
  color: #26364d;
  font-size: 13px;
}

.rzw-top100-copy p {
  margin: 0;
  color: var(--top100-muted);
  font-size: 14px;
  line-height: 1.65;
}

.rzw-top100-card-link {
  margin-top: auto;
}

.rzw-top100-card-link.is-muted {
  border: 1px solid #d5dee8;
  background: #f7fafc;
  color: #5e6d80;
  box-shadow: none;
}

.rzw-top100-candidates {
  background: rgba(255, 255, 255, .45);
}

.rzw-top100-candidate-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.rzw-top100-candidate-grid article {
  min-height: 190px;
  padding: 18px;
}

.rzw-top100-candidate-grid h3 {
  margin: 14px 0 8px;
  color: var(--top100-ink);
  font-size: 20px;
}

.rzw-top100-candidate-grid p {
  margin: 0;
  color: var(--top100-muted);
  font-size: 14px;
  line-height: 1.68;
}

.rzw-top100-version .rzw-top100-shell {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 28px;
}

.rzw-top100-version ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rzw-top100-version li {
  border-left: 4px solid var(--top100-green);
  border-radius: 12px;
  background: #f8fbfd;
  padding: 12px 14px;
}

@media (max-width: 1080px) {
  .rzw-top100-hero-grid,
  .rzw-top100-version .rzw-top100-shell {
    grid-template-columns: 1fr;
  }

  .rzw-top100-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rzw-top100-candidate-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rzw-top100-rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .rzw-top100-shell {
    width: min(100% - 24px, 1200px);
  }

  .rzw-top100-hero {
    padding: 34px 0 18px;
  }

  .rzw-top100-hero h1 {
    font-size: clamp(36px, 12vw, 48px);
  }

  .rzw-top100-lead {
    font-size: 16px;
    line-height: 1.72;
  }

  .rzw-top100-actions,
  .rzw-top100-btn {
    width: 100%;
  }

  .rzw-top100-panel,
  .rzw-top100-hero-copy {
    padding: 22px;
  }

  .rzw-top100-rule-grid,
  .rzw-top100-category-grid,
  .rzw-top100-list-grid,
  .rzw-top100-candidate-grid {
    grid-template-columns: 1fr;
  }

  .rzw-top100-rule-grid article,
  .rzw-top100-card,
  .rzw-top100-candidate-grid article {
    min-height: auto;
  }

  .rzw-top100-card h3 {
    font-size: 22px;
  }

  .rzw-top100-section {
    padding: 24px 0;
  }
}
