@charset "UTF-8";

:root{
  --paper:#f7f4fb;
  --ink:#29223b;
  --muted:#70667e;
  --purple:#6b4a97;
  --line:#e2dbe9;
  --white:#fffefa;
  --lime:#e4edb8}
*{
  box-sizing:border-box}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  line-height:1.75}
button,a{
  -webkit-tap-highlight-color:transparent}
button{
  font:inherit;
  cursor:pointer}
button:disabled{
  cursor:default;
  opacity:.4}
button:focus-visible,a:focus-visible,summary:focus-visible{
  outline:3px solid #9b7427;
  outline-offset:4px}
[hidden]{
  display:none!important}
h1,h2,h3,p{
  margin:0}
h1,h2,h3{
  line-height:1.4}
h1:focus,h2:focus{
  outline:none}
.brand{
  max-width:1160px;
  margin:auto;
  padding:28px 36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:13px;
  letter-spacing:1px}
.brand a{
  color:var(--ink);
  text-decoration:none}
.brand-icon{
  display:inline-grid;
  place-items:center;
  width:30px;
  height:30px;
  background:var(--purple);
  color:white;
  border-radius:50%;
  margin-right:8px;
  font-size:23px}
.edition{
  color:var(--muted);
  font-size:11px}
main{
  max-width:1088px;
  margin:auto;
  padding:0 28px}
.intro{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  align-items:center;
  column-gap:48px;
  padding-top:34px}
.eyebrow{
  font-size:11px;
  color:var(--purple);
  letter-spacing:2px;
  font-weight:650;
  margin-bottom:18px}
h1{
  font-family:"Songti SC","STSong",serif;
  font-size:clamp(36px,4.2vw,56px);
  font-weight:600;
  letter-spacing:-1px;
  line-height:1.4}
h1 span{
  color:var(--purple);
  position:relative}
h1 span:after{
  content:"";
  position:absolute;
  bottom:-5px;
  left:0;
  width:100%;
  height:7px;
  background:var(--lime);
  border-radius:80%;
  z-index:-1}
.lead{
  font-size:15px;
  color:var(--muted);
  margin:24px 0 28px;
  line-height:1.95}
.facts{
  display:flex;
  gap:0;
  font-size:11px;
  margin-bottom:24px;
  color:#62556e}
.facts span+span:before{
  content:"·";
  margin:0 10px;
  color:#a197ab}
.primary{
  border:0;
  background:var(--purple);
  color:#fff;
  border-radius:12px;
  padding:15px 24px;
  font-weight:600;
  font-size:14px;
  transition:background .15s,transform .15s}
.primary:hover:not(:disabled){
  background:#573a7c;
  transform:translateY(-1px)}
#start{
  width:100%;
  max-width:350px;
  display:flex;
  justify-content:space-between;
  align-items:center}
#start span{
  font-size:22px}
.micro{
  font-size:11px;
  color:var(--muted);
  line-height:1.8;
  margin-top:12px}
.hero-art{
  position:relative}
.hero-art img{
  width:100%;
  height:auto;
  display:block}
.art-caption{
  display:flex;
  justify-content:space-between;
  font-size:10px;
  color:var(--muted);
  margin-top:18px}
.art-caption span:first-child{
  font-size:9px;
  letter-spacing:2px}
.intro-bottom{
  grid-column:1/-1;
  border-top:1px solid var(--line);
  margin-top:45px;
  padding:25px 0;
  display:flex;
  gap:50px;
  justify-content:space-between;
  align-items:start}
.intro-bottom>span{
  font-family:"Songti SC",serif;
  font-size:17px;
  white-space:nowrap}
.intro-bottom p{
  max-width:460px;
  font-size:11px;
  color:var(--muted)}
footer{
  max-width:1088px;
  margin:32px auto 0;
  text-align:center;
  font-size:10px;
  letter-spacing:1px;
  color:var(--muted);
  padding:20px 24px 30px}
footer span{
  padding:0 8px}
.quiz{
  max-width:700px;
  margin:20px auto}
