/* Consistent local token artwork in the Swap card and token picker. Load last. */
#view-swap .mw-token-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 33px;
  width: 33px;
  height: 33px;
  padding: 0;
  overflow: visible;
  border-radius: 50%;
  font-style: normal;
  line-height: 1;
}

#view-swap .mw-token-icon.mw-token-icon--image {
  background: #fff;
  color: transparent;
}

#view-swap .mw-token-icon.mw-token-icon--image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

#view-swap .mw-token-icon.mw-token-icon--image[data-symbol="猫王"] {
  background: #000;
}

#view-swap .mw-token-icon[data-symbol="猫王"] img {
  box-sizing: border-box;
  padding: 2px;
  object-fit: contain;
}

.balance-row .asset .coin--maowang {
  padding: 2px;
  overflow: hidden;
  background: #000;
}

.balance-row .asset .coin--maowang img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* WBNB reuses the BNB mark with a compact wrap indicator. */
#view-swap .mw-token-icon.mw-token-icon--wrapped::after {
  content: "W";
  position: absolute;
  right: -4px;
  bottom: -3px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #8166ec;
  color: #fff;
  box-shadow: 0 1px 3px rgba(45,42,50,.22);
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
}

#view-swap .mw-token-results .mw-token-option {
  grid-template-columns: 33px minmax(0,1fr) auto;
  min-height: 52px;
  gap: 11px;
}
