.al-mirror-btn { position: absolute; top: 56px; left: 10px; z-index: 500; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--wa-border); border-radius: 18px; background: var(--wa-surface); color: var(--wa-text); font: inherit; font-weight: 600; font-size: .8rem; cursor: pointer; }
.al-mirror-btn img { filter: var(--wa-icon-filter, none); }

.al-damage-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.al-damage-tools label { display: grid; gap: 4px; font-size: .8rem; font-weight: 600; min-width: 0; }
.al-damage-tools select { width: 100%; min-width: 0; }
@media (max-width: 480px) { .al-damage-tools { grid-template-columns: 1fr; } }
.al-damage-list { display: grid; gap: 6px; margin-top: 10px; }
.al-damage-row { background: var(--wa-surface); border: 1px solid var(--wa-border); border-radius: var(--wa-radius); overflow: hidden; }
.al-damage-head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.al-damage-head img { width: 36px; height: 36px; flex: none; object-fit: contain; }
.al-damage-title { flex: 1; min-width: 0; display: grid; }
.al-damage-title b, .al-damage-title small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-damage-title small, .al-damage-result small { color: var(--wa-muted); }
.al-damage-result { flex: none; display: grid; text-align: end; font-weight: 600; max-width: 45%; }
.al-damage-weapons { width: 100%; border-collapse: collapse; font-size: .82rem; }
.al-damage-weapons td { padding: 4px 10px; border-top: 1px solid var(--wa-border); }
.al-damage-weapons td + td { text-align: end; }

.al-tracker-summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 8px 0; }
.al-tracker-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.al-tracker-item, .al-tracker-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--wa-border); border-radius: 8px; background: var(--wa-surface); cursor: pointer; padding: 6px; }
.al-tracker-item img { width: 36px; height: 36px; object-fit: contain; opacity: .28; }
.al-tracker-item.found img, .al-tracker-icon.found img { opacity: 1; }
.al-tracker-icon img { width: 26px; height: 26px; object-fit: contain; opacity: .28; }
.al-tracker-level { position: absolute; bottom: 1px; right: 4px; font-size: .7rem; font-weight: 700; }
.al-tracker-dungeon { gap: 8px; }
