/* Shop cards use the compact facility row as their visual anchor. */
#tooltip {
  width: 374px;
  max-width: calc(100vw - 16px);
  padding: 10px 12px;
  background: #102535;
  border: 1px solid #81959b;
  outline: 1px solid #203543;
  box-shadow: 2px 3px 0 #09182499;
  border-radius: 2px;
  font-size: .8125rem;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

#tooltip .tip-header {
  --tip-art-size: 34px;
  display: grid;
  grid-template-columns: var(--tip-art-size) minmax(0, 1fr) fit-content(32%);
  align-items: start;
  gap: 0 8px;
  margin: 0 0 6px;
}

#tooltip .tip-header > .tip-icon {
  position: relative;
  display: block;
  width: var(--tip-art-size);
  height: var(--tip-art-size);
  margin: 0;
  overflow: hidden;
  align-self: center;
}

#tooltip .tip-header > .tip-icon > img,
#tooltip .tip-header > .tip-icon > svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#tooltip .tip-heading { min-width: 0; align-self: center; }
#tooltip .tip-heading strong { font-size: .9375rem; line-height: 1.25; }
#tooltip .tip-heading small { margin-top: 1px; color: #aabcc5; font-size: .71875rem; }
#tooltip .tip-price {
  min-width: 0;
  text-align: right;
  white-space: normal;
  font-size: .875rem;
  line-height: 1.35;
}
#tooltip .tip-conversion,
#tooltip .tip-role {
  color: #aac2ce;
  margin: 3px 0;
  font-size: .75rem;
  line-height: 1.4;
}
#tooltip .tip-description,
#tooltip .tip-effect {
  margin: 5px 0 3px;
  font-size: .8125rem;
  line-height: 1.4;
}
#tooltip .tip-production {
  margin: 5px 0 0;
  padding: 5px 0 0 16px;
  border-top: 1px solid #526975;
}
#tooltip .tip-production li { padding: 0; }
#tooltip .tip-production li::marker { color: #91aeba; }
#tooltip .tip-voice {
  margin: 5px 0 0;
  color: #b2c2ca;
  font-size: .75rem;
  line-height: 1.4;
  font-style: normal;
}
html[lang="en"] #tooltip .tip-voice { font-style: italic; }
#tooltip .tip-footer {
  margin: 6px -12px -10px;
  padding: 3px 10px;
  color: #c7cfd2;
  font-size: .75rem;
}

@media (max-width: 480px) {
  #tooltip { padding: 8px 10px; }
  #tooltip .tip-header { --tip-art-size: 30px; gap: 0 6px; }
  #tooltip .tip-footer { margin: 5px -10px -8px; }
}
