/* Distinguish exact disenchant instances already in the queue. */
.disenchant-card.disenchant-card-scheduled {
    border-color: #F7CDA972;
    background: #F7CDA90B;
}
.disenchant-queue-status {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 6px 0;
}
.disenchant-queue-status:empty { display: none; }
.disenchant-queue-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 7px;
    border: 1px solid #F7CDA957;
    border-radius: 999px;
    background: #F7CDA91A;
    color: #F6E7DDF0;
    font-size: .5rem;
    font-weight: 800;
    line-height: 1.25;
}
.disenchant-queue-badge.current {
    border-color: #E7968E8C;
    background: #E7968E21;
}
.disenchant-card button:disabled {
    cursor: not-allowed;
}
@media (max-width: 620px) {
    .disenchant-queue-badge { font-size: .52rem; padding: 4px 6px; }
}

/* Legible, real natural stat stars for exact item instances. */
#enchanting-region-content .disenchant-roll-stars {
    display:block; color:#F7CDA9; opacity:1; font-size:.68rem;
    line-height:1.4; overflow-wrap:anywhere;
}
#enchanting-region-content .disenchant-roll-stars[hidden] {display:none;}
#enchanting-region-content .gear-enchant-apply {
    font-size:.68rem; padding:8px; white-space:normal; overflow-wrap:anywhere;
}

/* High-visibility state for the exact item, even on small screens. */
#enchanting-region-content .disenchant-queue-status {
    margin: 4px 0 5px;
    gap: 6px;
}
#enchanting-region-content .disenchant-queue-badge {
    font-size: .7rem;
    font-weight: 800;
    padding: 5px 8px;
    opacity: 1;
    background: #48354C;
    border-color: #E8B989;
    color: #FFF0DB;
}
#enchanting-region-content .disenchant-queue-badge.current {
    background: #694348;
    border-color: #F6C2A7;
}
#enchanting-region-content .disenchant-queue-badge.applied {
    background: #38294F;
    border-color: #CEAFE6;
}
#enchanting-region-content .gear-enchant-item-status {
    display: block;
    margin: 5px 0 2px;
    color: #F5D6AD;
    font-size: .69rem;
    font-weight: 800;
}
#enchanting-region-content .gear-enchant-item-status.working {
    color: #FFE5A6;
}
#enchanting-region-content .gear-enchant-apply:disabled {
    opacity: .7;
}
