.hn-top-tokens {
    width: min(1200px, calc(100% - 2rem));
    margin: 3rem auto;
}

.hn-top-tokens__heading {
    margin-bottom: 1.25rem;
}

.hn-top-tokens__kicker {
    display: block;
    margin-bottom: .45rem;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    opacity: .6;
}

.hn-top-tokens__heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.hn-top-tokens__heading p {
    margin: .5rem 0 0;
    opacity: .68;
}

.hn-top-tokens__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hn-token {
    padding: 1rem;
    border: 1px solid rgba(127,127,127,.22);
    border-radius: 1rem;
    background: rgba(127,127,127,.055);
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
    transition: transform .18s ease, border-color .18s ease;
}

.hn-token:hover {
    transform: translateY(-2px);
    border-color: rgba(127,127,127,.42);
}

.hn-token__header,
.hn-token__identity,
.hn-token__footer {
    display: flex;
    align-items: center;
}

.hn-token__header {
    justify-content: space-between;
    gap: .75rem;
}

.hn-token__identity {
    min-width: 0;
    gap: .75rem;
}

.hn-token__identity img,
.hn-token__fallback {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(127,127,127,.15);
}

.hn-token__fallback {
    display: none;
    place-items: center;
    font-size: .72rem;
    font-weight: 800;
}

.hn-token__identity h3,
.hn-token__identity p {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hn-token__identity h3 {
    font-size: 1rem;
}

.hn-token__identity p {
    margin-top: .15rem;
    font-size: .82rem;
    opacity: .65;
}

.hn-token__badge {
    flex: 0 0 auto;
    padding: .3rem .55rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
    background: rgba(41,180,99,.14);
}

.hn-token__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .85rem;
    margin: 1rem 0;
}

.hn-token__stats span {
    display: block;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .55;
}

.hn-token__stats strong {
    display: block;
    margin-top: .22rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .9rem;
}

.hn-token__stats .is-up {
    color: #169c5b;
}

.hn-token__stats .is-down {
    color: #d14343;
}

.hn-token__footer {
    justify-content: space-between;
    gap: .75rem;
    padding-top: .85rem;
    border-top: 1px solid rgba(127,127,127,.17);
}

.hn-token__footer code {
    overflow: hidden;
    font-size: .74rem;
    opacity: .72;
}

.hn-token__footer button {
    border: 1px solid rgba(127,127,127,.25);
    border-radius: .55rem;
    padding: .38rem .62rem;
    color: inherit;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: .72rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .hn-top-tokens__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .hn-top-tokens {
        width: min(100% - 1rem, 1200px);
    }

    .hn-top-tokens__grid {
        grid-template-columns: 1fr;
    }
}
