/* Mutations: the HUD chips (ink body-part icons), the scene (a paper doll of the monster trying the part on), the tooltip and the evolution panels. */
.mc-glyph { line-height: 1; }
.mc-glyph img.wi { vertical-align: middle; filter: drop-shadow(0 0 1px var(--paper)) drop-shadow(0 0 1px var(--paper)); }
.gear-slot .mc-glyph img.wi { width: 24px; height: 24px; }
.gear-ico .mc-glyph img.wi { width: 32px; height: 32px; }
.gear-slot.mut-chip { overflow: visible; }
.gear-slot .mc-tag { position: absolute; right: -3px; bottom: -3px; min-width: 14px; height: 14px; padding: 0 2px; border-radius: 7px; background: var(--gold, var(--gilt)); color: var(--ink); font: 700 10px/14px var(--font-display, serif); font-style: normal; text-align: center; }
.mut-empty { font-size: 12px; color: #aab2d6; margin-left: 4px; align-self: center; }
.mut-empty[hidden] { display: none; }
.relic-strip { flex-wrap: wrap; }
.gt-art { font-size: 30px; line-height: 1; white-space: nowrap; }
.gear-ico .mc-tag { font-size: 10px; margin-left: 2px; vertical-align: top; font-style: normal; font-weight: 700; }

.mut-modal { text-align: center; }
.mut-head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 4px; }
.mut-head h1 { margin: 0; }
.mut-doll { width: 116px; height: 150px; flex: 0 0 116px; border: 2px solid var(--gold, var(--gilt)); }
.mut-part { display: block; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; opacity: .75; text-align: left; }
.mut-text { max-width: 640px; margin: 8px auto; font-size: 14px; line-height: 1.45; }
.mut-offer { max-width: 560px; margin: 8px auto 12px; padding: 8px 12px; border: 1px dashed var(--gold, var(--gilt)); border-radius: 6px; display: flex; flex-direction: column; gap: 2px; }
.mut-offer b { font-family: var(--font-display, serif); font-size: 16px; }
.mut-offer span { font-size: 13px; opacity: .9; }
.mut-result { font-style: italic; }
.mut-modal .mut-choices { flex-direction: column; max-width: 560px; gap: 8px; }
.mut-modal .mut-choice { text-align: center; padding: 8px 12px; }
.mut-modal .mut-choice b { font-size: 14.5px; }
.mut-modal .mut-cost { font-style: normal; font-size: 12.5px; opacity: .85; }
.mut-modal .mut-choice.chosen { border-color: var(--gold, var(--gilt)); box-shadow: 0 0 0 2px var(--gold, var(--gilt)); }
.mut-modal .modal-actions { margin-top: 10px; }

.evo-muts { margin: 6px 0; font-size: 12px; }
.evo-muts small { display: block; opacity: .75; }
.evo-muts ul { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.evo-muts li { display: flex; gap: 6px; align-items: baseline; }
.evo-muts li em { font-style: normal; opacity: .8; }

@media (max-width: 700px) {
  .mut-doll { width: 84px; height: 108px; flex-basis: 84px; }
  .mut-text { font-size: 13px; margin: 6px auto; }
  .mut-offer { margin: 6px auto 8px; padding: 6px 10px; }
  .mut-modal .mut-choice { padding: 6px 10px; }
}
/* phone: the Mutation bar is one compact row (no caption), so the stage keeps its height and the two plates stay apart */
@media (max-width: 600px) {
  .relic-strip { flex-wrap: nowrap; min-height: 0; padding: 4px 10px; }
  .relic-strip .mut-empty { display: none; }
  .relic-strip #relicBar { flex-wrap: nowrap; gap: 6px; }
}
@media (max-height: 820px) and (max-width: 600px) {
  .relic-strip .gear-slot { width: 32px; height: 32px; }
}
