/* FPC Wire v2.1.2c — Team & league hashtag size lock */
.wire-topic-chip,
a.wire-topic-chip,
.post-body .wire-topic-chip,
[data-post-body] .wire-topic-chip,
.quoted-body .wire-topic-chip,
.wire-topic-body .wire-topic-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 30px !important;
  margin: 0 2px !important;
  padding: 3px 9px 3px 4px !important;
  border: 1px solid #344d69 !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg,#122136,#0b1624) !important;
  color: #8fc4ff !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  box-shadow: inset 0 1px rgba(255,255,255,.04) !important;
}

.wire-topic-chip > img,
a.wire-topic-chip > img,
.post-body .wire-topic-chip > img,
[data-post-body] .wire-topic-chip > img,
.quoted-body .wire-topic-chip > img,
.wire-topic-body .wire-topic-chip > img {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  flex: 0 0 24px !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 50% !important;
  background: #fff !important;
  padding: 2px !important;
  margin: 0 !important;
}

.wire-topic-chip.is-league,
a.wire-topic-chip.is-league {
  border-color: rgba(236,32,40,.55) !important;
  background: linear-gradient(180deg,rgba(236,32,40,.16),#0b1624) !important;
}

.wire-topic-chip.is-league > img,
a.wire-topic-chip.is-league > img {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  border-radius: 6px !important;
  background: transparent !important;
  padding: 0 !important;
}

.wire-topic-chip > span {
  display: inline !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.team-hashtag > img,
.team-hashtag-chip > img {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  object-fit: contain !important;
}

@media (max-width: 600px) {
  .wire-topic-chip,
  a.wire-topic-chip {
    min-height: 28px !important;
    padding-right: 7px !important;
    gap: 5px !important;
  }

  .wire-topic-chip > img,
  a.wire-topic-chip > img,
  .wire-topic-chip.is-league > img,
  a.wire-topic-chip.is-league > img {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    flex-basis: 22px !important;
  }
}
