.rich-item-details{margin:20px 0;padding:20px;border:1px solid #cfdedc;border-radius:16px;background:linear-gradient(145deg,#fffef9,#f1f7f8);box-shadow:inset 0 1px #fff,0 4px 12px #1a405012;color:#23495e}.rich-item-details h3{font-size:1.2rem;margin:0 0 12px}.rich-item-details h4{margin:18px 0 8px}.item-effect{padding:12px 16px;border:1px solid #d4dfdf;border-radius:10px;background:#ffffffb8;line-height:1.65}.item-effect p{margin:3px 0;white-space:pre-wrap}.item-stat-table{margin-top:16px}.item-stat-row{display:flex;gap:20px;justify-content:space-between;padding:9px 0;border-bottom:1px solid #d9e2df}.item-stat-row strong{text-align:right;overflow-wrap:anywhere}.item-instance{margin-top:20px;padding-top:18px;border-top:2px solid #d5b76a}.rich-item-details li{margin:8px 0;line-height:1.6}.server-effect{margin:12px 0;font-size:.85rem}.server-effect pre{overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:#edf2ee}.item-detail-note,.item-detail-status{font-size:.85rem;line-height:1.6;color:#587482}.inserted-card{margin:12px 0;padding:12px;background:#ffffff99;border-radius:10px}@media(max-width:520px){.rich-item-details{padding:13px}.item-stat-row{gap:12px;font-size:.9rem}}

.rarity-badge{padding:3px 10px;border-radius:20px;border:1px solid #d2dddd;background:#edf2ee}.rarity-rare{color:#205da1;background:#e8f2ff;border-color:#a9c9ed}.rarity-mythic{color:#876012;background:#fff2c9;border-color:#dfc47e}.rarity-legendary{color:#6f388b;background:#f3e6ff;border-color:#cfade0}.saved-options{padding-left:24px}.saved-options li{overflow-wrap:anywhere}
.listing-rarity{display:inline-block;font-family:var(--font-body,sans-serif);font-size:12px;line-height:1.5;vertical-align:middle;margin:4px 0;max-width:100%;overflow-wrap:anywhere}
.toolbar{flex-wrap:wrap}.rarity-filter{white-space:nowrap}.rarity-filter select{max-width:150px}
