/* 東方キャラ性格診断。.th- だけ。結果の追加の見た目は x.js が持つ */
.th-intro,.th-quiz,.th-result,.th-body{max-width:720px;margin:0 auto;padding:0 16px}
.th-eyebrow{font-size:.72rem;letter-spacing:.12em;color:#9a5a4a;margin:16px 0 4px}
.th-h1{font-family:"Shippori Mincho","Noto Serif JP",serif;font-size:1.7rem;line-height:1.3;margin:0 0 12px;color:#2b2233}
.th-h1 small{display:block;font-size:.95rem;font-weight:400;color:#6b5a66;margin-top:4px}
.th-cover{width:100%;height:auto;border-radius:12px;display:block}
.th-lead{margin:12px 0}
.th-hook{list-style:none;padding:0;margin:12px 0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.th-hook li{background:#fbf3ee;border:1px solid #efd9cf;border-radius:10px;padding:8px 10px;font-size:.85rem}
.th-hook b{display:block;color:#b23a3f}
.th-hook span{color:#6b5a66;font-size:.78rem}
.th-start{width:100%;margin:8px 0}
.th-small{font-size:.75rem;color:#7a6b74}
.th-prog{display:flex;align-items:center;gap:8px;margin:16px 0}
.th-prog__bar{flex:1;height:6px;background:#eee3e6;border-radius:3px;overflow:hidden}
.th-prog__bar i{display:block;height:100%;background:#d9404a;transform-origin:left;transform:scaleX(0);transition:transform .25s}
.th-scene{font-size:1.1rem;font-weight:700;margin:12px 0}
.th-opts{display:grid;gap:8px}
.th-opt{text-align:left;padding:14px;border:1px solid #e4d3d8;border-radius:10px;background:#fff;font-size:1rem;min-height:48px}
.th-back{margin-top:12px;background:none;border:0;color:#7a6b74}
.th-card{text-align:center;border-top:6px solid var(--ac,#d9404a);background:#fff;border-radius:14px;padding:16px;box-shadow:0 2px 12px rgba(40,20,30,.08)}
.th-card__img{width:min(60vw,300px);height:auto}
.th-card__n{font-family:"Shippori Mincho","Noto Serif JP",serif;font-size:1.6rem;margin:4px 0}
.th-card__m b{font-size:1.6rem;color:var(--ac,#d9404a)}
.th-runners{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.th-runners div{background:#fbf6f8;border-radius:10px;padding:8px;text-align:center;font-size:.85rem}
.th-runners img{width:60px;height:auto;display:block;margin:0 auto}
.th-sec{margin:20px 0}
.th-rd{width:100%;max-width:320px;display:block;margin:0 auto}
.th-rd__g{fill:none;stroke:#e6dbe0}
.th-rd__c{fill:rgba(217,64,74,.18);stroke:#d9404a}
.th-rd__u{fill:rgba(60,80,160,.18);stroke:#3c50a0}
.th-rd text{font-size:10px;text-anchor:middle;fill:#5a4a55}
.th-rd__leg i{display:inline-block;width:10px;height:10px;border-radius:2px;margin:0 4px 0 10px}
.th-rd__leg .u{background:#3c50a0}.th-rd__leg .c{background:#d9404a}
.th-ab__n,.th-pl__n{font-weight:700;font-size:1.15rem;color:#b23a3f}
.th-good{list-style:none;padding:0;display:grid;gap:8px}
.th-good li{display:grid;grid-template-columns:48px 1fr;column-gap:8px;align-items:center}
.th-good img{grid-row:span 2;width:48px;height:auto}
.th-axes div{display:flex;gap:8px;border-bottom:1px dashed #eadde2;padding:6px 0}
.th-axes dt{font-weight:700;min-width:6em}.th-axes dd{margin:0}
.th-ablist,.th-plist,.th-clist{list-style:none;padding:0}
.th-ablist li,.th-plist li{padding:6px 0;border-bottom:1px dashed #eadde2}
.th-ablist b,.th-plist b{display:block}
.th-clist{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px}
.th-clist summary{display:flex;align-items:center;gap:6px;cursor:pointer;min-height:44px}
.th-clist img{width:40px;height:40px;border-radius:50%;object-fit:cover}
@media (prefers-color-scheme:dark){
 .th-h1{color:#f3e9ee}.th-hook li,.th-runners div{background:#2b2229;border-color:#46363f}
 .th-opt,.th-card{background:#211a20;color:#f3e9ee;border-color:#46363f}
}
@media (prefers-reduced-motion:reduce){.th-prog__bar i{transition:none}}
