.give-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.give-side { position: sticky; top: 80px; display: grid; gap: 10px; }
.item-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px; max-height: 196px; overflow-y: auto; margin-top: 8px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.item-btn { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--ink); font: 13px var(--font); text-align: left; cursor: pointer; min-width: 0; }
.item-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-btn:hover { background: var(--surface); }
.item-btn[aria-selected='true'] { background: var(--green-soft); border-color: var(--green); }
.item-btn canvas { width: 24px; height: 24px; image-rendering: pixelated; flex: none; }
textarea.mc-input { height: auto; min-height: 72px; padding-top: 8px; padding-bottom: 8px; resize: vertical; font-family: var(--font); }
.ench-add { display: grid; grid-template-columns: minmax(0, 1fr) 70px auto; gap: 8px; }
.ench-chips { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ench-chips li { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 2px 2px 2px 10px; font-size: 13.5px; background: var(--surface-2); }
.ench-chips .mc-btn.small { height: 26px; min-width: 26px; padding: 0 6px; }
.slot-row { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.mc-slot { position: relative; width: 72px; height: 72px; flex: none; background: #8b8b8b; border: 3px solid; border-color: #373737 #fff #fff #373737; display: grid; place-items: center; }
.mc-slot canvas { width: 56px; height: 56px; image-rendering: pixelated; }
.slot-count { position: absolute; right: 3px; bottom: 0; font: 18px var(--pixel); color: #fff; text-shadow: 2px 2px 0 #3f3f3f; }
.mc-tooltip { min-width: 180px; max-width: 100%; flex: 1; padding: 8px 10px; background: rgba(16, 0, 16, 0.94); border: 2px solid #2d0a63; box-shadow: inset 0 0 0 1px #5000ff55; border-radius: 3px; font: 15px/1.45 var(--pixel); color: #fff; text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45); word-break: break-word; }
.mc-tooltip .tt-id { color: #555; font-size: 12px; margin-top: 2px; text-shadow: none; }
@media (max-width: 900px) {
  .give-grid { grid-template-columns: 1fr; }
  .give-side { position: static; }
}
