.rd-cat-scene {
    container-type: inline-size;
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1817 / 1783;
    margin: 0 auto;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.16;
}

.rd-cat-scene__art {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
}

.rd-cat-scene__art--dark {
    display: none;
}

html.dark .rd-cat-scene__art--light {
    display: none;
}

html.dark .rd-cat-scene__art--dark {
    display: block;
}

.rd-cat-scene__top,
.rd-cat-scene__message {
    position: absolute;
    z-index: 1;
    margin: 0;
    color: var(--rd-ink);
}

.rd-cat-scene__top {
    top: 2.7%;
    left: 20.4%;
    width: 31%;
    font-size: 6.4cqw;
}

.rd-cat-scene__top-accent {
    display: block;
    margin-top: 0;
    color: var(--rd-accent);
    font-size: .78em;
    white-space: nowrap;
}

.rd-cat-scene__message {
    top: 46%;
    left: 20.4%;
    width: 74%;
    font-size: 6.15cqw;
}

.rd-cat-scene__line {
    display: block;
    white-space: nowrap;
}

.rd-cat-scene__accent {
    color: var(--rd-accent);
}

html[lang="en"] .rd-cat-scene__message,
html[lang="es"] .rd-cat-scene__message,
html[lang="fr"] .rd-cat-scene__message {
    font-size: 5.15cqw;
    line-height: 1.28;
}

html[lang="es"] .rd-cat-scene__message,
html[lang="fr"] .rd-cat-scene__message {
    letter-spacing: -.045em;
}

html[lang="zh"] .rd-cat-scene__top {
    width: 29%;
    font-size: 5.8cqw;
    letter-spacing: -.025em;
}

html[lang="zh"] .rd-cat-scene__message {
    font-size: 5.55cqw;
    line-height: 1.35;
    letter-spacing: -.025em;
}

@media (max-width: 700px) {
    .rd-cat-scene {
        display: none;
    }
}
