:root{font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif;color:#20201f;background:#f3f1eb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(circle at 50% -10%,#fff 0,#f3f1eb 46%)}button{font:inherit}.quiz-page,.result-page{width:min(100%,430px);min-height:100svh;margin:0 auto;padding:22px 18px 30px;display:flex;flex-direction:column}.quiz-header{display:flex;align-items:center;justify-content:space-between;color:#88847b;font-size:12px;letter-spacing:.08em}.brand-mark{color:#20201f;font-size:15px;font-weight:850;letter-spacing:.02em}.progress{margin:42px 0 34px}.progress-label{display:flex;justify-content:space-between;color:#8a867e;font-size:13px}.progress-track{height:4px;margin-top:12px;overflow:hidden;border-radius:99px;background:#dfdcd4}.progress-fill{height:100%;border-radius:inherit;background:#2459d3;transition:width .25s ease}.question-card{flex:1}.question-card h2{max-width:19em;margin:0 0 26px;white-space:pre-line;font-size:clamp(23px,6.2vw,29px);line-height:1.45;letter-spacing:-.025em}.options{display:grid;gap:12px}.option{display:flex;align-items:center;width:100%;min-height:70px;border:1px solid #dfdcd4;border-radius:16px;padding:14px 16px;background:#ffffffbf;color:#363431;text-align:left;line-height:1.55;cursor:pointer;transition:border-color .16s,background .16s,transform .16s}.option:hover{border-color:#a9b9df;transform:translateY(-1px)}.option span{display:inline-grid;flex:0 0 32px;place-items:center;width:32px;height:32px;margin-right:13px;border-radius:10px;background:#eeece6;font-size:13px;font-weight:800}.option.selected{border-color:#2459d3;background:#eef3ff}.option.selected span{background:#2459d3;color:#fff}.quiz-actions{display:flex;align-items:center;justify-content:space-between;min-height:46px;margin-top:24px}.back-button,.retry-button{border:0;padding:10px 0;background:none;color:#66635d;cursor:pointer}.auto-hint{margin-left:auto;color:#a09c94;font-size:12px}.result-page{width:min(100%,430px);gap:12px}.result-heading{padding:8px 4px 14px}.result-heading span{display:block;color:#2459d3;font-size:11px;font-weight:900;letter-spacing:.18em}.result-heading strong{display:block;margin-top:2px;font-size:34px;font-weight:950;letter-spacing:-.06em}.result-heading p{margin:5px 0 0;color:#77736b;font-size:13px}.character-card{position:relative;overflow:hidden;margin:0;padding:26px;border:2px solid #20201f;border-radius:28px;background-color:#fffdf8;background-image:radial-gradient(#d9d5ca 1px,transparent 1px);background-size:12px 12px;box-shadow:7px 8px #20201f,0 24px 60px #20201f1f}.character-card:before{position:absolute;z-index:0;top:110px;left:-70px;width:520px;height:270px;border-radius:50%;background:#e8efff;content:"";transform:rotate(-8deg)}.card-kicker{position:relative;z-index:1;display:flex;justify-content:space-between;color:#77736b;font-size:8px;font-weight:850;letter-spacing:.12em}.card-kicker b{color:#20201f;font-weight:900;letter-spacing:0}.result-alert{position:relative;z-index:1;display:inline-block;margin-top:18px;border:2px solid #20201f;padding:7px 10px;background:#ffdc46;font-size:12px;font-weight:950;transform:rotate(-1.5deg);box-shadow:3px 3px #20201f}.character-stage{position:relative;z-index:1;display:grid;min-height:260px;place-items:center;margin:2px 0 8px}.character-image{display:block;width:auto;max-width:100%;height:auto;max-height:330px;margin:0 auto;object-fit:contain}.character-avatar{position:relative;display:grid;place-items:center;width:190px;height:190px;margin:30px auto 22px;border:2px solid #20201f;border-radius:50%;background:#e9eefb;box-shadow:12px 12px #d5def4}.avatar-species{font-family:serif;font-size:86px;font-weight:900}.avatar-trait{position:absolute;right:1px;bottom:13px;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#2459d3;color:#fff;font-size:22px;font-weight:900}.identity-row{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;border-top:2px solid #20201f;padding-top:14px;color:#77736b;font-size:10px;font-weight:800;letter-spacing:.08em}.identity-row em{border-radius:99px;padding:5px 8px;background:#20201f;color:#fff;font-size:9px;font-style:normal;letter-spacing:0}.character-card h1{position:relative;z-index:1;margin:7px 0 8px;font-size:42px;line-height:1.05;letter-spacing:-.06em}.rarity-stamp{position:absolute;z-index:4;top:18px;left:-2px;display:grid;padding:8px 12px 9px;transform:perspective(140px) rotateY(8deg) rotate(-8deg) skew(-7deg);color:#fff;line-height:.82;filter:drop-shadow(0 8px 5px rgba(0,0,0,.22))}.rarity-stamp:before{position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;border:2px solid #101010;border-radius:7px;background:linear-gradient(145deg,#6b99ff,#2459d3 45%,#173384);box-shadow:0 3px #0d2359,0 6px #081636,inset 0 2px #ffffffbf,inset -4px -5px 8px #00000047;content:""}.rarity-stamp:after{position:absolute;top:4px;left:8px;width:52%;height:22%;border-radius:50%;background:#ffffff59;content:"";filter:blur(3px)}.rarity-stamp small{font-size:8px;font-weight:950;letter-spacing:.18em;text-shadow:0 1px 0 #000}.rarity-stamp strong{font-family:Impact,Arial Black,sans-serif;font-size:34px;font-style:italic;letter-spacing:-.03em;-webkit-text-stroke:1.5px #101010;text-shadow:1px 2px 0 #0f204e,3px 4px 0 rgba(0,0,0,.3)}.rarity-stamp i{margin-top:5px;color:#ffe44b;font-size:8px;font-style:normal;letter-spacing:.12em;text-shadow:0 1px 0 #000}.rarity-隐藏款 .rarity-stamp:before{background:linear-gradient(145deg,#ff70df,#7d2cff 48%,#241043)}.rarity-SSR .rarity-stamp:before{background:linear-gradient(145deg,#ffef82,#f59d18 48%,#7b3700)}.rarity-SR .rarity-stamp:before{background:linear-gradient(145deg,#73e7ff,#246ad3 50%,#14327b)}.floating-sticker{position:absolute;z-index:3;border:2px solid #20201f;border-radius:6px;padding:6px 8px;background:#fff;font-size:10px;font-weight:950;box-shadow:2px 2px #20201f}.sticker-one{top:24px;right:2px;background:#ff6e62;color:#fff;transform:rotate(8deg)}.sticker-two{right:0;bottom:18px;background:#b8f36b;transform:rotate(-4deg)}.character-card blockquote{position:relative;z-index:1;margin:8px 0 24px;border-left:5px solid #2459d3;padding:10px 0 10px 14px;background:#ffffffbf;font-size:18px;font-weight:750;line-height:1.55}.character-card h2{margin:22px 0 10px;color:#77736b;font-size:12px;letter-spacing:.12em}.skill-list{display:flex;flex-wrap:wrap;gap:8px}.skill-list span{border-radius:8px;padding:7px 10px;background:#f0eee8;font-size:13px}.character-card section p{margin:0;color:#45423e;font-size:14px;line-height:1.75}.character-card section,.skill-list{position:relative;z-index:1}.scene-section{margin-top:28px;border:2px dashed #aaa49a;border-radius:14px;padding:0 12px 12px;background:#ffffffb3}.scene-section h2{margin-top:14px}.scene-verdict{display:inline-block;margin-top:10px;border-radius:4px;padding:5px 7px;background:#ffdc46;font-size:9px;font-weight:900;transform:rotate(-1deg)}.share-footer{position:relative;z-index:1;margin:26px 0 0;border:2px solid #20201f;border-radius:16px;padding:14px;background:#f7f5ef}.share-footer>div{display:flex;align-items:center;gap:13px;font-size:13px;font-weight:750}.share-footer img{display:block;flex:0 0 92px;width:92px;height:92px;border:8px solid #fffdf8;object-fit:contain}.share-footer small{display:block;overflow:hidden;margin-top:8px;color:#aaa69e;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.share-button{width:100%;border:0;border-radius:16px;padding:17px 20px;background:#20201f;color:#fff;font-weight:800;cursor:pointer}.save-hint{margin:-3px 8px 0;color:#77736b;font-size:11px;line-height:1.5;text-align:center}.retry-button{align-self:center;font-size:13px}@media(max-width:420px){.quiz-page,.result-page{padding:22px 16px 30px}.character-card{padding:22px;border-radius:22px}.character-image{height:220px}.character-card h1{font-size:32px}.share-footer{margin-top:24px;padding:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
