/* Creator Shout sales page (the auto-generated media kit). Mobile-first. */

.sales-wrap { max-width: 560px; margin: 0 auto; padding: 18px 16px 64px; }
.sales-top { max-width: 560px; margin: 0 auto; padding: 18px 16px 4px; }
.sales-top .logo { font-size: 1.25rem; font-weight: 800; text-decoration: none; }

.sales-loading { text-align: center; padding: 80px 0; color: var(--muted); }
.spin {
  width: 34px; height: 34px; margin: 0 auto 14px; border-radius: 50%;
  border: 3px solid rgba(139,92,246,.25); border-top-color: var(--purple);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.sales-hero { text-align: center; padding: 10px 0 6px; }
.sales-avatar {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px;
  border: 3px solid var(--purple); box-shadow: 0 0 28px rgba(139,92,246,.45); display: block;
}
.sales-avatar.fallback {
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient); font-size: 2.4rem; font-weight: 800; color: #fff;
}
.sales-hero h1 { font-size: 1.6rem; margin: 0 0 6px; }
.sales-bio { color: var(--muted); font-size: .95rem; line-height: 1.55; margin: 0 0 4px; }
.sales-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); font-weight: 700; }

.aud-card { margin: 18px 0; }
.aud-total { text-align: center; padding: 16px 0 6px; }
.aud-total .n { font-size: 2.2rem; font-weight: 800; }
.aud-total .t { color: var(--muted); font-size: .85rem; }
.aud-rows { margin-top: 10px; }
.aud-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 4px;
  border-top: 1px solid rgba(255,255,255,.07); font-size: .92rem;
}
.aud-row .pf { font-weight: 700; text-transform: capitalize; }
.aud-row .un { color: var(--muted-2); font-size: .82rem; }
.aud-row .fc { margin-left: auto; font-weight: 700; }
.verified-tag {
  display: inline-flex; align-items: center; gap: 4px; font-size: .72rem;
  color: var(--cyan); border: 1px solid rgba(34,211,238,.35); border-radius: 999px;
  padding: 2px 9px; margin-left: 8px; font-weight: 600;
}
.aud-note { color: var(--muted-2); font-size: .78rem; text-align: center; margin-top: 10px; }

.slot-card { margin: 14px 0; overflow: hidden; }
.slot-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.slot-head h3 { margin: 0; font-size: 1.05rem; }
.slot-mode {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  background: var(--gradient-soft); border: 1px solid var(--card-border);
  padding: 3px 10px; border-radius: 999px; color: var(--purple-light);
}
.slot-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.slot-price {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 10px 6px; text-align: center;
}
.slot-price .p { font-weight: 800; font-size: 1.05rem; }
.slot-price .d { color: var(--muted-2); font-size: .72rem; margin-top: 2px; }
.slot-trial { font-size: .8rem; color: var(--cyan); margin: -6px 0 12px; }

.term-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.term-pick button {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 12px 6px; color: var(--text); cursor: pointer;
}
.term-pick button.sel { border-color: var(--purple); background: var(--gradient-soft); }
.term-pick .p { font-weight: 800; font-size: 1.05rem; display: block; }
.term-pick .d { color: var(--muted-2); font-size: .72rem; }

/* Mini preview mockup: a phone frame with the rented slot highlighted.
   Neutral "slot" class names on purpose: ad blockers must never strip these. */
.mini-phone {
  width: 250px; margin: 6px auto 4px; border-radius: 30px; padding: 12px;
  background: #0b0b22; border: 1px solid rgba(139,92,246,.35);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.mini-screen { border-radius: 20px; overflow: hidden; background: #101032; min-height: 300px; }
.mini-block {
  height: 34px; margin: 10px 12px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(139,92,246,.5), rgba(59,130,246,.5));
}
.mini-slot {
  margin: 10px 12px; border-radius: 10px; min-height: 64px;
  border: 2px dashed rgba(34,211,238,.6); background: rgba(34,211,238,.07);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 6px; text-align: center;
}
.mini-slot .t { font-size: .68rem; letter-spacing: .1em; color: var(--cyan); font-weight: 700; }
.mini-slot .s { font-weight: 800; font-size: .95rem; margin-top: 2px; }
.mini-slot .b { font-size: .72rem; color: var(--muted); margin-top: 2px; }

.apply-steps { display: flex; gap: 6px; margin-bottom: 16px; }
.apply-steps span {
  flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12);
}
.apply-steps span.on { background: var(--gradient); }

.field { margin-bottom: 12px; }
.field label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%; box-sizing: border-box; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12); border-radius: 10px;
  padding: 12px; color: var(--text); font-size: 1rem;
}
.field input:focus { outline: none; border-color: var(--purple); }
.field textarea {
  width: 100%; box-sizing: border-box; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12); border-radius: 10px;
  padding: 12px; color: var(--text); font-size: 1rem; font-family: inherit;
  resize: vertical; min-height: 120px; line-height: 1.5;
}
.field textarea:focus { outline: none; border-color: var(--purple); }
.stripe-note {
  font-size: .8rem; color: var(--muted); background: rgba(255,255,255,.03);
  border: 1px dashed rgba(255,255,255,.15); border-radius: 10px; padding: 10px 12px; margin: 12px 0;
}
#cardElement {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 12px; margin-bottom: 4px;
}
.apply-nav { display: flex; gap: 10px; margin-top: 16px; }
.apply-nav .btn { flex: 1; }

.apply-success { text-align: center; padding: 26px 6px; }
.apply-success .big { font-size: 3rem; margin-bottom: 10px; }
.apply-success h3 { margin: 0 0 8px; }
.apply-success p { color: var(--muted); font-size: .92rem; line-height: 1.6; }

.empty-slots { text-align: center; color: var(--muted); padding: 26px 10px; font-size: .92rem; }
.sales-err { text-align: center; padding: 70px 20px; color: var(--muted); }
.sales-err h2 { color: var(--text); }

@media (min-width: 640px) {
  .sales-hero h1 { font-size: 1.9rem; }
  .mini-phone { width: 270px; }
}
