.cc-hidden-marketing .cc-land-footer {
  display: none;
}

.advertiser-flow {
  display: none;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 20px 48px;
  box-sizing: border-box;
}

body.is-advertiser-flow-open .advertiser-flow.is-active {
  display: block;
}

body.is-advertiser-flow-open #root .cc-market {
  display: none;
}

body.is-advertiser-flow-open .cc-land-inner {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 52%, #eef2ff 100%);
  min-height: 100vh;
}

.advertiser-flow-card,
.advertiser-guide-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px 22px 32px;
  box-shadow: 0 24px 48px rgba(16, 22, 47, 0.08);
  border: 1px solid rgba(16, 22, 47, 0.06);
}

.guide-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 0 20px;
  border: 1px solid rgba(16, 22, 47, 0.1);
  border-radius: 12px;
  background: #fff;
  color: #10162f;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}

.guide-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #e4006e;
  letter-spacing: 0.02em;
}

.advertiser-guide-card h1 {
  margin: 0 0 20px;
  font-size: clamp(26px, 5vw, 32px);
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
}

.guide-copy {
  margin: 0 0 8px;
  font-size: clamp(17px, 3.5vw, 20px);
  font-weight: 600;
  color: #374151;
  line-height: 1.5;
}

.advertiser-guide-card h2 {
  margin: 0 0 36px;
  font-size: clamp(18px, 3.8vw, 22px);
  font-weight: 800;
  color: #e4006e;
  line-height: 1.4;
}

.guide-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide-primary,
.guide-secondary,
.guide-later {
  width: 100%;
  font-family: inherit;
}

.guide-primary {
  min-height: 56px;
  padding: 16px 20px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #ef4388, #e4006e);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(228, 0, 110, 0.22);
}

.guide-secondary {
  min-height: 56px;
  padding: 16px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  color: #374151;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.guide-later {
  display: block;
  margin-top: 28px;
  padding: 12px;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.adv-flow-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 4.5vw, 28px);
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
}

.adv-flow-subtitle {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
  line-height: 1.55;
}

.adv-review-card,
.adv-complete-info {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.adv-review-card.is-editing .adv-review-value {
  display: none;
}

.adv-review-card:not(.is-editing) .adv-review-input {
  display: none;
}

.adv-complete-info.is-editing .adv-complete-value {
  display: none;
}

.adv-complete-info:not(.is-editing) .adv-complete-input {
  display: none;
}

.adv-complete-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  font-family: inherit;
  box-sizing: border-box;
}

.adv-complete-field-wrap {
  min-width: 0;
}

.adv-complete-toolbar {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.adv-field-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #f3f4f6;
}

.adv-field-row:last-child {
  border-bottom: none;
}

.adv-field-label {
  font-size: 14px;
  font-weight: 700;
  color: #9ca3af;
}

.adv-review-value,
.adv-complete-value {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  line-height: 1.45;
  word-break: break-word;
}

.adv-review-value.is-empty {
  color: #9ca3af;
  font-weight: 600;
}

.adv-ocr-fail-notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  font-size: 13px;
  font-weight: 600;
  color: #9a3412;
  line-height: 1.5;
}

.adv-review-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  font-family: inherit;
  box-sizing: border-box;
}

.adv-review-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.adv-btn-confirm {
  min-height: 56px;
  padding: 16px 20px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #ef4388, #e4006e);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 12px 24px rgba(228, 0, 110, 0.22);
}

.adv-btn-edit {
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  color: #374151;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.adv-step-banner {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff7fb;
  border: 1px solid #fce7f3;
  font-size: 14px;
  font-weight: 700;
  color: #e4006e;
}

.adv-complete-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}

.adv-complete-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e4006e;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.adv-funnel-label {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

.adv-funnel-row {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 24px;
}

.adv-funnel-step {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.adv-funnel-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 auto 6px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.adv-funnel-circle.is-done {
  background: #e4006e;
  color: #fff;
}

.adv-funnel-circle.is-current {
  background: #fff;
  border: 2px solid #e4006e;
  color: #e4006e;
}

.adv-funnel-circle.is-pending {
  background: #f3f4f6;
  color: #9ca3af;
}

.adv-funnel-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  line-height: 1.3;
}

.adv-funnel-name.is-done,
.adv-funnel-name.is-current {
  color: #111827;
}

.adv-company-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.adv-badge-done {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(228, 0, 110, 0.1);
  color: #e4006e;
  font-size: 12px;
  font-weight: 800;
}

.adv-edit-link {
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
}

.adv-next-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.adv-next-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: #111827;
}

