html,
body.tsd-body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #050505;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.tsd-screen {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 12%, rgba(255,255,255,0.10), transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(255,255,255,0.07), transparent 28%),
        linear-gradient(135deg, #030303, #121212);
}

.tsd-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 48px;
    padding: 56px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.015);
    transition: opacity 650ms ease, transform 850ms ease, visibility 650ms ease;
}

.tsd-layout-media-right .tsd-slide {
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
}

.tsd-layout-media-right .tsd-media {
    order: 2;
}

.tsd-layout-media-right .tsd-panel {
    order: 1;
}

.tsd-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 5;
}

.tsd-media {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 34px;
    background: #171717;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

.tsd-media img,
.tsd-media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.tsd-gallery {
    position: relative;
    width: 100%;
    height: 100%;
}

.tsd-gallery img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 700ms ease;
}

.tsd-gallery img.is-active {
    opacity: 1;
}

.tsd-media-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 28px;
}

.tsd-panel {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
}

.tsd-label {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.tsd-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 4.5vw, 78px);
    line-height: 0.94;
    letter-spacing: -0.06em;
    font-weight: 800;
}

.tsd-description {
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(18px, 1.35vw, 24px);
    line-height: 1.35;
}

.tsd-qr-card {
    width: 270px;
    padding: 22px;
    border-radius: 28px;
    background: #ffffff;
    color: #101010;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.tsd-qr-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: contain;
}

.tsd-qr-card p {
    margin: 16px 0 0;
    color: #191919;
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
}

.tsd-empty {
    height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 40px;
    box-sizing: border-box;
}

.tsd-empty h1 {
    margin: 0 0 12px;
    font-size: 54px;
}

.tsd-empty p {
    margin: 0;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
    .tsd-slide,
    .tsd-layout-media-right .tsd-slide {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) auto;
        gap: 22px;
        padding: 24px;
    }

    .tsd-layout-media-right .tsd-media,
    .tsd-layout-media-right .tsd-panel {
        order: initial;
    }

    .tsd-media {
        border-radius: 22px;
    }

    .tsd-panel {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .tsd-title {
        font-size: 34px;
        letter-spacing: -0.04em;
    }

    .tsd-description {
        display: none;
    }

    .tsd-qr-card {
        width: 128px;
        padding: 12px;
        border-radius: 18px;
        flex: 0 0 auto;
    }

    .tsd-qr-card p {
        font-size: 11px;
        margin-top: 8px;
    }
}
