/* Web Sponsor Banner — native Agent Cat card styling across dark & cream surfaces. */
.web-sponsor-slot[hidden] {
  display: none !important;
}

.web-sponsor-slot {
  display: block;
  box-sizing: border-box;
  width: min(1280px, calc(100% - 112px));
  margin: 0 auto 24px;
  font-family: var(--display, system-ui, -apple-system, sans-serif);
}

.trends-container > .web-sponsor-slot {
  width: 100%;
  margin: 28px 0 0;
}

.mobile-campaign > .web-sponsor-slot {
  margin: 0 auto 36px;
}

.web-sponsor-card {
  --sponsor-accent: #ff926e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #171612;
  color: #f5efe5;
  border: 1px solid #393831;
  box-sizing: border-box;
}

.web-sponsor-slot--light .web-sponsor-card {
  background: #fbf8f1;
  color: #10100d;
  border-color: #d4cec3;
}

.web-sponsor-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
}

.web-sponsor-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.web-sponsor-slot--light .web-sponsor-icon {
  background: #efe9dd;
  border-color: rgba(16, 16, 13, 0.08);
}

.web-sponsor-mark {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: var(--sponsor-accent, #ff926e);
}

.web-sponsor-body {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.web-sponsor-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.web-sponsor-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #f5efe5;
  background: rgba(245, 239, 229, 0.1);
  border: 1px solid rgba(245, 239, 229, 0.16);
}

.web-sponsor-slot--light .web-sponsor-pill {
  color: #5c4a3d;
  background: #ece5d8;
  border-color: #d4cec3;
}

.web-sponsor-brand {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: inherit;
}

.web-sponsor-tagline {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #cfc6b8;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.web-sponsor-slot--light .web-sponsor-tagline {
  color: #5c4a3d;
}

.web-sponsor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.web-sponsor-chips li {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #b0aa9f;
  background: rgba(245, 239, 229, 0.06);
}

.web-sponsor-slot--light .web-sponsor-chips li {
  color: #69665e;
  background: #efe9dd;
}

.web-sponsor-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.web-sponsor-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
  color: #10100d;
  background: #f5efe5;
  transition: background-color 150ms ease, color 150ms ease;
}

.web-sponsor-cta:hover {
  background: #ff926e;
  color: #10100d;
}

.web-sponsor-slot--light .web-sponsor-cta {
  color: #fbf8f1;
  background: #10100d;
}

.web-sponsor-slot--light .web-sponsor-cta:hover {
  color: #10100d;
  background: #ff926e;
}

.web-sponsor-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #b0aa9f;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.web-sponsor-dismiss:hover {
  color: #f5efe5;
  background: rgba(245, 239, 229, 0.1);
}

.web-sponsor-slot--light .web-sponsor-dismiss {
  color: #69665e;
}

.web-sponsor-slot--light .web-sponsor-dismiss:hover {
  color: #10100d;
  background: rgba(16, 16, 13, 0.07);
}

.web-sponsor-card :is(a, button):focus-visible {
  outline: 2px solid #ff926e;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .web-sponsor-slot {
    width: calc(100% - 48px);
  }
}

@media (max-width: 680px) {
  .web-sponsor-slot {
    width: calc(100% - 28px);
  }

  .web-sponsor-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }

  .web-sponsor-actions {
    justify-content: space-between;
  }

  .web-sponsor-cta {
    flex: 1 1 auto;
    justify-content: center;
  }
}
