/* v66 – historic Dragon score bands and rarity-first upgrade exploration */
.drc-rarity-panel{margin:18px 0 0;padding:18px;border:1px solid #786039;border-radius:12px;background:linear-gradient(125deg,#162538,#0e1825 75%);color:#dce3eb}
.drc-rarity-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap}
.drc-rarity-heading>div>small{display:block;font:700 10px/1.6 system-ui,sans-serif;letter-spacing:.12em;color:#d4b880}
.drc-rarity-heading strong{display:block;font-size:18px;color:#f2e5cf}
.drc-rarity-heading em{font-style:normal}
.drc-rarity-legendary{color:#ffac4d}.drc-rarity-epic{color:#cf9cff}.drc-rarity-rare{color:#84b9ff}.drc-rarity-uncommon{color:#7fceac}.drc-rarity-common{color:#b8bfce}
.drc-rarity-score{font-size:12px;color:#c1cfe0}.drc-rarity-score b{display:block;font-size:18px;color:#eed39f}
.drc-rarity-milestones{display:flex;gap:10px 24px;flex-wrap:wrap;margin-top:12px;font-size:13px}
.drc-rarity-milestones span{border-left:2px solid #ae843d;padding-left:9px}
.drc-rarity-actions{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0 0}
.drc-rarity-button,.drc-rarity-copy{cursor:pointer;border:1px solid #b98e4a;border-radius:7px;padding:9px 11px;background:#e2bd77;color:#1b2530;font-weight:750;font-size:12px}
.drc-rarity-button.secondary{background:transparent;color:#f0d8aa}
.drc-rarity-copy{padding:6px 8px;background:transparent;color:#efc88c}
.drc-rarity-note{font-size:11px;line-height:1.6;color:#aab8ca;margin:12px 0 0}
.drc-rarity-path{margin-top:12px}.drc-rarity-path:empty{display:none}.drc-rarity-path h4{font-size:15px;color:#f1d3a1;margin:15px 0 8px}
.drc-rarity-route{border-top:1px solid #465162;margin-top:12px;padding-top:12px;font-size:13px}
.drc-rarity-route h5{font-size:14px;margin:0 0 8px;color:#f2dfbd}.drc-rarity-route h5 small{font-weight:normal;color:#b8c5d5}
.drc-rarity-route ol{padding-left:23px;margin:10px 0}.drc-rarity-route li{margin:8px 0;line-height:1.55}.drc-rarity-route li small{color:#bac7d5}.drc-rarity-route a{color:#d9bd82}
.drc-rarity-route p{font-size:12px}.drc-rarity-route>small{display:block;font-size:11px;color:#aab8ca}
html[data-theme="light"] .drc-rarity-panel{background:#fff8ec;color:#35445a;border-color:#bd9550}
html[data-theme="light"] .drc-rarity-heading strong{color:#272b38}
html[data-theme="light"] .drc-rarity-score,html[data-theme="light"] .drc-rarity-note,html[data-theme="light"] .drc-rarity-route>small{color:#586477}
html[data-theme="light"] .drc-rarity-score b,html[data-theme="light"] .drc-rarity-route h4,html[data-theme="light"] .drc-rarity-route h5{color:#634319}
html[data-theme="light"] .drc-rarity-button.secondary{color:#583e1a}
@media(max-width:560px){.drc-rarity-panel{padding:13px}.drc-rarity-heading strong{font-size:16px}.drc-rarity-route li{overflow-wrap:anywhere}}

/* v71: fixed alignment and single target-rarity workflow */
.drc-rarity-panel{min-width:0;overflow-wrap:anywhere}
.drc-rarity-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(115px,max-content);gap:10px 16px;align-items:start}
.drc-rarity-heading>div{min-width:0}
.drc-rarity-heading strong{font-size:clamp(15px,1.5vw,18px);line-height:1.35}
.drc-rarity-score{justify-self:end;text-align:right;max-width:160px;line-height:1.4}
.drc-rarity-upgrade-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:16px}
.drc-rarity-target-label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;color:#dfc18e;font-weight:700}
.drc-rarity-target{box-sizing:border-box;width:100%;max-width:360px;min-height:42px;border:1px solid #8f7954;border-radius:6px;background:#111b2b;color:#f5e8d5;padding:9px 12px;font:600 13px system-ui,sans-serif}
.drc-rarity-upgrade-form .drc-rarity-button{min-height:42px;white-space:nowrap}
.drc-rarity-target-gap{margin:9px 0 0;font-size:12px;color:#cfd9e7}
.drc-rarity-path{min-width:0}
html[data-theme="light"] .drc-rarity-target{background:#fff;color:#2c3647}
html[data-theme="light"] .drc-rarity-target-label{color:#624719}
html[data-theme="light"] .drc-rarity-target-gap{color:#485c73}
@media(max-width:700px){.drc-rarity-heading{grid-template-columns:minmax(0,1fr)}.drc-rarity-score{justify-self:start;text-align:left;max-width:none}.drc-rarity-upgrade-form{grid-template-columns:minmax(0,1fr)}.drc-rarity-target{max-width:none}.drc-rarity-upgrade-form .drc-rarity-button{justify-self:start;white-space:normal}}

/* v72 — compact comparable purchase plans. */
.drc-upgrade-paths{display:grid;gap:12px;margin:12px 0}
.drc-upgrade-plan{background:rgba(18,33,50,.75);border:1px solid rgba(180,155,96,.56);border-radius:10px;padding:13px;min-width:0}
.drc-upgrade-plan h5{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:5px;font-size:14px;margin:0 0 10px}
.drc-upgrade-pill{border-radius:99px;background:#27453b;color:#bbefd7;padding:4px 9px;font:700 11px system-ui,sans-serif;white-space:nowrap}
.drc-upgrade-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0}
.drc-upgrade-stats>div{background:#101b2a;border:1px solid rgba(151,164,188,.3);border-radius:7px;padding:8px;min-width:0}
.drc-upgrade-stats small{display:block;color:#b0bfd0;font-size:10px}
.drc-upgrade-stats b{font-size:14px;color:#eac987}
.drc-upgrade-plan ol{padding-left:20px;margin:10px 0}.drc-upgrade-plan li{margin:6px 0;line-height:1.5}
.drc-upgrade-plan li small{color:#bac8d5}
.drc-upgrade-plan .drc-upgrade-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
.drc-upgrade-price-status{font-size:12px;color:#d7c49b;line-height:1.5}
.drc-upgrade-plan .drc-bonus-report{font-size:11px;line-height:1.6;margin:8px 0;color:#c8d3e0}
.drc-rarity-route .drc-upgrade-plan a{color:#eac987}
html[data-theme="light"] .drc-upgrade-plan{background:#fffaf0}html[data-theme="light"] .drc-upgrade-stats>div{background:#fff}
html[data-theme="light"] .drc-upgrade-stats small,html[data-theme="light"] .drc-upgrade-plan .drc-bonus-report{color:#45576a}
@media(max-width:560px){.drc-upgrade-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
