/* EBiDAN診断（下書き）。.eb- で始まる名前だけ。色は各グループの --ac。動きは transform と opacity だけ。 */
.eb-intro,.eb-quiz,.eb-result,.eb-body{max-width:720px;margin:0 auto;padding:0 16px}
.eb-eyebrow{font-size:.72rem;letter-spacing:.12em;color:#8a5a7a;margin:16px 0 4px}
.eb-h1{font-size:1.75rem;line-height:1.3;margin:0 0 12px;color:#2b2233;font-weight:800}
.eb-h1 small{display:block;font-size:.95rem;font-weight:500;color:#6b5a66;margin-top:4px}
.eb-cover{width:100%;height:auto;border-radius:14px;display:block}
.eb-lead{margin:12px 0}
.eb-hook{list-style:none;padding:0;margin:12px 0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.eb-hook li{background:#fff4f8;border:1px solid #f1d6e2;border-radius:10px;padding:8px 10px;font-size:.85rem}
.eb-hook b{display:block;color:#b0306a}
.eb-hook span{color:#6b5a66;font-size:.78rem}
.eb-invbox{background:#fff8ec;border:1px solid #f4d9a8;border-radius:10px;padding:10px 12px;margin:8px 0}
.eb-start{width:100%;margin:8px 0}
.eb-small{font-size:.75rem;color:#7a6b74}
.eb-prog{display:flex;align-items:center;gap:8px;margin:16px 0}
.eb-prog__bar{flex:1;height:6px;background:#efe3ea;border-radius:3px;overflow:hidden}
.eb-prog__bar i{display:block;height:100%;background:linear-gradient(90deg,#3a6fd8,#f29bb8,#e0482f,#d99a12,#22a99a,#f28c28);transform-origin:left;transform:scaleX(0);transition:transform .25s}
.eb-scene{font-size:1.1rem;font-weight:700;margin:12px 0}
.eb-opts{display:grid;gap:8px}
.eb-opt{text-align:left;padding:14px;border:1px solid #e6d3dd;border-radius:12px;background:#fff;font-size:1rem;min-height:48px;color:inherit}
.eb-back{margin-top:12px;background:none;border:0;color:#7a6b74;min-height:44px}
.eb-card{text-align:center;border-top:8px solid var(--ac);background:#fff;border-radius:16px;padding:16px;box-shadow:0 2px 14px rgba(40,20,30,.08)}
.eb-card__k{margin:0;color:#6b5a66;font-size:.9rem}
.eb-card__img{width:min(70vw,320px);height:auto;border-radius:14px;margin:8px auto;display:block}
.eb-card__n{font-size:1.8rem;margin:4px 0 0;color:var(--ac);font-weight:800}
.eb-card__kana{margin:0;font-size:.8rem;color:#7a6b74}
.eb-card__ca{font-weight:700;margin:8px 0}
.eb-card__m b{font-size:1.6rem;color:var(--ac)}
.eb-rar{display:inline-block;margin-left:8px;padding:2px 10px;border-radius:999px;font-size:.85rem;font-weight:800;color:#fff;background:#9a8a94}
.eb-rar--SSR{background:linear-gradient(90deg,#d99a12,#f29bb8,#5bb8e8)}
.eb-rar--SR{background:#b0306a}
.eb-runners{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.eb-runners div{background:#fbf6f9;border-radius:12px;padding:8px;text-align:center;font-size:.85rem;border-bottom:3px solid var(--ac)}
.eb-runners img{width:64px;height:64px;border-radius:10px;object-fit:cover;display:block;margin:0 auto 4px}
.eb-runners b,.eb-runners span{display:block}
.eb-milk{background:#fff2f6;border:1px solid #f4c6d6;border-radius:12px;padding:10px 12px;margin:12px 0}
.eb-sec{margin:22px 0}
.eb-sec h3{font-size:1.05rem;margin:0 0 8px}
.eb-sec h4{font-size:.92rem;margin:12px 0 4px}
.eb-rd{width:100%;max-width:320px;display:block;margin:0 auto}
.eb-rd__g{fill:none;stroke:#eadde4}
.eb-rd__u{fill:rgba(60,80,160,.16);stroke:#3c50a0}
.eb-rd text{font-size:10px;text-anchor:middle;dominant-baseline:middle;fill:#5a4a55}
.eb-rd__leg{font-size:.8rem;text-align:center}
.eb-rd__leg i{display:inline-block;width:10px;height:10px;border-radius:2px;margin:0 4px 0 10px}
.eb-rd__leg .u{background:#3c50a0}
.eb-facts{padding-left:1.2em;font-size:.88rem}
.eb-facts a{font-size:.75rem;color:#7a6b74}
.eb-aru ul{list-style:none;padding:0;display:grid;gap:6px}
.eb-aru li{background:#fbf6f9;border-radius:10px;padding:8px 12px}
.eb-good{list-style:none;padding:0;display:grid;gap:10px}
.eb-good li{display:grid;grid-template-columns:56px 1fr;column-gap:10px;align-items:center;border-left:4px solid var(--ac);padding-left:8px}
.eb-good img{grid-row:span 2;width:56px;height:56px;border-radius:10px;object-fit:cover}
.eb-post__t{background:#f6f3f9;border-radius:10px;padding:10px 12px}
.eb-vs{background:#fbf7ff;border-radius:14px;padding:12px}
.eb-vs__row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px;text-align:center}
.eb-vs__row div{border-bottom:3px solid var(--ac);padding-bottom:4px}
.eb-vs__row img{width:72px;height:72px;border-radius:12px;object-fit:cover;display:block;margin:0 auto 4px}
.eb-vs__row b,.eb-vs__row span{display:block;font-size:.85rem}
.eb-vs__pct{margin:0;font-size:.8rem}
.eb-vs__pct b{display:block;font-size:1.8rem;color:#b0306a}
.eb-vs__name{text-align:center;font-weight:800;font-size:1.1rem}
.eb-inv__url{width:100%;padding:8px;border:1px solid #ddd;border-radius:8px;font-size:.85rem}
.eb-consent{margin-top:10px}
.eb-tw{overflow-x:auto}
.eb-tbl{border-collapse:collapse;width:100%;font-size:.86rem}
.eb-tbl th,.eb-tbl td{border-bottom:1px solid #eadde4;padding:8px 6px;text-align:left;vertical-align:top}
.eb-tbl tbody th{border-left:4px solid var(--ac);white-space:nowrap}
.eb-tbl tbody th img{width:32px;height:32px;border-radius:8px;object-fit:cover;vertical-align:middle;margin-right:6px}
.eb-tbl small{display:block;font-weight:400;color:#7a6b74;font-size:.72rem}
.eb-axes div{display:flex;gap:8px;border-bottom:1px dashed #eadde4;padding:6px 0}
.eb-axes dt{font-weight:700;min-width:7em}.eb-axes dd{margin:0}
@media (max-width:400px){.eb-tbl tbody th{white-space:normal}}
@media (prefers-color-scheme:dark){
 .eb-h1{color:#f3e9ee}.eb-hook li,.eb-runners div,.eb-aru li,.eb-post__t,.eb-vs,.eb-milk,.eb-invbox{background:#2b2229;border-color:#46363f}
 .eb-opt,.eb-card{background:#211a20;color:#f3e9ee;border-color:#46363f}
 .eb-rd text{fill:#d8c8d2}
}
@media (prefers-reduced-motion:reduce){.eb-prog__bar i{transition:none}}
