@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/*
 * CSS UNICO DEL MINISITO, condiviso da tutte le pagine HTML.
 * I blocchi sono nello stesso ordine delle sezioni principali delle pagine.
 * Indice: 01 base; 02 homepage; 03 premi/beneficenza/footer;
 * 04 accesso; 05 dashboard e periodo; 06 percorsi/invito/premi vinti;
 * 07 tablet; 08 mobile; 09 dashboard cliente; 10 accessibilita del movimento.
 */

/* 01. Base condivisa: palette, boxed 1366px e contenuto interno 1206px. */
:root {
    --brand-red: #c21b17;
    --brand-red-dark: #a81714;
    --ink: #20252b;
    --muted: #3d4047;
    --soft: #f2f2f2;
    --line: #d6d6d6;
    --gold: #e7bd74;
    --page-width: 1366px;
    --container: 1206px;
    color-scheme: only light;
    
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
     background-color: #ffffff;
    color: #20252b;
}

body {
    background: #fff;
    color: var(--ink);
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    margin: 0 auto;
    max-width: var(--page-width);
    overflow-x: hidden;
    width: 100%;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

/* Allinea testi e card: le fasce full width usano il proprio sfondo esterno. */
.design-container {
    margin-inline: auto;
    max-width: var(--container);
    width: calc(100% - 160px);
}

.campaign-button {
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    height: 48px;
    line-height: 34px;
    text-align: center;
}

/* Header semplice della homepage; le dashboard hanno una hero-header dedicata. */
.campaign-header {
    align-items: center;
    background: var(--brand-red);
    display: flex;
    height: 64px;
    justify-content: space-between;
    padding-inline: 32px;
    position: relative;
    z-index: 5;
}

.campaign-logo {
    align-items: center;
    display: flex;
    height: 24px;
    width: 136px;
}

.campaign-logo img {
    width: 100%;
}

.campaign-logo-mobile,
.hero-title-mobile,
.kicker-mobile,
.mobile-only-prize {
    display: none;
}

.header-action,
.header-action button {
    align-items: center;
    background: transparent;
    border: 0;
    color: #fff;
    display: flex;
    font-weight: 700;
    gap: 5px;
    padding: 12px 0;
    text-decoration: underline;
}

.header-action img {
    height: 24px;
    width: 24px;
}

/* 02. Homepage: hero rossa, lente e form di iscrizione. */
.landing-hero {
    background: var(--brand-red);
    color: #fff;
    height: 751px;
    overflow: visible;
    position: relative;
    z-index: 1;
}

/* Sfondo fino ai bordi della viewport: le impronte laterali superano il boxed. */
.hero-background {
    background: var(--brand-red);
    inset: 0 auto 0 50%;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    transform: translateX(-50%);
    width: 100vw;
}

/* Coordinate del frame Figma 1366x687, sotto l'header da 64px. */
.hero-background-art {
    height: 687px;
    left: 50%;
    position: absolute;
    top: 64px;
    transform: translateX(-50%);
    width: 1366px;
}

.hero-background-art > img {
    max-width: none;
    position: absolute;
    transform: rotate(180deg);
}

.hero-wing {
    left: 257px;
    top: 24px;
}

/* Include i margini del tratto presenti nell'SVG originale. */
.hero-wing-outline {
    left: 579.897px;
    top: 70.5px;
}

.hero-paw {
    align-items: center;
    display: flex;
    height: 173.974px;
    justify-content: center;
    position: absolute;
    width: 170.667px;
}

.hero-paw img {
    flex: none;
    max-width: none;
    transform: rotate(-35.91deg);
}

.hero-paw-left {
    left: -63px;
    top: 344px;
}

.hero-paw-bottom {
    left: 336px;
    top: 622.003px;
}

.hero-paw-center {
    left: 589px;
    top: 545.003px;
}

.hero-paw-right {
    left: 1237px;
    top: 383.003px;
}

.hero-content {
    display: grid;
    grid-template-columns: 660px 582px;
    height: 687px;
    position: relative;
    z-index: 2;
}

.hero-copy {
    padding-top: 48px;
    position: relative;
}

.campaign-kicker {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 16px;
}

.hero-copy h1 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 50px;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 24px;
    line-height: 29px;
}

.hero-lens {
    height: 529px;
    left: -21px;
    object-fit: contain;
    position: absolute;
    top: 291px;
    width: 531px;
}

/* Card sovrapposta alla hero; su mobile diventa una colonna a larghezza piena. */
.signup-panel {
    align-self: start;
    background: #fff;
    border-bottom-right-radius: 32px;
    border-top-left-radius: 32px;
    color: var(--ink);
    margin-top: 54px;
    min-height: 593px;
    padding: 32px;
    position: relative;
    width: 582px;
}

.signup-panel h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 29px;
    margin-bottom: 15px;
    text-align: center;
}

/* Visual del PowerPoint: tablet e marchio insieme, senza bordo aggiuntivo. */
.signup-panel .vanity-logo {
    align-items: center;
    border: 0;
    border-radius: 0;
    display: flex;
    height: 112px;
    justify-content: center;
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    width: 330px;
}

.signup-panel .vanity-logo img {
    height: 112px;
    object-fit: cover;
    width: 330px;
}

.signup-panel label,
.auth-form-column label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.form-control {
    border-color: #5a5d62;
    border-radius: 4px;
    font-size: 16px;
    height: 48px;
}

.form-control:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(194, 27, 23, .12);
}

.recaptcha-mock {
    align-items: center;
    background: #fafafa;
    border: 1px solid #d6d6d6;
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
    display: flex;
    height: 72px;
    margin-top: 14px;
    padding: 10px 12px;
}

.recaptcha-mock > span {
    background: #fff;
    border: 2px solid #c1c1c1;
    height: 25px;
    margin-right: 14px;
    width: 25px;
}

.recaptcha-mock b {
    font-size: 14px;
    font-weight: 500;
}

.recaptcha-mock small {
    color: #999;
    font-size: 8px;
    line-height: 11px;
    margin-left: auto;
    text-align: center;
}

.privacy-copy {
    font-size: 16px;
    margin: 19px 0 12px;
}

.signup-panel .consent-row {
    align-items: center;
    display: flex;
    font-size: 16px;
    font-weight: 400;
    gap: 14px;
    margin-bottom: 18px;
}

.consent-row input {
    height: 20px;
    width: 20px;
}

.signup-panel .campaign-button {
    display: block;
    margin-inline: auto;
    max-width: 300px;
}

.login-note {
    font-size: 16px;
    margin: 14px 0 0;
    text-align: center;
}

.login-note a {
    font-weight: 700;
}

/* Homepage: tre passi per partecipare e invito ai clienti MyGenerali. */
.how-section {
    height: 790px;
    padding-top: 80px;
}

.intro-copy {
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 70px;
}

.how-section h2,
.prizes-section h2,
.rules-section h2,
.paths-section h2,
.won-section h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    margin-bottom: 16px;
}

.steps-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, 1fr);
}

.steps-grid article {
    text-align: center;
}

.steps-grid img {
    height: 175px;
    margin: 0 auto 15px;
    object-fit: contain;
    width: 358px;
}

.steps-grid h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 21px;
    margin-bottom: 5px;
}

.steps-grid p {
    font-size: 16px;
    line-height: 21px;
    margin: auto;
    max-width: 356px;
}

.mygenerali-section {
    background: var(--soft);
    height: 510px;
    overflow: hidden;
    position: relative;
}

.mygenerali-section > img {
    height: 510px;
    object-fit: contain;
    object-position: right center;
    position: absolute;
    right: 0;
    top: 0;
    width: 997px;
}

.mygenerali-mobile {
    display: none;
}

.mygenerali-copy {
    left: max(80px, calc((100% - var(--container)) / 2));
    position: absolute;
    top: 95px;
    width: 391px;
    z-index: 2;
}

.mygenerali-copy h2 {
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 16px;
}

.mygenerali-copy p {
    font-size: 18px;
    line-height: 24px;
}

.store-badges {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.store-badges img {
    height: 42px;
    object-fit: contain;
    width: auto;
}

.store-badges img:first-child {
    width: 126px;
}

.store-badges img:last-child {
    width: 142px;
}

/* 03. Sezioni comuni a home e dashboard: auto, premi, beneficenza, regole. */
.car-banner {
    background: var(--brand-red);
    box-shadow: 0 0 0 100vmax var(--brand-red);
    clip-path: inset(0 -100vmax);
    color: #fff;
    height: 432px;
    margin-top: 80px;
    overflow: hidden;
    position: relative;
}

/* Scia Figma a sinistra, sovrapposta ai bordi dei banner senza ricevere click. */
.car-paw-separator {
    clip-path: inset(-45px 0 -223px);
    height: 80px;
    overflow: visible;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.car-paw-separator img {
    left: -222px;
    max-width: none;
    position: absolute;
    top: -45px;
}

.view-home .car-banner {
    margin-top: 0;
}

.car-banner > img {
    height: 522px;
    object-fit: contain;
    object-position: right center;
    position: absolute;
    right: 0;
    top: -45px;
    width: 871px;
}

.car-image-mobile {
    display: none;
}

.car-copy {
    left: max(80px, calc((100% - var(--container)) / 2));
    position: absolute;
    top: 132px;
    z-index: 2;
}

.car-copy h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 38px;
    margin-bottom: 14px;
}

.car-copy p {
    font-size: 17px;
    line-height: 21px;
    margin-bottom: 20px;
}

.car-copy .campaign-button {
    width: 215px;
}

.prizes-section {
    min-height: 1310px;
    overflow: hidden;
    padding: 80px 0 350px;
    position: relative;
}

/* Home: premio di periodo a due colonne come nel layout approvato. */
.view-home .prizes-section {
    min-height: 1077px;
    padding: 0 0 80px;
}

.home-period-prizes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 478px;
}

