@font-face {
    font-family: "Visby CF";
    src: url("../fonts/VisbyCF-Bold.otf") format("opentype");
    font-display: swap;
    font-style: normal;
    font-weight: 700;
}

:root {
    --stage-ratio: 9 / 16;
    --stage-width: min(100vw, calc(100dvh * 0.5625));
    --stage-height: min(100dvh, calc(100vw * 1.777777778));
    --navy: #1a385f;
    --navy-deep: #102746;
    --teal: #48b9ae;
    --teal-light: #7bd0d4;
    --coral: #f64c61;
    --yellow: #ffb33e;
    --white: #ffffff;
    --ink: #17365d;
    --brand-font: "Visby CF", "Avenir Next", Avenir, Montserrat, "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    height: 100%;
}

body {
    margin: 0;
    overflow: hidden;
    background: #050b14;
    color: var(--white);
    font-family: "Avenir Next", Avenir, Montserrat, "Segoe UI", Arial, sans-serif;
    overscroll-behavior: none;
}

button,
input,
select {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

.app-shell {
    display: flex;
    width: 100%;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 18%, rgba(35, 86, 128, 0.3), transparent 46%),
        #050b14;
}

.app-stage {
    position: relative;
    container-type: inline-size;
    width: var(--stage-width);
    height: var(--stage-height);
    max-width: 100vw;
    max-height: 100dvh;
    aspect-ratio: var(--stage-ratio);
    overflow: hidden;
    isolation: isolate;
    background: var(--navy);
    box-shadow: 0 0 3rem rgba(0, 0, 0, 0.42);
    user-select: none;
    -webkit-user-select: none;
}

.screen {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: none;
    overflow: hidden;
}

.screen.is-active {
    display: block;
    animation: screen-in 240ms ease-out both;
}

.screen[hidden] {
    display: none !important;
}

