/* Three visual cards: campaign setup, creator posts and reporting graphics. */
.campaign-build-visual {
  padding: 0 23px 28px;
}
.brief-preview {
  width: 100%;
  border: 0;
  border-radius: 17px;
  background: #fbfafc;
  padding: 19px;
  position: relative;
}
.brief-field {
  border-bottom: 1px solid #e9e2ed;
  padding-bottom: 12px;
  margin-bottom: 13px;
}
.brief-field > span {
  display: block;
  font-size: 12px;
  color: #7c6b83;
  margin-bottom: 7px;
}
.brief-field strong {
  font-size: 14px;
  font-weight: 500;
  display: block;
  line-height: 1.3;
}
.brief-field p {
  font-size: 12px;
  color: #75667c;
  line-height: 1.55;
}
.mini-label {
  font-size: 12px;
  color: #77667d;
  margin-bottom: 9px;
}
.model-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.model-option {
  border: 1px solid #e6dfeb;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #f1edf4;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.model-option.is-selected {
  background: #fce5f0;
  border-color: #dc81aa;
}
.model-option img {
  width: 39px;
  height: 39px;
}
.model-option strong {
  font-size: 15px;
  font-weight: 500;
}
.model-option > span {
  color: #75617b;
  font-size: 12px;
}
.preview-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 27px;
  height: 33px;
  pointer-events: none;
  transform: translate(45px, 235px);
  transition: transform 0.75s cubic-bezier(0.2, 0.75, 0.25, 1);
  filter: drop-shadow(0 3px 4px #36204435);
}
.preview-cursor[hidden] {
  display: none;
}
.preview-cursor.is-clicking::before {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  left: -10px;
  top: -10px;
  border: 2px solid #db5e99;
  border-radius: 50%;
  animation: preview-click 0.5s ease-out both;
}
@keyframes preview-click {
  from {
    opacity: 0.9;
    transform: scale(0.4);
  }
  to {
    opacity: 0;
    transform: scale(1.5);
  }
}
.creator-gallery {
  min-width: 0;
  width: 100%;
  padding-top: 0;
}
.creator-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 19px;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 28px,
    #000 calc(100% - 28px),
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 28px,
    #000 calc(100% - 28px),
    transparent
  );
}
.creator-viewport::-webkit-scrollbar {
  display: none;
}
.creator-viewport:focus-visible {
  -webkit-mask-image: none;
  mask-image: none;
}
.creator-track,
.creator-group {
  display: flex;
  width: max-content;
}
.creator-group {
  gap: 14px;
  padding-right: 14px;
}
.creator-post {
  margin: 0;
  width: 155px;
  height: 260px;
  flex: none;
  position: relative;
  overflow: hidden;
  border-radius: 13px;
  background: #d8d1d9;
}
.creator-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.report-visual {
  padding: 0 23px 28px;
}
.campaign-report {
  background: #fbfafc;
  border: 0;
  border-radius: 17px;
  width: 100%;
  padding: 21px 21px 25px;
}
@media (min-width: 801px) and (max-width: 1100px) {
  .campaign-build-visual,
  .report-visual {
    padding-inline: 15px;
  }
  .brief-preview,
  .campaign-report {
    padding-inline: 15px;
  }
  .model-option {
    padding: 8px;
  }
  .model-option strong {
    font-size: 14px;
  }
  .model-option > span {
    font-size: 12px;
  }
  .creator-viewport {
    padding-inline: 14px;
  }
  .creator-post {
    width: 148px;
    height: 254px;
  }
}
@media (max-width: 800px) {
  .brief-preview,
  .campaign-report {
    max-width: 350px;
    margin: auto;
  }
  .creator-post {
    width: 167px;
    height: 260px;
  }
  .service-card-visual {
    height: 382px;
  }
}
@media (max-width: 380px) {
  .campaign-build-visual,
  .report-visual {
    padding-inline: 16px;
  }
  .brief-preview,
  .campaign-report {
    padding-inline: 15px;
  }
  .model-option {
    padding: 8px;
  }
  .model-option > span {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .preview-cursor {
    display: none !important;
  }
  .model-option {
    transition: none;
  }
}
/* Let the visuals follow the copy without a fixed-height spacer. */
.service-card-visual {
  height: auto;
  min-height: 0;
  align-items: flex-start;
  flex: 1;
}
.creator-post {
  height: 300px;
}
.creator-service-card .service-card-visual {
  padding-bottom: 28px;
}

.report-graph + .report-graph {
  margin-top: 24px;
}
.report-graph-label {
  display: block;
  font-size: 13px;
  color: #75647c;
  margin-bottom: 8px;
}
.report-chart {
  display: block;
  width: 100%;
  height: auto;
}
.report-line {
  stroke-dasharray: none;
  clip-path: inset(0);
}
.report-line,
.report-area,
.report-line-point,
.report-columns {
  transition:
    clip-path 1.1s ease,
    opacity 0.7s ease,
    transform 1s cubic-bezier(0.2, 0.6, 0.3, 1);
}
.report-columns {
  transform-box: fill-box;
  transform-origin: center bottom;
}
.campaign-report.is-chart-ready:not(.is-chart-visible) .report-line {
  clip-path: inset(0 100% 0 0);
}
.campaign-report.is-chart-ready:not(.is-chart-visible) .report-area,
.campaign-report.is-chart-ready:not(.is-chart-visible) .report-line-point {
  opacity: 0;
}
.campaign-report.is-chart-ready:not(.is-chart-visible) .report-columns {
  transform: scaleY(0.05);
}
@media (prefers-reduced-motion: reduce) {
  .campaign-report .report-line {
    clip-path: none !important;
  }
  .campaign-report .report-area,
  .campaign-report .report-line-point {
    opacity: 1 !important;
  }
  .campaign-report .report-columns {
    transform: none !important;
  }
  .campaign-report * {
    transition: none !important;
  }
}
