:root {
    --green-dark: #103d2b;
    --green-mid: #237a4b;
    --green-light: #79d77d;
    --accent: #b9f486;
    --ink: #173225;
    --white: #ffffff;
    --card: rgba(255, 255, 255, 0.96);
    --border: rgba(255, 255, 255, 0.38);
    --shadow: 0 18px 45px rgba(7, 43, 26, 0.22);
}

/* =========================================================
   TEMA VERDE MUSGO + SALMÓN
   Adaptación visual del proyecto, sin alterar HTML ni flujo.
   ========================================================= */
:root {
    --green-dark: #17251d;
    --green-mid: #344b3a;
    --green-light: #66775a;
    --accent: #f28f79;
    --salmon: #f28f79;
    --salmon-light: #ffc0ad;
    --moss: #344b3a;
    --moss-deep: #101912;
    --ink: #1d2a21;
    --white: #fffaf5;
    --card: rgba(255, 250, 245, 0.94);
    --border: rgba(255, 192, 173, 0.28);
    --shadow: 0 22px 60px rgba(8, 18, 11, 0.35);
}

html {
    background: var(--moss-deep);
}

body {
    color: var(--white);
    background:
        radial-gradient(circle at 12% 18%, rgba(242, 143, 121, 0.22), transparent 30%),
        radial-gradient(circle at 88% 76%, rgba(122, 139, 101, 0.25), transparent 34%),
        linear-gradient(145deg, #101912 0%, #27382c 44%, #4b5d43 100%);
    background-attachment: fixed;
}

.screen:not(.intro-screen)::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at -5% 55%, rgba(242, 143, 121, 0.15), transparent 32%),
        radial-gradient(circle at 105% 18%, rgba(143, 161, 119, 0.18), transparent 30%);
}

.topbar {
    border-bottom: 1px solid rgba(255, 192, 173, 0.18);
    padding-bottom: 12px;
}

.logo span,
.eyebrow,
.step,
.metric-value,
.highlight,
.result-highlight,
.intro-brand,
.intro-note {
    color: var(--salmon-light);
}

