.saved-gem-host{font:inherit;min-width:0;padding-top:8px}
.saved-gem-note{font-size:11px;line-height:1.6;color:#78958f;overflow-wrap:anywhere}
.saved-gem-control-grid{display:grid;grid-template-columns:minmax(100px,.8fr) repeat(3,minmax(138px,1fr)) auto auto;gap:5px;align-items:stretch;margin-bottom:7px}
.saved-gem-control-grid label{min-width:0;color:#9bb8b2;font-size:10px}
.saved-gem-kind,.saved-gem-priority{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px}
.saved-gem-priority{grid-template-columns:14px minmax(0,1fr) 27px}
.saved-gem-control-grid label>b{color:#74bfae;text-align:center;white-space:nowrap}
.saved-gem-host select,.saved-gem-host input,.saved-gem-host button{min-width:0;max-width:100%;font:inherit;color:#dcece8;background:#0b201d;border:1px solid #315850;border-radius:7px;padding:5px}
.saved-gem-priority input[type="color"]{width:27px;height:27px;padding:2px;cursor:pointer}
.saved-gem-equipped-toggle{display:flex;align-items:center;justify-content:center;gap:3px;padding:0 5px;border:1px solid #315850;border-radius:7px;background:#0b201d;white-space:nowrap}.saved-gem-equipped-toggle input{width:auto;padding:0}.saved-gem-equipped-toggle span{color:#9bb8b2}
.saved-gem-actions{display:flex;gap:3px}.saved-gem-actions button{width:29px;padding:4px;cursor:pointer}.saved-gem-actions button:disabled{opacity:.5;cursor:default}.saved-gem-actions #savedGemRetry{width:auto}
.saved-gem-warning{color:#d8a84f;background:#2a210e;border:1px solid #806329;border-radius:8px;padding:7px;margin:5px 0}
.saved-gem-totals{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:6px}.saved-gem-total{display:inline-flex;align-items:center;gap:2px;padding:2px 5px 2px 2px;border:1px solid #315850;border-radius:7px;background:#0b201d;white-space:nowrap}.saved-gem-total b{color:#74bfae;font-size:11px}
.saved-gem-icon-wrap{position:relative;display:inline-flex;width:25px;height:25px;flex:0 0 25px}.saved-gem-icon{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;overflow:hidden;border-radius:6px}.saved-gem-icon img{width:31px;height:31px;max-width:none;object-fit:cover;transform:scale(1.1)}.saved-gem-slot-badge{position:absolute;z-index:1;left:-4px;top:-4px;display:grid;width:15px;height:15px;place-items:center;border:1px solid #45615c;border-radius:50%;background:#05080d;color:#fff;box-shadow:0 1px 3px #000a}.saved-gem-slot-badge svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.saved-gem-grid{display:flex;flex-wrap:wrap;gap:5px;align-items:flex-start;overflow-x:auto}.saved-gem-card{display:inline-flex;max-width:100%;min-width:0;align-items:center;gap:4px;background:#081a18;border:1px solid #315850;border-radius:7px;padding:2px 6px 2px 2px;white-space:nowrap}.saved-gem-card.equipped{border-color:#65a58f;background:#0d2924}.saved-gem-options{display:inline-flex;min-width:0;gap:3px;overflow:hidden;text-overflow:ellipsis;font-size:10px}.saved-gem-options i{color:#52746e;font-style:normal}.saved-gem-option{overflow:hidden;text-overflow:ellipsis}.saved-gem-quantity{flex:none;color:#74bfae;font-size:10px}
#savedGemStatus{min-height:0;margin:0 0 4px;font-size:10px;line-height:1.4;color:#b8944d;overflow-wrap:anywhere}#savedGemStatus:empty{display:none}
@media(max-width:620px){.saved-gem-control-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.saved-gem-kind,.saved-gem-priority{grid-template-columns:12px minmax(0,1fr) 24px}.saved-gem-kind{grid-template-columns:24px minmax(0,1fr)}.saved-gem-control-grid select{font-size:9px;padding:4px 1px}.saved-gem-priority input[type="color"]{width:24px;height:25px}.saved-gem-equipped-toggle{padding:0 3px}.saved-gem-actions{justify-content:flex-end}.saved-gem-actions button{height:27px}.saved-gem-card{width:100%}.saved-gem-options{flex:1}}
