/* Shared class-quest cards: outcome first, ordered steps on demand. */
body.reforged #classquests .class-quest-chains {
  display:grid; grid-template-columns:minmax(0,1fr); gap:14px; margin:20px 0 0;
}
body.reforged #classquests .class-quest-chain {
  position:relative; min-width:0; padding:20px 24px; margin:0;
  border:1px solid transparent;
  background:linear-gradient(#0b0c0d88,#090a0bcc),var(--wow-marble);
  box-shadow:0 4px 14px #0005; overflow-wrap:anywhere;
}
body.reforged #classquests .class-quest-chain::after {
  content:''; position:absolute; inset:0; pointer-events:none; z-index:5;
  border:1px solid transparent;
  border-image:var(--wow-window-frame) 32 / 12px / 0 stretch;
}
body.reforged #classquests .class-quest-chain h3 {margin:0 0 8px;font-size:22px;line-height:1.35;}
body.reforged #classquests .class-quest-chain h4 {margin:14px 0 6px;font-size:17px;}
body.reforged #classquests .class-quest-chain p {max-width:100%;margin:7px 0;font-size:14px;line-height:1.65;}
body.reforged #classquests .class-quest-chain .class-quest-meta,
body.reforged #classquests .class-quest-chain .class-quest-condition {color:#c0b69c;font-size:12px;}
body.reforged #classquests .class-quest-chain details {margin-top:12px;border:0;background:none;padding:0;}
body.reforged #classquests .class-quest-chain summary {
  display:list-item;list-style:disclosure-closed;cursor:pointer;padding:9px 12px;
  color:#edd59a;font-size:13px;line-height:1.5;background:#171713b3;border:1px solid #67563880;
}
body.reforged #classquests .class-quest-chain details[open]>summary {list-style:disclosure-open;}
body.reforged #classquests .class-quest-chain summary::marker {content:normal;color:#c6a35b;}
body.reforged #classquests .class-quest-chain summary:focus-visible {outline:2px solid #d1af6a;outline-offset:3px;}
body.reforged #classquests .class-quest-steps {margin:16px 0 0;padding:0 0 0 28px;list-style:decimal;}
body.reforged #classquests .class-quest-steps>li {margin:0 0 15px;padding:0 0 0 6px;font-size:14px;line-height:1.6;}
body.reforged #classquests .class-quest-steps>li::marker {color:#e8c779;font-weight:600;}
body.reforged #classquests .class-quest-steps>li:last-child {margin-bottom:0;}
body.reforged #classquests .class-quest-steps ul {padding-left:20px;list-style:disc;}
body.reforged #classquests .class-quest-rewards {display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin:12px 0;}
body.reforged #classquests .class-quest-reward {display:inline-flex;align-items:center;gap:8px;max-width:100%;font-size:13px;}
body.reforged #classquests .class-quest-reward img {width:34px;height:34px;min-width:34px;flex:0 0 34px;object-fit:contain;}
@media(max-width:600px){
 body.reforged #classquests .class-quest-chain {padding:17px 17px;}
 body.reforged #classquests .class-quest-chain h3 {font-size:20px;}
 body.reforged #classquests .class-quest-steps {padding-left:22px;}
}