.screen-art,
.scene-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.art-hotspot {
    position: absolute;
    z-index: 5;
    border: 0;
    border-radius: 1rem;
    background: transparent;
    color: transparent;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.art-hotspot:focus-visible {
    box-shadow:
        0 0 0 0.22rem rgba(255, 255, 255, 0.98),
        0 0 0 0.48rem rgba(24, 185, 176, 0.88),
        0 0 1.5rem rgba(24, 185, 176, 0.65);
}

.art-hotspot:active {
    background: rgba(255, 255, 255, 0.1);
}

/* Abertura e identificacao */
.screen--welcome,
.screen--identify {
    background: var(--navy);
}

.welcome-art,
.registration-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.welcome-hotspot {
    top: 74.5%;
    left: 35.5%;
    width: 29%;
    height: 8.5%;
}

.registration-panel {
    position: absolute;
    top: 17.5%;
    right: 8%;
    bottom: 12.5%;
    left: 8%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7% 8%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: clamp(1.15rem, 3vh, 2rem);
    background: linear-gradient(155deg, rgba(31, 91, 111, 0.93), rgba(18, 48, 80, 0.97) 52%, rgba(15, 35, 67, 0.98));
    box-shadow: 0 1.4rem 3.4rem rgba(4, 15, 35, 0.34);
    backdrop-filter: blur(12px) saturate(115%);
}

.registration-panel--three-fields {
    top: 8.5%;
    bottom: 5.5%;
    padding-block: 5.5%;
}

.registration-heading {
    margin-bottom: 5.5%;
    text-align: center;
}

.registration-panel--three-fields .registration-heading {
    margin-bottom: 2.5%;
}

.registration-heading h2,
.registration-heading p,
.registration-eyebrow {
    margin: 0;
}

.registration-eyebrow {
    color: #f2bd52;
    font-size: clamp(0.58rem, 1.45vh, 0.82rem);
    font-weight: 900;
    letter-spacing: 0.18em;
}

.registration-heading h2 {
    margin-top: 1.5%;
    color: var(--white);
    font-size: clamp(1.65rem, 4.4vh, 2.8rem);
    line-height: 1;
    text-transform: uppercase;
}

.registration-heading > p:last-child {
    margin-top: 2.4%;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(0.68rem, 1.72vh, 1rem);
    line-height: 1.25;
}

.participant-form {
    display: grid;
    width: 100%;
    gap: clamp(0.28rem, 0.8vh, 0.55rem);
}

.participant-form label {
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(0.66rem, 1.55vh, 0.9rem);
    font-weight: 800;
}

.participant-form input {
    width: 100%;
    min-height: clamp(2.85rem, 6.4vh, 4rem);
    padding: 0 0.95rem;
    border: 0.13rem solid transparent;
    border-radius: clamp(0.7rem, 1.7vh, 1rem);
    outline: none;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    font-size: clamp(0.82rem, 1.95vh, 1.12rem);
    font-weight: 650;
    user-select: text;
    -webkit-user-select: text;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.registration-panel--three-fields .participant-form input {
    min-height: max(44px, clamp(2.55rem, 5.75vh, 3.55rem));
}

.participant-form input::placeholder {
    color: rgba(23, 54, 93, 0.58);
}

.participant-form input:focus {
    border-color: #f2bd52;
    box-shadow: 0 0 0 0.25rem rgba(242, 189, 82, 0.26);
}

.participant-form input[aria-invalid="true"] {
    border-color: var(--coral);
    box-shadow: 0 0 0 0.2rem rgba(243, 109, 106, 0.2);
}

.privacy-note,
.form-error {
    margin: 0;
    text-align: center;
}

.privacy-note {
    margin-top: 1.5%;
    color: rgba(255, 255, 255, 0.64);
    font-size: clamp(0.75rem, 1.25vh, 0.82rem);
    line-height: 1.25;
}

.form-error {
    min-height: 1.25em;
    color: #ffe6e9;
    font-size: clamp(0.6rem, 1.4vh, 0.8rem);
    font-weight: 800;
}

.primary-button {
    min-height: clamp(3.05rem, 7vh, 4.35rem);
    margin-top: 1%;
    border: 0;
    border-radius: clamp(0.72rem, 1.7vh, 1rem);
    background: linear-gradient(135deg, #f7c04a, #f1a63f);
    box-shadow: 0 0.85rem 1.8rem rgba(6, 22, 45, 0.25);
    color: var(--ink);
    font-size: clamp(0.78rem, 1.9vh, 1.08rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
    filter: brightness(1.06);
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.24), 0 1rem 2rem rgba(6, 22, 45, 0.3);
    transform: translateY(-1px);
}

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

.primary-button:disabled {
    cursor: wait;
    filter: saturate(0.72);
    opacity: 0.78;
    transform: none;
}

.restart-button {
    min-height: clamp(3.2rem, 7.5vh, 4.6rem);
    border: 0;
    border-radius: clamp(0.78rem, 1.8vh, 1.1rem);
    background: var(--yellow);
    box-shadow: 0 0.8rem 1.8rem rgba(12, 30, 54, 0.24);
    color: var(--ink);
    font-weight: 950;
    letter-spacing: 0.02em;
    transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}

.restart-button:hover,
.restart-button:focus-visible {
    filter: brightness(1.04);
    transform: translateY(-0.12rem);
    box-shadow: 0 1rem 2.2rem rgba(12, 30, 54, 0.34);
    outline: 0.18rem solid rgba(255, 255, 255, 0.94);
    outline-offset: 0.16rem;
}

.restart-button:active {
    transform: translateY(0.05rem);
}

/* Perguntas */
.screen--question {
    background: var(--navy);
}

.question-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 3;
    display: flex;
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    text-align: center;
    pointer-events: none;
    backdrop-filter: none;
}

.question-header h2 {
    max-width: 94%;
    margin: 0;
    font-size: clamp(1.08rem, 3.25vh, 2.05rem);
    font-weight: 780;
    line-height: 1.16;
    text-wrap: balance;
}

.question-progress {
    position: absolute;
    top: 2.2%;
    left: 3%;
    margin: 0;
    padding: 0.28rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 999px;
    background: rgba(15, 49, 79, 0.48);
    font-size: clamp(0.46rem, 1.12vh, 0.64rem);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.choice-rail {
    position: absolute;
    top: var(--choice-rail-top, 27.96%);
    left: var(--choice-rail-left, 7.8%);
    z-index: 4;
    display: flex;
    width: 21.74%;
    height: 44.91%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.8%;
    border-radius: clamp(0.8rem, 2vh, 1.28rem);
    background: #ffffff;
    box-shadow: 0 0.8rem 2.2rem rgba(13, 30, 51, 0.16);
}

.app-stage[data-question-id="rain"] {
    --choice-rail-top: 27.96%;
    --choice-rail-left: 7.8%;
}

.app-stage[data-question-id="bike"] {
    --choice-rail-top: 27.96%;
    --choice-rail-left: 6.9%;
}

.app-stage[data-question-id="travel"] {
    --choice-rail-top: 27.96%;
    --choice-rail-left: 6.99%;
}

.app-stage[data-question-id="boat"] {
    --choice-rail-top: 26.28%;
    --choice-rail-left: 7.77%;
}

.app-stage[data-question-id="cold"] {
    --choice-rail-top: 27.77%;
    --choice-rail-left: 11.4%;
}

.app-stage[data-question-id="fire"] {
    --choice-rail-top: 39.89%;
    --choice-rail-left: 14.3%;
}

.app-stage[data-question-id="beach"] {
    --choice-rail-top: 31.47%;
    --choice-rail-left: 7.77%;
}

.app-stage[data-question-id="drive"] {
    --choice-rail-top: 31.47%;
    --choice-rail-left: 8.52%;
}

.choice-button {
    position: relative;
    display: grid;
    width: 81.4%;
    flex: 0 0 auto;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    border: 0.18rem solid #17365d;
    border-radius: clamp(0.45rem, 1.1vh, 0.72rem);
    outline: none;
    transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease, filter 150ms ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.choice-button:nth-child(1) {
    background: #42b9aa;
}

.choice-button:nth-child(2) {
    background: #79ced2;
}

.choice-button:nth-child(3) {
    background: #ffae3c;
}

.choice-button:nth-child(4) {
    background: #f64c61;
}

.choice-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.choice-button:focus-visible {
    z-index: 2;
    border-color: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 0 0 0.2rem rgba(23, 54, 93, 0.8),
        0 0.65rem 1.3rem rgba(9, 29, 52, 0.34);
    transform: scale(1.045);
}

.choice-button:active {
    transform: scale(0.97);
}

.choice-button:disabled {
    cursor: default;
}

.choice-rail.is-locked .choice-button,
.choice-rail.is-locked .choice-button:hover,
.choice-rail.is-locked .choice-button:focus-visible,
.choice-rail.is-locked .choice-button:active {
    border-color: transparent;
    box-shadow: none;
    filter: none;
    opacity: 1;
    transform: none;
}

.question-footer {
    position: absolute;
    inset: auto 0 0;
    z-index: 3;
    width: 100%;
    height: 8.96%;
    object-fit: cover;
    pointer-events: none;
    display: none;
}

.feedback-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: block;
    background: transparent;
    pointer-events: none;
}

.feedback-overlay[hidden] {
    display: none;
}

.feedback-card {
    position: absolute;
    top: 48.39%;
    left: 31.3%;
    display: grid;
    width: 39.8%;
    min-height: 11.2%;
    padding: 2.4% 3%;
    place-items: center;
    border: 0.3rem solid rgba(255, 255, 255, 0.96);
    border: 0.74cqw solid rgba(255, 255, 255, 0.96);
    border-radius: 0.75rem;
    border-radius: 1.3cqw;
    color: var(--white);
    font-family: var(--brand-font);
    text-align: center;
}

.feedback-card:focus {
    outline: 0.18rem solid rgba(255, 255, 255, 0.96);
    outline-offset: 0.16rem;
}

.feedback-overlay[data-result="correct"] .feedback-card {
    background: #176b63;
}

.feedback-overlay[data-result="wrong"] .feedback-card {
    top: 48.96%;
    background: #991b36;
}

.feedback-title {
    margin: 0;
    color: var(--white);
    font-size: clamp(1rem, 2.3vh, 2.75rem);
    font-size: 4.1cqw;
    font-weight: 700;
    line-height: 1.04;
    white-space: pre-line;
}

/* Resultado, bonus e encerramento */
.result-score {
    position: absolute;
    top: 57.4%;
    left: 50%;
    z-index: 6;
    margin: 0;
    padding: 0.38rem 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    background: rgba(12, 39, 71, 0.78);
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(0.66rem, 1.62vh, 0.9rem);
    font-weight: 850;
    transform: translateX(-50%);
    backdrop-filter: blur(8px);
}

.result-hotspot {
    top: 69.1%;
    height: 10.7%;
}

.result-hotspot--bonus {
    left: 8.6%;
    width: 39.4%;
}

.result-hotspot--finish {
    left: 52.1%;
    width: 39.4%;
}

.bonus-options {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.bonus-hotspot {
    left: 74.4%;
    width: 18.9%;
    height: 6.8%;
    border-radius: 0.48rem;
}

.bonus-hotspot:nth-child(1) {
    top: 52.1%;
}

.bonus-hotspot:nth-child(2) {
    top: 59.5%;
}

.bonus-hotspot:nth-child(3) {
    top: 66.9%;
}

.bonus-hotspot:nth-child(4) {
    top: 74.3%;
}

.bonus-hotspot:nth-child(5) {
    top: 81.7%;
}

.bonus-hotspot:hover,
.bonus-hotspot:focus-visible,
.bonus-hotspot.is-selected {
    background: rgba(255, 255, 255, 0.16);
    box-shadow:
        0 0 0 0.2rem rgba(255, 255, 255, 0.95),
        0 0 1.5rem rgba(72, 185, 174, 0.72);
}

.bonus-confirmation {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 11.6%;
    z-index: 12;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1rem;
    background: rgba(15, 45, 77, 0.92);
    box-shadow: 0 1rem 2.4rem rgba(5, 20, 39, 0.34);
    text-align: center;
    backdrop-filter: blur(9px);
}

.bonus-confirmation[hidden] {
    display: none;
}

.bonus-confirmation strong {
    color: var(--yellow);
    font-size: clamp(0.78rem, 1.8vh, 1.04rem);
}

.bonus-confirmation span {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.66rem, 1.5vh, 0.88rem);
    line-height: 1.25;
}

.thanks-name {
    position: absolute;
    top: 8.2%;
    left: 50%;
    z-index: 5;
    width: 58%;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.72rem, 1.75vh, 1rem);
    font-weight: 750;
    text-align: center;
    transform: translateX(-50%);
}

.save-status {
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 12.8%;
    z-index: 7;
    display: grid;
    gap: 0.55rem;
    justify-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.66rem, 1.55vh, 0.9rem);
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
}

.save-status[data-status="error"] {
    color: #ffe0e5;
}

.save-status[data-status="saved"] {
    color: #d9fff7;
}

.save-retry-button {
    min-height: 44px;
    padding: 0.55rem 1rem;
    border: 0.12rem solid rgba(255, 255, 255, 0.88);
    border-radius: 999px;
    background: rgba(148, 24, 46, 0.94);
    color: var(--white);
    font-size: clamp(0.62rem, 1.45vh, 0.84rem);
    font-weight: 900;
}

.save-retry-button[hidden] {
    display: none;
}

.save-retry-button:hover,
.save-retry-button:focus-visible,
.asset-retry-button:hover,
.asset-retry-button:focus-visible {
    outline: 0.18rem solid rgba(255, 255, 255, 0.96);
    outline-offset: 0.16rem;
    filter: brightness(1.08);
}

.restart-button:disabled {
    cursor: wait;
    filter: grayscale(0.7);
    opacity: 0.55;
}

.restart-button {
    position: absolute;
    left: 24%;
    bottom: 4.2%;
    z-index: 6;
    width: 52%;
    min-height: clamp(2.7rem, 6.4vh, 3.9rem);
    padding: 0 0.8rem;
    background: rgba(24, 55, 95, 0.94);
    color: var(--white);
    font-size: clamp(0.72rem, 1.7vh, 0.98rem);
    backdrop-filter: blur(8px);
}

.asset-status {
    position: absolute;
    inset: 0;
    z-index: 60;
    display: grid;
    padding: 8%;
    place-items: center;
    background: rgba(8, 28, 51, 0.76);
    font-family: var(--brand-font);
    text-align: center;
    backdrop-filter: blur(8px);
}

.asset-status[hidden] {
    display: none;
}

.asset-status-card {
    display: grid;
    width: min(84%, 28rem);
    min-height: 8.5rem;
    padding: 1.4rem;
    place-items: center;
    gap: 1rem;
    border: 0.16rem solid rgba(255, 255, 255, 0.84);
    border-radius: 1.1rem;
    outline: none;
    background: #17365d;
    box-shadow: 0 1.2rem 3rem rgba(3, 14, 29, 0.42);
    color: var(--white);
}

.asset-status-card p {
    margin: 0;
    font-size: clamp(0.86rem, 2vh, 1.2rem);
    font-weight: 800;
    line-height: 1.3;
}

.asset-status[data-state="preparing"] .asset-status-card::before {
    width: 2rem;
    aspect-ratio: 1;
    border: 0.24rem solid rgba(255, 255, 255, 0.34);
    border-top-color: var(--yellow);
    border-radius: 50%;
    content: "";
    animation: asset-spin 760ms linear infinite;
}

.asset-status[data-state="error"] .asset-status-card {
    background: #991b36;
}

.asset-retry-button {
    min-height: 44px;
    padding: 0.62rem 1.1rem;
    border: 0.12rem solid rgba(255, 255, 255, 0.88);
    border-radius: 999px;
    background: var(--yellow);
    color: var(--ink);
    font-weight: 900;
    text-transform: uppercase;
}

.asset-retry-button[hidden] {
    display: none;
}

.screen--art[data-load-state="error"] {
    background: var(--navy);
}

.screen--art[data-load-state="error"]::before {
    position: absolute;
    top: 40%;
    right: 12%;
    left: 12%;
    z-index: 2;
    padding: 1rem;
    border: 0.12rem solid rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
    background: #991b36;
    color: var(--white);
    content: "Não foi possível carregar a arte final.";
    font-family: var(--brand-font);
    font-size: clamp(0.82rem, 1.9vh, 1.15rem);
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* A página 2 fornece a arte-base. Campos, teclado e ação final permanecem
   funcionais sobre ela, sem acionar o teclado nativo do sistema. */
.registration-panel.registration-panel--art {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.participant-form.participant-form--art {
    position: absolute;
    inset: 0;
    display: block;
    width: auto;
    gap: 0;
}

.participant-form.participant-form--art input {
    position: absolute;
    left: 15.6%;
    width: 68.8%;
    min-height: 0;
    height: 4.25%;
    padding: 0 1.6%;
    border: 0;
    border-radius: 0.7rem;
    outline: none;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    font-size: clamp(0.95rem, 2.55vh, 1.55rem);
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
    caret-color: transparent;
    cursor: pointer;
    touch-action: manipulation;
    z-index: 5;
}

.participant-form.participant-form--art input::placeholder {
    color: var(--ink);
    opacity: 1;
}

.participant-form.participant-form--art input:focus,
.participant-form.participant-form--art input.is-virtual-active {
    border: 0.16rem solid rgba(242, 189, 82, 0.95);
    box-shadow: 0 0 0 0.22rem rgba(242, 189, 82, 0.24);
}

.participant-form.participant-form--art input:nth-of-type(1) { top: 28.2%; }
.participant-form.participant-form--art input:nth-of-type(2) { top: 34.25%; }
.participant-form.participant-form--art input:nth-of-type(3) { top: 40.3%; }

.registration-keyboard {
    position: absolute;
    top: 51.1%;
    left: 14.5%;
    z-index: 4;
    width: 70.4%;
    height: 15.55%;
    padding: 1.25% 1.35% 1.45%;
    border-radius: clamp(0.62rem, 2.1cqw, 1.42rem);
    background: #ee5a82;
    box-shadow: 0 0.42rem 1.15rem rgba(17, 34, 61, 0.18);
    touch-action: manipulation;
}

.registration-keyboard__keys {
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 3.2%;
}

.registration-keyboard__row {
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-template-columns: repeat(var(--keyboard-columns), minmax(0, 1fr));
    gap: 1.25%;
}

.registration-keyboard__row--compact {
    padding-inline: 4.8%;
}

.registration-keyboard__row--numeric {
    width: 48%;
    margin-inline: auto;
    gap: 5.5%;
}

.registration-keyboard__row--footer {
    display: flex;
    justify-content: center;
}

.registration-keyboard__key {
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0.08rem 0.18rem rgba(20, 33, 48, 0.22);
    color: #101010;
    font-family: var(--brand-font);
    font-size: clamp(0.58rem, 2.12cqw, 1.4rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.registration-keyboard[data-mode="email"] .registration-keyboard__key {
    font-size: clamp(0.52rem, 1.86cqw, 1.24rem);
}

.registration-keyboard[data-mode="phone"] .registration-keyboard__key {
    font-size: clamp(0.68rem, 2.5cqw, 1.65rem);
}

.registration-keyboard__key--action {
    font-size: clamp(0.72rem, 2.55cqw, 1.7rem);
}

.registration-keyboard__key--space {
    width: 70%;
    font-size: clamp(0.52rem, 1.55cqw, 1rem);
}

.registration-keyboard__key:active {
    transform: translateY(0.08rem) scale(0.96);
    background: #fff1a8;
}

.registration-keyboard__key:focus-visible {
    outline: 0.16rem solid #1a385f;
    outline-offset: 0.08rem;
    box-shadow: 0 0 0 0.22rem rgba(255, 255, 255, 0.95);
}

.participant-form.participant-form--art .registration-submit {
    position: absolute;
    top: 74.5%;
    left: 24.8%;
    width: 50.4%;
    height: 8.3%;
    padding: 0;
    border: 0;
    border-radius: 1rem;
    background: transparent;
    box-shadow: none;
    z-index: 5;
}

.participant-form.participant-form--art .registration-submit:focus-visible {
    box-shadow:
        0 0 0 0.22rem rgba(255, 255, 255, 0.98),
        0 0 0 0.48rem rgba(24, 185, 176, 0.88),
        0 0 1.5rem rgba(24, 185, 176, 0.65);
}

.participant-form.participant-form--art .form-error {
    position: absolute;
    top: 46%;
    left: 13%;
    width: 74%;
    margin: 0;
    z-index: 6;
}

@keyframes screen-in {
    from {
        opacity: 0;
        transform: scale(1.008);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@media (max-width: 480px) {
    .registration-panel {
        right: 6.5%;
        left: 6.5%;
        padding-inline: 7%;
    }

    .registration-panel--three-fields {
        top: 6%;
        bottom: 3.5%;
        padding-block: 5%;
    }

    .registration-panel--art {
        right: 0;
        left: 0;
        padding: 0;
    }

    .question-progress {
        top: 5.5%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .screen.is-active,
    .choice-button,
    .primary-button,
    .restart-button,
    .asset-status[data-state="preparing"] .asset-status-card::before {
        animation: none;
        transition: none;
    }
}
