:root {
    --play-ink: #32152f;
    --play-plum: #5b214f;
    --play-pink: #ef4776;
    --play-hot-pink: #d92d66;
    --play-coral: #ff7b6f;
    --play-lilac: #c8a8ff;
    --play-butter: #ffe79a;
    --play-cream: #fff9f2;
    --play-paper: #fffdf9;
    --play-muted: #765c72;
}

.play-page,
.play-page * {
    box-sizing: border-box;
}

.play-page {
    position: relative;
    min-height: calc(100svh - 80px);
    overflow: hidden;
    color: var(--play-ink);
    background:
        radial-gradient(circle at 8% 12%, rgb(255 224 231 / 85%) 0, transparent 28rem),
        radial-gradient(circle at 94% 45%, rgb(226 210 255 / 72%) 0, transparent 31rem),
        linear-gradient(145deg, #fffaf3 0%, #fff5f7 52%, #f9f4ff 100%);
}

.play-page button,
.play-page a {
    -webkit-tap-highlight-color: transparent;
}

.play-page [hidden] {
    display: none !important;
}

.play-orb {
    position: absolute;
    width: 22rem;
    height: 22rem;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(2px);
    opacity: 0.34;
    animation: play-float 8s ease-in-out infinite;
}

.play-orb--one {
    top: 8%;
    left: -13rem;
    background: #ff9db9;
}

.play-orb--two {
    right: -15rem;
    bottom: 2%;
    width: 28rem;
    height: 28rem;
    background: #b69af4;
    animation-delay: -4s;
}

.play-doodle {
    position: absolute;
    z-index: 0;
    color: rgb(217 45 102 / 24%);
    pointer-events: none;
    animation: play-float 7s ease-in-out infinite;
}

.play-doodle--spark {
    top: 21%;
    right: 8%;
    font-size: 4rem;
    transform: rotate(12deg);
}

.play-doodle--heart {
    bottom: 19%;
    left: 7%;
    font: 800 6rem/1 Montserrat, sans-serif;
    animation-delay: -3s;
}

.play-back-link {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    width: fit-content;
    color: var(--play-muted);
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.play-back-link:hover {
    color: var(--play-hot-pink);
    transform: translateX(-3px);
}

.play-kicker {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    width: fit-content;
    color: var(--play-hot-pink);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.play-kicker span {
    font-size: 1rem;
    animation: play-spin 7s linear infinite;
}

.play-button {
    display: inline-flex;
    gap: 0.65rem;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.85rem 1.35rem;
    border: 0;
    border-radius: 999px;
    font: 800 0.94rem/1.2 Manrope, sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.play-button--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--play-hot-pink), #ef5a63);
    box-shadow: 0 0.7rem 1.5rem rgb(210 37 95 / 25%), inset 0 1px rgb(255 255 255 / 35%);
}

.play-button--primary:hover {
    color: #fff;
    box-shadow: 0 1rem 2.2rem rgb(210 37 95 / 32%), inset 0 1px rgb(255 255 255 / 35%);
    transform: translateY(-2px);
}

.play-button--primary:active {
    transform: translateY(1px) scale(0.985);
}

.play-button--secondary {
    color: var(--play-plum);
    background: rgb(255 255 255 / 80%);
    border: 1px solid rgb(91 33 79 / 14%);
    box-shadow: 0 0.45rem 1.2rem rgb(74 32 64 / 8%);
}

.play-button--secondary:hover {
    color: var(--play-hot-pink);
    background: #fff;
    transform: translateY(-2px);
}

.play-button--large {
    min-height: 3.8rem;
    padding-inline: 1.75rem;
    font-size: 1rem;
}

.play-disclaimer {
    position: relative;
    z-index: 1;
    width: min(44rem, calc(100% - 2rem));
    margin: 4rem auto 0;
    color: rgb(70 45 66 / 53%);
    font-size: 0.7rem;
    line-height: 1.55;
    text-align: center;
}

/* Каталог */

.play-catalog {
    padding: 1.25rem 1rem 3rem;
}

.play-catalog__hero {
    position: relative;
    z-index: 1;
    width: min(70rem, 100%);
    margin: 0 auto;
    padding: 2.4rem 0 2rem;
    text-align: center;
}

.play-catalog__hero .play-back-link {
    display: flex;
    margin-bottom: 2.25rem;
}

.play-catalog__hero .play-kicker {
    margin-inline: auto;
}

.play-catalog__hero h1 {
    margin: 0.75rem auto 1rem;
    color: var(--play-ink);
    font-size: clamp(2.35rem, 7vw, 5.25rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.play-catalog__hero h1 em {
    color: var(--play-hot-pink);
    font-family: Georgia, serif;
    font-weight: 500;
}

.play-catalog__hero > p {
    max-width: 39rem;
    margin: 0 auto;
    color: var(--play-muted);
    font-size: clamp(1rem, 2vw, 1.14rem);
    line-height: 1.65;
}

.play-catalog__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    width: min(70rem, 100%);
    margin: 1.5rem auto 0;
}

.play-test-card {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(15rem, 0.78fr) minmax(18rem, 1fr);
    min-height: 32rem;
    overflow: hidden;
    background: rgb(255 253 249 / 92%);
    border: 1px solid rgb(117 75 105 / 10%);
    border-radius: 2.25rem;
    box-shadow: 0 1.5rem 4.5rem rgb(75 31 65 / 12%);
}

.play-test-card__image-link {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: #f1b0bf;
}

.play-test-card__image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.015);
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.play-test-card:hover .play-test-card__image-link img {
    transform: scale(1.065) rotate(-0.5deg);
}

.play-test-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 0.8rem;
    color: var(--play-ink);
    background: var(--play-butter);
    border-radius: 999px;
    box-shadow: 0 0.4rem 1rem rgb(80 48 26 / 12%);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transform: rotate(-3deg);
}

.play-test-card__scribble {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: 0.5rem 0.8rem;
    color: #fff;
    background: rgb(61 20 51 / 68%);
    border-radius: 999px;
    font: italic 700 0.8rem Georgia, serif;
    backdrop-filter: blur(8px);
    transform: rotate(2deg);
}

.play-test-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.play-test-card__meta {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--play-hot-pink);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.play-test-card h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.play-test-card h2 a {
    color: inherit;
    text-decoration: none;
}

.play-test-card__body > p {
    margin: 0 0 1.6rem;
    color: var(--play-muted);
    font-size: 1rem;
    line-height: 1.65;
}

/* Страница теста */

.play-quiz-page {
    padding: 1rem 1rem 3rem;
}

.play-quiz-page__topbar {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(70rem, 100%);
    margin: 0 auto;
}

.play-mini-brand {
    color: var(--play-muted);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.play-mini-brand b {
    color: var(--play-hot-pink);
}

.play-state {
    position: relative;
    z-index: 2;
    width: min(70rem, 100%);
    margin: 0 auto;
}

.play-intro {
    display: grid;
    grid-template-columns: minmax(18rem, 0.88fr) minmax(20rem, 1.1fr);
    gap: clamp(2rem, 7vw, 6.5rem);
    align-items: center;
    min-height: min(47rem, calc(100svh - 8rem));
    padding: 2rem 2rem 1rem;
}

.play-intro__art {
    position: relative;
}

.play-intro__image-wrap {
    position: relative;
    width: min(100%, 25rem);
    margin-inline: auto;
    border: 0.65rem solid rgb(255 255 255 / 82%);
    border-radius: 45% 45% 2.2rem 2.2rem;
    box-shadow: 0 2rem 5rem rgb(98 35 74 / 20%);
    transform: rotate(-2deg);
}

.play-intro__image-wrap::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgb(255 255 255 / 75%);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.play-intro__image-wrap img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 58%;
    border-radius: calc(45% - 0.35rem) calc(45% - 0.35rem) 1.65rem 1.65rem;
}

.play-intro__bubble {
    position: absolute;
    padding: 0.62rem 0.9rem;
    color: var(--play-ink);
    background: rgb(255 255 255 / 92%);
    border: 1px solid rgb(114 61 98 / 10%);
    border-radius: 1.1rem 1.1rem 1.1rem 0.25rem;
    box-shadow: 0 0.8rem 2rem rgb(71 30 62 / 16%);
    font-size: 0.78rem;
    font-weight: 900;
    backdrop-filter: blur(10px);
    animation: play-float 4s ease-in-out infinite;
    z-index: 1;
}

.play-intro__bubble--one {
    top: 14%;
    left: -1.4rem;
    transform: rotate(-6deg);
}

.play-intro__bubble--two {
    right: -1.1rem;
    bottom: 20%;
    color: #fff;
    background: var(--play-plum);
    border-radius: 1.1rem 1.1rem 0.25rem;
    animation-delay: -2s;
}

.play-intro__copy h1 {
    max-width: 39rem;
    margin: 0.7rem 0 1.15rem;
    font-size: clamp(2.8rem, 7vw, 5.7rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.065em;
}

.play-intro__lead {
    max-width: 35rem;
    margin: 0;
    color: var(--play-muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.65;
}

.play-intro__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1.5rem 0;
}

.play-intro__facts span {
    padding: 0.48rem 0.72rem;
    color: var(--play-plum);
    background: rgb(255 255 255 / 64%);
    border: 1px solid rgb(91 33 79 / 10%);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
}

.play-intro__aside {
    margin: 0.75rem 0 0 1rem;
    color: rgb(82 54 76 / 58%);
    font: italic 0.8rem/1.4 Georgia, serif;
}

.play-shared-result {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.9rem;
    align-items: center;
    width: min(30rem, 100%);
    margin: 0 auto -1rem;
    padding: 0.65rem;
    background: rgb(255 255 255 / 72%);
    border: 1px solid rgb(91 33 79 / 10%);
    border-radius: 1.25rem;
    box-shadow: 0 1rem 2.5rem rgb(74 32 64 / 10%);
    backdrop-filter: blur(12px);
}

.play-shared-result img {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.9rem;
    object-fit: cover;
}

.play-shared-result div {
    min-width: 0;
}

.play-shared-result span {
    display: block;
    margin-bottom: 0.18rem;
    color: var(--play-hot-pink);
    font-size: 0.61rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.play-shared-result strong {
    display: block;
    font: 900 1rem/1.15 Montserrat, sans-serif;
}

.play-shared-result p {
    overflow: hidden;
    margin: 0.22rem 0 0;
    color: var(--play-muted);
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Вопросы */

.play-question {
    max-width: 48rem;
    min-height: min(44rem, calc(100svh - 7rem));
    padding: clamp(2rem, 6vw, 5rem) 0 1rem;
}

.play-question__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.7rem;
    color: var(--play-muted);
    font-size: 0.75rem;
    font-weight: 800;
}

.play-question__count strong {
    color: var(--play-hot-pink);
    font-size: 1rem;
}

.play-progress {
    width: 100%;
    height: 0.46rem;
    overflow: hidden;
    background: rgb(91 33 79 / 9%);
    border-radius: 999px;
}

.play-progress span {
    display: block;
    width: 10%;
    height: 100%;
    background: linear-gradient(90deg, var(--play-hot-pink), var(--play-coral));
    border-radius: inherit;
    box-shadow: 0 0 1rem rgb(217 45 102 / 36%);
    transition: width 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.play-question__card {
    position: relative;
    margin-top: 1.25rem;
    padding: clamp(1.35rem, 5vw, 2.7rem);
    background: rgb(255 253 249 / 88%);
    border: 1px solid rgb(91 33 79 / 9%);
    border-radius: clamp(1.4rem, 4vw, 2.25rem);
    box-shadow: 0 1.6rem 4rem rgb(75 31 65 / 12%);
    backdrop-filter: blur(12px);
    transform-origin: center;
}

.play-question__card.is-leaving {
    opacity: 0;
    transform: translateX(-1rem) rotate(-0.6deg);
}

.play-question__card.is-entering {
    animation: play-question-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.play-question__emoji {
    display: grid;
    width: 3.3rem;
    height: 3.3rem;
    margin-bottom: 1rem;
    place-items: center;
    background: linear-gradient(145deg, #fff, #ffe5ed);
    border: 1px solid rgb(217 45 102 / 10%);
    border-radius: 1.1rem;
    box-shadow: 0 0.55rem 1.1rem rgb(115 46 87 / 10%);
    font-size: 1.55rem;
    transform: rotate(-4deg);
}

.play-question__card h2 {
    margin: 0 0 1.4rem;
    font-size: clamp(1.35rem, 4vw, 2rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.play-answers {
    display: grid;
    gap: 0.7rem;
}

.play-answer {
    position: relative;
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    min-height: 3.8rem;
    padding: 0.75rem 1rem;
    color: var(--play-ink);
    text-align: left;
    background: rgb(255 255 255 / 76%);
    border: 1px solid rgb(91 33 79 / 11%);
    border-radius: 1.15rem;
    box-shadow: 0 0.25rem 0.8rem rgb(72 32 64 / 4%);
    font: 700 0.9rem/1.4 Manrope, sans-serif;
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.play-answer:hover {
    background: #fff;
    border-color: rgb(217 45 102 / 38%);
    box-shadow: 0 0.6rem 1.2rem rgb(103 41 83 / 8%);
    transform: translateY(-1px);
}

.play-answer__letter {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    color: var(--play-hot-pink);
    background: #fff0f4;
    border-radius: 0.65rem;
    font-size: 0.72rem;
    font-weight: 900;
}

.play-answer.is-selected {
    color: #fff;
    background: linear-gradient(135deg, var(--play-hot-pink), #e75b6e);
    border-color: transparent;
    box-shadow: 0 0.8rem 1.5rem rgb(210 37 95 / 24%);
    transform: scale(0.99);
}

.play-answer.is-selected .play-answer__letter {
    color: var(--play-hot-pink);
    background: #fff;
}

.play-answer:disabled {
    cursor: default;
}

.play-question__back {
    display: block;
    margin: 1rem auto 0;
    padding: 0.65rem;
    color: var(--play-muted);
    background: transparent;
    border: 0;
    font: 700 0.73rem/1.2 Manrope, sans-serif;
}

.play-question__back:hover {
    color: var(--play-hot-pink);
}

/* Результат */

.play-result {
    max-width: 59rem;
    padding: clamp(2rem, 5vw, 4rem) 0 1rem;
    text-align: center;
    animation: play-result-in 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.play-result__eyebrow,
.play-result__prefix {
    margin: 0;
    color: var(--play-hot-pink);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.play-result__layout {
    display: grid;
    grid-template-columns: minmax(16rem, 0.8fr) minmax(20rem, 1.2fr);
    gap: clamp(1.7rem, 6vw, 4rem);
    align-items: center;
    margin-top: 1.5rem;
    padding: clamp(1.1rem, 4vw, 2.6rem);
    text-align: left;
    background: rgb(255 253 249 / 87%);
    border: 1px solid rgb(91 33 79 / 9%);
    border-radius: clamp(1.5rem, 5vw, 2.8rem);
    box-shadow: 0 1.7rem 5rem rgb(75 31 65 / 14%);
    backdrop-filter: blur(12px);
}

.play-result__portrait {
    position: relative;
    width: min(100%, 21rem);
    margin-inline: auto;
}

.play-result__portrait > img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 0.45rem solid #fff;
    border-radius: 42% 42% 1.75rem 1.75rem;
    box-shadow: 0 1.2rem 2.8rem rgb(74 30 63 / 20%);
    transform: rotate(-2deg);
}

.play-result__score {
    position: absolute;
    right: -0.7rem;
    bottom: -0.6rem;
    display: grid;
    min-width: 8rem;
    padding: 0.7rem 0.9rem;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, var(--play-hot-pink), #ed6e67);
    border: 0.25rem solid #fff;
    border-radius: 1.15rem;
    box-shadow: 0 0.8rem 1.6rem rgb(183 35 90 / 28%);
    transform: rotate(3deg);
}

.play-result__score span {
    font-weight: 800;
}

.play-result__score strong {
    font: 900 1.75rem/1 Montserrat, sans-serif;
}

.play-result__copy h1 {
    margin: 0.3rem 0 0;
    font-size: clamp(2.25rem, 6vw, 4.65rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.06em;
}

.play-result__subtitle {
    margin: 0.65rem 0 1.1rem;
    color: var(--play-hot-pink);
    font: italic 700 1rem/1.3 Georgia, serif;
}

.play-result blockquote {
    margin: 0 0 1rem;
    padding-left: 1rem;
    color: var(--play-plum);
    border-left: 0.25rem solid var(--play-butter);
    font: 700 1.08rem/1.5 Manrope, sans-serif;
}

.play-result__description {
    margin: 0;
    color: var(--play-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.play-result__sting {
    margin: 1rem 0 0;
    padding: 0.75rem 0.9rem;
    color: var(--play-ink);
    background: #fff3c9;
    border-radius: 0.85rem;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.45;
    transform: rotate(-0.5deg);
}

.play-result__metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
    margin: 1rem 0 0;
}

.play-metric {
    padding: 1rem;
    text-align: left;
    background: rgb(255 255 255 / 66%);
    border: 1px solid rgb(91 33 79 / 9%);
    border-radius: 1rem;
}

.play-metric__top {
    display: flex;
    gap: 0.35rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 0.6rem;
    color: var(--play-muted);
    font-size: 0.68rem;
    font-weight: 800;
}

.play-metric__top strong {
    color: var(--play-ink);
    font: 900 0.9rem/1 Montserrat, sans-serif;
}

.play-metric__bar {
    height: 0.3rem;
    overflow: hidden;
    background: rgb(91 33 79 / 9%);
    border-radius: 999px;
}

.play-metric__bar span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--play-hot-pink), var(--play-coral));
    border-radius: inherit;
    transition: width 900ms 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.play-share {
    margin: 2.2rem auto 0;
}

.play-share > p {
    margin: 0 0 0.85rem;
    color: var(--play-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.play-share__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
}

.play-share__status {
    display: block;
    min-height: 1.3rem;
    margin-top: 0.65rem;
    color: var(--play-hot-pink);
    font-size: 0.75rem;
    font-weight: 800;
}

.play-offer {
    position: relative;
    max-width: 42rem;
    margin: 2.5rem auto 0;
    padding: clamp(1.3rem, 4vw, 2rem);
    overflow: hidden;
    color: #fff;
    text-align: left;
    background:
        radial-gradient(circle at 92% 12%, rgb(255 231 154 / 25%) 0 4rem, transparent 4.1rem),
        linear-gradient(135deg, #4c1d45, #7e2a60);
    border-radius: 1.6rem;
    box-shadow: 0 1.2rem 3rem rgb(73 24 62 / 20%);
}

.play-offer > span {
    color: var(--play-butter);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.play-offer h2 {
    max-width: 32rem;
    margin: 0.45rem 0;
    font-size: clamp(1.35rem, 4vw, 2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.play-offer p {
    max-width: 34rem;
    margin: 0 0 1rem;
    color: rgb(255 255 255 / 72%);
    font-size: 0.83rem;
    line-height: 1.55;
}

.play-offer__link {
    display: inline-flex;
    color: var(--play-butter);
    font-size: 0.86rem;
    font-weight: 900;
    text-decoration: none;
}

.play-offer__link:hover {
    color: #fff;
    transform: translateX(3px);
}

.play-offer__spark {
    position: absolute;
    top: 0.75rem;
    right: 1.2rem;
    color: var(--play-butter);
    font-size: 2.8rem;
    opacity: 0.6;
    animation: play-spin 8s linear infinite;
}

.play-restart {
    margin: 1.5rem auto 0;
    padding: 0.65rem;
    color: var(--play-muted);
    background: transparent;
    border: 0;
    font: 800 0.76rem/1.2 Manrope, sans-serif;
}

.play-restart:hover {
    color: var(--play-hot-pink);
}

.play-confetti {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.play-confetti i {
    position: absolute;
    top: 4rem;
    left: 50%;
    display: block;
    width: 0.48rem;
    height: 0.85rem;
    background: var(--confetti-color, var(--play-pink));
    border-radius: 0.15rem;
    opacity: 0;
    animation: play-confetti 1.5s cubic-bezier(0.1, 0.7, 0.3, 1) forwards;
    animation-delay: var(--delay, 0ms);
    transform: translateX(var(--x, 0)) rotate(var(--rotation, 0deg));
}

.play-noscript {
    position: relative;
    z-index: 4;
    max-width: 32rem;
    margin: 3rem auto;
    padding: 1rem;
    color: var(--play-plum);
    text-align: center;
    background: #fff;
    border-radius: 1rem;
}

@keyframes play-float {
    0%,
    100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
    50% { transform: translate3d(0, -0.75rem, 0) rotate(1deg); }
}

@keyframes play-spin {
    to { transform: rotate(360deg); }
}

@keyframes play-question-in {
    from { opacity: 0; transform: translateX(1rem) rotate(0.6deg); }
    to { opacity: 1; transform: translateX(0) rotate(0); }
}

@keyframes play-result-in {
    from { opacity: 0; transform: translateY(1rem); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes play-confetti {
    0% { opacity: 0; transform: translate3d(0, -1rem, 0) rotate(0); }
    10% { opacity: 1; }
    100% { opacity: 0; transform: translate3d(var(--x, 0), 30rem, 0) rotate(var(--rotation, 360deg)); }
}

@media (max-width: 900px) {
    .play-catalog__grid {
        grid-template-columns: 1fr;
        max-width: 42rem;
    }

    .play-test-card {
        grid-column: auto;
    }

    .play-intro {
        gap: 2.5rem;
        padding-inline: 0;
    }

    .play-result__metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .play-page {
        min-height: calc(100svh - 80px);
    }

    .play-catalog,
    .play-quiz-page {
        padding-inline: 0.85rem;
    }

    .play-catalog__hero {
        padding-top: 1.5rem;
    }

    .play-catalog__hero .play-back-link {
        margin-bottom: 2.5rem;
    }

    .play-catalog__hero h1 {
        font-size: clamp(2.65rem, 13vw, 4.1rem);
    }

    .play-test-card {
        grid-template-columns: 1fr;
        min-height: 0;
        border-radius: 1.65rem;
    }

    .play-test-card__image-link {
        min-height: 0;
        aspect-ratio: 16 / 12;
    }

    .play-test-card__image-link img {
        object-position: center 57%;
    }

    .play-test-card__body {
        padding: 1.4rem;
    }

    .play-test-card__body .play-button {
        width: 100%;
    }

    .play-quiz-page__topbar {
        min-height: 2.5rem;
    }

    .play-mini-brand {
        font-size: 0.58rem;
    }

    .play-intro {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        min-height: 0;
        padding-top: 1.4rem;
        text-align: center;
    }

    .play-shared-result {
        grid-column: auto;
        order: -2;
        margin-bottom: -0.5rem;
        text-align: left;
    }

    .play-intro__art {
        order: -1;
    }

    .play-intro__image-wrap {
        width: min(66vw, 17rem);
        border-width: 0.45rem;
    }

    .play-intro__bubble--one {
        left: -0.8rem;
    }

    .play-intro__bubble--two {
        right: -0.7rem;
    }

    .play-intro__copy .play-kicker {
        margin-inline: auto;
        font-size: 0.62rem;
    }

    .play-intro__copy h1 {
        margin-inline: auto;
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    .play-intro__lead {
        margin-inline: auto;
        font-size: 0.96rem;
    }

    .play-intro__facts {
        justify-content: center;
        margin-block: 1.2rem;
    }

    .play-intro__copy .play-button {
        width: 100%;
    }

    .play-intro__aside {
        margin-left: 0;
    }

    .play-question {
        min-height: calc(100svh - 7rem);
        padding-top: 1.6rem;
    }

    .play-question__card {
        padding: 1.15rem;
        border-radius: 1.45rem;
    }

    .play-question__emoji {
        width: 2.8rem;
        height: 2.8rem;
        margin-bottom: 0.85rem;
        font-size: 1.3rem;
    }

    .play-question__card h2 {
        font-size: clamp(1.3rem, 6vw, 1.75rem);
    }

    .play-answer {
        min-height: 4rem;
        padding: 0.72rem 0.8rem;
        font-size: 0.83rem;
    }

    .play-result {
        padding-top: 1.6rem;
    }

    .play-result__layout {
        grid-template-columns: 1fr;
        gap: 2.1rem;
        padding: 1rem 1rem 1.4rem;
        text-align: center;
    }

    .play-result__portrait {
        width: min(76vw, 19rem);
    }

    .play-result__portrait > img {
        border-radius: 40% 40% 1.5rem 1.5rem;
    }

    .play-result__score {
        right: -0.3rem;
    }

    .play-result__copy h1 {
        font-size: clamp(2.6rem, 13vw, 4rem);
    }

    .play-result blockquote {
        padding: 0;
        border: 0;
        font-size: 1rem;
    }

    .play-result__sting {
        text-align: left;
    }

    .play-share__buttons {
        display: grid;
    }

    .play-share__buttons .play-button {
        width: min(100%, 23rem);
        margin-inline: auto;
    }

    .play-offer {
        border-radius: 1.35rem;
    }
}

@media (max-width: 390px) {
    .play-intro__image-wrap {
        width: min(64vw, 14.5rem);
    }

    .play-intro__facts span:last-child {
        display: none;
    }

    .play-answer {
        grid-template-columns: 1.75rem 1fr;
        gap: 0.55rem;
    }

    .play-answer__letter {
        width: 1.75rem;
        height: 1.75rem;
    }

    .play-result__metrics {
        gap: 0.5rem;
    }

    .play-metric {
        padding: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .play-page *,
    .play-page *::before,
    .play-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}
