/* yanyu-growth-modal-force-v42：身份卡成长展示强制兜底 */

.yanyu-growth-force-v42 {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: min(520px, calc(100vw - 28px));
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(141, 42, 35, .18);
  background:
    radial-gradient(circle at 16% 20%, rgba(255,255,255,.72), transparent 34%),
    linear-gradient(135deg, rgba(255,248,236,.96), rgba(247,226,206,.92));
  color: #55352e;
  box-shadow: 0 12px 28px rgba(45, 24, 15, .14);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  z-index: 2147483000;
}

.yanyu-growth-force-v42 strong {
  color: #8d2a23;
  font-weight: 1000;
}

.yanyu-growth-force-v42 .growth-title {
  color: #7f2e29;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yanyu-growth-force-v42 .growth-total {
  color: rgba(77, 55, 46, .70);
  font-size: 12px;
  font-weight: 800;
}

.yanyu-growth-force-v42.is-floating {
  position: fixed !important;
  top: calc(env(safe-area-inset-top, 0px) + 82px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.yanyu-growth-force-v42.is-in-modal {
  margin: 8px auto 12px;
}

@media (max-width: 768px) {
  .yanyu-growth-force-v42 {
    width: calc(100vw - 28px);
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .yanyu-growth-force-v42 .growth-total {
    display: none;
  }

  .yanyu-growth-force-v42.is-floating {
    top: calc(env(safe-area-inset-top, 0px) + 74px) !important;
  }
}
