body[data-diagnosis=mbti] .diagnosis-wrap{max-width:960px}
body[data-diagnosis=mbti] .diagnosis-intro{min-height:0;padding-inline-end:180px}
body[data-diagnosis=mbti] .diagnosis-intro .character-title{max-height:135px}
.mbti-start h2{font-size:28px;margin:12px 0}.mbti-start .primary{margin:25px 0 18px;width:100%}
.mbti-progress{display:flex;align-items:center;flex-wrap:wrap;gap:4px 18px;border-bottom:1px solid #eadce1;padding-bottom:8px}.mbti-progress h2{font-size:18px;margin:0}.mbti-progress span{font-size:12px;margin-inline-start:auto;color:#70565f}.mbti-progress progress{flex-basis:100%;margin:12px 0}
.mbti-question{border:0;border-bottom:1px solid #eadce1;margin:0;padding:32px 0}.mbti-question legend{float:left;width:100%;font-size:18px;font-weight:800;line-height:1.75;margin-bottom:18px}.mbti-question legend+*{clear:both}.mbti-qnumber{display:inline-block;font-size:12px;color:#9a3b62;background:#fbe5ee;border-radius:30px;padding:1px 9px;margin-inline-end:10px;vertical-align:middle}
.mbti-scale-labels{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#795064;margin-bottom:6px}.mbti-scale{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;max-width:610px;margin:auto;direction:ltr}.mbti-choice{position:relative;display:grid;place-items:center;min-height:54px;cursor:pointer}.mbti-choice input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.mbti-choice-dot{display:grid;place-items:center;border:2px solid #cc93aa;color:#805768;border-radius:50%;width:34px;height:34px;font-size:11px;background:#fff}.mbti-choice.degree-1 .mbti-choice-dot{width:38px;height:38px}.mbti-choice.degree-2 .mbti-choice-dot{width:43px;height:43px}.mbti-choice.degree-3 .mbti-choice-dot{width:48px;height:48px}.mbti-choice input:checked+.mbti-choice-dot{background:#a62b59;color:#fff;border-color:#7f1940;box-shadow:0 0 0 4px #f8d8e5}.mbti-choice input:focus-visible+.mbti-choice-dot{outline:3px solid #007e97;outline-offset:5px}.mbti-choice:hover .mbti-choice-dot{border-color:#96274f}
.mbti-page-nav{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:22px}.mbti-page-nav>button{min-height:48px;padding:10px 18px;border:1px solid #bd94a4;background:white;border-radius:10px}.mbti-page-nav>.primary{background:#ffe36f;border:2px solid #3d2b30}.mbti-page-nav>button:disabled{opacity:.5}.mbti-review fieldset{border:0;margin:25px 0;padding:0}.mbti-review legend{font-size:17px;font-weight:800;margin-bottom:12px}.mbti-tie-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mbti-tie-options label{display:flex;align-items:center;gap:9px;border:2px solid #dfc3ce;border-radius:12px;padding:15px;cursor:pointer}.mbti-tie-options label:has(input:checked){background:#fce2ec;border-color:#a62b59}.mbti-tie-options input{accent-color:#a62b59;width:20px;height:20px;flex:none}
.mbti-result-hero{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:18px;align-items:center;overflow:hidden}.mbti-result-hero .type-code{color:#a62b59;margin:12px 0;font-size:82px}.mbti-result-hero h3{font-size:24px;line-height:1.5;margin:12px 0}.mbti-result-title{font-size:17px;font-weight:800;color:#a62b59}.mbti-person{display:block;max-width:100%;object-fit:contain;height:auto}.mbti-person-result{width:250px;height:375px;justify-self:center}.mbti-result-hero>div{min-width:0;overflow-wrap:anywhere}
.mbti-axis-panel h3{font-size:23px;margin-top:0}.mbti-axis{margin:24px 0}.mbti-axis h4{margin:0 0 7px}.mbti-axis-ends{display:flex;justify-content:space-between;direction:ltr;font-size:14px;font-weight:800}.mbti-axis meter{height:22px;display:block}.mbti-axis meter::-webkit-meter-bar{background:#d7eced;border:0;border-radius:20px}.mbti-axis meter::-webkit-meter-optimum-value{background:#e578a0}.mbti-axis small{display:block;color:#765667;font-size:12px;margin-top:6px}
.mbti-toc{display:flex;gap:9px;flex-wrap:wrap;margin:30px 0 20px}.mbti-toc a{font-size:13px;background:#fff7e9;padding:9px 14px;border:1px solid #5f3948;border-radius:30px;text-decoration:none;min-height:44px}.mbti-detail{scroll-margin-top:20px}.mbti-detail h3{font-size:22px;margin:0 0 15px;color:#9f2c58}.mbti-detail p{font-size:16px;line-height:2;overflow-wrap:anywhere}.mbti-detail:last-child{background:#fff0b6}
.mbti-gallery{background:#fffdf8;border:2px solid #3d2b30;border-radius:18px;padding:16px 22px;margin:30px 0}.mbti-gallery>summary{font-size:19px}.mbti-type-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.mbti-type-grid button{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;background:#f8eaf0;border:1px solid #d6a7ba;border-radius:12px;padding:12px 8px;font-size:12px;overflow-wrap:anywhere}.mbti-type-grid button b{font-size:19px;color:#9f2c58}.mbti-person-card{height:185px;width:125px;object-fit:contain}.mbti-translation{color:#fff;font-size:11px;margin:20px 4px}
.mbti-profile-dialog{width:min(640px,calc(100% - 32px));max-height:85vh;border:2px solid #3d2b30;border-radius:20px;background:#fffdf8;color:#3d2b30;padding:26px;font:inherit}.mbti-profile-dialog::backdrop{background:#34212cc4}.mbti-profile-dialog .mbti-person{float:right;width:160px;height:245px;margin:0 0 20px 15px}.mbti-dialog-close{display:block;margin-bottom:20px;min-height:44px;border:1px solid #bd94a4;border-radius:8px;background:white;padding:8px 15px}.mbti-profile-dialog h2{color:#a62b59;font-size:38px}.mbti-profile-dialog p{line-height:1.9}
@media(max-width:600px){body[data-diagnosis=mbti] .diagnosis-wrap{padding-inline:12px}body[data-diagnosis=mbti] .diagnosis-intro{padding-inline-end:95px}body[data-diagnosis=mbti] .diagnosis-intro .character-title{width:90px;max-height:105px}.mbti-question-page{padding:20px 14px}.mbti-question{padding:28px 0}.mbti-question legend{font-size:17px}.mbti-scale{gap:0}.mbti-choice{min-height:52px}.mbti-choice-dot{width:26px;height:26px}.mbti-choice.degree-1 .mbti-choice-dot{width:29px;height:29px}.mbti-choice.degree-2 .mbti-choice-dot{width:34px;height:34px}.mbti-choice.degree-3 .mbti-choice-dot{width:38px;height:38px}.mbti-result-hero{grid-template-columns:minmax(0,1fr) 125px;padding:23px 17px;gap:8px}.mbti-result-hero .type-code{font-size:49px}.mbti-result-hero h3{font-size:19px}.mbti-result-hero p{font-size:13px}.mbti-person-result{width:125px;height:230px}.mbti-result-title{font-size:15px}.mbti-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mbti-person-card{height:165px;width:110px}.mbti-tie-options{grid-template-columns:1fr}.mbti-page-nav{gap:8px}.mbti-page-nav>button{padding:10px 12px;font-size:14px}.mbti-progress h2{font-size:16px}.mbti-progress span{font-size:11px}.mbti-detail p{font-size:15px}.mbti-detail h3{font-size:20px}.mbti-toc a{font-size:12px}.mbti-profile-dialog .mbti-person{width:110px;height:180px}}
@media(max-width:350px){.mbti-result-hero{grid-template-columns:minmax(0,1fr) 100px}.mbti-person-result{width:100px}.mbti-result-hero .type-code{font-size:42px}.mbti-choice.degree-3 .mbti-choice-dot{width:34px;height:34px}}

.mbti-scale-labels{direction:ltr}.mbti-character{object-fit:contain;max-width:100%;height:auto}.mbti-character-result{width:320px;max-height:480px;justify-self:center}.mbti-character-card{width:180px;height:220px}.mbti-profile-dialog .mbti-character{float:inline-end;width:220px}.mbti-question legend{overflow-wrap:anywhere}

body[data-diagnosis=mbti] .diagnosis-intro{position:relative;min-height:150px;padding-inline-end:140px}body[data-diagnosis=mbti] .diagnosis-intro .mbti-character-title{position:absolute;inset-inline-end:0;top:0;width:110px;height:150px}body[data-diagnosis=mbti] .diagnosis-intro.compact{min-height:0;padding-inline-end:0}body[data-diagnosis=mbti] .diagnosis-intro.compact .mbti-character-title{display:none}@media(max-width:600px){body[data-diagnosis=mbti] .diagnosis-intro{padding-inline-end:100px}.diagnosis-intro .mbti-character-title{max-width:95px}.mbti-character-result{max-height:260px}.mbti-character-card{height:180px}.mbti-profile-dialog .mbti-character{width:110px}}