.home-period-card {
    align-items: center;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    height: 478px;
    justify-content: center;
    margin: 0;
    padding: 30px;
}

.home-period-card img {
    height: 208px;
    margin-bottom: 18px;
    width: 426px;
}

.home-period-copy {
    align-items: flex-start;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 80px;
}

.home-period-copy h2 {
    font-size: 32px;
    line-height: 38px;
}

.home-period-copy p,
.home-period-copy li {
    font-size: 16px;
    line-height: 21px;
}

.home-period-copy ul {
    list-style: none;
    margin: 4px 0 14px;
    padding: 0;
}

.home-period-copy .campaign-button {
    margin-top: 4px;
    width: 300px;
}

.view-home .prize-heading {
    margin-top: 80px;
}

.prizes-section > .design-container > p,
.prize-heading p,
.paths-section > .design-container > p,
.won-section > .design-container > p {
    font-size: 18px;
    line-height: 24px;
}

/* Card del premio mensile e card dei voucher instant win. */
.monthly-card,
.instant-card {
    background: var(--soft);
    border-radius: 4px;
    text-align: center;
}

.monthly-card {
    height: 263px;
    margin-top: 32px;
    padding: 24px 16px;
    width: 100%;
}

.monthly-card img {
    height: 150px;
    margin: 0 auto 12px;
    object-fit: contain;
    width: 310px;
}

.monthly-card h3,
.instant-card h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 4px;
}

.monthly-card p,
.instant-card p {
    color: var(--muted);
    font-size: 16px;
    line-height: 21px;
    margin-bottom: 0;
}

/* Nella home desktop il premio mensile si estende quanto la colonna di testo. */
@media (min-width: 768px) {
    .home-period-prizes {
        height: auto;
        min-height: 478px;
    }

    .home-period-prizes > .home-period-card {
        height: auto;
        margin: 0;
    }
}

.prize-heading {
    margin-top: 80px;
}

/* Track riutilizzato dagli slider: lo script in index.php gestisce i pulsanti. */
.figma-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: inline mandatory;
}

.figma-slider-track::-webkit-scrollbar {
    display: none;
}

.instant-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.instant-card {
    flex: 0 0 calc((100% - 32px) / 3);
    height: 214px;
    padding: 24px 16px;
    scroll-snap-align: start;
}

.instant-card:not(.instant-card-full) {
    display: flex;
    flex-direction: column;
}

.instant-card:not(.instant-card-full) h3 {
    margin-top: auto;
}

.instant-card img {
    height: 108px;
    object-fit: contain;
    width: 100%;
}

.instant-card:not(.instant-card-full) img {
    flex-shrink: 0;
}

.instant-card-full {
    padding: 0;
}

.instant-card-full img {
    height: 100%;
    object-fit: cover;
}

.slider-controls {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.slider-controls button {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ink);
    border-radius: 50%;
    color: var(--ink);
    display: inline-flex;
    height: 32px;
    justify-content: center;
    padding: 0;
    width: 32px;
}

.slider-controls button:disabled {
    border-color: var(--line);
    color: var(--line);
}

.paw-trail {
    bottom: -15px;
    height: 453px;
    object-fit: contain;
    position: absolute;
    right: -10px;
    width: 707px;
}

/* Beneficenza: visual a sinistra e testo a destra; ricomposta su mobile. */
.charity-section,
.charity-desktop {
    height: 510px;
    width: 100%;
}

.charity-desktop {
    height: auto;
    left: 0;
    object-fit: contain;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
}

.charity-section {
    background: var(--soft);
    box-shadow: 0 0 0 100vmax var(--soft);
    clip-path: inset(0 -100vmax);
    position: relative;
}

.charity-copy {
    left: calc(50% + 134px);
    position: absolute;
    top: 58px;
    width: 469px;
}

.charity-copy h2 {
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 16px;
}

.charity-copy p {
    color: var(--muted);
    font-size: 24px;
    line-height: 29px;
}

.charity-mobile {
    display: none;
}

/* Home: curva Figma con la foto aggiornata, senza cambiare le altre viste. */
.charity-section-landing {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    height: auto;
    min-height: 510px;
}

.charity-section-landing .charity-art {
    aspect-ratio: 995 / 510;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
}

.charity-art-photo,
.charity-art-ribbon {
    position: absolute;
    transform: scaleX(-1);
}

/* La curva specchiata maschera la foto; il contro-ribaltamento mantiene leggibile il logo. */
.charity-art-photo {
    background: #0d172b;
    bottom: 0;
    height: 89.8%;
    left: -59.6%;
    mask-image: url('/trovalimpronta/img/figma/charity-ribbon.svg');
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    width: 156.22%;
    z-index: 1;
}

.charity-art-photo img {
    bottom: 0;
    height: 100%;
    left: 23.33%;
    object-fit: cover;
    object-position: right center;
    position: absolute;
    transform: scaleX(-1);
    width: 38.6%;
}

.charity-art-ribbon {
    background: url('/trovalimpronta/img/figma/charity-ribbon.svg') center / 100% 100% no-repeat;
    height: 89.68%;
    left: -56.99%;
    pointer-events: none;
    top: 0.14%;
    width: 156.57%;
}

.charity-section-landing .charity-copy {
    grid-column: 2;
    padding: 56px 80px 56px 134px;
    position: static;
    width: auto;
}

.charity-section-landing .charity-copy h2 {
    font-size: 28px;
    line-height: 34px;
}

.charity-section-landing .charity-copy p {
    font-size: 18px;
    line-height: 24px;
}

/* Regolamento e footer condivisi dalle sette viste. */
.rules-section {
    margin-top: 80px;
    min-height: 294px;
    padding: 0 0 80px;
}

.rules-section p {
    font-size: 18px;
    line-height: 24px;
}

.rules-section a {
    display: inline-flex;
    font-weight: 700;
    gap: 14px;
    margin-top: 12px;
    text-decoration: none;
}

.rules-section .rules-link-label {
    text-decoration: underline;
}

.rules-section .rules-link-arrow {
    font-size: 28px;
    line-height: 17px;
}

.campaign-footer {
    background: #fff;
    color: #6c757d;
    font-size: 14px;
    line-height: 21px;
    padding: 24px 0;
}

.campaign-footer .design-container {
    max-width: 1140px;
}

.campaign-footer nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0 6px;
}

.campaign-footer a {
    text-decoration: underline;
}

.campaign-footer nav a {
    color: #20252b;
}

.campaign-footer p a {
    color: #c5281c;
}

.campaign-footer p {
    font-size: inherit;
    line-height: inherit;
    margin: 0 0 16px;
}

.campaign-footer p:last-child {
    margin-bottom: 0;
}

/* 04. Flusso accesso: una hero e una card per login, dati, OTP e conferma. */
.auth-page {
    min-height: 861px;
    position: relative;
}

.view-register .auth-page {
    min-height: 1005px;
}

.auth-hero {
    background: var(--brand-red);
    box-shadow: 0 0 0 100vmax var(--brand-red);
    clip-path: inset(0 -100vmax);
    height: 360px;
    overflow: hidden;
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
}

.auth-hero-art,
.auth-hero-outline,
.dashboard-hero-html > .prospect-hero-art,
.dashboard-hero-html > .prospect-hero-outline {
    max-width: none;
    object-fit: contain;
    position: absolute;
    transform: rotate(180deg);
}

.auth-hero-art,
.dashboard-hero-html > .prospect-hero-art {
    height: 322px;
    left: 665px;
    top: 161px;
    width: 1178px;
    z-index: 0;
}

.auth-hero-outline,
.dashboard-hero-html > .prospect-hero-outline {
    height: 370px;
    left: 581px;
    top: 113px;
    width: 1348px;
    z-index: 1;
}

.auth-hero-header {
    height: 64px;
    position: relative;
    z-index: 2;
}

.auth-hero-logo {
    left: 32px;
    position: absolute;
    top: 20px;
}

.auth-hero-copy {
    color: #fff;
    left: 150px;
    position: absolute;
    top: 108px;
    z-index: 1;
}

.auth-hero-copy p {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 16px;
}

.auth-hero-copy h1 {
    font-size: 34px;
    font-weight: 700;
    line-height: 40px;
    margin: 0;
}

.auth-card {
    align-items: center;
    background: #fff;
    box-shadow: 0 9px 20px rgba(0, 0, 0, .14);
    display: grid;
    gap: 80px;
    grid-template-columns: 345px 1fr;
    height: 410px;
    left: 50%;
    padding: 48px 62px 48px 72px;
    position: absolute;
    top: 282px;
    transform: translateX(-50%);
    width: min(1141px, calc(100% - 80px));
}

.auth-form-column h2,
.auth-card-register h2 {
    font-size: 25px;
    font-weight: 500;
    line-height: 29px;
    margin-bottom: 30px;
}

.auth-form-column .form-control {
    margin-bottom: 42px;
}

.auth-form-column .campaign-button {
    display: block;
    margin-bottom: 12px;
    width: 343px;
}

.auth-illustration {
    height: 229px;
    justify-self: end;
    object-fit: contain;
    width: 469px;
}

.auth-card-register {
    display: block;
    height: auto;
    padding: 49px 122px;
}

.registration-grid {
    display: grid;
    gap: 16px 24px;
    grid-template-columns: repeat(3, 1fr);
}

.field-wide-2 {
    grid-column: span 2;
}

.field-full {
    grid-column: 1 / -1;
}

.register-captcha {
    height: 58px;
    margin-top: 39px;
    width: 230px;
}

.register-actions {
    display: grid;
    gap: 16px;
    grid-column: 2 / -1;
    grid-template-columns: 1fr 1.36fr;
    margin-top: 60px;
}

