.reg-shell {
  width: min(760px, calc(100% - 2rem));
  margin: 1.25rem auto 2.5rem;
}

.reg-intro {
  margin-bottom: 1rem;
}

.form-section {
  padding: 1.15rem;
  margin-bottom: 0.9rem;
}

.form-section h2 {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  font-size: 1.25rem;
}

.form-section h2 span {
  color: var(--gold-bright);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.platform-card {
  padding: 0.95rem;
  margin-bottom: 0.75rem;
  border-top: 3px solid var(--platform, var(--gold));
  background: rgba(8, 11, 22, 0.45);
}

.platform-card[data-platform="instagram"] { --platform: #e1306c; }
.platform-card[data-platform="facebook"] { --platform: #1877f2; }
.platform-card[data-platform="youtube"] { --platform: #ff0033; }

.platform-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.platform-head h3 {
  margin: 0;
  display: flex;
  gap: 0.45rem;
  align-items: center;
  font-size: 1.05rem;
}

.platform-status {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: right;
}

.platform-status[data-state="eligible"] { color: var(--ok); }
.platform-status[data-state="below"],
.platform-status[data-state="missing-id"] { color: var(--warning); }
.platform-status[data-state="invalid"] { color: var(--danger); }
.platform-status[data-state="empty"] { color: var(--muted); font-weight: 500; }

.eligibility-banner {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 209, 102, 0.08);
  border: 1px solid var(--line);
  color: var(--muted);
}

.eligibility-banner.is-met {
  color: var(--ok);
  border-color: rgba(183, 247, 200, 0.35);
}

.accompany-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.accompany-card {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 11, 22, 0.45);
}

.accompany-head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.accompany-head h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-family: var(--display);
}

.accompany-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.stepper {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 0.45rem;
  align-items: center;
}

.stepper-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: transparent;
  color: var(--gold-bright);
  font-size: 1.4rem;
  line-height: 1;
}

.calc-panel {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(212, 175, 55, 0.08);
}

.calc-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-family: var(--display);
}

.calc-grid {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.calc-grid div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.calc-grid strong {
  color: var(--text);
}

.calc-payable strong {
  color: var(--gold-bright);
  font-size: 1.15rem;
}

@media (min-width: 640px) {
  .accompany-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.photo-picker,
.photo-actions button {
  min-height: 48px;
}

.photo-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px dashed rgba(212, 175, 55, 0.55);
  color: #ffe7a3;
  font-weight: 700;
  cursor: pointer;
}

.photo-preview {
  display: grid;
  justify-items: start;
  gap: 0.7rem;
}

.photo-preview img {
  width: min(100%, 240px);
  height: auto;
  max-height: 320px;
  object-fit: contain;
  background: #070b14;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.form-alert {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 201, 201, 0.08);
  border: 1px solid rgba(255, 201, 201, 0.35);
  margin-bottom: 0.9rem;
}

.submit-row {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.submit-row .btn-gold {
  width: 100%;
}

.success-panel {
  padding: 1.4rem 1.2rem 1.5rem;
  text-align: center;
}

.success-panel .reg-number {
  font-family: var(--display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  color: var(--gold-bright);
  margin: 0.4rem 0 0.8rem;
}

.success-facts {
  display: grid;
  gap: 0.55rem;
  text-align: left;
  margin: 1rem 0 1.2rem;
}

.success-facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(203, 213, 225, 0.16);
}

.closed-note {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--warning);
}

.submit-status {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: var(--muted, #cbd5e1);
}

.turnstile-box {
  min-height: 65px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.turnstile-box iframe {
  max-width: 100%;
}

#submitRegistration:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.form-section.is-loading {
  opacity: 0.85;
}
