:root{--ink:#252425;--muted:#79746f;--paper:#fbf9f6;--cream:#f5f1ed;--line:#ebe5df;--pink:#f47b8a;--salmon:#ee8f8c;--shadow:0 24px 65px rgba(66,45,30,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f4f1ec;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}#app{min-height:100vh}.serif{font-family:Georgia,"Times New Roman","Songti SC","Noto Serif CJK SC","SimSun",serif}.zh-serif{font-family:"Songti SC","Noto Serif CJK SC","STSong","SimSun",serif}.eyebrow{text-transform:uppercase;letter-spacing:2.8px;font-size:11px;font-weight:600}.muted{color:var(--muted)}.brand{display:inline-flex;align-items:center;white-space:nowrap}.brand--light{color:#fff}.brand-logo-img{display:block;width:auto;height:46px;max-width:250px;object-fit:contain}.brand-inline-img{display:block;width:auto;height:26px;object-fit:contain}.site-nav{height:81px;display:flex;align-items:center;justify-content:space-between;gap:26px;position:relative;z-index:5}.nav-left{display:flex;align-items:center;gap:50px}.nav-links{display:flex;align-items:center;gap:27px;font-size:12px;color:#514b48}.nav-links button,.nav-links a{background:none;border:0;padding:10px 1px;color:inherit}.nav-links button:hover,.nav-links button.active{color:#181718}.nav-cta{border:1px solid transparent;background:#232226;color:#fff;padding:11px 20px;border-radius:30px;font-size:12px;transition:transform .2s,background .2s}.nav-cta:hover,.pill-btn:hover{transform:translateY(-2px)}.home-shell{max-width:1540px;margin:auto;padding:11px}.home-hero{height:min(875px,calc(100vh - 22px));min-height:730px;position:relative;isolation:isolate;overflow:hidden;border-radius:14px;background:#7d7770}.home-photo,.home-shade{position:absolute;inset:0;width:100%;height:100%}.home-photo{object-fit:cover;object-position:56% 43%;z-index:-3}.home-shade{background:linear-gradient(90deg,rgba(30,38,47,.57) 0%,rgba(26,30,37,.35) 39%,rgba(23,29,32,0) 82%),linear-gradient(0deg,rgba(22,21,22,.54),rgba(22,21,22,0) 54%);z-index:-2}.home-nav{padding:0 34px;color:#fff}.home-nav .nav-links{color:#fff}.home-nav .nav-links button:hover{color:#fff;opacity:.8}.home-nav .nav-cta{background:#f8f3ee;color:#272526}.home-copy{margin:clamp(92px,15vh,170px) 0 0 6%;max-width:625px;color:#fff}.home-copy h1{font-family:"Songti SC","Noto Serif CJK SC","STSong",serif;font-size:clamp(46px,4.25vw,67px);font-weight:600;line-height:1.28;letter-spacing:1.5px;margin:14px 0 21px;text-shadow:0 2px 14px rgba(0,0,0,.12)}.home-copy p{font-family:"Songti SC","SimSun",serif;font-size:17px;line-height:1.95;color:rgba(255,255,255,.88);letter-spacing:1px;margin:0 0 27px}.white-btn{border:0;background:#f7f3ef;border-radius:40px;padding:16px 23px;color:#242223;font-size:13px;font-weight:600;transition:transform .2s}.white-btn:hover{transform:translateY(-2px)}.hero-test-grid{position:absolute;bottom:19px;left:19px;right:19px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.test-card{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.32);border-radius:12px;background:#42403f;min-height:235px;height:clamp(215px,23vw,286px);isolation:isolate;text-align:left;color:#fff;box-shadow:0 5px 12px rgba(0,0,0,.08);transition:transform .26s,box-shadow .26s}.test-card:hover{transform:translateY(-5px);box-shadow:0 16px 35px rgba(0,0,0,.2)}.test-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 31%;z-index:-3;transition:transform .35s}.test-card:hover>img{transform:scale(1.045)}.test-card::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(17,17,20,.93) 0%,rgba(15,14,17,.22) 54%,rgba(0,0,0,0) 78%);z-index:-1}.test-card-content{position:absolute;left:18px;right:15px;bottom:17px}.test-card h3{font-family:"Songti SC","SimSun",serif;font-weight:600;font-size:21px;margin:0 0 8px;white-space:nowrap}.test-card p{font-size:12px;opacity:.87;margin:0}
.page-shell{max-width:1390px;margin:0 auto;min-height:100vh;background:var(--paper);box-shadow:var(--shadow)}.page-padding{padding:0 clamp(26px,4.5vw,70px) 70px}.inner-header{padding:0 clamp(26px,4.5vw,70px);border-bottom:1px solid rgba(0,0,0,.055)}.content-wrap{padding-top:43px}.section-kicker{font-size:11px;letter-spacing:2.5px;color:#ae8e80}.section-title{font-family:"Songti SC","Noto Serif CJK SC",serif;font-size:clamp(30px,3.3vw,43px);font-weight:600;letter-spacing:1px;margin:11px 0 9px}.section-desc{font-family:"Songti SC","Microsoft YaHei",serif;font-size:15px;color:#77706c;line-height:1.9;margin:0}.pill-btn{border:none;border-radius:40px;background:#28272d;color:#fff;padding:16px 27px;font-size:13px;font-weight:600;transition:transform .2s}.outline-btn{border:1px solid #ded9d3;background:transparent;border-radius:40px;padding:14px 22px;color:#484342;font-size:13px;transition:background .2s}.outline-btn:hover{background:#f0ebe6}.soft-btn{border:0;background:#f5efeb;border-radius:50px;padding:14px 22px;color:#4b4040;font-size:13px}.link-btn{background:none;border:0;color:#7e7874;text-decoration:underline;text-underline-offset:4px;font-size:13px;padding:13px}.action-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.item-chip{border:1px solid #e7e0db;color:#786d66;border-radius:30px;padding:8px 12px;font-size:12px;background:#fffcf9}.note{font-size:12px;line-height:1.75;color:#99908b}.tint-rule{height:1px;background:#eae4de;margin:25px 0}.mini-caption{font-size:12px;color:#a6a09a;letter-spacing:1px}
.library-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:0 0 27px}.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.library-grid .test-card{height:308px;min-height:0;border-radius:13px}.library-grid .test-card h3{font-size:23px}.library-grid .test-card p{font-size:13px}.library-grid .test-card-content{bottom:24px;left:23px}.library-bottom{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:35px}.feature-mini{background:#f5f0eb;border-radius:15px;padding:25px;display:flex;align-items:center;gap:20px}.feature-mini b{font-family:"Songti SC",serif;font-size:20px}.feature-mini p{font-size:12px;color:#746b65;line-height:1.7}
.gender-sheet{max-width:920px;margin:50px auto;display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}.gender-intro h1{font-family:"Songti SC",serif;font-size:45px;line-height:1.35;margin:15px 0 18px}.gender-intro p{color:#8b827b;line-height:2}.gender-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gender-card{padding:0;position:relative;min-height:350px;border-radius:14px;overflow:hidden;border:3px solid transparent;background:#ddd;box-shadow:0 4px 18px rgba(0,0,0,.07);text-align:left}.gender-card img{width:100%;height:350px;object-fit:cover}.gender-card::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.68),transparent 50%)}.gender-card span{position:absolute;bottom:22px;left:19px;color:#fff;font-family:"Songti SC",serif;font-size:19px}.gender-card.selected{border-color:#f48b94;box-shadow:0 0 0 3px #f9d8d9}.gender-continue{margin-top:20px}
.quiz-shell{max-width:730px;margin:45px auto 35px;background:#fffdfb;padding:38px 42px 35px;border:1px solid #eee8e1;border-radius:17px;box-shadow:0 20px 90px rgba(80,51,35,.055)}.quiz-head{display:flex;align-items:center;justify-content:space-between;font-size:14px;margin-bottom:14px}.quiz-meta{color:#706a66;font-size:13px}.progress-line{height:5px;border-radius:30px;background:#ebe8e4;overflow:hidden}.progress-line span{display:block;background:#f58192;height:100%;border-radius:30px;transition:width .24s}.quiz-title{font-size:36px;font-family:Georgia,serif;margin:28px 0 7px}.quiz-question{font-size:26px;font-family:"Songti SC",serif;font-weight:600;line-height:1.55;margin:0 0 27px;min-height:72px}.quiz-options{display:grid;gap:10px}.option{display:grid;grid-template-columns:30px 78px minmax(0,1fr);align-items:center;gap:15px;min-height:83px;padding:7px 17px 7px 11px;text-align:left;border:1px solid #ebe8e3;border-radius:11px;background:#fff;transition:background .2s,border-color .2s,box-shadow .2s}.option:hover{background:#fdf7f4;border-color:#edbdba}.option.active{background:#fff4f0;border-color:#f0a7a6;box-shadow:0 0 0 1px rgba(240,167,166,.23)}.opt-num{height:26px;width:26px;border:1px solid #d9d7d4;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#928b86;font-size:11px}.option.active .opt-num{border-color:#f09a9a;background:#f09a9a;color:#fff}.opt-img{width:78px;height:67px;object-fit:cover;border-radius:8px}.opt-text{font-size:14px;line-height:1.65;color:#484443}.option.other{grid-template-columns:30px 24px minmax(0,1fr);min-height:67px}.other-fields{border:1px solid #ecd6d1;border-radius:12px;padding:18px;margin-top:12px;background:#fff9f6}.other-fields textarea{width:100%;border:1px solid #e9e0da;border-radius:9px;background:#fff;outline:none;padding:12px;resize:vertical;min-height:75px;color:#292626}.other-fields textarea:focus{border-color:#eeb4a9}.trend-choices{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.trend-choice{padding:8px 11px;border-radius:25px;background:#fff;border:1px solid #dfd8d1;font-size:12px;color:#5a514c}.trend-choice.active{background:#f9d8d6;border-color:#e7999b}.quiz-footer{display:flex;gap:12px;margin-top:22px}.quiz-footer button{flex:1}.error-message{color:#c04e57;font-size:12px;margin:10px 0 0}
.result-stage-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,.85fr);max-width:1140px;margin:20px auto 0;gap:33px;align-items:start}.result-visual{height:735px;max-height:calc(100vh - 116px);min-height:570px;position:relative;overflow:hidden;background:#4e453f;border-radius:13px;color:#fff}.result-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 32%}.result-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(20,19,21,.88) 0,rgba(26,25,28,.35) 38%,rgba(20,20,20,.10) 80%),linear-gradient(180deg,rgba(0,0,0,.16),transparent 22%)}.result-visual .result-fig-logo{position:absolute;z-index:2;top:22px;left:26px;display:block}.result-visual .result-fig-logo img{display:block;height:34px;width:auto;object-fit:contain}.result-on-image{position:absolute;bottom:21px;left:25px;right:25px;z-index:2;text-align:center}.result-on-image .tiny{font-size:17px;font-family:"Songti SC",serif;letter-spacing:1px;margin:0 0 11px}.result-on-image h1{font-size:clamp(33px,3.2vw,53px);font-family:"Songti SC",serif;font-weight:600;letter-spacing:2px;margin:0 0 14px}.result-on-image .quote{font-size:15px;line-height:1.65;font-family:"Songti SC",serif;color:#f5eae5;max-width:360px;margin:0 auto 15px}.result-tags{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin:14px 0 18px}.result-tag{border:1px solid rgba(255,255,255,.64);background:rgba(33,32,32,.15);border-radius:30px;padding:7px 13px;font-size:12px;backdrop-filter:blur(6px)}.result-on-image .boxed-description{border:1px solid rgba(255,255,255,.42);border-radius:13px;padding:18px 20px;color:#f3ede6;text-align:left;line-height:1.85;font-family:"Songti SC",serif;font-size:14px;background:rgba(255,255,255,.07);backdrop-filter:blur(8px)}.result-side{padding:5px 0 0}.result-side h2{font-family:"Songti SC",serif;font-size:38px;margin:16px 0 10px}.result-side .intro{color:#827a72;line-height:1.9;font-size:14px;margin:0 0 20px}.paper-panel{background:#fff;border:1px solid #eee7df;border-radius:13px;padding:22px 25px;margin:13px 0}.paper-panel h3{font-family:"Songti SC",serif;font-size:19px;margin:0 0 9px}.paper-panel p{font-size:13px;line-height:1.95;color:#746b66;margin:0}.result-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.result-actions button:nth-child(3){grid-column:span 2}.result-accent{color:var(--salmon)}
.overlay{position:fixed;inset:0;z-index:100;background:rgba(16,16,18,.77);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:25px;animation:fadeIn .22s ease}.dialog{position:relative;max-width:450px;width:100%;max-height:min(95vh,850px);overflow-y:auto;border-radius:17px;background:#fffdfb;padding:39px 35px 25px;text-align:center;box-shadow:0 24px 70px rgba(0,0,0,.24);animation:popIn .25s ease}.dialog-close{position:absolute;right:15px;top:14px;border:1px solid #e8e0dc;border-radius:50%;height:30px;width:30px;background:transparent;color:#5e5b58}.gift{font-size:30px;height:58px;width:58px;margin:0 auto 10px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#ffebe9;color:#ba575d}.dialog h2{font-family:"Songti SC",serif;font-size:24px;line-height:1.4;margin:10px 0}.dialog p{font-size:13px;line-height:1.8;color:#82776f}.share-preview{position:relative;overflow:hidden;max-width:322px;height:195px;margin:20px auto 15px;border-radius:10px;background:#887a6a;text-align:left}.share-preview img{width:100%;height:100%;object-fit:cover;object-position:center 35%}.share-preview::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.5),transparent 80%)}.share-text{position:absolute;bottom:14px;left:15px;right:10px;color:#fff}.share-text b{display:block;font-family:"Songti SC",serif;font-size:24px}.share-text small{font-size:11px}.share-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.share-buttons button{border:none;padding:12px 4px;border-radius:7px;color:#fff;font-size:12px}.share-whatsapp{background:#25c36d}.share-facebook{background:#2674e9}.share-copy{grid-column:span 2!important;background:#f5f3f0!important;color:#333!important}.dialog .small-tip{font-size:11px;margin:13px auto 0;color:#9a9089}
.match-layout{display:grid;grid-template-columns:minmax(360px,1fr) minmax(340px,.87fr);gap:34px;max-width:1090px;margin:35px auto 0}.match-visual{min-height:650px;position:relative;overflow:hidden;border-radius:13px;background:#f2e9e2}.match-photos{display:flex;height:100%}.match-photos img{width:50%;height:650px;object-fit:cover}.match-photos img:first-child{object-position:47% 36%}.match-photos img:nth-child(2){object-position:55% 35%}.match-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#faf5ee 0%,rgba(245,240,235,.85) 26%,transparent 67%)}.match-logo{position:absolute;top:21px;left:22px;z-index:2;display:block}.match-logo img{display:block;height:32px;width:auto;object-fit:contain;filter:drop-shadow(0 1px 5px rgba(0,0,0,.25))}.match-score{position:absolute;bottom:16px;left:30px;right:30px;text-align:center;z-index:2}.match-score .label{font-family:"Songti SC",serif;font-size:19px}.match-score strong{display:block;color:#f27e8e;font-family:Georgia,serif;font-size:100px;line-height:1.2;font-weight:500}.match-score p{font-size:13px;line-height:1.8;color:#776b65;margin:7px 0 12px}.match-pair{display:flex;align-items:center;justify-content:center;gap:30px}.match-person img{width:60px;height:60px;border-radius:50%;margin:0 auto 7px;object-fit:cover}.match-person b{font-family:"Songti SC",serif;font-size:15px}.match-heart{color:#f07d87;font-size:30px}.match-side{padding:34px 0}.match-side h1{font-family:"Songti SC",serif;font-size:37px;margin:12px 0 16px}.match-side p{line-height:1.95;color:#766f69;font-size:14px}.invite-box{background:#fff;border:1px solid #e9dfd7;border-radius:14px;padding:26px;margin:20px 0}.invite-box h3{font-family:"Songti SC",serif;font-size:23px;margin:0 0 10px}.invite-box code{display:block;word-break:break-all;background:#faf7f4;color:#8b756b;padding:11px 12px;border-radius:8px;font-size:11px;line-height:1.8;margin:15px 0}.match-steps{display:flex;gap:10px;margin:24px 0}.match-steps>div{flex:1;padding:13px;background:#f6f0eb;border-radius:10px;text-align:center;font-size:12px;color:#877970}.match-steps b{display:block;color:#dd8281;margin-bottom:5px}
.unlock-page{text-align:center;max-width:600px;margin:60px auto 0;padding:22px}.unlock-page .gift{height:70px;width:70px;font-size:35px}.unlock-page h1{font-family:"Songti SC",serif;font-size:38px;line-height:1.35;margin:14px 0}.unlock-page .unlock-description{line-height:1.9;color:#847a73}.unlock-page .test-card{max-width:440px;height:270px;width:100%;display:block;margin:25px auto 20px}.unlock-page .pill-btn{width:80%;max-width:385px}.confetti{position:absolute;width:7px;height:13px;border-radius:3px;transform:rotate(30deg);opacity:.8}.unlock-outer{position:relative;overflow:hidden;min-height:calc(100vh - 120px)}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px;margin-top:30px}.gallery-card{background:#f5eee8;border-radius:12px;overflow:hidden}.gallery-img{height:340px;position:relative;overflow:hidden}.gallery-img img{height:100%;width:100%;object-fit:cover}.gallery-img::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.69),transparent 45%)}.gallery-img h3{position:absolute;bottom:21px;left:19px;font-size:23px;font-family:"Songti SC",serif;color:#fff;margin:0;z-index:1}.gallery-card .gallery-info{padding:20px 21px}.gallery-card .gallery-info p{font-size:13px;line-height:1.8;color:#716760;min-height:48px;margin:7px 0 23px}.gallery-card .gallery-info .foot{display:flex;justify-content:space-between;align-items:center}.gallery-card .gallery-info .foot .brand{display:inline-flex;align-items:center}.gallery-card .gallery-info .foot .brand .brand-inline-img{height:22px}.gallery-card .gallery-info .foot button{font-size:12px;border:0;border-bottom:1px solid #81766f;background:transparent;color:#5a4c43;padding:5px}
.history-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:25px}.history-card{display:flex;gap:17px;background:#fff;border:1px solid #e9e0d9;border-radius:13px;padding:13px;align-items:center}.history-card img{width:104px;height:132px;object-fit:cover;border-radius:9px}.history-card h3{font-family:"Songti SC",serif;font-size:17px;margin:2px 0 7px}.history-card p{margin:0 0 8px;color:#776e67;font-size:12px}.history-card button{border:0;background:none;padding:8px 0;text-decoration:underline;text-underline-offset:4px;font-size:12px}.empty-state{border:1px dashed #dfd6d0;border-radius:13px;text-align:center;padding:55px 20px;margin:35px 0}.empty-state h2{font-family:"Songti SC",serif}.avatar-options{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:15px 0}.avatar-options button{background:#f5f0ed;border:1px solid #ebe3de;color:#77706a;padding:10px 14px;border-radius:50px;font-size:12px}.avatar-options button.active{background:#352d2d;color:#fff}.avatar-preview{width:225px;height:225px;object-fit:cover;border-radius:16px;margin:20px auto}.info-copy{line-height:2;max-width:760px;font-size:15px;color:#615951}.info-copy h2{font-family:"Songti SC",serif;color:#282626}.simple-article{max-width:760px;background:#fff;border:1px solid #eae2dc;border-radius:15px;padding:32px;margin:20px 0}.simple-article h2{font-family:"Songti SC",serif}.toast{position:fixed;bottom:28px;left:50%;z-index:250;transform:translateX(-50%);background:#28262a;color:#fff;padding:13px 20px;border-radius:30px;box-shadow:0 10px 40px #0003;font-size:13px;text-align:center;max-width:calc(100vw - 25px);animation:fadeIn .2s}.faq-note{background:#f6eee9;border-radius:12px;padding:15px 18px;font-size:12px;color:#8d726a;line-height:1.8;margin-top:20px}.new-ribbon{position:absolute;right:16px;top:16px;border-radius:20px;background:#f6ede8dd;padding:7px 11px;color:#6f5852;font-size:11px}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes popIn{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:950px){.home-hero{min-height:755px}.home-copy{margin-top:140px}.home-copy h1{font-size:51px}.hero-test-grid{gap:9px}.test-card h3{font-size:18px}.test-card-content{left:12px;bottom:15px}.test-card p{font-size:11px}.result-stage-layout{grid-template-columns:1fr 1fr;gap:22px}.result-visual{height:660px;min-height:0}.result-side h2{font-size:30px}.result-actions{grid-template-columns:1fr}.result-actions button:nth-child(3){grid-column:span 1}.match-layout{grid-template-columns:1fr 1fr}.match-visual{min-height:630px}.history-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.home-shell{padding:0}.home-hero{height:auto;min-height:870px;border-radius:0;padding-bottom:20px}.home-photo{object-position:78% center}.home-shade{background:linear-gradient(90deg,rgba(25,28,34,.61),rgba(36,32,31,.15) 90%),linear-gradient(0deg,rgba(20,20,22,.55),transparent 75%)}.site-nav{height:67px}.home-nav{padding:0 19px}.brand-logo-img{height:40px}.nav-left{gap:12px}.nav-links{gap:13px;font-size:11px}.nav-cta{padding:9px 12px;font-size:11px}.home-copy{margin:80px 21px 38px;max-width:390px}.home-copy h1{font-size:40px}.home-copy p{font-size:14px;line-height:1.9}.hero-test-grid{position:relative;left:auto;bottom:auto;right:auto;margin:120px 13px 0;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hero-test-grid .test-card{height:208px;min-height:0}.hero-test-grid .test-card h3{font-size:17px}.hero-test-grid .test-card p{font-size:10px;max-width:125px}.page-shell{box-shadow:none}.inner-header{padding:0 20px}.inner-header .nav-links{gap:12px}.inner-header .nav-links button:nth-child(3){display:none}.inner-header .brand .brand-logo-img{height:38px}.page-padding{padding:0 18px 38px}.content-wrap{padding-top:32px}.library-head{align-items:start}.library-grid{gap:11px}.library-grid .test-card{height:240px}.library-grid .test-card h3{font-size:17px}.library-grid .test-card p{font-size:11px}.library-grid .test-card-content{left:12px;bottom:17px}.library-bottom{grid-template-columns:1fr}.quiz-shell{margin:19px 0 40px;padding:23px 16px 24px;border-radius:12px}.quiz-title{font-size:31px}.quiz-question{font-size:23px}.option{grid-template-columns:27px 63px minmax(0,1fr);gap:10px;min-height:74px;padding:7px 9px}.opt-img{width:63px;height:58px}.opt-text{font-size:12px}.option.other{grid-template-columns:27px 21px minmax(0,1fr)}.quiz-footer{gap:8px}.result-stage-layout{grid-template-columns:1fr;gap:22px;margin-top:18px}.result-visual{width:100%;max-height:none;height:610px;min-height:0}.result-side{padding:2px 4px}.result-on-image h1{font-size:38px}.result-on-image .boxed-description{font-size:13px;padding:11px}.result-on-image .tiny{font-size:15px}.result-on-image .quote{font-size:13px}.result-actions{grid-template-columns:1fr 1fr}.result-actions button:nth-child(3){grid-column:span 2}.match-layout{grid-template-columns:1fr;margin:20px 0}.match-visual{min-height:570px}.match-photos img{height:570px}.match-side{padding:8px}.match-score strong{font-size:83px}.gender-sheet{margin:28px auto;grid-template-columns:1fr;gap:10px}.gender-intro h1{font-size:32px}.gender-cards{gap:10px}.gender-card,.gender-card img{min-height:0;height:280px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.gallery-img{height:230px}.gallery-img h3{font-size:17px;left:10px}.gallery-card .gallery-info{padding:10px}.gallery-card .gallery-info p{font-size:11px}.history-grid{grid-template-columns:1fr}.history-card img{width:95px;height:115px}.unlock-page{margin:30px auto}.dialog{padding:32px 19px 22px}.page-shell .site-nav .nav-cta{padding:9px 11px}.section-title{font-size:32px}.simple-article{padding:22px}}
@media(max-width:380px){.home-copy h1{font-size:36px}.home-nav{padding:0 13px}.home-nav .nav-links{gap:8px}.home-nav .brand .brand-logo-img{height:36px}.home-nav .nav-cta{padding:8px 9px}.hero-test-grid .test-card h3{font-size:15px}.inner-header .nav-links{gap:8px}.inner-header .brand .brand-logo-img{height:34px}.inner-header .nav-cta{padding:9px 8px!important}.result-tags{gap:4px}.result-tag{padding:6px 8px}}

/* SoulType card styling — original hero, nav, and layout preserved. */
.test-card{
  border:1px solid rgba(255,255,255,.43);
  box-shadow:0 12px 24px rgba(20,17,19,.18),0 2px 6px rgba(22,18,20,.12),inset 0 1px 0 rgba(255,255,255,.18);
}
.test-card:hover{
  box-shadow:0 18px 33px rgba(20,17,19,.25),0 4px 8px rgba(20,17,19,.12),inset 0 1px 0 rgba(255,255,255,.22);
}
.test-card>img{filter:saturate(.94) contrast(1.035);}
.test-card.theme-money>img{object-position:center 51%;}
.test-card.theme-work>img{object-position:center 46%;}
.test-card:focus-visible{outline:3px solid #f2a4a9;outline-offset:3px;}
.test-card-emblem{
  position:absolute;left:18px;bottom:91px;z-index:2;
  display:flex;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:50%;
  border:1px solid rgba(255,255,255,.35);
  color:#fff;
  box-shadow:0 4px 11px rgba(0,0,0,.17),inset 0 1.5px 1px rgba(255,255,255,.25),inset 0 -2px 4px rgba(29,16,9,.11);
  backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);
  pointer-events:none;
}
.test-card-emblem--self{background:linear-gradient(135deg,rgba(210,178,152,.93),rgba(163,125,101,.86));}
.test-card-emblem--love{background:linear-gradient(135deg,rgba(235,137,151,.94),rgba(190,90,113,.89));}
.test-card-emblem--money{background:linear-gradient(135deg,rgba(172,195,125,.94),rgba(111,142,93,.89));}
.test-card-emblem--work{background:linear-gradient(135deg,rgba(146,166,192,.94),rgba(85,110,145,.9));}
.test-card-emblem svg{display:block;width:20px;height:20px;filter:drop-shadow(0 1px 1px rgba(0,0,0,.1));}
@media(max-width:950px){.test-card-emblem{left:12px;bottom:87px;width:31px;height:31px}.test-card-emblem svg{width:18px;height:18px}}
@media(max-width:700px){.hero-test-grid .test-card-emblem{left:12px;bottom:77px;width:28px;height:28px}.hero-test-grid .test-card-emblem svg{width:16px;height:16px}.library-grid .test-card-emblem{left:12px;bottom:80px;width:29px;height:29px}.library-grid .test-card-emblem svg{width:17px;height:17px}}
@media(max-width:380px){.hero-test-grid .test-card-emblem{bottom:72px}}
@media(prefers-reduced-motion:reduce){.test-card,.test-card>img{transition:none}}


/* SoulType v1.3 — strictly homepage background media and cover logic. */
.home-background{
  position:absolute;inset:0;z-index:-3;display:block;
  width:100%;height:100%;overflow:hidden;pointer-events:none;
}
.home-background>.home-photo{
  position:absolute;inset:0;width:100%;height:100%;
  display:block;object-fit:cover;object-position:center center;
  z-index:auto;
}
/* Preserve the original page geometry, but let taller desktops fill the first viewport. */
.home-hero{height:max(730px,calc(100vh - 22px));height:max(730px,calc(100svh - 22px));}
@media(max-width:768px){
  .home-background>.home-photo{object-position:67% 13%;}
  .home-shade{
    background:
      linear-gradient(180deg,rgba(22,23,28,.31) 0%,rgba(22,23,28,0) 32%),
      linear-gradient(90deg,rgba(25,28,34,.58) 0%,rgba(36,32,31,.12) 92%),
      linear-gradient(0deg,rgba(20,20,22,.56),transparent 73%);
  }
}
@media(max-width:700px){
  /* Maintain the original card flow, adding only the viewport-height floor. */
  .home-hero{height:auto;min-height:max(870px,100vh);min-height:max(870px,100svh);}
}

/* SoulType v1.5 — navigation clarity, subtle page entrance, actual media-loading fallback. */
.nav-links{gap:clamp(12px,2vw,27px)}
.nav-links button{position:relative;cursor:pointer;white-space:nowrap;transition:opacity .18s ease,color .18s ease}
.nav-links button:hover{opacity:.76}
.nav-links button.active{font-weight:600}
.nav-links button.active::after{content:"";position:absolute;left:22%;right:22%;bottom:3px;height:1px;background:currentColor;opacity:.55}
.nav-links button:active{opacity:.58}
.home-nav .nav-links button.active,.home-nav .nav-links button.active:hover{color:#fff}
.mobile-nav-toggle{display:none;border:1px solid rgba(125,116,108,.23);background:transparent;color:inherit;font-size:11px;letter-spacing:.04em;border-radius:30px;padding:8px 12px;cursor:pointer}
.site-nav button:focus-visible,.site-nav a:focus-visible{outline:2px solid #eaa7a7;outline-offset:3px;border-radius:6px}
.stagger-enter{animation:soultype-rise .49s cubic-bezier(.22,1,.36,1) var(--enter-delay,0ms) backwards;will-change:opacity,transform}
@keyframes soultype-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
.st-skeleton{position:absolute;z-index:3;inset:0;border-radius:inherit;pointer-events:none;overflow:hidden;background:#e5dfda;opacity:1;transition:opacity .26s ease}
.st-skeleton::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.42) 50%,transparent 100%);animation:Shimmer 1.5s linear infinite}
.st-skeleton-title,.st-skeleton-line{position:absolute;bottom:38px;left:14px;width:56%;height:13px;border-radius:6px;background:rgba(255,255,255,.36)}
.st-skeleton-line{bottom:18px;width:72%;height:8px;background:rgba(255,255,255,.25)}
.st-skeleton-leaving{opacity:0}
@keyframes Shimmer{to{transform:translateX(100%)}}
.st-image-error{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;background:#eee9e5;color:#756a66;font-size:12px}
.st-image-retry{border:1px solid #bdb3ac;border-radius:30px;padding:8px 18px;color:#403936;background:#fff;cursor:pointer}
@media(max-width:700px){
 .site-nav{gap:8px}
 .mobile-nav-toggle{display:block;margin-left:auto}
 .site-nav .nav-links{display:none;position:absolute;top:calc(100% - 4px);right:0;width:min(260px,calc(100vw - 30px));padding:10px;z-index:30;flex-direction:column;align-items:stretch;gap:2px;border-radius:12px;background:rgba(255,252,249,.98);color:#302d2b;box-shadow:0 13px 32px rgba(0,0,0,.18);border:1px solid rgba(89,75,66,.09)}
 .site-nav.menu-open .nav-links{display:flex}
 .site-nav .nav-links button{display:block;text-align:left;width:100%;padding:13px 16px;border-radius:8px;font-size:13px;color:#302d2b}
 .site-nav .nav-links button:hover,.site-nav .nav-links button.active{background:#f3ece7;color:#262121;opacity:1}
 .site-nav .nav-links button.active::after{left:auto;right:15px;top:50%;bottom:auto;width:5px;height:5px;border-radius:50%;transform:translateY(-50%);background:#b68983;opacity:.75}
 .home-nav .nav-links button.active,.home-nav .nav-links button.active:hover{color:#302d2b}
 .home-nav .mobile-nav-toggle{border-color:rgba(255,255,255,.54);background:rgba(17,19,24,.10);color:#fff}
}
@media(max-width:380px){.site-nav{gap:6px}.mobile-nav-toggle{padding:7px 9px;font-size:10px}.site-nav .nav-cta{padding:8px 9px;font-size:10px}.site-nav .brand .brand-logo-img{height:34px}}
@media(prefers-reduced-motion:reduce){.stagger-enter{animation:none!important;will-change:auto}.st-skeleton::after{animation:none}.st-skeleton{transition:none}.nav-links button{transition:none}}

/* History thumbnails reserve their original image footprint while loading. */
.history-card{position:relative}
.history-card>.st-skeleton,.history-card>.st-image-error{inset:13px auto auto 13px;width:104px;height:132px;border-radius:9px}
.history-card>.st-skeleton .st-skeleton-title,.history-card>.st-skeleton .st-skeleton-line{display:none}

/* v1.6 — only photographic covers for the four testing category cards.
   Preserve the original frame, badge, typography, overlay, hover, routing and all results imagery. */
.test-card.theme-self>img{object-position:61% 49%;}
.test-card.theme-love>img{object-position:61% 46%;}
.test-card.theme-money>img{object-position:65% 55%;}
.test-card.theme-work>img{object-position:65% 50%;}
/* Larger category covers: keep each card at a consistent wide editorial ratio. */
@media(max-width:700px){
 .library-grid{grid-template-columns:minmax(0,1fr);}
 .library-grid .test-card{height:auto;min-height:0;aspect-ratio:3/2;}
 .library-grid .test-card h3{font-size:21px;}
 .library-grid .test-card p{font-size:12px;}
 .library-grid .test-card-content{left:18px;bottom:18px;}
 .library-grid .test-card-emblem{left:18px;bottom:89px;width:32px;height:32px;}
 /* Home stays in the accepted 2×2 arrangement to preserve the established hero geometry. */
 .hero-test-grid .test-card.theme-self>img{object-position:69% 49%;}
 .hero-test-grid .test-card.theme-love>img{object-position:65% 46%;}
 .hero-test-grid .test-card.theme-money>img{object-position:66% 55%;}
 .hero-test-grid .test-card.theme-work>img{object-position:68% 50%;}
}

/* v1.7 preview — REAL SELF 12+12. Scoped so all other SoulType views stay pixel-identical. */
.sf-shell{max-width:1050px;margin:0 auto;padding:48px 0 65px;color:#302d2d}
.sf-shell h1,.sf-shell h2,.sf-shell h3{font-family:"Songti SC","Noto Serif CJK SC",Georgia,serif}
.sf-shell h1{font-size:clamp(32px,4.2vw,56px);letter-spacing:.025em;line-height:1.3;font-weight:600;margin:12px 0 20px}
.sf-shell h2{font-size:26px;font-weight:600;margin:10px 0 24px;line-height:1.4}
.sf-shell h3{font-size:17px;margin:24px 0 7px;font-weight:600}
.sf-shell p{line-height:1.9}
.sf-eyebrow{font-family:Georgia,serif;font-weight:600;letter-spacing:3px;color:#a67f72;font-size:11px}
.sf-kicker{letter-spacing:2px;font-size:11px;color:#bb8e82;font-weight:600}
.sf-lead{font-family:"Songti SC","Microsoft YaHei",serif;font-size:17px;line-height:2.05;color:#685f5b;margin:0 0 18px}
.sf-muted{font-size:12px;color:#928780;margin-top:22px}
.sf-disclaimer{font-size:12px;color:#988c85;margin:32px 0 0!important;line-height:1.85}
.sf-intro-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:52px;align-items:center;margin-top:26px}
.sf-intro-photo{overflow:hidden;aspect-ratio:4/5;border-radius:17px;box-shadow:0 25px 60px rgba(58,34,25,.12)}
.sf-intro-photo img{width:100%;height:100%;object-fit:cover;object-position:65% center}
.sf-facts{display:flex;gap:9px;flex-wrap:wrap;margin:26px 0 6px}
.sf-facts span{font-size:12px;color:#796a62;background:#f7efe9;border:1px solid #efe0d7;padding:10px 13px;border-radius:26px;white-space:nowrap}
.sf-gender{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px;color:#91837b;margin:22px 0}
.sf-gender>span{width:100%}
.sf-gender button{border:1px solid #eadfda;background:#fff;padding:10px 15px;border-radius:50px;color:#675b54}
.sf-gender button.active{border-color:#b98d7e;background:#f9eeea;color:#5c403a}
.sf-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:23px 0 8px}
.sf-actions .pill-btn,.sf-actions .outline-btn{min-height:45px}
.sf-question-screen{max-width:850px;padding-top:45px}
.sf-quiz-top{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-bottom:15px;color:#867b76;font-size:13px}
.sf-progress{height:5px;overflow:hidden;border-radius:4px;background:#e7e0da}
.sf-progress>span{display:block;background:#e99ca3;height:100%;transition:width .35s cubic-bezier(.22,1,.36,1)}
.sf-quiz-main{max-width:730px;margin:42px auto 0;animation:sfSlide .42s cubic-bezier(.22,1,.36,1) both}
.sf-quiz-main h1{font-size:clamp(25px,3vw,37px);margin:14px 0 26px}
.sf-options{display:grid;gap:13px}
.sf-option{display:flex;align-items:center;gap:20px;width:100%;text-align:left;padding:17px 19px;min-height:73px;background:#fffdfb;border:1px solid #e7ded7;border-radius:13px;font-size:15px;line-height:1.55;color:#554b48;box-shadow:0 5px 16px rgba(69,44,34,.025);transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
.sf-option:hover{border-color:#ddb5ac;background:#fff8f5;transform:translateY(-1px)}
.sf-option.chosen{border-color:#d99da0;background:#fff0ee;box-shadow:0 0 0 2px rgba(227,155,162,.13)}
.sf-letter{flex:none;border:1px solid #d9cfc8;border-radius:50%;height:27px;width:27px;display:flex;align-items:center;justify-content:center;color:#998b83;font-size:11px}
.sf-option.chosen .sf-letter{background:#e79da2;border-color:#e79da2;color:#fff}
.sf-quiz-actions{display:flex;justify-content:space-between;gap:12px;margin-top:26px}
.sf-quiz-actions button{flex:1}
.sf-report-hero{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:33px;padding:28px 0 40px}
.sf-report-hero h1{font-size:clamp(34px,4vw,50px)}
.sf-report-portrait{overflow:hidden;height:360px;border-radius:17px;background:#d4c9bd;box-shadow:0 16px 50px rgba(72,44,31,.11)}
.sf-report-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 42%}
.sf-report-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.sf-panel{border:1px solid #ece2dd;border-radius:17px;background:#fffdfb;padding:29px 30px;box-shadow:0 10px 30px rgba(52,29,17,.035)}
.sf-panel>p{color:#756962;font-size:14px;margin:8px 0}
.sf-panel h3{margin:18px 0 6px}
.sf-dimension{margin:23px 0 29px}
.sf-dim-head{display:flex;justify-content:space-between;gap:10px;align-items:baseline;font-size:13px}
.sf-dim-head b{font-size:14px}.sf-dim-head span{font-size:12px;color:#b18d83}
.sf-meter{height:8px;border-radius:15px;background:#eee6e0;overflow:hidden;margin:11px 0 7px}
.sf-meter>div{height:100%;border-radius:15px;background:linear-gradient(90deg,#c7a89c,#e59ba3);transition:width .5s cubic-bezier(.22,1,.36,1)}
.sf-poles{display:flex;justify-content:space-between;font-size:11px;color:#a59b95}
.sf-continue{margin:25px 0 0;padding:35px 39px;border-radius:18px;background:#f4eae4;border:1px solid #e9d6cb}
.sf-continue h2{margin:11px 0}.sf-continue p{color:#746660;max-width:700px}
.sf-stage-stats{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:33px 0}
.sf-stage-stats div{min-width:150px;display:grid;gap:8px;border:1px solid #e9dfd7;border-radius:14px;background:#fffdfb;padding:22px}
.sf-stage-stats strong{font:600 40px Georgia;color:#9e7a6e}.sf-stage-stats span{font-size:12px;color:#998b85}
.sf-center{text-align:center;max-width:850px;padding-top:90px}.sf-center .sf-lead{max-width:650px;margin:20px auto}
.sf-center .sf-actions .pill-btn{margin:0 auto 0 0}.sf-center .sf-actions{justify-content:center}
/* Restore the existing decorative logo with sufficient contrast on light inner-page headers. */
.inner-nav .brand-logo-img{filter:brightness(0) opacity(.86)}
/* v1.26: only the deep-intro actions are placed on opposite edges. */
.sf-center .sf-actions.sf-deep-actions{justify-content:space-between}
.sf-center .sf-actions.sf-deep-actions .pill-btn{margin:0}

.sf-persona-title{color:#b5807a;font-size:37px!important}
.sf-wide{margin:22px 0 0}
.sf-dim-info{padding:0 0 12px;border-bottom:1px solid #eee5df}
.sf-bullet{border-left:2px solid #e7c0b8;padding:0 0 0 13px}
.sf-subheading{margin-top:39px!important}
.sf-situations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.sf-situation{background:#fbf6f2;border:1px solid #f0e8e3;border-radius:12px;padding:13px 19px}.sf-situation h3{margin:7px 0 5px}.sf-situation p{font-size:14px;color:#746961}
.sf-advice{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}
.sf-advice>div{padding:22px;background:#faf3ed;border-radius:12px}.sf-advice b{color:#b48b7c;font:600 27px Georgia}.sf-advice p{color:#655851}
.sf-compare{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.sf-compare>div{background:#f8f2ed;border:1px solid #f0e6e0;border-radius:10px;padding:18px;display:grid;gap:9px}.sf-compare span{font-size:12px;color:#9b8b83}.sf-compare strong{font-size:24px;font-family:"Songti SC",serif}
.sf-compare-table{margin:21px 0;border-top:1px solid #ece3dc}.sf-compare-table>div{display:grid;grid-template-columns:1fr 1fr 80px;gap:5px;align-items:center;padding:13px 5px;border-bottom:1px solid #ece3dc;font-size:14px;color:#685e59}.sf-compare-table em{font-style:normal;text-align:right;color:#a77e75}
.sf-history{background:#f7eee7;border:1px solid #e8d7cc;border-radius:14px;padding:20px;margin:10px 0 35px}.sf-history b{font-size:18px}.sf-history p{font-size:13px;color:#7d6f68}.sf-history button{margin:5px 8px 5px 0}
@keyframes sfSlide{from{opacity:0;transform:translateY(13px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:800px){.sf-intro-grid,.sf-report-hero{gap:25px}.sf-report-grid{gap:13px}.sf-panel{padding:22px}.sf-intro-grid{grid-template-columns:1fr .9fr}}
@media(max-width:700px){.sf-shell{padding:30px 0 48px}.sf-intro-grid,.sf-report-hero,.sf-report-grid{grid-template-columns:minmax(0,1fr)}.sf-intro-grid{margin-top:12px}.sf-intro-photo{max-height:315px;aspect-ratio:7/4}.sf-intro-photo img{object-position:50% 45%}.sf-report-portrait{height:265px}.sf-lead{font-size:15px}.sf-shell h1{font-size:34px}.sf-shell h2{font-size:24px}.sf-question-screen{padding:24px 0}.sf-quiz-main{margin:30px auto 0}.sf-quiz-main h1{font-size:25px}.sf-option{min-height:70px;padding:13px 14px;font-size:14px;gap:12px}.sf-continue{padding:24px 20px}.sf-panel{padding:21px 18px}.sf-situations,.sf-advice{grid-template-columns:1fr}.sf-stage-stats{gap:7px}.sf-stage-stats div{min-width:0;flex:1;padding:15px 6px}.sf-stage-stats strong{font-size:30px}.sf-quiz-actions button{padding:13px 15px}.sf-compare strong{font-size:20px}.sf-compare-table>div{grid-template-columns:1fr 1fr 65px;font-size:12px}.sf-dim-head{flex-wrap:wrap}.sf-center{padding-top:55px}}
@media(prefers-reduced-motion:reduce){.sf-quiz-main{animation:none!important}.sf-option,.sf-meter>div,.sf-progress>span{transition:none!important}}


