@charset "UTF-8";
:root{--paper:#fff3f6;--ink:#1c1416;--body:#61464e;--rose:#b13b59;--rose-bright:#c04558;--pink:#ffb3c1;--sin:#9f9993;--serif:"Noto Serif SC","Source Han Serif SC","Songti SC","STSong","SimSun",serif;--sans:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}
html{font-size:16px;-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;min-width:280px;min-height:100svh;font-family:var(--sans);color:var(--ink);background:linear-gradient(165deg,#fff5f7 0%,#ffe8ee 55%,#f5d0d8 100%);-webkit-font-smoothing:antialiased}
button,a,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button{font:inherit;cursor:pointer}
button:disabled{cursor:default;opacity:.42}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #bd6b85;outline-offset:4px}
a{color:inherit}
button,summary{-webkit-user-select:none;user-select:none}
.page{width:100%;max-width:568px;margin:0 auto;padding:30px 24px 44px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:14px 20px;border:1px solid transparent;border-radius:2px;font-size:17px;line-height:1.5;font-weight:750;text-align:center;text-decoration:none;letter-spacing:.08em;transition:background .18s,border-color .18s,transform .18s}
.primary{background:var(--ink);color:#fff5f7}
.primary:hover:not(:disabled){background:#38252b}
.secondary{background:transparent;color:#61464e;border-color:#d9c8ce}
.secondary:hover:not(:disabled){background:#fff8fa}
.quiet{border:0;background:transparent;color:#876c75;font-size:14px;line-height:1.6;font-weight:600;padding:8px}
.hint{font-size:13px;line-height:1.85;color:#957780;text-align:center;margin:17px 0 0}

/* Opening: the two sides share one quiet, rose-coloured page. */
.home{max-width:500px;min-height:100svh;padding-top:44px;background:radial-gradient(ellipse 105% 42% at 50% 0%,#ffb3c126,transparent 72%)}
.home-hero{text-align:center}
.kicker{margin:0 0 19px;font:600 13px/1.8 var(--serif);letter-spacing:.17em;color:#a35e70;text-align:center}
.home h1{margin:0;font:900 clamp(35px,10vw,47px)/1.27 var(--serif);letter-spacing:.035em}
.home h1 span{display:block}
.home h1 .versus{font-family:Georgia,var(--serif);font-size:.85em;line-height:1.28;letter-spacing:.06em}
.split-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);position:relative;margin:30px 0 21px;text-align:center}
.split-intro:after{content:"";position:absolute;width:1px;left:50%;top:10px;bottom:10px;background:linear-gradient(transparent,#a57b845c,transparent)}
.split-intro>div{min-width:0;padding:14px 8px}
.split-intro span{display:block;font-size:12px;line-height:1.7;letter-spacing:.12em;color:#9a7f86}
.split-intro strong{display:block;margin-top:7px;font:800 25px/1.45 var(--serif)}
.split-intro .virtue strong{color:var(--rose)}
.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 18px}
.stats-grid>div{min-width:0;min-height:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:13px 6px;background:#ffffffb8;border:1px solid #8b4a5b0b}
.stats-grid span{font-size:12px;line-height:1.65;color:#97727d}
.stats-grid strong{font-size:15px;font-weight:800;line-height:1.5;margin-top:6px;text-wrap:balance}
.intro-copy{font-size:16px;font-weight:600;line-height:1.95;color:var(--body);padding:19px 18px;background:#ffffff94;border:1px solid #8b4a5b0a;margin:0;text-align:justify}
.home .start-button{display:flex;width:100%;margin-top:25px;min-height:57px;font-size:18px;letter-spacing:.15em}
.duration{font-size:12px;font-weight:500;line-height:1.8;color:#9b7c85;text-align:center;margin:13px 0 0}
.more{margin-top:23px}
.more summary{padding:10px 12px;cursor:pointer;list-style:none;text-align:center;color:#a05870;font-size:15px;line-height:1.8;font-weight:750;letter-spacing:.06em}
.more summary::-webkit-details-marker{display:none}
.more summary:after{content:"⌄";display:inline-block;margin-left:10px;font-size:17px;transition:transform .18s}
.more[open] summary:after{transform:rotate(180deg)}
.more p{margin:9px 0 0;background:#ffffff94;padding:18px;font-size:15px;font-weight:600;line-height:1.9;color:var(--body)}
.notice{margin:23px 0 0;padding:15px 16px;background:#b13b5909;color:#89616e;font-size:13px;font-weight:500;line-height:1.85}
.notice strong,.notice b{color:#ad4764;font-weight:800}

/* Questionnaire: five graduated circles, or two rectangular choices. */
.quiz{min-height:100svh;padding-top:25px;background:linear-gradient(180deg,#fff9fb,#fff0f5)}
.quiz-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;min-height:26px}
.quiz-top .quiet{margin-left:-8px}
.quiz-top>span,.quiz-top>p{font-size:12px;font-weight:600;color:#9b7c85;margin:0}
.progress{height:3px;background:#3b20290d;overflow:hidden;margin:0 0 12px}
.progress>span{display:block;height:100%;background:var(--rose);transition:width .3s ease}
.question-meta{display:flex;justify-content:space-between;gap:10px;font-size:12px;font-weight:600;line-height:1.8;color:#a26f80;letter-spacing:.08em;margin:0 0 26px}
.question-meta strong{font-size:14px;font-weight:750;white-space:nowrap}
.question-title{font:800 clamp(22px,5.8vw,28px)/1.6 var(--serif);color:var(--ink);margin:0 0 34px;text-wrap:pretty;overflow-wrap:break-word}
.scale-options{display:flex;justify-content:space-between;align-items:center;gap:5px;position:relative;margin:34px 0 9px;padding:12px 0}
.scale-options:before{content:"";position:absolute;left:8%;right:8%;top:50%;height:1px;transform:translateY(-50%);background:linear-gradient(90deg,#8f62691a,#c0455833,#8f62691a);pointer-events:none}
.scale-button{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:56px;min-width:44px;height:58px;border:0;padding:0;background:transparent;color:var(--rose);flex-shrink:0}
.scale-button .circle{display:block;width:30px;height:30px;background:#fffdfd;border:2px solid #ccc5c7;border-radius:50%;box-shadow:0 2px 7px #45222f0b;transition:background .18s,border-color .18s,box-shadow .18s}
.scale-button:nth-child(1) .circle,.scale-button:nth-child(5) .circle{width:52px;height:52px}
.scale-button:nth-child(2) .circle,.scale-button:nth-child(4) .circle{width:39px;height:39px}
.scale-button.selected .circle,.scale-button[aria-checked="true"] .circle{background:var(--rose);border-color:var(--rose);box-shadow:0 0 0 4px #b13b591a,0 4px 10px #b13b5926}
.scale-button:hover:not(:disabled) .circle{border-color:var(--rose)}
.scale-labels{display:flex;justify-content:space-between;gap:12px;font-size:13px;font-weight:600;line-height:1.7;color:#a07583;margin:0 0 8px}
.scale-labels>:last-child{color:var(--rose);font-weight:750;text-align:right}
.choice-options{display:flex;flex-direction:column;gap:14px;margin:0}
.choice-button{display:block;width:100%;padding:18px;border:1.5px solid #6b414b18;background:#ffffffbf;color:var(--ink);text-align:left;font-size:16px;line-height:1.85;font-weight:600;border-radius:1px;overflow-wrap:break-word;transition:background .18s,border-color .18s}
.choice-button.selected,.choice-button[aria-checked="true"]{color:#a93254;border-color:#b13b59;background:#b13b5910;font-weight:750}
.choice-button:hover:not(:disabled){border-color:#b87b90}
.quiz-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:29px}
.quiz-nav>button{width:100%;min-width:0;font-size:16px;font-weight:750;min-height:51px}

/* Spectrum: graphite on the left, rose on the right. */
body.report-mode{background:#1c1416;color:#fff5f7}
.report{max-width:568px;padding-top:32px;padding-bottom:48px}
.report-header{text-align:center;margin-bottom:27px}
.report-header h1 span{display:block}
.balance-box .balance-number{display:block;font-size:30px;line-height:1.2;margin-bottom:9px}
.balance-box>span{display:block;font-size:13px;line-height:1.7;color:#c6acb6}
.report-header .kicker{color:#e8a0ab;font-size:16px;letter-spacing:.13em;margin:2px 0 15px}
.report-header h1,.report-header h2{font:900 clamp(27px,7.3vw,35px)/1.4 var(--serif);letter-spacing:.015em;margin:0;text-wrap:balance;color:#fff5f7}
.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}
.leader-card{min-width:0;padding:22px 10px;text-align:center;border:1px solid #fff5f72e}
.leader-card.sin{background:#ffffff0a}
.leader-card.virtue{background:#c0455836;border-color:#e8a0ab59}
.leader-label{font-size:12px;line-height:1.7;font-weight:600;color:#b8a9ad;letter-spacing:.08em;margin:0 0 9px}
.leader-name{display:block;font:900 clamp(29px,8.2vw,39px)/1.35 var(--serif);color:#fff5f7;margin:0;overflow-wrap:break-word}
.virtue .leader-name{color:#ffb3c1}
.leader-score{font-size:15px;font-weight:600;line-height:1.6;color:#c6b4ba;margin:8px 0 0}
.leader-score strong{font-size:23px;font-weight:850;font-variant-numeric:tabular-nums;color:#e8dedf}
.virtue .leader-score strong{color:#ffc1cd}
.balance-box{text-align:center;font-size:14px;font-weight:600;line-height:1.9;color:#c1aeb5;margin:0 0 27px;padding:2px 8px;text-wrap:balance}
.balance-number{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums;color:#ffb3c1;margin-left:5px;white-space:nowrap}
.section-header{margin:28px 0 19px;padding-top:24px;border-top:1px solid #fff5f71f}
.section-header h2,.section-header h3{font-size:20px;font-weight:800;line-height:1.6;letter-spacing:.08em;color:#e8a0ab;margin:0 0 7px}
.section-header p{font-size:14px;font-weight:600;line-height:1.85;color:#aa969e;margin:0}
.radar-area{width:100%;margin:0 auto 12px;min-width:0}
.radar-area svg{display:block;width:100%;height:auto;max-width:100%;overflow:visible}
.radar-area svg text{font-family:var(--sans);font-weight:750}
.legend{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 24px;font-size:13px;font-weight:650;line-height:1.8;color:#c4afb7;margin:12px 0 20px}
.legend>span{display:inline-flex;align-items:center;gap:7px}
.legend i{display:inline-block;width:9px;height:9px;background:#9f9993;border-radius:50%}
.legend .virtue i,.legend i.virtue{background:#c04558}
.dimension-group{margin:0 0 27px}
.group-heading{margin:0;padding:14px 16px;font-size:18px;font-weight:800;letter-spacing:.08em;line-height:1.6;background:#ffffff0c;color:#e0d5d6}
.dimension-group.virtue .group-heading,.group-heading.virtue{background:#c045582e;color:#ffb3c1}
.dimension-item{padding:23px 0;border-bottom:1px solid #fff5f712}
.dimension-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}
.dimension-top h3{font-size:20px;font-weight:800;line-height:1.5;margin:0;color:#f6edef}
.dimension-top strong{font-size:28px;font-weight:850;line-height:1.2;font-variant-numeric:tabular-nums;flex-shrink:0;color:#d4cfc8}
.dimension-group.virtue .dimension-top strong,.dimension-item.virtue .dimension-top strong{color:#ffb3c1}
.dimension-track{height:6px;background:#fff5f714;border-radius:2px;overflow:hidden;margin-bottom:15px}
.dimension-track i{display:block;height:100%;background:#9f9993;border-radius:2px}
.dimension-group.virtue .dimension-track i,.dimension-item.virtue .dimension-track i{background:#c04558}
.dimension-description{font-size:16px;font-weight:600;line-height:1.95;color:#c3b4ba;margin:0;overflow-wrap:break-word}
.explanation{padding:0;margin:0}
.explanation h2,.explanation h3{font-size:20px;font-weight:800;line-height:1.6;color:#e8a0ab;margin:0 0 13px}
.explanation p{font-size:16px;font-weight:600;line-height:1.95;color:#c3b4ba;margin:0 0 19px;overflow-wrap:break-word}
.report-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:27px}
.report-actions>*{flex:1;min-width:0;min-height:54px;font-size:16px}
.report .primary{background:#b53b59;border-color:#c04764;color:white;font-weight:800}
.report .primary:hover:not(:disabled){background:#c44c68}
.report .secondary{color:#e9bdcb;border-color:#9c63774d}
.report .secondary:hover:not(:disabled){background:#c0455812}
.report .notice{background:#c045581c;color:#d3aab7;font-size:14px;line-height:1.85;margin-top:22px}
.report .notice strong,.report .notice b{color:#ffc1cd}
.report .quiet{color:#c2a9b2}
.sample-label{padding:12px 14px;margin:0 0 25px;border:1px solid #b66d875e;background:#a7486812;color:#e4b8c8;font-size:13px;font-weight:600;line-height:1.8;text-align:center}

/* The usage notice remains a simple, readable native dialog. */
.usage-dialog,.share-dialog{width:min(440px,calc(100vw - 40px));max-width:440px;max-height:90svh;margin:auto;padding:25px 22px 22px;border:0;border-radius:13px;background:#fff;color:#333;box-shadow:0 16px 55px #0003;text-align:center;font-family:var(--sans);overflow:auto}
.usage-dialog::backdrop,.share-dialog::backdrop{background:#0008}
.usage-dialog h2,.share-dialog h2{font-size:22px;line-height:1.45;font-weight:800;margin:0 0 18px;color:#333}
.usage-dialog p,.share-dialog p{font-size:16px;font-weight:600;line-height:1.85;color:#666;margin:0 0 27px;text-wrap:pretty}
.usage-dialog button{display:block;width:100%;border:0;border-radius:6px;min-height:49px;padding:12px 18px;background:#4caf50;color:#fff;font-size:18px;font-weight:750;line-height:1.4;letter-spacing:0}
.usage-dialog button:hover{background:#419c45}
.share-dialog img{display:block;max-width:100%;max-height:65svh;object-fit:contain;margin:0 auto 20px}
.dialog-actions{display:flex;justify-content:center;gap:12px;margin-top:17px}
.dialog-actions>*{flex:1;min-width:0;padding:11px 14px;font-size:15px;line-height:1.6;border:0;border-radius:5px;background:#4caf50;color:white;font-weight:700;text-decoration:none}

@media(min-width:700px){.home{padding-top:51px;padding-bottom:48px}.home h1{font-size:47px}.quiz{padding-top:34px}.report{padding-top:42px}.leader-name{font-size:39px}.report-header h1,.report-header h2{font-size:35px}}
@media(max-width:380px){.page{padding-left:20px;padding-right:20px}.home{padding-top:35px}.stats-grid{gap:6px}.stats-grid strong{font-size:13px}.stats-grid span{font-size:11px}.intro-copy{padding:17px 15px;font-size:15px}.more p{padding:16px;font-size:15px}.question-title{font-size:23px;margin-bottom:30px}.scale-options{gap:2px}.scale-button{width:50px;min-width:44px}.scale-button:nth-child(1) .circle,.scale-button:nth-child(5) .circle{width:48px;height:48px}.scale-button:nth-child(2) .circle,.scale-button:nth-child(4) .circle{width:36px;height:36px}.scale-button:nth-child(3) .circle{width:27px;height:27px}.leader-card{padding:20px 8px}.leader-label{font-size:11px;letter-spacing:.05em}.dimension-description,.explanation p{font-size:15px}.section-header h2,.section-header h3,.explanation h2,.explanation h3{font-size:19px}.usage-dialog,.share-dialog{padding:23px 18px 20px}}
@media(max-width:335px){.home h1{font-size:35px}.kicker{font-size:11px;letter-spacing:.12em}.split-intro{margin-top:24px}.split-intro strong{font-size:23px}.stats-grid>div{padding:12px 4px;min-height:77px}.stats-grid strong{font-size:12px}.quiz-nav{gap:9px}.quiz-nav>button{padding:13px 10px;font-size:15px}.question-title{font-size:22px}.choice-button{padding:16px 14px;font-size:15px}.summary-grid{gap:10px}.leader-name{font-size:29px}.leader-score strong{font-size:22px}.balance-box{font-size:13px}.balance-number{font-size:20px}.notice{padding:13px}.report-actions{gap:10px}.report-actions>*{font-size:15px;padding:13px 10px}.usage-dialog p{font-size:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
