/* MTG card links + hover tooltip */
.mtg-link { color: #c8a24a; border-bottom: 1px dotted currentColor; cursor: help; }
.mtg-link:hover { color: #e3bd63; }
.mtg-tip {
  position: absolute; z-index: 99999; display: flex; gap: 6px;
  background: #0f1116; border: 1px solid #2a2f3a; border-radius: 12px; padding: 6px;
  box-shadow: 0 12px 34px rgba(0,0,0,.55); max-width: 520px; pointer-events: auto;
}
.mtg-img { width: 240px; max-width: 44vw; height: auto; border-radius: 9px; display: block; }
.mtg-loading, .mtg-nf { color: #9aa3b2; font: 13px system-ui, sans-serif; padding: 18px 24px; white-space: nowrap; }
.mtg-txt { max-width: 280px; color: #e6e9ee; font: 13px/1.5 system-ui, sans-serif; padding: 6px 8px; }
.mtg-txt .mtg-type { color: #9aa3b2; }

/* editor: card-name autocomplete dropdown (theme-agnostic — inherits the modal's bg/text) */
.mtg-ac { border: 1px solid rgba(128,128,128,.35); border-radius: 8px; margin: 2px 0 10px; max-height: 210px; overflow-y: auto; }
.mtg-ac-i { padding: 6px 10px; cursor: pointer; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtg-ac-i:hover, .mtg-ac-i.on { background: rgba(128,128,128,.18); }
