html.is-playground-page,
html.is-playground-page body {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}

html.is-playground-page body {
    position: fixed;
    inset: 0;
    width: 100%;
}

.playground-page {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    touch-action: none;
}

.playground-pin-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 0;
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.carousel-track {
    display: flex;
    gap: 0;
    align-items: flex-start;
    width: max-content;
    will-change: transform;
}

.project-slide {
    flex: 0 0 auto;
    overflow: hidden;
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.project-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.project-index {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--grid-gap);
    padding: 0 var(--site-margin);
    opacity: 1;
    transition: opacity 0.4s ease;
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--index-bottom-inset);
    z-index: 100;
    pointer-events: auto;
}

.project-index.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.index-left-panel {
    grid-column: 1 / span 3;
}

.index-right-panel {
    grid-column: 4 / span 9;
}

.project-list-nav,
.project-scope-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--font-main);
    font-size: var(--font-size-small);
    font-weight: 300;
    line-height: 1.45;
}

.project-list-nav li {
    color: var(--grey);
    cursor: pointer;
    transition: color 0.35s ease;
}

.project-list-nav li.active-item {
    color: var(--black);
    font-weight: 400;
    text-underline-offset: 0.2em;
}

.project-scope-list li {
    color: var(--grey);
    transition: color 0.35s ease;
}

.project-scope-list li.active-scope {
    color: var(--black);
    font-weight: 400;
    text-underline-offset: 0.2em;
}

.playground-index-spacer {
    display: none;
}