.step,
.back-button {
    border-color: rgba(255, 192, 173, 0.32);
    background: rgba(255, 250, 245, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.back-button:hover {
    background: rgba(242, 143, 121, 0.2);
}

.progress {
    border-color: rgba(255, 192, 173, 0.2);
    background: rgba(5, 13, 8, 0.34);
}

.progress-bar {
    background: linear-gradient(90deg, #82966e, var(--salmon), var(--salmon-light));
    box-shadow: 0 0 18px rgba(242, 143, 121, 0.62);
}

.question p,
.result-copy,
.supporting-copy,
.intro-copy p {
    color: rgba(255, 250, 245, 0.74);
}

.card,
.zone-button,
.option-button,
.choice-button,
.select-option,
.input-card,
.form-card,
.result-card,
.summary-card,
.info-card,
.recipe-card {
    color: var(--ink);
    border-color: rgba(255, 192, 173, 0.12);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.97), rgba(255,239,232,0.92));
    box-shadow: 0 14px 36px rgba(8, 18, 11, 0.24);
}

.card::before {
    background: linear-gradient(90deg, rgba(242, 143, 121, 0.26), rgba(117, 140, 96, 0.08) 72%);
}

.card:hover,
.card.selected,
.zone-button:hover,
.zone-button.selected,
.option-button:hover,
.option-button.selected,
.choice-button:hover,
.choice-button.selected {
    border-color: var(--salmon);
    box-shadow: 0 18px 45px rgba(242, 143, 121, 0.22);
}

.check,
.zone-check,
.option-check {
    color: #fffaf5;
    background: linear-gradient(135deg, #637853, var(--salmon));
    box-shadow: 0 8px 20px rgba(242, 143, 121, 0.28);
}

.continue-button,
.primary-button,
.intro-continue,
.submit-button,
.result-button,
.action-button {
    color: #fffaf5;
    border-color: rgba(255, 192, 173, 0.36);
    background: linear-gradient(110deg, #526847 0%, #788b65 42%, #e98470 100%);
    box-shadow: 0 16px 42px rgba(12, 27, 17, 0.32), 0 0 28px rgba(242, 143, 121, 0.15);
}

.continue-button:not(:disabled):hover,
.primary-button:hover,
.intro-continue:hover,
.submit-button:hover,
.result-button:hover,
.action-button:hover {
    box-shadow: 0 22px 52px rgba(8, 18, 11, 0.4), 0 0 34px rgba(242, 143, 121, 0.25);
}

.continue-button:disabled,
.submit-button:disabled {
    background: rgba(255, 250, 245, 0.13);
    color: rgba(255, 250, 245, 0.45);
    box-shadow: none;
}

.intro-screen {
    background:
        linear-gradient(90deg, rgba(12, 24, 15, 0.82), rgba(30, 49, 34, 0.2) 50%, rgba(65, 54, 43, 0.58)),
        radial-gradient(circle at 50% 43%, rgba(242, 143, 121, 0.18), transparent 38%),
        linear-gradient(145deg, #101912, #344b3a 58%, #6d6250);
}

.intro-ambient span {
    background: rgba(242, 143, 121, 0.18);
    box-shadow: 0 0 80px rgba(242, 143, 121, 0.2);
}

.intro-halo {
    border-color: rgba(255, 192, 173, 0.34);
    box-shadow: 0 0 90px rgba(242, 143, 121, 0.18);
}

.intro-tile {
    border-color: rgba(255, 192, 173, 0.3);
    background: rgba(20, 38, 25, 0.5);
    box-shadow: 0 20px 55px rgba(5, 14, 8, 0.34);
}

.swirl-title,
.result-title,
.celebration-title {
    text-shadow: 0 16px 55px rgba(7, 17, 10, 0.44);
}

input,
select,
textarea {
    border-color: rgba(255, 192, 173, 0.28) !important;
    accent-color: var(--salmon);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--salmon) !important;
    box-shadow: 0 0 0 4px rgba(242, 143, 121, 0.16) !important;
}

@media (min-width: 760px) {
    body {
        padding: 30px 28px 48px;
    }

    .app {
        width: min(100%, 1040px);
    }

    .screen:not(.intro-screen) {
        width: min(100%, 900px);
        margin-inline: auto;
    }

    .cards:not(.history-cards) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    body {
        padding: 14px 12px 28px;
        background:
            radial-gradient(circle at 50% -5%, rgba(242, 143, 121, 0.22), transparent 28%),
            linear-gradient(165deg, #101912, #2e4233 58%, #536148);
    }

    .topbar {
        grid-template-columns: 40px 1fr 54px;
    }

    .logo {
        font-size: 18px;
    }

    .card {
        border-radius: 18px;
    }

    .intro-screen {
        min-height: calc(100dvh - 28px);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--green-dark);
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 22px 16px 36px;
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--white);
    background:
        radial-gradient(circle at 85% 8%, rgba(185, 244, 134, 0.18), transparent 28%),
        linear-gradient(180deg, var(--green-dark) 0%, var(--green-mid) 48%, var(--green-light) 100%);
    background-attachment: fixed;
}

button {
    font: inherit;
}

.app {
    width: min(100%, 480px);
    margin: 0 auto;
}

.screen {
    width: 100%;
}

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

.screen.active {
    animation: enter-forward 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.screen.active.going-back {
    animation-name: enter-back;
}

.screen.leaving {
    animation: leave-forward 0.22s ease both;
    pointer-events: none;
}

.screen.leaving.going-back {
    animation-name: leave-back;
}

.topbar {
    display: grid;
    grid-template-columns: 44px 1fr 58px;
    align-items: center;
    min-height: 48px;
    margin-bottom: 16px;
}

.logo {
    justify-self: center;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.logo span {
    color: var(--accent);
}

.step {
    justify-self: end;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.back-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 25px;
    line-height: 1;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-2px);
}

.back-button--hidden {
    visibility: hidden;
}

.progress {
    height: 7px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(9, 49, 31, 0.22);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    width: var(--progress);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--white), var(--accent));
    box-shadow: 0 0 12px rgba(185, 244, 134, 0.65);
    transition: width 0.45s ease;
}

.question {
    margin: 0 auto 27px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

h1 {
    max-width: 390px;
    margin: 0 auto 10px;
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.1;
    letter-spacing: -1.35px;
    text-wrap: balance;
}

.question p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.45;
}

.cards {
    display: grid;
    gap: 13px;
}

.card {
    position: relative;
    width: 100%;
    min-height: 112px;
    display: grid;
    grid-template-columns: 112px 1fr 34px;
    align-items: center;
    gap: 16px;
    padding: 0 18px 0 0;
    overflow: hidden;
    color: var(--ink);
    text-align: left;
    border: 2px solid transparent;
    border-radius: 22px;
    background: var(--card);
    box-shadow: 0 8px 22px rgba(7, 43, 26, 0.13);
    cursor: pointer;
    isolation: isolate;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: linear-gradient(90deg, rgba(185, 244, 134, 0.24), transparent 70%);
    transition: opacity 0.22s ease;
}

.card img {
    width: 112px;
    height: 112px;
    display: block;
    object-fit: cover;
    object-position: top center;
}

.card > span:not(.check) {
    font-size: clamp(18px, 5.3vw, 23px);
    font-weight: 700;
    letter-spacing: -0.45px;
}

.check {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    border-radius: 50%;
    background: var(--green-mid);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.card:focus-visible,
.back-button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.card.selected {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(7, 43, 26, 0.25);
}

.card.selected::before,
.card.selected .check {
    opacity: 1;
}

.card.selected .check {
    transform: scale(1);
}

/* =========================
   ETAPA 3: ZONAS DEL CUERPO
========================= */

.question--compact {
    margin-bottom: 18px;
}

.body-selector {
    position: relative;
    min-height: 535px;
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.13);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.model-wrap {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 58%;
    height: 100%;
}

.fitness-model {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 48% center;
    border-radius: 27px 0 0 27px;
}

.zone-options {
    position: relative;
    z-index: 3;
    width: 51%;
    margin-left: auto;
    padding: 16px 12px 16px 0;
    display: grid;
    gap: 11px;
}

.zone-button {
    min-height: 56px;
    padding: 10px 12px 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--ink);
    font-weight: 700;
    font-size: 15px;
    text-align: left;
    border: 2px solid transparent;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 7px 18px rgba(7, 43, 26, 0.13);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.zone-button--all {
    margin-left: calc(-96% + 12px);
}

.zone-button:hover {
    transform: translateY(-2px);
}

.zone-button.selected {
    border-color: var(--accent);
    background: #f4ffe8;
}

.zone-check {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: grid;
    place-items: center;
    color: transparent;
    border: 2px solid #c7d2ca;
    border-radius: 8px;
    transition: 0.2s ease;
}

.zone-button.selected .zone-check {
    color: var(--white);
    border-color: var(--green-mid);
    background: var(--green-mid);
}

.body-marker {
    position: absolute;
    z-index: 2;
    width: 16px;
    height: 16px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--green-mid);
    opacity: 0;
    transform: scale(0.35);
    box-shadow: 0 0 0 0 rgba(185, 244, 134, 0.7);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.body-marker::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 4px;
    width: 76px;
    height: 2px;
    background: var(--white);
    transform-origin: left center;
}

.body-marker.active {
    opacity: 1;
    transform: scale(1);
    animation: marker-pulse 1.4s infinite;
}

.marker-chest { left: 52%; top: 29%; }
.marker-arms { left: 34%; top: 36%; }
.marker-back { left: 62%; top: 42%; }
.marker-abs { left: 51%; top: 45%; }
.marker-glutes { left: 35%; top: 57%; }
.marker-legs { left: 53%; top: 72%; }

.marker-arms::after,
.marker-glutes::after {
    width: 92px;
    transform: rotate(-8deg);
}

.continue-button {
    position: sticky;
    bottom: 14px;
    z-index: 5;
    width: 100%;
    min-height: 64px;
    color: var(--green-dark);
    font-size: 17px;
    font-weight: 700;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--white), var(--accent));
    box-shadow: 0 12px 28px rgba(7, 43, 26, 0.25);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.continue-button:not(:disabled):hover {
    transform: translateY(-2px);
}

.continue-button:disabled {
    color: rgba(255, 255, 255, 0.72);
    background: rgba(22, 54, 39, 0.35);
    box-shadow: none;
    cursor: not-allowed;
}

/* =========================
   ETAPA 4: HISTORIAL
========================= */

.history-cards .text-card {
    min-height: 80px;
    grid-template-columns: 42px 1fr 30px;
    padding: 14px 17px;
}

.text-card .option-icon {
    font-size: 25px;
}

.text-card > span:nth-child(2) {
    font-size: 17px;
    line-height: 1.25;
}

/* ETAPA 5: MENSAJE */
.welcome-screen {
    position: relative;
    min-height: calc(100dvh - 58px);
    padding: 20px 22px 12px;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(155deg, #f49b9d 0%, #dd617e 57%, #ad49d5 100%);
    box-shadow: 0 24px 60px rgba(66, 16, 64, 0.3);
}

.welcome-brand,
.frequency-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
}

.welcome-art {
    position: relative;
    height: clamp(190px, 34vh, 270px);
    margin: 12px -22px 4px;
    overflow: hidden;
}

.welcome-orbit {
    position: absolute;
    border: 28px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
}

.welcome-orbit--one {
    width: 390px;
    height: 220px;
    top: -75px;
    left: -80px;
    transform: rotate(-22deg);
}

.welcome-orbit--two {
    width: 360px;
    height: 190px;
    right: -145px;
    bottom: -60px;
    border-color: rgba(111, 36, 138, 0.16);
    transform: rotate(-25deg);
}

.welcome-person {
    position: relative;
    z-index: 2;
    width: auto;
    max-width: 78%;
    height: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    object-position: center bottom;
}

.welcome-person.welcome-athlete-square {
    width:min(78vw,240px);
    height:min(78vw,240px);
    max-width:240px;
    margin:0 auto;
    object-fit:cover;
    object-position:center 34%;
    border:3px solid rgba(255,255,255,.74);
    border-radius:26px;
    box-shadow:0 20px 42px rgba(12,76,44,.2);
}

.welcome-copy h1 {
    margin: 0 0 10px;
    font-size: clamp(27px, 7.5vw, 34px);
    line-height: 1.2;
    text-align: left;
    letter-spacing: -0.9px;
}

.welcome-screen .welcome-copy {
    margin-top:32px;
}

.welcome-copy p {
    max-width: 360px;
    font-size: 15px;
    line-height: 1.35;
}

@media (max-width:420px) {
    .welcome-screen .welcome-copy {
        margin-top:18px;
    }
}

.welcome-continue {
    width: 100%;
    min-height: 64px;
    margin-top: 23px;
    color: #4265ff;
    font-size: 17px;
    font-weight: 700;
    border: 0;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.welcome-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(65, 27, 85, 0.22);
}

/* ETAPA 6: FRECUENCIA */
.frequency-screen {
    min-height: calc(100dvh - 58px);
    padding: 15px 0 28px;
    color: #1b2230;
    border-radius: 28px;
    background:
        radial-gradient(circle at 35% 40%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px) 0 0 / 8px 8px,
        linear-gradient(145deg, #cdd0ff 0%, #eee1ff 100%);
    box-shadow: 0 24px 60px rgba(72, 61, 145, 0.2);
}

.frequency-topbar,
.frequency-progress,
.frequency-screen > h1,
.frequency-options {
    margin-left: 20px;
    margin-right: 20px;
}

.frequency-topbar {
    display: grid;
    grid-template-columns: 45px 1fr 54px;
    align-items: center;
}

.frequency-back {
    color: #17202d;
    font-size: 29px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.frequency-logo { color: #a34dff; }

.frequency-step {
    justify-self: end;
    font-size: 14px;
}

.frequency-step strong { color: #4265ff; }

.frequency-progress {
    height: 4px;
    margin-top: 8px;
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
}

.frequency-progress-bar {
    width: 33.3%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #9756ff, #3976ff);
}

.frequency-screen h1 {
    max-width: 370px;
    margin-top: 0;
    margin-bottom: 17px;
    font-size: clamp(27px, 7vw, 32px);
    line-height: 1.15;
    text-align: center;
    letter-spacing: -0.7px;
}

.frequency-options {
    display: grid;
    gap: 15px;
}

.frequency-option {
    width: 100%;
    min-height: 88px;
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 13px;
    padding: 14px 17px;
    color: #1b2230;
    text-align: left;
    font-size: 17px;
    font-weight: 700;
    border: 2px solid transparent;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(89, 75, 165, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.frequency-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 25px rgba(89, 75, 165, 0.15);
}

.frequency-option.selected {
    border-color: #7c5cff;
    background: #fbfaff;
}

.level-bars {
    height: 36px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
}

.level-bars i {
    width: 6px;
    border-radius: 2px;
    background: #e3e4e8;
}

.level-bars i:nth-child(1) { height: 8px; }
.level-bars i:nth-child(2) { height: 15px; }
.level-bars i:nth-child(3) { height: 23px; }
.level-bars i:nth-child(4) { height: 30px; }
.level-bars i:nth-child(5) { height: 36px; }

.level-1 i:nth-child(-n+1),
.level-2 i:nth-child(-n+2),
.level-3 i:nth-child(-n+3),
.level-4 i:nth-child(-n+4),
.level-5 i:nth-child(-n+5) {
    background: linear-gradient(180deg, #477bff, #8a54ff);
}

.frequency-option:focus-visible,
.frequency-back:focus-visible,
.welcome-continue:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* ETAPAS 7 A 10 */
.lavender-screen {
    min-height: calc(100dvh - 58px);
    padding: 12px 24px 28px;
    color: #1b2230;
    border-radius: 28px;
    background:
        radial-gradient(circle at 30% 48%, rgba(255,255,255,.62) 0 1px, transparent 2px) 0 0 / 8px 8px,
        linear-gradient(145deg, #ccd1ff 0%, #f0e2ff 100%);
    box-shadow: 0 24px 60px rgba(72, 61, 145, 0.2);
}

.lavender-topbar {
    display: grid;
    grid-template-columns: 44px 1fr 55px;
    align-items: center;
}

.lavender-back {
    justify-self: start;
    color: #17202d;
    font-size: 29px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.lavender-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #a34dff;
    font-size: 14px;
    font-weight: 600;
}

.lavender-step {
    justify-self: end;
    font-size: 14px;
}

.lavender-step strong { color: #4265ff; }

.lavender-progress {
    height: 4px;
    margin: 8px 0 17px;
    overflow: hidden;
    border-radius: 999px;
    background: #fff;
}

.lavender-progress span {
    width: var(--step-progress);
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, #9b56ff, #3976ff);
}

.lavender-question {
    margin: 0 auto 22px;
    text-align: center;
}

.lavender-question h1 {
    margin-bottom: 7px;
    font-size: clamp(25px, 7vw, 31px);
    line-height: 1.12;
    letter-spacing: -.65px;
}

.lavender-question p {
    max-width: 350px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.25;
}

.dance-options,
.lavender-options {
    display: grid;
    gap: 15px;
}

.dance-option {
    min-height: 116px;
    display: grid;
    grid-template-columns: 72px 1fr 28px;
    align-items: center;
    gap: 16px;
    padding: 8px 14px 8px 8px;
    color: #1b2230;
    text-align: left;
    border: 2px solid transparent;
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
}

.dance-image-placeholder {
    width: 72px;
    height: 100px;
    display: grid;
    place-items: center;
    color: rgba(70, 60, 105, .45);
    font-size: 24px;
    font-weight: 700;
    border-radius: 13px;
    background: linear-gradient(145deg, #f1c9b3, #d7b4b2);
}

.dance-style-image {
    width: 72px;
    height: 100px;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 13px;
}

.dance-image-placeholder--pink { background: linear-gradient(145deg, #ef42c2, #9a24b8); color: rgba(255,255,255,.65); }
.dance-image-placeholder--rose { background: linear-gradient(145deg, #e5c1b3, #c98c99); }

.dance-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dance-copy strong {
    font-size: 17px;
    line-height: 1.22;
}

.dance-copy small {
    margin-top: 3px;
    color: #6d6d73;
    font-size: 14px;
    line-height: 1.22;
}

.dance-copy em {
    margin-bottom: 5px;
    padding: 2px 6px;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    border-radius: 4px;
    background: #e44392;
}

.dance-checkbox {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    color: transparent;
    border: 1.5px solid #c6c7cb;
    border-radius: 8px;
}

.dance-option.selected {
    border-color: #865cff;
}

.dance-option.selected .dance-checkbox {
    color: #fff;
    border-color: #7656f7;
    background: #7656f7;
}

.lavender-continue {
    width: 100%;
    min-height: 64px;
    margin-top: -1px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #9b56ff, #4a6fff);
    cursor: pointer;
}

.dance-style-screen .lavender-continue {
    margin-top:18px;
}

.lavender-continue:disabled {
    background: #c9c9cb;
    cursor: not-allowed;
}

.lavender-option {
    width: 100%;
    min-height: 88px;
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 15px;
    padding: 14px 17px;
    color: #1b2230;
    text-align: left;
    font-size: 17px;
    border: 2px solid transparent;
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease;
}

.lavender-option:hover { transform: translateY(-2px); }
.lavender-option.selected { border-color: #7656f7; background: #fbfaff; }
.option-emoji { font-size: 22px; }

.level-options .lavender-option {
    grid-template-columns: 40px 1fr;
}

.level-options .lavender-option > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lavender-option small {
    color: #6d6d73;
    font-size: 14px;
    line-height: 1.25;
}

.duration-question p { max-width: 315px; }
.duration-options { gap: 15px; }
.duration-options .lavender-option { min-height: 88px; }

.lavender-option:focus-visible,
.dance-option:focus-visible,
.lavender-back:focus-visible,
.lavender-continue:focus-visible {
    outline: 3px solid #7656f7;
    outline-offset: 3px;
}

/* ETAPAS 11 A 14 */
.level-ready-screen {
    min-height: calc(100dvh - 58px);
    padding: 20px 16px 10px;
    overflow: hidden;
    color: #fff;
    border-radius: 28px;
    background: linear-gradient(160deg, #f1b2bd 0%, #c68cda 47%, #5a76f8 100%);
    box-shadow: 0 24px 60px rgba(57, 48, 139, .28);
}

.level-ready-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
}

.level-ready-art {
    position: relative;
    height: clamp(270px, 51vh, 410px);
    margin: 0 -16px;
    overflow: hidden;
}

.level-ready-art span {
    position: absolute;
    width: 420px;
    height: 210px;
    border: 32px solid rgba(255,255,255,.14);
    border-radius: 50%;
    transform: rotate(-28deg);
}

.level-ready-art span:first-child { top: 15px; left: -150px; }
.level-ready-art span:nth-child(2) { right: -170px; bottom: 10px; border-color: rgba(115,61,187,.2); }

.level-ready-person {
    position: relative;
    z-index: 2;
    max-width: 86%;
    height: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    object-position: center bottom;
}

.level-ready-person.level-athlete-square {
    width:min(78vw,300px);
    height:min(78vw,300px);
    max-width:300px;
    margin:18px auto 0;
    object-fit:cover;
    object-position:center 30%;
    border:3px solid rgba(255,255,255,.74);
    border-radius:28px;
    box-shadow:0 22px 46px rgba(12,76,44,.22);
}

.level-ready-screen h1 {
    margin: 24px 0 25px;
    text-align: left;
    font-size: clamp(27px, 7.5vw, 34px);
    line-height: 1.16;
}

.level-ready-continue {
    width: 100%;
    min-height: 64px;
    color: #4265ff;
    font-size: 17px;
    font-weight: 700;
    border: 0;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
}

.habit-options .lavender-option { min-height: 88px; }

.sleep-question { margin-bottom: 22px; }

.sleep-image {
    width: 100%;
    height: 200px;
    display: block;
    margin-bottom: 24px;
    object-fit: cover;
    object-position: center 44%;
    border-radius: 18px;
}

.sleep-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.sleep-options .lavender-option {
    min-height: 88px;
    grid-template-columns: 1fr;
    padding: 15px;
    line-height: 1.35;
}

.water-screen {
    display: flex;
    flex-direction: column;
}

.water-question { margin-bottom: 35px; }

.water-question p {
    margin-top: 38px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.water-glasses {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px 10px;
}

.water-glass {
    position: relative;
    height: 94px;
    display: grid;
    place-items: center;
    border: 0;
    background: linear-gradient(90deg, #fff 0%, #eef0f5 100%);
    clip-path: polygon(8% 0, 92% 0, 83% 100%, 17% 100%);
    cursor: pointer;
}

.water-glass::before {
    content: "";
    position: absolute;
    inset: 47% 14% 5%;
    opacity: 0;
    background: linear-gradient(180deg, #7ddfff, #3887ff);
    transition: inset .22s ease, opacity .22s ease;
}

.water-glass span {
    position: relative;
    z-index: 2;
    width: 41px;
    height: 41px;
    display: grid;
    place-items: center;
    color: #416cff;
    font-size: 31px;
    line-height: 1;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 15px rgba(78, 90, 150, .13);
}

.water-glass.selected::before {
    inset: 22% 10% 4%;
    opacity: .78;
}

.water-glass.selected span {
    color: #fff;
    font-size: 23px;
    background: #416cff;
}

.water-count {
    margin: 20px 0 12px;
    color: #596174;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.water-continue { margin-top: auto; }

.water-glass:focus-visible,
.level-ready-continue:focus-visible {
    outline: 3px solid #7656f7;
    outline-offset: 4px;
}

@keyframes marker-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(185, 244, 134, 0.65); }
    50% { box-shadow: 0 0 0 9px rgba(185, 244, 134, 0); }
}

@keyframes enter-forward {
    from { opacity: 0; transform: translateX(26px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes leave-forward {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-18px); }
}

@keyframes enter-back {
    from { opacity: 0; transform: translateX(-26px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes leave-back {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(18px); }
}

@media (max-width: 360px) {
    body {
        padding-inline: 12px;
    }

    .card {
        min-height: 92px;
        grid-template-columns: 92px 1fr 30px;
        gap: 12px;
        border-radius: 19px;
    }

    .card img {
        width: 92px;
        height: 92px;
    }

    .body-selector {
        min-height: 500px;
    }

    .zone-button {
        min-height: 52px;
        padding-inline: 10px;
        font-size: 13px;
    }

    .welcome-screen {
        padding-inline: 18px;
    }

    .welcome-art {
        height: 170px;
        margin-inline: -18px;
    }

    .frequency-option {
        min-height: 72px;
        font-size: 15px;
    }

    .lavender-screen {
        padding-inline: 16px;
    }

    .dance-option {
        grid-template-columns: 64px 1fr 26px;
        gap: 10px;
    }

    .dance-image-placeholder {
        width: 64px;
        height: 92px;
    }

    .dance-style-image {
        width: 64px;
        height: 92px;
    }

    .water-glasses {
        gap-inline: 5px;
    }

    .water-glass {
        height: 76px;
    }

    .water-glass span {
        width: 36px;
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ETAPAS 15 A 21 */
.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; }
.profile-step-screen,.fitness-profile-screen {
    min-height: calc(100dvh - 44px); padding: 8px 42px 26px; overflow:hidden; color:#1b2230; border-radius:24px;
    background: radial-gradient(circle at 28% 42%,rgba(255,255,255,.55) 0 1px,transparent 2px) 0 0/7px 7px,linear-gradient(145deg,#f1f3ff,#dce2ff);
}
.profile-topbar { display:grid; grid-template-columns:44px 1fr 58px; align-items:center; font-size:14px; }
.profile-topbar button { border:0; background:transparent; text-align:left; font-size:27px; cursor:pointer; }
.profile-topbar>div:last-child { text-align:right; }.profile-topbar>div:last-child strong{color:#3973ff}
.dancebit-logo,.dancebit-brand { display:flex; align-items:center; justify-content:center; gap:6px; color:#a04fff; font-weight:600; }
.brand-mark { width:23px; height:28px; display:inline-grid; place-items:center; color:#fff; font-family:serif; border:1px solid currentColor; border-radius:4px 50% 50% 4px; }
.dancebit-logo .brand-mark { color:#a04fff; }
.profile-progress { height:4px; margin:7px 0 18px; background:#fff; border-radius:9px; overflow:hidden; }
.profile-progress span { display:block; height:100%; width:var(--profile-progress); background:linear-gradient(90deg,#9856ff,#3976ff); border-radius:inherit; }
.profile-question { text-align:center; margin-bottom:24px; }
.profile-question h1 { margin-bottom:8px; font-size:26px; letter-spacing:-.6px; }
.profile-question p { max-width:350px; margin:auto; font-size:14px; line-height:1.28; }
.unit-switch { width:160px; display:grid; grid-template-columns:1fr 1fr; margin:0 auto 30px; padding:7px; border-radius:14px; background:rgba(255,255,255,.38); }
.unit-switch button { min-height:34px; border:0; border-radius:10px; background:transparent; cursor:pointer; }
.unit-switch button.active,.unit-pill { color:#fff; font-weight:700; background:linear-gradient(90deg,#9a4ff0,#3677fa); }
.unit-pill { width:72px; min-height:32px; display:grid; place-items:center; margin:0 auto 16px; border-radius:12px; font-size:12px; }
.measure-fields { display:flex; justify-content:center; gap:12px; }
.measure-fields input { width:100%; height:64px; padding:0 20px; color:#1b2230; text-align:center; font-size:30px; font-weight:700; border:2px solid transparent; border-radius:16px; outline:0; background:#fff; }
.measure-fields input:focus { border-color:#7656f7; box-shadow:0 0 0 4px rgba(118,86,247,.12); }
#heightFields label { flex:1; }.profile-continue,.milestone-button { width:100%; min-height:56px; margin-top:24px; color:#fff; font-size:17px; font-weight:700; border:0; border-radius:999px; background:linear-gradient(90deg,#9654f5,#3578f6); cursor:pointer; }
.profile-continue:disabled { background:#c9c9c9; cursor:not-allowed; }
.field-error { min-height:18px; margin:7px 0 0; color:#b02b4b; text-align:center; font-size:12px; }
.easy-win { margin-top:16px; padding:13px 16px; border-radius:12px; background:#dfffc4; }
.easy-win strong,.easy-win b,.easy-win p { display:block; }.easy-win strong{color:#42a74e;font-size:14px}.easy-win b{margin:7px 0 3px;font-size:16px}.easy-win p{color:#8ab97b;font-size:14px;line-height:1.3}
.milestone-screen { min-height:calc(100dvh - 44px); position:relative; display:flex; flex-direction:column; overflow:hidden; padding:12px 16px 12px; color:#fff; border-radius:24px; background:linear-gradient(165deg,#c68ca4 0%,#8d56e8 56%,#5570f5 100%); box-shadow:0 24px 60px rgba(57,48,139,.28); }
.milestone-screen[hidden]{display:none!important}.dancebit-brand{position:relative;z-index:3;color:#fff}.milestone-people{position:relative;height:350px;margin:-38px -16px 0;overflow:hidden;background:radial-gradient(ellipse at 30% 25%,#a760ed 0 30%,transparent 30.5%),linear-gradient(155deg,transparent 45%,rgba(84,62,210,.45) 45%)}
.person { position:absolute; bottom:-30px; width:138px; height:285px; border-radius:70px 70px 20px 20px; background:linear-gradient(180deg,#683823 0 16%,#8d6dcf 16% 62%,#483996 62%); transform:rotate(-5deg); box-shadow:0 0 0 12px rgba(255,255,255,.06); }
.person:before{content:"";position:absolute;left:39px;top:-43px;width:64px;height:74px;border-radius:50%;background:#9d6241}
.person--one{left:45px}.person--two{right:42px;transform:rotate(5deg);background:linear-gradient(180deg,#d2ae99 0 16%,#aaa7e8 16% 62%,#4b3e99 62%)}.person--two:before{background:#ddb89f}
.milestone-copy { position:relative;z-index:2;margin-top:auto; }.milestone-copy h1{margin:0 0 8px;font-size:25px;text-align:left}.milestone-copy p{margin:0 0 8px;font-size:14px;line-height:1.25}.milestone-button{position:relative;z-index:2;margin-top:14px;color:#3e70f7;background:#fff}
.milestone-almost .milestone-people{height:420px;margin-top:-36px}.milestone-almost .person--one{background:linear-gradient(180deg,#ba7f58 0 16%,#b8c3df 16% 55%,#493a8a 55%)}.milestone-almost .person--two{background:linear-gradient(180deg,#bd825e 0 16%,#65b7da 16% 55%,#4453a8 55%)}.milestone-almost .milestone-copy h1{font-size:26px;max-width:310px}
.milestone-almost .milestone-food-art {
    display:grid;
    place-items:center;
    height:420px;
    margin-top:-36px;
    background:none;
}
.milestone-almost .milestone-food-art img {
    width:min(92%,390px);
    max-height:365px;
    object-fit:contain;
    filter:drop-shadow(0 28px 30px rgba(37,45,112,.28));
}
.fitness-profile-screen{padding:18px 34px 20px}.fitness-profile-screen>h1{font-size:25px;text-align:center;margin-bottom:18px}.fitness-card{padding:16px;border-radius:16px;background:#fff;box-shadow:0 12px 30px rgba(63,72,140,.08)}.fitness-card header{display:flex;justify-content:space-between;align-items:center}.fitness-card h2{font-size:17px;line-height:1.45}.fitness-card header>span{padding:3px 7px;color:#fff;font-size:11px;font-weight:700;border-radius:5px;background:#ff9000}.bmi-scale{margin:58px 0 24px}.bmi-labels,.bmi-categories{display:grid;grid-template-columns:repeat(5,1fr);color:#aaa;font-size:11px}.bmi-labels span{text-align:center}.bmi-track{height:6px;position:relative;margin:8px 0 29px;border-radius:5px;background:linear-gradient(90deg,#6fd5e7 0 26%,#3dcc75 26% 52%,#c6e84e 52% 65%,#ff9c4b 65% 82%,#ff3c61 82%)}#bmiPointer{position:absolute;left:var(--bmi-position,64%);top:50%;width:26px;height:26px;transform:translate(-50%,-50%);border:7px solid #fff;border-radius:50%;background:#1c2531;box-shadow:0 1px 5px #999}#bmiPointer b{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);white-space:nowrap;padding:6px 9px;color:#fff;font-size:13px;border-radius:13px;background:#202835}.bmi-categories{grid-template-columns:repeat(4,1fr);letter-spacing:.6px}.bmi-categories span{text-align:center}.bmi-risk{display:grid;grid-template-columns:24px 1fr;gap:8px;padding:14px;border-radius:16px;background:#fff1de}.bmi-risk>span{width:21px;height:21px;display:grid;place-items:center;color:#ff9100;border:2px solid #ff9100;border-radius:50%;font-weight:700}.bmi-risk p{font-size:14px;line-height:1.35}.profile-summary{position:relative;min-height:90px;padding-top:14px;overflow:hidden}.profile-summary p{display:grid;grid-template-columns:32px 1fr;grid-template-rows:auto auto;margin:7px 0;font-size:12px}.profile-summary p>span{grid-row:1/3;font-size:20px}.profile-summary small{color:#aaa}.profile-summary img{position:absolute;right:-4px;bottom:-62px;width:148px;height:184px;object-fit:cover;object-position:58% 14%;border:2px solid rgba(255,255,255,.8);border-radius:18px;box-shadow:0 12px 24px rgba(12,76,44,.14)}.fitness-profile-screen .profile-continue{margin-top:16px}.completion-message{margin-top:10px;color:#257a4a;text-align:center;font-weight:700}
.event-screen{padding-inline:22px}.event-screen .profile-question{margin-bottom:14px}.event-screen .profile-question h1{max-width:340px;font-size:20px;line-height:1.18}.event-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.event-options button{min-width:0;min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:9px 6px;color:#1b2230;text-align:center;border:2px solid transparent;border-radius:14px;background:#fff;box-shadow:0 6px 14px rgba(69,71,132,.07);cursor:pointer}.event-options button span{font-size:22px;line-height:1}.event-options button strong{font-size:11px;line-height:1.18;overflow-wrap:anywhere}.event-options button:hover,.event-options button:focus-visible{transform:translateY(-2px);border-color:#8a5af6}.event-options button.selected{color:#6640d7;border-color:#8657f2;background:#fbf9ff}.event-date-screen{min-height:calc(100dvh - 44px);display:flex;flex-direction:column}.event-date-screen[hidden]{display:none!important}.event-date-screen .profile-question h1{max-width:360px;font-size:24px}.event-date-field{width:180px;margin:0 auto}.event-date-field input{width:100%;min-height:62px;padding:0 13px;color:#1b2230;font-weight:600;border:2px solid transparent;border-radius:16px;outline:0;background:#fff}.event-date-field input:focus{border-color:#7656f7;box-shadow:0 0 0 4px rgba(118,86,247,.12)}.event-date-actions{margin-top:auto;text-align:center}.skip-event-date{margin-top:13px;color:#5f5f68;border:0;background:transparent;cursor:pointer}.skip-event-date:hover{color:#754de4;text-decoration:underline}
@media(max-width:380px){.profile-step-screen,.fitness-profile-screen{padding-inline:18px}.milestone-people{height:310px}.person{width:115px;height:250px}.person--one{left:30px}.person--two{right:28px}.fitness-card{padding:13px}.bmi-categories{font-size:9px}}
@media(max-width:380px){.event-screen{padding-inline:12px}.event-options{gap:7px}.event-options button{min-height:82px;padding:6px 4px}.event-options button strong{font-size:10px}}

/* PORTADA Y ACABADO VISUAL NEXT-GEN */
.intro-screen {
    min-height:calc(100dvh - 44px); position:relative; display:flex; flex-direction:column; isolation:isolate;
    overflow:hidden; padding:18px 22px 20px; color:#172033; border:1px solid rgba(255,255,255,.72); border-radius:28px;
    background:radial-gradient(circle at 50% 26%,rgba(255,255,255,.96),rgba(236,239,255,.82) 45%,rgba(211,218,255,.92));
    box-shadow:0 30px 90px rgba(31,38,97,.35),inset 0 1px 0 #fff;
}
.intro-ambient{position:absolute;inset:0;z-index:-1;overflow:hidden}.intro-ambient span{position:absolute;border-radius:50%;filter:blur(2px);animation:intro-float 7s ease-in-out infinite}.intro-ambient span:nth-child(1){width:260px;height:260px;left:-100px;top:80px;background:rgba(158,77,246,.2)}.intro-ambient span:nth-child(2){width:220px;height:220px;right:-90px;top:220px;background:rgba(52,121,248,.22);animation-delay:-2s}.intro-ambient span:nth-child(3){width:170px;height:170px;left:100px;bottom:-90px;background:rgba(238,99,199,.16);animation-delay:-4s}
.intro-brand{display:flex;align-items:center;justify-content:center;gap:7px;color:#8d50f4;font-size:14px;font-weight:800;letter-spacing:.2px}.intro-brand .brand-mark{width:25px;height:29px;color:#8d50f4}
.intro-stage{height:330px;position:relative;margin:2px -5px 0;perspective:900px}.intro-halo{position:absolute;left:50%;top:45%;width:240px;height:240px;transform:translate(-50%,-50%);border-radius:50%;background:conic-gradient(from 180deg,#9859ff,#4b8dff,#f6a1dc,#9859ff);filter:blur(18px);opacity:.28;animation:halo-spin 9s linear infinite}
.intro-tile{position:absolute;width:135px;height:105px;display:flex;align-items:flex-end;padding:12px;color:#fff;border:1px solid rgba(255,255,255,.7);border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.8),rgba(123,91,242,.38));box-shadow:0 14px 35px rgba(70,60,150,.14);backdrop-filter:blur(12px);animation:tile-drift 5s ease-in-out infinite}.intro-tile span{font-size:13px;font-weight:800;text-shadow:0 1px 5px rgba(32,27,79,.35)}.intro-tile--one{left:50%;top:6px;transform:translateX(-50%);width:160px}.intro-tile--two{left:3px;top:100px;animation-delay:-1s}.intro-tile--three{right:3px;top:100px;animation-delay:-2s}.intro-tile--four{left:50%;bottom:15px;transform:translateX(-50%);animation-delay:-3s}
.intro-person{position:absolute;z-index:3;left:50%;bottom:-5px;width:230px;height:315px;transform:translateX(-50%);object-fit:cover;object-position:50% 5%;filter:drop-shadow(0 20px 16px rgba(38,29,96,.24));mask-image:linear-gradient(#000 72%,transparent 100%)}
.intro-copy{position:relative;z-index:4;margin-top:auto;text-align:center}.swirl-title{max-width:430px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;margin:0 auto 10px;font-size:clamp(27px,7vw,34px);line-height:1.04;letter-spacing:-1.2px}.swirl-title>span:not(.swirl-space){display:inline-block;opacity:0;transform:translate(calc(cos(var(--i) * 31deg) * 110px),calc(sin(var(--i) * 31deg) * 80px)) rotate(calc(var(--i) * 42deg)) scale(.2);filter:blur(7px);animation:letter-swirl .9s cubic-bezier(.18,.85,.28,1.25) forwards;animation-delay:calc(.045s * var(--i) + .15s);background:linear-gradient(100deg,#182033 15%,#7346dc 55%,#2878f6);background-clip:text;-webkit-background-clip:text;color:transparent}.swirl-space{width:.3em}.intro-copy p{max-width:355px;margin:auto;color:#596076;font-size:13px;line-height:1.42}
.intro-continue{min-height:60px;display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px;color:#fff;font-size:15px;font-weight:800;border:0;border-radius:999px;background:linear-gradient(100deg,#9b4ef0,#5b5ff5 52%,#287af5);background-size:200% 100%;box-shadow:0 15px 35px rgba(76,82,240,.3),inset 0 1px 0 rgba(255,255,255,.35);cursor:pointer;animation:button-shimmer 4s linear infinite;transition:transform .25s ease,box-shadow .25s ease}.intro-continue b{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.18);transition:transform .25s ease}.intro-continue:hover{transform:translateY(-3px);box-shadow:0 20px 42px rgba(76,82,240,.42)}.intro-continue:hover b{transform:translateX(4px)}.intro-note{margin:10px 0 0;color:#858ba0;text-align:center;font-size:11px}
.card,.frequency-option,.lavender-option,.dance-option,.event-options button,.fitness-card{box-shadow:0 12px 32px rgba(55,57,125,.11),inset 0 1px 0 rgba(255,255,255,.8);transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s ease,border-color .25s ease}.card:hover,.frequency-option:hover,.lavender-option:hover,.dance-option:hover,.event-options button:hover{transform:translateY(-4px) scale(1.01);box-shadow:0 18px 42px rgba(55,57,125,.18)}.profile-step-screen,.lavender-screen,.fitness-profile-screen{box-shadow:0 28px 75px rgba(39,42,103,.24),inset 0 1px 0 rgba(255,255,255,.9)}.profile-continue,.lavender-continue,.welcome-continue,.level-ready-continue{box-shadow:0 12px 28px rgba(73,84,235,.23);transition:transform .22s ease,box-shadow .22s ease}.profile-continue:not(:disabled):hover,.lavender-continue:not(:disabled):hover,.welcome-continue:hover,.level-ready-continue:hover{transform:translateY(-3px);box-shadow:0 17px 35px rgba(73,84,235,.34)}
@keyframes letter-swirl{65%{opacity:1;filter:blur(0)}100%{opacity:1;transform:none;filter:blur(0)}}@keyframes halo-spin{to{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes intro-float{50%{transform:translateY(-24px) translateX(12px) scale(1.08)}}@keyframes tile-drift{50%{margin-top:-8px;filter:saturate(1.15)}}@keyframes button-shimmer{to{background-position:-200% 0}}
@media(max-width:380px){.intro-screen{padding-inline:15px}.intro-stage{height:300px}.intro-person{width:205px;height:290px}.intro-tile{width:115px;height:92px}.intro-tile--one{width:145px}.intro-copy p{font-size:12px}}

/* ESCALA AMPLIADA Y PORTADA VERDE SALUDABLE */
.app {
    position:relative;
    left:clamp(95px,9vw,145px);
    width:min(100%,560px);
}
.screen { font-size:1.045rem; }
.intro-screen {
    min-height:calc(100dvh - 44px);
    background:
        radial-gradient(circle at 50% 25%,rgba(235,255,226,.96) 0,rgba(183,242,184,.84) 34%,transparent 61%),
        radial-gradient(circle at 15% 68%,rgba(121,234,160,.42),transparent 38%),
        linear-gradient(155deg,#eaffdd 0%,#b8eeba 45%,#76d994 100%);
    box-shadow:0 32px 95px rgba(8,70,40,.34),inset 0 1px 0 rgba(255,255,255,.9);
}
.intro-ambient span:nth-child(1){background:rgba(45,192,111,.22)}
.intro-ambient span:nth-child(2){background:rgba(16,142,95,.2)}
.intro-ambient span:nth-child(3){background:rgba(208,244,111,.25)}
.healthy-dishes{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.healthy-dish{
    position:absolute;width:74px;height:74px;display:grid;place-items:center;font-size:39px;border:1px solid rgba(255,255,255,.64);
    border-radius:50%;background:rgba(255,255,255,.38);box-shadow:0 12px 30px rgba(13,102,58,.13);backdrop-filter:blur(7px);
    opacity:.68;filter:saturate(1.08);animation:dish-fly 13s linear infinite;
}
.healthy-dish--one{left:-90px;top:13%;animation-delay:-1s}.healthy-dish--two{left:-90px;top:39%;animation-delay:-8s;animation-duration:16s}.healthy-dish--three{left:-90px;top:68%;animation-delay:-4s;animation-duration:18s}.healthy-dish--four{left:-90px;top:25%;animation-delay:-11s;animation-duration:19s}.healthy-dish--five{left:-90px;top:80%;animation-delay:-14s;animation-duration:17s}.healthy-dish--six{left:-90px;top:52%;animation-delay:-6s;animation-duration:15s}
.intro-halo{background:conic-gradient(from 180deg,#48c977,#88e659,#3bbda0,#d8f781,#48c977);opacity:.32}
.intro-tile{background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(67,185,112,.35));box-shadow:0 14px 35px rgba(21,108,62,.14)}
.intro-brand{color:#167749}.intro-brand .brand-mark{color:#167749}
.swirl-title>span:not(.swirl-space){background:linear-gradient(100deg,#153626 10%,#168353 55%,#2a9663);background-clip:text;-webkit-background-clip:text}
.intro-copy p{color:#315c46}
.intro-continue{background:linear-gradient(100deg,#12925b,#27b46c 52%,#64c94f);box-shadow:0 15px 35px rgba(20,132,79,.3),inset 0 1px 0 rgba(255,255,255,.4)}
.intro-continue:hover{box-shadow:0 20px 44px rgba(20,132,79,.4)}
.intro-note{color:#49775e}
.topbar,.frequency-topbar,.lavender-topbar,.profile-topbar{min-height:54px}
h1,.question h1,.lavender-question h1,.profile-question h1{font-size:clamp(30px,7vw,40px)}
.question p,.lavender-question p,.profile-question p{font-size:16px}
.card{min-height:124px;grid-template-columns:124px 1fr 34px;font-size:18px;border-radius:24px}.card img{width:124px;height:124px}
.frequency-option,.lavender-option{min-height:98px;font-size:18px;border-radius:21px}
.dance-option{min-height:130px;border-radius:21px}.dance-copy strong{font-size:18px}.dance-copy small{font-size:15px}
.zone-button{min-height:60px;font-size:15px}
.continue-button,.welcome-continue,.lavender-continue,.level-ready-continue,.profile-continue,.milestone-button{min-height:66px;font-size:18px}
.measure-fields input{height:76px;font-size:34px;border-radius:19px}
.unit-switch{width:184px}.unit-switch button{min-height:40px}
.event-options button{min-height:106px}.event-options button span{font-size:27px}.event-options button strong{font-size:12px}
.fitness-card{padding:21px}.fitness-card h2{font-size:19px}.bmi-risk p{font-size:15px}
@keyframes dish-fly{
    0%{transform:translate3d(-10px,25px,0) rotate(-20deg) scale(.78);opacity:0}
    10%{opacity:.68}
    48%{transform:translate3d(330px,-22px,0) rotate(145deg) scale(1.04)}
    90%{opacity:.68}
    100%{transform:translate3d(690px,18px,0) rotate(330deg) scale(.82);opacity:0}
}
@media(max-width:600px){
    body{padding-inline:10px}
    .app{width:100%}
    .screen{font-size:1rem}
    h1,.question h1,.lavender-question h1,.profile-question h1{font-size:clamp(26px,7vw,34px)}
    .card{min-height:108px;grid-template-columns:106px 1fr 30px;font-size:16px}.card img{width:106px;height:106px}
    .frequency-option,.lavender-option{min-height:88px;font-size:16px}
    .event-options button{min-height:92px}
    .healthy-dish{width:60px;height:60px;font-size:32px}
}

/* MARCADORES CORPORALES CORREGIDOS */
.model-wrap { isolation:isolate; }
.fitness-model { position:relative; z-index:1; }
.body-marker {
    z-index:4;
    width:18px;
    height:18px;
    border-width:3px;
    background:#15965b;
}
.body-marker::after {
    left:15px;
    top:5px;
    width:70px;
    height:2px;
    background:rgba(255,255,255,.96);
    box-shadow:0 1px 4px rgba(7,60,34,.28);
}
.body-marker.active {
    box-shadow:0 0 0 8px rgba(87,229,146,.24),0 3px 12px rgba(4,75,38,.42);
}
/* Coordenadas ajustadas sobre la fotografía real */
.marker-chest  { left:55%; top:20%; }
.marker-arms   { left:31%; top:29%; }
.marker-back   { left:65%; top:31%; }
.marker-abs    { left:54%; top:35%; }
.marker-glutes { left:45%; top:48%; }
.marker-legs   { left:54%; top:70%; }
.marker-arms::after { width:100px; transform:rotate(-7deg); }
.marker-back::after { width:58px; transform:rotate(6deg); }
.marker-glutes::after { width:90px; transform:rotate(-5deg); }
.marker-legs::after { width:66px; transform:rotate(4deg); }

/* FIGURA COMPLETA, SIN RECORTAR NI TAPAR EL ROSTRO */
.model-wrap {
    width:49%;
    padding:8px 0 8px 8px;
}
.fitness-model {
    object-fit:contain;
    object-position:center bottom;
    border-radius:24px 0 0 24px;
}
.zone-options {
    width:52%;
}
.zone-button--all {
    margin-left:0;
}
/* Posiciones recalibradas para la fotografía completa */
.marker-chest  { left:55%; top:29%; }
.marker-arms   { left:31%; top:34%; }
.marker-back   { left:66%; top:35%; }
.marker-abs    { left:54%; top:39%; }
.marker-glutes { left:45%; top:49%; }
.marker-legs   { left:54%; top:68%; }

/* SISTEMA VISUAL VERDE UNIFICADO PARA TODAS LAS ETAPAS */
body {
    background:
        radial-gradient(circle at 15% 12%,rgba(116,230,139,.22),transparent 30%),
        radial-gradient(circle at 86% 75%,rgba(86,211,126,.2),transparent 34%),
        linear-gradient(150deg,#0b402d 0%,#14623f 46%,#69d37d 100%);
}
.screen:not(.intro-screen) {
    min-height:calc(100dvh - 44px);
    padding:20px 22px 28px;
    overflow:hidden;
    color:#173528;
    border:1px solid rgba(255,255,255,.72);
    border-radius:28px;
    background:
        radial-gradient(circle at 50% 22%,rgba(242,255,233,.9),rgba(199,242,196,.86) 43%,transparent 72%),
        linear-gradient(155deg,#efffe8 0%,#bceebd 52%,#79da92 100%) !important;
    box-shadow:0 30px 85px rgba(6,61,35,.32),inset 0 1px 0 rgba(255,255,255,.92);
}
.screen:not(.intro-screen) h1,
.screen:not(.intro-screen) h2,
.screen:not(.intro-screen) .question p,
.screen:not(.intro-screen) .lavender-question p,
.screen:not(.intro-screen) .profile-question p,
.screen:not(.intro-screen) .milestone-copy,
.screen:not(.intro-screen) .welcome-copy p {
    color:#173528;
}
.screen:not(.intro-screen) .logo,
.screen:not(.intro-screen) .frequency-logo,
.screen:not(.intro-screen) .lavender-logo,
.screen:not(.intro-screen) .dancebit-logo,
.screen:not(.intro-screen) .dancebit-brand,
.screen:not(.intro-screen) .level-ready-brand {
    color:#168052;
}
.screen:not(.intro-screen) .back-button,
.screen:not(.intro-screen) .frequency-back,
.screen:not(.intro-screen) .lavender-back,
.screen:not(.intro-screen) .profile-topbar button {
    color:#173528;
    border-color:rgba(20,112,70,.2);
    background:rgba(255,255,255,.36);
}
.screen:not(.intro-screen) .progress,
.screen:not(.intro-screen) .frequency-progress,
.screen:not(.intro-screen) .lavender-progress,
.screen:not(.intro-screen) .profile-progress {
    background:rgba(255,255,255,.72);
}
.screen:not(.intro-screen) .progress-bar,
.screen:not(.intro-screen) .frequency-progress-bar,
.screen:not(.intro-screen) .lavender-progress span,
.screen:not(.intro-screen) .profile-progress span {
    background:linear-gradient(90deg,#12804f,#36bd70,#8bdc56);
    box-shadow:0 0 13px rgba(38,177,99,.35);
}
.screen:not(.intro-screen) .eyebrow { color:#197a4f; }
.screen:not(.intro-screen) .card,
.screen:not(.intro-screen) .frequency-option,
.screen:not(.intro-screen) .lavender-option,
.screen:not(.intro-screen) .dance-option,
.screen:not(.intro-screen) .event-options button,
.screen:not(.intro-screen) .fitness-card,
.screen:not(.intro-screen) .measure-fields input,
.screen:not(.intro-screen) .event-date-field input {
    color:#173528;
    border-color:rgba(255,255,255,.65);
    background:rgba(255,255,255,.9);
    box-shadow:0 12px 30px rgba(10,91,49,.12),inset 0 1px 0 #fff;
}
.screen:not(.intro-screen) .selected {
    border-color:#30a965;
    background:#efffe8;
}
.screen:not(.intro-screen) .continue-button,
.screen:not(.intro-screen) .welcome-continue,
.screen:not(.intro-screen) .lavender-continue,
.screen:not(.intro-screen) .level-ready-continue,
.screen:not(.intro-screen) .profile-continue {
    color:#fff;
    background:linear-gradient(100deg,#11814f,#29ae65 55%,#70ca50);
    box-shadow:0 14px 30px rgba(17,126,76,.25);
}
.screen:not(.intro-screen) .milestone-button {
    color:#16794d;
    background:#fff;
}
.screen:not(.intro-screen) .profile-continue:disabled,
.screen:not(.intro-screen) .lavender-continue:disabled {
    color:#789487;
    background:#d4dfd7;
    box-shadow:none;
}
.screen:not(.intro-screen) .unit-switch button.active,
.screen:not(.intro-screen) .unit-pill {
    background:linear-gradient(90deg,#148653,#49bd6a);
}
.screen:not(.intro-screen) .zone-button.selected {
    border-color:#46ba70;
    background:#efffe6;
}
.screen:not(.intro-screen) .zone-button.selected .zone-check {
    border-color:#18804f;
    background:#18804f;
}

/* Cuerpo completo ocupa una fila superior; la figura comienza debajo */
.body-selector {
    min-height:610px;
    padding-top:76px;
}
.body-selector .model-wrap {
    height:calc(100% - 76px);
}
.body-selector .zone-options {
    position:static;
    padding-top:0;
}
.body-selector .zone-button--all {
    position:absolute;
    top:3px;
    right:12px;
    width:calc(100% - 24px);
    min-height:58px;
    margin:0;
}

/* RECORTES DE LAS NUEVAS LÁMINAS VISUALES */
.body-type-image {
    object-fit:cover !important;
    object-position:center;
}
.body-type-1 { object-position:0% 50% !important; }
.body-type-2 { object-position:33.333% 50% !important; }
.body-type-3 { object-position:66.666% 50% !important; }
.body-type-4 { object-position:100% 50% !important; }
.food-sprite,
.food-feature-image {
    object-fit:cover !important;
}
.food-panel-1 { object-position:0% 50% !important; }
.food-panel-2 { object-position:33.333% 50% !important; }
.food-panel-3 { object-position:66.666% 50% !important; }
.food-panel-4 { object-position:100% 50% !important; }

/* Plato saludable decorativo presente en todas las etapas */
.healthy-plate-decoration {
    position:absolute;
    z-index:6;
    top:50%;
    right:calc(100% + 150px);
    width:340px;
    height:auto;
    pointer-events:none;
    user-select:none;
    opacity:0;
    transform:translate3d(-30px,-46%,0) scale(.88) rotate(-7deg);
    transform-origin:center;
    filter:
        drop-shadow(0 30px 32px rgba(5,54,30,.30))
        drop-shadow(0 8px 12px rgba(185,244,134,.18));
    will-change:transform,opacity,filter;
}

.app.plate-visible > .healthy-plate-decoration {
    animation:healthy-plate-appear 6.8s cubic-bezier(.22,.75,.3,1) infinite;
}

.milestone-thanks .milestone-people {
    visibility:hidden;
}

.milestone-thanks .milestone-couple-art {
    visibility:visible;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    height:clamp(250px,42vh,320px);
    margin:14px 0 12px;
    background:none;
    overflow:visible;
}

.milestone-thanks .dancebit-brand {
    min-height:30px;
    margin:0 54px 0;
    line-height:1.2;
}

.milestone-thanks .milestone-couple-art img {
    display:block;
    width:min(82%,290px);
    aspect-ratio:1;
    object-fit:cover;
    object-position:center;
    border:3px solid rgba(255,255,255,.76);
    border-radius:28px;
    box-shadow:0 22px 46px rgba(12,76,44,.22);
}

.milestone-thanks .milestone-copy {
    margin-top:42px;
}

@media (max-width:380px) {
    .milestone-thanks .milestone-couple-art {
        height:230px;
        margin-top:10px;
    }

    .milestone-thanks .milestone-couple-art img {
        width:220px;
    }

    .milestone-thanks .milestone-copy {
        margin-top:24px;
    }
}

@keyframes healthy-plate-appear {
    0% {
        opacity:0;
        transform:translate3d(-42px,-44%,0) scale(.82) rotate(-9deg);
        filter:drop-shadow(0 18px 18px rgba(5,54,30,0)) blur(5px);
    }
    18% {
        opacity:.96;
        transform:translate3d(0,-50%,0) scale(1) rotate(-2deg);
        filter:drop-shadow(0 30px 32px rgba(5,54,30,.30)) drop-shadow(0 8px 12px rgba(185,244,134,.18)) blur(0);
    }
    48% {
        opacity:1;
        transform:translate3d(7px,-53%,0) scale(1.045) rotate(1deg);
        filter:drop-shadow(0 36px 38px rgba(5,54,30,.34)) drop-shadow(0 8px 15px rgba(185,244,134,.22)) blur(0);
    }
    78% {
        opacity:.96;
        transform:translate3d(0,-50%,0) scale(1) rotate(-2deg);
        filter:drop-shadow(0 30px 32px rgba(5,54,30,.30)) drop-shadow(0 8px 12px rgba(185,244,134,.18)) blur(0);
    }
    100% {
        opacity:0;
        transform:translate3d(-34px,-56%,0) scale(.88) rotate(-7deg);
        filter:drop-shadow(0 18px 18px rgba(5,54,30,0)) blur(4px);
    }
}

@media (max-width:1100px) {
    .healthy-plate-decoration {
        right:calc(100% + 70px);
        width:230px;
    }
}

@media (max-width:960px) {
    .healthy-plate-decoration {
        right:calc(100% + 35px);
        width:180px;
    }
}

@media (max-width:860px) {
    .healthy-plate-decoration {
        display:none;
    }
}

@media (prefers-reduced-motion:reduce) {
    .app.plate-visible > .healthy-plate-decoration {
        animation:none;
        opacity:.96;
        transform:translate3d(0,-50%,0) scale(1);
    }
}
.welcome-person.food-feature-image {
    width:86%;
    height:100%;
    margin:auto;
    border-radius:24px;
    filter:drop-shadow(0 18px 24px rgba(10,88,49,.2));
}
.level-ready-person.food-feature-image {
    width:88%;
    border-radius:24px;
}

/* RECORTE EXACTO: UNA SOLA PERSONA POR TARJETA */
.card-image-crop {
    width:124px;
    height:124px;
    display:block;
    align-self:stretch;
    overflow:hidden;
    border-radius:22px 0 0 22px;
}
.card .card-image-crop .body-type-image {
    width:400% !important;
    max-width:none;
    height:100% !important;
    display:block;
    object-fit:fill !important;
    object-position:center !important;
    border-radius:0;
}
.card .card-image-crop .body-type-1 { transform:translateX(0); }
.card .card-image-crop .body-type-2 { transform:translateX(-25%); }
.card .card-image-crop .body-type-3 { transform:translateX(-50%); }
.card .card-image-crop .body-type-4 { transform:translateX(-75%); }

/* NUEVO DISEÑO DEL PERFIL FINAL — conserva todos los IDs y cálculos */
.fitness-profile-screen {
    padding:18px 28px 24px;
    background:
        radial-gradient(circle at 84% 9%,rgba(93,215,126,.22),transparent 28%),
        linear-gradient(155deg,#f2ffed 0%,#c9f2ca 54%,#89dfa0 100%) !important;
}

.final-profile-brand {
    min-height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    margin-bottom:5px;
    color:#168052;
    font-size:14px;
    font-weight:700;
}

.final-profile-brand .brand-mark {
    color:#168052;
}

.fitness-profile-screen > h1 {
    margin-bottom:18px;
    color:#173528;
    font-size:28px;
    letter-spacing:-.7px;
}

.fitness-profile-screen .fitness-card {
    position:relative;
    padding:24px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.9);
    border-radius:26px;
    background:rgba(255,255,255,.88);
    box-shadow:0 24px 55px rgba(15,96,55,.15),inset 0 1px 0 #fff;
    backdrop-filter:blur(12px);
}

.fitness-profile-screen .fitness-card::before {
    content:"";
    position:absolute;
    top:-72px;
    right:-72px;
    width:180px;
    height:180px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(80,205,112,.2),transparent 68%);
    pointer-events:none;
}

.fitness-card header {
    position:relative;
    z-index:1;
}

.fitness-card h2 {
    color:#173528;
    font-size:21px;
    line-height:1.25;
}

.fitness-card header > span {
    padding:7px 11px;
    border-radius:999px;
    background:linear-gradient(135deg,#17945c,#55c975);
    box-shadow:0 7px 16px rgba(22,143,87,.2);
}

.fitness-profile-screen .bmi-scale {
    margin:66px 0 30px;
    padding:0 3px;
}

.fitness-profile-screen .bmi-track {
    height:9px;
    margin-top:10px;
    border:2px solid rgba(255,255,255,.9);
    box-shadow:0 5px 12px rgba(19,94,58,.12);
}

.fitness-profile-screen #bmiPointer {
    width:30px;
    height:30px;
    border-width:8px;
    background:#14543a;
    box-shadow:0 5px 14px rgba(15,67,44,.28);
}

.fitness-profile-screen #bmiPointer b {
    bottom:29px;
    padding:7px 11px;
    background:#14543a;
    box-shadow:0 7px 16px rgba(15,67,44,.2);
}

.fitness-profile-screen .bmi-risk {
    grid-template-columns:30px 1fr;
    gap:12px;
    padding:17px;
    border:1px solid rgba(64,166,104,.16);
    border-radius:19px;
    background:linear-gradient(135deg,#efffe9,#e6f8e7);
}

.fitness-profile-screen .bmi-risk > span {
    width:26px;
    height:26px;
    color:#168052;
    border-color:#38a86a;
    background:#fff;
}

.fitness-profile-screen .bmi-risk p {
    color:#254b3a;
}

.fitness-profile-screen .profile-summary {
    min-height:0;
    display:grid;
    grid-template-columns:minmax(0,1fr) 132px;
    grid-template-rows:repeat(2,minmax(62px,auto));
    gap:12px;
    padding-top:16px;
    overflow:visible;
}

.fitness-profile-screen .profile-summary p {
    min-width:0;
    display:grid;
    grid-template-columns:36px 1fr;
    grid-template-rows:auto auto;
    gap:2px 8px;
    margin:0;
    padding:14px;
    border:1px solid rgba(49,160,93,.13);
    border-radius:17px;
    background:linear-gradient(145deg,#fff,#f2fbef);
    box-shadow:0 9px 22px rgba(20,102,60,.08);
}

.fitness-profile-screen .profile-summary p > span:first-child {
    width:34px;
    height:34px;
    display:grid;
    grid-row:1/3;
    place-items:center;
    border-radius:11px;
    background:#ddf6dd;
    font-size:18px;
}

.fitness-profile-screen .profile-summary small {
    color:#6c8a7a;
    font-size:11px;
}

.fitness-profile-screen .profile-summary strong {
    color:#173528;
    overflow-wrap:anywhere;
}

.fitness-profile-screen .profile-summary .final-profile-athlete {
    position:static;
    width:132px;
    height:100%;
    min-height:136px;
    display:block;
    grid-column:2;
    grid-row:1 / 3;
    align-self:stretch;
    object-fit:cover;
    object-position:58% 18%;
    border:2px solid rgba(255,255,255,.92);
    border-radius:18px;
    box-shadow:0 12px 25px rgba(12,76,44,.15);
}

.fitness-profile-screen .profile-continue {
    margin-top:18px;
    background:linear-gradient(90deg,#138653,#43b968 58%,#72ce58);
}

@media (max-width:760px) {
    .app {
        left:0;
    }
}

@media (max-width:420px) {
    .fitness-profile-screen {
        padding-inline:16px;
    }

    .fitness-profile-screen .fitness-card {
        padding:18px 15px;
    }

    .fitness-profile-screen .profile-summary {
        grid-template-columns:1fr;
        grid-template-rows:auto;
    }

    .fitness-profile-screen .profile-summary .final-profile-athlete {
        width:100%;
        height:180px;
        min-height:0;
        grid-column:1;
        grid-row:auto;
        object-position:center 22%;
    }
}

/* ETAPAS 16–19: campos y acciones a todo el ancho útil */
#screen16,
#screen17,
#screen18,
#screen19 {
    padding-inline:8px;
}

#screen16 .measure-fields,
#screen17 .measure-fields,
#screen18 .measure-fields,
#screen19 .measure-fields,
#screen16 .profile-continue,
#screen17 .profile-continue,
#screen18 .profile-continue,
#screen19 .profile-continue {
    width:100%;
    max-width:none;
}

#screen16 .measure-fields input,
#screen17 .measure-fields input,
#screen18 .measure-fields input,
#screen19 .measure-fields input {
    width:100%;
    height:76px;
    border-radius:19px;
    box-shadow:0 12px 28px rgba(15,101,58,.1),inset 0 1px 0 #fff;
}

#screen16 .profile-continue,
#screen17 .profile-continue,
#screen18 .profile-continue,
#screen19 .profile-continue {
    min-height:68px;
    border-radius:22px;
}

@media (max-width:420px) {
    #screen16,
    #screen17,
    #screen18,
    #screen19 {
        padding-inline:6px;
    }
}

/* FLECHA PRESENTE EN TODAS LAS ETAPAS SIN CABECERA */
.screen:not(.intro-screen) { position:relative; }
.universal-stage-back {
    position:absolute;
    z-index:20;
    top:18px;
    left:18px;
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    color:#173528;
    font-size:25px;
    border:1px solid rgba(20,112,70,.2);
    border-radius:50%;
    background:rgba(255,255,255,.52);
    box-shadow:0 8px 20px rgba(10,91,49,.12);
    cursor:pointer;
}
.universal-stage-back:hover { transform:translateX(-2px); background:#fff; }

/* EN PANTALLAS BAJAS, LAS TARJETAS SE VEN COMPLETAS AL 100% */
@media (max-height:760px) and (min-width:601px) {
    body { padding-top:10px; padding-bottom:10px; }
    .screen:not(.intro-screen) { min-height:calc(100dvh - 20px); padding-top:14px; padding-bottom:16px; }
    .topbar,.frequency-topbar,.lavender-topbar,.profile-topbar { min-height:42px; margin-bottom:4px; }
    .progress { margin-bottom:12px; }
    .question { margin-bottom:14px; }
    .question h1,.lavender-question h1,.profile-question h1 { font-size:30px; line-height:1.06; }
    .question p,.lavender-question p,.profile-question p { font-size:14px; }
    .cards { gap:8px; }
    .card { min-height:82px; grid-template-columns:82px 1fr 28px; font-size:16px; border-radius:18px; }
    .card-image-crop { width:82px; height:82px; border-radius:17px 0 0 17px; }
    .card .check { width:25px; height:25px; }
}
@media (max-width:600px) {
    .card-image-crop { width:106px; height:106px; }
}
.body-selector .zone-button--all + .zone-button {
    margin-top:76px;
}

/* TEMA FINAL: VERDE MUSGO Y SALMÓN */
:root {
    --green-dark:#101912;
    --green-mid:#344b3a;
    --green-light:#66775a;
    --accent:#f28f79;
    --salmon:#f28f79;
    --salmon-light:#ffc0ad;
    --moss:#344b3a;
    --moss-deep:#101912;
    --ink:#1d2a21;
    --white:#fffaf5;
    --card:rgba(255,250,245,.95);
    --border:rgba(255,192,173,.3);
    --shadow:0 22px 60px rgba(8,18,11,.35);
}

html { background:#101912; }
body {
    color:var(--white);
    background:
        radial-gradient(circle at 12% 16%,rgba(242,143,121,.2),transparent 29%),
        radial-gradient(circle at 88% 78%,rgba(137,158,112,.22),transparent 34%),
        linear-gradient(145deg,#101912 0%,#2c4031 50%,#536148 100%);
    background-attachment:fixed;
}

.screen:not(.intro-screen)::before {
    content:"";
    position:fixed;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:radial-gradient(circle at 105% 12%,rgba(242,143,121,.15),transparent 31%);
}

.topbar,.frequency-topbar,.lavender-topbar,.profile-topbar {
    border-bottom-color:rgba(255,192,173,.18);
}

.logo span,.eyebrow,.frequency-eyebrow,.lavender-eyebrow,.profile-eyebrow,
.metric-value,.intro-brand,.intro-note,.step { color:var(--salmon-light); }

.progress {
    border-color:rgba(255,192,173,.2);
    background:rgba(5,13,8,.36);
}
.progress-bar {
    background:linear-gradient(90deg,#82966e,var(--salmon),var(--salmon-light));
    box-shadow:0 0 18px rgba(242,143,121,.6);
}

.back-button,.universal-stage-back {
    color:#fffaf5;
    border-color:rgba(255,192,173,.34);
    background:rgba(255,250,245,.1);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 8px 22px rgba(7,16,10,.2);
}
.back-button:hover,.universal-stage-back:hover { background:rgba(242,143,121,.2); }

.question p,.frequency-question p,.lavender-question p,.profile-question p,
.intro-copy p { color:rgba(255,250,245,.74); }

.card,.text-card,.zone-button,.frequency-card,.lavender-card,
.profile-card,.measure-card,.summary-card,.result-card,.info-card {
    color:var(--ink);
    border-color:rgba(255,192,173,.14);
    background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(255,237,230,.93));
    box-shadow:0 14px 38px rgba(8,18,11,.25);
}
.card::before { background:linear-gradient(90deg,rgba(242,143,121,.27),rgba(117,140,96,.08) 72%); }
.card:hover,.card.selected,.zone-button:hover,.zone-button.selected,
.frequency-card:hover,.frequency-card.selected,.lavender-card:hover,.lavender-card.selected {
    border-color:var(--salmon);
    box-shadow:0 18px 46px rgba(242,143,121,.23);
}

.check,.zone-check,.frequency-check,.lavender-check {
    color:#fffaf5;
    background:linear-gradient(135deg,#607653,var(--salmon));
    box-shadow:0 8px 20px rgba(242,143,121,.28);
}

.continue-button,.profile-continue,.frequency-continue,.lavender-continue,
.intro-continue,.result-button,.restart-button {
    color:#fffaf5;
    border-color:rgba(255,192,173,.36);
    background:linear-gradient(110deg,#526847 0%,#788b65 42%,#e98470 100%);
    box-shadow:0 16px 42px rgba(12,27,17,.32),0 0 28px rgba(242,143,121,.15);
}
.continue-button:not(:disabled):hover,.profile-continue:not(:disabled):hover,
.frequency-continue:hover,.lavender-continue:hover,.intro-continue:hover,
.result-button:hover,.restart-button:hover {
    box-shadow:0 22px 52px rgba(8,18,11,.4),0 0 34px rgba(242,143,121,.25);
}
.continue-button:disabled,.profile-continue:disabled {
    color:rgba(255,250,245,.45);
    background:rgba(255,250,245,.13);
    box-shadow:none;
}

.intro-screen {
    background:
        linear-gradient(90deg,rgba(12,24,15,.83),rgba(30,49,34,.18) 50%,rgba(71,56,44,.58)),
        radial-gradient(circle at 50% 43%,rgba(242,143,121,.18),transparent 38%),
        linear-gradient(145deg,#101912,#344b3a 58%,#6d6250);
}
.intro-ambient span { background:rgba(242,143,121,.18); box-shadow:0 0 80px rgba(242,143,121,.2); }
.intro-halo { border-color:rgba(255,192,173,.34); box-shadow:0 0 90px rgba(242,143,121,.18); }
.intro-tile {
    border-color:rgba(255,192,173,.3);
    background:rgba(20,38,25,.52);
    box-shadow:0 20px 55px rgba(5,14,8,.34);
}
.swirl-title { text-shadow:0 16px 55px rgba(7,17,10,.46); }

input,select,textarea {
    accent-color:var(--salmon);
    border-color:rgba(255,192,173,.28)!important;
}
input:focus,select:focus,textarea:focus {
    border-color:var(--salmon)!important;
    box-shadow:0 0 0 4px rgba(242,143,121,.16)!important;
}

@media (min-width:760px) {
    body { padding:30px 28px 48px; }
    .app { width:min(100%,1040px); }
    .screen:not(.intro-screen) { width:min(100%,900px); margin-inline:auto; }
    .cards:not(.history-cards) { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:560px) {
    body {
        padding:14px 12px 28px;
        background:
            radial-gradient(circle at 50% -5%,rgba(242,143,121,.22),transparent 28%),
            linear-gradient(165deg,#101912,#2e4233 58%,#536148);
    }
    .topbar { grid-template-columns:40px 1fr 54px; }
    .logo { font-size:18px; }
    .card { border-radius:18px; }
    .intro-screen { min-height:calc(100dvh - 28px); }
}

/* =========================================================
   SOCIALS CLUB — PREMIUM WELLNESS UI 2026
   Capa visual final: musgo profundo + salmón editorial
   ========================================================= */
:root {
    --premium-moss-950:#0c1510;
    --premium-moss-900:#14231a;
    --premium-moss-800:#203529;
    --premium-moss-700:#37533f;
    --premium-moss-500:#70886d;
    --premium-salmon-500:#f18d78;
    --premium-salmon-400:#ffa891;
    --premium-salmon-200:#ffd8cb;
    --premium-cream:#fffaf4;
    --premium-ink:#17251c;
    --premium-line:rgba(255,255,255,.58);
    --premium-ease:cubic-bezier(.2,.8,.2,1);
}

body {
    min-height:100dvh;
    color:var(--premium-cream);
    background:
        radial-gradient(circle at 10% 0%,rgba(241,141,120,.21),transparent 29%),
        radial-gradient(circle at 90% 100%,rgba(112,136,109,.32),transparent 34%),
        linear-gradient(135deg,var(--premium-moss-950),var(--premium-moss-800) 55%,#314535);
}

.app { position:relative; isolation:isolate; }
.app::before,.app::after {
    content:"";
    position:fixed;
    z-index:-2;
    width:340px;
    aspect-ratio:1;
    border-radius:50%;
    filter:blur(85px);
    pointer-events:none;
    animation:premium-orbit 14s var(--premium-ease) infinite alternate;
}
.app::before { left:-130px; top:9%; background:rgba(241,141,120,.2); }
.app::after { right:-150px; bottom:4%; background:rgba(135,159,116,.25); animation-delay:-7s; }

.screen:not(.intro-screen) {
    overflow:hidden;
    border:1px solid rgba(255,255,255,.72);
    border-radius:34px;
    padding:24px 28px 32px;
    background:
        linear-gradient(135deg,rgba(255,250,244,.95),rgba(229,239,219,.9) 56%,rgba(255,207,193,.68)),
        radial-gradient(circle at 80% 5%,rgba(241,141,120,.25),transparent 30%);
    color:var(--premium-ink);
    box-shadow:0 38px 100px rgba(4,12,7,.38),inset 0 1px 0 #fff;
    backdrop-filter:blur(22px) saturate(1.15);
}
.screen:not(.intro-screen)::after {
    content:"";
    position:absolute;
    z-index:-1;
    width:360px;
    aspect-ratio:1;
    right:-190px;
    bottom:-210px;
    border:52px solid rgba(68,98,73,.08);
    border-radius:50%;
    pointer-events:none;
}

.topbar,.frequency-topbar,.lavender-topbar,.profile-topbar {
    color:var(--premium-ink);
    border-bottom:1px solid rgba(33,66,43,.12);
}
.logo,.frequency-logo,.lavender-logo,.dancebit-logo,.dancebit-brand { color:#214b31!important; }
.logo span,.eyebrow,.frequency-step strong,.lavender-step strong,.profile-topbar>div:last-child strong { color:#d76552!important; }
.step,.frequency-step,.lavender-step {
    color:#c65e4c;
    border:1px solid rgba(214,101,82,.2);
    background:rgba(255,255,255,.36);
}
.back-button,.frequency-back,.lavender-back,.profile-topbar button,.universal-stage-back {
    color:#244d34;
    border:1px solid rgba(35,75,49,.14);
    background:rgba(255,255,255,.5);
    box-shadow:0 8px 22px rgba(30,62,40,.1),inset 0 1px 0 #fff;
    transition:transform .25s var(--premium-ease),background .25s ease,box-shadow .25s ease;
}
.back-button:hover,.frequency-back:hover,.lavender-back:hover,.universal-stage-back:hover {
    color:#fff;
    background:linear-gradient(135deg,var(--premium-moss-700),var(--premium-salmon-500));
    box-shadow:0 12px 28px rgba(69,91,66,.22);
}

.progress,.frequency-progress,.lavender-progress,.profile-progress {
    height:6px;
    border:1px solid rgba(255,255,255,.8);
    background:rgba(38,79,51,.1);
    box-shadow:inset 0 1px 2px rgba(19,43,27,.1);
}
.progress-bar,.frequency-progress-bar,.lavender-progress span,.profile-progress span {
    background:linear-gradient(90deg,#315d3d,#86aa71 50%,var(--premium-salmon-400));
    box-shadow:0 0 18px rgba(241,141,120,.42);
}

.question h1,.frequency-screen>h1,.lavender-question h1,.profile-question h1 {
    color:var(--premium-ink);
    text-shadow:0 2px 0 rgba(255,255,255,.55);
}
.question p,.lavender-question p,.profile-question p { color:rgba(23,37,28,.7); }
.eyebrow { color:#376a46!important; }

/* Etapas 1 y 2: retratos completos, limpios y vivos */
#screen1 .cards,#screen2 .cards { gap:16px; }
#screen1 .card,#screen2 .card {
    min-height:170px;
    grid-template-columns:152px 1fr 34px;
    padding-right:22px;
    overflow:hidden;
    color:var(--premium-ink);
    border:1px solid rgba(255,255,255,.9);
    border-radius:26px;
    background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(255,244,238,.87));
    box-shadow:0 16px 34px rgba(31,64,40,.12),inset 0 1px 0 #fff;
}
#screen1 .card::after,#screen2 .card::after {
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    opacity:0;
    background:linear-gradient(110deg,rgba(112,136,109,.14),rgba(241,141,120,.2));
    transition:opacity .35s ease;
}
#screen1 .card:hover,#screen2 .card:hover {
    transform:translateY(-7px) scale(1.012);
    border-color:rgba(241,141,120,.66);
    box-shadow:0 25px 50px rgba(31,64,40,.19),0 8px 24px rgba(241,141,120,.13);
}
#screen1 .card:hover::after,#screen2 .card:hover::after { opacity:1; }
#screen1 .card-image-crop,#screen2 .card-image-crop {
    width:152px;
    height:170px;
    overflow:hidden;
    border-radius:25px 0 0 25px;
    background:linear-gradient(160deg,#f8eee6,#e4d8cd);
}
#screen1 .card .card-image-crop .body-type-image,
#screen2 .card .card-image-crop .body-type-image {
    width:100%!important;
    max-width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
    transform:none!important;
    filter:saturate(.96) contrast(1.02);
    transition:transform .5s var(--premium-ease),filter .5s ease;
}
#screen1 .card:hover .body-type-image,#screen2 .card:hover .body-type-image {
    transform:scale(1.045)!important;
    filter:saturate(1.05) contrast(1.03);
}
#screen1 .card>span:not(.check),#screen2 .card>span:not(.check) {
    font-size:clamp(19px,2vw,25px);
    letter-spacing:-.5px;
}

/* Etapa 3: imagen, opciones y acción ocupan el espacio útil */
#screen3 .body-selector {
    width:100%;
    min-height:390px;
    grid-template-columns:minmax(300px,.9fr) minmax(340px,1.1fr);
    gap:26px;
    padding:22px;
    border:1px solid rgba(255,255,255,.72);
    border-radius:30px;
    background:linear-gradient(135deg,rgba(255,255,255,.48),rgba(226,238,218,.5));
    box-shadow:0 20px 50px rgba(31,64,40,.1);
}
#screen3 .model-wrap {
    min-height:345px;
    border-radius:25px;
    background:radial-gradient(circle at 50% 40%,rgba(241,141,120,.18),transparent 45%),rgba(255,255,255,.5);
}
#screen3 .fitness-model { max-height:350px; filter:drop-shadow(0 20px 22px rgba(29,59,38,.2)); animation:premium-breathe 4.8s ease-in-out infinite; }
#screen3 .zone-options { gap:10px; align-content:center; }
#screen3 .zone-button {
    min-height:58px;
    border:1px solid rgba(35,75,49,.12);
    border-radius:17px;
    background:rgba(255,255,255,.72);
    box-shadow:0 9px 22px rgba(31,64,40,.08);
}
#screen3 .body-selector .zone-button--all + .zone-button { margin-top:0; }
#screen3 .continue-button { width:100%; margin-top:18px; }

/* Etapa 5: composición editorial a pantalla completa */
.welcome-screen {
    min-height:min(760px,calc(100dvh - 52px));
    display:grid!important;
    grid-template-columns:minmax(300px,.9fr) minmax(380px,1.1fr);
    grid-template-rows:auto 1fr auto;
    gap:18px 42px;
    align-items:center;
}
.welcome-brand { grid-column:1/-1; color:#2c5639; font-weight:800; }
.welcome-art { grid-column:1; grid-row:2/4; width:100%; height:100%; min-height:480px; margin:0; }
.welcome-person.welcome-athlete-square {
    width:min(92%,420px);
    height:min(92%,500px);
    object-fit:contain;
    object-position:center bottom;
    border:1px solid rgba(255,255,255,.8);
    border-radius:180px 180px 28px 28px;
    background:linear-gradient(145deg,rgba(255,255,255,.56),rgba(241,141,120,.12));
    box-shadow:0 28px 65px rgba(30,61,39,.18);
    animation:premium-breathe 5.2s ease-in-out infinite;
}
.welcome-screen .welcome-copy { grid-column:2; grid-row:2; margin:0; align-self:end; text-align:left; }
.welcome-copy h1 { max-width:620px; margin:0 0 18px; font-size:clamp(42px,5vw,70px); line-height:.96; color:var(--premium-ink); }
.welcome-copy p { max-width:560px; margin:0; color:rgba(23,37,28,.7); font-size:16px; line-height:1.65; }
.welcome-continue {
    grid-column:2;
    grid-row:3;
    width:100%;
    min-height:68px;
    border:0;
    border-radius:999px;
    color:#fff;
    background:linear-gradient(105deg,#254d33,#62805b 52%,var(--premium-salmon-500));
    box-shadow:0 18px 40px rgba(37,77,51,.25),0 0 26px rgba(241,141,120,.16);
}

/* Etapa 7: fotografía gastronómica completa y tarjetas premium */
.dance-style-screen .dance-options { gap:16px; }
.dance-style-screen .dance-option {
    min-height:148px;
    grid-template-columns:150px 1fr 34px;
    padding:10px 20px 10px 10px;
    border:1px solid rgba(255,255,255,.88);
    border-radius:25px;
    background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(255,241,234,.89));
    box-shadow:0 15px 34px rgba(31,64,40,.11);
}
.dance-style-screen .dance-style-image.food-sprite {
    width:140px!important;
    height:128px!important;
    max-width:140px!important;
    object-fit:cover!important;
    object-position:center!important;
    transform:none!important;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(31,64,40,.16);
    transition:transform .45s var(--premium-ease),filter .45s ease;
}
.dance-style-screen .dance-option:hover .dance-style-image { transform:scale(1.055) rotate(-1deg)!important; filter:saturate(1.08); }
.dance-style-screen .dance-copy strong { color:var(--premium-ink); font-size:19px; }
.dance-style-screen .dance-copy small { color:rgba(23,37,28,.58); }
.dance-style-screen .dance-copy em { color:#fff; background:linear-gradient(100deg,#bd5d4d,var(--premium-salmon-500)); }
.dance-style-screen .dance-checkbox { border-color:rgba(35,75,49,.2); }
.dance-style-screen .dance-option.selected { border-color:var(--premium-salmon-500); background:linear-gradient(145deg,#fff,#fff0ea); }

/* Acciones consistentes */
.continue-button,.profile-continue,.frequency-continue,.lavender-continue,.level-ready-continue {
    min-height:62px;
    color:#fff;
    border:0;
    border-radius:999px;
    background:linear-gradient(105deg,#254d33,#63815b 52%,var(--premium-salmon-500));
    box-shadow:0 16px 36px rgba(37,77,51,.23),0 0 24px rgba(241,141,120,.13);
    transition:transform .28s var(--premium-ease),box-shadow .28s ease,filter .28s ease;
}
.continue-button:not(:disabled):hover,.profile-continue:not(:disabled):hover,.frequency-continue:hover,.lavender-continue:not(:disabled):hover,.level-ready-continue:hover {
    transform:translateY(-4px);
    filter:saturate(1.08);
    box-shadow:0 22px 48px rgba(37,77,51,.3),0 0 32px rgba(241,141,120,.22);
}

@keyframes premium-orbit { to { transform:translate3d(35px,45px,0) scale(1.14); } }
@keyframes premium-breathe { 50% { transform:translateY(-8px) scale(1.012); } }

@media (max-width:760px) {
    body { padding:10px; }
    .screen:not(.intro-screen) { border-radius:25px; padding:18px 15px 26px; }
    #screen1 .cards,#screen2 .cards { grid-template-columns:1fr; gap:11px; }
    #screen1 .card,#screen2 .card { min-height:124px; grid-template-columns:112px 1fr 30px; border-radius:20px; }
    #screen1 .card-image-crop,#screen2 .card-image-crop { width:112px; height:124px; border-radius:19px 0 0 19px; }
    #screen3 .body-selector { grid-template-columns:1fr; min-height:0; padding:14px; }
    #screen3 .model-wrap { min-height:280px; }
    #screen3 .fitness-model { max-height:285px; }
    .welcome-screen { display:flex!important; min-height:calc(100dvh - 20px); gap:0; }
    .welcome-art { width:100%; height:320px; min-height:0; margin:5px 0 18px; }
    .welcome-person.welcome-athlete-square { width:min(82%,300px); height:310px; border-radius:130px 130px 24px 24px; }
    .welcome-screen .welcome-copy { text-align:center; }
    .welcome-copy h1 { font-size:38px; }
    .welcome-copy p { font-size:14px; }
    .welcome-continue { width:100%; margin-top:22px; }
    .dance-style-screen .dance-option { min-height:118px; grid-template-columns:104px 1fr 28px; padding:8px 12px 8px 8px; }
    .dance-style-screen .dance-style-image.food-sprite { width:98px!important; height:100px!important; }
    .dance-style-screen .dance-copy strong { font-size:16px; }
    .dance-style-screen .dance-copy small { font-size:12px; }
}

@media (max-width:430px) {
    #screen1 .card,#screen2 .card { grid-template-columns:96px 1fr 28px; min-height:112px; padding-right:12px; }
    #screen1 .card-image-crop,#screen2 .card-image-crop { width:96px; height:112px; }
    #screen1 .card>span:not(.check),#screen2 .card>span:not(.check) { font-size:17px; }
    .dance-style-screen .dance-option { grid-template-columns:88px 1fr 26px; }
    .dance-style-screen .dance-style-image.food-sprite { width:82px!important; height:96px!important; }
}

@media (prefers-reduced-motion:reduce) {
    .app::before,.app::after,.fitness-model,.welcome-person.welcome-athlete-square { animation:none!important; }
}

/* AJUSTES FINALES SOLICITADOS */
#screen1 .card-image-crop,#screen2 .card-image-crop {
    background:linear-gradient(155deg,#f1e4d8,#fbf7f2);
}
#screen1 .body-type-image,#screen2 .body-type-image {
    padding:0!important;
    object-fit:contain!important;
    object-position:center bottom!important;
}

/* Etapa 3 limpia: ninguna selección visible al iniciar */
#screen3 .body-selector {
    position:relative;
    display:grid;
    grid-template-columns:minmax(320px,.95fr) minmax(330px,1.05fr);
    align-items:stretch;
    gap:18px;
    min-height:440px;
}
#screen3 .model-wrap {
    position:relative;
    inset:auto;
    width:100%;
    height:100%;
    min-height:390px;
    overflow:hidden;
}
#screen3 .fitness-model {
    width:100%;
    height:100%;
    max-height:none;
    padding:10px 8px 0;
    object-fit:contain;
    object-position:center bottom;
    border-radius:24px;
}
#screen3 .zone-options {
    position:relative;
    width:100%;
    margin:0;
    padding:8px 0;
    align-content:center;
    gap:10px;
}
#screen3 .zone-button,#screen3 .zone-button--all {
    width:100%;
    min-height:56px;
    margin:0;
    padding:11px 14px 11px 17px;
    border:1px solid rgba(35,75,49,.11);
    border-radius:16px;
    background:rgba(255,255,255,.76);
    box-shadow:0 8px 20px rgba(31,64,40,.08);
}
#screen3 .zone-button:not(.selected) .zone-check {
    color:transparent!important;
    border-color:rgba(35,75,49,.22)!important;
    background:transparent!important;
    opacity:.55;
    transform:scale(.9);
}
#screen3 .zone-button.selected .zone-check {
    opacity:1;
    transform:scale(1);
}
#screen3 .body-marker:not(.active) {
    opacity:0!important;
    transform:scale(.3)!important;
}

/* Etapa 11: texto centrado y acción anclada abajo */
#screen11.level-ready-screen {
    min-height:min(760px,calc(100dvh - 52px));
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:22px 28px 30px;
}
#screen11 .level-ready-brand { flex:0 0 auto; }
#screen11 .level-ready-art {
    flex:0 0 auto;
    width:100%;
    height:330px;
    margin:8px 0 0;
}
#screen11 .level-ready-screen h1,#screen11 h1 {
    width:min(680px,92%);
    margin:auto auto 24px;
    text-align:center;
    font-size:clamp(30px,4vw,48px);
    line-height:1.08;
}
#screen11 .level-ready-continue {
    flex:0 0 auto;
    width:100%;
    margin-top:0;
}

/* Etapa 15: contenido más abajo y botón al pie */
#screen15.milestone-thanks {
    min-height:min(760px,calc(100dvh - 52px));
    display:flex;
    flex-direction:column;
    padding:22px 28px 30px;
}
#screen15 .dancebit-brand { flex:0 0 auto; }
#screen15 .milestone-couple-art {
    flex:0 0 auto;
    height:300px;
    margin:10px 0 0;
}
#screen15 .milestone-copy {
    width:min(760px,94%);
    margin:auto auto 20px;
    text-align:left;
}
#screen15 .milestone-copy h1 { font-size:clamp(26px,3.4vw,40px); }
#screen15 .milestone-copy p { font-size:14px; line-height:1.45; }
#screen15 .milestone-button {
    flex:0 0 auto;
    width:100%;
    min-height:62px;
    margin-top:0;
}

@media (max-width:760px) {
    #screen3 .body-selector { grid-template-columns:1fr; min-height:0; }
    #screen3 .model-wrap { min-height:330px; }
    #screen3 .zone-options { padding:0; }
    #screen11 .level-ready-art { height:285px; }
    #screen11 h1 { margin-top:auto; }
    #screen15 .milestone-couple-art { height:270px; }
}

/* PORTADA CENTRADA CON PLATOS SALUDABLES */
.app {
    left:auto!important;
    width:min(calc(100% - 28px),1180px)!important;
    margin-inline:auto!important;
}

.healthy-plate-decoration { display:none!important; }

#screenIntro.intro-screen {
    min-height:min(820px,calc(100dvh - 44px));
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:22px 30px 24px;
    overflow:hidden;
}

#screenIntro .intro-brand,
#screenIntro .intro-stage,
#screenIntro .intro-copy,
#screenIntro .intro-continue,
#screenIntro .intro-note {
    position:relative;
    z-index:4;
}

#screenIntro .intro-brand { margin-inline:auto; }
#screenIntro .intro-stage {
    width:min(520px,56vw);
    height:340px;
    margin:3px auto 0;
}
#screenIntro .intro-copy {
    width:min(620px,64vw);
    margin-top:auto;
    text-align:center;
}
#screenIntro .swirl-title { max-width:620px; }
#screenIntro .intro-copy p { max-width:520px; }
#screenIntro .intro-continue {
    width:min(760px,72vw);
    margin-inline:auto;
}
#screenIntro .intro-note { text-align:center; }

.intro-side-plate {
    position:absolute;
    z-index:3;
    top:50%;
    width:clamp(190px,21vw,290px);
    aspect-ratio:1;
    object-fit:cover;
    border:1px solid rgba(255,255,255,.62);
    border-radius:50%;
    box-shadow:0 30px 65px rgba(4,24,12,.34),0 0 45px rgba(241,141,120,.12);
    pointer-events:none;
    filter:saturate(1.06) contrast(1.02);
    will-change:transform;
}
.intro-side-plate--left {
    left:clamp(18px,4vw,58px);
    animation:intro-plate-left 6.5s ease-in-out infinite;
}
.intro-side-plate--right {
    right:clamp(18px,4vw,58px);
    animation:intro-plate-right 7.2s ease-in-out infinite;
}

#screenIntro .healthy-dishes {
    position:absolute;
    inset:0;
    z-index:1;
    overflow:hidden;
    pointer-events:none;
}
#screenIntro .healthy-dish {
    position:absolute;
    width:clamp(44px,5vw,68px);
    height:auto;
    aspect-ratio:1;
    padding:4px;
    object-fit:cover;
    border:1px solid rgba(255,255,255,.5);
    border-radius:50%;
    background:rgba(255,255,255,.25);
    box-shadow:0 14px 30px rgba(11,45,23,.18);
    opacity:.55;
    backdrop-filter:blur(6px);
    animation:small-plate-float 10s ease-in-out infinite alternate;
}
#screenIntro .healthy-dish--one { left:8%; top:10%; animation-delay:-1s; }
#screenIntro .healthy-dish--two { right:9%; top:12%; animation-delay:-5s; }
#screenIntro .healthy-dish--three { left:18%; top:64%; animation-delay:-7s; }
#screenIntro .healthy-dish--four { right:18%; top:69%; animation-delay:-3s; }
#screenIntro .healthy-dish--five { left:31%; top:28%; animation-delay:-8s; }
#screenIntro .healthy-dish--six { right:30%; top:37%; animation-delay:-2s; }

@keyframes intro-plate-left {
    0%,100% { transform:translateY(-50%) rotate(-5deg) scale(.96); }
    50% { transform:translateY(calc(-50% - 16px)) rotate(2deg) scale(1.025); }
}
@keyframes intro-plate-right {
    0%,100% { transform:translateY(-50%) rotate(5deg) scale(.96); }
    50% { transform:translateY(calc(-50% + 13px)) rotate(-2deg) scale(1.03); }
}
@keyframes small-plate-float {
    to { transform:translate3d(22px,-28px,0) rotate(16deg) scale(1.08); opacity:.78; }
}

@media (max-width:850px) {
    #screenIntro .intro-stage { width:min(470px,72vw); }
    #screenIntro .intro-copy { width:min(580px,76vw); }
    #screenIntro .intro-continue { width:min(680px,82vw); }
    .intro-side-plate { width:155px; top:48%; opacity:.92; }
    .intro-side-plate--left { left:-45px; }
    .intro-side-plate--right { right:-45px; }
}

@media (max-width:560px) {
    .app { width:min(calc(100% - 12px),1180px)!important; }
    #screenIntro.intro-screen { min-height:calc(100dvh - 20px); padding:18px 14px 20px; }
    #screenIntro .intro-stage { width:100%; height:305px; }
    #screenIntro .intro-copy { width:100%; }
    #screenIntro .intro-continue { width:100%; }
    .intro-side-plate { width:105px; top:43%; opacity:.78; }
    .intro-side-plate--left { left:-38px; }
    .intro-side-plate--right { right:-38px; }
    #screenIntro .healthy-dish { width:40px; opacity:.4; }
}

@media (prefers-reduced-motion:reduce) {
    .intro-side-plate,#screenIntro .healthy-dish { animation:none!important; }
    .intro-side-plate { transform:translateY(-50%); }
}

@media not all {
/* =========================================================
   MODO COMPACTO GLOBAL — TODAS LAS ETAPAS
   Mantiene proporciones y permite ver cada pantalla rápido.
   ========================================================= */
body { padding:10px 14px 14px; }

.app { width:min(calc(100% - 20px),1040px)!important; }

.screen:not(.intro-screen) {
    min-height:calc(100dvh - 24px)!important;
    padding:14px 22px 18px!important;
    border-radius:28px;
}

.topbar,.frequency-topbar,.lavender-topbar,.profile-topbar {
    min-height:42px!important;
    margin-bottom:6px!important;
    padding-bottom:6px!important;
}
.back-button,.frequency-back,.lavender-back,.profile-topbar button,.universal-stage-back {
    width:38px!important;
    height:38px!important;
    font-size:21px!important;
}
.logo,.frequency-logo,.lavender-logo,.dancebit-logo,.dancebit-brand { font-size:16px!important; }
.step,.frequency-step,.lavender-step { padding:5px 9px!important; font-size:12px!important; }

.progress,.frequency-progress,.lavender-progress,.profile-progress {
    height:5px!important;
    margin:4px 0 12px!important;
}

.question,.lavender-question,.profile-question {
    margin-bottom:14px!important;
}
.question--compact { margin-bottom:10px!important; }
.question h1,.frequency-screen>h1,.lavender-question h1,.profile-question h1 {
    max-width:690px!important;
    margin-bottom:6px!important;
    font-size:clamp(26px,3.4vw,38px)!important;
    line-height:1.04!important;
}
.question p,.lavender-question p,.profile-question p {
    font-size:12px!important;
    line-height:1.3!important;
}
.eyebrow { margin-bottom:6px!important; font-size:10px!important; }

/* Tarjetas generales */
.cards { gap:9px!important; }
.card {
    min-height:92px!important;
    grid-template-columns:92px 1fr 30px!important;
    gap:13px!important;
    border-radius:19px!important;
    font-size:16px!important;
}
.card img { width:92px!important; height:92px!important; object-fit:contain!important; }
.card-image-crop {
    width:92px!important;
    height:92px!important;
    border-radius:18px 0 0 18px!important;
}
.card .check { width:26px!important; height:26px!important; }

/* Etapas 1 y 2 */
#screen1 .cards,#screen2 .cards { gap:10px!important; }
#screen1 .card,#screen2 .card {
    min-height:118px!important;
    grid-template-columns:112px 1fr 30px!important;
    border-radius:21px!important;
}
#screen1 .card-image-crop,#screen2 .card-image-crop {
    width:112px!important;
    height:118px!important;
    border-radius:20px 0 0 20px!important;
}
#screen1 .card .body-type-image,#screen2 .card .body-type-image {
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center bottom!important;
    transform:none!important;
}
#screen1 .card>span:not(.check),#screen2 .card>span:not(.check) {
    font-size:19px!important;
}

/* Etapa 3: composición mediana, cuadrada y completa */
#screen3 { padding-bottom:14px!important; }
#screen3 .body-selector {
    grid-template-columns:minmax(250px,.9fr) minmax(300px,1.1fr)!important;
    gap:14px!important;
    min-height:330px!important;
    margin-bottom:10px!important;
    padding:12px!important;
    border-radius:23px!important;
}
#screen3 .model-wrap {
    min-height:300px!important;
    height:300px!important;
    border-radius:19px!important;
}
#screen3 .fitness-model {
    width:100%!important;
    height:100%!important;
    max-height:300px!important;
    padding:4px 6px 0!important;
    object-fit:contain!important;
    object-position:center bottom!important;
    border-radius:19px!important;
}
#screen3 .zone-options { gap:7px!important; padding:0!important; }
#screen3 .zone-button,#screen3 .zone-button--all {
    min-height:39px!important;
    padding:7px 11px!important;
    border-radius:12px!important;
    font-size:13px!important;
}
#screen3 .zone-check {
    width:21px!important;
    height:21px!important;
    flex-basis:21px!important;
    border-radius:6px!important;
}
#screen3 .continue-button {
    min-height:50px!important;
    margin-top:8px!important;
}

/* Etapas de frecuencia, dietas y preguntas */
.frequency-screen,.lavender-screen,.profile-step-screen,.fitness-profile-screen {
    min-height:calc(100dvh - 24px)!important;
}
.frequency-options,.lavender-options,.dance-options,.event-options {
    gap:9px!important;
}
.frequency-option,.lavender-option {
    min-height:66px!important;
    padding:10px 14px!important;
    border-radius:15px!important;
    font-size:14px!important;
}
.dance-style-screen .dance-option {
    min-height:102px!important;
    grid-template-columns:92px 1fr 26px!important;
    padding:7px 11px 7px 7px!important;
    border-radius:18px!important;
}
.dance-style-screen .dance-style-image.food-sprite {
    width:86px!important;
    height:86px!important;
    object-fit:cover!important;
    border-radius:14px!important;
}
.dance-style-screen .dance-copy strong { font-size:15px!important; }
.dance-style-screen .dance-copy small { font-size:11px!important; }
.dance-style-screen .dance-copy em { font-size:9px!important; }

.continue-button,.profile-continue,.frequency-continue,.lavender-continue,
.welcome-continue,.level-ready-continue,.milestone-button {
    min-height:50px!important;
    font-size:15px!important;
}

/* Pantallas visuales de transición */
.welcome-screen {
    min-height:calc(100dvh - 24px)!important;
    gap:10px 28px!important;
    padding:14px 22px 18px!important;
}
.welcome-art { min-height:350px!important; }
.welcome-person.welcome-athlete-square {
    width:min(82%,330px)!important;
    height:350px!important;
    object-fit:contain!important;
}
.welcome-copy h1 { font-size:clamp(34px,4vw,52px)!important; }
.welcome-copy p { font-size:13px!important; }

#screen11.level-ready-screen {
    min-height:calc(100dvh - 24px)!important;
    padding:14px 22px 18px!important;
}
#screen11 .level-ready-art { height:260px!important; margin-top:2px!important; }
#screen11 .level-ready-person.level-athlete-square {
    width:240px!important;
    height:240px!important;
    margin-top:8px!important;
    object-fit:contain!important;
}
#screen11 h1 {
    margin:auto auto 14px!important;
    font-size:clamp(27px,3.4vw,38px)!important;
}

/* Etapas 4 y 5: nombre y transformación */
.name-screen,.change-screen{width:min(940px,calc(100% - 36px));min-height:calc(100vh - 40px);margin:auto;padding:76px 20px 50px;text-align:center}
.name-stage-eyebrow{margin-bottom:24px;color:var(--salmon-light);font-size:12px;font-weight:800;letter-spacing:.22em;text-transform:uppercase}
.name-screen h1,.change-screen h1{max-width:850px;margin:0 auto;color:var(--white);font-size:clamp(38px,5vw,64px);line-height:1.05;letter-spacing:-.045em}
.change-screen h1 [data-user-name]{display:inline}.change-screen h1 em{color:var(--salmon-light);font-style:italic}
.name-stage-form{width:min(650px,100%);margin:34px auto 0;display:flex;flex-direction:column;align-items:center}
.name-stage-field{width:100%;height:68px;display:flex;align-items:center;padding:0 24px;border:1px solid rgba(255,255,255,.25);border-radius:100px;background:var(--card);box-shadow:var(--shadow)}
.name-stage-field input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--ink);font:700 18px inherit}.name-stage-field input::placeholder{color:#7d897f;font-weight:500}.name-stage-field span{color:#526257;font-size:9px;letter-spacing:.08em}
.name-stage-form>p{width:100%;margin:11px 22px 72px;text-align:left;color:rgba(255,250,245,.62);font-size:11px}
#continueName,.change-stage-next{width:min(420px,100%);height:58px;border:1px solid rgba(255,255,255,.22);border-radius:100px;background:linear-gradient(100deg,var(--moss),var(--salmon));color:var(--white);font-weight:800;letter-spacing:.15em;cursor:pointer;box-shadow:0 18px 45px rgba(8,18,11,.34);transition:.25s}
#continueName:disabled{opacity:.32;cursor:not-allowed;filter:grayscale(.45);box-shadow:none}#continueName:not(:disabled):hover,.change-stage-next:hover{transform:translateY(-3px);box-shadow:0 23px 55px rgba(242,143,121,.25)}
.change-stage-cards{position:relative;width:min(680px,100%);height:340px;margin:28px auto 12px}.change-stage-card{position:absolute;width:58%;height:92%;padding:24px;text-align:left;overflow:hidden;border:1px solid var(--border);border-radius:22px;background:linear-gradient(130deg,rgba(255,250,245,.13),rgba(242,143,121,.1));box-shadow:var(--shadow)}
.change-stage-card h2{margin:0 0 14px;font-size:13px;letter-spacing:.12em}.change-stage-card ul{margin:0;padding:0;list-style:none;color:rgba(255,250,245,.68);font-size:12px;line-height:2.1}.change-stage-before{left:3%;top:7%;filter:saturate(.55)}
.change-stage-after{right:3%;top:0;z-index:2;padding:0;background:var(--moss-deep)}.change-stage-after img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:right bottom;opacity:.72}.change-stage-after::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,25,18,.96) 0 48%,rgba(16,25,18,.16))}.change-stage-after>div{position:absolute;z-index:2;left:22px;top:24px}.change-stage-after ul{color:var(--white);line-height:1.85}.change-stage-after li::first-letter{color:var(--salmon-light)}.change-stage-note{display:block;margin-bottom:12px;color:rgba(255,250,245,.5);font-size:9px}
@media(max-width:700px){.name-screen,.change-screen{padding-top:64px}.name-stage-form>p{margin-bottom:48px}.change-stage-cards{height:350px}.change-stage-card{width:70%}.change-stage-before{left:0}.change-stage-after{right:0}.change-screen h1{font-size:32px}}

#screen15.milestone-thanks {
    min-height:calc(100dvh - 24px)!important;
    padding:14px 22px 18px!important;
}
#screen15 .milestone-couple-art { height:235px!important; margin-top:2px!important; }
#screen15 .milestone-couple-art img {
    width:210px!important;
    height:210px!important;
    object-fit:contain!important;
}
#screen15 .milestone-copy { margin:auto auto 12px!important; }
#screen15 .milestone-copy h1 { font-size:27px!important; }
#screen15 .milestone-copy p { font-size:12px!important; line-height:1.32!important; }

/* Imágenes y formularios restantes sin deformación */
.sleep-image,.milestone-couple-art img,.milestone-food-art img,
.level-ready-person,.welcome-person,.fitness-model,.final-card img {
    object-fit:contain!important;
    object-position:center!important;
}
.sleep-image { max-height:230px!important; }
.water-glasses { gap:8px!important; }
.water-glass { min-height:68px!important; }
.measure-fields input {
    height:58px!important;
    font-size:25px!important;
    border-radius:14px!important;
}
.profile-question { margin-bottom:14px!important; }
.unit-switch { margin-bottom:10px!important; }
.event-options button { min-height:76px!important; }
.fitness-card { padding:14px!important; }

@media (max-width:700px) {
    body { padding:6px!important; }
    .app { width:100%!important; }
    .screen:not(.intro-screen) { min-height:calc(100dvh - 12px)!important; padding:12px 12px 16px!important; border-radius:22px; }
    .question h1,.frequency-screen>h1,.lavender-question h1,.profile-question h1 { font-size:25px!important; }
    #screen1 .card,#screen2 .card { min-height:102px!important; grid-template-columns:92px 1fr 27px!important; }
    #screen1 .card-image-crop,#screen2 .card-image-crop { width:92px!important; height:102px!important; }
    #screen1 .card>span:not(.check),#screen2 .card>span:not(.check) { font-size:16px!important; }
    #screen3 .body-selector { grid-template-columns:1fr!important; min-height:0!important; }
    #screen3 .model-wrap { min-height:220px!important; height:220px!important; }
    #screen3 .fitness-model { max-height:220px!important; }
    #screen3 .zone-options { grid-template-columns:1fr 1fr!important; }
    #screen3 .zone-button,#screen3 .zone-button--all { min-height:38px!important; }
    #screen3 .zone-button--all { grid-column:1/-1!important; }
    .welcome-art { min-height:250px!important; height:250px!important; }
    .welcome-person.welcome-athlete-square { height:245px!important; }
    .welcome-copy h1 { font-size:31px!important; }
    #screen11 .level-ready-art { height:230px!important; }
    #screen15 .milestone-couple-art { height:215px!important; }
}

@media (max-height:700px) and (min-width:701px) {
    .screen:not(.intro-screen) { padding-top:9px!important; padding-bottom:10px!important; }
    .question,.lavender-question,.profile-question { margin-bottom:8px!important; }
    .question h1,.lavender-question h1,.profile-question h1 { font-size:25px!important; }
    #screen1 .card,#screen2 .card { min-height:92px!important; }
    #screen1 .card-image-crop,#screen2 .card-image-crop { height:92px!important; }
    #screen3 .body-selector { min-height:285px!important; }
    #screen3 .model-wrap,#screen3 .fitness-model { height:260px!important; min-height:260px!important; max-height:260px!important; }
}
}

/* ETAPA 3 — TAMAÑO MEDIANO Y PROPORCIONADO */
#screen3 { padding:16px 22px 18px!important; }
#screen3 .question--compact { margin-bottom:12px!important; }
#screen3 .body-selector {
    display:grid!important;
    grid-template-columns:minmax(290px,.95fr) minmax(320px,1.05fr)!important;
    align-items:stretch!important;
    gap:16px!important;
    min-height:385px!important;
    margin-bottom:12px!important;
    padding:15px!important;
    border-radius:25px!important;
}
#screen3 .model-wrap {
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    height:355px!important;
    min-height:355px!important;
    overflow:hidden!important;
    border-radius:21px!important;
}
#screen3 .fitness-model {
    width:100%!important;
    height:100%!important;
    max-height:355px!important;
    padding:6px 8px 0!important;
    object-fit:contain!important;
    object-position:center bottom!important;
    border-radius:21px!important;
}
#screen3 .zone-options {
    position:relative!important;
    width:100%!important;
    margin:0!important;
    padding:5px 0!important;
    align-content:center!important;
    gap:8px!important;
}
#screen3 .zone-button,#screen3 .zone-button--all {
    width:100%!important;
    min-height:46px!important;
    margin:0!important;
    padding:8px 13px!important;
    border-radius:14px!important;
    font-size:14px!important;
}
#screen3 .zone-check {
    width:23px!important;
    height:23px!important;
    flex-basis:23px!important;
}
#screen3 .continue-button {
    width:100%!important;
    min-height:54px!important;
    margin-top:8px!important;
}
#screen3 .zone-button:not(.selected) .zone-check {
    color:transparent!important;
    border-color:rgba(35,75,49,.22)!important;
    background:transparent!important;
    opacity:.55!important;
}
#screen3 .body-marker:not(.active) {
    opacity:0!important;
    transform:scale(.3)!important;
}

@media (max-width:700px) {
    #screen3 { padding:13px 13px 16px!important; }
    #screen3 .body-selector {
        grid-template-columns:1fr!important;
        min-height:0!important;
        padding:12px!important;
    }
    #screen3 .model-wrap {
        height:270px!important;
        min-height:270px!important;
    }
    #screen3 .fitness-model { max-height:270px!important; }
    #screen3 .zone-options {
        grid-template-columns:1fr 1fr!important;
        gap:7px!important;
    }
    #screen3 .zone-button--all { grid-column:1/-1!important; }
    #screen3 .zone-button,#screen3 .zone-button--all {
        min-height:43px!important;
        font-size:13px!important;
    }
}

@media (max-height:720px) and (min-width:701px) {
    #screen3 .body-selector { min-height:340px!important; }
    #screen3 .model-wrap {
        height:315px!important;
        min-height:315px!important;
    }
    #screen3 .fitness-model { max-height:315px!important; }
    #screen3 .zone-button,#screen3 .zone-button--all { min-height:41px!important; }
}

/* ETAPA 3 — BOTONES SIN SUPERPOSICIÓN Y MARCADORES PRECISOS */
#screen3 .zone-options {
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-auto-flow:row!important;
}
#screen3 .zone-button--all,
#screen3 .body-selector .zone-button--all {
    position:relative!important;
    inset:auto!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    width:100%!important;
    min-height:46px!important;
    margin:0!important;
    grid-column:1/-1!important;
    grid-row:auto!important;
}
#screen3 .zone-button--all + .zone-button,
#screen3 .body-selector .zone-button--all + .zone-button {
    margin-top:0!important;
}

#screen3 .model-wrap { isolation:isolate!important; }
#screen3 .fitness-model { position:relative!important; z-index:1!important; }
#screen3 .body-marker {
    position:absolute!important;
    z-index:8!important;
    width:17px!important;
    height:17px!important;
    padding:0!important;
    border:3px solid #fff!important;
    border-radius:50%!important;
    background:#15965b!important;
    visibility:hidden!important;
    opacity:0!important;
    transform:scale(.35)!important;
    pointer-events:none!important;
}
#screen3 .body-marker.active {
    visibility:visible!important;
    opacity:1!important;
    transform:scale(1)!important;
    box-shadow:0 0 0 7px rgba(44,190,105,.2),0 4px 14px rgba(11,83,45,.38)!important;
}
#screen3 .body-marker::after {
    content:""!important;
    position:absolute!important;
    left:14px!important;
    top:5px!important;
    width:64px!important;
    height:2px!important;
    border-radius:2px!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 1px 4px rgba(7,60,34,.3)!important;
    transform-origin:left center!important;
}
/* Coordenadas sobre la mujer completa dentro del panel mediano */
#screen3 .marker-chest  { left:50%!important; top:27%!important; }
#screen3 .marker-arms   { left:39%!important; top:35%!important; }
#screen3 .marker-back   { left:58%!important; top:36%!important; }
#screen3 .marker-abs    { left:50%!important; top:40%!important; }
#screen3 .marker-glutes { left:47%!important; top:53%!important; }
#screen3 .marker-legs   { left:51%!important; top:70%!important; }
#screen3 .marker-arms::after   { width:76px!important; transform:rotate(-7deg)!important; }
#screen3 .marker-back::after   { width:54px!important; transform:rotate(6deg)!important; }
#screen3 .marker-glutes::after { width:66px!important; transform:rotate(-5deg)!important; }
#screen3 .marker-legs::after   { width:58px!important; transform:rotate(4deg)!important; }

@media (max-width:700px) {
    #screen3 .zone-options { grid-template-columns:1fr 1fr!important; }
    #screen3 .zone-button--all { grid-column:1/-1!important; }
    #screen3 .body-marker::after { width:48px!important; }
}

/* =========================================================
   TEMA DEFINITIVO — MUSGO OSCURO + SALMÓN EN TODAS LAS ETAPAS
   ========================================================= */
:root {
    --stage-moss-950:#0b1510;
    --stage-moss-900:#11231a;
    --stage-moss-800:#1b3528;
    --stage-moss-700:#2f5140;
    --stage-salmon:#ef8d78;
    --stage-salmon-light:#ffc4b0;
    --stage-cream:#fff3e8;
    --stage-muted:rgba(255,243,232,.7);
}

body {
    background:
        radial-gradient(circle at 8% 12%,rgba(239,141,120,.17),transparent 27%),
        radial-gradient(circle at 92% 88%,rgba(78,113,87,.28),transparent 34%),
        linear-gradient(135deg,#08110d,#16291f 58%,#253c2f)!important;
}

.screen:not(.intro-screen),
.frequency-screen,.lavender-screen,.profile-step-screen,.fitness-profile-screen,
.welcome-screen,.level-ready-screen,.milestone-screen {
    color:var(--stage-cream)!important;
    border:1px solid rgba(255,196,176,.24)!important;
    background:
        radial-gradient(circle at 18% 12%,rgba(239,141,120,.12),transparent 29%),
        radial-gradient(circle at 90% 82%,rgba(74,112,84,.25),transparent 35%),
        linear-gradient(145deg,var(--stage-moss-900),var(--stage-moss-800) 58%,#15291f)!important;
    box-shadow:0 34px 90px rgba(2,9,5,.48),inset 0 1px 0 rgba(255,255,255,.08)!important;
}

.screen:not(.intro-screen)::after {
    border-color:rgba(239,141,120,.07)!important;
}

.screen:not(.intro-screen) h1,
.screen:not(.intro-screen) h2,
.screen:not(.intro-screen) h3,
.screen:not(.intro-screen) .question h1,
.screen:not(.intro-screen) .lavender-question h1,
.screen:not(.intro-screen) .profile-question h1,
.screen:not(.intro-screen) .welcome-copy h1,
.screen:not(.intro-screen) .milestone-copy {
    color:var(--stage-cream)!important;
    text-shadow:0 8px 30px rgba(0,0,0,.24)!important;
}
.screen:not(.intro-screen) p,
.screen:not(.intro-screen) .question p,
.screen:not(.intro-screen) .lavender-question p,
.screen:not(.intro-screen) .profile-question p,
.screen:not(.intro-screen) .welcome-copy p {
    color:var(--stage-muted)!important;
}

.screen:not(.intro-screen) .logo,
.screen:not(.intro-screen) .frequency-logo,
.screen:not(.intro-screen) .lavender-logo,
.screen:not(.intro-screen) .dancebit-logo,
.screen:not(.intro-screen) .dancebit-brand,
.screen:not(.intro-screen) .level-ready-brand,
.screen:not(.intro-screen) .welcome-brand {
    color:var(--stage-cream)!important;
}
.screen:not(.intro-screen) .eyebrow,
.screen:not(.intro-screen) .step,
.screen:not(.intro-screen) .frequency-step strong,
.screen:not(.intro-screen) .lavender-step strong {
    color:var(--stage-salmon-light)!important;
}

.screen:not(.intro-screen) .topbar,
.screen:not(.intro-screen) .frequency-topbar,
.screen:not(.intro-screen) .lavender-topbar,
.screen:not(.intro-screen) .profile-topbar {
    color:var(--stage-cream)!important;
    border-bottom-color:rgba(255,196,176,.18)!important;
}
.screen:not(.intro-screen) .back-button,
.screen:not(.intro-screen) .frequency-back,
.screen:not(.intro-screen) .lavender-back,
.screen:not(.intro-screen) .profile-topbar button,
.screen:not(.intro-screen) .universal-stage-back {
    color:var(--stage-cream)!important;
    border-color:rgba(255,196,176,.3)!important;
    background:rgba(255,255,255,.07)!important;
}

.screen:not(.intro-screen) .progress,
.screen:not(.intro-screen) .frequency-progress,
.screen:not(.intro-screen) .lavender-progress,
.screen:not(.intro-screen) .profile-progress {
    border-color:rgba(255,196,176,.16)!important;
    background:rgba(0,0,0,.26)!important;
}
.screen:not(.intro-screen) .progress-bar,
.screen:not(.intro-screen) .frequency-progress-bar,
.screen:not(.intro-screen) .lavender-progress span,
.screen:not(.intro-screen) .profile-progress span {
    background:linear-gradient(90deg,#53715b,var(--stage-salmon),var(--stage-salmon-light))!important;
    box-shadow:0 0 18px rgba(239,141,120,.42)!important;
}

/* Superficies legibles sobre el fondo oscuro */
.screen:not(.intro-screen) .card,
.screen:not(.intro-screen) .frequency-option,
.screen:not(.intro-screen) .lavender-option,
.screen:not(.intro-screen) .dance-option,
.screen:not(.intro-screen) .zone-button,
.screen:not(.intro-screen) .event-options button,
.screen:not(.intro-screen) .fitness-card,
.screen:not(.intro-screen) .measure-fields input,
.screen:not(.intro-screen) .event-date-field input {
    color:#183023!important;
    border-color:rgba(255,255,255,.72)!important;
    background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(255,237,229,.91))!important;
    box-shadow:0 14px 34px rgba(0,0,0,.2),inset 0 1px 0 #fff!important;
}
.screen:not(.intro-screen) .card.selected,
.screen:not(.intro-screen) .frequency-option.selected,
.screen:not(.intro-screen) .lavender-option.selected,
.screen:not(.intro-screen) .dance-option.selected,
.screen:not(.intro-screen) .zone-button.selected {
    border-color:var(--stage-salmon)!important;
    background:linear-gradient(145deg,#fff,#ffe6dd)!important;
}

.screen:not(.intro-screen) .continue-button,
.screen:not(.intro-screen) .welcome-continue,
.screen:not(.intro-screen) .frequency-continue,
.screen:not(.intro-screen) .lavender-continue,
.screen:not(.intro-screen) .level-ready-continue,
.screen:not(.intro-screen) .profile-continue,
.screen:not(.intro-screen) .milestone-button {
    color:#fff!important;
    border:1px solid rgba(255,196,176,.4)!important;
    background:linear-gradient(105deg,#496a52,#bd6d5d 55%,var(--stage-salmon))!important;
    box-shadow:0 17px 38px rgba(0,0,0,.28),0 0 24px rgba(239,141,120,.13)!important;
}
.screen:not(.intro-screen) .continue-button:disabled,
.screen:not(.intro-screen) .lavender-continue:disabled,
.screen:not(.intro-screen) .profile-continue:disabled {
    color:rgba(255,243,232,.38)!important;
    border-color:rgba(255,255,255,.08)!important;
    background:rgba(255,255,255,.08)!important;
    box-shadow:none!important;
}

/* Etapa de bienvenida conforme al mockup aprobado */
#screen5.welcome-screen {
    min-height:min(780px,calc(100dvh - 44px))!important;
    display:grid!important;
    grid-template-columns:minmax(300px,.92fr) minmax(390px,1.08fr)!important;
    grid-template-rows:auto 1fr auto!important;
    align-items:center!important;
    gap:18px 42px!important;
    padding:22px 34px 30px!important;
}
#screen5 .welcome-brand {
    grid-column:1/-1!important;
    grid-row:1!important;
    justify-self:center!important;
    margin:0!important;
    color:var(--stage-cream)!important;
}
#screen5 .welcome-art {
    grid-column:1!important;
    grid-row:2/4!important;
    position:relative!important;
    width:100%!important;
    height:100%!important;
    min-height:560px!important;
    margin:0!important;
    display:grid!important;
    place-items:center!important;
    overflow:hidden!important;
    border:1px solid rgba(255,196,176,.42)!important;
    border-radius:190px 190px 28px 28px!important;
    background:
        radial-gradient(circle at 50% 35%,rgba(255,243,232,.16),transparent 45%),
        linear-gradient(160deg,rgba(255,255,255,.08),rgba(239,141,120,.08))!important;
    box-shadow:0 26px 60px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.12)!important;
}
#screen5 .welcome-orbit { opacity:.22!important; }
#screen5 .welcome-person.welcome-athlete-square {
    position:relative!important;
    inset:auto!important;
    width:92%!important;
    height:92%!important;
    max-width:none!important;
    margin:auto!important;
    object-fit:contain!important;
    object-position:center bottom!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    filter:drop-shadow(0 24px 25px rgba(0,0,0,.32))!important;
}
#screen5 .welcome-copy {
    grid-column:2!important;
    grid-row:2!important;
    align-self:center!important;
    width:100%!important;
    margin:0!important;
    text-align:center!important;
}
#screen5 .welcome-copy h1 {
    max-width:620px!important;
    margin:0 auto 24px!important;
    color:var(--stage-cream)!important;
    font-family:'Playfair Display',Georgia,serif!important;
    font-size:clamp(48px,5.8vw,78px)!important;
    line-height:.94!important;
    letter-spacing:-.045em!important;
}
#screen5 .welcome-copy p {
    max-width:620px!important;
    margin:0 auto!important;
    color:var(--stage-salmon-light)!important;
    font-size:13px!important;
    line-height:1.6!important;
    letter-spacing:.04em!important;
}
#screen5 .welcome-continue {
    grid-column:2!important;
    grid-row:3!important;
    align-self:end!important;
    width:100%!important;
    min-height:68px!important;
    margin:0!important;
    border-radius:999px!important;
    font-size:18px!important;
}

@media (max-width:760px) {
    #screen5.welcome-screen {
        display:flex!important;
        flex-direction:column!important;
        min-height:calc(100dvh - 20px)!important;
        padding:18px 16px 22px!important;
        gap:0!important;
    }
    #screen5 .welcome-art {
        width:min(100%,340px)!important;
        height:370px!important;
        min-height:370px!important;
        margin:12px auto 22px!important;
        border-radius:150px 150px 24px 24px!important;
    }
    #screen5 .welcome-copy { text-align:center!important; }
    #screen5 .welcome-copy h1 {
        font-size:clamp(38px,12vw,52px)!important;
        margin-bottom:15px!important;
    }
    #screen5 .welcome-copy p { font-size:12px!important; }
    #screen5 .welcome-continue { width:100%!important; margin-top:auto!important; }
}

/* La etapa 5 solo se muestra cuando el flujo elimina el atributo hidden. */
#screen5[hidden] {
    display:none!important;
}

/* CONTRASTE DE TEXTO EN TARJETAS CLARAS — SIN CAMBIAR FONDOS */
#screen21 .fitness-card,
#screen21 .fitness-card h2,
#screen21 .fitness-card h3 {
    color:#183023!important;
}
#screen21 .bmi-labels,
#screen21 .bmi-categories {
    color:#7b847e!important;
}
#screen21 .bmi-risk p,
#screen21 .bmi-risk strong,
#screen21 .bmi-risk #riskText {
    color:#28503c!important;
}
#screen21 .profile-summary p,
#screen21 .profile-summary strong {
    color:#183023!important;
}
#screen21 .profile-summary small {
    color:#687a70!important;
}

#screen18 .easy-win strong {
    color:#2e7c48!important;
}
#screen18 .easy-win b {
    color:#28503b!important;
}
#screen18 .easy-win p {
    color:#5c725f!important;
}

