/* ── START_MODAL ── */
/* ── START MODAL (Build My Free Site popup) ──────────────────── */
.start-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9500;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-x: hidden;
  overflow-y: auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.start-overlay.open { display: flex; }
.start-modal {
  background: #0f0f18;
  border: 1px solid rgba(91,139,255,0.15);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  padding: 44px 36px 36px;
  position: relative;
  overflow: hidden;
  animation: startModalIn 0.35s ease;
}
@keyframes startModalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.start-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  color: var(--mist); font-size: 22px;
  cursor: pointer; padding: 4px 8px;
  transition: color 0.2s;
}
.start-modal-close:hover { color: #fff; }
.start-modal-heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.start-modal-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--mist);
  line-height: 1.6;
  margin-bottom: 32px;
}
.start-option {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px 24px;
  cursor: pointer;
  transition: all 0.25s;
  margin-bottom: 14px;
  overflow: hidden;
}
.start-option:hover {
  background: rgba(91,139,255,0.06);
  border-color: rgba(91,139,255,0.25);
  transform: translateY(-2px);
}
.start-option-label {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.start-option-label .start-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.start-option-desc {
  font-size: 13px;
  color: var(--mist);
  line-height: 1.5;
  padding-left: 42px;
}
/* URL input inside the "have a site" option */
.start-url-row {
  display: none;
  margin-top: 16px;
  padding-left: 42px;
}
.start-url-row.visible { display: flex; flex-wrap: nowrap; }
.start-url-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px 0 0 8px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.start-url-input:focus { border-color: var(--arc); }
.start-url-input::placeholder { color: rgba(255,255,255,0.3); }
.start-url-go {
  background: var(--arc);
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.start-url-go:hover { background: #4a7aee; }
.start-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 6px 0;
  padding: 0 24px;
}
.start-divider::before, .start-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.06);
}
.start-divider-text {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.start-today-note {
  text-align: center;
  font-size: 12px;
  color: var(--mist);
  margin-top: 20px;
  opacity: 0.7;
}
.start-today-note strong { color: var(--arc); }
.start-score-item { background:rgba(255,255,255,0.04); border-radius:8px; padding:10px 12px; display:flex; align-items:center; gap:10px; }
.start-score-val { font-size:20px; font-weight:700; font-family:var(--font-mono); }
.start-score-val.bad { color:#F87171; }
.start-score-val.ok { color:#FBBF24; }
.start-score-val.good { color:#3ECFA0; }
.start-score-label { font-size:11px; color:var(--mist); }

@media (max-width: 480px) {
  .start-overlay { padding: 12px; }
  .start-modal { padding: 28px 18px 24px; border-radius: 16px; }
  .start-option { padding: 18px 14px; }
  .start-option-desc { padding-left: 0; }
  .start-url-row { padding-left: 0; }
  .start-divider { padding: 0 14px; }
  .start-analyse-results { padding: 16px 0 0 !important; }
  .start-analyse-results [style*="grid-template-columns"] { gap: 6px !important; }
  .start-url-go { padding: 12px 14px; font-size: 12px; }
}


/* ── SCRATCH_WIZARD ── */
/* ── SCRATCH WIZARD MODAL ──────────────────────────────────── */
.scratch-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-x: hidden;
  overflow-y: auto;
}
.scratch-overlay.open { display: flex; }
.scratch-modal {
  background: #0F0F14;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}
.scratch-modal-header {
  padding: 24px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scratch-modal-close {
  background: none;
  border: none;
  color: #8888A0;
  font-size: 28px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: 0.15s;
}
.scratch-modal-close:hover { color: #fff; background: rgba(255,255,255,0.06); }
.scratch-progress {
  display: flex;
  gap: 4px;
  padding: 20px 28px 0;
  align-items: flex-end;
}
.scratch-pip-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scratch-pip-label {
  font-size: 9px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.3s;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.scratch-pip-wrap.done .scratch-pip-label { color: rgba(91,139,255,0.6); }
.scratch-pip-wrap.active .scratch-pip-label { color: #A78BFF; }
.scratch-pip {
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
  transition: background 0.3s;
}
.scratch-pip-wrap.done .scratch-pip { background: #5B8BFF; }
.scratch-pip-wrap.active .scratch-pip { background: #A78BFF; }

/* Service pills */
.service-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.service-pill {
  padding: 8px 16px; border-radius: 20px; font-size: 13px; cursor: pointer;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  color: #A0A0B8; transition: all 0.15s; user-select: none;
}
.service-pill:hover { border-color: rgba(91,139,255,0.4); color: #C8C8D8; }
.service-pill.selected { background: rgba(91,139,255,0.15); border-color: #5B8BFF; color: #fff; }
.service-pill-custom { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.service-pill-custom input { flex: 1; }
.service-pill-custom button {
  padding: 8px 16px; border-radius: 8px; background: rgba(91,139,255,0.15);
  border: 1px solid rgba(91,139,255,0.3); color: #5B8BFF; cursor: pointer;
  font-size: 13px; white-space: nowrap;
}

/* Cert pills */
.cert-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cert-pill {
  padding: 6px 14px; border-radius: 20px; font-size: 12px; cursor: pointer;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  color: #A0A0B8; transition: all 0.15s; user-select: none;
}
.cert-pill:hover { border-color: rgba(62,207,160,0.4); color: #C8C8D8; }
.cert-pill.selected { background: rgba(62,207,160,0.12); border-color: #3ECFA0; color: #fff; }

/* Hours picker */
.hours-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.hours-preset {
  padding: 8px 16px; border-radius: 8px; font-size: 13px; cursor: pointer;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  color: #A0A0B8; transition: all 0.15s; user-select: none;
}
.hours-preset:hover { border-color: rgba(245,200,66,0.4); }
.hours-preset.selected { background: rgba(245,200,66,0.12); border-color: #F5C842; color: #fff; }
.scratch-step {
  display: none;
  padding: 28px;
  flex: 1;
}
.scratch-step.active { display: block; }

.scratch-step-heading {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #E8E8F0;
  margin-bottom: 6px;
}
.scratch-step-sub {
  font-size: 14px;
  color: #8888A0;
  margin-bottom: 28px;
  line-height: 1.6;
}
.scratch-field {
  margin-bottom: 18px;
}
.scratch-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #A0A0B8;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.scratch-field .field-sub {
  font-size: 11px;
  color: #666680;
  margin-top: 4px;
}
.scratch-input, .scratch-textarea, .scratch-select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px 14px;
  color: #E8E8F0;
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.scratch-input:focus, .scratch-textarea:focus, .scratch-select:focus {
  outline: none;
  border-color: #5B8BFF;
}
.scratch-textarea {
  resize: vertical;
  min-height: 80px;
}
.scratch-textarea::placeholder {
  transition: opacity 0.4s ease;
}
.scratch-textarea.placeholder-fade::placeholder {
  opacity: 0;
}
.scratch-select option { background: #1a1a2e; }
.industry-search-wrap { position: relative; }
.industry-search-wrap input { padding-right: 32px; }
.industry-search-wrap .industry-clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #888; font-size: 18px; cursor: pointer; display: none; padding: 4px; line-height: 1; }
.industry-search-wrap .industry-clear:hover { color: #E8E8F0; }
.industry-dropdown { position: absolute; top: 100%; left: 0; right: 0; max-height: 240px; overflow-y: auto; background: #1a1a2e; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; margin-top: 4px; z-index: 50; display: none; }
.industry-dropdown.visible { display: block; }
.industry-dropdown-group { padding: 6px 14px 2px; font-size: 11px; color: #5B8BFF; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.industry-dropdown-item { padding: 10px 14px; color: #E8E8F0; font-size: 15px; cursor: pointer; transition: background 0.15s; }
.industry-dropdown-item:hover, .industry-dropdown-item.active { background: rgba(91,139,255,0.15); }
.industry-dropdown-item mark { background: none; color: #5B8BFF; font-weight: 600; }
.scratch-url-indicator {
  font-size: 11px;
  color: #4ADE80;
  margin-top: 5px;
  min-height: 16px;
}

/* Option cards (goal, feeling) */
.scratch-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
.scratch-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: 0.2s;
  text-align: left;
}
.scratch-card:hover {
  border-color: rgba(91,139,255,0.3);
  background: rgba(91,139,255,0.05);
}
.scratch-card.selected {
  border-color: #5B8BFF;
  background: rgba(91,139,255,0.1);
  box-shadow: 0 0 0 1px #5B8BFF;
}
.scratch-card-icon { font-size: 22px; margin-bottom: 8px; }
.scratch-card-label { font-weight: 700; font-size: 14px; color: #E8E8F0; margin-bottom: 4px; }
.scratch-card-desc { font-size: 12px; color: #8888A0; line-height: 1.5; }
.scratch-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.scratch-pill {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #C8C8D8;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.scratch-pill:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); }
.scratch-pill.selected { border-color: #5B8BFF; background: rgba(91,139,255,0.15); color: #fff; }
.scratch-cards-sm .scratch-card { padding: 12px 10px; }
.scratch-cards-sm .scratch-card-desc { display: none; }


/* ── REGISTER_PICKER ── */
/* ── Register Picker Carousel ── */
.reg-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 700px) {
  .reg-picker { grid-template-columns: 1fr; }
}
.reg-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.reg-card:hover { border-color: rgba(91,139,255,0.3); }
.reg-card.selected {
  border-color: var(--arc);
  box-shadow: 0 0 0 1px var(--arc), 0 0 20px rgba(91,139,255,0.15);
}
.reg-card--coming { opacity: 0.5; pointer-events: none; }
.reg-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.reg-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.reg-url {
  flex: 1;
  height: 22px;
  margin-left: 4px;
  padding: 0 8px;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
}
.reg-url-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mist);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reg-viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #09090c;
}
.reg-viewport--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.reg-placeholder-text {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mist);
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.reg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 400ms ease-in-out;
}
.reg-slide--active { opacity: 1; }
.reg-slide video,
.reg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reg-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.reg-dot-nav {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.reg-dot-nav--active { background: var(--arc); }
@media (max-width: 700px) {
  .reg-dot-nav { width: 10px; height: 10px; }
  .reg-dots { gap: 12px; bottom: 10px; }
}
.reg-meta {
  padding: 12px 14px 14px;
}
.reg-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--lunar);
  margin-bottom: 4px;
}
.reg-desc {
  font-size: 12px;
  color: var(--mist);
  line-height: 1.5;
  margin-bottom: 8px;
}
.reg-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--arc);
  text-decoration: none;
  transition: color 0.2s;
}
.reg-cta:hover { color: var(--arc-light); }
@media (prefers-reduced-motion: reduce) {
  .reg-slide { transition: none; }
}
.scratch-q-label {
  font-size: 15px;
  font-weight: 700;
  color: #E8E8F0;
  margin-bottom: 12px;
}

/* Colour picker */
.scratch-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.scratch-swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: 0.2s;
  position: relative;
}
.scratch-swatch:hover { transform: scale(1.1); }
.scratch-swatch.selected {
  border-color: #fff;
  box-shadow: 0 0 0 2px #5B8BFF;
}
.scratch-swatch-custom {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #8888A0;
  transition: 0.2s;
  position: relative;
  overflow: hidden;
}
.scratch-swatch-custom:hover { border-color: #5B8BFF; color: #5B8BFF; }
.scratch-swatch-custom input[type="color"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.scratch-colour-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.scratch-colour-big {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
}
.scratch-colour-hex {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  color: #E8E8F0;
  letter-spacing: 0.05em;
}
.scratch-colour-hex-input {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #E8E8F0;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 8px 12px;
  width: 110px;
  outline: none;
}
.scratch-colour-hex-input:focus {
  border-color: var(--arc);
}

/* Summary */
.scratch-summary {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.scratch-summary-swatch {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}
.scratch-summary-text {
  font-size: 13px;
  color: #A0A0B8;
  line-height: 1.6;
}
.scratch-summary-text strong { color: #E8E8F0; }

/* Submit button */
.scratch-submit {
  width: 100%;
  padding: 16px;
  background: #5B8BFF;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: 0.2s;
  letter-spacing: 0.02em;
}
.scratch-submit:hover { background: #4a7aee; transform: translateY(-1px); }
.scratch-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.scratch-submit-sub {
  text-align: center;
  font-size: 12px;
  color: #666680;
  margin-top: 12px;
  line-height: 1.6;
}

/* Footer (back/next) */
.scratch-modal-footer {
  padding: 0 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.scratch-nav-back {
  background: none;
  border: 1px solid rgba(255,255,255,0.08);
  color: #8888A0;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: 0.15s;
}
.scratch-nav-back:hover { color: #fff; border-color: rgba(255,255,255,0.2); }
.scratch-nav-next {
  background: linear-gradient(135deg, #5B8BFF, #A78BFF);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  transition: 0.15s;
}
.scratch-nav-next:hover { transform: translateY(-1px); }
.scratch-nav-next:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Loading state */
.scratch-loading {
  display: none;
  text-align: center;
  padding: 60px 28px;
}
.scratch-loading.active { display: block; }
.scratch-loading-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.scratch-loading-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5B8BFF;
  animation: scratch-pulse 1.4s ease-in-out infinite;
}
.scratch-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.scratch-loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes scratch-pulse { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; } 40% { transform: scale(1); opacity: 1; } }
.scratch-loading-text {
  font-size: 16px;
  font-weight: 600;
  color: #E8E8F0;
  margin-bottom: 8px;
  min-height: 24px;
}
.scratch-loading-sub {
  font-size: 13px;
  color: #666680;
}

/* Success state */
.scratch-success {
  display: none;
  text-align: center;
  padding: 60px 28px;
}
.scratch-success.active { display: block; }
.scratch-success-icon { font-size: 52px; margin-bottom: 20px; }
.scratch-success-heading { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.scratch-success-sub { font-size: 14px; color: #8888A0; line-height: 1.7; }
.scratch-success-steps {
  text-align: left;
  margin-top: 24px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}
.scratch-success-steps li {
  font-size: 13px;
  color: #A0A0B8;
  line-height: 1.8;
  list-style: none;
  padding-left: 20px;
  position: relative;
}
.scratch-success-steps li::before {
  content: attr(data-n);
  position: absolute;
  left: 0;
  color: #5B8BFF;
  font-weight: 700;
}
.scratch-field-error {
  font-size: 11px;
  color: #F87171;
  margin-top: 4px;
  min-height: 16px;
}

@media (max-width: 768px) {
  .scratch-section { padding: 60px 24px; }
  .scratch-inner { flex-direction: column; gap: 32px; }
  .scratch-visual { display: none; }
  .scratch-overlay { padding: 0; }
  .scratch-modal { max-height: 100vh; max-width: 100%; border-radius: 0; overflow-y: hidden; overflow-x: hidden; }
  @supports (max-height: 100dvh) { .scratch-modal { max-height: 100dvh; } }
  .scratch-step { padding: 24px 20px; overflow-y: auto; overflow-x: hidden; min-height: 0; }
  .scratch-modal-header { padding: 20px 20px 0; flex-shrink: 0; }
  .scratch-progress { padding: 16px 20px 0; flex-shrink: 0; gap: 2px; }
  .scratch-pip-label { font-size: 7px; }
  .scratch-modal-footer { padding: 0 20px 20px; flex-shrink: 0; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 16px; }
  .scratch-cards { grid-template-columns: 1fr; }
  .scratch-proof { flex-direction: column; gap: 8px; }
  .scratch-swatch { width: 40px; height: 40px; }
}


/* ── SHARED_ASSETS ── */
/* ── SHARED ASSETS UI (wizard dropzone + file tags) ─────────────────────── */
.assets-dropzone {
  display: none;
  border: 2px dashed rgba(91,139,255,0.2);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 16px;
}
.assets-dropzone:hover, .assets-dropzone.dragover { border-color: var(--arc); background: rgba(91,139,255,0.04); }
.assets-dropzone-icon { font-size: 24px; margin-bottom: 6px; color: var(--arc); }
.assets-dropzone-label { font-size: 13px; color: var(--mist); }
.assets-dropzone-label span { color: var(--arc); text-decoration: underline; cursor: pointer; }
.assets-file-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.assets-file-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(91,139,255,0.12);
  border: 1px solid rgba(91,139,255,0.25);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--lunar);
  font-family: var(--font-mono);
}
.assets-file-tag button {
  background: none; border: none; color: var(--mist); cursor: pointer; font-size: 14px; padding: 0; line-height: 1;
}
.assets-file-tag button:hover { color: var(--red); }