.adv-next-desc {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
  line-height: 1.5;
}

.adv-capture-block,
.adv-gallery-block {
  margin-bottom: 20px;
}

.menu-capture-preview-wrap {
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.menu-capture-preview-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  background: #f8fafc;
}

.menu-capture-status {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #374151;
  line-height: 1.5;
}

.menu-capture-status.is-success {
  color: #059669;
}

.menu-capture-status.is-fail {
  color: #dc2626;
}

.menu-capture-progress {
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
  margin-bottom: 14px;
}

.menu-capture-progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #e4006e, #f472b6);
  transition: width 0.2s ease;
}

.menu-capture-fail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.menu-capture-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.menu-capture-guide-modal[hidden] {
  display: none !important;
}

.menu-capture-guide-dialog {
  width: min(100%, 400px);
  background: #fff;
  border-radius: 16px;
  padding: 24px 22px 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.menu-capture-guide-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: #111827;
}

.menu-capture-guide-lead {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  line-height: 1.5;
}

.menu-capture-guide-list {
  margin: 0 0 16px;
  padding-left: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  line-height: 1.6;
}

.menu-capture-guide-footer {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 700;
  color: #e4006e;
  line-height: 1.5;
}

.menu-capture-guide-actions {
  display: flex;
  gap: 10px;
}

.menu-capture-guide-actions .guide-primary,
.menu-capture-guide-actions .guide-secondary {
  flex: 1;
}

.adv-image-preview {
  display: none;
  width: 100%;
  height: auto;
  max-height: min(70vh, 720px);
  object-fit: contain;
  object-position: center;
  background: #f8fafc;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
}

.adv-image-preview.is-visible {
  display: block;
}

.adv-analyzing {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  color: #6b7280;
}

.adv-analyzing.is-visible {
  display: flex;
}


.adv-analyzing-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e4006e;
  animation: advPulse 1s ease-in-out infinite;
}

@keyframes advPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1); }
}

@media (min-width: 721px) {
  .advertiser-flow {
    padding: 32px 24px 64px;
  }

  .advertiser-flow-card,
  .advertiser-guide-card {
    padding: 40px 48px 44px;
  }
}

@media (max-width: 960px) {
  .cc-reward-card__image {
    min-height: 156px;
  }

  .cc-reward-modal__panel {
    max-height: 92vh;
  }

  .cc-market-actions {
    gap: 8px;
  }

  .cc-market-register {
    padding: 0 16px;
    font-size: 15px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-header {
    font-size: 31px;
  }
}


/* Guided advertiser document flow */
.adv-guided-progress {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #f0dce5;
}
.adv-guided-progress[hidden] { display: none; }
.adv-guided-progress ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.adv-guided-progress li {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #8b7d84;
  font-size: 11px;
  text-align: center;
}
.adv-guided-progress li span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid #d9cbd1;
  border-radius: 50%;
  background: #fff;
}
.adv-guided-progress li.is-current { color: #d92f78; }
.adv-guided-progress li.is-current span { border-color: #e94288; box-shadow: 0 0 0 3px #fde5ef; }
.adv-guided-progress li.is-done { color: #267a4c; }
.adv-guided-progress li.is-done span { border-color: #2e9b62; background: #2e9b62; color: #fff; }
.adv-guided-progress li.is-later span { border-style: dashed; }
.adv-verification-status {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f6f4f5;
  color: #574d52;
  font-weight: 700;
}
.adv-verification-status[data-state="verified"] { background: #eaf8f0; color: #237348; }
.adv-verification-status[data-state="pending"] { background: #fff7db; color: #765b00; }
.adv-verification-status[data-state="suspended"],
.adv-verification-status[data-state="review"] { background: #fff0e8; color: #87451f; }
.adv-conflict-panel {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #f0b4ca;
  border-radius: 14px;
  background: #fff7fa;
}
.adv-conflict-panel h2 { margin: 0 0 6px; font-size: 17px; }
.adv-conflict-item { margin-top: 14px; padding-top: 12px; border-top: 1px solid #f2dbe4; }
.adv-conflict-item strong { display: block; margin-bottom: 8px; }
.adv-conflict-item label { display: block; margin: 7px 0; line-height: 1.4; }
.adv-conflict-warning { color: #b3261e; font-weight: 700; }

/* Hide legacy six-step funnel inside the new four-step guided flow. */
.advertiser-flow--complete .adv-funnel-label,
.advertiser-flow--complete .adv-funnel-row { display: none; }