/* Fondo exterior dorado solo en las etapas; la portada conserva su fondo */
html,
body {
    background:
        radial-gradient(circle at 12% 14%,rgba(255,224,145,.32),transparent 31%),
        radial-gradient(circle at 88% 82%,rgba(124,82,16,.38),transparent 35%),
        linear-gradient(135deg,#5b3d0d 0%,#a77b25 48%,#d2ad58 100%)!important;
    background-attachment:fixed!important;
}

html:has(#screenIntro.active),
body:has(#screenIntro.active) {
    background:
        radial-gradient(circle at 10% 0%,rgba(241,141,120,.21),transparent 29%),
        radial-gradient(circle at 90% 100%,rgba(112,136,109,.32),transparent 34%),
        linear-gradient(135deg,var(--premium-moss-950),var(--premium-moss-800) 55%,#314535)!important;
    background-attachment:fixed!important;
}

/* Etapa 11: título horizontal debajo de la imagen */
#screen11 h1 {
    width:100%!important;
    max-width:none!important;
    white-space:nowrap!important;
    text-align:center!important;
    font-size:clamp(12px,3.2vw,30px)!important;
}

/* Estructura final de la etapa de nombre */
#screenName:not([hidden]) {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    width:min(calc(100% - 24px),1040px)!important;
    min-height:calc(100dvh - 24px)!important;
    margin:12px auto!important;
    padding:70px clamp(24px,7vw,100px) 34px!important;
    border:1px solid rgba(255,250,245,.12)!important;
    border-radius:30px!important;
    background:linear-gradient(145deg,rgba(16,25,18,.97),rgba(39,56,44,.96) 58%,rgba(75,93,67,.94))!important;
    text-align:center!important;
    box-shadow:0 28px 80px rgba(8,18,11,.38)!important;
}
#screenName .name-stage-eyebrow {
    width:100%!important;
    margin:0 0 22px!important;
    color:var(--salmon-light)!important;
    font-size:12px!important;
    font-weight:800!important;
    letter-spacing:.22em!important;
    text-align:center!important;
}
#screenName>h1 {
    width:100%!important;
    max-width:none!important;
    margin:0 0 38px!important;
    color:var(--white)!important;
    font-size:clamp(42px,5.5vw,68px)!important;
    line-height:1!important;
    letter-spacing:-.05em!important;
    text-align:center!important;
}
#screenName .name-stage-form {
    width:min(650px,100%)!important;
    min-height:300px!important;
    margin:0 auto!important;
    display:flex!important;
    flex:1!important;
    flex-direction:column!important;
    align-items:center!important;
}
#screenName .name-stage-field {
    width:100%!important;
    min-height:68px!important;
    display:flex!important;
    align-items:center!important;
    padding:0 24px!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:100px!important;
    background:#fffaf5!important;
    box-shadow:0 20px 55px rgba(8,18,11,.28)!important;
}
#screenName .name-stage-field input {
    width:auto!important;
    min-width:0!important;
    height:auto!important;
    flex:1!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    outline:0!important;
    background:transparent!important;
    color:#1d2a21!important;
    font-size:18px!important;
    font-weight:600!important;
}
#screenName .name-stage-field input::placeholder { color:#7d897f!important; opacity:1!important; }
#screenName .name-stage-field span { flex:0 0 auto!important; color:#526257!important; font-size:9px!important; }
#screenName .name-stage-form>p {
    width:100%!important;
    margin:11px 20px 0!important;
    color:rgba(255,250,245,.62)!important;
    font-size:11px!important;
    text-align:left!important;
}
#screenName #continueName {
    width:min(420px,100%)!important;
    min-height:58px!important;
    margin:auto auto 0!important;
    padding:0 28px!important;
    border:1px solid rgba(255,255,255,.2)!important;
    border-radius:100px!important;
    background:linear-gradient(100deg,var(--moss),var(--salmon))!important;
    color:var(--white)!important;
    font-size:14px!important;
    font-weight:800!important;
    letter-spacing:.15em!important;
}
#screenName #continueName:disabled { opacity:.32!important; cursor:not-allowed!important; filter:grayscale(.45)!important; }
@media(max-width:700px){#screenName:not([hidden]){padding:38px 18px 28px!important}#screenName>h1{font-size:40px!important;margin-bottom:28px!important}#screenName .name-stage-form{min-height:300px!important}}

/* Estructura final de la etapa Antes / Después */
#screenChange:not([hidden]) {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    width:min(calc(100% - 24px),1040px)!important;
    min-height:calc(100dvh - 24px)!important;
    margin:12px auto!important;
    padding:42px clamp(22px,5vw,72px) 28px!important;
    border:1px solid rgba(255,250,245,.12)!important;
    border-radius:30px!important;
    background:linear-gradient(145deg,rgba(16,25,18,.98),rgba(39,56,44,.96) 58%,rgba(75,93,67,.94))!important;
    text-align:center!important;
    box-shadow:0 28px 80px rgba(8,18,11,.38)!important;
}
#screenChange .name-stage-eyebrow {
    margin:0 0 18px!important;
    color:var(--salmon-light)!important;
    font-size:12px!important;
    font-weight:800!important;
    letter-spacing:.22em!important;
}
#screenChange>h1 {
    width:100%!important;
    max-width:880px!important;
    margin:0 auto 22px!important;
    color:var(--white)!important;
    font-size:clamp(34px,4.5vw,58px)!important;
    line-height:1.04!important;
    letter-spacing:-.045em!important;
    text-align:center!important;
}
#screenChange>h1 [data-user-name] { display:inline!important; }
#screenChange>h1 em { color:var(--salmon-light)!important; font-style:italic!important; }
#screenChange .change-stage-cards {
    position:relative!important;
    width:min(680px,100%)!important;
    height:300px!important;
    margin:0 auto 10px!important;
}
#screenChange .change-stage-card {
    position:absolute!important;
    width:58%!important;
    height:92%!important;
    min-height:0!important;
    margin:0!important;
    padding:24px!important;
    overflow:hidden!important;
    border:1px solid rgba(255,192,173,.32)!important;
    border-radius:22px!important;
    background:linear-gradient(130deg,rgba(255,250,245,.13),rgba(242,143,121,.09))!important;
    color:var(--white)!important;
    text-align:left!important;
    box-shadow:0 24px 60px rgba(8,18,11,.35)!important;
}
#screenChange .change-stage-before { left:3%!important; top:7%!important; z-index:1!important; filter:saturate(.55)!important; }
#screenChange .change-stage-after { right:3%!important; top:0!important; z-index:2!important; padding:0!important; background:var(--moss-deep)!important; }
#screenChange .change-stage-card h2 { margin:0 0 14px!important; color:var(--white)!important; font-size:13px!important; letter-spacing:.12em!important; }
#screenChange .change-stage-card ul { margin:0!important; padding:0!important; list-style:none!important; color:rgba(255,250,245,.68)!important; font-size:12px!important; line-height:2.05!important; }
#screenChange .change-stage-after img { position:absolute!important; inset:0!important; width:100%!important; height:100%!important; object-fit:contain!important; object-position:right bottom!important; opacity:.64!important; }
#screenChange .change-stage-after::after { content:""!important; position:absolute!important; inset:0!important; background:linear-gradient(90deg,rgba(16,25,18,.97) 0 48%,rgba(16,25,18,.16))!important; }
#screenChange .change-stage-after>div { position:absolute!important; z-index:2!important; left:22px!important; top:24px!important; }
#screenChange .change-stage-after ul { color:var(--white)!important; line-height:1.8!important; }
#screenChange .change-stage-after li::first-letter { color:var(--salmon-light)!important; }
#screenChange .change-stage-note { margin:0 0 10px!important; color:rgba(255,250,245,.48)!important; font-size:9px!important; }
#screenChange .change-stage-next {
    width:min(420px,100%)!important;
    min-height:54px!important;
    margin:0 auto!important;
    border:1px solid rgba(255,255,255,.2)!important;
    border-radius:100px!important;
    background:linear-gradient(100deg,var(--moss),var(--salmon))!important;
    color:var(--white)!important;
    font-size:14px!important;
    font-weight:800!important;
    letter-spacing:.15em!important;
}
@media(max-width:700px){#screenChange:not([hidden]){padding:38px 16px 24px!important}#screenChange>h1{font-size:31px!important}#screenChange .change-stage-cards{height:330px!important}#screenChange .change-stage-card{width:70%!important}#screenChange .change-stage-before{left:0!important}#screenChange .change-stage-after{right:0!important}}

/* Ajustes puntuales solicitados */
.intro-side-plate--right {
    width:clamp(165px,18vw,245px)!important;
}
#screenName .name-stage-field {
    margin-top:32px!important;
}
#screenName #continueName {
    margin:auto auto 50px!important;
}

