/* Simple Line Icons — CSS mask glyphs (see stella-icons.js)
 *
 * SLI draws every glyph edge to edge on its 1024 artboard: measured ink boxes
 * are 100% of the viewBox (the magnifier even overhangs it by 0.3%). The
 * 24-grid SVGs these masks replaced inked at 0.67–0.83 of their box, so
 * `mask-size: contain` renders SLI ~20–50% larger in slots tuned for padded
 * icons. --sti-ink restores that padding: one length, so mask height stays
 * `auto` and the glyph can never stretch. Brand marks keep their own bounds.
 */
.sti-icon-mask {
  --sti-ink: 82%;
  display: block;
  flex-shrink: 0;
  background: currentColor;
  mask: var(--sti-mask) center / var(--sti-ink) no-repeat;
  -webkit-mask: var(--sti-mask) center / var(--sti-ink) no-repeat;
}

.sti-icon-mask--brand {
  --sti-ink: 100%;
}

.sti-icon-mask--search {
  width: 15px;
  height: 15px;
}

.sti-icon-mask--inline {
  width: 16px;
  height: 16px;
}

.sti-icon-mask--trust {
  width: 100%;
  height: 100%;
}

.sh-search-form-icon .sti-icon-mask--search {
  width: 15px;
  height: 15px;
}

.hs4-slot-icon .sti-icon-mask--search {
  width: 1em;
  height: 1em;
}

.sh-trust-icon .sti-icon-mask {
  width: 28px;
  height: 28px;
}
