a.sl-tab {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.tl-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.tl-crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.tl-crumbs a:hover {
  color: var(--neon);
}

.tl-boards {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.tl-tier {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}

.tl-tier__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.tl-tier__letter {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.tl-tier__range {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tl-tier--S .tl-tier__letter { color: var(--based); }
.tl-tier--A .tl-tier__letter { color: #6dcea0; }
.tl-tier--B .tl-tier__letter { color: #9fd18a; }
.tl-tier--C .tl-tier__letter { color: var(--warn); }
.tl-tier--D .tl-tier__letter { color: #e08a4a; }
.tl-tier--F .tl-tier__letter { color: var(--slop); }

.tl-tier__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tl-tier__row {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.tl-tier__row:first-child {
  border-top: 0;
}

.tl-tier__row a {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  color: inherit;
  text-decoration: none;
}

.tl-tier__row a:hover {
  background: rgba(255, 255, 255, 0.03);
}

.tl-tier__score {
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.tl-tier--S .tl-tier__score,
.tl-tier--A .tl-tier__score { color: var(--based); }
.tl-tier--B .tl-tier__score { color: #9fd18a; }
.tl-tier--C .tl-tier__score { color: var(--warn); }
.tl-tier--D .tl-tier__score { color: #e08a4a; }
.tl-tier--F .tl-tier__score { color: var(--slop); }

.tl-tier__name {
  font-weight: 800;
  line-height: 1.25;
}

.tl-tier__verdict {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
}

.tl-tier__cat {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tl-tier__empty {
  padding: 16px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.tl-tier__more-wrap {
  display: flex;
  justify-content: center;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.tl-tier__more {
  min-width: 140px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.tl-tier__more:hover:not(:disabled) {
  border-color: var(--neon);
  color: #fff;
}

.tl-tier__more:disabled {
  opacity: 0.55;
  cursor: wait;
}

.tl-tier__more-done {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tl-seo-foot {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

.tl-seo-foot h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1rem;
}

.tl-seo-foot a {
  color: var(--text);
}

.tl-seo-foot p {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .tl-tier__row a {
    grid-template-columns: 44px 1fr;
  }

  .tl-tier__cat {
    grid-column: 2;
    margin-top: -6px;
    padding-bottom: 2px;
  }
}