/* Conexiones exactas entre cada zona corporal y su botón */
#screen3 .body-marker::after {
    display:none!important;
}
#screen3 .body-connector-layer {
    position:absolute;
    inset:0;
    z-index:7;
    width:100%;
    height:100%;
    overflow:visible;
    pointer-events:none;
}
#screen3 .body-connector-line {
    fill:none;
    stroke:rgba(255,255,255,.98);
    stroke-width:2;
    stroke-linecap:round;
    filter:drop-shadow(0 1px 2px rgba(7,60,34,.35));
}

/* Corrección puntual: glúteos y modelo estático */
#screen3 .marker-glutes {
    left:47%!important;
    top:47%!important;
}
#screen3 .fitness-model {
    animation:none!important;
    transform:none!important;
}
#screen3 .marker-back {
    left:58%!important;
    top:30%!important;
}
#screen3 .marker-legs {
    left:51%!important;
    top:59%!important;
}

/* Ajustes puntuales de títulos solicitados */
#screen11 h1 {
    position:relative!important;
    top:-18px!important;
}
#screen15 .milestone-copy h1 {
    width:100%!important;
    max-width:none!important;
    white-space:nowrap!important;
}

/* Todos los títulos de las etapas en una sola línea */
h1:is(#title1,#title2,#title3,#title4,#title5,#titleName,#titleChange,#title6,#title7,#title8,#title9,#title10,#title11,#title12,#title13,#title14,#title15,#title16,#title17,#title18,#title19,#titleEvent,#titleEventDate,#title20,#title21) {
    width:100%!important;
    max-width:none!important;
    white-space:nowrap!important;
    text-wrap:nowrap!important;
}
#title10,#titleEvent {
    font-size:clamp(11px,2.45vw,26px)!important;
}
@media(max-width:700px) {
    h1:is(#title1,#title2,#title3,#title4,#title5,#titleName,#titleChange,#title6,#title7,#title8,#title9,#title11,#title12,#title13,#title14,#title15,#title16,#title17,#title18,#title19,#titleEventDate,#title20,#title21) {
        font-size:clamp(10px,4vw,24px)!important;
    }
    #title10,#titleEvent {
        font-size:clamp(7px,2.25vw,15px)!important;
    }
}