.auth-message .form-control {
    margin-bottom: 20px;
}

.otp-input {
    font-size: 24px;
    letter-spacing: 8px;
    text-align: center;
}

/* 05. Dashboard: hero rossa comune, con gioco attivo solo nella vista standard. */
.dashboard-hero,
.dashboard-hero > img {
    height: 483px;
    width: 100%;
}

.dashboard-hero {
    background: var(--brand-red);
    overflow: hidden;
    position: relative;
}

.dashboard-hero-html {
    box-shadow: 0 0 0 100vmax var(--brand-red);
    clip-path: inset(0 -100vmax);
}

.dashboard-hero > img {
    object-fit: cover;
}

.prospect-hero-header {
    height: 64px;
    inset: 0 0 auto;
    position: absolute;
    z-index: 3;
}

.prospect-hero-logo {
    height: 24px;
    left: 32px;
    position: absolute;
    top: 20px;
    width: 136px;
}

.dashboard-hero-html .prospect-hero-copy {
    color: #fff;
    display: block;
    left: 80px;
    position: absolute;
    top: 102px;
    width: 603px;
    z-index: 2;
}

.prospect-hero-copy > p:first-of-type {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 16px;
}

.prospect-hero-copy h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 50px;
    margin-bottom: 16px;
}

.prospect-hero-copy > p:last-of-type {
    font-size: 24px;
    line-height: 29px;
    margin: 0;
    width: 603px;
}

.dashboard-hero-html .dashboard-logout button {
    align-items: center;
    display: flex;
    gap: 4px;
}

.dashboard-hero-html .dashboard-logout img {
    height: 24px;
    width: 24px;
}

.dashboard-mobile-copy {
    display: none;
}

.dashboard-logout {
    position: absolute;
    right: 32px;
    top: 12px;
}

.dashboard-logout button {
    background: var(--brand-red);
    border: 0;
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

.dashboard-play {
    background: #fff;
    border-radius: 4px;
    bottom: 60px;
    font-size: 18px;
    font-weight: 700;
    height: 48px;
    left: max(80px, calc((100% - var(--container)) / 2));
    position: absolute;
    width: 316px;
}

.dashboard-current {
    position: relative;
}

.dashboard-current-desktop {
    height: 510px;
    object-fit: cover;
    width: 100%;
}

.dashboard-current-mobile {
    display: none;
}

.prospect-invite-mobile,
.prospect-won-mobile,
.prospect-charity-mobile {
    display: none;
}

/* Periodo corrente: due colonne desktop, fondale e pannello informazioni. */
.prospect-current-card {
    background: var(--soft);
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 510px;
    overflow: hidden;
}

.prospect-current-visual,
.prospect-current-content {
    height: 510px;
    min-width: 0;
    position: relative;
}

.prospect-current-scene {
    height: 388px;
    overflow: hidden;
    position: relative;
}

.prospect-current-landscape {
    height: 388px;
    max-width: none;
    object-fit: cover;
    width: 707px;
}

/* Cinque coordinate assolute dei gettoni sul fondale illustrato. */
.prospect-route-marker {
    height: 67px;
    position: absolute;
    width: 64px;
}

.prospect-route-marker .route-token {
    clip-path: circle(49% at 50% 50%);
    height: 77px;
    left: -5px;
    max-width: none;
    position: absolute;
    top: -5px;
    width: 75px;
}

.prospect-route-marker .route-coin {
    clip-path: circle(43% at 50% 43%);
    height: 64px;
    left: 0;
    max-width: none;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 64px;
}

.prospect-route-marker .route-check {
    height: 26px;
    position: absolute;
    right: -1px;
    top: 0;
    width: 26px;
}

.prospect-route-marker.marker-1 {
    left: 58px;
    top: 129px;
}

.prospect-route-marker.marker-2 {
    left: 174px;
    top: 193px;
}

.prospect-route-marker.marker-3 {
    left: 342px;
    top: 173px;
}

.prospect-route-marker.marker-4 {
    left: 470px;
    top: 168px;
}

.prospect-route-marker.marker-5 {
    left: 610px;
    top: 218px;
}

/* Riepilogo sotto il fondale: moneta, periodo e premi vinti. */
.prospect-current-stats {
    height: 122px;
    margin: 0;
    position: relative;
}

.prospect-stat {
    align-items: center;
    display: flex;
    gap: 11px;
    position: absolute;
    top: 32px;
}

.prospect-stat:nth-child(1) {
    left: 20px;
}

.prospect-stat:nth-child(2) {
    left: 330px;
}

.prospect-stat:nth-child(3) {
    left: 515px;
}

.prospect-stat-footprints {
    display: flex;
    gap: 8px;
    top: 30px;
}

.prospect-stat-footprints dd {
    align-items: center;
    display: flex;
    gap: 8px;
}

.prospect-stat-footprints dd strong {
    font-size: 24px;
    line-height: 30px;
}

.prospect-friend-source {
    align-items: center;
    border-left: 1px solid #999;
    display: flex;
    font-size: 14px;
    gap: 7px;
    line-height: 18px;
    margin-left: 2px;
    padding-left: 10px;
    white-space: nowrap;
}

.prospect-friend-icon {
    flex: 0 0 26px;
    height: 30px;
    position: relative;
}

.prospect-friend-badge {
    height: 30px;
    width: 26px;
}

.prospect-stat > img,
.prospect-stat-icon {
    flex: 0 0 auto;
    height: 50px;
    object-fit: contain;
    position: relative;
    width: 50px;
}

.prospect-stat-footprints .prospect-stat-icon {
    height: 54px;
    width: 54px;
}

.prospect-stat-icon img {
    max-width: none;
    position: absolute;
}

.stat-coin img {
    clip-path: circle(43% at 50% 43%);
    height: 63px;
    left: -5px;
    object-fit: cover;
    top: 0;
    width: 63px;
}

.stat-calendar .stat-calendar-base {
    height: 50px;
    inset: 0;
    width: 50px;
}

.stat-calendar .stat-calendar-detail {
    height: 39px;
    left: 3px;
    top: 5px;
    width: 44px;
}

.prospect-stat dt,
.prospect-stat dd {
    font-size: 18px;
    line-height: 23px;
    margin: 0;
    white-space: nowrap;
}

.prospect-stat dd {
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
}

/* Nei desktop stretti la riga delle statistiche scorre, senza coprire il testo. */
@media (min-width: 768px) and (max-width: 1365.98px) {
    .prospect-current-stats {
        align-items: center;
        display: flex;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 16px;
    }

    .prospect-current-stats .prospect-stat {
        flex: 0 0 auto;
        position: static;
    }
}

.prospect-period-label {
    color: var(--muted);
    font-size: 15px;
    left: 80px;
    line-height: 20px;
    margin: 0;
    position: absolute;
    top: 36px;
}

.prospect-period-row {
    align-items: flex-start;
    display: flex;
    left: 80px;
    position: absolute;
    right: 80px;
    top: 65px;
}

.prospect-period-row > strong {
    font-size: 20px;
    line-height: 25px;
}

.prospect-date-mobile,
.prospect-current-copy-mobile {
    display: none;
}

.prospect-period-status {
    background: var(--brand-red);
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 15px;
    margin-left: auto;
    padding: 4px 8px;
    white-space: nowrap;
}

.prospect-current-content h2 {
    font-size: 30px;
    left: 80px;
    line-height: 38px;
    margin: 0;
    position: absolute;
    top: 111px;
}

.prospect-current-copy {
    color: var(--muted);
    font-size: 18px;
    left: 80px;
    line-height: 24px;
    margin: 0;
    position: absolute;
    top: 165px;
    width: 523px;
}

.prospect-current-copy p {
    margin-bottom: 24px;
}

.prospect-current-copy p:last-child {
    margin-bottom: 0;
}

/* Azioni del periodo: il prospect mostra il pulsante gioco disabilitato. */
.prospect-current-actions {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, 248px);
    left: 80px;
    position: absolute;
    top: 308px;
}

.prospect-current-actions a,
.prospect-current-actions button {
    align-items: center;
    border: 1px solid var(--ink);
    border-radius: 4px;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    height: 56px;
    justify-content: center;
    line-height: 24px;
    text-decoration: none;
}

.prospect-current-actions button {
    background: var(--ink);
    color: #fff;
    opacity: 1;
}

