:root{font-family:system-ui,"Microsoft YaHei",sans-serif;color:#282444;background:#f5f2fc}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 90% 5%,#fae9f3,transparent 53%),linear-gradient(145deg,#f5faff,#f5effb);min-height:100svh}
main{max-width:550px;margin:auto;padding:20px 25px 44px}header{position:relative;display:grid;place-items:center;min-height:57px}.brand{display:flex;align-items:center;gap:7px;color:#3e82cd;font-weight:850}.brand img{width:34px}.brand small{color:#a34a87}.back{position:absolute;left:0;border:0;border-radius:50%;width:40px;height:40px;background:#fff;color:#3d3569;font-size:26px;cursor:pointer}
.progress{height:5px;margin:12px 0 0;background:#e6ddf2;border-radius:10px;overflow:hidden}.progress i{height:100%;display:block;background:linear-gradient(90deg,#6c9bd7,#c986b5);transition:width .3s ease}
section{padding-top:clamp(40px,8vh,75px)}h1{text-align:center;text-wrap:balance;font-size:clamp(24px,6.3vw,35px);line-height:1.28;margin:0 0 17px;outline:none;white-space:pre-line}h2{text-align:center;font-size:18px}.intro,.phase,.privacy{text-align:center;line-height:1.65;color:#5c5278}.intro{text-wrap:balance;margin:0 auto 23px}.phase{font-size:14px;color:#754789;margin-bottom:-20px}.privacy{font-size:14px}.options{display:grid;gap:11px;margin:18px 0}.options button{padding:15px 16px;border:1px solid #ece3f4;border-radius:17px;background:#fff;text-align:left;color:#282444;font:inherit;display:flex;align-items:center;gap:13px;cursor:pointer;min-height:54px}.options button[aria-pressed=true]{background:#eee7fa;border-color:#8870c3}.icon{color:#755aa5}.portraits{grid-template-columns:1fr 1fr}.portraits button{flex-direction:column;background:#edf4fc}.portraits button:nth-child(2){background:#fbeef6}.portraits img{max-width:100%;height:155px;object-fit:contain}.primary{width:100%;margin-top:15px;background:linear-gradient(100deg,#557db9,#8a5c9d);border:0;color:white;padding:15px;border-radius:28px;font:inherit;font-weight:750;cursor:pointer}.primary:disabled{opacity:.55}.panel,.profile{background:white;border-radius:20px;padding:20px}.art{display:flex;justify-content:center}.art img{width:44%;object-fit:contain}.profile{display:flex;align-items:center;gap:12px}.profile>div{flex:1}.profile img{width:31%;max-height:155px;object-fit:contain}.axis{display:flex;align-items:center;justify-content:space-between;gap:9px;font-size:14px;margin:13px 0}.axis i{flex:1;height:6px;position:relative;background:#ddd2ee;border-radius:6px}.axis i::after{content:"";position:absolute;left:var(--value);top:50%;transform:translate(-50%,-50%);width:11px;height:11px;background:#7556ad;border-radius:100%}.tags{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.tags span{padding:6px 11px;border-radius:15px;background:#fff;font-size:14px}
label{display:block;font-weight:700;margin:24px 0 8px}label small{color:#655c79;font-weight:400}textarea{width:100%;border:1px solid #d5cce5;border-radius:16px;font:inherit;padding:15px;resize:vertical}#error{color:#8c2948}.done{min-height:85svh;display:grid;place-content:center;justify-items:center;text-align:center}.done img{height:112px;margin-bottom:25px}.done p{color:#665b83;margin-top:0}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Adapted from the current native TPTI quiz layout. */
#app{background:#f5f4ff;color:#211941;font-family:system-ui,sans-serif}
.shell button{color:inherit;box-sizing:border-box;font-size:3.8667cqw;line-height:1.4}
.shell button::after{border:0}
.shell{min-height:100vh;background:radial-gradient(ellipse at 100% 8%,#fce7f5,transparent 42%),linear-gradient(160deg,#f7f9ff,#f0eeff 75%,#ebf6ff)}
.nav{height:12.5333cqw;padding:env(safe-area-inset-top) 4cqw 0;display:flex;justify-content:center;align-items:center;gap:1.6cqw;position:relative;font-size:4.2667cqw;font-weight:800}
.logo{width:6.9333cqw;height:6.9333cqw;border-radius:1.8667cqw}
.english{font-size:2.6667cqw;color:#6b59de}
.back{position:absolute;left:3.2cqw;width:8.2667cqw;height:8.2667cqw;padding:0;background:#fff;border-radius:2.9333cqw;font-size:6.4cqw;line-height:1}
.body{max-width:101.3333cqw;box-sizing:border-box;margin:auto;padding:6.1333cqw 4.2667cqw 21.3333cqw}
.title{font-size:6.1333cqw;line-height:1.22;font-weight:850;text-align:center;margin:0 1.0667cqw 3.0667cqw}
.description,.note{font-size:3.4667cqw;line-height:1.6;color:#625980;text-align:center;margin:0 0 3.3333cqw}
.note{font-size:2.9333cqw}
.prompt{font-size:4.1333cqw;text-align:center;font-weight:750;margin:3.0667cqw 0 2.6667cqw}
.progress,.track{position:relative;height:1.0667cqw;border-radius:2.6667cqw;background:#ded9f4;margin:1.6cqw 5.8667cqw}
.progress-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#3979ff,#8651ee,#eb4192);transition:width .38s ease}
.progress-node,.pin{position:absolute;top:50%;transform:translate(-50%,-50%);background:#fff;border:0.4cqw solid #b9ade8;border-radius:50%;width:2.5333cqw;height:2.5333cqw;text-align:center;font-size:1.8667cqw;line-height:2.5333cqw;color:white}
.progress-node.active,.pin{background:#6d56ec;border-color:#6d56ec}
.grid,.two{display:grid;grid-template-columns:1fr 1fr;gap:2.4cqw}
.portrait{width:100%;position:relative;overflow:hidden;padding:0;border-radius:3.7333cqw;background:white;box-shadow:0 1.0667cqw 3.7333cqw #5e469118}
.portrait img{width:100%;height:38cqw;display:block}
.portrait-label{padding:2.1333cqw 3.2cqw;text-align:left;font-weight:750;background:#fff}
.portrait-label span,.check,.choice>span:last-child:not(.label){float:right}
.portrait-icon{position:absolute;right:1.6cqw;top:1.6cqw;padding:0.8cqw 1.6cqw;background:white;border-radius:3.2cqw}
.panel,.choice{background:#fff;border-radius:3.4667cqw;box-shadow:0 1.0667cqw 3.7333cqw #5e469110}
.panel{padding:3.4667cqw;margin:2.6667cqw 0;font-size:3.6cqw;line-height:1.6}
.eyebrow{font-weight:800;color:#5f47c7;margin-bottom:1.3333cqw}
.quote{font-size:4cqw;font-weight:650}
.choice{width:100%;display:flex;align-items:center;gap:1.8667cqw;padding:2.8cqw 3.2cqw;margin:0 0 1.7333cqw;text-align:left;border:0.2667cqw solid transparent;min-height:11.4667cqw}
.choice .label{flex:1}
.choice .icon{width:5.6cqw;text-align:center}
.choice.selected,.portrait.selected{background:#eee8ff;border-color:#856bf3}
.check{color:#7258de}
.link{background:transparent;color:#6048cc;font-size:3.0667cqw;padding:1.6cqw 0}
.illustration{display:flex;justify-content:center;gap:1.0667cqw;margin:3.7333cqw 0}
.illustration img{width:46%;height:36cqw;border-radius:4.2667cqw}
.fork,.scale,.status,.code{display:flex;justify-content:space-between;gap:1.6cqw}
.fork{justify-content:space-around}
.profile{display:flex;align-items:center;gap:1.8667cqw}
.axes{flex:1;min-width:0}
.axis{margin:0 0 2.5333cqw;font-size:2.9333cqw}
.track{margin:1.3333cqw 1.2cqw;background:linear-gradient(90deg,#e3dcff,#9dc3ff)}
.scale{font-size:2.5333cqw;color:#665e84}
.character{width:38%;text-align:center;font-size:2.8cqw}
.character img{width:100%;height:27.3333cqw}
.tags{display:flex;flex-wrap:wrap;gap:1.6cqw;margin-bottom:3.2cqw}
.tags span{background:#fff;padding:1.2cqw 2cqw;border-radius:3.3333cqw;font-size:3.0667cqw}
.radar{display:flex;justify-content:center}
.radar-canvas{width:260px;height:260px}
.status{padding:1.3333cqw 0;border-bottom:0.1333cqw solid #eee9f9}
.status-mark{color:#7156e9;font-weight:800}
.scenes{height:36.6667cqw}
.scenario{margin:0 1.6cqw 2.4cqw 0;font-size:3.2cqw}
.conflict{color:#695f83}
.solution{margin-top:1.3333cqw;color:#37277a;font-weight:650}
.form input{box-sizing:border-box;width:100%;background:#f4f1fc;border-radius:2cqw;padding:2cqw;height:10cqw;margin:0.9333cqw 0 2cqw;font-size:3.8667cqw}
.code button{flex-shrink:0}
.registration-preview{display:flex;align-items:center;gap:2.1333cqw;justify-content:center;font-weight:750}
.registration-preview img,.mini-art{width:12.6667cqw;height:12.6667cqw}
.footer{position:fixed;bottom:0;left:0;right:0;z-index:3;background:#f5f2fff0;padding:2.4cqw 4.2667cqw calc(2.4cqw + env(safe-area-inset-bottom))}
.primary{max-width:93.3333cqw;width:100%;padding:2.8cqw 2cqw;border-radius:5.3333cqw;background:linear-gradient(105deg,#367cff,#7d4ee8 55%,#ce43b2);color:white;font-weight:800}
.primary[disabled]{background:#dbd6e8;color:#776b91}
.overlay{position:fixed;inset:0;z-index:5;display:flex;justify-content:center;align-items:center;background:#23183a75;padding:3.7333cqw;box-sizing:border-box}
.dialog{width:100%;max-width:90.6667cqw;background:#fbf9ff;border-radius:4.5333cqw;padding:4cqw;box-sizing:border-box;animation:enter .23s ease both}
.dialog-title{font-size:4.9333cqw;font-weight:800;margin-bottom:2.4cqw;line-height:1.26}
.dialog .description{text-align:left}
.feedback{animation:enter .24s ease both}
@keyframes enter{from{opacity:0;transform:translateY(1.8667cqw)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.body,.dialog,.feedback{animation:none}.progress-fill{transition:none}}
.character.culture{color:#8a4186;background:#fff3fa;border-radius:3.2cqw}
.character.nature{color:#1b705c;background:#e9fbf1;border-radius:3.2cqw}
.dialog.closing{animation:leave .18s ease both;pointer-events:none}
@keyframes leave{to{opacity:0;transform:translateY(1.6cqw) scale(.98)}}
.scene-options .choice{min-height:14.9333cqw}
@media(prefers-reduced-motion:reduce){.dialog.closing{animation:none}}
.nav{padding-top:11.7333cqw}
.brand{display:flex;flex-direction:column;align-items:center;gap:0;line-height:1.05}
.brand-line{display:flex;align-items:center;gap:0.9333cqw}
.brand-line .logo{width:5.7333cqw;height:5.7333cqw}
.brand-name{color:#6b61b0;background:linear-gradient(105deg,#4389df,#d15d9d);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.english{font-size:2.4cqw;color:#8367ae;margin-top:0.5333cqw}
.english span{color:#4986cf}.english .brand-pink{color:#c25895}
.body{padding:8.2667cqw 5.7333cqw 21.3333cqw}
.title{margin:0 auto 3.2cqw;max-width:76.5333cqw;font-size:5.8667cqw;text-wrap:balance}
.description{margin:0 auto 3.3333cqw;max-width:77.3333cqw;text-wrap:pretty}
.page-gender,.page-age{padding-top:8.5333cqw}
.page-gender .description,.chapter-copy{max-width:68.8cqw;text-wrap:balance}
.page-single,.page-feedbackChoice,.page-multi{padding-top:9.8667cqw}
.page-campus{padding-top:8.8cqw}
.page-campus .title{font-size:8.2667cqw;color:#5d58a1}
.page-campus .panel{margin:3.2cqw auto;padding:4.4cqw 3.8667cqw}
.page-campus .panel:first-of-type{box-shadow:0 1.0667cqw 3.7333cqw #6856a725}
.review-sparkle{font-size:4.6667cqw;color:#9875c3}
.campus-schools{text-align:center}
.campus-schools .note{margin:0 0 1.6cqw}
.school-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.2cqw;font-size:3.0667cqw}
.school-grid span{background:#f7f4fc;border-radius:1.6cqw;padding:1.0667cqw}
.illustration{margin:4cqw 0 3.2cqw;animation:chapter-in .65s ease both}
.illustration img:nth-child(2){animation:chapter-in .7s ease both}
.chapter-copy{margin:4cqw auto 0}
.feedback-slot{height:30cqw;margin:1.0667cqw 0 1.8667cqw}
.feedback-slot .feedback{margin:0;padding:2.6667cqw 3.2cqw;line-height:1.55;min-height:20cqw}
.feedback-slot .feedback span{font-size:3.3333cqw}
.choice .icon{flex:0 0 5.7333cqw;color:#695da2}
.primary{background:linear-gradient(108deg,#5c83c5,#7969b4 56%,#aa659e)}
.activity-tag{display:flex;align-items:center;gap:0.8cqw;background:#f0ecfb;border:0.1333cqw solid #e3d9f2;padding:0.9333cqw 1.7333cqw;border-radius:2.6667cqw}
.tags .activity-tag span{padding:0;background:transparent;font-size:2.9333cqw}
.activity-icon{font-size:3.2cqw}
.status-row{padding:1.0667cqw 0;border-bottom:0.1333cqw solid #eee9f9}
.status-row .status{border:0;padding:0.5333cqw 0}
.status-track{margin:0.6667cqw 0 0.4cqw;height:0.8cqw;border-radius:1.3333cqw;background:#f0eaf7;overflow:hidden}
.status-track .progress-fill{background:linear-gradient(90deg,#8fb3e5,#bf8ebc);transition:width .31s ease}
.scenes{height:60cqw}
.scenario{padding:2.8cqw 2.9333cqw}
.story-art{width:100%;height:28.1333cqw;margin-top:2cqw;border-radius:2.4cqw;display:block;background:#f5edf8}
@keyframes chapter-in{from{opacity:0;transform:translateY(2.4cqw) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.illustration,.illustration img:nth-child(2){animation:none}.status-track .progress-fill{transition:none}}
.default-portrait img{height:43.0667cqw;background:#eef4fb}
.default-portrait:nth-child(2) img{background:#fbf0f7}
.default-portrait img{box-sizing:border-box;padding:1.4667cqw 0.9333cqw 0}
.scenes{height:71.3333cqw}
.story-art{height:39.7333cqw}
.page-summary .profile,.page-radar .radar{animation:chapter-in .6s ease both}
@media(prefers-reduced-motion:reduce){.page-summary .profile,.page-radar .radar{animation:none}}
.shell{background:radial-gradient(ellipse at 99% 18%,#ffe3f3 0,transparent 48%),radial-gradient(ellipse at 0% 66%,#deedff 0,transparent 56%),#faf6ff}
.primary{background:linear-gradient(108deg,#4389e6,#8671d1 58%,#d64f9c)}
.body{--nav-room:23.2cqw;box-sizing:border-box;min-height:calc(100vh - var(--nav-room));padding:5.8667cqw 7.0667cqw 18.4cqw}
.title{max-width:100%;margin:0 auto 2.9333cqw;font-size:5.6cqw;line-height:1.33;text-wrap:balance;word-break:normal}
.description{max-width:100%;line-height:1.65;text-wrap:balance}
.page-single,.page-multi,.page-feedbackChoice{display:flex;flex-direction:column;justify-content:center;padding-top:3.8667cqw;padding-bottom:21.3333cqw}
.page-single>.title,.page-multi>.title,.page-feedbackChoice>.title{width:90%;margin-bottom:4.4cqw}
.page-gender{padding-bottom:20cqw}
.page-gender .title{font-size:6.4cqw}
.default-portrait img{height:52.6667cqw;padding:1.3333cqw 0 0;background:radial-gradient(circle at 50% 42%,#fff,#e0eeff)}
.default-portrait:nth-child(2) img{background:radial-gradient(circle at 50% 42%,#fff,#fbe0ef)}
.default-portrait .portrait-label{padding:2.6667cqw 3.0667cqw}
.birth-section{margin:3.4667cqw 0 0.6667cqw}
.birth-section .prompt{margin:0 0 1.7333cqw;font-size:3.6cqw}
.birth-picker{display:flex;align-items:center;justify-content:space-between;background:#fff;border:0.2667cqw solid #e7d8fd;color:#58458a;border-radius:2.8cqw;padding:2.5333cqw 3.7333cqw;font-size:3.7333cqw}
.body.page-age{animation:none}
.page-age .portrait img{background:linear-gradient(160deg,#edf5ff,#fff1f8);padding:1.0667cqw;box-sizing:border-box}
.page-campus{display:flex;flex-direction:column;padding-top:8.6667cqw}
.page-campus .title{color:#7c52d0;font-size:9.2cqw;background:linear-gradient(95deg,#347ce2,#a44ec4,#df4c91);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.page-campus .panel{width:100%;box-sizing:border-box}
.page-campus>.panel:first-of-type{margin-top:auto;margin-bottom:auto}
.page-campus .campus-schools{margin-top:6.9333cqw}
.school-grid span:nth-child(1){background:#ede2ff;color:#684398}
.school-grid span:nth-child(2){background:#ddecff;color:#245687}
.school-grid span:nth-child(3){background:#ffe0ee;color:#913867}
.school-grid span:nth-child(4){background:#def5e9;color:#2a6c56}
.chapter-art{display:block;width:calc(100% + 3.4667cqw);height:43vh;margin:2cqw -1.7333cqw;border-radius:3.2cqw;animation:chapter-in .65s ease both}
.page-illustrated,.page-fork,.page-summary{display:flex;flex-direction:column;justify-content:center}
.chapter-copy{margin:1.7333cqw auto 0;max-width:92%;font-size:3.3333cqw}
.stay-art{height:41vh}
.poem{text-align:center;margin:1.0667cqw 0 0;font-size:3.7333cqw;font-weight:700}
.poem .note{margin:0.5333cqw 0 1.7333cqw;text-align:right}
.poem .description{margin:0;font-weight:400}
.profile{flex-direction:column;padding:2.8cqw 3.4667cqw}
.profile-art{width:100%;height:27vh;display:block}
.axes{width:100%}
.page-summary .tags{justify-content:center}
.page-generate{padding-left:5.3333cqw;padding-right:5.3333cqw}
.scenes{height:74.4cqw}
.scenario{padding:2.5333cqw 2.6667cqw}
.story-art{height:42cqw;object-fit:cover}
.registration-preview{height:32vh;flex-direction:column;gap:0.2667cqw;padding:1.3333cqw 0;border-radius:3.7333cqw;background:transparent;color:#6f50aa}
.registration-preview img{width:100%;height:calc(100% - 5.0667cqw)}
@media(prefers-reduced-motion:reduce){.chapter-art{animation:none}}
.title{white-space:pre-line}
.age-ghost{position:absolute;left:0;top:0;pointer-events:none;animation:age-base-out .46s ease both}
.age-variant{animation:age-variant-in .56s ease both}
@keyframes age-base-out{0%,15%{opacity:1}100%{opacity:0;transform:scale(1.05)}}
@keyframes age-variant-in{0%{opacity:0;transform:scale(.96)}100%{opacity:1;transform:scale(1)}}
.page-summary .activity-tag{color:#7458a3}
@media(prefers-reduced-motion:reduce){.age-ghost{display:none}.age-variant{animation:none}}
.description{white-space:pre-line}

.page-gender,.page-age,.page-campus,.page-radar{display:flex;flex-direction:column;min-height:calc(100vh - 24.2667cqw)}
.page-gender,.page-age,.page-campus{justify-content:center}
.page-gender .portrait-group,.page-age .portrait-group{margin:0}
.page-gender .default-portrait img{height:clamp(50.6667cqw,32vh,70.6667cqw);padding:1.0667cqw 0}
.page-gender .birth-section{margin:4.8cqw 0 0.5333cqw}
.page-age{padding-bottom:7.7333cqw}
.page-age .portrait img{height:clamp(27.3333cqw,19vh,45.3333cqw)}
.page-campus .review{margin:0;position:relative}
.review-heading{display:flex;justify-content:space-between;align-items:center}
.stars{letter-spacing:0.4cqw;background:linear-gradient(90deg,#498fdc,#dc6097);-webkit-background-clip:text;color:transparent}
.sample-credit{text-align:right;color:#766d86;font-size:2.8cqw;margin-top:1.6cqw}
.page-campus .campus-schools{margin:3.7333cqw 0 1.3333cqw}
.page-campus>.note{margin:0}
.page-fork .chapter-copy,.role-copy,.chapter-next{text-align:left;font-size:3.4667cqw;line-height:1.65;color:#51496b}
.page-fork .chapter-copy{max-width:100%}
.role-copy{margin:0.5333cqw 0 2.1333cqw;font-weight:600}
.page-radar{justify-content:center}
.track{background:linear-gradient(90deg,#498fdc,#dc6097)}
.status-track .progress-fill{transition:none}
.scenes{height:calc(89vw + 30.6667cqw)}
.story-art{width:100%;height:calc(89vw - 10.6667cqw);background:transparent;object-fit:contain}
.registration-preview{background:transparent;height:33vh;box-sizing:border-box;gap:0.5333cqw}
.registration-preview img{flex:1;min-height:0;width:100%;height:0}
.type-code{font-size:3.0667cqw;letter-spacing:0.4cqw;color:#455b86}
.type-detail{font-size:2.9333cqw;color:#5c5873}

.page-gender>.description,.page-age>.description,.page-campus>.description{margin-bottom:4.5333cqw}
.page-gender .portrait-group>.prompt{margin:0 0 2.1333cqw}
.default-portrait{transition:opacity .2s,transform .2s}
.default-portrait.selected{box-shadow:0 0 0 0.5333cqw #7e83dd;transform:translateY(-0.4cqw)}
.muted-portrait img{filter:saturate(.3);opacity:.58}
.progress-node{box-sizing:border-box;display:flex;justify-content:center;align-items:center;width:3.3333cqw;height:3.3333cqw;background:white;color:#5f53b6;border:0.2667cqw solid #b0a7d5}
.chapter-check{font-size:2.6667cqw;line-height:1;font-weight:800;animation:chapter-tick .4s ease-out both}
@keyframes chapter-tick{0%{opacity:0;transform:scale(.55)}65%{opacity:1;transform:scale(1.22)}100%{transform:scale(1)}}
.page-radar .radar{padding:1.6cqw 0}
.radar-plot{position:relative;width:260px;height:260px}
.radar-label{position:absolute;font-size:14px;font-weight:650;line-height:20px;white-space:nowrap;color:#393055}
.radar-label-0,.radar-label-2{left:50%;transform:translateX(-50%)}
.radar-label-0{top:37px}.radar-label-2{bottom:37px}
.radar-label-1,.radar-label-3{top:120px}
.radar-label-1{left:198px}.radar-label-3{right:198px}
.radar-role{font-size:3.6cqw;line-height:1.65;color:#393052}
.page-radar .chapter-next{margin-top:1.6em}
@media(prefers-reduced-motion:reduce){.chapter-check{animation:none}.default-portrait{transition:none}}

.heading-anchor,.header-note{position:relative}
.heading-space{visibility:hidden;margin:0 -3.6%}
.heading-space,.visible-heading{font-size:6cqw;line-height:1.3}
.visible-heading{position:absolute;left:-3.6%;right:-3.6%}
.heading-space,.visible-heading,.dialog-title{text-wrap:balance;white-space:pre-line}
.heading-tail{display:inline-block;white-space:nowrap}
.page-campus .heading-space{margin:0;font-size:inherit;line-height:inherit}
.page-campus .visible-heading{left:0;right:0;font-size:inherit;line-height:inherit;color:#694bba;background:linear-gradient(95deg,#347ce2,#a44ec4,#df4c91);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}

.dialog{max-height:calc(100vh - 32px);overflow-y:auto}
@media (max-height:540px){
  .nav{height:42px;padding-top:34px}
  .body.page-gender,.body.page-age,.body.page-campus,.body.page-single,.body.page-multi,.body.page-feedbackChoice,.body.page-radar{
    max-width:620px;min-height:0;padding:16px 18px 22px;justify-content:flex-start
  }
  .body.page-gender,.body.page-campus,.body.page-multi,.body.page-feedbackChoice,.body.page-radar{padding-bottom:74px}
  .body .title,.body .visible-heading{font-size:22px;line-height:1.25;margin-bottom:10px}
  .body .heading-space{display:none}
  .body .visible-heading{position:static;margin:0}
  .body .description,.radar-role,.role-copy,.chapter-next{font-size:14px;line-height:1.5}
  .body .description{margin-bottom:14px}
  .page-gender .default-portrait img,.page-age .portrait img{height:clamp(74px,26vh,140px)}
  .portrait-label{font-size:14px;padding:8px 12px}
  .page-gender .default-portrait .portrait-label{padding:8px 12px}
  .page-gender .birth-section{margin:14px 0 4px}
  .page-campus .panel{padding:12px 14px;font-size:14px}
  .page-campus .quote{font-size:14px}
  .page-campus .campus-schools{margin:14px 0 8px}
  .school-grid{font-size:12px}
  .page-single .choice,.page-multi .choice,.page-feedbackChoice .choice{font-size:14px;min-height:40px;margin-bottom:6px;padding:8px 12px}
  .feedback-slot{height:auto;min-height:78px}
  .footer{padding:6px 18px calc(6px + env(safe-area-inset-bottom))}
  .primary{padding:8px 12px;font-size:15px;max-width:584px}
  .dialog{padding:14px;max-width:480px}
  .dialog-title{font-size:18px;margin-bottom:8px}
  .dialog .description{font-size:13px;margin-bottom:8px}
  .dialog .choice{font-size:14px;min-height:38px;padding:8px 10px;margin-bottom:6px}
}
@media (min-width:560px) and (max-height:540px){
  .page-age .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .page-gender .grid{max-width:350px;margin:auto}
}
@media (max-height:540px){
  .brand-name{font-size:17px}
  .brand-line .logo{width:20px;height:20px}
  .english{font-size:9px;margin-top:2px}
  .back{left:14px;width:32px;height:32px;font-size:25px}
  .body .prompt{font-size:16px}
  .page-gender .birth-section .prompt{font-size:15px}
  .birth-picker{font-size:14px;padding:7px 12px}
  .body .link{font-size:12px}
  .page-campus .review-heading .eyebrow{margin-bottom:4px}
  .page-campus .quote{font-weight:500;line-height:1.45}
}
@media (min-width:560px) and (max-height:540px){
  .body.page-gender{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;column-gap:24px}
  .page-gender>.title,.page-gender>.description{grid-column:1/-1}
  .page-gender>.portrait-group{grid-column:1;grid-row:3/5}
  .page-gender>.birth-section{grid-column:2;align-self:end;margin:0}
  .page-gender>.link{grid-column:2;align-self:start}
  .page-gender .default-portrait img{height:clamp(70px,24vh,128px)}
}
@media (max-width:559px) and (max-height:540px){
  .footer{position:static}
  .body.page-gender,.body.page-campus,.body.page-multi,.body.page-feedbackChoice,.body.page-radar{padding-bottom:14px}
}

.shell button{display:block;white-space:normal;line-height:1.4}
.shell .choice{display:flex}
.quiz-bind{max-width:85.3333cqw;margin:4cqw auto;width:100%;box-sizing:border-box}
.quiz-bind-label{font-weight:700;margin-bottom:1.6cqw}
.quiz-phone{background:white;border:1px solid #d6d7eb;border-radius:16px;padding:12px 16px;height:48px;box-sizing:border-box}
.quiz-bind .note{margin:10px 0}
.page-register{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
@media(max-height:540px){.registration-preview{min-height:154px}}
.shell{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#211941}
.shell .nav{box-sizing:content-box}
.shell .title,.shell .brand{font-family:inherit}
.shell .nav .back{width:8.2667cqw!important;height:8.2667cqw;padding:0!important;margin:0;line-height:8.2667cqw}
.shell .primary,.shell .choice,.shell .portrait{width:100%!important}
.shell .primary{margin:0 auto}
.shell .choice .label{margin:0;color:inherit;font-size:inherit}#app{container-type:inline-size;max-width:560px;padding:0;min-height:100svh}
.shell{min-height:100svh}
.shell .nav{height:42px;padding:calc(12px + env(safe-area-inset-top,0px)) 0 0}
.shell .mark{position:absolute;right:15px;top:calc(14px + env(safe-area-inset-top,0px));display:flex;align-items:center;gap:4px;height:26px;padding:0 8px;border-radius:12px;background:transparent;color:#5144a0;font-weight:750}.mark .cn{font-size:16px;font-weight:850;background:linear-gradient(100deg,#286be5,#b23caa);background-clip:text;color:transparent}.mark .en{font-size:11px}
.shell button{border:0;cursor:pointer;font-family:inherit}.shell .choice{border:1px solid transparent}.shell .choice.selected{border-color:#856bf3}.shell .back{left:14px;font-size:27px}.shell h1:focus{outline:none}.shell .body{max-width:none}.shell .progress{overflow:visible}.shell .progress-node{z-index:1}
.shell .title,.shell .description{white-space:pre-line}.shell .grid{min-width:0}.shell .portrait img,.shell .chapter-art,.shell .profile-art,.shell .registration-preview img{object-fit:contain}.shell .portrait-label{display:block}.shell .portrait-label>span{float:right}.shell .portrait{border:1px solid #e9e1f1}.shell .portrait.selected{border-color:#856bf3}
.shell .birth-section .prompt{display:block}.shell .birth-picker{width:100%;font:inherit}.shell .policy{align-self:center;text-align:center;margin:10px 0 0;font-size:13px;color:#6048cc}.shell .policy .note{margin:9px 0 0}
.shell .footer{left:50%;right:auto;width:min(100%,560px);transform:translateX(-50%);box-sizing:border-box}
.shell .profile-art{width:100%;height:27svh}.shell .axis>div:first-child{font-weight:650}.shell .axis .track{margin:7px 0}.shell .radar-panel{padding:8px 0}.shell svg.radar{display:block;width:100%;max-height:39svh}.shell .radar-role{margin-top:7px}.shell .chapter-next{margin-bottom:0}
.shell .scenes{display:flex;gap:12px;overflow:auto;scroll-snap-type:x mandatory;height:auto;padding-bottom:12px}.shell .scenario{margin:0;flex:0 0 92%;scroll-snap-align:start}.shell .story-art{height:min(43cqw,230px);object-fit:contain}.shell .status-animate{animation:status-fill .38s ease both}.shell .money-overlay{animation:enter .22s .38s both}.shell .overlay .dialog{max-width:min(480px,94vw)}.shell .overlay .dialog-title{margin-top:0}
.shell .page-results,.shell .page-feedback{display:flex;flex-direction:column;justify-content:center}.shell .registration-preview{height:50svh;min-height:250px}.shell .registration-preview strong{font-size:1.12rem}.shell .feedback-art{height:105px;object-fit:contain;margin:0 auto 15px}.shell .feedback-card{background:linear-gradient(138deg,#fff,#f7ecfb);padding:18px;border:1px solid #eadbef;border-radius:24px;box-shadow:0 8px 28px #5e469119}.shell .feedback-card label{display:block;margin:0 0 9px}.shell .page-feedback .note{margin:13px 0 0}.shell .done{min-height:100svh}.shell .done img{width:144px;height:144px;object-fit:contain;background:#fff;border-radius:25px;padding:13px;box-shadow:0 12px 24px #5e469122}.shell .done .title{margin-bottom:13px}
.project-entry{text-align:center;padding-top:clamp(24px,6vh,56px)}.project-entry img{display:block;width:min(82vw,350px);height:clamp(235px,45vh,350px);object-fit:contain;margin:0 auto 30px}.project-entry ul{list-style:none;padding:0}.project-entry .primary{display:block;text-decoration:none}.back{text-align:center;text-decoration:none}
@keyframes status-fill{from{width:var(--from)}to{width:var(--to)}}
@media(prefers-reduced-motion:reduce){.shell .money-overlay{animation:none}.shell .status-animate{animation:none;width:var(--to)}}
.shell .money-overlay{animation:enter .2s 1.1s both}.shell .status-animate{animation:status-fill 1.05s ease both}.shell .money-overlay.closing{animation:leave .18s ease both;pointer-events:none}.shell .status-complete{animation:status-complete .4s ease both}
@keyframes status-complete{from{width:48%}to{width:100%}}
@media(prefers-reduced-motion:reduce){.shell .money-overlay,.shell .status-animate,.shell .status-complete{animation:none}.shell .status-animate{width:var(--to)}.shell .status-complete{width:100%}.shell .money-overlay.closing{display:none}}
/* Use the browser's usable viewport, with the action bar in the layout. */
.shell{display:flex;flex-direction:column;min-height:100svh}
.shell .nav,.shell>.progress,.shell .footer{flex-shrink:0}
.shell .body{flex:1 0 auto;display:flex;flex-direction:column;justify-content:safe center;min-height:0;width:100%;padding:clamp(22px,4svh,40px) clamp(22px,7cqw,42px)}
.shell .body.page-generate{justify-content:flex-start}
.shell .footer{position:sticky;bottom:0;left:auto;right:auto;width:100%;transform:none;padding:10px clamp(22px,7cqw,42px) calc(12px + env(safe-area-inset-bottom,0px));background:#f9f3fff5}
.shell .footer .primary{color:#fff}
.shell .footer .primary:disabled{color:#665984}
.shell .body>.title{width:min(100%,470px);margin:0 auto 21px}
.shell .body>.description{margin-left:auto;margin-right:auto}
.shell .body .chapter-art{width:100%;height:auto;max-height:min(44svh,380px);margin:12px auto 18px;object-fit:contain;object-position:center}
.shell .body .profile-art,.shell .body .registration-preview img{object-fit:contain;object-position:center}
.shell .body .portrait img{object-fit:contain;object-position:center bottom}
.shell .body .story-art{object-position:center}
.project-entry img{background:#fff;border-radius:24px;padding:18px}
.shell .axes .axis{display:block;width:100%;margin:0 0 12px}
.shell .axes .axis .track{display:block;width:100%;height:6px;margin:7px 0 5px;background:linear-gradient(90deg,#498fdc,#dc6097)}
.shell .axes .axis .pin{width:12px;height:12px}.shell .axes .axis .pin::after{content:none}
.shell .axes .axis .scale{display:flex;justify-content:space-between}
.shell .birth-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.shell .mark{height:auto;padding:0;gap:1px;flex-direction:column}
.shell .brand-line{display:flex;align-items:center;gap:3px}
.shell .brand-line img{width:18px;height:18px;object-fit:contain}
.shell .mark .en{color:#5b4296;font-size:10px}
.shell .adult-confirm{display:flex;align-items:center;justify-content:center;gap:9px;margin:18px 0 3px;font-weight:700}
.shell input[type=checkbox]{width:19px;height:19px;flex:none;accent-color:#7154c5}
.shell .page-interests,.shell .page-nickname,.shell .page-celebrity{display:flex;flex-direction:column;justify-content:center;gap:14px}
.shell .interest-list{display:grid;gap:8px}
.shell .interest-list details,.shell .participant-card details{background:#fff;border:1px solid #e5daef;border-radius:13px;padding:11px 14px}
.shell .interest-list summary,.shell .participant-card summary{cursor:pointer;font-weight:700}
.shell .interest-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}
.shell .interest-chip,.shell .celebrity-tag{padding:7px 11px;border-radius:20px;background:#f5eefc;border:1px solid #e6d8f3;color:#4e377e;font-size:.85rem}
.shell .interest-chip{cursor:pointer}
.shell .interest-chip[aria-pressed=true]{background:#e7dbfa;border-color:#9c7ccb}
.shell .picked-interests ul{padding:0;margin:10px 0 0;list-style:none}
.shell .picked-interests li{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px;padding:5px 0}
.shell .picked-interests li div,.shell .custom-interest div{display:flex;gap:8px}
.shell .custom-interest label,.shell .name-card label{display:block;font-weight:700;margin-bottom:6px}
.shell .custom-interest input,.shell .name-card input:not([type=checkbox]){width:100%;min-width:0;box-sizing:border-box;padding:10px;border:1px solid #d9c9ea;border-radius:10px;background:#fff;color:#291c42;font:inherit}
.shell .name-card{display:grid;gap:8px}
.shell .name-card label:has(input){display:flex;align-items:flex-start;gap:8px;margin-top:8px;font-size:.9rem;font-weight:550}
.shell .name-card input[type=checkbox]{margin:2px 0 0}
.shell .custom-interest [role=status],.shell #name-error{color:#864648;margin:5px 0 0}
.shell .celebrity-card,.shell .participant-card{background:linear-gradient(140deg,#fff,#faf1fc);padding:18px}
.shell .celebrity-card h2,.shell .celebrity-card h3,.shell .participant-card h3{margin:9px 0 4px}
.shell .celebrity-card p{margin:7px 0}
.shell .celebrity-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:linear-gradient(140deg,#d8e4ff,#f8dbf1);color:#6348a2;font-size:25px}
.shell .celebrity-style,.shell .celebrity-card a,.shell .participant-card summary span{color:#604489;font-size:.88rem}
.shell .match-disclaimer{font-size:.82rem;line-height:1.55;color:#5e4f73;margin:0}
.shell .participant-card summary span{float:right}
.shell .participant-art{width:100%;height:140px;object-fit:contain;margin:10px 0}
.shell .participant-card .radar{width:min(100%,300px);height:auto;margin:0 auto}
.shell .participant-card .radar-panel{margin-top:5px}
.shell .celebrity-photo{display:block;height:auto;border-radius:20px}
.shell .celebrity-card .photo-credit{font-size:.72rem}
html{scrollbar-gutter:stable}
#app{overflow-anchor:none}
.shell .celebrity-detail summary{cursor:pointer;font-weight:700;margin-top:14px}
.shell .page-nickname{justify-content:flex-start;padding-top:clamp(32px,11svh,106px)}
.shell .hide-quiz-profile{display:flex;justify-content:center;align-items:center;gap:9px;margin:auto auto 0;padding:36px 0 4px;color:#584176;font-size:.9rem;text-align:center}
.shell .celebrity-header{text-align:center;padding:5px 0 16px}
.shell .celebrity-photo,.shell .initial-avatar{margin:0 auto;border-radius:28px;box-shadow:0 8px 24px #6650a52e}
.shell .initial-avatar{display:grid;place-items:center;background:linear-gradient(135deg,#dbebff,#fbdbea);color:#7150a1;font-size:2.4rem;font-weight:800}
.shell .result-kicker{color:#4a63a6;font-size:.85rem;font-weight:750}
.shell .celebrity-header h2{color:#5a3985;font-size:clamp(25px,6vw,38px);margin:5px 0}
.shell .entertainment-note{color:#775b7c;font-size:.78rem;margin:2px auto}
.shell .result-box{padding:14px 16px;margin:10px 0;background:#ffffffb8;border:1px solid #ecdef6;border-radius:15px}
.shell .result-box h3,.shell .participant-card h2{color:#6b3e83;margin:0 0 7px}
.shell .result-box p{color:#45365d;line-height:1.6}
.shell .result-box .radar-panel{background:linear-gradient(140deg,#f1f5ff,#fff3fb);border-radius:13px}
.shell .celebrity-card .result-box a{display:inline-block;margin-top:8px}
.shell .participant-card summary{color:#4a5991}
.shell .celebrity-card .photo-credit{margin:5px auto;color:#715f85}
.shell .interest-tag,.shell .interest-chip:is([class*="tag-tone-"]){display:inline-flex;align-items:center;border:1px solid var(--tag-border);border-radius:12px;background:var(--tag-bg);color:var(--tag-ink);padding:6px 11px;font-size:.875rem;line-height:1.4;font-weight:650}
.shell .tag-tone-0{--tag-bg:#fde8f1;--tag-border:#f5cde0;--tag-ink:#883a61}
.shell .tag-tone-1{--tag-bg:#e5f5df;--tag-border:#cce8bf;--tag-ink:#356337}
.shell .tag-tone-2{--tag-bg:#e8edff;--tag-border:#d4ddff;--tag-ink:#405981}
.shell .tag-tone-3{--tag-bg:#f0e6fa;--tag-border:#e1d0f3;--tag-ink:#6b4388}
.shell .tag-tone-4{--tag-bg:#fff0dd;--tag-border:#f3ddbc;--tag-ink:#79501f}
.shell .tag-tone-5{--tag-bg:#e1f4f5;--tag-border:#c9e8eb;--tag-ink:#295f67}
.shell .tag-tone-6{--tag-bg:#f7eedf;--tag-border:#ebdeca;--tag-ink:#695131}
.shell .tag-tone-other{--tag-bg:#f2edf8;--tag-border:#e5dbef;--tag-ink:#675578}
.shell .interest-chip:is([class*="tag-tone-"])[aria-pressed=true]{border-color:var(--tag-ink);box-shadow:0 0 0 1px var(--tag-ink)}
.shell .name-card .note,.shell .celebrity-card .result-box .note{text-align:left}
.shell .profile-private-choice{margin:auto auto 0;padding-top:28px;text-align:center}
.shell .profile-private-choice p{margin:0 0 12px;color:#786187}
.shell .profile-private-choice .hide-quiz-profile{padding:0 0 4px}
.shell .celebrity-header :is(.celebrity-photo,.initial-avatar){width:clamp(112px,30vw,148px);max-width:100%;margin-bottom:12px}
.shell .celebrity-header .initial-avatar{aspect-ratio:1}
.shell .celebrity-persona{display:grid;grid-template-columns:minmax(84px,42%) minmax(0,1fr);align-items:center;gap:12px;text-align:left}
.shell .celebrity-persona .participant-art{height:clamp(105px,28vw,156px);object-position:left center;margin:6px 0}
.shell .celebrity-persona .persona-code{font-weight:750;color:#475eac;letter-spacing:.05em}
.shell .celebrity-persona .persona-name{margin-top:13px;color:#863e73;font-weight:750}
.shell .participant-card details+details{margin-top:9px}
.shell .done .business-contact{font-size:.86rem;margin:14px 0 0}
.shell .business-contact a{color:#674783;overflow-wrap:anywhere}
.shell .match-reasons>section{padding:12px 0}
.shell .match-reasons>section+section{border-top:1px solid #eaddf2}
.shell .match-reasons h4{margin:0 0 5px;color:#455d9d}
.shell .match-reasons>section:first-of-type h4{color:#984769}
.shell .match-reasons>section:last-child h4{color:#8c4475}
.shell .match-reasons p{margin:0}
.shell .match-reasons :is(h4,p){font-size:inherit}
.shell .match-reasons .interest-tags{margin-top:6px}
.shell .participant-card .celebrity-persona{margin-top:10px}
.shell .participant-card details[open] summary{padding-bottom:10px;border-bottom:1px solid #eaddf2}
.shell .radar .radar-match{fill:#b82b6d;font-weight:750}
.shell .page-goals>.title{margin-bottom:10px}
.shell .page-goals>.description{margin:0 auto 14px}
.shell .goal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.shell .goal-grid .choice{height:100%;min-height:56px;margin:0;padding:9px;gap:6px;font-size:clamp(.81rem,3.45vw,.95rem);line-height:1.35}
.shell .goal-grid .choice .label{min-width:0;text-wrap:balance}
.shell .goal-grid .goal-ending{white-space:nowrap}
.shell .goal-grid .choice .icon,.shell .goal-grid .choice .check{flex:none;font-size:.91rem}
.shell .goal-grid .choice .check{margin-left:auto}
.shell .birth-fields .birth-picker{display:block;appearance:none;text-align:center;text-align-last:center;min-height:48px;padding:10px 28px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%236f50aa' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center}
.shell .axes .axis .pin{position:absolute;top:50%;transform:translate(-50%,-50%);box-sizing:border-box}
.shell .body .chapter-art,.shell .body .story-art{width:auto;max-width:100%;height:auto;max-height:min(44svh,380px);margin-left:auto;margin-right:auto;border-radius:20px}
.shell .body .story-art{max-height:min(43cqw,230px)}

.shell .self-report {padding:clamp(14px,4cqw,24px)}
.shell .self-report-detail::before {content:"";display:block;width:32px;height:1px;margin:0 auto 10px;background:#dfd3ee}
.shell .self-report>.prompt {margin:18px 0 8px}
.shell .self-report>.radar-panel {background:linear-gradient(140deg,#f1f5ff,#fff3fb)}
.shell .report-money {margin:0}
.shell .report-money>div {display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 14px;padding:9px 0;border-top:1px solid #ede4f5}
.shell .report-money dt {font-weight:650}
.shell .report-money dd {margin:0;color:#60547b}

.shell .body.page-age .portrait img {
  height:clamp(128px,55cqw,255px);
  object-position:center;
  padding:5px;
}
@media (max-height:650px) and (orientation:landscape) {
  .shell .body.page-age .portrait img {height:clamp(118px,36svh,200px)}
}
.shell .match-score {color:#974676;font-weight:750}
.shell .participant-card summary span {float:none;margin-inline-start:8px;white-space:nowrap}
