.happy-profile-cover-hero {
  display: none !important;
}

.container-p-y > .card[data-style] > .user-profile-header-banner,
main > .card[data-style] > .user-profile-header-banner,
.container-p-y > .card[data-style] > .user-profile-header-banner.happy-profile-cover-target,
main > .card[data-style] > .user-profile-header-banner.happy-profile-cover-target,
.card[data-style] > .user-profile-header-banner.happy-profile-cover-target {
  position: relative !important;
  overflow: hidden !important;
  background-color: #f7f8fb !important;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.34)),
    linear-gradient(120deg, #eef2f7 0%, #ffffff 52%, #f6f8fb 100%) !important;
  background-position: center !important;
  background-size: cover !important;
}

.container-p-y > .card[data-style] > .user-profile-header-banner.happy-profile-cover-target.has-cover,
main > .card[data-style] > .user-profile-header-banner.happy-profile-cover-target.has-cover,
.card[data-style] > .user-profile-header-banner.happy-profile-cover-target.has-cover {
  background-position: center !important;
  background-size: cover !important;
}

.happy-profile-cover-target::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.32) 58%, rgba(255,255,255,.74) 100%);
  pointer-events: none;
}

.happy-profile-cover-target.has-cover::after {
  background: linear-gradient(180deg, rgba(0,0,0,.02) 0%, rgba(255,255,255,.18) 62%, rgba(255,255,255,.66) 100%);
}

.happy-profile-cover-controls {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.happy-profile-cover-upload,
.happy-profile-cover-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid rgba(235, 104, 151, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: #d85889;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(70, 56, 66, .1);
  backdrop-filter: blur(10px);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.happy-profile-cover-reset {
  background: rgba(255, 255, 255, .84);
  color: #6f6670;
}

.happy-profile-cover-upload:hover,
.happy-profile-cover-reset:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(70, 56, 66, .14);
}

.happy-profile-cover-reset:disabled {
  cursor: wait;
  opacity: .62;
  transform: none;
}

.happy-profile-cover-upload input {
  display: none;
}

.happy-profile-cover-status {
  position: absolute;
  right: 18px;
  bottom: 24px;
  z-index: 3;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: #775e6c;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(70, 56, 66, .1);
  backdrop-filter: blur(10px);
}

.happy-profile-cover-progress {
  position: absolute;
  right: 18px;
  bottom: 12px;
  left: 18px;
  z-index: 3;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
}

.happy-profile-cover-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #ef6f9f;
  transition: width .18s ease;
}

@media (max-width: 575px) {
  .happy-profile-cover-controls {
    top: 12px;
    right: 12px;
    gap: 6px;
  }

  .happy-profile-cover-upload,
  .happy-profile-cover-reset {
    padding: 7px 11px;
    font-size: 12px;
  }
}
