.rc8-banner-template-title,
.rc8-banner-upload-title {
  margin: 4px 0 12px;
  color: #1b1b1d;
  font-size: 15px;
  font-weight: 700;
}

.rc8-banner-template-title { margin-top: 0; }
.rc8-banner-upload-title { margin-top: 28px; }

.rc8-tone-grid.rc8-banner-template-grid {
  gap: 12px;
}

.rc8-tone-grid.rc8-banner-template-grid .rc8-tone-card {
  min-height: 150px;
  position: relative;
  overflow: hidden;
  align-items: stretch;
  justify-content: space-between;
  padding: 16px;
  color: #fff !important;
  isolation: isolate;
}

.rc8-tone-grid.rc8-banner-template-grid .rc8-tone-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 128px;
  height: 128px;
  right: -36px;
  top: -50px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}

.rc8-banner-template-preview {
  display: grid;
  gap: 6px;
}

.rc8-banner-template-preview span {
  color: rgba(255,255,255,.82) !important;
  font-size: 9px !important;
  font-weight: 750 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase;
}

.rc8-banner-template-preview strong {
  color: #fff;
  font-size: 20px !important;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.rc8-banner-template-preview small {
  max-width: 180px;
  color: rgba(255,255,255,.86) !important;
  font-size: 12px !important;
  line-height: 1.3;
}

.rc8-banner-template-emoji {
  align-self: end;
  justify-self: end;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 17px;
  background: rgba(255,255,255,.16);
  font-size: 26px;
}

.rc8-banner-upload-panel {
  display: grid;
  gap: 12px;
}

.rc8-banner-upload-button {
  min-height: 92px;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid #ddd9d4;
  border-radius: 22px;
  background: #fff;
  color: #1b1b1d;
  text-align: left;
  cursor: pointer;
}

.rc8-banner-upload-button.selected {
  border-color: #1b1b1d;
  box-shadow: inset 0 0 0 2px #1b1b1d;
}

.rc8-banner-upload-button > span:first-child {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 17px;
  background: #f3f2ef;
  font-size: 25px;
}

.rc8-banner-upload-copy {
  display: grid;
  gap: 4px;
}

.rc8-banner-upload-copy strong { font-size: 17px; }
.rc8-banner-upload-copy small { color: #77756f; font-size: 13px; line-height: 1.35; }

.rc8-banner-custom-preview {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 8 / 3;
  min-height: 150px;
  border: 2px solid #1b1b1d;
  border-radius: 24px;
  background: #f3f2ef;
}

.rc8-banner-custom-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rc8-banner-custom-preview button {
  position: absolute;
  right: 12px;
  top: 12px;
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #1b1b1d;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.rc8-banner-custom-helper {
  margin: 0;
  color: #77756f;
  font-size: 12px;
  line-height: 1.4;
}

.rc8-review-preview.rc8-custom-banner-review {
  display: block;
  padding: 0;
  background: #f3f2ef !important;
  aspect-ratio: 8 / 3;
  min-height: 0;
}

.rc8-review-preview.rc8-custom-banner-review::after { display: none; }
.rc8-review-preview.rc8-custom-banner-review > * { display: none !important; }
.rc8-review-preview.rc8-custom-banner-review img {
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 560px) {
  .rc8-tone-grid.rc8-banner-template-grid .rc8-tone-card { min-height: 138px; padding: 14px; }
  .rc8-banner-template-preview strong { font-size: 17px !important; }
  .rc8-banner-custom-preview { min-height: 132px; }
}


/* Dual custom promotion artwork */
.rc8-dual-promo-title {
  display: grid;
  gap: 5px;
  margin: 28px 0 12px;
  color: #5f5b55;
}
.rc8-dual-promo-title strong {
  font-size: 16px;
  font-weight: 520;
}
.rc8-dual-promo-title span {
  color: #88847d;
  font-size: 12px;
  font-weight: 430;
  line-height: 1.45;
}
.rc8-dual-promo-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rc8-dual-promo-card {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.rc8-dual-promo-upload {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid #ddd9d4;
  background: #f8f6f3;
  color: #5f5b55;
  cursor: pointer;
  font: inherit;
}
.rc8-dual-promo-card[data-artwork-card="home"] .rc8-dual-promo-upload {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
}
.rc8-dual-promo-card[data-artwork-card="popup"] .rc8-dual-promo-upload {
  aspect-ratio: 3 / 4;
  border-radius: 20px;
}
.rc8-dual-promo-upload > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rc8-dual-promo-plus {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-62%);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ece9e4;
  color: #6a655e;
  font-size: 36px;
  font-weight: 300;
}
.rc8-dual-promo-copy {
  position: absolute;
  inset: auto 12px 12px;
  display: grid;
  gap: 2px;
  text-align: left;
}
.rc8-dual-promo-copy strong {
  color: #5f5b55;
  font-size: 13px;
  font-weight: 520;
}
.rc8-dual-promo-copy small {
  color: #8a867f;
  font-size: 11px;
  font-weight: 430;
}
.rc8-dual-promo-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
}
.rc8-dual-promo-meta span {
  color: #8a867f;
  font-size: 10px;
  line-height: 1.35;
}
.rc8-dual-promo-meta button {
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: #7a756e;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rc8-review-preview.rc8-dual-artwork-review {
  display: block;
  min-height: 0;
  padding: 0;
  background: transparent !important;
  box-shadow: none;
}
.rc8-review-preview.rc8-dual-artwork-review::after {
  display: none;
}
.rc8-dual-review-grid {
  display: grid !important;
  grid-template-columns: 1.45fr .8fr;
  align-items: start;
  gap: 12px;
}
.rc8-dual-review-grid > div {
  display: grid !important;
  gap: 6px;
}
.rc8-dual-review-grid span {
  color: #8a867f;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .08em;
}
.rc8-dual-review-grid img {
  display: block !important;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}
.rc8-dual-review-grid > div:first-child img { aspect-ratio: 16 / 9; }
.rc8-dual-review-grid > div:last-child img { aspect-ratio: 3 / 4; }

@media (max-width: 560px) {
  .rc8-dual-promo-panel {
    grid-template-columns: 1.35fr .82fr;
    align-items: start;
  }
  .rc8-dual-promo-plus {
    width: 48px;
    height: 48px;
    font-size: 31px;
  }
  .rc8-dual-promo-copy {
    inset: auto 10px 10px;
  }
}