.quiz-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:12px;
  color:var(--muted)}
.text-button{
  border:0;
  background:none;
  color:var(--purple);
  padding:10px 0;
  font-size:13px}
.progress{
  height:4px;
  background:var(--line);
  border-radius:5px;
  margin:12px 0 30px;
  overflow:hidden}
.progress span{
  display:block;
  background:var(--purple);
  height:100%;
  transition:width .25s}
.question-card{
  padding:38px 40px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:22px;
  position:relative}
.question-card .eyebrow{
  margin-bottom:20px}
.question-mark{
  position:absolute;
  right:35px;
  top:22px;
  font-size:35px;
  color:#c4b4d9}
.question-card h2{
  font-family:"Songti SC",serif;
  font-size:27px;
  padding-right:8px}
.context{
  font-size:13px;
  color:var(--muted);
  margin:15px 0 25px;
  line-height:1.9}
.options{
  display:grid;
  gap:12px}
.option{
  display:flex;
  align-items:center;
  gap:16px;
  text-align:left;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px 18px;
  color:var(--ink);
  font-size:14px;
  line-height:1.8;
  min-height:65px;
  transition:background .15s,border .15s}
.option:hover{
  border-color:#9f8bb9;
  background:#faf7ff}
.option[aria-pressed=true]{
  border:2px solid var(--purple);
  padding:15px 17px;
  background:#f0eaf9}
.option-letter{
  font-size:12px;
  flex:0 0 27px;
  height:27px;
  border:1px solid var(--line);
  border-radius:8px;
  display:grid;
  place-items:center;
  color:var(--purple);
  background:#fff}
.option[aria-pressed=true] .option-letter{
  background:var(--purple);
  color:white;
  border-color:var(--purple)}
.question-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:28px;
  gap:15px}
.question-footer>span{
  font-size:11px;
  color:var(--muted)}
.question-footer .primary{
  padding:11px 22px;
  white-space:nowrap}
.center{
  text-align:center}
.result{
  max-width:820px;
  margin:30px auto}
.result-header{
  text-align:center;
  margin-bottom:28px}
.result-header .eyebrow{
  margin-bottom:10px}
.result-header h2{
  font-family:"Songti SC",serif;
  font-size:32px}
.result-header>p:last-child{
  font-size:13px;
  color:var(--muted);
  margin-top:12px}
.identity-card{
  position:relative;
  overflow:hidden;
  max-width:520px;
  margin:0 auto 30px;
  padding:28px 34px 22px;
  background:linear-gradient(145deg,#e9dff6,#faf4e8 70%,#e8eecf);
  border:1px solid #cdbddd;
  border-radius:22px;
  text-align:center;
  box-shadow:0 14px 40px #4a316912}
.identity-card:before{
  content:"";
  position:absolute;
  inset:70px 65px 80px;
  border:1px solid #a68fbd55;
  border-radius:180px 180px 12px 12px;
  pointer-events:none}
.identity-meta,.identity-bottom{
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:9px;
  color:#766388;
  letter-spacing:1px;
  position:relative}
.role-symbol{
  font-size:55px;
  color:var(--purple);
  height:100px;
  display:grid;
  place-items:center;
  margin-top:18px}
#role-kicker{
  font-size:12px;
  color:#756087;
  letter-spacing:3px}
#role-name{
  font-size:38px;
  font-family:"Songti SC",serif;
  font-weight:600;
  margin:12px 0 14px;
  position:relative}
#role-line{
  font-size:14px;
  position:relative;
  max-width:340px;
  margin:auto;
  line-height:1.9}
.tags{
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin:24px 0 36px;
  position:relative}
.tags span{
  font-size:10px;
  padding:3px 12px;
  border:1px solid #bba7cd;
  border-radius:30px;
  background:#ffffff66}
.identity-bottom{
  border-top:1px solid #b9a5cc66;
  padding-top:14px;
  font-size:9px}
.result-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px}
.panel{
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--white);
  padding:28px;
  margin-bottom:18px}
.panel .eyebrow{
  font-size:10px;
  margin-bottom:14px}
.panel h3{
  font-size:20px;
  font-family:"Songti SC",serif;
  margin-bottom:14px}
.panel p:not(.eyebrow):not(.micro){
  font-size:13px;
  color:#5d526c;
  line-height:1.95}
.dimensions{
  display:grid;
  gap:12px;
  margin-top:24px}
.dim-label{
  display:flex;
  justify-content:space-between;
  font-size:11px;
  margin-bottom:4px}
.dim-bar{
  height:6px;
  border-radius:8px;
  background:#eee7f3;
  overflow:hidden}
.dim-bar span{
  display:block;
  height:100%;
  border-radius:8px;
  background:#9478b3}
.aside{
  background:#f3eef9;
  padding:17px;
  border-radius:12px;
  margin-top:24px}
.aside>span{
  display:block;
  font-size:11px;
  color:var(--purple);
  margin-bottom:7px}
.evidence-item{
  padding:18px 0;
  border-bottom:1px solid var(--line)}
.evidence-item:last-child{
  border:0;
  padding-bottom:0}
.evidence-item small{
  font-size:10px;
  color:var(--purple)}
.evidence-item blockquote{
  margin:8px 0 10px;
  padding-left:13px;
  border-left:3px solid #d6c5e6;
  font-size:13px;
  font-weight:600}
.ending-panel{
  background:#edf0df}
.method{
  font-size:12px;
  color:var(--muted);
  padding:12px 8px}
.method summary{
  cursor:pointer;
  color:var(--purple)}
.method p{
  margin:12px 0}
.result-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:28px}
.secondary{
  border:1px solid #b4a2ca;
  background:transparent;
  color:var(--purple);
  padding:13px 22px;
  border-radius:12px;
  font-size:14px}
.status{
  font-size:12px;
  text-align:center;
  color:var(--purple);
  margin-top:14px;
  min-height:22px}
textarea{
  width:100%;
  min-height:170px;
  padding:15px;
  border:1px solid var(--line);
  border-radius:10px;
  font:inherit;
  font-size:13px}

@media(max-width:720px){
  .brand{
  padding:20px 22px;
  font-size:11px}
.edition{
  font-size:9px;
  letter-spacing:0}
main{
  padding:0 20px}
.intro{
  grid-template-columns:1fr;
  gap:0;
  padding-top:20px}
.intro-copy{
  position:relative;
  z-index:1}
h1{
  font-size:39px;
  line-height:1.35}
.lead{
  font-size:13px;
  margin:20px 0}
.eyebrow{
  font-size:10px}
.facts{
  font-size:10px;
  margin-bottom:18px}
#start{
  max-width:none}
.intro-copy .micro{
  font-size:10px}
.hero-art{
  max-width:360px;
  margin:28px auto 0;
  width:100%}
.hero-art img{
  max-height:360px;
  object-fit:contain}
.art-caption{
  margin:12px 10px 0;
  font-size:9px}
.intro-bottom{
  margin-top:26px;
  display:block;
  padding:20px 0 0}
.intro-bottom>span{
  font-size:16px;
  white-space:normal}
.intro-bottom p{
  margin-top:12px;
  font-size:10px}
footer{
  font-size:9px;
  margin-top:15px;
  letter-spacing:0}
.quiz{
  margin-top:8px}
.progress{
  margin-bottom:20px}
.question-card{
  padding:26px 20px;
  border-radius:18px}
.question-card h2{
  font-size:23px}
.question-mark{
  right:20px;
  top:15px;
  font-size:29px}
.context{
  font-size:12px;
  margin-bottom:22px}
.option{
  font-size:13px;
  padding:14px 12px;
  gap:12px}
.option[aria-pressed=true]{
  padding:13px 11px}
.question-footer{
  margin-top:24px}
.question-footer>span{
  font-size:10px}
.question-footer .primary{
  font-size:12px;
  padding:11px 16px}
.result{
  margin-top:20px}
.result-header h2{
  font-size:27px}
.result-grid{
  grid-template-columns:1fr;
  gap:0}
.identity-card{
  padding:22px 22px 18px}
.identity-card:before{
  inset:60px 35px 70px}
#role-name{
  font-size:34px}
.identity-meta{
  font-size:8px;
  letter-spacing:.5px}
.panel{
  padding:24px 22px}
.identity-bottom{
  font-size:8px;
  letter-spacing:0}
.result-actions{
  gap:12px}
.result-actions .primary,.secondary{
  font-size:13px;
  padding:13px 18px}
.result-actions .text-button{
  flex-basis:100%}
.result-header>p:last-child{
  font-size:12px}
}

