/* Misma identidad visual que el quiz; registro compacto y adaptable. */
.header-line{display:grid;grid-template-columns:22px minmax(0,1fr) 116px;gap:9px}
.store-logo{min-width:0;display:flex;justify-content:center;align-items:center}
.store-logo img{width:120px;max-width:100%;height:36px;object-fit:contain}
.header-line .points-balance{min-width:0;padding:5px 8px}
.header-line .points-balance strong{font-size:16px;white-space:nowrap}
.header-line .sound-toggle{width:28px;padding:3px}
.registration-mode{background:#fff;color:#191f26}
.registration-mode #quiz-main{padding:0 0 calc(67px + env(safe-area-inset-bottom))}
.registration-mode .form-card{padding:19px 23px 10px;background:white}
.registration-intro{text-align:center}
.registration-intro .complete-icon{display:grid;width:35px;height:35px;margin:0 auto 9px;border-radius:50%;background:#ecf6ed;color:#4c985b}
.registration-intro .complete-icon svg{width:20px;height:20px;stroke-width:2}
.registration-intro .eyebrow{color:#a07836;font-size:9px;letter-spacing:1.1px;font-weight:700;margin:0 0 8px}
.registration-intro .eyebrow>span{display:none}
.registration-intro h1{font-size:25px;line-height:1.1;letter-spacing:-.7px;margin:0 0 9px}
.registration-intro h1 br{display:none}
.registration-intro h1 br:after{content:' '}
.registration-intro .muted{font-size:12px;line-height:1.5;color:#66717d;margin:0 0 13px}
.registration-mode .final-points{display:flex;justify-content:space-between;align-items:center;gap:8px;border:1px solid #deebdf;background:#f4f9f4;border-radius:7px;padding:9px 11px;margin:0 0 13px}
.participation-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#4a7b54}
.participation-label svg{width:18px;height:18px;flex-shrink:0}
.participation-label small{display:block;margin-top:3px;font-size:9px;color:#748078}
.registration-mode .final-points>strong{font-size:19px;color:#438251;white-space:nowrap;text-align:right;letter-spacing:-.5px}
.registration-mode .final-points>strong small{display:block;font-size:9px;letter-spacing:0;font-weight:400;color:#748078;margin-top:2px}
.form-section-title{display:none}
.registration-mode .form-card label:not(.consent){font-size:11px;font-weight:600;color:#505b66;margin:10px 0 5px}
.registration-mode .form-card input:not([type=checkbox]){min-height:43px;height:43px;padding:10px 12px;border:1px solid #dbe0e6;border-radius:7px;background:#fff;font-size:16px;color:#25313b}
.registration-mode .form-card input::placeholder{font-size:12px;color:#8c96a1}
.registration-mode .form-card input:focus-visible{outline:2px solid #75a77e;outline-offset:1px}
.registration-mode .privacy-note{font-size:10px;line-height:1.5;color:#78828c;margin:10px 0 11px}
.registration-mode .privacy-note a{color:#486986;text-underline-offset:2px}
.registration-mode .form-card .primary{background:#4c985b;border:0;border-radius:7px;min-height:45px;padding:12px 15px;margin:0;font-size:13px;font-weight:700;color:white}
.registration-mode .form-card .primary:hover{background:#41884f}
.registration-mode .secure-note{display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px;color:#7c8791;margin:9px 0 0}
.secure-note svg{width:11px;height:11px}
.registration-mode .footnote{font-size:9px;line-height:1.5;color:#838d96;padding:7px 15px 4px}
.registration-mode .success{text-align:center;min-height:380px;padding:35px 24px}
.registration-mode .success .complete-icon{margin:0 auto 18px}
.registration-mode .success .primary{margin-top:24px;justify-content:center}
.registration-mode #contact-message{font-size:13px;line-height:1.6;color:#697580}
.phone-row{display:flex;gap:7px;align-items:center;min-width:0}
#country-button{display:flex;align-items:center;gap:5px;flex-shrink:0;background:#f8faf8;border:1px solid #dbe0e6;border-radius:7px;height:43px;padding:0 9px;color:#35453d;font-size:13px;min-width:90px;justify-content:center}
#country-flag{font-size:20px;line-height:1}
.country-chevron{font-size:13px;color:#8b9590}
.phone-row #phone{min-width:0;flex:1;width:0}
.phone-row #custom-dial{width:66px;flex-shrink:0;padding:10px 6px}
#country-dialog{padding:19px;max-width:410px;max-height:min(610px,85dvh);border-radius:13px}
.country-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}
.country-heading h2{font-size:19px;margin:0}
#close-country{border:0;background:none;font-size:26px;color:#637169;padding:0 5px}
#country-search{font-size:16px;min-height:44px;border:1px solid #dbe0e6;border-radius:7px}
.country-suggestion{font-size:11px;line-height:1.5;color:#7a867e;margin:12px 0}
.country-suggestion button{font-size:11px;border:1px solid #d9e9dc;background:#f0f8f2;color:#467551;border-radius:6px;padding:10px;width:100%;text-align:left}
#country-options{max-height:365px;overflow:auto;font-size:12px}
.country-option{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;border-bottom:1px solid #edf0ed;padding:13px 8px;background:white;text-align:left;color:#3e4e45;font-size:13px;gap:10px;min-height:45px}
.country-option span:last-child{color:#6f8176;white-space:nowrap}
.country-option[aria-pressed=true]{background:#f1f8f1;font-weight:700}
@media(max-height:760px){.registration-mode .form-card{padding-top:12px}.registration-intro .complete-icon{width:29px;height:29px;margin-bottom:6px}.registration-intro h1{font-size:23px;margin-bottom:7px}.registration-intro .eyebrow{margin-bottom:6px}.registration-intro .muted{margin-bottom:10px}.registration-mode .final-points{padding:7px 10px;margin-bottom:9px}.registration-mode .form-card label:not(.consent){margin-top:8px}}
@media(max-height:660px){.registration-intro .complete-icon{display:none}.registration-mode .header-search{display:none}.registration-mode .shop-header{padding-bottom:0}.registration-mode .form-card{padding:12px 20px 8px}.registration-mode .footnote{padding-top:3px}}
@media(max-width:350px){.registration-mode .form-card{padding-left:16px;padding-right:16px}.participation-label{font-size:10px;gap:5px}.registration-mode .final-points>strong{font-size:17px}.header-line{grid-template-columns:20px minmax(0,1fr) 104px;gap:5px}}
@media(max-height:760px){.registration-mode .header-search{display:none}.registration-mode .shop-header{padding-bottom:0}.registration-mode .footnote{padding-top:3px}}
.confirmation-mode{background:#f2f2f2}
.confirmation-mode #quiz-main{min-height:calc(100dvh - 99px);padding:25px 18px 82px;display:flex;flex-direction:column;justify-content:center}
.confirmation-card{background:white;border:1px solid #ddd;border-radius:17px;box-shadow:0 17px 24px #00000012,0 4px 6px #00000006;padding:28px 24px 21px;text-align:center}
.confirmation-check{display:grid;place-items:center;width:83px;height:83px;margin:0 auto 22px;background:#10bb74;color:white;border-radius:50%;box-shadow:0 9px 17px #10bb7428}
.confirmation-check svg{height:43px;width:43px;stroke-width:3.5}
.confirmation-card h1{font-size:29px;line-height:1.15;letter-spacing:-1.1px;margin:0 0 21px;font-weight:800;color:#171e28}
.confirmation-label{font-size:15px;color:#202833;margin:0 0 10px}
.confirmation-balance{display:block;color:#10975c;font-size:46px;line-height:1.1;letter-spacing:-1.6px;font-weight:800;font-variant-numeric:tabular-nums}
.confirmation-description{font-size:13px;line-height:1.7;color:#626d7f;margin:24px 0}
.confirmation-button{width:100%;border:0;border-radius:9px;background:#ff9b00;min-height:48px;padding:15px 8px;color:#111;font-weight:800;font-size:13px;box-shadow:0 4px 7px #00000012}
.confirmation-button:hover{background:#ef9000}
.confirmation-demo{font-size:10px;line-height:1.5;color:#78838d;margin:13px 0 0}
.confirmation-mode .footnote{padding:16px 0 0;font-size:9px}
@media(max-height:700px){.confirmation-mode #quiz-main{padding:16px 16px 76px}.confirmation-card{padding:20px 20px 16px}.confirmation-check{width:62px;height:62px;margin-bottom:16px}.confirmation-check svg{width:34px;height:34px}.confirmation-card h1{font-size:27px;margin-bottom:15px}.confirmation-balance{font-size:40px}.confirmation-description{margin:18px 0}}

/* Saldo compacto, com contraste e hierarquia no cabeçalho. */
.header-line{height:58px}
.header-line .points-balance{background:#20372e;border:1px solid #41664f;border-radius:10px;padding:6px 11px;min-height:43px;text-align:right;box-shadow:inset 0 1px 0 #ffffff0a}
.header-line .points-balance small{color:#a8c7b6;font-size:8px;letter-spacing:1px;font-weight:600;line-height:1.4}
.header-line .points-balance strong{display:block;color:#f3fff7;font-size:21px;line-height:1.2;letter-spacing:-.5px;font-weight:700;font-variant-numeric:tabular-nums}
.quiz-mode #quiz-main{height:calc(100dvh - 107px - 61px - env(safe-area-inset-bottom))}
.confirmation-mode #quiz-main{min-height:calc(100dvh - 107px)}

/* Telefones menores: evita repetir o saldo e preserva campos confortáveis. */
.registration-mode .form-card input:not([type=checkbox]),#country-button{min-height:44px;height:44px}
#close-country{min-width:44px;min-height:44px}
#country-dialog{width:calc(100% - 24px);box-sizing:border-box;overscroll-behavior:contain}
#country-options{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.registration-mode input{scroll-margin-block:90px}
@media(max-height:620px){
 .registration-mode .final-points{display:none}
 .registration-mode .form-card{padding:10px 16px 6px}
 .registration-mode .form-card label:not(.consent){margin-top:6px}
 .registration-intro h1{font-size:21px}
 .registration-mode .privacy-note{margin-top:8px;margin-bottom:8px}
 .registration-mode .footnote{font-size:8px}
}
@media(max-height:500px){.registration-mode:focus-within .bottom-nav{display:none}}
.registration-mode .footnote{margin:0}

/* Compact wallet balance, shared with the presentation header. */
.header-line .points-balance,.vsl-header-balance{position:relative;min-width:112px;min-height:48px;padding:7px 12px 7px 30px;border:1px solid #78cba53d;border-radius:14px;background:linear-gradient(135deg,#233c35,#172d28);box-shadow:0 4px 14px #0002,inset 0 1px 0 #ffffff10;text-align:right}
.header-line .points-balance::before,.vsl-header-balance::before{content:'€';position:absolute;left:9px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:18px;height:22px;border-radius:6px;background:#b4efd313;color:#9bdfbd;font-size:13px;font-weight:600}
.header-line .points-balance small,.vsl-header-balance small{display:block;color:#a9cabc;font-size:8px;font-weight:600;letter-spacing:1.1px;line-height:1.4}
.header-line .points-balance strong,.vsl-header-balance strong{display:block;margin-top:2px;color:#f0fff7;font-size:23px;font-weight:650;line-height:1.1;letter-spacing:-.65px;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:350px){.header-line .points-balance,.vsl-header-balance{min-width:100px;padding-right:9px;padding-left:27px}.header-line .points-balance strong,.vsl-header-balance strong{font-size:20px}}

/* Keep the full EUR amount inside the wallet, including narrow screens. */
.header-line{grid-template-columns:22px minmax(0,1fr) max-content;gap:8px}
.header-line .points-balance,.vsl-header-balance{width:max-content;min-width:132px;flex-shrink:0;padding:7px 12px 7px 32px}
.header-line .points-balance strong,.vsl-header-balance strong{font-size:21px;letter-spacing:-.4px}
.vsl-header-line{gap:8px}.vsl-header-line img{min-width:0;max-width:116px;width:100%;flex:1}
@media(max-width:350px){.header-line .points-balance,.vsl-header-balance{min-width:120px;padding-left:29px;padding-right:10px}.header-line .points-balance strong,.vsl-header-balance strong{font-size:19px}.store-logo img{max-width:104px}.vsl-header-line img{max-width:104px}}

/* Registration: a single heading, three fields and one main action. */
.registration-mode .registration-intro .complete-icon,.registration-mode .registration-intro .eyebrow,.registration-mode .final-points,.registration-mode .secure-note{display:none}
.registration-mode .form-card{padding:30px 24px 18px;max-width:420px;margin-inline:auto}
.registration-mode .registration-intro{margin-bottom:25px}
.registration-mode .registration-intro h1{font-size:26px;letter-spacing:-.7px;margin:0 0 10px}
.registration-mode .registration-intro .muted{font-size:13px;line-height:1.5;max-width:290px;margin:0 auto;color:#6b7581}
.registration-mode .form-card label:not(.consent){font-size:11px;font-weight:500;margin:15px 0 7px}
.registration-mode .form-card input:not([type=checkbox]),.registration-mode #country-button{height:48px;min-height:48px;border-radius:10px;background:#fafbfc;border-color:#e0e5e9}
.registration-mode .form-card .primary{justify-content:center;gap:12px;min-height:48px;border-radius:10px;background:#11995d;font-size:14px;margin-top:17px}
.registration-mode .privacy-note{text-align:center;font-size:10px;margin:16px 0 0;color:#7a838e}
.registration-mode .privacy-note a{text-decoration:none;color:#536777}
.registration-mode .footnote{max-width:310px;margin:0 auto;padding:0 16px 12px;font-size:9px;line-height:1.5;color:#88929c}
@media(max-height:670px){.registration-mode .form-card{padding:18px 22px 10px}.registration-mode .registration-intro{margin-bottom:17px}.registration-mode .form-card label:not(.consent){margin-top:10px}.registration-mode .form-card input:not([type=checkbox]),.registration-mode #country-button{height:44px;min-height:44px}}

/* Compact per-evaluation reward. */
.stepbar{background:#fcfcfa;gap:8px;letter-spacing:.5px}
.stepbar>span.step-credit{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:6px;background:#eaf7ef;color:#278454;font-size:11px;line-height:1.2;white-space:nowrap;flex-shrink:0;font-variant-numeric:tabular-nums}
.step-credit small{font-size:8px;font-weight:500;letter-spacing:0;color:#658674}
@media(max-width:350px){.stepbar{padding-inline:12px;font-size:9px}.stepbar>span.step-credit{font-size:10px;padding:4px 6px}}

/* Responsive safeguards: landscape, keyboard, and narrow viewports. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.reward-overlay{overflow-y:auto;padding:16px}.reward-card{max-height:calc(100dvh - 32px);overflow-y:auto}
#country-dialog{max-height:calc(100dvh - 32px)}
#country-options{max-height:min(365px,calc(100dvh - 190px))}
@media(max-height:540px){
 .bottom-nav{position:relative;height:61px;padding-bottom:5px}
 .quiz-mode #quiz-main{height:auto;min-height:0;padding-bottom:0}
 .quiz-mode .product-image{flex:none;height:160px}
 .registration-mode #quiz-main,.confirmation-mode #quiz-main{padding-bottom:20px;min-height:0}
 .registration-mode:focus-within .bottom-nav{display:none}
 .vsl-main{padding-bottom:20px}
}

/* Use desktop width for the product, without stretching the form. */
@media(min-width:1000px) and (min-height:600px){
 .quiz-mode #quiz-main{max-width:920px;width:calc(100% - 48px);margin-inline:auto}
 .quiz-mode .header-line,.quiz-mode .header-search{max-width:888px}
 .quiz-mode .product-card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:40px 2px 1fr auto;column-gap:28px}
 .quiz-mode .stepbar{grid-column:1/-1;height:40px}
 .quiz-mode progress{grid-column:1/-1;width:100%}
 .quiz-mode .product-image{grid-column:1;grid-row:3/5;min-height:0;padding:36px 26px}
 .quiz-mode .product-info{grid-column:2;grid-row:3;align-self:center;padding:30px 16px 16px 0}
 .quiz-mode .product-info h1{font-size:26px;line-height:1.3}
 .quiz-mode .product-price{font-size:30px;margin-top:15px}
 .quiz-mode .vote-panel{grid-column:2;grid-row:4;padding:18px 16px 24px 0;background:#fff;border:0}
 .quiz-mode .vote-buttons button{min-height:50px}
}

@media(max-height:640px){
 .confirmation-mode .header-search{display:none}
 .confirmation-mode .shop-header{padding-bottom:0}
 .confirmation-mode #quiz-main{min-height:calc(100dvh - 58px);padding:12px 16px 73px}
 .confirmation-card{padding:16px}
 .confirmation-check{width:48px;height:48px;margin-bottom:12px}.confirmation-check svg{width:28px;height:28px}
 .confirmation-card h1{font-size:24px;margin-bottom:10px}
 .confirmation-label{font-size:13px;margin-bottom:7px}
 .confirmation-balance{font-size:36px}
 .confirmation-description{font-size:11px;line-height:1.5;margin:13px 0}
 .confirmation-button{min-height:44px;padding:12px 6px;font-size:12px}
 .confirmation-demo{font-size:9px;margin-top:10px}
}
@media(max-height:540px){.confirmation-mode #quiz-main{min-height:0;padding-bottom:20px}}