.prospect-current-actions a,
.prospect-current-actions button,
.dashboard-hero-html .dashboard-play,
.slider-controls button:not(:disabled),
.prospect-copy-link,
.path-card-action {
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

/* Hover solo sui dispositivi che lo supportano; focus tastiera subito sotto. */
@media (hover: hover) {
    .prospect-current-actions a:hover,
    .slider-controls button:not(:disabled):hover {
        background: var(--ink);
        border-color: var(--ink);
        color: #fff;
    }

    .prospect-current-actions button:hover,
    .path-card-action:hover {
        background: var(--brand-red);
        border-color: var(--brand-red);
        color: #fff;
    }

    .dashboard-hero-html .dashboard-play:hover {
        background: var(--ink);
        border-color: var(--ink);
        color: #fff;
    }

    .prospect-copy-link:hover {
        color: var(--brand-red);
    }
}

.prospect-current-actions a:focus-visible,
.slider-controls button:focus-visible,
.prospect-copy-link:focus-visible,
.path-card-action:focus-visible {
    box-shadow: 0 0 0 3px rgb(198 18 23 / 25%);
    outline: 2px solid var(--brand-red);
    outline-offset: 2px;
}

.prospect-current-prize {
    align-items: center;
    display: flex;
    gap: 24px;
    left: 80px;
    position: absolute;
    top: 415px;
}

.prospect-current-prize img {
    height: 64px;
    object-fit: contain;
    width: 134px;
}

.prospect-current-prize p {
    font-size: 18px;
    line-height: 23px;
    margin: 0;
    width: 365px;
}

.prospect-static-action {
    cursor: default;
}

.prospect-mobile-label {
    display: none;
}

.current-hotspot {
    background: transparent;
    border: 0;
    height: 56px;
    left: 75.1%;
    position: absolute;
    top: 306px;
    width: 18.2%;
}

/* 06. Slider percorsi: card completed/active/locked e cinque gettoni ciascuna. */
.paths-section {
    min-height: 838px;
    overflow: hidden;
    padding: 64px 0 54px;
}

.path-slider {
    margin-top: 28px;
}

.path-image-card {
    background: transparent;
    border: 0;
    flex: 0 0 386px;
    height: 498px;
    padding: 0;
    scroll-snap-align: start;
}

.path-image-card img {
    height: 498px;
    object-fit: contain;
    width: 386px;
}

/* Fondale e gettoni restano elementi separati: il pattern e nell'HTML. */
.path-card {
    background: var(--soft);
    border-radius: 4px;
    flex: 0 0 386px;
    height: 498px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
}

.path-card-header {
    left: 16px;
    position: absolute;
    right: 16px;
    top: 16px;
}

.path-card-header p {
    color: var(--muted);
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 8px;
}

.path-card-header h3 {
    font-size: 20px;
    line-height: 25px;
    margin: 0;
}

.path-date-mobile {
    display: none;
}

.path-status {
    align-items: center;
    border-radius: 4px;
    display: flex;
    font-size: 12px;
    font-weight: 700;
    gap: 4px;
    line-height: 15px;
    padding: 4px 8px;
    position: absolute;
    right: 0;
    top: 1px;
}

.path-status img {
    height: 14px;
    width: 14px;
}

.path-status-completed {
    background: #2dd36f;
}

.path-status-active {
    background: var(--brand-red);
    color: #fff;
}

.path-status-locked {
    background: #ccc;
}

.path-card-count {
    font-size: 15px;
    left: 16px;
    line-height: 20px;
    margin: 0;
    position: absolute;
    top: 79px;
}

.path-card-count strong {
    font-size: 20px;
    line-height: 25px;
}

.path-card-scene {
    height: 213px;
    left: 16px;
    overflow: hidden;
    position: absolute;
    top: 123px;
    width: 354px;
}

.path-card-scene > img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.path-card-scene.is-locked > img {
    filter: grayscale(1);
}

.path-scene-lock {
    height: 78px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 78px;
}

.path-scene-lock img {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.path-lock-ring {
    height: 78px;
    width: 78px;
}

.path-lock-large {
    height: 44px;
    width: 44px;
}

.path-footprints {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    left: 36px;
    position: absolute;
    right: 36px;
    top: 350px;
}

.path-footprint {
    height: 44px;
    position: relative;
    width: 42px;
}

.path-footprint > img {
    max-width: none;
    position: absolute;
}

.path-token-coin {
    clip-path: circle(43% at 50% 43%);
    height: 49px;
    left: -4px;
    object-fit: cover;
    top: 0;
    width: 49px;
}

.path-token-check {
    height: 17px;
    right: 0;
    top: 0;
    width: 17px;
}

.path-token-pending {
    clip-path: circle(49% at 50% 50%);
    height: 51px;
    left: -4px;
    top: -4px;
    width: 50px;
}

.path-footprint small {
    display: none;
}

.path-card-action {
    align-items: center;
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 4px;
    color: #fff;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    height: 56px;
    justify-content: center;
    left: 32px;
    opacity: 1;
    position: absolute;
    top: 423px;
    width: 331px;
}

.path-card-message {
    align-items: flex-start;
    display: flex;
    gap: 8px;
    left: 16px;
    position: absolute;
    right: 16px;
    top: 423px;
}

.path-card-message > img {
    flex: 0 0 24px;
    height: 24px;
    width: 24px;
}

.path-card-message strong {
    display: block;
    font-size: 18px;
    line-height: 23px;
    margin-bottom: 4px;
}

.path-card-message p {
    font-size: 14px;
    line-height: 16px;
    margin: 0;
}

.path-button:focus-visible {
    outline: 3px solid var(--brand-red);
    outline-offset: 3px;
}

.dashboard-invite,
.invite-desktop {
    height: 493px;
    width: 100%;
}

.invite-desktop {
    object-fit: cover;
}

/* Invito e condivisione: illustrazione, testo e link copiabile. */
.prospect-invite {
    background: var(--soft);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
}

.prospect-invite-visual {
    align-items: center;
    display: flex;
    height: 493px;
    justify-content: center;
    overflow: hidden;
}

.prospect-invite-visual img {
    display: block;
    height: auto;
    width: 523px;
}

.prospect-invite-content {
    height: 493px;
    padding: 96px 80px 0;
}

.prospect-invite-content h2 {
    color: var(--ink);
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    margin: 0 0 22px;
}

.prospect-invite-copy,
.prospect-invite-send {
    color: var(--ink);
    font-size: 18px;
    line-height: 24px;
    margin: 0;
    max-width: 519px;
}

.prospect-invite-copy-mobile {
    display: none;
}

.prospect-invite-send {
    margin-top: 24px;
}

.prospect-copy-link {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--ink);
    display: flex;
    font-size: 18px;
    font-weight: 700;
    gap: 10px;
    line-height: 24px;
    margin-top: 24px;
    padding: 0;
}

.prospect-copy-link span {
    text-decoration: underline;
}

.prospect-copy-link img {
    height: 26px;
    width: 26px;
}

.invite-mobile {
    display: none;
}

/* Premi conquistati e modal del gioco dimostrativo (solo dashboard standard). */
.won-section {
    padding: 96px 0 70px;
}

.won-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 386px);
    margin-top: 32px;
}

.won-grid article {
    background: var(--soft);
    min-height: 407px;
    padding: 16px;
}

.won-grid article > span {
    background: #22c86f;
    border-radius: 3px;
    display: inline-block;
    font-size: 12px;
    padding: 4px 7px;
}

.won-grid img {
    height: 180px;
    margin: 8px auto 18px;
    object-fit: contain;
    width: 100%;
}

.won-grid h3 {
    font-size: 20px;
    line-height: 24px;
}

.won-grid p,
.won-grid a {
    font-size: 16px;
    line-height: 21px;
}

.won-grid a {
    font-weight: 700;
}

/* Il modal usa Bootstrap 5; le caselle vengono create dallo script in index.php. */
.game-modal {
    background: var(--brand-red);
    border: 0;
    border-radius: 4px;
    color: #fff;
    min-height: 620px;
}

.game-modal .modal-header > div {
    display: grid;
    min-width: 90px;
}

.game-modal .modal-title {
    font-size: 28px;
    margin-inline: auto;
}

.game-message {
    font-weight: 700;
    text-align: center;
}

.game-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(6, 62px);
    justify-content: center;
    margin: 28px auto;
}

.game-tile {
    align-items: center;
    background: #f4d28e;
    border: 2px solid #fff0c9;
    border-radius: 4px;
    color: #8d621d;
    display: flex;
    font-size: 22px;
    height: 62px;
    justify-content: center;
    width: 62px;
}

.game-tile.revealed {
    background: #fff;
}

.game-tile.is-paw {
    background: #f5c65c;
    color: var(--brand-red);
}