#saved-card{
  max-width:420px;
  margin:24px auto;
  text-align:center}
#saved-image{
  display:block;
  width:100%;
  height:auto;
  border-radius:16px;
  margin-bottom:24px}
#saved-link{
  display:inline-block;
  text-decoration:none}

.identity-card.illustrated{padding:0;aspect-ratio:3/4;max-width:520px;border-radius:22px;border:1px solid #beabc9;background:#302342;color:#fff9ed;box-shadow:0 18px 60px #32204430;isolation:isolate}
.illustrated .character-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.identity-card.illustrated:before{inset:12px;border:1px solid #f9e4bc99;border-radius:12px;z-index:3}
.identity-card.illustrated:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#21162c55 0%,transparent 25%,transparent 45%,#21162c99 68%,#21162cf5 100%)}
.illustrated .identity-meta{position:absolute;top:27px;left:27px;right:27px;color:#fff3db;font-size:9px}
.identity-content{position:absolute;bottom:23px;left:30px;right:30px}
.role-english{font-size:10px;letter-spacing:3px;color:#f1d4a7;margin-bottom:8px}
.illustrated #role-kicker{font-size:10px;color:#efdbf5;letter-spacing:2px}
.illustrated #role-name{font-size:39px;margin:8px 0;color:#fff8eb;text-shadow:0 2px 15px #23142b55}
.illustrated #role-line{font-size:12px;max-width:360px;color:#fff3e8}
.illustrated .tags{margin:15px 0 18px;gap:7px}
.illustrated .tags span{background:#ffffff12;border-color:#eddbbf55;color:#f1e4ee;font-size:9px;padding:2px 10px}
.illustrated .identity-bottom{color:#d5c1dd;border-color:#eddbbf44;font-size:8px;padding-top:12px}
.save-studio{max-width:620px;margin:0 auto 32px;padding:27px;background:#eee7f5;border:1px solid #ded0e9;border-radius:18px;text-align:center}
.save-studio .eyebrow{margin-bottom:8px}.save-studio h3{font-family:"Songti SC",serif;font-size:22px;margin-bottom:10px}.save-studio>div>p:not(.eyebrow){font-size:12px;color:var(--muted);line-height:1.9}
.format-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:20px 0}
.format{padding:12px 4px;border:1px solid #d1c1de;border-radius:10px;background:#f9f6fc;color:var(--ink);font-size:12px}
.format span{display:block;font-size:9px;color:var(--muted);margin-top:3px}.format.active{border-color:var(--purple);background:#e1d4ef;box-shadow:inset 0 0 0 1px var(--purple)}
.save-studio #save{width:100%}.save-studio #saved-card{max-width:330px}.save-studio #saved-image{border-radius:10px}
@media(max-width:720px){.identity-card.illustrated{border-radius:16px}.illustrated .identity-meta{top:23px;left:23px;right:23px;font-size:8px;letter-spacing:0}.identity-content{bottom:22px;left:23px;right:23px}.illustrated #role-name{font-size:31px}.illustrated #role-line{font-size:11px}.illustrated .tags{margin:10px 0 14px}.illustrated .identity-bottom{font-size:7px}.role-english{font-size:8px;letter-spacing:2px;margin-bottom:5px}.save-studio{padding:22px 17px}.save-studio h3{font-size:20px}.format{font-size:11px}}
@media(prefers-reduced-motion:reduce){
  *{
  transition:none!important;
  scroll-behavior:auto!important}
}
