.nk-games-home .nk-example-tabs {
    display: flex;
    flex-wrap: nowrap;
    min-width: 0;
}

.nk-games-home .nk-example-tabs [role="tab"] {
    font-size: clamp(.7rem, 2.7vw, .95rem);
    line-height: 1.2;
    min-width: 0;
    padding-inline: clamp(.35rem, 2vw, .9rem);
    white-space: normal;
}

.nk-games-home .nk-retro-panel {
    background: #17112b;
    border-radius: 25px;
    box-shadow: 0 14px 32px #261a5526;
    box-sizing: border-box;
    color: #f9f5ff;
    isolation: isolate;
    min-width: 0;
    overflow: hidden;
    padding: clamp(.75rem, 2.4vw, 1.25rem);
    position: relative;
    width: 100%;
}

.nk-games-home .nk-retro-artwork {
    --nk-art-slant: clamp(1rem, 6vw, 2.5rem);
    display: flex;
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.nk-games-home .nk-retro-artwork::after {
    background:
        linear-gradient(130deg, #17112bd9, #17112b85 19%, #17112b2b 39%, transparent 61%),
        linear-gradient(180deg, #17112bb3, #17112b61 18%, transparent 38%, transparent 58%, #110d23b8 81%, #110d23 100%);
    content: "";
    inset: 0;
    position: absolute;
}

.nk-games-home .nk-retro-art-layer {
    flex: 1 1 0;
    min-width: 0;
}

.nk-games-home .nk-retro-art-layer + .nk-retro-art-layer {
    filter: drop-shadow(-.5rem .1rem .65rem #070410df);
    margin-inline-start: calc(0px - var(--nk-art-slant) - 2%);
}

.nk-games-home .nk-retro-art {
    clip-path: polygon(var(--nk-art-slant) 0, 100% 0, calc(100% - var(--nk-art-slant)) 100%, 0 100%);
    display: block;
    height: 100%;
    max-width: none;
    object-fit: cover;
    width: 100%;
}

.nk-games-home .nk-retro-art-layer:first-child .nk-retro-art {
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--nk-art-slant)) 100%, 0 100%);
    object-position: 33% 50%;
}

.nk-games-home .nk-retro-art-layer--river-courier .nk-retro-art {
    object-position: 42% 50%;
}

.nk-games-home .nk-retro-art-layer:last-child .nk-retro-art {
    clip-path: polygon(var(--nk-art-slant) 0, 100% 0, 100% 100%, 0 100%);
    object-position: 63% 50%;
}

.nk-games-home .nk-retro-header {
    text-shadow: 0 1px 12px #090618;
}

.nk-games-home .nk-retro-heading {
    color: #f9f5ff;
    font-size: clamp(1.35rem, 3.8vw, 2.125rem);
    line-height: 1.1;
    margin: 0 0 .3rem;
}

.nk-games-home .nk-retro-intro {
    color: #e3d9f5;
    font-size: clamp(.78rem, 2.6vw, .95rem);
    line-height: 1.35;
    margin: 0 0 .85rem;
}

.nk-games-home .nk-retro-covers {
    align-items: stretch;
    display: flex;
    isolation: isolate;
}

.nk-games-home .nk-retro-cover {
    --nk-cover-accent: #d3bfff;
    aspect-ratio: 4 / 5;
    flex: 1 1 0;
    margin: 0;
    min-width: 0;
    position: relative;
}

.nk-games-home .nk-retro-cover + .nk-retro-cover {
    margin-inline-start: -5%;
}

.nk-games-home .nk-retro-cover--river-courier {
    --nk-cover-accent: #b9ffb5;
}

.nk-games-home .nk-retro-cover--diamond-rush {
    --nk-cover-accent: #ffe58b;
}

.nk-games-home .nk-retro-caption {
    bottom: 4%;
    color: #fff;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 0 .25rem;
    left: 7%;
    line-height: 1.12;
    margin: 0;
    position: absolute;
    right: 17%;
    text-shadow: 0 1px 5px #080615;
    z-index: 3;
}

.nk-games-home .nk-retro-caption strong {
    font-size: clamp(.73rem, 2.8vw, 1.18rem);
    font-weight: 900;
}

.nk-games-home .nk-retro-year,
.nk-games-home .nk-retro-game-name {
    color: var(--nk-cover-accent);
    font-size: clamp(.58rem, 1.8vw, .78rem);
}

.nk-games-home .nk-retro-year {
    font-family: ui-monospace, monospace;
    justify-self: end;
}

.nk-games-home .nk-retro-game-name { grid-column: 1 / -1; }

.nk-games-home .nk-retro-cta {
    align-items: center;
    background: linear-gradient(108deg, #5a48f0, #4e3dd7);
    border-radius: 10px;
    color: #fff;
    display: flex;
    font-size: clamp(.9rem, 3vw, 1.125rem);
    font-weight: 900;
    gap: .55rem;
    justify-content: center;
    margin-top: .8rem;
    min-height: 44px;
    padding: .35rem .7rem;
    text-align: center;
    text-decoration: none;
}

.nk-games-home .nk-retro-cta:hover,
.nk-games-home .nk-retro-cta:focus-visible {
    background: #4833d1;
    color: #fff;
}

.nk-games-home .nk-retro-cta:focus-visible,
.nk-games-home .nk-retro-panel:focus-visible {
    outline: 2px solid #d9d4ff;
    outline-offset: -4px;
}

.nk-games-home .nk-retro-play {
    border-block: .31em solid transparent;
    border-inline-start: .44em solid currentColor;
    height: 0;
    width: 0;
}

@media (max-width: 480px) {
    .nk-games-home .nk-retro-caption { grid-template-columns: 1fr; }
    .nk-games-home .nk-retro-year { display: none; }
}
