.wsp-public-ad {
  box-sizing: border-box;
  max-width: 920px;
  margin: 18px auto;
  padding: 0 16px;
  color: #46516a;
  font:
    14px/1.5 system-ui,
    sans-serif;
  clear: both;
}
.wsp-public-ad details {
  font-size: 12px;
}
.wsp-public-ad summary {
  width: fit-content;
  cursor: pointer;
}
.wsp-public-ad p {
  margin: 5px 0;
}
.wsp-public-ad a {
  text-decoration: underline;
}
.wsp-public-ad button {
  padding: 6px 12px;
  margin: 3px 8px 3px 0;
  border: 1px solid #c4cad7;
  border-radius: 6px;
  background: #fff;
  color: #253751;
  cursor: pointer;
}
.wsp-public-ad article {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
  padding: 14px;
  background: #f6f8fb;
  border: 1px solid #dfe4ed;
  border-radius: 12px;
}
.wsp-public-ad article > div:last-child {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
}
.wsp-public-ad article button {
  justify-self: start;
}
.wsp-public-ad small img {
  vertical-align: middle;
  max-height: 16px;
  max-width: 50px;
  margin-right: 5px;
}
.wsp-ad-media {
  width: min(35%, 290px);
  display: flex;
  align-items: center;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.wsp-ad-media img,
.wsp-ad-media video {
  min-width: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.wsp-house:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f5f7fa;
  border: 1px solid #dfe4ed;
  border-radius: 9px;
  margin-bottom: 4px;
}
.wsp-public-ad .wsp-house a {
  color: #254e80;
  font-size: 15px;
  font-weight: 600;
}
.wsp-house small {
  font-size: 12px;
  color: #505d70;
}
.product-grid > .wsp-public-ad {
  width: 100%;
  max-width: none;
  grid-column: 1/-1;
  padding: 0;
  margin: 0;
}
.product-grid > details[class*="tencent-feed-ad"][class*="preference"] {
  display: none;
}
