section.stats {
  display: flex;
  flex-flow: wrap;
  justify-content: space-evenly;
  max-width: 60rem;
  margin: 4em auto 1em;

  dl {
    position: relative;
    margin-bottom: .5rem;
    padding-right: 1.6em;

    letter-spacing: -.08em;
    filter: drop-shadow(1px 2px 1px #050a0d);
    border-right: 2px solid #bdbdbd;
  }
  dt {
    position: absolute;
    bottom: -.2em;
    right: 1.7rem;

    color: #8499db;
    font-size: 150%;
    font-style: italic;
  }
  dd {
    color: transparent;
    background: linear-gradient(179deg, #fff 10%, #c6c5c9 61%, #536280 62%, #bbb8c2 80%);
    -webkit-background-clip: text;
    font-size: 500%;
    font-weight: bold;
    letter-spacing: -.05em;
  }
}

section.rankings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(auto, var(--max-width)));
  /* Actually will be 3 columns due to the gap. */
  max-width: calc(var(--max-width) * 4);
  gap: 5vh 2em;
  justify-content: center;
  align-items: end;
  margin: 1.5rem auto .5em;

  --max-width: 400px;
}

section.top10 {
  >header {
    position: relative;
    top: 4px;
    padding: 1rem;
    overflow: hidden;
    z-index: 0;

    background: linear-gradient(135deg, #0004, #08110840, #0004, #1c0d1c40);
    border-radius: 8px 8px 0 0;

    &:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 9px;
      z-index: -1;

      opacity: 0;
      background: linear-gradient(135deg, #1f202e, #343834, #212333, #291f29);
      box-shadow: 0 0 4px #ffc82c;

      transition: opacity 50ms;
    }
    &:hover:before {
      opacity: 1;
    }

    >h2 {
      margin: 0;
      height: 1.4em;
      line-height: 1;

      >a {
        position: absolute;
        box-sizing: border-box;
        width: 100%;
        height: $width;
        top: 0;
        left: 0;
        padding: 1rem;

        text-decoration: none;
      }
    }

    >.group {
      float: right;
      padding: 0.15em 0.6em;
      position: relative;
      top: -3px;
      right: -4px;

      color: #a8c7e0;
      background: #435e8c;
      border-radius: 2px;
      font-size: 70%;
      font-variant: all-small-caps;

      &.budget {
        color: #d0eab3;
        background: #4e773b;
      }
      &.tag {
        color: #d4cdea;
        background: #68386f;
      }
    }

    >p {
      margin: .5em 0;

      font-size: 85%;
      line-height: 1.2;
    }

    >ol {
      // Pop over area link.
      position: relative;
      display: inline-flex;
      gap: 1ch;
      top: -.5rem;

      font-size: 70%;

      >li {
        &:first-of-type:before {
          content: 'See also';
          margin-right: 1ch;
        }
      }
    }

    .micro.tier {
      margin: .5ch;

      font-size: 80%;
    }
  }

  >footer {
    >a {
      position: relative;
      top: -2px;
      right: 4px;
    }
  }
}
