@font-face {
  font-family: 'Setup Inter';
  src: url('/vendor/font/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
.setup-ui, .setup-dialog, .page-canvas {
  --accent: #ff4d4d;
  --setup-ink: #101828;
  --setup-muted: #647084;
  --setup-line: rgba(31,41,55,.12);
  --setup-shadow: 0 4px 8px rgba(0,0,0,.06), 0 0 2px rgba(0,0,0,.06);
  font: 400 14px/20px 'Setup Inter',system-ui,sans-serif;
}
.setup-ui, .setup-dialog { color-scheme: light; color: var(--setup-ink); }
.setup-ui :is(button,input,textarea,select), .setup-dialog :is(button,input,textarea,select) { font: inherit; }
:where(.setup-ui,.setup-dialog,.page-canvas,.sponsor-form,.canvas-tools) :is(button,a,summary,[role="button"],[tabindex="0"]):focus-visible {
  outline: 1px solid currentColor; outline-offset: 1px;
}
:where(.setup-ui,.setup-dialog,.page-canvas,.sponsor-form) :is(input,textarea,select):focus-visible {
  outline: none; border-color: currentColor; box-shadow: none;
}
:where(.setup-ui,.setup-dialog,.page-canvas,.sponsor-form) input:is([type="checkbox"],[type="radio"]):focus-visible {
  outline: 1px solid currentColor; outline-offset: 2px;
}
.setup-ui :is(h1,p,blockquote,figure), .setup-dialog p { margin: 0; }
.setup-wordmark { display: inline-flex; gap: 9px; align-items: center; color: #121828; width: fit-content; text-decoration: none; }
.setup-wordmark .brand { display: inline-flex; color: inherit; }
.setup-primary, .setup-secondary, .setup-back, .account-text, .setup-quiet {
  display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 32px;
  padding: 4px 10px; border-radius: 10px; font-weight: 500; line-height: 20px;
}
button.setup-primary { color: #fff; background: linear-gradient(#d33e3e,#fb4c4c); border: 1px solid #ff4d4d; box-shadow: inset 0 1px 0 #ff8282, inset 0 0 0 1px #ff6666, 0 1px 3px #0000000a; }
button.setup-primary:hover:enabled { filter: brightness(1.06); }
.setup-primary:active:enabled, .setup-secondary:active:enabled { transform: translateY(1px); }
button.setup-secondary, a.setup-secondary.provider-option { color: #182436; background: linear-gradient(#fff,#fafafb); border: 1px solid var(--setup-line); box-shadow: 0 1px 3px #0000000a; text-decoration: none; }
button.setup-secondary:hover:enabled, a.setup-secondary.provider-option:hover { border-color: #a4aab2; }
.setup-back, .setup-quiet, .account-text { background: none; color: #475569; border: 0; }
.setup-back:hover, .setup-quiet:hover, .account-text:hover { background: #f4f5f6; }
.setup-ui button[disabled] { opacity: 1; color: #98a2b3; background: #f2f3f5; border-color: transparent; box-shadow: none; }
.setup-ui [hidden], .setup-dialog [hidden] { display: none !important; }

.scene-marigold { --scene: url('/assets/onboarding/marigold.jpg'); --scene-color: #eec020; }
.scene-fresco { --scene: url('/assets/onboarding/fresco.jpg'); --scene-color: #b6a595; }
.scene-alpine { --scene: url('/assets/onboarding/alpine.jpg'); --scene-color: #283547; }
.scene-technology { --scene: url('/assets/onboarding/feed-gradient.png'); --scene-color: #303650; }
.scene-sports { --scene: linear-gradient(142deg,#293c56,#386064 60%,#a9bb91); --scene-color: #386064; }
.scene-paper { --scene: linear-gradient(145deg,#f7f6f4,#e3e1dc); --scene-color: #f3f2ef; }
.scene-lilac { --scene: linear-gradient(135deg,#9b9aca,#d7c4dd 60%,#f5decd); --scene-color: #c7b4d2; }
.scene-coral { --scene: linear-gradient(125deg,#ffa068,#f05f54 60%,#be3546); --scene-color: #f26c55; }
.scene-business { --scene: linear-gradient(145deg,#172636,#4e6570 70%,#7d9a9e); --scene-color: #3b515f; }
.scene-wildlife { --scene: linear-gradient(140deg,#192f26,#426444 54%,#c1bb79); --scene-color: #426444; }
.scene-ink { --scene: linear-gradient(130deg,#212329,#343b45); --scene-color: #212329; }

.account-scene, .setup-sections { padding: 24px; min-height: 100dvh; }
.setup-sections { background: #1a191f url('/assets/onboarding/account-pattern.png') center/cover; }
.account-scene {
  display: grid; grid-template-columns: minmax(0,calc(50% + 20px)) minmax(0,1fr); gap: 24px;
  background-color: #1a191f;
  background-image: linear-gradient(#2c2e39 1px,transparent 1px), linear-gradient(90deg,#2c2e39 1px,transparent 1px);
  background-size: 64px 64px;
}
.account-paper, .setup-sections .setup-paper { background: #fff; border-radius: 24px; padding: 32px; }
.account-paper { display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 1; }
.account-paper header { display: flex; }
[data-account-panel] { flex: 1; display: grid; width: 100%; align-items: center; justify-items: center; padding: 16px 0; }
.account-fields { width: min(100%,432px); display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.signup-fields { max-width: 388px; }
.account-fields h1 { color: #010101; text-align: center; font-size: 25px; line-height: 32px; font-weight: 600; letter-spacing: -.025em; margin: 0 0 16px; }
.account-fields > p { color: #475569; text-align: center; }
.account-plan { align-self: center; font-size: 14px; line-height: 22px; padding: 0 5px; color: #2154ff; background: #eff4ff; border: 1px solid #3566ff; border-radius: 5px; margin-bottom: -8px; }
.account-options, .account-fields form { display: grid; gap: 8px; }
.account-fields form { gap: 14px; }
.account-fields label, .setup-field { display: grid; gap: 4px; color: #6b7280; font-size: 12px; font-weight: 400; }
.account-fields input, .setup-field > :is(input,textarea,select) { display: block; width: 100%; height: 32px; padding: 5px 11px; border: 1px solid var(--setup-line); border-radius: 10px; background: #fff; color: #182436; font-size: 14px; }
.setup-field > textarea { min-height: 66px; resize: vertical; }
.setup-ui input::placeholder, .setup-dialog input::placeholder, .setup-ui textarea::placeholder { color: #85858a; }
.password-field { display: block; position: relative; }
.password-field input { padding-right: 40px; }
.password-field button { display: grid; place-items: center; position: absolute; right: 3px; top: 0; height: 32px; width: 36px; color: #475569; }
.account-fields [data-reset] { justify-self: start; margin-top: -10px; }
.account-fields form > .setup-primary { margin-top: 5px; }
.account-divider { display: flex; align-items: center; gap: 16px; color: #637083; line-height: 18px; }
.account-divider::before, .account-divider::after { content: ''; height: 1px; flex: 1; background: var(--setup-line); }
.email-choice { align-self: center; min-height: 36px; }
.account-paper footer { text-align: center; color: #121212; padding: 2px 0; }
.account-paper footer a { color: inherit; text-decoration: underline; text-underline-offset: 2px; margin-left: 3px; }
.setup-ui .provider-option:disabled { opacity: .72; color: #344054; background: linear-gradient(#fff,#fafafb); border: 1px solid var(--setup-line); box-shadow: 0 1px 3px #0000000a; }
.account-paper .account-local { padding: 3px 6px; border: 0; background: transparent; color: #677180; text-decoration: underline; font-size: 12px; }
.account-example { position: relative; display: grid; place-items: center; isolation: isolate; }
.account-quote { width: min(100%,830px); padding: 32px; border-radius: 24px; border: 1px solid #374151; background: #1d1c22; color: white; position: relative; z-index: 1; }
.quote-glyph { font: bold 44px/34px Georgia,serif; height: 34px; width: 34px; color: #596170; }
.account-quote blockquote { font-size: 24px; line-height: 32px; font-weight: 600; margin: 16px 0 24px; letter-spacing: -.018em; }
.account-quote figcaption { display: flex; align-items: center; gap: 16px; font-size: 18px; line-height: 24px; }
.account-quote figcaption strong, .account-quote figcaption span:not(.setup-mark) { display: block; }
.account-quote figcaption strong { font-style: italic; font-weight: 600; }
.account-quote figcaption span:not(.setup-mark) { color: #99a2b2; }
.quote-picture { width: 80px; height: 80px; display: grid; place-items: center; background: var(--scene) center/cover; border: 2px solid #374151; border-radius: 16px; }
.quote-picture .setup-mark { background: transparent; width: 51px; height: 51px; }

.setup-sections .setup-paper { min-height: calc(100dvh - 48px); display: flex; flex-direction: column; }
.setup-header { display: flex; align-items: center; justify-content: space-between; }
.setup-sections .setup-body { flex: 1; display: grid; align-content: center; padding-top: 24px; }
.setup-form { min-width: 0; }
.setup-sections .setup-form { width: min(100%,836px); margin-inline: auto; }
.setup-sections[data-step="about-you"] .setup-form { width: min(100%,624px); }
.setup-sections[data-step="referral-source"] .setup-form { width: min(100%,1048px); }
.goal-heading { text-align: center; margin-bottom: 24px; }
.goal-heading small { font-size: 12px; line-height: 16px; color: #667085; }
.goal-heading h1 { margin: 8px 0 0; color: #1f2937; font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -.025em; }
.goal-heading #answer-hint { margin-top: 8px; color: #667085; }
.section-tiles { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 0; padding: 0; border: none; }
[data-step="about-you"] .section-tiles { grid-template-columns: repeat(3,minmax(0,1fr)); }
.section-tile { position: relative; aspect-ratio: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 16px; cursor: pointer;
  border: 1px solid #d6d9dd; border-radius: 12px; background: #fff; box-shadow: 0 3px 7px #00000012; text-align: center; color: #162235; }
.section-tile input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.section-tile:has(input:focus-visible) { outline: 1px solid currentColor; outline-offset: 1px; }
.section-tile:hover { border-color: #aeb4bb; }
.section-tile:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: #f9fafb; }
.tile-check { position: absolute; top: 16px; right: 16px; width: 16px; height: 16px; display: grid; place-items: center; border: 1px solid var(--setup-line); border-radius: 6px; color: transparent; background: #fff; }
.section-tile:has(input:checked) .tile-check { border-color: #ff4d4d; background: var(--accent); color: white; }
.tile-art { object-fit: contain; width: min(100%,120px); min-height: 0; flex: 1; mix-blend-mode: multiply; }
.tile-name { display: grid; place-items: center; min-height: 40px; max-width: 156px; font-size: 14px; font-weight: 500; line-height: 20px; }
.section-tile.section-tile-row {
  grid-column: 1 / -1; aspect-ratio: auto; min-height: 58px; flex-direction: row;
  padding: 0 44px 0 12px; gap: 8px; text-align: left; box-shadow: none;
}
.section-tile-row:has(input:checked) { box-shadow: inset 0 0 0 1px var(--accent); }
.section-tile-row .tile-name { min-height: 0; font-weight: 400; }
.tile-inline-icon { display: grid; place-items: center; width: 16px; height: 16px; flex: none; }
.section-tile-row .tile-check { top: 50%; transform: translateY(-50%); }
.section-tile-row:not(:has(input:checked)) .tile-check { visibility: hidden; }
.setup-form > footer { position: relative; display: flex; align-items: center; justify-content: center; }
.setup-sections .setup-form > footer { justify-content: flex-end; margin-top: 32px; }
.setup-sections .setup-form > footer .setup-primary { min-width: 72px; }
[data-step="welcome"] .setup-form > footer:has(.setup-back) { justify-self: stretch; }

.setup-split { display: grid; grid-template-columns: 50% minmax(0,1fr); align-items: start; overflow-x: clip; background: #f6f6f6; }
.setup-split[data-layout="spotlight"] { grid-template-columns: 100% minmax(0,1fr); }

.setup-split[data-layout="spotlight"] :is(.setup-preview,.setup-mobile-preview) { visibility: hidden; pointer-events: none; }
@media (min-width: 761px) {
  .setup-split .setup-preview { width: 50vw; }
  .setup-split:is([data-step="appearance"],[data-step="profile"]) .setup-body {width:min(100%, calc(50vw - 2 * clamp(20px,4.93vw,82px)), 568px)}
  .setup-split[data-step="appearance"] .setup-paper { height: 100dvh; overflow-y: auto; align-content: safe center; }
}
@media (prefers-reduced-motion: no-preference) {
  .setup-split { transition: grid-template-columns 320ms cubic-bezier(.2,.75,.25,1); }
  .setup-split[data-layout="spotlight"] .setup-preview { transition: visibility 0s 320ms; }
}
.setup-split .setup-paper { min-height: 100dvh; min-width: 0; display: grid; align-content: center; padding: 20px clamp(20px,4.93vw,82px) 28px; position: relative; isolation: isolate; }
.setup-split:where(:not(.workspace-profile-screen)) .setup-paper::before { position: absolute; content: ''; inset: 20px 0 0 20px; background: #fff; z-index: -1; }
.setup-split .setup-body { width: 100%; max-width: 568px; margin-inline: auto; }
@media (min-width: 761px) { .setup-split .setup-body { position: relative; left: -5px; } }
.setup-mobile-preview { display: none; }
@media (prefers-reduced-motion: no-preference) {
  :root:active-view-transition-type(editor-forward) { --editor-travel: 16px; }
  :root:active-view-transition-type(editor-back) { --editor-travel: -16px; }
  :root:active-view-transition-type(editor-forward, editor-back)::view-transition-old(root) {
    animation: editor-screen-out 180ms ease-out both;
  }
  :root:active-view-transition-type(editor-forward, editor-back)::view-transition-new(root) {
    animation: editor-screen-in 220ms cubic-bezier(.2,.75,.25,1) both;
  }
  @keyframes editor-screen-out { to { opacity: 0; transform: translateX(calc(-1 * var(--editor-travel))); } }
  @keyframes editor-screen-in { from { opacity: 0; transform: translateX(var(--editor-travel)); } }
}
:is([data-step="welcome"],[data-step="appearance"]) .setup-paper {
  background-color: #fff;
  background-image: linear-gradient(to right, #f6f6f6 1px, transparent 1px),
    linear-gradient(to bottom, #f6f6f6 1px, transparent 1px);
  background-size: 35px 35px;
  background-position: center -2px;
}
:is([data-step="welcome"],[data-step="appearance"]) .setup-paper::before { content: none; }
[data-step="welcome"] .setup-paper { padding: 34px clamp(18px,6.16vw,115px) 44px; }
[data-step="appearance"][data-layout="spotlight"] .setup-paper::before {
  content: ''; inset: 0; background: var(--scene) center/cover,var(--scene-color);
  filter: blur(24px); clip-path: inset(0);
}
[data-step="appearance"][data-layout="spotlight"] .setup-paper { background: var(--scene-color); }
@media (min-width: 761px) {
  [data-step="appearance"] .setup-paper { padding-block: 17.5px 27.5px; }
}
[data-step="welcome"] .setup-form { display: grid; justify-items: center; gap: 34px; }
.welcome-emblem { display: grid; place-items: center; width: 95px; height: 95px; }
.welcome-emblem .setup-mark { width: 86px; height: 86px; border-radius: 50%; box-shadow: inset 0 -4px 8px #ffffff4f, 0 3px 3px #bf363647; }
.welcome-emblem svg { width: 66%; }
.welcome-copy { text-align: center; }
.welcome-copy h1, .welcome-copy p { font-size: 25px; line-height: 32px; letter-spacing: .1px; font-weight: 700; }
.welcome-copy h1 { color: #010101; }
.welcome-copy h1 span { color: var(--accent); }
.welcome-copy p { color: #aaa; }
.welcome-demo { width: 100%; max-width: 532.5px; aspect-ratio: 16/9; position: relative; border-radius: 15px; overflow: hidden; background: #ff6957 url('/assets/onboarding/welcome-poster.jpg') center/cover; container-type: inline-size; }
.demo-input, .demo-action { position: absolute; display: flex; align-items: center; justify-content: center; gap: .6cqw; left: 50%; transform: translate(-50%,-50%); border-radius: .95cqw; font-size: 1.53cqw; line-height: 1; }
.demo-input { top: 50%; width: 40%; height: 8.5%; background: #fff; color: #5a6370; justify-content: flex-start; padding: 0 1.4cqw; }
.demo-input b { font-weight: 500; color: #151b23; display: inline-block; vertical-align: bottom; overflow: hidden; white-space: nowrap; animation: demo-type 9.009s steps(13,end) infinite; }
.demo-input svg, .demo-action svg { width: 2.1cqw; height: 2.1cqw; }
.demo-action { top: 63.8%; background: #f8f9fa; color: #66717c; width: 23.5%; height: 9%; }
.demo-action > span { position: absolute; display: inline-flex; align-items: center; gap: .5cqw; }
.demo-action > span:first-child { animation: demo-create 9.009s linear infinite; }
.demo-success { opacity: 0; animation: demo-ready 9.009s linear infinite; }
@keyframes demo-type { 0%,15% { max-width: 0; } 50%,100% { max-width: 14ch; } }
@keyframes demo-create { 0%,57%,100% { opacity: 1; } 62%,96% { opacity: 0; } }
@keyframes demo-ready { 0%,57%,100% { opacity: 0; } 62%,96% { opacity: 1; } }
.setup-preview { position: sticky; top: 0; height: 100dvh; overflow: hidden; isolation: isolate; background: var(--scene) center/cover, var(--scene-color,#f6f6f6); }
.setup-preview.preview-neutral { background: #f6f6f6; }
.preview-widgets { display: grid; gap: 16px; width: min(calc(100% - 48px),426px); padding-top: 48px; margin: 0 auto; position: relative; left: -5px; }
.preview-widget { display: grid; row-gap: 16px; padding: 27px 22px 25px 24px; background: #fff; border-radius: 9px; box-shadow: 0 4px 8px #0000000a,0 0 2px #00000008; min-width: 0; }
@media (prefers-reduced-motion: no-preference) {
  .preview-enter .preview-widget { animation: widget-arrive 1.2s cubic-bezier(.2,.8,.2,1) both; animation-delay: .2s; }
  .preview-enter .preview-widget:nth-child(2) { animation-delay: .4s; }
  .preview-enter .preview-widget:nth-child(3) { animation-delay: .6s; }
  .preview-enter .preview-widget:nth-child(4) { animation-delay: .8s; }
  .preview-enter .preview-widget:nth-child(5) { animation-delay: 1s; }
  .preview-enter .preview-widget:nth-child(6) { animation-delay: 1.2s; }
}
@keyframes widget-arrive { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
.widget-top { display: flex; align-items: center; justify-content: space-between; height: 30px; }
.preview-widget i { display: block; height: 30px; border-radius: 71px; background: linear-gradient(90deg,#fbfbfb,#f7f7f7); }
.widget-top i { width: 35%; }
.preview-widget > span { min-height: 30px; line-height: 30px; color: #4b5563; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.network-mark { display: inline-grid; align-items: center; flex: none; width: 30px; height: 30px; object-fit: contain; }
.network-instagram { color: #bd327e; }

.design-card, .profile-card { background: #fff; border-radius: 10px; border: 1px solid #f2f2f2; box-shadow: var(--setup-shadow); min-width: 0; }
.design-card { padding: 24px; display: grid; gap: 16px; border: 0; }
.design-card > .setup-wordmark .setup-mark { width: 35px; height: 35px; }
.design-card > .setup-wordmark { --brand-wordmark-height: 22px; }
.design-card .theme-choices { max-width: 488px; row-gap: 16px; }
[data-layout="spotlight"] .design-card .theme-choices { max-width: none; }
.design-card .layout-choices { justify-self: center; width: 100%; max-width: 514px; column-gap: min(7%,36px); }
.design-card > h1, .design-card > p, .profile-content > p { font-size: 14px; font-weight: 500; line-height: 20px; color: #111; letter-spacing: -.015em; }
.design-card p span { color: #64646a; font-weight: 400; }
.design-card hr { width: 100%; border: 0; border-top: 1px solid var(--setup-line); margin: 0; }
.layout-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(14px,2.5vw,36px); }
button.layout-tile { display: flex; flex-direction: column; align-items: stretch; gap: 8px; line-height: 20px; color: #121212; text-align: left; font-weight: 500; border: 0; background: transparent; padding: 0; min-width: 0; border-radius: 10px; }
.layout-picture { position: relative; display: block; border-radius: 10px; }
.layout-picture > img { width: 100%; display: block; aspect-ratio: 239/153; object-fit: cover; border-radius: inherit; }
.layout-tile[aria-pressed="true"] .layout-picture { outline: 2px solid #121212; }
.selection-tick { display: none; position: absolute; top: 6px; left: 6px; border-radius: 50%; width: 24px; height: 24px; place-items: center; border: 2px solid white; color: #fff; background: #31c52e; }
.layout-tile[aria-pressed="true"] .selection-tick { display: grid; }
.layout-name { padding-left: 2px; }
.theme-choices { display: flex; flex-wrap: wrap; gap: 14px 16px; }
.theme-choices button { border: 1px solid var(--setup-line); border-radius: 100px; padding: 8px 16px; line-height: 20px; background: #fff; color: #101010; font-weight: 500; }
.theme-choices button:hover, .theme-choices button[aria-pressed="true"] { border-color: #222; }
[data-step="appearance"] .setup-form > footer, [data-step="profile"] .setup-form > footer { margin-top: clamp(24px,7vh,50px); }
@media (min-width: 761px) {
  [data-step="appearance"] .setup-form > footer { margin-top: 50px; }
}
.setup-split[data-layout="spotlight"] .setup-back { background: #fff; border: 1px solid var(--setup-line); }
.setup-form > footer .setup-back { position: absolute; left: 0; font-size: 12px; }
[data-step="profile"]:where(:not(.workspace-profile-screen)) .setup-paper { background: var(--scene-color,#e7e4de); }
[data-step="profile"]:where(:not(.workspace-profile-screen)) .setup-paper::before { inset: 0; background: linear-gradient(#ffffffa6,#ffffffa6),var(--scene) center/cover; filter: blur(24px); clip-path: inset(0); }
html:has(.setup-split[data-step="profile"]) { scrollbar-width: none; }
.setup-split[data-step="profile"] { align-items: stretch; }
.setup-split[data-step="profile"] .setup-paper { display: block; padding: 0; }
.setup-split[data-step="profile"] .setup-preview { position: static; height: auto; min-height: 100dvh; overflow: visible; }
.setup-split[data-step="profile"][data-layout="spotlight"] .setup-preview { display: none; }
.setup-split[data-step="profile"] .preview-widgets { padding-bottom: 24px; }
.setup-split[data-step="profile"] .setup-body { width: 100%; max-width: none; left: auto; }
@media (min-width: 761px) {
  .setup-split[data-step="profile"] .setup-body,
  .setup-split[data-step] .setup-preview {
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: none;
  }
  .setup-split[data-step] .setup-preview::-webkit-scrollbar { display: none; }
}
[data-step="profile"] .setup-form { display: flex; flex-direction: column; justify-content: center; min-height: 100dvh; }
.profile-scroll { padding: 20px 16px 8px; }
.profile-scroll .profile-card, .profile-scroll > .form-error { width: min(100%,568px); margin-inline: auto; }

.setup-ui[data-step="profile"] .setup-form > footer { flex: none; gap: 16px; margin: 0; padding: 16px 12px max(16px,env(safe-area-inset-bottom)); }
@media (min-width: 981px) {
  [data-layout="feed"] .profile-scroll .profile-card { width: min(39.45vw,568px); }
}
@media (max-width: 760px) {
  .profile-scroll { padding-top: 60px; }
}
.profile-card { overflow: hidden; }
.profile-banner { aspect-ratio: 4/1; position: relative; background: #f6f6f6; }
@media (min-width: 761px) {
  .profile-scroll .profile-banner { width: 100%; max-height: clamp(84px,calc(100dvh - 665px),162px); }
}
@media (min-width: 761px) and (max-height: 740px) {
  .profile-scroll .profile-content, .profile-scroll .setup-socials { row-gap: 12px; }
  .profile-scroll .profile-background { padding-top: 8px; }
}
.profile-banner > img { width: 100%; height: 100%; object-fit: cover; }
.profile-cover-edit { position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; opacity: 0; }
.profile-banner:hover .profile-cover-edit, .profile-banner:focus-within .profile-cover-edit { opacity: 1; }
@media (hover: none) { .profile-cover-edit { opacity: 1; } }
.avatar-picker { position: absolute; bottom: -20%; left: 5%; display: grid; place-items: center; aspect-ratio: 1; width: min(17%,96px); cursor: pointer; border-radius: 50%; }
.avatar-picker > [data-avatar] { width: 100%; height: 100%; }
.avatar-picker .portrait { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 4px solid #fff; background: #316bff; color: #fff; font-size: 19px; font-weight: 600; }
.avatar-picker:has(input:focus-visible) { outline: 1px solid #535353; }
.avatar-picker input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.avatar-edit { position: absolute; right: 1px; bottom: 3px; border-radius: 50%; color: #344054; background: white; padding: 3px; display: grid; opacity: 0; }
.avatar-picker:hover .avatar-edit, .avatar-picker:focus-within .avatar-edit { opacity: 1; }
.profile-content { display: grid; gap: 16px; padding: 40px 24px 24px; color: #121212; }
.profile-name input { border: 0; padding: 0; width: 100%; font-size: 20px; font-weight: 600; line-height: 28px; background: transparent; color: #121212; }
.profile-content > p { font-weight: 600; }
.profile-name input::placeholder { color: #616975; }
.setup-socials { display: grid; gap: 16px; }
.social-input { display: flex; align-items: center; gap: 16px; padding: 10px; min-width: 0; min-height: 54px; border: 1px solid var(--setup-line); border-radius: 13px; background: white; color: #111; }
.social-input:focus-within { border-color: #28282b; }
.social-input .network-mark { margin-left: 5px; }
.social-input > label { display: flex; align-items: center; flex: 1; min-width: 0; gap: 4px; }
.social-input > [hidden] { display: none; }
.social-input .social-destination { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.social-input input, .setup-dialog .social-input input { width: 100%; min-width: 0; outline: 0; border: 0; box-shadow: none; background: transparent; padding: 0; color: #24252a; height: 30px; }
.social-input input:focus-visible { outline: 0; }
.social-input .setup-secondary, .profile-background .setup-secondary { margin-left: auto; flex: none; }
.address-prefix { padding: 7px 8px; font-weight: 600; border-radius: 5px; color: #797d84; background: #f6f6f6; }
.address-status { font-size: 12px; line-height: 16px; }
.address-status:empty { display: none; }
.profile-background { display: flex; align-items: center; gap: 16px; padding: 20px 0 0 5px; }
.background-swatch { display: inline-block; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--scene) center/cover,var(--scene-color); }
.profile-content .social-input { min-height: 55px; }
.profile-content .social-input > label { gap: 0; }
.profile-content .social-input input { height: 32px; padding-inline: 5px; }
.profile-content .social-input:has([data-network="Website"]) .network-mark { width: 16px; height: 16px; margin-inline: 12px 3px; }
.profile-content .address-prefix { padding: 8px; }
.profile-content .address-input { min-height: 58px; }
.setup-dialog.background-dialog { width: min(900px,calc(100% - 28px)); max-width: min(900px,calc(100% - 28px)); }
.background-options { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,145px),1fr)); gap: 14px; }
.background-options button { display: grid; gap: 6px; padding: 5px; text-align: left; border: 1px solid transparent; border-radius: 10px; background: white; color: #182436; }
.background-options button:is(:hover,[aria-pressed="true"]) { border-color: #182436; }
.background-options i { width: 100%; aspect-ratio: 16/9; border-radius: 6px; background: var(--scene) center/cover,var(--scene-color); }

.setup-ui .form-error, .setup-dialog .form-error { color: #992f29; background: #fff0ec; }
.setup-dialog { width: min(510px,calc(100% - 28px)); max-width: min(510px,calc(100% - 28px)); max-height: min(820px,89dvh); overflow-y: auto; background: white; border: 1px solid #d5d6da; border-radius: 16px; }
.setup-dialog::backdrop { background: #15172078; backdrop-filter: blur(4px); }
.setup-dialog .modal-head { position: sticky; top: 0; z-index: 2; align-items: center; padding: 18px 22px; background: white; }
.setup-dialog .modal-head h2 { color: #202024; font-size: 21px; letter-spacing: -.045em; }
.setup-dialog .modal-head .icon-btn { color: #34343b; }
.setup-dialog .modal-body :is(.design-settings,.form-section) { margin: 0; padding: 0; }
.setup-dialog .modal-body > .setup-primary, .setup-dialog .modal-body > .setup-secondary { margin-top: 18px; }
.setup-dialog .modal-body .btn, .setup-dialog .modal-body .sq { background: white; color: #35353d; border: 1px solid var(--setup-line); }
.setup-dialog .photo-editor h2, .setup-dialog .photo-editor label, .setup-dialog .photo-editor p { color: #35353d; }
.setup-dialog .photo-editor :is(input:not([type=file]),textarea) { color: #222; background: white; border-color: #ccc; }
.setup-dialog video { width: 100%; max-height: 240px; }
.content-fields { display: grid; gap: 16px; }
.video-upload-zone {
  position: relative; display: grid; place-items: center; align-content: center; gap: 6px;
  min-height: 144px; padding: 20px; border: 1px dashed currentColor; border-radius: 10px;
  color: inherit; text-align: center; cursor: pointer;
}
.video-upload-zone:hover, .video-upload-zone:focus-within { background: color-mix(in srgb, currentColor 5%, transparent); }
.video-upload-zone:has(input:focus-visible) { outline: 2px solid currentColor; outline-offset: 2px; }
.video-upload-zone strong { max-width: 100%; overflow-wrap: anywhere; }
.video-upload-zone small { opacity: .75; }
.video-upload-zone input[type=file] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer;
}
.setup-package { border-radius: 10px; border: 1px solid var(--setup-line); padding: 12px; display: grid; gap: 12px; min-width: 0; }
.setup-package legend { font-weight: 600; padding: 0 5px; color: var(--setup-muted); font-size: 12px; }
.setup-package + .setup-package { margin-top: 12px; }
.setup-package .account-text { justify-self: start; padding: 2px; font-size: 12px; }
.setup-field-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; align-items: end; }
.block-menu { display: grid; gap: 6px; }
.block-menu button { justify-content: flex-start; }
.block-menu button > svg:last-child { margin-left: auto; }
.public-shell.page-canvas {
  --card: #1b1a20; --canvas-ink: #eeeef1; --canvas-note: #c4c4c9; --canvas-line: #45444c;
  min-height: 100dvh; width: 100%; max-width: none; margin: 0; padding: 0; color-scheme: dark; color: var(--canvas-ink);
  background: var(--scene) center/cover fixed,var(--scene-color);
}
.page-canvas h1, .page-canvas h2, .page-canvas h3 { font-family: inherit; }
.canvas-grid { min-height: 100dvh; display: grid; grid-template-columns: minmax(0,55.3fr) minmax(0,44.7fr); align-items: start; }
.canvas-primary { min-width: 0; display: grid; justify-items: center; align-content: safe center; min-height: 100dvh; position: sticky; top: 0; background: var(--card); padding: 40px clamp(20px,5.5vw,80px) 78px; }
.canvas-profile, .canvas-widget, .canvas-credit, .canvas-placeholder { min-width: 0; background: var(--card); border: 1px solid var(--canvas-line); border-radius: 10px; box-shadow: 0 4px 9px #0003; overflow-wrap: anywhere; }
.canvas-profile { position: relative; width: min(100%,568px); overflow: hidden; }
.canvas-cover { position: relative; aspect-ratio: 4 / 1; overflow: hidden; display: flex; align-items: flex-start; justify-content: space-between; padding: 5% 6%;
  background: radial-gradient(ellipse at 7% 8%,#6951ff 0,transparent 35%),linear-gradient(120deg,#4545ce 0,#121126 47%,#0d0c12 80%); }
.canvas-cover::before { content: ''; position: absolute; height: 150%; width: 17%; left: 37%; top: -13%; transform: rotate(-22deg); background: repeating-linear-gradient(0deg,#ffffff09 0 24%,transparent 24% 31%); border-radius: 12px; }
.canvas-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.canvas-cover-brand .setup-mark { width: 28px; height: 28px; background: transparent; }
.canvas-cover-title { text-align: left; font-weight: 600; font-size: clamp(18px,2.1vw,31px); line-height: 1.02; letter-spacing: -.05em; color: #fff; }
.canvas-identity { position: relative; padding: 0 24px; }
.canvas-identity .public-avatar { display: flex; width: auto; height: auto; margin: -40px 0 10px; background: transparent; float: none; }
.canvas-identity .portrait { display: grid; place-items: center; width: 96px; height: 96px; object-fit: cover; border: 4px solid var(--card); border-radius: 50%; background: #3769ff; color: #fff; font-size: 23px; }
.page-canvas .public-link-title { color: #eeeef1; font: 600 20px/26px 'Setup Inter',sans-serif; letter-spacing: -.025em; margin: 0 0 8px; }
.page-canvas .canvas-prose, .page-canvas .public-bio, .page-canvas .link-note { color: var(--canvas-note); white-space: pre-line; font: 400 14px/20px 'Setup Inter',sans-serif; margin: 0; }
.canvas-offers { position: relative; padding: 20px 24px 24px; }
.canvas-offers h2, .canvas-widget h2 { color: var(--canvas-note); font-size: 15px; font-weight: 600; line-height: 21px; margin: 0 0 14px; letter-spacing: -.015em; }
.canvas-offer-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.canvas-package { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid var(--canvas-line); border-radius: 10px; background: linear-gradient(150deg,#1c1b21,#1c1b20); box-shadow: 0 3px 6px #0002; }
.canvas-package:only-child { grid-column: 1/-1; }
.canvas-package-head { display: flex; align-items: center; gap: 8px; }
.canvas-package-head span { display: none; }
.canvas-package h3 { font-weight: 600; font-size: 16px; line-height: 22px; color: var(--canvas-ink); margin: 0; }
.canvas-package p, .canvas-package small, .canvas-terms { color: var(--canvas-note); font-size: 13px; line-height: 19px; }
.canvas-package p { margin: 6px 0; }
.canvas-package small { display: inline-block; margin: 6px 0; }
.canvas-package footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 12px; font-size: 13px; }
.canvas-terms { display: grid; gap: 4px; }
.canvas-terms select, .canvas-package footer button, .canvas-edit { border: 1px solid var(--canvas-line); background: #242832; color: var(--canvas-ink); border-radius: 8px; padding: 5px 9px; }
.canvas-package footer button { display: inline-flex; gap: 5px; align-items: center; }
.canvas-feed { min-width: 0; display: grid; gap: 22px; align-content: start; padding: 40px clamp(20px,2.9vw,50px) 88px; }
.page-canvas[data-layout="feed"] .canvas-feed { min-height: 100dvh; background: var(--scene) center/cover,var(--scene-color); }
.canvas-feed > * { width: min(100%,560px); margin-inline: auto; }
.canvas-widget, .canvas-credit { position: relative; padding: 22px 20px; }
.canvas-widget .athlete-social-links { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.canvas-widget .athlete-social-links a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #202635; color: #aec8ff; border: 1px solid #374151; }
.canvas-placeholder { display: flex; align-items: center; gap: 12px; padding: 24px 20px; color: var(--canvas-note); }
.canvas-placeholder > :last-child { margin-left: auto; }
.canvas-edit { position: absolute; right: 12px; top: 10px; display: grid; place-items: center; width: 31px; height: 31px; padding: 0; z-index: 1; }
.canvas-credit a { display: flex; align-items: center; gap: 8px; color: #eeeef1; font-size: 16px; font-weight: 550; }
.canvas-credit .setup-mark { width: 28px; height: 28px; }
.canvas-credit[hidden] { display: none; }
[data-layout="spotlight"] .canvas-grid { padding: 34px 16px 85px; display: block; }
[data-layout="spotlight"] .canvas-primary { padding: 0; min-height: 0; background: transparent; position: static; }
[data-layout="spotlight"] .canvas-profile { width: min(100%,650px); }
[data-layout="spotlight"] .canvas-feed { padding: 0 24px 24px; gap: 16px; }
[data-layout="spotlight"] .canvas-feed > :is(.canvas-credit,.canvas-widget) { border: 0; border-top: 1px solid var(--canvas-line); border-radius: 0; box-shadow: none; padding: 16px 0 0; }
[data-layout="spotlight"] .canvas-feed > * { width: 100%; }

.canvas-tools { position: relative; z-index: 9; color-scheme: dark; }
.page-autosave-error {
  position: fixed;
  z-index: 5;
  right: 16px;
  bottom: max(86px, env(safe-area-inset-bottom));
  max-width: min(400px, calc(100vw - 32px));
  padding: 10px 14px;
  color: #212529;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #0002;
}
.page-autosave-error:not([hidden]) { display: flex; align-items: center; gap: 10px; }
.canvas-back, .canvas-toolbar, .canvas-popover { position: fixed; z-index: 4; }
.canvas-toolbar, .canvas-back { bottom: max(28px,env(safe-area-inset-bottom)); color: #fff; }
.canvas-back, .canvas-toolbar button:not(.setup-primary) { border: 1px solid #354052; background: linear-gradient(#131a26,#202938); color: #fff; }
.canvas-back { left: 16px; display: inline-flex; align-items: center; gap: 6px; border-radius: 10px; height: 32px; padding: 0 8px; }
.canvas-toolbar { right: clamp(16px,8vw,140px); display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 100px; background: #1b1a20; box-shadow: 0 5px 18px #0007; }
.canvas-tools[data-layout="spotlight"] .canvas-toolbar { right: 16px; }
.canvas-toolbar button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 500; white-space: nowrap; border-radius: 100px; padding: 3px 10px; height: 32px; }
.canvas-toolbar button.canvas-icon { width: 32px; padding: 0; }
.canvas-theme .canvas-theme-preview {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--scene, none) center / cover no-repeat var(--scene-color, #fff);
  box-shadow: inset 0 0 0 1px #0002;
}
.canvas-toolbar button[aria-expanded="true"] { border-color: currentColor; }
.canvas-popover { right: 16px; bottom: max(85px,calc(env(safe-area-inset-bottom) + 62px)); width: min(532px,calc(100% - 32px)); padding: 16px; background: #1b1a20; border: 1px solid #4b4b51; border-radius: 10px; box-shadow: 0 6px 21px #0007; }
.canvas-tools[data-layout="feed"] .canvas-popover { right: clamp(16px,8vw,140px); }
.canvas-popover .layout-choices { gap: 16px; }
.canvas-popover .layout-picture { border-radius: 9px; }
.canvas-popover .layout-tile[aria-pressed="true"] .layout-picture { outline-color: #fff; }
.canvas-popover .selection-tick { border-color: #17171b; color: #131313; }
.canvas-popover .theme-choices { gap: 8px; }
.canvas-popover .theme-choices button { color: white; background: #25252b; border-color: #42434b; }
.canvas-popover .theme-choices button[aria-pressed="true"] { border-color: white; }
@media (max-width: 980px) {
  .canvas-primary { padding-inline: 24px; }
  .canvas-package { padding: 14px; }
  .setup-split .setup-paper { padding-inline: 24px; }
  .theme-choices { gap: 10px; }
}
@media (max-width: 760px) {
  .account-scene, .setup-sections { padding: 12px; }
  .account-scene { display: block; }
  .account-paper, .setup-sections .setup-paper { min-height: calc(100dvh - 24px); padding: 24px 20px; border-radius: 18px; }
  .account-example { display: none; }
  .setup-split { display: block; }
  .setup-split .setup-paper { min-height: 100dvh; padding: 62px 18px 34px; }
  .setup-split .setup-paper::before { inset: 10px; }
  .setup-split .setup-body { max-width: 568px; }
  [data-step="profile"] .setup-paper::before { inset: 0; }
  .setup-preview { display: none; }
  .show-mobile-preview .setup-preview { display: block; }
  .setup-split.show-mobile-preview .setup-paper { display: none; }
  .setup-mobile-preview { display: inline-flex; position: fixed; top: 12px; right: 14px; z-index: 3; }
  .setup-sections .setup-body { padding-top: 28px; }
  .goal-heading h1 { font-size: 22px; line-height: 28px; }
  .setup-sections .setup-form > footer { margin-top: 20px; }
  [data-step="welcome"] .setup-form { gap: 26px; }
  .design-card { padding: 20px; }
  .canvas-grid { display: block; }
  .canvas-primary { position: static; min-height: auto; padding: 26px 16px; background: #1b1a20; }
  .canvas-primary .canvas-profile, .canvas-feed > * { max-width: 574px; }
  .canvas-feed { padding: 20px 16px 88px; gap: 16px; }
  .page-canvas[data-layout="feed"] .canvas-feed { min-height: 0; }
  .canvas-tools .canvas-toolbar, .canvas-tools[data-layout="feed"] .canvas-toolbar { right: 12px; bottom: max(12px,env(safe-area-inset-bottom)); gap: 5px; }
  .canvas-tools .canvas-popover, .canvas-tools[data-layout="feed"] .canvas-popover { right: 12px; bottom: 70px; }
  .canvas-back { top: 12px; bottom: auto; left: 12px; }
  #app:has(.canvas-tools) .canvas-primary { padding-top: 58px; }
  #app:has(.canvas-tools) [data-layout="spotlight"] .canvas-grid { padding-top: 0; }
}
@media (max-width: 640px) {
  .section-tiles, [data-step="about-you"] .section-tiles { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .setup-sections .setup-form > footer { position: sticky; bottom: 0; z-index: 1; padding: 10px 0 max(10px, env(safe-area-inset-bottom)); background: #fff; }
  .setup-sections .setup-form > footer button { min-height: 42px; }
}
@media (min-width: 901px) {
  [data-step="referral-source"] .section-tiles { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
@media (min-width: 641px) and (max-height: 740px) {
  .setup-sections .setup-body { padding-top: 12px; }
  .setup-sections .setup-form { max-width: min(836px, max(580px, calc(200dvh - 590px))); }
  .setup-sections .setup-form > footer { margin-top: 18px; }
}
@media (min-width: 641px) and (max-height: 800px) {
  .setup-sections[data-step="about-you"] .setup-body { padding-top: 12px; }
  .setup-sections[data-step="about-you"] .setup-form { max-width: clamp(456px, calc(150dvh - 536px), 624px); }
  .setup-sections[data-step="about-you"] .setup-form > footer { margin-top: 18px; }
}
@media (min-width: 901px) and (max-height: 740px) {
  .setup-sections[data-step="referral-source"] .setup-form { max-width: min(1048px, max(760px, calc(250dvh - 740px))); }
}
@media (max-width: 420px) {
  .section-tile { padding: 12px 8px; }
  .tile-check { right: 10px; top: 10px; }
  .tile-name { font-size: 13px; line-height: 17px; min-height: 34px; }
  .profile-content { padding-inline: 15px; }
  .social-input, .profile-background { gap: 8px; }
  .theme-choices button { padding: 6px 12px; }
  .canvas-offer-grid { grid-template-columns: 1fr; }
  .canvas-cover-title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .setup-ui *, .setup-dialog *, .page-canvas * { transition-duration: 0s !important; animation: none !important; scroll-behavior: auto !important; }
}
