/* Keep the confirmed quiz structure; only language and trust icons change. */
.gate-topline{display:flex;align-items:center;justify-content:space-between;margin-top:24px}
#gate .gate-topline>.eyebrow{margin:0;max-width:49%;box-sizing:border-box;white-space:normal}
.gate-social-proof{max-width:46%;text-align:end;margin-inline-start:10px;line-height:1.2}
.gate-social-proof b{display:block;color:#bcebd0;font-size:16px;font-weight:900;white-space:nowrap}
.gate-social-proof span{display:block;margin-top:3px;color:#e4d7e8;font-size:10px;line-height:1.3}
@media(max-width:360px){.gate-social-proof b{font-size:14px}.gate-social-proof span{font-size:9px}}
.safari-required[hidden]{display:none}
.safari-required{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box;overflow-y:auto}
.safari-required section{box-sizing:border-box;width:100%;max-width:360px;max-height:calc(100vh - 36px);overflow-y:auto;padding:26px 22px;border-radius:28px;background:#fffaf4;color:#24132e;text-align:center;box-shadow:0 20px 70px #0005}
.safari-required-icon{margin:0 auto 16px;width:60px;height:60px;border-radius:20px;background:#351044;color:#bcebd0;font-size:40px;line-height:60px}
.safari-required h2{font-size:26px;line-height:1.15;margin:0 0 14px;letter-spacing:-.5px}
.safari-required p{font-size:15px;line-height:1.5;color:#716573}
.safari-required button{display:block;width:100%;min-height:44px;border:0;border-radius:15px;padding:12px;font:700 15px Arial,sans-serif;cursor:pointer}
.safari-required .required-primary{margin-top:22px;background:linear-gradient(100deg,#ff527b,#8b50e8);color:white}
.safari-required .required-help{margin-top:8px;background:transparent;color:#58216b;text-decoration:underline}
.safari-required .required-status{font-size:12px;margin:8px 0 0}
.safari-required input{box-sizing:border-box;width:100%;padding:10px;margin-top:8px}
.safari-required-open{overflow:hidden!important}.safari-required-open .phone{pointer-events:none}
.browser-preview-links{display:flex;flex-wrap:wrap}.browser-preview-links a{color:#c7f3da;margin:5px 12px 0 0;text-decoration:underline}
#gateReady.combined{position:relative}
#gateReady.combined>header{margin-bottom:8px}
#gateReady.combined>.ready-mark{position:absolute;top:14px;left:50%;transform:translateX(-50%);width:52px;height:52px;margin:0;font-size:28px;box-shadow:4px 4px 0 var(--o)}
#gateReady.combined>.eyebrow{margin-top:16px}
#gateReady.combined>.combined-guide{margin-top:10px}
.language-control{display:flex;align-items:center;margin-inline-start:auto;margin-inline-end:8px;color:#d4efdf;flex-shrink:0}
.language-control>span{font-size:17px;margin-inline-end:3px}
.language-select{max-width:110px;width:auto;background:#ffffff0c;border:1px solid #ffffff45;border-radius:8px;color:#fff;padding:6px 3px;font:12px Arial,sans-serif;min-height:32px}
.language-select option{background:#351044;color:#fff}
header>.logo{flex-shrink:0;margin-inline-end:6px;direction:ltr}
.result header{position:relative;z-index:2}.result .language-select{background:#351044}
#start header>small{display:none}
.trust-item{display:grid!important;grid-template-columns:22px auto;justify-content:center;align-items:center;column-gap:7px}
.trust-item svg{width:22px;height:22px;color:#bcebd0}.trust-item b{font:inherit;line-height:1.25}
.geo-privacy{grid-column:1;max-width:430px;width:100%;box-sizing:border-box;font:10px/1.5 Arial,sans-serif;color:#c9bfce;padding:12px 16px;margin:0 auto;text-align:center}
.guide-image-caption{display:block;color:#c9bfce;font-size:9px;line-height:1.4;margin:-4px 0 10px;text-align:start}
.copy-fallback{margin-top:12px}.copy-fallback[hidden]{display:none}.copy-fallback>p{font-size:12px!important}.copy-fallback input{box-sizing:border-box;width:100%;padding:10px;font-size:12px;border:1px solid #ff6434;border-radius:8px;color:#17131c;background:#fff}
html:not([lang=en]) h1,html:not([lang=en]) h2,html:not([lang=en]) h3,html:not([lang=en]) .eyebrow,html:not([lang=en]) .qnum{letter-spacing:normal;text-transform:none}
html:not([lang=en]) .gate h1{font-size:39px;line-height:1.15}
html:not([lang=en]) .start h2{font-size:33px;line-height:1.15}
html:not([lang=en]) .result-hero h2{font-size:28px;line-height:1.3}
html:not([lang=en]) .gate-quiz h2{font-size:29px;line-height:1.15}
html:not([lang=en]) .quiz-hero h2{line-height:1.2}
.result .long-copy{line-height:1.65}
.type-code,.type-card b,.dimension-list b,.dimension-preview-grid b,.type-strip-codes,.gate-type-chips,#count,#gateCount{direction:ltr;unicode-bidi:isolate}
.result-hero{display:flow-root}
.result .result-hero .avatar{right:0;background-position:center 20%;border-radius:90px 14px 14px 90px}
.result .result-hero h2{width:43%}
.result-preview-picker{grid-column:1;max-width:430px;width:100%;padding:9px;margin:0 0 10px;background:#351044;color:#fff;border:1px solid #806b87;border-radius:9px}
/* Shared hero: crop excess torso, never crop from the top on short screens. */
#gate .people,#start .start-photo{background-image:url('regional-gate-v1.webp');background-position:center top;background-size:cover;background-repeat:no-repeat}
#gate .people:before{display:none}
/* Both RTL languages retain the LTR logo, type code and browser screenshot. */
html[dir=rtl] .result .result-hero .avatar{right:auto;left:0;border-radius:14px 90px 90px 14px}
html[dir=rtl] .result .result-hero h2,html[dir=rtl] .result .result-hero .type-code{text-align:right;margin-right:0}
html[dir=rtl] .result .badge{margin-left:0;margin-right:8px}
html[dir=rtl] .gate-answers button,html[dir=rtl] .answers button,html[dir=rtl] .result,html[dir=rtl] .result .card{text-align:right}
html[dir=rtl] .quiz .answers button{padding-left:40px;padding-right:8px}
html[dir=rtl] .quiz .answers button.on:after{right:auto;left:10px}
html[dir=rtl] .guide-step{text-align:right}
html[dir=rtl] .quiz-tip,html[dir=rtl] .insight-card{text-align:right}
html[dir=rtl] .start-bottom-note{border-left:0;border-right:4px solid var(--o)}
html[lang=ur] body{font-family:'Noto Naskh Arabic','Geeza Pro','Segoe UI',Arial,sans-serif}
html[lang=ar] body{font-family:'Geeza Pro','Segoe UI',Arial,sans-serif}
html[lang=si] body{font-family:'Sinhala Sangam MN','Iskoola Pota','Nirmala UI',sans-serif}
html[lang=ta] body{font-family:'Tamil Sangam MN','Latha','Nirmala UI',sans-serif}
html[lang=si] .gate h1,html[lang=ta] .gate h1{font-size:33px;line-height:1.3}
html[lang=si] .start h2,html[lang=ta] .start h2{font-size:28px;line-height:1.3}
html[lang=si] .result-hero h2,html[lang=ta] .result-hero h2{font-size:22px;line-height:1.4;overflow-wrap:anywhere}
.locale-preview-tools{box-sizing:border-box;max-width:430px;width:100%;background:#241a29;color:#fff;border:1px solid #655370;border-radius:12px;padding:12px;margin:0 0 12px;font:12px/1.5 Arial,sans-serif;direction:ltr;grid-column:1}
.locale-preview-tools>strong{display:block;margin-bottom:5px}.locale-preview-tools select{max-width:200px;margin-left:6px;padding:5px}.locale-preview-tools button{border:1px solid #9c809f;background:#351044;color:#fff;border-radius:6px;padding:6px;margin:7px 5px 4px 0;font-size:11px}.preview-status{display:block;color:#bcebd0}
/* Auto-flow CTA prevents longer translations overlapping the last gate answer. */
.gate-quiz{position:relative;padding-bottom:20px}.gate-next{position:relative;inset:auto;width:100%;margin-top:16px}.gate-type-teaser{position:relative;inset:auto;margin-top:12px}
@media(max-width:480px){
 #gateReady.combined>header{margin-bottom:6px}
 #gateReady.combined>.ready-mark{top:10px;width:44px;height:44px;margin:0;font-size:25px}
 #gateReady.combined>.eyebrow{margin-top:14px}
 #gateReady.combined>.combined-guide{margin-top:6px}
 .locale-preview-tools{display:none}.geo-privacy{max-width:none}
 .language-select{max-width:102px;font-size:11px;padding:4px 1px}.language-control{margin-inline-end:6px}
 html:not([lang=en]) .quiz-hero h2{font-size:22px;line-height:1.2;overflow:hidden}
 html:not([lang=en]) .gate-quiz h2{font-size:27px;line-height:1.2}
 html[lang=si] .quiz .answers button,html[lang=ta] .quiz .answers button{font-size:12px;line-height:1.25}
 html[lang=ur] .quiz .answers button,html[lang=ar] .quiz .answers button{font-size:14px;line-height:1.3}
 html:not([lang=en]) .quiz .qhint{line-height:1.3;font-size:10px;margin-top:5px}
 html[lang=si] .quiz-tip small,html[lang=ta] .quiz-tip small{font-size:9px;line-height:1.35}
 html[lang=si] .result-hero h2,html[lang=ta] .result-hero h2{font-size:20px}
 .quiz .actions{position:relative;inset:auto}
 .quiz .answers button{white-space:normal;overflow-wrap:break-word}
}
@media(max-width:480px) and (max-height:700px){
 html:not([lang=en]) .quiz-hero h2{font-size:20px;line-height:1.2}
 html[lang=si] .gate-quiz h2,html[lang=ta] .gate-quiz h2{font-size:24px}
 html[lang=si] .quiz .answers button,html[lang=ta] .quiz .answers button{height:54px;min-height:54px;font-size:11px;line-height:1.25}
 html[lang=ur] .quiz .answers button,html[lang=ar] .quiz .answers button{height:50px;min-height:50px;font-size:13px;line-height:1.3}
 .gate-type-teaser{display:flex}.gate-next{margin-top:12px}
}

/* Arabic-only regional preview. */
.preview-nav{direction:ltr;width:100%;max-width:430px;padding:10px 12px;margin-bottom:12px;background:#291733;border:1px solid #66506f;border-radius:14px;color:#fff;font:12px Arial,sans-serif;display:flex;flex-wrap:wrap;align-items:center;gap:7px}.preview-nav span{width:100%;color:#bcebd0}.preview-nav button{border:1px solid #7b6088;border-radius:7px;background:#351044;color:white;padding:7px 10px}
.gate-topline{margin-top:20px}#gate .gate-topline>.eyebrow{max-width:100%}
#gateReady.combined>.eyebrow{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 23px;margin:18px auto 16px;font-size:16px;font-weight:900;line-height:1.4;animation:none;transform:none;box-shadow:none}
.gate-topline{direction:ltr;display:grid;grid-template-columns:1fr 1fr 1.22fr;gap:7px;align-items:center}#gate .gate-topline>.eyebrow{display:flex;align-items:center;justify-content:center;min-height:36px;margin:0;padding:7px 8px;border-radius:99px;font-size:10px;line-height:1.3;text-align:center;white-space:normal}.participation-badge{flex-direction:column}.participation-badge b{font-size:11px;white-space:nowrap}.participation-badge span{font-size:9px;font-weight:700}html[lang=ar] .gate-topline>.eyebrow{direction:rtl}@media(max-width:360px){.gate-topline{gap:5px}#gate .gate-topline>.eyebrow{padding:6px 5px;font-size:9px}.participation-badge b{font-size:10px}}
#gate .people,#start .start-photo{background-image:url('arabic-people.webp');background-position:center 25%;background-size:cover}
.logo{direction:ltr;unicode-bidi:isolate}.result .avatar{float:left;background-image:url('arabic-people.webp');background-size:auto 100%;background-position:49% center;margin-left:-16px;margin-right:10px;border-radius:0 90px 90px 0}
.result h2{font-size:31px;line-height:1.3;letter-spacing:0}.result .type-code{direction:ltr;text-align:right;letter-spacing:0}.result .pain{border-left:0;border-right:5px solid var(--o)}
.guide-kicker,.section-label,.qnum{letter-spacing:0!important}.guide-image{direction:ltr}.gate h1{line-height:1.2!important}.quiz-hero h2,.gate-quiz h2{letter-spacing:0!important}.quiz .answers button{transition:border-color .16s,background .16s;transform:none!important}.quiz .answers button.on{padding-left:40px;padding-right:8px}.quiz .answers button:before{font-family:Arial,sans-serif}
.quiz-tip small{line-height:1.4}.quiz .actions{direction:rtl}.back{color:#351044}.result .intro{clear:both;padding-top:10px}
@media(max-width:480px){body{padding-top:0}.preview-nav{border-radius:0;margin-bottom:0;padding:6px 10px}.preview-nav span{display:none}.preview-nav button{padding:5px 9px;font-size:11px}.phone,.screen{min-height:0!important}.quiz-hero{height:auto!important;min-height:0!important;padding-top:14px!important;padding-bottom:29px!important}.quiz-hero h2{height:78px!important;min-height:78px!important;margin-top:9px!important;font-size:24px!important;line-height:1.35!important}.quiz .progress{margin-top:12px!important}.quiz .qnum{margin-top:12px!important}.quiz .answers{gap:8px!important;margin-top:-14px!important}.quiz .answers button{height:54px!important;min-height:54px!important;font-size:14px!important;padding-top:5px!important;padding-bottom:5px!important}.quiz .actions{margin-top:9px!important;padding:6px!important}.quiz .actions button{min-height:44px!important}.quiz-tip{margin-top:9px;padding:8px 10px}.quiz-tip>span{width:30px;height:30px}.quiz-tip b{font-size:12px}.quiz-tip small{font-size:10px}.quiz{padding-bottom:18px!important}.gate-quiz h2{height:96px!important;min-height:96px!important;font-size:27px!important;line-height:1.35!important}.gate-answers button{height:54px!important;min-height:54px!important}.gate-progress{margin:14px 0 16px!important}.gate-next{min-height:46px!important;margin-top:12px!important}.gate-type-teaser{margin-top:10px!important}.result .avatar{width:48%;height:245px}.combined .ready-mark{display:none!important}.combined-guide{margin-top:8px!important}.guide-image{max-height:230px;object-fit:contain;background:#eee}.guide-step{gap:8px}.combined-guide .guide-copy-btn{min-height:48px;margin-top:12px}}
@media(max-width:360px),(max-height:580px){.quiz-hero h2{font-size:21px!important;height:75px!important;min-height:75px!important}.quiz .answers button{height:49px!important;min-height:49px!important;font-size:13px!important}.quiz .qnum{margin-top:8px!important}.quiz-hero .logo{font-size:23px}.quiz-tip{padding:6px 9px}.quiz-hero{padding-top:10px!important}}
body[data-screen=quiz] .preview-nav,body[data-screen=gateQuiz] .preview-nav{display:none}
.quiz .qhint{font-size:12px!important;line-height:1.4!important}.quiz .qnum{font-size:11px!important}
@media(max-height:500px) and (max-width:480px){.quiz-hero{padding-top:6px!important}.quiz .progress{margin-top:8px!important}.quiz .answers button{height:46px!important;min-height:46px!important}.quiz .answers{gap:6px!important}}
html[lang=zh] body{font-family:Arial,'Microsoft YaHei','PingFang SC',sans-serif}html[lang=zh] .quiz .actions{direction:ltr}html[lang=zh] .quiz .answers button.on{padding-left:12px;padding-right:40px}html[lang=zh] .result .avatar{float:right;margin-left:10px;margin-right:-16px;border-radius:90px 0 0 90px}html[lang=zh] .result .type-code{text-align:left}html[lang=zh] .result .pain{border-right:0;border-left:5px solid var(--o)}html[lang=zh] .result h2{font-size:28px}html[lang=zh] .gate h1{font-size:40px}
.gate-reflection{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:132px;margin:20px -24px -26px;padding:24px 28px;background:radial-gradient(ellipse at 15% 110%,#8055b02e,transparent 60%),linear-gradient(150deg,#291033,#201027);border-top:1px solid #ffffff12;text-align:center}.gate-reflection:before,.gate-reflection:after{content:'';position:absolute;z-index:-1;width:130px;height:130px;border:1px solid #c8b9ff24;border-radius:50%;transform:rotate(-25deg)}.gate-reflection:before{left:-65px;top:22px}.gate-reflection:after{right:-68px;top:-65px;width:170px;height:170px}.reflection-symbol{color:#bcebd0;font-size:22px;line-height:1;margin-bottom:12px}.gate-reflection p{max-width:280px;margin:0;color:#d5c7dd;font-size:12px;line-height:1.75}.reflection-dots{display:flex;gap:5px;margin-top:14px}.reflection-dots i{width:4px;height:4px;border-radius:50%;background:#c8b9ff55}.reflection-dots i:nth-child(2){background:#bcebd099}
@media(max-width:480px){.gate-reflection{margin-bottom:-20px;min-height:132px}}
.combined-guide .guide-image{display:block;width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important}
.start-badges{display:flex;align-items:stretch;gap:7px;margin-top:24px}.start-badges>.eyebrow{flex:1;display:flex;align-items:center;justify-content:center;margin:0;padding:8px 9px;min-height:32px;font-size:10px;line-height:1.4;text-align:center;border-radius:99px}.start-badges>.analysis-badge{background:#e4d9ff;color:#432052}html[lang=ar] .start-badges>.eyebrow{font-size:11px}@media(max-width:360px){.start-badges{gap:5px}.start-badges>.eyebrow{padding:7px 5px;font-size:9px}}
.type-strip-codes{direction:ltr;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:9px;overflow-x:auto;overflow-y:hidden;padding:10px 26px;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;cursor:grab;user-select:none;-webkit-user-select:none;-webkit-mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent)}.type-strip-codes::-webkit-scrollbar{display:none}.type-strip-codes b{flex:0 0 auto;min-width:60px;padding:10px 12px;text-align:center;white-space:nowrap}.type-strip-codes.dragging{cursor:grabbing}.type-strip-codes:focus-visible{outline:2px solid #a38ac5;outline-offset:3px;border-radius:10px}
#start,#gate{position:relative}.safari-corner-art{position:absolute;top:0;right:0;width:100px;height:78px;overflow:hidden;pointer-events:none}.safari-corner-art i{position:absolute;display:block}.safari-corner-art i:nth-child(1){width:73px;height:73px;right:-24px;top:-25px;border-radius:50%;background:#ff784c}.safari-corner-art i:nth-child(2){width:48px;height:18px;right:15px;top:45px;border:2px solid #bcebd0;border-radius:50%;transform:rotate(-32deg)}.safari-corner-art i:nth-child(3){width:8px;height:8px;right:65px;top:18px;border-radius:50%;background:#c8b9ff}html[dir=rtl] .safari-corner-art{right:auto;left:0;transform:scaleX(-1)}
