.happy-gc-profile-wrap {
  margin: 14px 0 0;
  color: #424752;
}

.happy-gc-card,
.happy-gc-page-card {
  box-sizing: border-box;
  width: 100%;
  border: 0 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(17, 24, 39, .045) !important;
}

.happy-gc-card {
  padding: 16px !important;
}

.happy-gc-page-card {
  padding: 20px !important;
}

.happy-gc-card *,
.happy-gc-page-card * {
  box-sizing: border-box;
}

.happy-gc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.happy-gc-card-head h3,
.happy-gc-page-card h2 {
  margin: 0 !important;
  color: #303541 !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

.happy-gc-card-head span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #fff4f8;
  color: #dc5d8d;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.happy-gc-kicker {
  margin-bottom: 4px;
  color: #dc5d8d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.happy-gc-owned,
.happy-gc-empty {
  border: 0 !important;
  border-radius: 14px !important;
  background: #fafbfc !important;
  box-shadow: none !important;
}

.happy-gc-owned {
  overflow: hidden;
  padding: 14px !important;
}

.happy-gc-owned-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.happy-gc-owned h4,
.happy-gc-empty h4 {
  margin: 0 0 6px !important;
  color: #303541 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
}

.happy-gc-owned p,
.happy-gc-empty p,
.happy-gc-page-card p {
  margin: 6px 0 0 !important;
  color: #747d8c !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.happy-gc-owned-top b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff4f8;
  color: #dc5d8d !important;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.happy-gc-main-copy {
  margin-top: 10px !important;
}

.happy-gc-stats {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

.happy-gc-stats span {
  display: flex !important;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  padding: 10px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #fff !important;
}

.happy-gc-stats small {
  color: #8d96a5 !important;
  font-size: 12px !important;
  font-weight: 750 !important;
}

.happy-gc-stats b {
  overflow: hidden;
  color: #353b47 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.happy-gc-note {
  margin-top: 10px;
  color: #8d96a5;
  font-size: 13px;
  line-height: 1.6;
}

.happy-gc-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

.happy-gc-actions form {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}

.happy-gc-actions input,
.happy-gc-page-card textarea,
.happy-gc-page-card input,
.happy-gc-page-card select {
  width: auto;
  min-height: 36px !important;
  border: 1px solid #e8ecf2 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #3d4350 !important;
  box-shadow: none !important;
  outline: 0;
}

.happy-gc-actions input {
  max-width: 120px;
  padding: 7px 10px !important;
}

.happy-gc-page-card textarea,
.happy-gc-page-card input,
.happy-gc-page-card select {
  padding: 9px 11px !important;
}

.happy-gc-page-card textarea {
  display: block;
  width: 100%;
  margin: 12px 0;
  resize: vertical;
}

.happy-gc-actions button,
.happy-gc-actions a,
.happy-gc-empty a,
.happy-gc-page-card button,
.happy-gc-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #ef6f9f !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  white-space: nowrap;
}

.happy-gc-actions a,
.happy-gc-link {
  background: #fff4f8 !important;
  color: #dc5d8d !important;
}

.happy-gc-empty {
  padding: 14px !important;
  color: #747d8c;
}

.happy-gc-empty a {
  margin: 10px 8px 0 0;
}

.happy-gc-page {
  max-width: 1080px;
  margin: 18px auto 36px;
}

.happy-gc-shell {
  padding: 0 8px;
}

.happy-gc-page-card .table-responsive {
  border: 0 !important;
  border-radius: 12px !important;
  background: #fafbfc;
}

@media (max-width: 767.98px) {
  .happy-gc-card,
  .happy-gc-page-card {
    padding: 14px !important;
    border-radius: 14px !important;
  }

  .happy-gc-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .happy-gc-actions,
  .happy-gc-actions form {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .happy-gc-actions input,
  .happy-gc-actions button,
  .happy-gc-actions a {
    width: 100% !important;
    max-width: none !important;
  }
}