/* Esta etapa conserva su título original en dos líneas */
#screenChange #titleChange {
    white-space:normal!important;
    text-wrap:balance!important;
}

/* La etapa de bienvenida conserva su título original */
#screen5 #title5 {
    white-space:normal!important;
    text-wrap:balance!important;
}

/* Título de la etapa "casi terminamos" un poco más arriba */
#screen20 #title20 {
    position:relative!important;
    top:-28px!important;
}

/* Etapas finales 24 y 25 */
.closing-career-screen,
.closing-offer-screen {
    min-height:calc(100dvh - 24px)!important;
    overflow:hidden!important;
    padding:22px 28px 26px!important;
}
.closing-stage-header {
    min-height:34px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-left:54px;
    color:var(--stage-salmon-light,#ffc4b0);
}
.closing-stage-header p {
    margin:0;
    font-size:12px;
    font-weight:800;
    letter-spacing:.2em;
}
.closing-stage-header span {
    font-size:11px;
    letter-spacing:.14em;
}
.closing-stage-progress {
    height:1px;
    margin:7px 0 14px;
    background:rgba(255,243,232,.15);
}
.closing-stage-progress span {
    width:96%;
    height:100%;
    display:block;
    background:linear-gradient(90deg,var(--stage-salmon,#ef8d78),rgba(239,141,120,.2));
}
.closing-career-layout {
    min-height:0;
    display:grid;
    grid-template-columns:minmax(0,1.28fr) minmax(290px,.72fr);
    gap:28px;
    align-items:stretch;
}
.closing-career-copy {
    min-width:0;
    display:flex;
    flex-direction:column;
    padding:8px 0 0;
}
.closing-career-copy h1 {
    width:100%;
    max-width:720px;
    margin:0 0 18px;
    color:var(--stage-cream,#fff3e8);
    font-family:'Playfair Display',Georgia,serif;
    font-size:clamp(32px,4.15vw,58px);
    line-height:.98;
    letter-spacing:-.045em;
    text-wrap:balance;
}
.closing-career-copy h1 em {
    color:var(--stage-salmon-light,#ffc4b0);
    font-weight:500;
}
.closing-copy-panel,
.closing-offer-panel {
    min-height:170px;
    padding:24px;
    border:1px solid rgba(255,196,176,.5);
    border-radius:22px;
    color:var(--stage-cream,#fff3e8);
    background:rgba(6,20,13,.38);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 20px 45px rgba(0,0,0,.2);
}
.closing-copy-panel {
    flex:1;
    font-size:15px;
}
.closing-action-button,
.closing-offer-actions button,
.closing-offer-actions a,
.closing-more-button {
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,213,196,.42);
    border-radius:14px;
    color:#fff;
    font-weight:800;
    text-align:center;
    text-decoration:none;
    cursor:pointer;
    background:linear-gradient(105deg,#496a52,#bd6d5d 55%,var(--stage-salmon,#ef8d78));
    box-shadow:0 15px 34px rgba(0,0,0,.25);
    transition:transform .2s ease,filter .2s ease;
}
.closing-action-button:hover,
.closing-offer-actions button:hover,
.closing-offer-actions a:hover,
.closing-more-button:hover {
    transform:translateY(-2px);
    filter:brightness(1.06);
}
.closing-action-button {
    width:min(420px,100%);
    margin:16px auto 0;
    border-radius:999px;
    letter-spacing:.08em;
}
.closing-action-button span { margin-left:8px; }
.closing-presenter-arch {
    position:relative;
    min-width:0;
    margin:0;
    overflow:hidden;
    border:1px solid rgba(255,196,176,.52);
    border-radius:220px 220px 24px 24px;
    background:radial-gradient(circle at 50% 42%,rgba(112,148,107,.32),transparent 48%),rgba(5,18,12,.34);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 24px 55px rgba(0,0,0,.24);
}
.closing-presenter-arch::after {
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(180deg,transparent 62%,rgba(8,24,15,.34));
}
.closing-presenter-arch img {
    position:absolute;
    z-index:1;
    inset:12px 8px 0;
    width:calc(100% - 16px);
    height:calc(100% - 12px);
    object-fit:contain;
    object-position:center bottom;
    filter:drop-shadow(0 20px 22px rgba(0,0,0,.28));
}
.closing-offer-screen:not([hidden]) {
    display:grid!important;
    grid-template-columns:minmax(180px,.78fr) minmax(360px,1.5fr) minmax(180px,.78fr);
    gap:18px;
    align-items:stretch;
}
.closing-offer-center {
    min-width:0;
    display:grid;
    grid-template-rows:minmax(210px,1fr) auto auto;
    gap:14px;
}
.closing-offer-panel {
    display:flex;
    justify-content:center;
    font-size:15px;
}
.closing-offer-actions {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}
.closing-more-button {
    width:78%;
    margin:0 auto;
}
.closing-presenter-arch--woman img {
    inset:0 auto 0 -6%;
    width:132%;
    height:100%;
}
.closing-presenter-arch--man img {
    inset:0 auto 0 -16%;
    width:118%;
    height:100%;
}
.closing-offer-actions button,
.closing-offer-actions a {
    min-height:62px;
    padding:8px 10px;
    font-size:clamp(9px,1.05vw,12px);
    line-height:1.2;
}
.closing-more-button {
    padding:8px 14px;
    font-size:clamp(10px,1.15vw,13px);
    line-height:1.2;
}

/* La cuadrícula de nueve opciones aprovecha toda la altura disponible */
#screenEvent:not([hidden]) {
    display:flex!important;
    flex-direction:column!important;
}
#screenEvent .event-options {
    width:100%;
    min-height:0;
    flex:1 1 auto;
    grid-template-rows:repeat(3,minmax(0,1fr));
    align-content:stretch;
    margin-top:12px;
    padding-bottom:18px;
}
#screenEvent .event-options button {
    width:100%;
    height:100%;
    min-height:0!important;
}

@media(max-width:760px) {
    .closing-career-screen,.closing-offer-screen { overflow:auto!important; padding:18px 14px 22px!important; }
    .closing-career-layout { grid-template-columns:1fr; }
    .closing-career-copy h1 { font-size:clamp(28px,8vw,42px); }
    .closing-presenter-arch--explaining { min-height:410px; }
    .closing-offer-screen:not([hidden]) { grid-template-columns:1fr 1fr; }
    .closing-offer-center { grid-column:1/-1; grid-row:1; }
    .closing-presenter-arch--woman,.closing-presenter-arch--man { min-height:390px; }
}

/* Título principal en dorado, a juego con el fondo exterior */
#screenIntro .swirl-title > span:not(.swirl-space) {
    color:transparent!important;
    background:linear-gradient(100deg,#f3d184 0%,#c99a43 48%,#f0c66c 100%)!important;
    background-clip:text!important;
    -webkit-background-clip:text!important;
}

/* Único cambio de tema solicitado: exterior amarillo y etapas azul eléctrico */
html,
body,
html:has(#screenIntro.active),
body:has(#screenIntro.active) {
    background:#ffdf00!important;
    background-image:none!important;
}
body .app > :is(#screenIntro,#screen1,#screen2,#screen3,#screen4,#screen5,#screenName,#screenChange,#screen6,#screen7,#screen8,#screen9,#screen10,#screen11,#screen12,#screen13,#screen14,#screen15,#screen16,#screen17,#screen18,#screen19,#screenEvent,#screenEventDate,#screen20,#screen21,#screen22,#screen23).screen {
    background:#065cff!important;
    background-image:none!important;
}

/* Formato uniforme y limpio para todos los contadores de etapas. */
.step,
.frequency-step,
.lavender-step,
.profile-topbar > div:last-child,
.closing-stage-header > span {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:4px!important;
    width:auto!important;
    min-width:0!important;
    justify-self:end!important;
    padding:0!important;
    color:rgba(255,255,255,.82)!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
}

.step strong,
.frequency-step strong,
.lavender-step strong,
.profile-topbar > div:last-child strong,
.closing-stage-header > span strong {
    color:#ff8b6f!important;
    font-weight:800!important;
}

/* Botones Continuar en amarillo claro con texto de alto contraste */
button[id^="continue"],
#finish21,
.closing-action-button {
    color:#10253f!important;
    border-color:#d9b900!important;
    background:#ffdf00!important;
    background-image:none!important;
    box-shadow:0 14px 30px rgba(34,43,24,.22)!important;
    text-shadow:none!important;
}
button[id^="continue"]:disabled {
    color:#10253f!important;
    background:#ffdf00!important;
    background-image:none!important;
    border-color:#d9b900!important;
    opacity:1!important;
}

/* Los tres botones finales usan el mismo amarillo patito */
.closing-offer-actions a,
.closing-more-button {
    color:#10253f!important;
    border-color:#d9b900!important;
    background:#ffdf00!important;
    background-image:none!important;
    box-shadow:0 14px 30px rgba(34,43,24,.22)!important;
    text-shadow:none!important;
}

/* Fuerza el amarillo patito sobre las variantes antiguas con mayor especificidad. */
#continueIntro,
#continue3,
#continue5,
#screenName #continueName,
#screenChange #continueChange,
#continue7,
#continue11,
#continue14,
#continue15,
#continue16,
#continue17,
#continue18,
#continue19,
#continueEventDate,
#continue20,
#finish21,
#continue22 {
    color:#10253f!important;
    border-color:#d9b900!important;
    background:#ffdf00!important;
    background-color:#ffdf00!important;
    background-image:none!important;
    opacity:1!important;
    filter:none!important;
    box-shadow:0 14px 30px rgba(34,43,24,.22)!important;
    text-shadow:none!important;
}
