/* The real homepage, fitted to Top.gg's description column. */
.index-topgg-embed .shell {
    width: calc(100% - 40px);
}

.index-topgg-embed .site-main {
    min-height: 0;
}

.index-topgg-embed .collection-hero {
    padding: 38px 0;
    min-height: 0;
}

.index-topgg-embed .collection-hero-inner {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 24px;
}

.index-topgg-embed .collection-hero-copy h1 {
    margin: 22px 0;
    font-size: clamp(2.8rem, 5.8vw, 4.8rem);
}

.index-topgg-embed .collection-hero-copy > p {
    font-size: .85rem;
}

.index-topgg-embed .collection-kicker {
    font-size: .55rem;
}

.index-topgg-embed .collection-hero::after {
    display: none;
}

.index-topgg-embed .collection-button {
    min-height: 44px;
    padding: 12px;
    font-size: .8rem;
}

.index-topgg-embed .collection-proof {
    flex-wrap: wrap;
    gap: 12px;
}

.index-topgg-embed .collection-proof dd {
    font-size: 1.6rem;
}

.index-topgg-embed .showcase-viewport {
    min-height: 350px;
}

.index-topgg-embed .showcase-console {
    width: 100%;
    min-width: 0;
}

.index-topgg-embed .showcase-console-header {
    font-size: .5rem;
}

.index-topgg-embed .showcase-tabs button {
    padding: 10px 5px;
    font-size: .55rem;
}

.index-topgg-embed .collection-chapters {
    width: 100%;
}

.index-topgg-embed {
    scrollbar-color: #ff5364 #08080b;
}

/* Keep the collection artwork beside the introduction in the listing column. */
.index-topgg-embed .atelier-section {
    padding: 32px 0 40px;
}

.index-topgg-embed .collection-lab-heading {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 24px;
    margin-bottom: 24px;
}

.index-topgg-embed .collection-lab-heading h2 {
    margin-top: 12px;
    font-size: clamp(2rem, 4.8vw, 3rem);
}

.index-topgg-embed .collection-lab-heading > div:last-child {
    padding: 0 0 0 16px;
}

.index-topgg-embed .collection-lab-heading p {
    margin-bottom: 10px;
    font-size: .85rem;
    line-height: 1.6;
}

.index-topgg-embed .servant-builder {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    min-height: 0;
}

.index-topgg-embed .servant-builder-copy {
    padding: 24px;
}

.index-topgg-embed .servant-builder h3 {
    margin: 16px 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.index-topgg-embed .servant-builder-copy > p {
    font-size: .85rem;
    line-height: 1.6;
}

.index-topgg-embed .builder-steps {
    margin: 20px 0 16px;
}

.index-topgg-embed .builder-steps span {
    padding: 10px 0;
}

.index-topgg-embed .servant-builder-stage {
    min-height: 0;
    padding: 18px;
}

.index-topgg-embed .servant-builder-output {
    min-height: 330px;
}

.index-topgg-embed .servant-picker {
    gap: 6px;
}

.index-topgg-embed .servant-picker button {
    grid-template-columns: minmax(0, 1fr);
    min-height: 44px;
    padding: 8px 4px;
    text-align: center;
}

.index-topgg-embed .servant-picker button > span {
    display: none;
}

@media (max-width: 700px) {
    .index-topgg-embed .collection-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .index-topgg-embed .collection-hero-copy h1 {
        font-size: clamp(2.7rem, 10vw, 4rem);
    }

    .index-topgg-embed .showcase-viewport {
        min-height: 320px;
    }

    .index-topgg-embed .collection-lab-heading,
    .index-topgg-embed .servant-builder {
        grid-template-columns: minmax(0, 1fr);
    }

    .index-topgg-embed .collection-lab-heading {
        gap: 12px;
    }

    .index-topgg-embed .collection-lab-heading > div:last-child {
        padding: 0;
        border: 0;
    }

    .index-topgg-embed .collection-lab-heading p {
        display: none;
    }

    .index-topgg-embed .servant-builder-stage {
        order: -1;
    }

    .index-topgg-embed .servant-builder-copy {
        padding: 20px;
    }
}