/* Esiti giocate: finestre Bootstrap, con illustrazioni originali Figma. */
.play-result .modal-dialog { max-width: 790px; width: calc(100% - 30px); margin-inline: auto; }
.play-result-content { align-items: center; background: #fff; border: 0; border-radius: 0; box-shadow: 0 4px 15px #00000040; color: var(--ink); min-height: 480px; padding: 19px 40px 43px; text-align: center; }
.play-result-sent { min-height: 417px; }
.play-result-close { align-items: center; background: none; border: 0; color: var(--ink); display: flex; font-size: 14px; font-weight: 500; gap: 8px; padding: 0; position: absolute; right: 24px; top: 24px; z-index: 1; }
.play-result-close img { height: 24px; width: 24px; }
.play-result-art { flex-shrink: 0; height: 216px; position: relative; width: 384px; }
.play-result-voucher { height: 156px; left: 60px; overflow: hidden; position: absolute; top: 41px; width: 264px; }
.play-result-voucher > img { height: 100%; left: -48.48%; max-width: none; position: absolute; top: 0; width: 196.21%; }
.play-result-voucher-mobile { display: none; }
.play-result-coin { height: 205px; left: 56px; position: absolute; top: 31px; width: 272px; }
.play-result-friends { height: 216px; object-fit: contain; width: 384px; }
.play-result-star { position: absolute; }
.play-result-star.star-small { height: 28px; left: 7px; top: 76px; width: 28px; }
.play-result-star.star-large { height: 47px; right: -12px; top: 133px; width: 47px; }
.play-result-star.star-medium { height: 29px; right: 21px; top: 114px; width: 29px; }
.play-result-content h2 { font-size: 28px; font-weight: 700; line-height: 34px; margin: 21px 0 8px; }
.play-result-description { font-size: 18px; line-height: 24px; margin: 0; max-width: 710px; }
.play-result-action { align-items: center; background: var(--ink); border: 1px solid var(--ink); border-radius: 4px; color: #fff; display: flex; font-size: 18px; font-weight: 700; height: 56px; justify-content: center; margin-top: auto; max-width: 100%; padding: 8px 16px; text-decoration: none; width: 298px; }
.play-result-description + .play-result-action { margin-top: 35px; }
.play-result-loss { min-height: 558px; }
.play-result-loss .play-result-art { height: 198px; }
.play-result-footprints { display: flex; flex-shrink: 0; height: 98px; justify-content: space-between; max-width: 100%; width: 443px; }
.play-result-footprints .path-footprint { height: 98px; width: 65px; }
.play-result-footprints .path-token-coin { height: 72px; left: -3px; top: 3px; width: 72px; }
.play-result-footprints .path-token-check { height: 26px; right: -2px; top: 0; width: 26px; }
.play-result-footprints .path-token-pending { height: 74px; left: -4px; top: -2px; width: 74px; }
.play-result-footprints .path-footprint small { bottom: 0; display: block; font-size: 14px; left: 0; line-height: 18px; position: absolute; width: 100%; }
.play-result-loss h2 { margin-top: 24px; }
.play-result-loss .play-result-action { margin-top: 52px; }
.won-grid .pending-play-action { align-items: center; background: none; border: 0; color: var(--ink); display: inline-flex; font-size: 16px; font-weight: 700; gap: 8px; padding: 4px 0; text-align: left; text-decoration: underline; }
.won-grid article.pending-play-prize .pending-play-action img { height: 24px; margin: 0; width: 24px; }
.client-dashboard .client-won .won-grid article.pending-play-prize { height: auto; min-height: 407px; }
.pending-play-action:disabled { color: #687078; text-decoration: none; }
.play-result button:focus-visible, .pending-play-action:focus-visible { outline: 3px solid #0075b9; outline-offset: 4px; }
@media (max-width: 767.98px) {
    .play-result-content { min-height: 468px; padding: 71px 23px 30px; }
    .play-result-close { right: 20px; }
    .play-result-art { height: 108px; max-width: calc(100% + 46px); width: 345px; }
    .play-result-voucher, .play-result-star { display: none; }
    .play-result-voucher-mobile { display: block; height: 108px; object-fit: contain; width: 100%; }
    .play-result-friends { height: 144px; margin-top: -18px; max-width: 100%; width: 256px; }
    .play-result-content h2 { font-size: 20px; line-height: 25px; margin-top: 48px; margin-bottom: 9px; }
    .play-result-description { font-size: 18px; line-height: 24px; margin-bottom: 28px; }
    .play-result-description + .play-result-action { height: 48px; margin-top: auto; width: calc(100% + 16px); max-width: calc(100% + 16px); }
    .play-result-loss { padding-top: 51px; }
    .play-result-loss .play-result-art { height: 93px; width: 176px; }
    .play-result-coin { height: 133px; left: 0; top: 0; width: 176px; }
    .play-result-footprints { height: 66px; width: 298px; }
    .play-result-footprints .path-footprint { height: 66px; width: 44px; }
    .play-result-footprints .path-token-coin { height: 48px; left: -2px; top: 2px; width: 48px; }
    .play-result-footprints .path-token-check { height: 18px; right: -1px; width: 18px; }
    .play-result-footprints .path-token-pending { height: 50px; left: -3px; top: -1px; width: 50px; }
    .play-result-footprints .path-footprint small { font-size: 12px; line-height: 16px; }
    .play-result-loss h2 { margin-top: 17px; }
    .game-modal .game-grid { gap: 5px; grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 412px; }
    .game-modal .game-tile { aspect-ratio: 1; height: auto; width: 100%; }
}

/* 07. Tablet e desktop stretti: colonne e spazi si comprimono sotto 992px. */
@media (max-width: 991.98px) {
    .design-container {
        width: calc(100% - 48px);
    }

    .landing-hero {
        height: auto;
        min-height: 0;
    }

    .hero-content {
        display: block;
        height: auto;
    }

    .hero-copy {
        height: auto;
        padding: 40px 0;
    }

    .hero-lens {
        display: block;
        height: auto;
        left: auto;
        margin: 32px auto 0;
        max-width: 100%;
        position: relative;
        top: auto;
        width: 430px;
    }

    .signup-panel {
        margin: 10px auto 56px;
        width: min(582px, 100%);
    }

    .how-section {
        height: auto;
        padding: 64px 0;
    }

    .hero-paw {
        display: none;
    }

    .home-period-copy {
        padding-inline: 40px;
    }

    .intro-copy {
        margin-bottom: 56px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid article {
        margin-bottom: 36px;
    }

    .mygenerali-copy {
        left: 40px;
    }

    .car-banner > img {
        opacity: .72;
    }

    .car-copy {
        left: 40px;
    }

    .instant-card {
        flex-basis: calc((100% - 16px) / 2);
    }

    .auth-card {
        gap: 30px;
        padding-inline: 42px;
        width: calc(100% - 48px);
    }

    .auth-hero-copy {
        left: 48px;
    }

    .auth-illustration {
        width: 100%;
    }

    .auth-card-register {
        padding-inline: 48px;
    }

    .current-hotspot {
        display: none;
    }
}

/* 08. Mobile sotto 768px: override raggruppati nello stesso ordine delle viste. */
@media (max-width: 767.98px) {
    /* Base mobile e header: logo compatto, testo accesso nascosto. */
    .design-container {
        width: calc(100% - 32px);
    }

    .campaign-header {
        height: 50px;
        padding-inline: 16px;
    }

    .campaign-logo {
        height: 24px;
        width: 30px;
    }

    .campaign-logo-desktop {
        display: none;
    }

    .campaign-logo-mobile {
        display: block;
        height: 24px;
        width: 30px;
    }

    .header-action {
        padding: 13px 0;
    }

    .header-action > span {
        display: none;
    }

    /* Homepage mobile: hero, lente e form disposti in verticale. */
    .landing-hero {
        height: auto;
        min-height: 868px;
        overflow: hidden;
    }

    .hero-content {
        height: auto;
        padding-bottom: 24px;
    }

    .hero-wing-outline {
        display: none;
    }

    .hero-background {
        inset: 0;
        transform: none;
        width: auto;
    }

    .hero-background-art {
        left: auto;
        right: -74.5px;
        top: 126px;
        transform: scale(.27);
        transform-origin: top right;
    }

    .hero-copy {
        height: 276px;
        padding: 56px 0 0;
    }

    .kicker-desktop,
    .hero-title-desktop,
    .hero-subtitle {
        display: none;
    }

    .kicker-mobile,
    .hero-title-mobile {
        display: inline;
    }

    .hero-lens {
        height: 230px;
        left: 238px;
        margin: 0;
        max-width: none;
        position: absolute;
        top: 62px;
        width: 230px;
    }

    .campaign-kicker {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 16px;
    }

    .hero-copy h1 {
        font-size: 32px;
        line-height: 38px;
        margin-bottom: 0;
    }

    .signup-panel {
        border-bottom-right-radius: 32px;
        border-top-left-radius: 32px;
        height: auto;
        left: 0;
        margin: -38px 0 0;
        min-height: 556px;
        padding: 32px;
        padding-bottom: 48px;
        position: relative;
        top: auto;
        width: 100%;
    }

    .signup-panel h2 {
        font-size: 20px;
        line-height: 25px;
        margin-bottom: 13px;
    }

    .signup-panel .vanity-logo {
        border: 0;
        border-radius: 0;
        height: 78px;
        margin: 0 auto 11px;
        overflow: hidden;
        width: 230px;
    }

    .signup-panel .vanity-logo img {
        height: 78px;
        left: auto;
        max-width: 100%;
        object-fit: cover;
        position: static;
        top: auto;
        width: 230px;
    }

    .signup-panel .consent-row {
        display: none;
    }

    .signup-panel .campaign-button {
        max-width: none;
    }

    .intro-copy {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 40px;
        min-height: 203px;
    }

    /* Partecipazione: i tre passaggi si impilano. */
    .how-section {
        height: 1379px;
        padding: 40px 0;
    }

    .how-section h2 {
        margin-bottom: 0;
    }

    .steps-grid {
        gap: 16px;
    }

    .steps-grid article {
        height: 323px;
        margin-bottom: 0;
    }

    .steps-grid article:nth-child(2) {
        height: 344px;
    }

    /* MyGenerali: testo sopra, telefono sotto. */
    .mygenerali-section {
        height: 690px;
    }

    .mygenerali-copy {
        left: 16px;
        right: 16px;
        top: 40px;
        width: auto;
    }

    .mygenerali-copy p {
        font-size: 20px;
        line-height: 25px;
        margin-bottom: 0;
    }

    .mygenerali-desktop-extra,
    .mygenerali-desktop {
        display: none;
    }

    .mygenerali-section > img.mygenerali-mobile {
        display: block;
        height: 450px;
        object-fit: fill;
        object-position: center;
        right: 0;
        top: 240px;
        width: 100%;
    }

    /* Premio finale: immagine dell'auto sotto la CTA. */
    .car-banner {
        height: 621px;
        margin-top: 40px;
    }

    .car-paw-separator {
        display: none;
    }

    .view-home .car-banner {
        margin-top: 40px;
    }

    .car-banner > img.car-image-desktop {
        display: none;
    }

    .car-banner > img.car-image-mobile {
        bottom: 19px;
        display: block;
        height: 304px;
        max-width: none;
        object-fit: fill;
        opacity: 1;
        right: -62px;
        top: auto;
        width: 508px;
    }

    .car-copy {
        left: 16px;
        right: 16px;
        top: 40px;
    }

    .car-copy h2 {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 16px;
    }

    .car-desktop-break {
        display: none;
    }

    .car-copy p {
        font-size: 20px;
        line-height: 25px;
        margin-bottom: 24px;
    }

    .car-copy .campaign-button {
        font-size: 18px;
        height: 56px;
        line-height: 42px;
        width: 100% !important;
    }

    /* Premi: card mensile e voucher in una colonna. */
    .prizes-section {
        min-height: 0;
        padding: 0 0 40px;
    }

    .view-home .prizes-section {
        padding-bottom: 40px;
    }

    .home-period-prizes {
        display: block;
        height: auto;
    }

    .home-period-card {
        height: 340px;
        min-height: 340px;
        padding: 24px 16px;
    }

    .home-period-card img {
        height: 180px;
        max-width: 100%;
        width: 330px;
    }

    .home-period-copy {
        padding: 40px 16px;
    }

    .home-period-copy .campaign-button {
        width: 100%;
    }

    .view-home .prize-heading {
        margin-top: 56px;
    }

    .prizes-section > .design-container > p,
    .prize-heading p {
        margin-bottom: 0;
    }

    .monthly-card {
        height: 284px;
        min-height: 284px;
    }

    .instant-card {
        flex-basis: 88%;
        height: 203px;
    }

    .instant-grid {
        grid-template-columns: 1fr;
        margin-top: 32px;
    }

    .mobile-only-prize {
        display: block;
    }

    .mobile-prize-break {
        margin-top: 137px;
    }

    .prize-heading {
        margin-top: 64px;
    }

    .paw-trail {
        display: none;
    }

    /* Beneficenza, regolamento e footer: ordine verticale mobile. */
    .charity-desktop {
        display: none;
    }

    .charity-copy {
        display: none;
    }

    .charity-section {
        height: auto;
    }

    .charity-section-landing {
        display: block;
        min-height: 0;
    }

    .charity-section-landing .charity-art {
        display: none;
    }

    .charity-mobile {
        background: var(--soft);
        display: block;
    }

    .charity-photo {
        aspect-ratio: 690 / 400;
        background-image: url('/trovalimpronta/img/figma/charity-bambini.png');
        background-position: center;
        background-size: cover;
        height: auto;
    }

    .charity-mobile > div:last-child {
        padding: 40px 24px;
    }

    .charity-mobile h2 {
        font-size: 28px;
    }

    .charity-mobile p {
        font-size: 18px;
        line-height: 25px;
    }

    .rules-section {
        margin-top: 56px;
        padding-bottom: 56px;
    }

    .rules-section p {
        font-size: 16px;
        line-height: 22px;
    }

    .campaign-footer {
        padding: 24px 0;
    }

    /* Accesso: stessa hero, form e conferma impilati. */
    .auth-page {
        min-height: 1040px;
    }

    .auth-hero-art,
    .auth-hero-outline {
        display: none;
    }

    .auth-hero-logo {
        height: 40px;
        left: 16px;
        top: 13px;
        width: 50px;
    }

    .auth-hero-logo .campaign-logo-mobile {
        height: 40px;
        width: 50px;
    }

    .auth-hero-copy {
        left: 16px;
        right: 16px;
        top: 90px;
    }

    .auth-hero-copy p {
        font-size: 16px;
        line-height: 24px;
    }

    .auth-hero-copy h1 {
        font-size: 32px;
        line-height: 38px;
    }

    .auth-card {
        display: block;
        height: auto;
        min-height: 560px;
        padding: 36px 24px;
        top: 282px;
        width: calc(100% - 32px);
    }

    .auth-form-column h2,
    .auth-card-register h2 {
        font-size: 22px;
    }

    .auth-form-column .campaign-button {
        width: 100%;
    }

    .auth-illustration {
        height: auto;
        margin: 24px auto 0;
        width: 100%;
    }

    .auth-card-register {
        min-height: 690px;
    }

    .registration-grid {
        grid-template-columns: 1fr;
    }

    .field-wide-2,
    .field-full,
    .register-actions {
        grid-column: auto;
    }

    .register-captcha {
        margin-top: 8px;
    }

    .register-actions {
        display: grid;
        margin-top: 8px;
    }

    .view-register .auth-page {
        min-height: 0;
    }

    .view-register .auth-card {
        left: auto;
        margin: 282px auto 48px;
        position: relative;
        top: auto;
        transform: none;
    }

    /* Dashboard mobile: testo e pulsante nella hero rossa. */
    .dashboard-hero,
    .dashboard-hero > img {
        height: 360px;
    }

    .dashboard-hero > img {
        display: none;
    }

    .dashboard-hero::after {
        background: var(--brand-red-dark);
        content: '';
        height: 250px;
        position: absolute;
        right: -160px;
        top: 110px;
        transform: rotate(-38deg);
        width: 390px;
    }

    .dashboard-mobile-copy {
        color: #fff;
        display: block;
        left: 20px;
        position: absolute;
        top: 18px;
        width: calc(100% - 40px);
        z-index: 1;
    }

    .dashboard-mobile-copy img {
        height: 20px;
        margin-bottom: 40px;
        width: 113px;
    }

    .dashboard-mobile-copy p {
        font-size: 14px;
        line-height: 19px;
        margin-bottom: 10px;
        max-width: 340px;
    }

    .dashboard-mobile-copy h1 {
        font-size: 34px;
        line-height: 40px;
        margin-bottom: 8px;
    }

    .dashboard-logout {
        right: 18px;
        z-index: 2;
    }

    .dashboard-play {
        bottom: 24px;
        left: 24px;
        width: calc(100% - 48px);
        z-index: 2;
    }

    .dashboard-current-desktop {
        display: none;
    }

    .dashboard-current-mobile {
        background: var(--soft);
        display: block;
    }

    .dashboard-current-mobile > img {
        height: 260px;
        object-fit: cover;
        width: 100%;
    }

    .dashboard-current-mobile > div {
        padding: 32px 24px 40px;
    }

    .dashboard-current-mobile strong {
        display: block;
        margin: 6px 0 20px;
    }

    .dashboard-current-mobile h2 {
        font-size: 28px;
    }

    .dashboard-current-mobile .btn {
        width: 100%;
    }

    .paths-section {
        min-height: 720px;
        padding-top: 48px;
    }

    .path-image-card,
    .path-image-card img {
        height: auto;
        width: 326px;
    }

    .path-image-card {
        flex-basis: 326px;
    }

    .invite-desktop {
        display: none;
    }

    .dashboard-invite {
        background-color: var(--soft);
        background-image: url('/trovalimpronta/img/figma/dashboard-invite.png');
        background-position: 12% center;
        background-repeat: no-repeat;
        background-size: auto 430px;
        height: 650px;
        padding: 360px 24px 40px;
    }

    .invite-mobile {
        background: rgba(242, 242, 242, .94);
        display: block;
        padding: 20px;
    }

    .invite-mobile h2 {
        font-size: 28px;
    }

    .invite-mobile a {
        font-weight: 700;
    }

    .won-section {
        padding: 56px 0;
    }

    .won-grid {
        grid-template-columns: 1fr;
    }

    .won-grid article {
        min-height: 390px;
    }

    .game-grid {
        gap: 5px;
        grid-template-columns: repeat(5, minmax(0, 52px));
    }

    .game-tile {
        height: 52px;
        width: 52px;
    }

    /* Variante HTML della hero condivisa con la pagina prospect. */
    .dashboard-hero-html {
        height: 487px;
    }

    .dashboard-hero-html .prospect-hero-art,
    .dashboard-hero-html .prospect-hero-outline {
        display: none;
    }

    .dashboard-hero-html .prospect-hero-header {
        height: 64px;
    }

    .dashboard-hero-html .prospect-hero-logo {
        height: 40px;
        left: 16px;
        top: 13px;
        width: 50px;
    }

    .dashboard-hero-html .prospect-hero-logo .campaign-logo-mobile {
        height: 40px;
        width: 50px;
    }

    .dashboard-hero-html .dashboard-mobile-copy {
        left: 16px;
        top: 90px;
        width: calc(100% - 32px);
    }

    .dashboard-hero-html .dashboard-mobile-copy > p:first-of-type {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 16px;
    }

    .dashboard-hero-html .dashboard-mobile-copy h1 {
        font-size: 32px;
        line-height: 38px;
        margin-bottom: 16px;
    }

    .dashboard-hero-html .dashboard-mobile-copy > p:last-of-type {
        font-size: 20px;
        line-height: 25px;
        margin-bottom: 0;
    }

    .dashboard-hero-html .dashboard-play {
        bottom: 64px;
        height: 61px;
        left: 17px;
        width: calc(100% - 34px);
    }

    /* Periodo corrente: fondale, statistiche e contenuto diventano righe. */
    /* .prospect-page vale anche per il wrapper nella dashboard standard. */
    .prospect-page .dashboard-current {
        margin-top: 40px;
    }

    .prospect-page .prospect-current-card {
        display: flex;
        flex-direction: column;
        height: 924px;
        overflow: hidden;
    }

    .prospect-page .prospect-current-visual {
        flex: 0 0 338px;
        height: 338px;
    }

    .prospect-page .prospect-current-scene {
        height: 250px;
    }

    .prospect-page .prospect-current-landscape {
        height: 250px;
        object-fit: fill;
        width: 129.51%;
    }

    .prospect-page .prospect-route-marker {
        height: 50px;
        width: 48px;
    }

    .prospect-page .prospect-route-marker .route-token {
        height: 58px;
        left: -4px;
        top: -4px;
        width: 56px;
    }

    .prospect-page .prospect-route-marker .route-coin {
        height: 48px;
        left: 0;
        top: 0;
        width: 48px;
    }

    .prospect-page .prospect-route-marker .route-check {
        height: 20px;
        right: -1px;
        width: 20px;
    }

    .prospect-page .prospect-route-marker.marker-1 {
        left: 23px;
        top: 78px;
    }

    .prospect-page .prospect-route-marker.marker-2 {
        left: 76px;
        top: 125px;
    }

    .prospect-page .prospect-route-marker.marker-3 {
        left: 143px;
        top: 150px;
    }

    .prospect-page .prospect-route-marker.marker-4 {
        left: 199px;
        top: 97px;
    }

    .prospect-page .prospect-route-marker.marker-5 {
        left: 284px;
        top: 110px;
    }

    /* Riepilogo a scorrimento: la prima card include impronte e invito. */
    .prospect-page .prospect-current-stats {
        display: flex;
        gap: 8px;
        height: 88px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 24px 16px 0;
        width: 100%;
    }

    .prospect-page .prospect-stat,
    .prospect-page .prospect-stat:nth-child(n) {
        background: #fff;
        flex: 0 0 167.5px;
        gap: 8px;
        height: 64px;
        left: auto;
        padding: 12px 14px;
        position: relative;
        top: auto;
    }

    .prospect-page .prospect-stat-footprints:nth-child(1) {
        display: flex;
        flex-basis: 250px;
        gap: 6px;
        padding: 6px 10px;
    }

    .prospect-page .prospect-stat-footprints dd strong {
        font-size: 22px;
        line-height: 25px;
    }

    .prospect-page .prospect-friend-source {
        font-size: 12px;
        gap: 5px;
        line-height: 14px;
        margin-left: 0;
        padding-left: 7px;
        white-space: normal;
    }

    .prospect-page .prospect-friend-icon {
        flex-basis: 22px;
        height: 25px;
    }

    .prospect-page .prospect-friend-badge {
        height: 25px;
        width: 22px;
    }

    .prospect-page .prospect-stat > img,
    .prospect-page .prospect-stat-icon,
    .prospect-page .prospect-stat-footprints .prospect-stat-icon {
        height: 40px;
        width: 40px;
    }

    .prospect-page .stat-coin img {
        height: 47px;
        left: -4px;
        width: 47px;
    }

    .prospect-page .stat-paw .stat-base {
        height: 40px;
        width: 40px;
    }

    .prospect-page .stat-calendar .stat-calendar-base {
        height: 40px;
        width: 40px;
    }

    .prospect-page .stat-calendar .stat-calendar-detail {
        height: 31px;
        left: 2px;
        top: 4px;
        width: 35px;
    }

    .prospect-page .prospect-stat dt,
    .prospect-page .prospect-stat dd {
        font-size: 14px;
        line-height: 16px;
    }

    .prospect-page .prospect-current-content {
        flex: 0 0 586px;
        height: 586px;
        position: relative;
    }

    .prospect-page .prospect-period-label {
        left: 16px;
        top: 24px;
    }

    .prospect-page .prospect-period-row {
        left: 16px;
        right: 17px;
        top: 49px;
    }

    .prospect-page .prospect-period-row > strong {
        font-size: 20px;
        line-height: 25px;
    }

    .prospect-page .prospect-date-desktop,
    .prospect-page .prospect-status-desktop,
    .prospect-page .prospect-current-copy-desktop {
        display: none;
    }

    .prospect-page .prospect-date-mobile,
    .prospect-page .prospect-current-copy-mobile {
        display: block;
    }

    .prospect-page .prospect-current-content h2 {
        font-size: 31px;
        left: 17px;
        line-height: 37px;
        top: 139px;
        width: 320px;
    }

    .prospect-page .prospect-current-copy-mobile {
        font-size: 18px;
        left: 17px;
        line-height: 24px;
        top: 239px;
        width: 341px;
    }

    .prospect-page .prospect-current-actions {
        display: flex;
        flex-direction: column;
        gap: 31px;
        left: 17px;
        right: 17px;
        top: 344px;
    }

    .prospect-page .prospect-current-actions a,
    .prospect-page .prospect-current-actions button {
        flex: 0 0 56px;
        font-size: 18px;
        height: 56px;
        width: 100%;
    }

    .prospect-page .prospect-current-prize {
        gap: 16px;
        left: 16px;
        top: 519px;
    }

    .prospect-page .prospect-current-prize img {
        height: 36px;
        width: 75px;
    }

    .prospect-page .prospect-current-prize p {
        font-size: 13px;
        line-height: 17px;
        width: 218px;
    }

    /* Percorsi: card una alla volta, gettoni sotto il fondale. */
    .prospect-page .paths-section {
        min-height: 784px;
        padding: 40px 0;
    }

    .prospect-page .paths-section h2 {
        margin-bottom: 14px;
    }

    .prospect-page .path-slider {
        margin-top: 14px;
    }

    .prospect-page .path-image-card,
    .prospect-page .path-image-card img {
        height: 498px;
        width: 346px;
    }

    .prospect-page .path-image-card {
        flex-basis: 346px;
    }

    .prospect-page .path-image-card:first-child,
    .prospect-page .path-card:first-child {
        display: none;
    }

    .prospect-page .path-card {
        flex-basis: 346px;
        width: 346px;
    }

    .prospect-page .path-date-desktop {
        display: none;
    }

    .prospect-page .path-date-mobile {
        display: inline;
    }

    .prospect-page .path-card-scene {
        height: 197px;
        top: 122px;
        width: 313px;
    }

    .prospect-page .path-footprints {
        left: 18px;
        right: 18px;
        top: 335px;
    }

    .prospect-page .path-footprint {
        height: 64px;
        width: 48px;
    }

    .prospect-page .path-token-coin {
        height: 56px;
        left: -4px;
        top: 0;
        width: 56px;
    }

    .prospect-page .path-token-check {
        height: 20px;
        width: 20px;
    }

    .prospect-page .path-token-pending {
        height: 58px;
        left: -4px;
        top: -4px;
        width: 56px;
    }

    .prospect-page .path-footprint small {
        bottom: 0;
        display: block;
        font-size: 11px;
        left: 0;
        line-height: 14px;
        position: absolute;
        text-align: center;
        width: 48px;
    }

    .prospect-page .path-card-action {
        left: 17px;
        top: 426px;
        width: 312px;
    }

    .prospect-page .path-slider .slider-controls {
        margin-top: 12px;
    }

    /* Invita un amico: illustrazione e copia link in una colonna. */
    .prospect-page .dashboard-invite {
        background: none;
        height: 590px;
        padding: 0;
    }

    .prospect-page .prospect-invite {
        display: block;
        height: 590px;
        width: 100%;
    }

    .prospect-page .prospect-invite-visual {
        background: var(--soft);
        height: 250px;
        padding-top: 22px;
    }

    .prospect-page .prospect-invite-visual img {
        height: 229px;
        width: 299px;
    }

    .prospect-page .prospect-invite-content {
        background: var(--soft);
        height: 340px;
        padding: 24px 16px 0;
    }

    .prospect-page .prospect-invite-content h2 {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 24px;
    }

    .prospect-page .prospect-invite-copy {
        color: #3d4047;
        font-size: 18px;
        line-height: 24px;
        max-width: none;
    }

    .prospect-page .prospect-invite-copy-desktop,
    .prospect-page .prospect-invite-send {
        display: none;
    }

    .prospect-page .prospect-invite-copy-mobile {
        display: block;
    }

    .prospect-page .prospect-copy-link {
        font-size: 18px;
        gap: 10px;
        height: 56px;
        line-height: 24px;
        margin-top: 24px;
        padding: 16px;
    }

    /* Premi vinti: visual mobile prospect; poi premi condivisi. */
    .prospect-page .won-section {
        height: 590px;
        padding: 40px 0 39px;
    }

    .prospect-page .won-section h2 {
        margin-bottom: 14px;
    }

    .prospect-page .won-section > .design-container > p {
        margin-bottom: 0;
    }

    .prospect-page .prospect-won-mobile {
        display: block;
        margin-top: 24px;
    }

    .prospect-page .prospect-won-mobile > img {
        display: block;
        height: 367px;
        width: 346px;
    }

    .prospect-page .prospect-won-mobile .slider-controls {
        margin-top: 0;
    }

    .prospect-page .won-grid {
        display: none;
    }

    .prospect-page .car-banner {
        margin-top: 0;
    }

    .prospect-page .prospect-desktop-label {
        display: none;
    }

    .prospect-page .prospect-mobile-label {
        display: inline;
    }

    .prospect-page .prize-heading {
        margin-top: 40px;
    }

    .prospect-page .prizes-section .figma-slider {
        margin-top: 32px;
    }

    .prospect-page .prizes-section .slider-controls {
        align-items: center;
        height: 48px;
        margin-top: 16px;
    }

    /* Chiusura prospect: beneficenza e regolamento. */
    .prospect-page .charity-section {
        height: auto;
    }

    .prospect-page .prospect-charity-mobile {
        display: none;
    }

    .prospect-page .rules-section {
        height: 522px;
        margin-top: 40px;
        min-height: 522px;
        overflow: hidden;
        padding-bottom: 24px;
    }
}

/* 09. Dashboard cliente: usa i blocchi prospect, con le sole differenze del Figma. */
.client-dashboard .dashboard-play {
    align-items: center;
    bottom: 76px;
    display: flex;
    height: 56px;
    justify-content: center;
    text-decoration: none;
    width: 298px;
}

/* Periodo corrente: nuovo fondale, gettoni HTML e riepilogo a due voci. */
.client-dashboard .dashboard-current {
    margin-top: 80px;
}

.client-dashboard .prospect-route-marker.marker-3 {
    left: 314px;
    top: 201px;
}

.client-dashboard .prospect-route-marker.marker-4 {
    left: 440px;
    top: 180px;
}

.client-dashboard .prospect-route-marker.marker-5 {
    left: 566px;
    top: 223px;
}

.client-dashboard .prospect-stat:nth-child(1) {
    left: 80px;
}

.client-dashboard .prospect-stat:nth-child(2) {
    left: 470px;
}

.client-dashboard .prospect-stat-footprints dd strong {
    font-size: 20px;
}

.client-dashboard .prospect-current-copy {
    max-width: calc(100% - 160px);
}

.client-dashboard .paths-section {
    padding-top: 80px;
}

.client-dashboard .path-card-action {
    text-decoration: none;
}

/* Dopo la giocata: pannello app al posto del periodo giocabile. */
.client-app-banner {
    background: var(--soft);
    height: 510px;
    margin-top: 68px;
    overflow: hidden;
    position: relative;
}

.client-app-copy {
    left: 80px;
    position: absolute;
    top: 64px;
    width: 410px;
    z-index: 1;
}

.client-app-copy > p:first-child {
    color: var(--muted);
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 8px;
}

.client-app-period {
    align-items: center;
    display: flex;
    gap: 20px;
}

.client-app-period strong {
    font-size: 20px;
    line-height: 25px;
}

.client-app-period span {
    background: var(--brand-red);
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    white-space: nowrap;
}

.client-app-copy h2 {
    font-size: 30px;
    line-height: 38px;
    margin: 44px 0 16px;
}

.client-app-copy > p:nth-of-type(2) {
    color: var(--muted);
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 24px;
    max-width: 330px;
}

.client-app-copy .store-badges {
    display: flex;
    gap: 16px;
}

.client-app-copy .store-badges img {
    height: 42px;
    object-fit: contain;
    width: auto;
}

.client-app-desktop {
    bottom: 0;
    height: 510px;
    max-width: none;
    position: absolute;
    right: 0;
    width: 997px;
}

.client-app-mobile {
    display: none;
}

/* Premio di iscrizione: stessa card del prospect, un solo voucher. */
.client-dashboard .client-won .won-grid {
    grid-template-columns: 386px;
}

.client-dashboard .client-won .won-grid article {
    height: 407px;
    min-height: 0;
    padding: 16px;
    position: relative;
}

.client-dashboard .client-won-status {
    display: none;
}

.client-dashboard .client-won .won-grid img {
    height: 220px;
    margin: 0 auto 16px;
}

.client-voucher-action {
    background: transparent;
    border: 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    padding: 0;
    text-decoration: underline;
}

.client-voucher-action:disabled {
    opacity: 1;
}

/* Premio di periodo e instant win: componenti/card dello schema prospect. */
.client-dashboard .client-car-banner .car-copy {
    max-width: 480px;
}

.client-dashboard .client-prizes-section {
    min-height: 0;
    padding: 80px 0;
}

.client-period-prizes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 478px;
}

.client-dashboard .client-period-prize-card {
    align-items: center;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    height: 478px;
    justify-content: center;
    margin: 0;
    padding: 32px 45px;
}

.client-dashboard .client-period-prize-card img {
    height: 190px;
    margin-bottom: 24px;
    width: min(100%, 420px);
}

.client-period-prize-copy {
    padding: 48px 80px;
}

.client-period-prize-copy h2 {
    font-size: 30px;
    line-height: 38px;
    margin-bottom: 24px;
}

.client-period-prize-copy p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 20px;
}

.client-prize-play {
    align-items: center;
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 4px;
    color: #fff;
    display: inline-flex;
    font-size: 18px;
    font-weight: 700;
    height: 56px;
    justify-content: center;
    text-decoration: none;
    width: 298px;
}

.client-dashboard .client-prizes-section .prize-heading {
    margin-top: 80px;
}

.client-dashboard .client-instant-grid {
    margin-top: 32px;
}

@media (hover: hover) {
    .client-prize-play:hover {
        background: var(--brand-red);
        border-color: var(--brand-red);
        color: #fff;
    }
}

.client-prize-play:focus-visible {
    outline: 2px solid var(--brand-red);
    outline-offset: 2px;
}

/* Tablet: le colonne del periodo si impilano prima che il testo si comprima. */
@media (min-width: 768px) and (max-width: 991.98px) {
    .client-dashboard .prospect-current-card {
        grid-template-columns: 1fr;
        height: auto;
    }

    .client-dashboard .prospect-current-visual,
    .client-dashboard .prospect-current-content {
        height: 510px;
    }

    .client-dashboard .prospect-current-landscape {
        height: 388px;
        width: 100%;
    }

    .client-dashboard .prospect-current-stats {
        justify-content: flex-start;
    }

    .client-app-copy {
        left: 40px;
    }

    .client-app-desktop {
        right: -280px;
    }

    .client-period-prize-copy {
        padding: 32px;
    }

    .client-dashboard .charity-copy {
        left: 55%;
        top: 48px;
        width: 40%;
    }

    .client-dashboard .charity-copy p {
        font-size: 20px;
        line-height: 25px;
    }
}

/* Mobile: ordine e spaziature delle tavole da 375px. */
@media (max-width: 767.98px) {
    .client-dashboard .prospect-hero-logo {
        height: 24px;
        left: 16px;
        top: 13px;
        width: 136px;
    }

    .client-dashboard .prospect-hero-logo .campaign-logo-desktop {
        display: block;
    }

    .client-dashboard .prospect-hero-logo .campaign-logo-mobile,
    .client-dashboard .dashboard-logout button span {
        display: none;
    }

    .client-dashboard .dashboard-logout button {
        padding: 0;
    }

    .client-dashboard .dashboard-hero::after {
        display: none;
    }

    .client-dashboard .dashboard-hero-html > .prospect-hero-art,
    .client-dashboard .dashboard-hero-html > .prospect-hero-outline {
        display: block;
    }

    .client-dashboard .dashboard-hero-html > .prospect-hero-art {
        height: 170px;
        left: 42px;
        top: 317px;
        width: 622px;
    }

    .client-dashboard .dashboard-hero-html > .prospect-hero-outline {
        height: 195px;
        left: 42px;
        top: 292px;
        width: 712px;
    }

    .client-dashboard .dashboard-hero-html .dashboard-play {
        bottom: 64px;
        width: calc(100% - 34px);
    }

    .client-dashboard .dashboard-current {
        margin-top: 40px;
    }

    .client-dashboard .prospect-current-card {
        height: 895px;
    }

    .client-dashboard .prospect-current-visual {
        flex-basis: 312px;
        height: 312px;
    }

    .client-dashboard .prospect-current-scene,
    .client-dashboard .prospect-current-landscape {
        height: 210px;
        width: 100%;
    }

    .client-dashboard .prospect-route-marker.marker-1 {
        left: 31px;
        top: 50px;
    }

    .client-dashboard .prospect-route-marker.marker-2 {
        left: 92px;
        top: 94px;
    }

    .client-dashboard .prospect-route-marker.marker-3 {
        left: 159px;
        top: 132px;
    }

    .client-dashboard .prospect-route-marker.marker-4 {
        left: 220px;
        top: 68px;
    }

    .client-dashboard .prospect-route-marker.marker-5 {
        left: 308px;
        top: 91px;
    }

    .client-dashboard .prospect-current-stats {
        height: 102px;
        padding-top: 26px;
    }

    .client-dashboard .prospect-stat-footprints:nth-child(1) {
        flex-basis: 184px;
        left: auto;
    }

    .client-dashboard .prospect-stat:nth-child(2) {
        flex-basis: 152px;
        left: auto;
    }

    .client-dashboard .prospect-current-content {
        flex-basis: 583px;
        height: 583px;
    }

    .client-dashboard .prospect-current-content h2 {
        top: 96px;
    }

    .client-dashboard .prospect-current-copy {
        font-size: 18px;
        left: 17px;
        line-height: 24px;
        max-width: none;
        top: 184px;
        width: calc(100% - 34px);
    }

    .client-dashboard .prospect-current-actions {
        gap: 16px;
        top: 335px;
    }

    .client-dashboard .prospect-current-actions button {
        order: -1;
    }

    .client-dashboard .prospect-current-prize {
        top: 508px;
    }

    .client-dashboard .paths-section {
        padding-top: 40px;
    }

    .client-dashboard .path-card:first-child {
        display: block;
    }

    .client-app-banner {
        height: 773px;
        margin-top: 40px;
    }

    .client-app-copy {
        left: 16px;
        top: 30px;
        width: calc(100% - 32px);
    }

    .client-app-period {
        justify-content: space-between;
    }

    .client-app-period strong {
        font-size: 20px;
    }

    .client-app-copy h2 {
        font-size: 28px;
        line-height: 34px;
        margin-top: 22px;
    }

    .client-app-copy > p:nth-of-type(2) {
        max-width: 343px;
    }

    .client-app-desktop {
        display: none;
    }

    .client-app-mobile {
        bottom: 0;
        display: block;
        height: 450px;
        object-fit: cover;
        object-position: top center;
        position: absolute;
        width: 100%;
    }

    .client-dashboard .client-won .won-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .client-dashboard .client-won .won-grid article {
        height: 366px;
        min-height: 0;
    }

    .client-dashboard .client-won .won-grid img {
        height: 197px;
        margin-bottom: 14px;
    }

    .client-dashboard .client-won .won-grid p {
        margin-bottom: 8px;
    }

    .client-dashboard .client-voucher-action {
        line-height: 19px;
    }

    .client-dashboard .client-won-status {
        display: inline-block;
        position: absolute;
        right: 16px;
        top: 16px;
    }

    .client-dashboard .client-prizes-section {
        padding: 40px 0;
    }

    .client-period-prizes {
        grid-template-columns: 1fr;
    }

    .client-period-prize-copy {
        order: -1;
    }

    .client-dashboard .client-period-prize-card {
        height: 300px;
    }

    .client-period-prize-copy {
        padding: 40px 16px;
    }

    .client-prize-play {
        width: 100%;
    }

    .client-dashboard .client-prizes-section .prize-heading {
        margin-top: 40px;
    }

}

/* 10. Accessibilita: disabilita lo smooth scroll se richiesto dal sistema. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .figma-slider-track {
        scroll-behavior: auto;
    }
}


@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: only light;
    }

    html, body {
        background-color: #ffffff !important;
        color: #20252b !important;
    }
}