.cp-wallart__tile--skeleton {
  position: relative;
  overflow: hidden;
  background: #e8e8e8;
}

.cp-skeleton-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #e2e2e2 25%, #f0f0f0 37%, #e2e2e2 63%);
  background-size: 400% 100%;
  animation: cp-shimmer 1.4s ease infinite;
}

.cp-skeleton-btn {
  position: relative;
  overflow: hidden;
  width: 220px;
  height: 44px;
  border-radius: 999px;
  margin: 0 auto;
  background: #e8e8e8;
}

@keyframes cp-shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.cp-feat-card--skeleton {
    pointer-events: none;
}

.cp-feat-card__media--skeleton {
    position: relative;
    overflow: hidden;
    background: #e8e8e8;
}

.cp-skeleton-shimmer {
    position: relative;
    overflow: hidden;
    background: #e8e8e8;
}

.cp-skeleton-shimmer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #e2e2e2 25%, #f0f0f0 37%, #e2e2e2 63%);
    background-size: 400% 100%;
    animation: cp-shimmer 1.4s ease infinite;
}

.cp-skeleton-line {
    height: 14px;
    margin-top: 8px;
    border-radius: 4px;
}

.cp-skeleton-line--title {
    width: 70%;
}

.cp-skeleton-line--type {
    width: 40%;
    height: 10px;
}

@keyframes cp-shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.cp-creators__card--skeleton {
    pointer-events: none;
}

.cp-skeleton-shimmer {
    position: relative;
    overflow: hidden;
    background: #e8e8e8;
}

.cp-skeleton-shimmer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #e2e2e2 25%, #f0f0f0 37%, #e2e2e2 63%);
    background-size: 400% 100%;
    animation: cp-shimmer 1.4s ease infinite;
}

.cp-skeleton-line--username {
    height: 12px;
    width: 60%;
    margin: 8px auto 0;
    border-radius: 4px;
}

@keyframes cp-shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes cp-shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.cp-skel {
  background: linear-gradient(90deg, var(--cream) 0%, rgba(201,149,90,0.14) 50%, var(--cream) 100%);
  background-size: 800px 100%;
  animation: cp-shimmer 1.4s ease-in-out infinite;
  border-radius: 4px;
}

/* Profile-specific skeleton layout, mirrors cp-profile structure */
.cp-skel-profile__cover {
  width: 100%;
  height: 220px;
  border-radius: 0;
}

.cp-skel-profile__header {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cp-skel-profile__avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  margin-top: -64px;
  border: 4px solid var(--warm-white);
}

.cp-skel-profile__name {
  width: 180px;
  height: 22px;
  margin-top: 1rem;
}

.cp-skel-profile__username {
  width: 110px;
  height: 14px;
  margin-top: 0.6rem;
}

.cp-skel-profile__bio {
  width: 320px;
  height: 14px;
  margin-top: 1rem;
}
.cp-skel-profile__bio--short {
  width: 220px;
  margin-top: 0.5rem;
}

.cp-skel-profile__actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.cp-skel-profile__btn {
  width: 110px;
  height: 38px;
}
.cp-skel-profile__btn--icon {
  width: 42px;
}

@media (max-width: 600px) {
  .cp-skel-profile__cover { height: 160px; }
  .cp-skel-profile__avatar { width: 100px; height: 100px; margin-top: -50px; }
}


/* ── View-card skeleton (photo & video) ── */
.cp-skel-view {
  max-width: 560px;
  margin: 2rem auto;
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.18);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.cp-skel-view__creator {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.6rem;
  border-bottom: 1px solid rgba(201, 149, 90, 0.15);
}

.cp-skel-view__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cp-skel-view__name {
  width: 100px;
  height: 12px;
}

.cp-skel-view__date {
  width: 60px;
  height: 10px;
  margin-left: auto;
}

.cp-skel-view__media {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 0;
}
.cp-skel-view__media--video {
  aspect-ratio: 16 / 9;
}

.cp-skel-view__body {
  padding: 1.5rem 1.6rem 1.75rem;
}

.cp-skel-view__badge {
  width: 90px;
  height: 20px;
  border-radius: 99px;
  margin-bottom: 0.9rem;
}

.cp-skel-view__title {
  width: 70%;
  height: 22px;
  margin-bottom: 0.6rem;
}

.cp-skel-view__desc {
  width: 100%;
  height: 13px;
  margin-bottom: 0.5rem;
}
.cp-skel-view__desc--short {
  width: 60%;
  margin-bottom: 1.4rem;
}

.cp-skel-view__tier {
  width: 100%;
  height: 54px;
  margin-bottom: 0.6rem;
}

@media (max-width: 600px) {
  .cp-skel-view { margin: 1rem; }
}



.cp-skel-creator-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.18);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.cp-skel-creator-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cp-skel-creator-card__info {
  flex: 1;
  min-width: 0;
}

.cp-skel-creator-card__name {
  width: 40%;
  height: 15px;
  margin-bottom: 0.5rem;
}

.cp-skel-creator-card__bio {
  width: 85%;
  height: 12px;
  margin-bottom: 0.4rem;
}

.cp-skel-creator-card__bio--short {
  width: 55%;
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .cp-skel-creator-card { padding: 0.85rem 1rem; }
  .cp-skel-creator-card__avatar { width: 46px; height: 46px; }
}

.cp-skel-art-card {
  background: var(--warm-white);
  border: 1px solid rgba(201, 149, 90, 0.18);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.cp-skel-art-card__media {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0;
}

.cp-skel-art-card__body {
  padding: 1rem 1.15rem 1.15rem;
}

.cp-skel-art-card__title {
  width: 60%;
  height: 16px;
  margin-bottom: 0.5rem;
}

.cp-skel-art-card__desc {
  width: 90%;
  height: 12px;
  margin-bottom: 0.4rem;
}

.cp-skel-art-card__desc--short {
  width: 50%;
  margin-bottom: 0.9rem;
}

.cp-skel-art-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cp-skel-art-card__price {
  width: 70px;
  height: 18px;
}

.cp-skel-art-card__buy {
  width: 85px;
  height: 30px;
}