/* Cabana Creators · application and Creator Studio theme. */

.cs {
  --bg: #07060c;
  --bg-2: #0e0a18;
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .08);
  --glass-3: rgba(255, 255, 255, .12);
  --text: #f8f5ff;
  --muted: rgba(248, 245, 255, .68);
  --faint: rgba(248, 245, 255, .42);
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .2);
  --pink: #ff2e93;
  --violet: #7b4dff;
  --gold: #ffc94a;
  --mint: #3ee6b4;
  --danger: #ff5a7a;
  --chrome: linear-gradient(112deg, #ffe9f6 4%, #ff2e93 28%, #ffc94a 52%, #7b4dff 74%, #ffe9f6 96%);
  --heat: linear-gradient(120deg, #ff2e93, #b23cff 55%, #7b4dff);
  --display: 'Bodoni Moda Variable', 'Archivo', Georgia, serif;
  --body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono Variable', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.4, .44, 1);
  --r: 22px;
  --gutter: clamp(16px, 4.5vw, 48px);
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 400 15.5px/1.6 var(--body);
  background:
    radial-gradient(1100px 620px at 92% -8%, rgba(123, 77, 255, .26), transparent 62%),
    radial-gradient(900px 560px at -6% 6%, rgba(255, 46, 147, .18), transparent 60%),
    radial-gradient(800px 500px at 50% 110%, rgba(255, 201, 74, .07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Element resets carry no specificity (:where), so every component class
   below wins over them without a fight. */
.cs *, .cs *::before, .cs *::after { box-sizing: border-box; }
.cs ::selection { background: var(--pink); color: #150310; }
:where(.cs) a { color: inherit; }
:where(.cs) button, :where(.cs) input, :where(.cs) select, :where(.cs) textarea { font: inherit; color: inherit; }
:where(.cs) button { cursor: pointer; }
:where(.cs) img, :where(.cs) svg { display: block; max-width: 100%; }
:where(.cs) h1, :where(.cs) h2, :where(.cs) h3, :where(.cs) h4, :where(.cs) p { margin: 0; }
/* A component's own display must never resurrect something hidden. */
.cs [hidden] { display: none !important; }
.cs :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.cs-grain {
  position: fixed; inset: -50%; z-index: 0; pointer-events: none; opacity: .06; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: cs-grain 9s steps(6) infinite;
}
@keyframes cs-grain { 50% { transform: translate(-3%, 2%); } 100% { transform: translate(2%, -3%); } }
@media (prefers-reduced-motion: reduce) {
  .cs *, .cs *::before, .cs *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ── type ─────────────────────────────────────────────────────────────── */
.cs-shine { background: var(--chrome); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: cs-shine 7s linear infinite; }
@keyframes cs-shine { to { background-position: 260% 0; } }
.cs-kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.cs-kicker::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.cs-display { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: .95; }
.cs-display em { font-style: italic; font-weight: 500; }
.cs-lede { color: var(--muted); font-size: clamp(15px, 1.4vw, 17.5px); max-width: 58ch; }
.cs-note { color: var(--faint); font-size: 12.5px; line-height: 1.6; }
.cs-num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* ── top bar ──────────────────────────────────────────────────────────── */
.cs-bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 14px;
  padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.cs-mast { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.cs-mast b { font: 800 22px/1 var(--display); letter-spacing: .02em; }
.cs-mast b i { font-style: normal; color: var(--pink); }
.cs-mast small { font: 600 10px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--faint); }
.cs-bar-sp { flex: 1; }
.cs-bar-link { font: 600 13px/1 var(--body); color: var(--muted); text-decoration: none; padding: 9px 12px; border-radius: 999px; transition: color .2s, background .2s; border: 0; background: none; }
.cs-bar-link:hover { color: var(--text); background: var(--glass); }
.cs-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--body); background: var(--heat); color: #fff; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px rgba(255, 46, 147, .5); flex: none; }

/* ── layout ───────────────────────────────────────────────────────────── */
.cs-shell { position: relative; z-index: 1; width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }
.cs-boot { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--bg); transition: opacity .5s var(--ease), visibility .5s; }
.cs-boot.out { opacity: 0; visibility: hidden; }
.cs-boot-mark { width: 54px; height: 54px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--pink); border-right-color: var(--violet); animation: cs-spin .9s linear infinite; }
@keyframes cs-spin { to { transform: rotate(360deg); } }

/* ── buttons ──────────────────────────────────────────────────────────── */
.cs-btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 700 14.5px/1 var(--body); letter-spacing: .01em; text-decoration: none; color: #fff;
  background: var(--heat);
  box-shadow: 0 10px 34px -10px rgba(255, 46, 147, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .35s var(--spring), box-shadow .35s var(--ease), opacity .2s;
}
.cs-btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .35) 50%, transparent 80%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.cs-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(255, 46, 147, .85), inset 0 1px 0 rgba(255, 255, 255, .3); }
.cs-btn:hover::after { transform: translateX(120%); }
.cs-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.cs-btn.is-busy { color: transparent; }
.cs-btn.is-busy::before { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: cs-spin .7s linear infinite; }
.cs-btn-ghost { background: var(--glass); border: 1px solid var(--line-2); box-shadow: none; color: var(--text); }
.cs-btn-ghost:hover { background: var(--glass-2); box-shadow: none; }
.cs-btn-gold { background: linear-gradient(120deg, #ffe08a, var(--gold) 45%, #ff9e2c); color: #1b0f00; box-shadow: 0 10px 30px -12px rgba(255, 201, 74, .8); }
.cs-btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.cs-btn-block { width: 100%; }

/* ── glass card with a heat edge ───────────────────────────────────────── */
.cs-card {
  position: relative; border-radius: var(--r); padding: clamp(18px, 2.6vw, 28px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.cs-card.is-heat::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(130deg, rgba(255, 46, 147, .8), rgba(123, 77, 255, .5) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.cs-card-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.cs-card-h h2, .cs-card-h h3 { font: 700 clamp(20px, 2.2vw, 26px)/1.05 var(--display); letter-spacing: -.02em; }
.cs-card-h p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* ── forms ────────────────────────────────────────────────────────────── */
.cs-field { display: grid; gap: 8px; }
.cs-label { font: 600 11px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cs-label em { font-style: normal; color: var(--faint); letter-spacing: .08em; text-transform: none; font-family: var(--body); font-size: 12px; }
.cs-input, .cs-select, .cs-textarea {
  width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 14px;
  background: rgba(0, 0, 0, .28); border: 1px solid var(--line-2); color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s; outline: none;
}
.cs-input::placeholder, .cs-textarea::placeholder { color: rgba(248, 245, 255, .32); }
.cs-input:focus, .cs-select:focus, .cs-textarea:focus { border-color: rgba(255, 46, 147, .7); box-shadow: 0 0 0 4px rgba(255, 46, 147, .14); background: rgba(0, 0, 0, .4); }
.cs-input[readonly] { color: var(--muted); border-style: dashed; }
.cs-textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.cs-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.cs-select option { background: #140f22; color: var(--text); }
.cs-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cs-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .cs-grid2, .cs-grid3 { grid-template-columns: 1fr; } }
.cs-hint { color: var(--faint); font-size: 12.5px; }
.cs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-chip {
  min-height: 38px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--glass); color: var(--muted); font: 500 13.5px/1 var(--body);
  transition: transform .3s var(--spring), border-color .2s, color .2s, background .2s;
}
.cs-chip:hover { color: var(--text); transform: translateY(-1px); }
.cs-chip[aria-pressed='true'] { color: #fff; border-color: transparent; background: var(--heat); box-shadow: 0 6px 18px -8px rgba(255, 46, 147, .8); }
.cs-switch { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .2); cursor: pointer; }
.cs-switch input { position: absolute; opacity: 0; pointer-events: none; }
.cs-switch-ui { position: relative; flex: none; width: 46px; height: 26px; border-radius: 999px; background: var(--glass-3); transition: background .25s; margin-top: 2px; }
.cs-switch-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .35s var(--spring); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.cs-switch input:checked + .cs-switch-ui { background: var(--heat); }
.cs-switch input:checked + .cs-switch-ui::after { transform: translateX(20px); }
.cs-switch input:focus-visible + .cs-switch-ui { outline: 2px solid var(--gold); outline-offset: 3px; }
.cs-switch b { display: block; font-weight: 600; font-size: 14.5px; }
.cs-switch span.d { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.cs-err { display: none; padding: 13px 16px; border-radius: 14px; background: rgba(255, 90, 122, .12); border: 1px solid rgba(255, 90, 122, .35); color: #ffc2cf; font-size: 14px; }
.cs-err.show { display: block; }

/* ══ APPLICATION PAGE ═════════════════════════════════════════════════════ */
.ca-hero { position: relative; padding: clamp(34px, 6vw, 84px) 0 clamp(22px, 3vw, 40px); }
.ca-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(26px, 5vw, 70px); align-items: center; }
@media (max-width: 960px) { .ca-hero-grid { grid-template-columns: 1fr; } }
.ca-title { font-size: clamp(46px, 7.6vw, 108px); margin: 20px 0 22px; }
.ca-promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; max-width: 640px; }
.ca-promise div { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); }
.ca-promise b { display: block; font: 700 20px/1 var(--display); }
.ca-promise span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 6px; line-height: 1.4; }
@media (max-width: 560px) { .ca-promise { grid-template-columns: 1fr; } }

/* profile preview card */
.ca-pass-wrap { perspective: 1400px; display: grid; justify-items: center; }
.ca-pass {
  position: relative; width: min(360px, 100%); aspect-ratio: 5 / 7.4; border-radius: 26px; overflow: hidden;
  padding: 22px; display: flex; flex-direction: column;
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(255, 46, 147, .5), transparent 60%),
    radial-gradient(120% 70% at 100% 100%, rgba(123, 77, 255, .55), transparent 60%),
    #120c1f;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 50px 120px -40px rgba(255, 46, 147, .55), 0 30px 60px -30px rgba(0, 0, 0, .9);
  transform-style: preserve-3d; transition: transform .6s var(--ease);
  animation: ca-float 7s ease-in-out infinite;
}
@keyframes ca-float { 50% { transform: translateY(-10px) rotate(-1.2deg); } }
.ca-pass::before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 46%, rgba(255, 201, 74, .18) 52%, transparent 64%); background-size: 260% 100%; animation: cs-shine 6s linear infinite; mix-blend-mode: screen; pointer-events: none; }
.ca-pass-top { display: flex; justify-content: space-between; align-items: center; font: 600 10px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.ca-pass-chip { width: 38px; height: 28px; border-radius: 7px; background: linear-gradient(135deg, #ffe7a3, #c9952e); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.ca-pass-photo { margin: 18px 0 14px; width: 100%; flex: 1; min-height: 120px; border-radius: 18px; display: grid; place-items: center; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .12); position: relative; overflow: hidden; }
.ca-pass-initials { font: 800 64px/1 var(--display); letter-spacing: -.04em; }
.ca-pass-name { font: 700 28px/1 var(--display); letter-spacing: -.03em; word-break: break-word; }
.ca-pass-handle { margin-top: 6px; color: var(--muted); font: 500 13px/1.3 var(--mono); }
.ca-pass-row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 16px; gap: 10px; }
.ca-pass-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.ca-pass-icons span { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; animation: ca-pop .5s var(--spring) both; }
@keyframes ca-pop { from { transform: scale(.4); opacity: 0; } }
.ca-pass-reach { text-align: right; }
.ca-pass-reach b { display: block; font: 700 26px/1 var(--mono); letter-spacing: -.04em; }
.ca-pass-reach small { font: 600 9.5px/1 var(--mono); letter-spacing: .2em; color: var(--faint); text-transform: uppercase; }
.ca-pass-foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .2); display: flex; justify-content: space-between; font: 600 9.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }

/* Steps rail + sections */
.ca-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding-bottom: 90px; }
@media (max-width: 960px) { .ca-body { grid-template-columns: 1fr; } .ca-rail { display: none; } }
.ca-rail { position: sticky; top: 92px; align-self: start; display: grid; gap: 4px; }
.ca-rail a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--faint); font: 500 13.5px/1.2 var(--body); transition: color .2s, background .2s; }
.ca-rail a b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 11px/1 var(--mono); border: 1px solid var(--line-2); transition: background .3s, border-color .3s; }
.ca-rail a.is-on { color: var(--text); background: var(--glass); }
.ca-rail a.is-on b { border-color: transparent; background: var(--heat); color: #fff; }
.ca-rail a.is-done b { border-color: transparent; background: rgba(62, 230, 180, .2); color: var(--mint); }
.ca-sections { display: grid; gap: 22px; }
.ca-sec { scroll-margin-top: 90px; }
.ca-sec-h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.ca-sec-h b { font: 600 12px/1 var(--mono); color: var(--pink); letter-spacing: .1em; }
.ca-sec-h h2 { font: 700 clamp(24px, 3vw, 34px)/1 var(--display); letter-spacing: -.03em; }
.ca-sec-h p { color: var(--muted); font-size: 14px; }
.ca-stack { display: grid; gap: 18px; }

/* Platforms */
.ca-platforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.ca-plat {
  position: relative; min-height: 92px; padding: 14px 12px 12px; border-radius: 18px; text-align: left;
  border: 1px solid var(--line); background: rgba(0, 0, 0, .22);
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  transition: transform .35s var(--spring), border-color .25s, background .25s, box-shadow .3s;
}
.ca-plat:hover { transform: translateY(-3px); border-color: var(--line-2); }
.ca-plat-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--glass-2); transition: background .3s; }
.ca-plat span { font: 600 13px/1.2 var(--body); color: var(--muted); }
.ca-plat[aria-pressed='true'] { border-color: transparent; background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 1.5px var(--brand, var(--pink)), 0 14px 30px -16px var(--brand, var(--pink)); }
.ca-plat[aria-pressed='true'] .ca-plat-ico { background: var(--brand-grad); }
.ca-plat[aria-pressed='true'] span { color: var(--text); }
.ca-plat[aria-pressed='true']::after { content: '✓'; position: absolute; top: 10px; right: 12px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--brand, var(--pink)); color: #0b0711; }
.ca-accounts { display: grid; gap: 10px; margin-top: 16px; }
.ca-acct { display: grid; grid-template-columns: 44px minmax(0, 1.4fr) minmax(0, .8fr) auto auto; gap: 10px; align-items: center; padding: 10px; border-radius: 18px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); animation: ca-in .45s var(--ease) both; }
@keyframes ca-in { from { opacity: 0; transform: translateY(8px); } }
.ca-acct-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; }
.ca-acct .cs-input { min-height: 44px; padding: 10px 13px; border-radius: 12px; }
.ca-acct-verify { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; padding: 0 6px; cursor: pointer; }
.ca-acct-verify input { accent-color: var(--pink); width: 16px; height: 16px; }
.ca-acct-x { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--faint); }
.ca-acct-x:hover { color: var(--danger); border-color: rgba(255, 90, 122, .4); }
@media (max-width: 640px) {
  .ca-acct { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .ca-acct .ca-acct-f { grid-column: 2 / 3; grid-row: 2; }
  .ca-acct .ca-acct-verify { grid-column: 2 / 4; grid-row: 3; padding: 2px 0 0; }
  .ca-acct .ca-acct-x { grid-column: 3; grid-row: 1; }
}
.ca-reach { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(120deg, rgba(255, 46, 147, .12), rgba(123, 77, 255, .1)); border: 1px solid rgba(255, 46, 147, .25); }
.ca-reach b { font: 700 28px/1 var(--mono); letter-spacing: -.04em; }
.ca-reach span { color: var(--muted); font-size: 13.5px; }

/* verification note */
.ca-dm { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px; border-radius: 20px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.ca-dm-phone { width: 92px; height: 150px; border-radius: 22px; border: 2px solid rgba(255, 255, 255, .2); background: #0b0812; position: relative; padding: 18px 8px 8px; display: grid; gap: 6px; align-content: start; }
.ca-dm-phone::before { content: ''; position: absolute; top: 6px; left: 50%; width: 26px; height: 5px; margin-left: -13px; border-radius: 9px; background: rgba(255, 255, 255, .2); }
.ca-dm-bubble { height: 14px; border-radius: 8px; background: var(--glass-3); width: 80%; }
.ca-dm-bubble.in { background: var(--heat); margin-left: auto; width: 70%; animation: ca-typing 2.4s ease-in-out infinite; }
@keyframes ca-typing { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.ca-dm h3 { font: 700 20px/1.15 var(--display); }
.ca-dm p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.ca-safe { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 201, 74, .08); border: 1px solid rgba(255, 201, 74, .25); color: #ffe3a3; font-size: 13px; }
.ca-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }

/* Sign-in gate */
.ca-gate { max-width: 560px; margin: 0 auto 90px; text-align: center; }
.ca-gate h2 { font: 700 clamp(28px, 4vw, 40px)/1 var(--display); letter-spacing: -.03em; margin: 14px 0 10px; }
.ca-gate p { color: var(--muted); margin-bottom: 22px; }
.ca-gate-actions { display: grid; gap: 10px; max-width: 360px; margin: 0 auto; }
.ca-google { background: #fff; color: #1f1f1f; box-shadow: 0 10px 30px -14px rgba(255, 255, 255, .6); }
.ca-google:hover { box-shadow: 0 14px 34px -12px rgba(255, 255, 255, .7); }

/* ══ STATUS AFTER APPLYING ══ */
.gr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 54px); align-items: center; padding: clamp(30px, 6vw, 80px) 0 90px; }
@media (max-width: 900px) { .gr { grid-template-columns: 1fr; } }
.gr-title { font-size: clamp(42px, 6.4vw, 88px); margin: 18px 0 18px; }
.gr-ring { position: relative; width: min(340px, 80vw); aspect-ratio: 1; margin-inline: auto; }
.gr-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gr-ring circle { fill: none; stroke-width: 7; }
.gr-ring .track { stroke: rgba(255, 255, 255, .08); }
.gr-ring .bar { stroke: url(#gr-heat); stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease); }
.gr-ring-mid { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.gr-ring-mid b { display: block; font: 700 clamp(34px, 5vw, 48px)/1 var(--mono); letter-spacing: -.05em; }
.gr-ring-mid small { display: block; margin-top: 8px; font: 600 10.5px/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.gr-ring-ico { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.gr-ring:not(:has(.bar)) .track { stroke: rgba(255, 255, 255, .14); }
.gr-ring .bar { stroke-dasharray: none; }
.gr-sum { margin: 22px 0 0; display: grid; max-width: 520px; border-top: 1px solid var(--line-2); }
.gr-sum div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.gr-sum dt { font: 600 10.5px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.gr-sum dd { margin: 0; font-weight: 600; }
@media (max-width: 520px) { .gr-sum div { grid-template-columns: 1fr; gap: 4px; } }
.gr-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font: 700 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; background: rgba(255, 46, 147, .14); color: #ff7ab8; }
.gr-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.gr-pill.contacted { background: rgba(255, 201, 74, .14); color: var(--gold, #ffc94a); }
.gr-pill.declined, .gr-pill.suspended { background: rgba(255, 255, 255, .06); color: var(--faint); }
.gr-steps { display: grid; gap: 0; margin-top: 26px; border-left: 1px solid var(--line-2); padding-left: 22px; }
.gr-step { position: relative; padding: 0 0 22px; }
.gr-step::before { content: ''; position: absolute; left: -29px; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); }
.gr-step.done::before { background: var(--mint); border-color: var(--mint); box-shadow: 0 0 12px rgba(62, 230, 180, .6); }
.gr-step.now::before { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 0 6px rgba(255, 46, 147, .18); animation: gr-pulse 2s ease-in-out infinite; }
@keyframes gr-pulse { 50% { box-shadow: 0 0 0 10px rgba(255, 46, 147, 0); } }
.gr-step b { display: block; font-weight: 600; }
.gr-step span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 3px; }

/* ══ CREATOR STUDIO ═══════════════════════════════════════════════════════ */
.st-hero { padding: clamp(26px, 4vw, 52px) 0 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
@media (max-width: 860px) { .st-hero { grid-template-columns: 1fr; } }
.st-issue { font: 600 11px/1 var(--mono); letter-spacing: .24em; color: var(--faint); text-transform: uppercase; }
.st-name { font-size: clamp(44px, 7vw, 96px); margin: 14px 0 12px; }
.st-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.st-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font: 600 12.5px/1 var(--body); color: var(--muted); }
.st-badge i { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-style: normal; }
.st-badge.ok { color: #bff8e6; border-color: rgba(62, 230, 180, .35); background: rgba(62, 230, 180, .08); }
.st-tabs { position: sticky; top: 61px; z-index: 30; display: flex; gap: 4px; padding: 6px; margin: 10px 0 26px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.st-tabs::-webkit-scrollbar { display: none; }
.st-tab { flex: none; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: none; color: var(--muted); font: 600 13.5px/1 var(--body); transition: color .2s, background .25s; white-space: nowrap; }
.st-tab:hover { color: var(--text); }
.st-tab[aria-selected='true'] { color: #fff; background: var(--heat); box-shadow: 0 8px 22px -10px rgba(255, 46, 147, .8); }
.st-pane { animation: ca-in .5s var(--ease) both; padding-bottom: 90px; }
.st-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.st-span-12 { grid-column: span 12; } .st-span-8 { grid-column: span 8; } .st-span-7 { grid-column: span 7; }
.st-span-6 { grid-column: span 6; } .st-span-5 { grid-column: span 5; } .st-span-4 { grid-column: span 4; }
@media (max-width: 960px) { .st-span-8, .st-span-7, .st-span-6, .st-span-5, .st-span-4 { grid-column: span 12; } }

/* The cover: the creator's link as a magazine cover */
.st-cover { position: relative; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(90% 90% at 100% 0%, rgba(123, 77, 255, .55), transparent 60%), radial-gradient(90% 90% at 0% 100%, rgba(255, 46, 147, .45), transparent 60%), #120b20; }
.st-cover::after { content: 'CABANA'; position: absolute; right: -10px; bottom: -34px; font: 900 140px/1 var(--display); letter-spacing: -.06em; color: rgba(255, 255, 255, .05); pointer-events: none; }
.st-link { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(0, 0, 0, .4); border: 1px solid var(--line-2); margin-top: 16px; }
.st-link code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 13px/1 var(--mono); color: var(--text); }
.st-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.st-stat { padding: 16px; border-radius: 18px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.st-stat b { display: block; font: 700 clamp(24px, 3vw, 32px)/1 var(--mono); letter-spacing: -.05em; }
.st-stat span { display: block; margin-top: 8px; font: 600 10.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.st-stat.hot b { background: var(--chrome); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-rate { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.st-rate div { padding: 16px; border-radius: 18px; background: linear-gradient(140deg, rgba(255, 201, 74, .12), rgba(255, 46, 147, .06)); border: 1px solid rgba(255, 201, 74, .25); }
.st-rate b { display: block; font: 700 30px/1 var(--display); color: var(--gold); }
.st-rate span { display: block; margin-top: 8px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.st-list { display: grid; gap: 10px; }
.st-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; border: 1px solid var(--line); background: rgba(0, 0, 0, .22); }
.st-thumb { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: var(--glass-2); }
.st-row h4 { margin: 0; font: 600 15px/1.25 var(--body); }
.st-row p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.st-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.st-pill.ok { background: rgba(62, 230, 180, .14); color: var(--mint); }
.st-pill.wait { background: rgba(255, 201, 74, .14); color: var(--gold); }
.st-pill.no { background: rgba(255, 90, 122, .14); color: #ff9db1; }
.st-pill.mute { background: var(--glass-2); color: var(--muted); }
.st-empty { text-align: center; padding: clamp(30px, 6vw, 60px) 20px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.st-empty h3 { font: 700 26px/1.1 var(--display); margin: 10px 0 8px; }
.st-empty p { color: var(--muted); max-width: 46ch; margin: 0 auto 18px; }
.st-pitch { margin-top: 12px; padding: 16px; border-radius: 16px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 46, 147, .3); display: grid; gap: 12px; animation: ca-in .4s var(--ease) both; }
.st-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.st-seg button { min-height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: none; color: var(--muted); font: 600 12.5px/1 var(--body); }
.st-seg button[aria-pressed='true'] { background: var(--glass-3); color: var(--text); }
.st-money { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; }

/* Post builder */
.st-builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 22px; }
@media (max-width: 900px) { .st-builder { grid-template-columns: 1fr; } }
.st-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: #140d22; border: 1px solid var(--line-2); box-shadow: 0 40px 90px -40px rgba(255, 46, 147, .5); }
.st-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.04); }
.st-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 30%, transparent 55%, rgba(0, 0, 0, .78)); }
.st-frame-top, .st-frame-bot { position: absolute; left: 18px; right: 18px; z-index: 1; }
.st-frame-top { top: 16px; display: flex; justify-content: space-between; font: 700 11px/1 var(--mono); letter-spacing: .2em; }
.st-frame-bot { bottom: 18px; }
.st-frame-bot strong { display: block; font: 700 30px/1 var(--display); letter-spacing: -.03em; }
.st-frame-bot span { display: block; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.st-frame-pill { position: absolute; z-index: 1; top: 46px; left: 18px; padding: 5px 9px; border-radius: 7px; font: 600 10px/1 var(--body); background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Ledgers */
.st-ledger { width: 100%; border-collapse: collapse; }
.st-ledger td { padding: 12px 6px; border-top: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.st-ledger tr:first-child td { border-top: 0; }
.st-ledger td:last-child { text-align: right; font-family: var(--mono); white-space: nowrap; }
.st-ledger small { display: block; color: var(--faint); font-size: 12px; margin-top: 3px; }

/* Toast */
.cs-toast { position: fixed; left: 50%; bottom: 26px; z-index: 100; transform: translate(-50%, 140%); visibility: hidden; padding: 13px 20px; border-radius: 999px; background: #1c1430; border: 1px solid var(--line-2); color: var(--text); font-size: 14px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9); transition: transform .45s var(--spring); max-width: calc(100% - 32px); }
.cs-toast.on { transform: translate(-50%, 0); visibility: visible; }
.cs-toast.bad { border-color: rgba(255, 90, 122, .5); }

.cs-foot { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 26px var(--gutter) 40px; display: flex; flex-wrap: wrap; gap: 14px 22px; justify-content: space-between; color: var(--faint); font-size: 13px; }
.cs-foot a { text-decoration: none; }
.cs-foot a:hover { color: var(--text); }
.cs-cur { font-family: var(--mono); letter-spacing: .08em; border: 1px solid var(--line-2) !important; }
.cs-menu-wrap { position: relative; }
.cs-avatar { border: 0; cursor: pointer; transition: transform .3s var(--spring); }
.cs-avatar:hover { transform: scale(1.06); }
.cs-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 220px; padding: 8px; border-radius: 18px; background: #150f24; border: 1px solid var(--line-2); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9); display: grid; animation: ca-in .25s var(--ease) both; }
.cs-menu a, .cs-menu button { display: block; width: 100%; text-align: left; padding: 11px 13px; border-radius: 12px; border: 0; background: none; text-decoration: none; color: var(--muted); font: 500 14px/1.2 var(--body); }
.cs-menu a:hover, .cs-menu button:hover, .cs-menu a:focus-visible, .cs-menu button:focus-visible { background: var(--glass-2); color: var(--text); }
.cs-menu button { color: #ffb3c4; }
@media (max-width: 520px) { .cs-bar-link:not(.cs-cur) { display: none; } .cs-mast small { display: none; } }

/* ── collaborations: conversations, search, pitches ───────────────────── */
.st-counts { display: flex; gap: 22px; }
.st-counts span { font: 600 10.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); text-align: right; }
.st-counts b { display: block; font: 700 26px/1.1 var(--mono); letter-spacing: -.04em; color: var(--text); }
.st-row-x { cursor: pointer; transition: border-color .2s, background .2s, transform .3s var(--ease); }
.st-row-x:hover { border-color: var(--line-2); background: var(--glass); transform: translateY(-1px); }
.st-row-act { display: grid; gap: 8px; justify-items: end; }
@media (max-width: 640px) {
  .st-row-x { grid-template-columns: 56px minmax(0, 1fr); }
  .st-row-act { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; justify-items: start; align-items: center; }
}
.st-new { font: 700 10px/1 var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; background: var(--pink); color: #fff; margin-left: 6px; vertical-align: middle; }
.st-tabdot { display: inline-block; margin-left: 8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pink); color: #fff; font: 700 10.5px/18px var(--mono); font-style: normal; text-align: center; }
.st-cats { margin: 14px 0 4px; }
.st-finds { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 16px; }
.st-find { display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 20px; border: 1px solid var(--line); background: rgba(0, 0, 0, .22); transition: border-color .2s, transform .3s var(--ease); }
.st-find:hover { border-color: var(--line-2); transform: translateY(-2px); }
.st-find.open { grid-column: 1 / -1; border-color: rgba(255, 46, 147, .4); transform: none; }
.st-find-img { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--glass-2) center / cover no-repeat; }
.st-find-tag { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(8, 5, 16, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 700 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.st-find-b h4 { margin: 0; font: 600 15px/1.3 var(--body); }
.st-find-b p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.st-find-b small { display: block; margin-top: 6px; color: var(--gold); font: 600 12px/1.2 var(--mono); }
.st-find > .cs-btn { align-self: flex-start; }
.st-pitchbox:empty { display: none; }
.st-pitchbox { padding-top: 12px; border-top: 1px dashed var(--line); }
.st-ideas { margin-top: 20px; padding: 16px; border-radius: 18px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.st-ideas ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; display: grid; gap: 6px; }

/* ── the card designer ────────────────────────────────────────────────── */
.cc { display: grid; grid-template-columns: minmax(240px, 330px) minmax(0, 1fr); gap: 26px; align-items: start; }
@media (max-width: 1100px) { .cc { grid-template-columns: 1fr; } }
.cc-stage { position: sticky; top: 130px; display: grid; gap: 12px; }
@media (max-width: 1100px) { .cc-stage { position: static; } }
.cc-frame { position: relative; width: 100%; max-width: 340px; margin-inline: auto; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: #0b0714; box-shadow: 0 40px 90px -40px rgba(255, 46, 147, .6); }
.cc-canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.cc-canvas.drag { cursor: grabbing; }
.cc-hint { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: rgba(8, 5, 16, .72); font-size: 11.5px; opacity: 0; transition: opacity .3s; pointer-events: none; white-space: nowrap; }
.cc-frame:hover .cc-hint { opacity: 1; }
.cc-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cc-tools { display: grid; gap: 20px; min-width: 0; }
.cc-group { display: grid; gap: 9px; }
.cc-tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.cc-tpl { display: grid; gap: 6px; padding: 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); text-align: center; font: 600 11.5px/1.2 var(--body); color: var(--muted); transition: border-color .2s, transform .25s var(--ease); }
.cc-tpl:hover { transform: translateY(-2px); }
.cc-tpl canvas { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 9px; background: #0b0714; }
.cc-tpl.on { border-color: var(--pink); color: var(--text); box-shadow: 0 0 0 1px var(--pink) inset; }
.cc-sw { display: flex; gap: 10px; }
.cc-swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; box-shadow: 0 0 0 1px var(--line-2); }
.cc-swatch[aria-pressed='true'] { border-color: #fff; box-shadow: 0 0 0 2px var(--pink); }
.cc-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-file { cursor: pointer; }
.cc-range { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: center; color: var(--muted); font-size: 12.5px; }
.cc-range input { accent-color: var(--pink); width: 100%; }
.cc-f { position: relative; display: grid; gap: 6px; }
.cc-f > span { font: 600 12px/1 var(--body); color: var(--muted); }
.cc-f > i { position: absolute; right: 12px; bottom: 15px; font-style: normal; font-size: 11px; color: var(--gold); cursor: pointer; text-decoration: underline; }
.cc-warn { color: #ff9db1; text-align: center; }
