/* /register/build — mobile-first creator onboarding */
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body.registerBuildBody { margin: 0; height: 100%; }
body.registerBuildBody {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #111; background: #e9e9e4; -webkit-font-smoothing: antialiased;
}
.registerBuildBody button { font: inherit; cursor: pointer; color: inherit; }
.registerBuildBody input, .registerBuildBody textarea, .registerBuildBody select { font: inherit; }
.registerBuildBody [hidden] { display: none !important; }
.registerBuildBody form { margin: 0; }

.registerBuild {
    position: relative; overflow: hidden; background: #f4f4f1;
    width: 100%; max-width: 30rem; height: 100vh; height: 100dvh; margin: 0 auto;
}
@media (min-width: 48rem) {
    body.registerBuildBody { display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
    .registerBuild { height: min(52rem, calc(100vh - 3rem)); border-radius: 2rem; box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.18); }
}

/* Screens */
.rbScreen { position: absolute; inset: 0; display: none; flex-direction: column; background: #f4f4f1; }
.rbScreen.isActive { display: flex; animation: rbScreenIn 0.3s ease both; }
@keyframes rbScreenIn { from { opacity: 0; transform: translateX(1.5rem); } to { opacity: 1; transform: none; } }
.rbTop { display: flex; align-items: center; gap: 0.75rem; padding: calc(env(safe-area-inset-top) + 1rem) 1.25rem 0.5rem; flex-shrink: 0; min-height: 3.5rem; }
.rbBackBtn { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; font-size: 1.5rem; line-height: 1; flex-shrink: 0; box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.08); }
.rbProgress { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.25rem; }
.rbProgress i { height: 0.25rem; border-radius: 62.5rem; background: #dcdcd6; display: block; }
.rbProgress i.isDone { background: #111; }
.rbBody { flex: 1; overflow-y: auto; padding: 1rem 1.25rem 1.5rem; -webkit-overflow-scrolling: touch; }
.rbFooter { flex-shrink: 0; padding: 0.75rem 1.25rem calc(env(safe-area-inset-bottom) + 1rem); background: linear-gradient(180deg, rgba(244, 244, 241, 0) 0%, #f4f4f1 30%); }

.rbLogo { width: 2rem; height: 2.25rem; display: block; margin-bottom: 1.25rem; }
.rbEyebrow { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #888; margin-bottom: 0.375rem; }
.rbTitle { font-size: 1.875rem; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 0.5rem; font-weight: 800; }
.rbTitleXl { font-size: 2.5rem; }
.rbSubtitle { font-size: 1rem; color: #555; margin: 0 0 1.5rem; line-height: 1.45; }

/* Buttons + inputs */
.rbBtn {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    width: 100%; height: 3.5rem; border-radius: 1rem; border: 0;
    background: #111; color: #fff !important; font-weight: 700; font-size: 1.0625rem;
    transition: transform 0.1s ease, opacity 0.2s ease; text-decoration: none;
}
.rbBtn:active { transform: scale(0.98); }
.rbBtn:disabled { opacity: 0.3; cursor: default; }
.rbBtn.isBusy { opacity: 0.6; pointer-events: none; }
.rbBtnLight { background: #fff; color: #111 !important; border: 0.0625rem solid #ddd; }
.rbBtnBlack { background: #000; }
.rbBtnSmall { height: 3rem; font-size: 0.9375rem; }
.rbBtnIcon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.rbBtnBlack .rbBtnIcon path { fill: #fff; }
.rbLinkBtn { display: inline-block; background: none; border: 0; color: #666; font-size: 0.875rem; font-weight: 600; padding: 0.5rem 0; text-decoration: underline; }

.rbInput {
    width: 100%; height: 3.5rem; border-radius: 1rem; border: 0.0625rem solid #ddd;
    padding: 0 1rem; font-size: 1.0625rem; background: #fff; outline: none; color: #111;
    -webkit-appearance: none; appearance: none;
}
.rbInput:focus { border-color: #111; box-shadow: 0 0 0 0.25rem rgba(17, 17, 17, 0.08); }
textarea.rbInput { height: 5.5rem; padding: 0.875rem 1rem; resize: none; line-height: 1.4; }
.rbField { margin-bottom: 0.75rem; }
.rbFieldRow { display: flex; gap: 0.5rem; align-items: stretch; }
.rbFieldRow .rbInput { flex: 1; min-width: 0; }
.rbLabel { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.375rem; color: #444; }
.rbOptional { color: #999; font-weight: 500; }
.rbHint { font-size: 0.8125rem; color: #777; line-height: 1.5; margin: 0.75rem 0 0; }
.rbHintTight { margin-top: 0.5rem; }
.rbDivider { display: flex; align-items: center; gap: 0.75rem; color: #999; font-size: 0.8125rem; margin: 1.125rem 0; }
.rbDivider::before, .rbDivider::after { content: ''; flex: 1; height: 0.0625rem; background: #ddd; }
.rbMiniBtn { border: 0.0625rem solid #ddd; background: #fff; border-radius: 62.5rem; padding: 0 1rem; height: 2.5rem; font-size: 0.875rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.rbMiniBtnDark { background: #111; color: #fff !important; border-color: #111; }
.rbMiniBtnTall { height: 3.5rem; border-radius: 1rem; padding: 0 1.25rem; }

.rbToast {
    position: absolute; left: 1rem; right: 1rem; top: calc(env(safe-area-inset-top) + 1rem); z-index: 150;
    background: #111; color: #fff; padding: 0.875rem 1rem; border-radius: 1rem; font-size: 0.875rem; font-weight: 600;
    opacity: 0; transform: translateY(-0.75rem); pointer-events: none; transition: all 0.25s ease;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}
.rbToast.isShown { opacity: 1; transform: none; }
.rbToast.isError { background: #b91c1c; }

/* Handle */
.rbClaimScreen { background: radial-gradient(30rem 22rem at 50% 0%, #eaffb0 0%, rgba(234, 255, 176, 0) 70%), #f4f4f1; }
.rbClaimScreen .rbBody { display: flex; flex-direction: column; padding-top: calc(env(safe-area-inset-top) + 3rem); }
.rbClaimScreen .rbLogo { margin-top: auto; flex-shrink: 0; }
.rbProof { margin-bottom: auto; padding-top: 1.75rem; flex-shrink: 0; }
.rbProofText { text-align: center; font-size: 0.875rem; color: #555; margin: 0.625rem 0 0; }
.rbProofText b { color: #111; font-weight: 800; }
.rbBtnLabel { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rbCreatorMarquee {
    --rbCreatorGap: 0.625rem;
    margin: 0 -1.25rem;
    width: calc(100% + 2.5rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 0.25rem 0;
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    pointer-events: none;
}
.rbCreatorTrack {
    display: none;
    width: max-content;
    max-width: none;
    flex-shrink: 0;
}
.rbCreatorTrack:first-child { display: flex; }
.rbClaimScreen.isActive .rbCreatorTrack:first-child { animation: rbCreatorScroll var(--rbCreatorDuration, 90s) linear infinite; }
.rbCreatorGroup { display: flex; flex-shrink: 0; gap: var(--rbCreatorGap); padding-right: var(--rbCreatorGap); }
.rbCreatorFace {
    flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; overflow: hidden;
    border: 0.125rem solid #fff; box-shadow: 0 0.1875rem 0.5rem rgba(0, 0, 0, 0.1); background: #fff;
}
.rbCreatorFace img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes rbCreatorScroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}
@keyframes rbCreatorScrollReverse {
    from { transform: translate3d(-50%, 0, 0); }
    to { transform: translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .rbClaimScreen.isActive .rbCreatorTrack { animation: none !important; }
}
.rbClaimScreen .rbHandleGroup,
.rbClaimScreen .rbHandleStatus,
.rbClaimScreen .rbSuggestions { flex-shrink: 0; }
.rbHandleGroup { display: flex; align-items: center; height: 4rem; border-radius: 1.125rem; background: #fff; border: 0.125rem solid #111; padding: 0 1rem; box-shadow: 0 0.375rem 0 #111; }
.rbHandlePrefix { font-size: 1.125rem; font-weight: 700; color: #999; }
.rbHandleInput { flex: 1; min-width: 0; border: 0; outline: none; font-size: 1.125rem; font-weight: 700; padding: 0 0.125rem; background: transparent; }
.rbHandleStatus { min-height: 1.5rem; margin-top: 1rem; font-size: 0.875rem; font-weight: 600; }
.rbHandleStatus.isOk { color: #15803d; }
.rbHandleStatus.isBad { color: #dc2626; }
.rbSuggestions { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.375rem; }
.rbSuggestion { border: 0.0625rem solid #ccc; background: #fff; border-radius: 62.5rem; padding: 0.5rem 0.875rem; font-size: 0.875rem; }
.rbLoginLink { text-align: center; font-size: 0.875rem; color: #666; margin-top: 0.75rem; }
.rbLoginLink a { color: #111; font-weight: 700; text-decoration: none; }
.rbLegal { text-align: center; font-size: 0.75rem; color: #888; margin: 0.75rem 0 0; line-height: 1.4; }
.rbLegal a { color: #555; }

/* Account */
.rbClaimedPill { display: inline-flex; align-items: center; gap: 0.5rem; background: #111; color: #fff; padding: 0.5rem 0.875rem; border-radius: 62.5rem; font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; max-width: 100%; }
.rbClaimedPill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rbClaimedPill i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #d7ff3f; display: block; flex-shrink: 0; }
.rbOauthStack { display: grid; gap: 0.625rem; }

/* Goal */
.rbGoalList { display: grid; gap: 0.625rem; }
.rbGoalCard { display: flex; align-items: center; gap: 1rem; text-align: left; border: 0.125rem solid #e5e5e0; background: #fff; border-radius: 1.25rem; padding: 1rem 1.125rem; min-height: 5rem; transition: all 0.15s; width: 100%; }
.rbGoalCard:active { transform: scale(0.98); }
.rbGoalCard.isSelected { border-color: #111; background: #111; color: #fff; }
.rbGoalEmoji { font-size: 1.75rem; width: 2.5rem; text-align: center; flex-shrink: 0; }
.rbGoalTitle { font-weight: 800; font-size: 1.0625rem; display: block; margin-bottom: 0.125rem; }
.rbGoalDesc { font-size: 0.8125rem; color: #777; display: block; line-height: 1.35; }
.rbGoalCard.isSelected .rbGoalDesc { color: rgba(255, 255, 255, 0.7); }
.rbArrow { margin-left: auto; color: #bbb; font-size: 1.5rem; line-height: 1; }

/* Import */
.rbChoiceList { display: grid; gap: 0.625rem; }
.rbChoiceGroup { border: 0.125rem solid #e5e5e0; background: #fff; border-radius: 1.25rem; transition: border-color 0.15s, box-shadow 0.15s; }
.rbChoiceGroup.isSelected { border-color: #111; box-shadow: 0 0.25rem 0 #111; }
.rbChoice { display: flex; align-items: center; gap: 0.875rem; width: 100%; min-height: 4.75rem; padding: 0.875rem 1rem; border: 0; background: none; border-radius: 1.125rem; text-align: left; }
.rbChoice:active { transform: scale(0.99); }
.rbChoiceEmoji { font-size: 1.625rem; width: 2.25rem; text-align: center; flex-shrink: 0; }
.rbChoiceTitle { display: block; font-size: 1.0625rem; font-weight: 800; margin-bottom: 0.125rem; }
.rbChoiceDesc { display: block; font-size: 0.8125rem; color: #777; line-height: 1.35; }
.rbChoiceRadio { margin-left: auto; flex-shrink: 0; width: 1.375rem; height: 1.375rem; border-radius: 50%; border: 0.125rem solid #ccc; transition: all 0.15s; }
.rbChoiceGroup.isSelected .rbChoiceRadio { border: 0.4375rem solid #111; }
.rbChoicePanel { display: none; padding: 0 1rem 1rem; }
.rbChoiceGroup.isSelected .rbChoicePanel { display: block; animation: rbChoiceOpen 0.2s ease both; }
@keyframes rbChoiceOpen { from { opacity: 0; transform: translateY(-0.25rem); } to { opacity: 1; transform: none; } }
.rbChoicePanel .rbNetworkBtn { background: #fafaf8; }
.rbChoicePanel .rbNetworkBtn.isSelected { background: #fff; }
.rbConnectBtn { display: flex; align-items: center; gap: 0.875rem; min-height: 4.25rem; border-radius: 1.125rem; border: 0.0625rem solid #ddd; background: #fff; padding: 0.625rem 1rem; width: 100%; margin-bottom: 0.625rem; text-align: left; }
.rbConnectBtn b { display: block; font-size: 1rem; }
.rbConnectBtn small { display: block; color: #888; font-size: 0.8125rem; line-height: 1.35; }
.isConnected .rbConnectBtn { border-color: #2e9d5b; background: #f1faf4; }
.isConnected .rbConnectBtn .rbArrow::before { content: '\2713'; color: #2e9d5b; }
.isConnected .rbConnectBtn .rbArrow { font-size: 0; }
.isConnected .rbConnectBtn .rbArrow::before { font-size: 1.125rem; }
.rbBrandDot { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.rbBrandIcon { width: 1.25rem; height: 1.25rem; }
.rbBrandIcon path { fill: #fff; }
.rbNetworkPick { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.rbNetworkBtn { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 0.375rem; padding: 0.75rem 0.5rem; border: 0.125rem solid #eee; border-radius: 1rem; background: #fff; font-size: 0.8125rem; font-weight: 700; color: #111; cursor: pointer; }
.rbNetworkBtn[hidden] { display: none; }
.rbNetworkBtn.isSelected { border-color: #111; box-shadow: 0 0 0 0.25rem rgba(17, 17, 17, 0.08); }
.rbBrandInstagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.rbBrandTiktok { background: #111; }
.rbBrandYoutube { background: #ff0000; }
.rbTiktokForm { margin: -0.25rem 0 0.75rem; }
.rbPasteGroup { display: flex; align-items: center; gap: 0.5rem; height: 3.5rem; padding: 0 0.5rem 0 1rem; border-radius: 1rem; border: 0.0625rem solid #ddd; background: #fff; cursor: text; }
.rbPasteGroup:focus-within { border-color: #111; box-shadow: 0 0 0 0.25rem rgba(17, 17, 17, 0.08); }
.rbInlinePrefix { flex-shrink: 0; font-weight: 700; color: #999; font-size: 1.0625rem; white-space: nowrap; }
.rbPasteGroup .rbPrefixedInput { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-weight: 700; }
.rbPasteChip { flex-shrink: 0; height: 2.5rem; border: 0; border-radius: 0.75rem; background: #111; color: #fff !important; font-weight: 700; font-size: 0.875rem; padding: 0 0.875rem; }
.rbImportProgress { background: #fff; border-radius: 1.25rem; padding: 1.25rem; border: 0.0625rem solid #e5e5e0; margin-top: 0.5rem; }
.rbImportHead { font-weight: 800; margin-bottom: 0.75rem; }
.rbImportProgress { position: relative; overflow: hidden; }
.rbImportProgress.isWorking::before { content: ''; position: absolute; top: 0; left: 0; width: 40%; height: 0.1875rem; border-radius: 62.5rem; background: #111; animation: rbImportBar 1.1s ease-in-out infinite; }
@keyframes rbImportBar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.rbImportItem { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; font-size: 1rem; opacity: 0.3; transition: opacity 0.3s; }
.rbImportItem.isActive, .rbImportItem.isDone { opacity: 1; }
.rbImportTick { position: relative; flex-shrink: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #eee; display: grid; place-items: center; font-size: 0.75rem; transition: background 0.2s; }
.rbImportCheck { opacity: 0; transform: scale(0.4); transition: opacity 0.2s, transform 0.25s cubic-bezier(0.3, 1.6, 0.6, 1); }
.rbImportItem.isActive .rbImportTick { background: transparent; }
.rbImportItem.isActive .rbImportTick::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 0.1875rem solid #e5e5e0; border-top-color: #111; animation: rbSpin 0.7s linear infinite; }
.rbImportItem.isActive .rbImportLabel { animation: rbPulse 1.4s ease-in-out infinite; }
.rbImportItem.isDone .rbImportTick { background: #15803d; color: #fff; }
.rbImportItem.isDone .rbImportCheck { opacity: 1; transform: none; }

/* Builder */
.rbBuilderScreen { background: #111; }
.rbPreview { flex: 1; min-height: 0; position: relative; background: #1a1a1a; }
.rbPreviewFrame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #1a1a1a; }
.rbPreviewFrame.isLoading { visibility: hidden; pointer-events: none; }
.rbPreviewLoading {
    position: absolute; inset: 0; z-index: 5;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.875rem; background: #1a1a1a; color: #fff; text-align: center; padding: 1.5rem;
}
.rbPreviewSpinner {
    width: 2rem; height: 2rem; border-radius: 50%; flex-shrink: 0;
    border: 0.1875rem solid rgba(255, 255, 255, 0.18); border-top-color: #d7ff3f;
    animation: rbSpin 0.7s linear infinite;
}
.rbPreviewLoadingText { font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.01em; }
.rbChip {
    position: absolute; top: calc(env(safe-area-inset-top) + 1rem); left: 50%; transform: translateX(-50%); z-index: 20;
    display: flex; align-items: center; gap: 0.5rem; background: rgba(17, 17, 17, 0.8); color: #fff;
    padding: 0.4375rem 0.75rem 0.4375rem 0.4375rem; border-radius: 62.5rem; font-size: 0.8125rem; font-weight: 700;
    backdrop-filter: blur(0.5rem); -webkit-backdrop-filter: blur(0.5rem); white-space: nowrap; pointer-events: none;
}
.rbRing { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: conic-gradient(#d7ff3f var(--pct, 0%), rgba(255, 255, 255, 0.2) 0); display: grid; place-items: center; }
.rbRing::after { content: ''; width: 1rem; height: 1rem; border-radius: 50%; background: #1a1a1a; }
.rbPreviewBack { position: absolute; top: calc(env(safe-area-inset-top) + 1rem); left: 1rem; z-index: 20; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 0; background: rgba(17, 17, 17, 0.8); color: #fff; font-size: 1.375rem; line-height: 1; }
.rbSheet { flex-shrink: 0; height: 55%; background: #fff; border-radius: 1.5rem 1.5rem 0 0; margin-top: -1.5rem; position: relative; z-index: 10; display: flex; flex-direction: column; box-shadow: 0 -0.5rem 2rem rgba(0, 0, 0, 0.15); transition: height 0.3s ease; }
.rbSheet.isExpanded { height: 85%; }
.rbSheetHandle { border: 0; background: none; padding: 0.625rem 0 0.25rem; width: 100%; display: flex; justify-content: center; }
.rbSheetHandle i { width: 2.5rem; height: 0.3125rem; border-radius: 62.5rem; background: #ddd; display: block; }
.rbTabs { display: grid; grid-template-columns: repeat(var(--tabCount, 3), 1fr); gap: 0.25rem; margin: 0.25rem 1rem 0; background: #f0f0ec; border-radius: 0.875rem; padding: 0.25rem; flex-shrink: 0; }
.rbTab { border: 0; background: none; border-radius: 0.6875rem; padding: 0.625rem 0; font-weight: 700; font-size: 0.9375rem; color: #777; display: flex; align-items: center; justify-content: center; gap: 0.375rem; }
.rbTab.isActive { background: #fff; color: #111; box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.1); }
.rbTab i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #ddd; display: block; }
.rbTab.isComplete i { background: #22c55e; }
.rbTab.isNudge:not(.isComplete) i { background: #f59e0b; animation: rbPulse 1.2s infinite; }
@keyframes rbPulse { 50% { opacity: 0.3; } }
.rbSheetBody { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; -webkit-overflow-scrolling: touch; }
.rbPanel { display: none; }
.rbPanel.isActive { display: block; }
.rbSheetFooter { flex-shrink: 0; padding: 0.625rem 1.25rem calc(env(safe-area-inset-bottom) + 0.875rem); border-top: 0.0625rem solid #f0f0ec; }

.rbHeroUpload { position: absolute; left: 0; right: 0; top: 0; height: 70%; z-index: 15; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.rbHeroUpload.hasPhoto { left: auto; top: auto; height: auto; right: 1rem; bottom: 2.5rem; }
.rbHeroUploadBtn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.625rem 1rem; border: 0.0625rem solid rgba(17, 17, 17, 0.12); border-radius: 62.5rem; background: rgba(255, 255, 255, 0.92); color: #111; font-size: 0.875rem; font-weight: 700; line-height: 1; box-shadow: 0 0.2rem 0.75rem rgba(0, 0, 0, 0.18); pointer-events: auto; cursor: pointer; }
.rbHeroUpload.hasPhoto .rbHeroUploadBtn { padding: 0.5rem 0.75rem; font-size: 0.75rem; }
.rbHeroUploadIcon { width: 1rem; height: 1rem; flex-shrink: 0; }
.rbHeroUpload.isUploading .rbHeroUploadBtn { opacity: 0.6; pointer-events: none; }
.rbHeroUpload.isUploading #rbHeroUploadLabel::after { content: '\2026'; }

.rbPhotoDrop { display: flex; align-items: center; justify-content: center; width: 100%; height: 10rem; border-radius: 1.25rem; border: 0.125rem dashed #ccc; background: #fafafa center / cover no-repeat; cursor: pointer; position: relative; overflow: hidden; margin-bottom: 0.5rem; }
.rbPhotoDrop.hasPhoto { border: 0; }
.rbPhotoDrop.hasPhoto::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.35)); }
.rbPhotoDropLabel { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.875rem; border-radius: 62.5rem; background: rgba(255, 255, 255, 0.92); color: #111; font-size: 0.8125rem; font-weight: 700; box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.12); }
.rbPhotoDrop.hasPhoto .rbPhotoDropLabel { position: absolute; right: 0.75rem; bottom: 0.75rem; }
.rbPhotoDrop.isAvatar { flex-direction: column; gap: 0.75rem; border: 0.125rem dashed #ccc; background-size: 0 0; }
.rbPhotoDrop.isAvatar::before { position: static; inset: auto; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: inherit; background-size: cover; background-position: center; box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.15); }
.rbPhotoDrop.isAvatar .rbPhotoDropLabel { position: relative; right: auto; bottom: auto; }
.rbPhotoDrop.isUploading::after, .rbProductPhoto.isUploading::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, 0.6) linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.8) 50%, transparent 80%); background-size: 200% 100%; animation: rbShimmer 1.2s infinite; z-index: 2; }
@keyframes rbShimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }

.rbCircles { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.rbCircle { position: relative; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0.125rem solid rgba(0, 0, 0, 0.1); padding: 0; cursor: pointer; flex: 0 0 auto; overflow: hidden; isolation: isolate; background: transparent; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.rbCircle:active { transform: scale(0.94); }
.rbCircle.isLight { border-color: rgba(0, 0, 0, 0.18); }
.rbCircle.isSelected { border-color: #111; box-shadow: 0 0 0 0.125rem #fff, 0 0 0 0.25rem #111; }
.rbCircleHalf { position: absolute; inset: 0; display: block; }
.rbCircleMain { clip-path: polygon(0 0, 100% 0, 0 100%); }
.rbCircleAccent { clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.rbCircleRainbow::before, .rbCirclePicker:not(.hasCustomColor)::before { content: ''; position: absolute; inset: -35%; background: conic-gradient(#ff2d55, #ff9f1c, #facc15, #d7ff3f, #22d3ee, #3b82f6, #8b5cf6, #ff4fa3, #ff2d55); z-index: -1; }
.rbCircleRainbow::before { animation: rbSpin 8s linear infinite; }
@keyframes rbSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rbCircleRainbow::before { animation: none; } }
.rbCircleDice { background: linear-gradient(145deg, #1f2937, #111827); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.rbCircleDiceIcon { display: inline-flex; font-size: 1.125rem; line-height: 1; }
.rbCircleDiceIcon svg, .rbDiceIcon { width: 1.125rem; height: 1.125rem; display: block; }
.rbCircleDiceIcon svg path { fill: currentColor; }
.rbCirclePicker { display: inline-flex; align-items: center; justify-content: center; }
.rbCirclePicker span { font-size: 1.25rem; font-weight: 700; color: #111; text-shadow: 0 0 0.25rem rgba(255, 255, 255, 0.85); pointer-events: none; }
.rbCirclePicker.hasCustomColor span { opacity: 0; }
.rbColourInput { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; cursor: pointer; }
.rbColourBack { margin-bottom: 0.75rem; }
.rbColourName { margin: -0.25rem 0 0.5rem; font-size: 0.875rem; font-weight: 700; color: #111; min-height: 1.25rem; }

.rbSocialChips { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 0.625rem; }
.rbSocialChip { display: inline-flex; align-items: center; gap: 0.375rem; background: #f6fbf7; border: 0.0625rem solid #bbe5c7; border-radius: 62.5rem; padding: 0.25rem 0.25rem 0.25rem 0.75rem; font-size: 0.8125rem; font-weight: 700; max-width: 100%; }
.rbSocialChip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rbSocialAdd { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 0.5rem; align-items: center; }
.rbSocialAdd .rbInput { height: 3rem; font-size: 1rem; }
.rbSocialAdd .rbMiniBtn { height: 3rem; }
.rbSocialSelect { padding-right: 0.5rem; }
.rbRemoveBtn { border: 0; background: none; color: #999; font-size: 1.25rem; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; line-height: 1; }
.rbRemoveBtn:hover { background: rgba(0, 0, 0, 0.06); }
.rbLinkList { display: grid; gap: 0.5rem; margin-bottom: 0.75rem; }
.rbLinkItem { display: flex; align-items: center; gap: 0.625rem; background: #fafaf8; border: 0.0625rem solid #eee; border-radius: 0.875rem; padding: 0.625rem 0.5rem 0.625rem 0.875rem; font-size: 0.9375rem; }
.rbLinkItem div { flex: 1; min-width: 0; }
.rbLinkItem b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rbLinkItem span { display: block; color: #999; font-size: 0.75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rbEmptyNote { font-size: 0.8125rem; color: #999; margin: 0 0 0.75rem; }
.rbDiscover { margin-top: 1.25rem; }
.rbDiscoverHead { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.rbDiscoverStatus { font-size: 0.75rem; color: #999; }
.rbDiscoverList { display: grid; gap: 0.5rem; }
.rbDiscoverItem { display: flex; align-items: center; gap: 0.625rem; background: #fafaf8; border: 0.0625rem dashed #ddd; border-radius: 0.875rem; padding: 0.5rem 0.5rem 0.5rem 0.875rem; font-size: 0.9375rem; }
.rbDiscoverItem div { flex: 1; min-width: 0; }
.rbDiscoverItem b { display: block; }
.rbDiscoverItem span { display: block; color: #777; font-size: 0.8125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rbDiscoverView { font-size: 0.8125rem; font-weight: 700; color: #777; text-decoration: none; padding: 0 0.25rem; }

/* Goal tab */
.rbGoalIntro { font-size: 0.875rem; color: #555; margin: 0 0 0.875rem; line-height: 1.45; }
.rbProductItem { display: flex; align-items: center; gap: 0.75rem; background: #fafaf8; border: 0.0625rem solid #eee; border-radius: 0.875rem; padding: 0.5rem; margin-bottom: 0.5rem; }
.rbProductThumb { width: 2.75rem; height: 2.75rem; border-radius: 0.625rem; background: #eee center / cover no-repeat; flex-shrink: 0; }
.rbProductItem div { flex: 1; min-width: 0; }
.rbProductItem b { display: block; font-size: 0.9375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rbProductItem span { font-size: 0.8125rem; color: #777; }
.rbProductPhotoRow { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; }
.rbProductPhoto { width: 7.25rem; height: 7.25rem; border-radius: 1rem; border: 0.125rem dashed #ccc; background: #fafafa center / cover no-repeat; display: grid; place-items: center; font-size: 1.5rem; color: #aaa; flex-shrink: 0; cursor: pointer; position: relative; }
.rbProductPhoto.hasPhoto { border: 0; }
.rbProductPhoto.hasPhoto span { display: none; }
.rbProductFields { flex: 1; min-width: 0; display: grid; gap: 0.5rem; align-content: start; }
.rbProductFields .rbInput { height: 3.375rem; }
.rbPriceInput, .rbTipAmount { position: relative; display: block; }
.rbPriceInput span, .rbTipAmount span { position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%); font-weight: 800; color: #999; pointer-events: none; }
.rbPriceInput .rbInput, .rbTipAmount .rbInput { padding-left: 1.75rem; font-weight: 800; }
.rbTipAmounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 0.875rem; }
.rbStatRow { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; border-top: 0.0625rem solid #f0f0ec; }
.rbStatRow:first-child { border-top: 0; }
.rbStatRow .rbBrandDot { width: 2.25rem; height: 2.25rem; border-radius: 0.625rem; }
.rbStatRow div { flex: 1; min-width: 0; }
.rbStatRow b { display: block; font-size: 0.9375rem; }
.rbStatRow span { font-size: 0.8125rem; color: #777; }
.rbStatSynced { font-size: 0.75rem; font-weight: 800; color: #15803d; white-space: nowrap; }
.rbStatForm { margin-top: 0.75rem; }
.rbReachTotal { display: flex; justify-content: space-between; align-items: baseline; background: #111; color: #fff; border-radius: 1rem; padding: 0.875rem 1rem; margin-bottom: 0.75rem; }
.rbReachTotal b { font-size: 1.5rem; letter-spacing: -0.02em; }
.rbReachTotal span { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.65); }

/* Launch */
.rbMiniProfile { display: flex; align-items: center; gap: 0.75rem; background: #fff; border-radius: 1.125rem; padding: 0.625rem 0.875rem 0.625rem 0.625rem; margin-bottom: 1.5rem; border: 0.0625rem solid #e5e5e0; }
.rbMiniAvatar { width: 3rem; height: 3rem; border-radius: 0.75rem; background: #eee center / cover no-repeat; flex-shrink: 0; }
.rbMiniProfile div { min-width: 0; }
.rbMiniProfile b { display: block; font-size: 0.9375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rbMiniProfile span { font-size: 0.8125rem; color: #777; }
.rbMiniProfile em { margin-left: auto; font-style: normal; font-size: 0.75rem; font-weight: 700; color: #b45309; background: #fef3c7; padding: 0.25rem 0.5rem; border-radius: 62.5rem; white-space: nowrap; }
.rbPlanCard { background: #fff; border-radius: 1.5rem; padding: 1.5rem 1.25rem 1.25rem; border: 0.125rem solid #111; box-shadow: 0 0.375rem 0 #111; position: relative; margin-top: 0.75rem; }
.rbPlanBadge { position: absolute; top: -0.875rem; left: 1.25rem; background: #d7ff3f; color: #111; font-weight: 800; font-size: 0.8125rem; padding: 0.375rem 0.75rem; border-radius: 62.5rem; border: 0.125rem solid #111; }
.rbPlanHead { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.rbPlanName { font-size: 1.5rem; font-weight: 800; }
.rbPlanPrice { font-size: 1.875rem; font-weight: 800; letter-spacing: -0.03em; }
.rbPlanPrice small { font-size: 0.875rem; color: #777; font-weight: 600; letter-spacing: 0; }
.rbPlanPro { font-size: 0.875rem; color: #555; margin: 0.25rem 0 1rem; line-height: 1.4; }
.rbPlanPro s { color: #999; }
.rbIntervalToggle { display: grid; grid-template-columns: 1fr 1fr; background: #f0f0ec; border-radius: 0.875rem; padding: 0.25rem; margin-bottom: 1.25rem; }
.rbIntervalToggle button { border: 0; background: none; border-radius: 0.6875rem; min-height: 2.75rem; font-weight: 700; font-size: 0.875rem; color: #666; padding: 0.25rem; }
.rbIntervalToggle button.isActive { background: #fff; color: #111; box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.1); }
.rbIntervalToggle em { font-style: normal; color: #15803d; display: block; font-size: 0.6875rem; }
.rbLeadBox { background: #f6ffe0; border: 0.0625rem solid #d9f28a; border-radius: 1rem; padding: 0.875rem 1rem; margin-bottom: 1.125rem; }
.rbLeadBox b { display: block; font-size: 0.9375rem; margin-bottom: 0.25rem; }
.rbLeadBox p { margin: 0; font-size: 0.8125rem; color: #444; line-height: 1.45; }
.rbLeadMath { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.625rem; }
.rbLeadMath div { background: #fff; border-radius: 0.75rem; padding: 0.5rem 0.625rem; font-size: 0.75rem; color: #666; }
.rbLeadMath strong { display: block; font-size: 1.0625rem; color: #111; }
.rbLeadMath .isWin strong { color: #15803d; }
.rbPlanListLabel { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; color: #888; margin: 0 0 0.5rem; }
.rbPlanList { list-style: none; padding: 0; margin: 0 0 1.125rem; display: grid; gap: 0.5rem; font-size: 0.9375rem; }
.rbPlanList:last-child { margin-bottom: 0; }
.rbPlanList li { display: flex; gap: 0.5rem; align-items: flex-start; line-height: 1.35; }
.rbPlanList li::before { content: '\2713'; font-weight: 800; color: #15803d; flex-shrink: 0; }
.rbPlanList.isPro li::before { content: '\2605'; color: #111; }
.rbPlanList .isLead { font-weight: 800; }
.rbVerifyActions { display: flex; justify-content: center; gap: 1.5rem; margin: 1rem 0 0.75rem; }
[data-step="verify"] .rbSubtitle b { word-break: break-word; }
[data-step="verify"] .rbHint { text-align: center; }
.rbCodeInput { width: 100%; height: 4rem; margin-top: 0.5rem; background: #fff; border: 0.0625rem solid #ddd; border-radius: 1rem; text-align: center; font-size: 1.5rem; font-weight: 800; letter-spacing: 0.75rem; padding-left: 0.75rem; outline: none; }
.rbCodeInput:focus { border-color: #111; }
.rbPlanFine { text-align: center; font-size: 0.75rem; color: #888; margin-top: 0.625rem; }
.rbStarterLink { display: block; width: 100%; margin-top: 0.5rem; padding: 0.5rem 0; border: 0; background: none; color: #666; font-size: 0.875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 0.1875rem; cursor: pointer; }
.rbStarterLink:disabled { opacity: 0.5; cursor: default; }

/* Desktop — everything below is desktop-only; mobile and tablet use the rules above */
@media (min-width: 64rem) {
    body.registerBuildBody { padding: 2rem; background: radial-gradient(60rem 40rem at 50% 0%, #f3ffd1 0%, rgba(243, 255, 209, 0) 70%), #e9e9e4; }
    .registerBuild { max-width: 36rem; height: min(54rem, calc(100vh - 4rem)); transition: max-width 0.35s ease; }
    .registerBuild:has(.rbBuilderScreen.isActive) { max-width: 78rem; }
    .registerBuild:has([data-step="launch"].isActive) { max-width: 60rem; }

    /* Flow screens: roomier column */
    .rbTop { padding: 1.5rem 2.5rem 0.5rem; }
    .rbBody { padding: 1.5rem 2.5rem 2rem; }
    .rbFooter { padding: 1rem 2.5rem 1.75rem; }
    /* Claim: one centred block — field, button, then proof */
    .rbClaimScreen.isActive { justify-content: center; padding: 2.5rem 3rem; }
    .rbClaimScreen .rbBody, .rbClaimScreen .rbFooter { display: contents; }
    .rbClaimScreen .rbLogo { order: 1; margin-top: 0; }
    .rbClaimScreen .rbTitle { order: 2; }
    .rbClaimScreen .rbSubtitle { order: 3; }
    .rbClaimScreen .rbHandleGroup { order: 4; }
    .rbClaimScreen .rbHandleStatus { order: 5; }
    .rbClaimScreen .rbSuggestions { order: 6; }
    .rbClaimScreen #rbClaimBtn { order: 7; margin-top: 1rem; flex-shrink: 0; }
    .rbClaimScreen .rbProof { order: 8; margin-bottom: 0; padding-top: 2rem; }
    .rbClaimScreen .rbLoginLink { order: 9; margin-top: 1.5rem; }
    .rbClaimScreen .rbLegal { order: 10; }
    .rbCreatorMarquee {
        --rbCreatorGap: 0.75rem;
        margin: 0 -3rem;
        width: calc(100% + 6rem);
        gap: 0.75rem;
    }
    .rbCreatorTrack { display: flex; }
    .rbClaimScreen.isActive .rbCreatorTrack { animation: rbCreatorScroll var(--rbCreatorDuration, 90s) linear infinite; }
    .rbClaimScreen.isActive .rbCreatorTrack.isReverse { animation-name: rbCreatorScrollReverse; }
    .rbCreatorFace { width: 3rem; height: 3rem; }
    .rbTitle { font-size: 2.25rem; }
    .rbTitleXl { font-size: 3rem; }
    .rbSubtitle { font-size: 1.0625rem; }

    .rbToast { left: 50%; right: auto; width: min(26rem, calc(100% - 2rem)); transform: translate(-50%, -0.75rem); }
    .rbToast.isShown { transform: translate(-50%, 0); }

    /* Goal: 2 × 2 cards */
    .rbGoalList { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .rbGoalCard { flex-direction: column; align-items: flex-start; gap: 0.625rem; min-height: 10rem; padding: 1.25rem; }
    .rbGoalCard .rbArrow { display: none; }
    .rbGoalEmoji { width: auto; font-size: 2rem; text-align: left; }

    /* Builder: phone preview on a stage, editor column on the right */
    .rbBuilderScreen { flex-direction: row; }
    .rbPreview { background: radial-gradient(40rem 30rem at 50% 40%, #2a2a2a 0%, #141414 70%); }
    .rbPreviewFrame { inset: auto; left: 50%; top: 50%; width: 24rem; height: calc(100% - 8rem); max-height: 50rem; transform: translate(-50%, -50%); border-radius: 2.25rem; box-shadow: 0 0 0 0.5rem #0a0a0a, 0 2rem 4rem rgba(0, 0, 0, 0.5); }
    .rbChip { top: 1.25rem; }
    .rbPreviewBack { top: 1.25rem; left: 1.25rem; background: rgba(255, 255, 255, 0.14); }
    .rbHeroUpload { left: 50%; right: auto; top: max(4rem, calc(50% - 25rem)); width: 24rem; height: calc(min(100% - 8rem, 50rem) * 0.55); transform: translateX(-50%); }
    .rbHeroUpload.hasPhoto { left: auto; right: calc(50% - 11rem); top: auto; bottom: max(5rem, calc(50% - 24rem)); width: auto; height: auto; transform: none; }
    .rbSheet, .rbSheet.isExpanded { width: 30rem; height: auto; margin-top: 0; border-radius: 0; box-shadow: -0.5rem 0 2rem rgba(0, 0, 0, 0.12); }
    .rbSheetHandle { display: none; }
    .rbTabs { margin: 1.25rem 1.5rem 0; }
    .rbSheetBody { padding: 1.25rem 1.5rem; }
    .rbSheetFooter { padding: 0.875rem 1.5rem 1.25rem; }
    .rbPhotoDrop { height: 12rem; }
    .rbCircle { width: 2.75rem; height: 2.75rem; }

    /* Launch: price + billing left, what's included right */
    [data-step="launch"] .rbBody { padding-left: 3rem; padding-right: 3rem; }
    .rbMiniProfile { max-width: 26rem; }
    .rbPlanCard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; padding: 2rem; }
    .rbPlanLists { padding-left: 2.5rem; border-left: 0.0625rem solid #eee; }
    .rbLeadBox { margin-bottom: 0; }
    .rbPlanPrice { font-size: 2.25rem; }
    [data-step="launch"] .rbFooter { width: 100%; max-width: 28rem; margin: 0 auto; background: none; }

    @media (hover: hover) {
        .rbGoalCard:not(.isSelected):hover { border-color: #111; }
        .rbChoiceGroup:not(.isSelected):hover { border-color: #bbb; }
        .rbNetworkBtn:not(.isSelected):hover { border-color: #bbb; }
        .rbCircle:hover { transform: scale(1.08); }
        .rbBtn:not(:disabled):hover { opacity: 0.9; }
        .rbTab:not(.isActive):hover { color: #111; }
        .rbSuggestion:hover, .rbMiniBtn:not(.rbMiniBtnDark):hover { border-color: #111; }
    }
}
