/* Bubbly v8: the friendly marketplace look. Loaded last, so it wins over the older layers.
   Layout: cream ground, butter-yellow app sidebar, black-outlined rounded cards with a soft coloured ring,
   pill buttons, a sky-and-clouds hero, one pink mascot. Brand = sky blue, creator = bubblegum pink.
   One deliberate light look in every theme (the dark blocks below repeat the light values). */
:root:not(#z) {
  --cream: #FFF8EC;
  --butter: #FFE873;
  --butter-soft: #FFF4BF;
  --bubble: #FF6FC4;
  --bubble-soft: #FFE1F2;
  --sky: #5B8DEF;
  --sky-soft: #E2ECFF;
  --tang: #FF7A45;
  --mint: #8FE3C8;
  --mint-soft: #DDF7EE;

  --paper: var(--cream);
  --paper-2: #FFF0D9;
  --surface: #FFFFFF;
  --ink: #1A1A1A;
  --ink-2: #333230;
  --dim: #6B6257;
  --line: #EEDFC6;
  --line-2: #D8C8AC;
  --night: var(--butter);
  --night-2: #FFF0A0;
  --night-3: #FFFFFF;
  --night-line: rgba(26, 26, 26, 0.16);
  --night-ink: #1A1A1A;
  --night-dim: #5C5434;
  --cobalt: #2F63D9;
  --cobalt-soft: var(--sky-soft);
  --coral: #D6338F;
  --coral-soft: var(--bubble-soft);
  --ok: #17804A;
  --ok-soft: #DDF5E7;
  --warn: #A86200;
  --warn-soft: #FFF0CC;
  --on-accent: #1A1A1A;
  --shadow: 0 2px 0 rgba(26, 26, 26, 0.9), 0 10px 26px -14px rgba(26, 26, 26, 0.35);
  --art-filter: none;
  --light-only: block;
  --dark-only: none;
  --display: "Bricolage Grotesque", "Figtree", ui-sans-serif, system-ui, sans-serif;
  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: var(--sans);
  --r-card: 24px;
  --r-ctl: 14px;
  --ring: var(--butter-soft);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: light; } }
:root[data-theme="dark"] { color-scheme: light; }
body[data-role="brand"] { --role: var(--sky); --role-soft: var(--sky-soft); --ring: var(--sky-soft); }
body[data-role="creator"] { --role: var(--bubble); --role-soft: var(--bubble-soft); --ring: var(--bubble-soft); }
body[data-role="team"] { --role: var(--tang); --role-soft: #FFE6D9; }

/* ---------- Base type: bigger, rounder, no shouty mono ---------- */
html { font-size: 106.25%; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.08; }
.mono { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 0.8125rem; font-weight: 600; }
.num { font-family: var(--sans); font-weight: 600; }
kbd { font-family: var(--sans) !important; }
::selection { background: var(--butter); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* ---------- Buttons: pills with an ink outline ---------- */
.btn { --b: var(--tang); --f: var(--ink); clip-path: none; border: 2px solid var(--ink); border-radius: 999px; height: 46px; padding-inline: 20px; font: 700 0.95rem/1 var(--sans); text-transform: none; letter-spacing: 0; transition: transform 0.12s, box-shadow 0.12s, background 0.15s; }
.btn:hover { --b: var(--tang); --f: var(--ink); transform: translateY(-2px); box-shadow: 0 3px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn.accent, body[data-role="team"] .btn.accent, body:not([data-role]) .btn.accent { --b: var(--role, var(--bubble)); --f: var(--ink); }
body:not([data-role]) .btn.accent { --b: var(--bubble); }
.btn.ghost, .btn.ghost:hover { --b: var(--surface); --f: var(--ink); background: var(--surface); color: var(--ink); }
.btn.ghost::before { display: none; }
.btn.quiet { border-color: transparent; background: transparent; color: var(--ink); }
.btn.quiet:hover { background: var(--paper-2); box-shadow: none; transform: none; }
.btn.danger { --b: var(--bubble-soft); --f: #B0124F; }
.btn.sm { height: 36px; padding-inline: 14px; font-size: 0.85rem; }
.btn.lg { height: 56px; padding-inline: 28px; font-size: 1.05rem; }
.on-night .btn { --b: var(--tang); --f: var(--ink); }
.on-night .btn.ghost { --b: var(--surface); --f: var(--ink); }
.icon-btn { border: 2px solid var(--ink); border-radius: 999px; width: 38px; height: 38px; background: var(--surface); }

/* ---------- Chips, badges, pills ---------- */
.chip { border-radius: 999px; height: 26px; padding-inline: 10px; border-width: 1.5px; font: 600 0.78rem/1 var(--sans); text-transform: none; letter-spacing: 0; }
.chip.fill { background: var(--paper-2); }
.badge { background: var(--ink) !important; color: var(--butter); font-family: var(--sans); font-weight: 700; border-radius: 999px; }
.filter-pill, .pick, .cx-filter { border: 2px solid var(--ink); border-radius: 999px; background: var(--surface); height: 38px; padding-inline: 14px; font-weight: 600; font-size: 0.9rem; }
.filter-pill[aria-pressed="true"], .pick[aria-pressed="true"], .cx-filter[aria-pressed="true"] { background: var(--butter); color: var(--ink); border-color: var(--ink); }
.seg { border: 2px solid var(--ink) !important; border-radius: 999px !important; padding: 3px !important; background: var(--surface) !important; }
.seg button { border-radius: 999px !important; font-weight: 600; font-family: var(--sans); text-transform: none; letter-spacing: 0; }
.seg button[aria-pressed="true"] { background: var(--ink) !important; color: var(--butter) !important; }
.tabs { gap: 6px; border-bottom: 0 !important; }
.tab { border-radius: 999px; border: 2px solid transparent; padding-inline: 14px; font-weight: 600; }
.tab[aria-selected="true"] { border-color: var(--ink); background: var(--butter); color: var(--ink); }
.tab[aria-selected="true"]::after { display: none; }

/* ---------- Forms ---------- */
.input, .select, .textarea { border: 2px solid var(--line-2); border-radius: var(--r-ctl); min-height: 48px; font-size: 1rem; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px var(--butter); }
.switch { background: var(--role, var(--sky)); border: 2px solid var(--ink); width: 46px; height: 28px; border-radius: 999px; }
.switch::after { top: 3px; left: 21px; border: 2px solid var(--ink); width: 18px; height: 18px; }
.switch[aria-checked="false"] { background: var(--paper-2) !important; }

/* ---------- Cards: ink outline + soft coloured ring ---------- */
.card, .panel, .modal, .c-card, .b-card, .b-pcard, .b-rcard, .cx-card, .cx-today, .cx-bcard, .cx-deal, .t-card, .b-strip, .dr-strip, .cx-req, .cx-row, .b-sec, .b-lane, .b-upcol {
  border: 2px solid var(--ink) !important; border-radius: var(--r-card) !important; background: var(--surface); box-shadow: 0 0 0 5px var(--ring);
}
.b-lane { background: var(--paper-2); box-shadow: none; }
.cx-row, .cx-req { border-radius: 18px !important; box-shadow: none; }
.modal { box-shadow: 0 0 0 6px var(--butter), 0 30px 60px -20px rgba(26, 26, 26, 0.45); }
.c-card .ph, .b-card .b-ph { border-radius: 18px; margin: 8px 8px 0; }
.c-card, .b-card { overflow: hidden; }
.avatar, .c2-av, .mark { border-radius: 999px !important; }
.mark { border: 2px solid var(--ink); background: var(--butter); color: var(--ink); font-family: var(--display); font-weight: 700; }
.toast { border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: var(--butter); font-weight: 600; }

/* ---------- Logo ---------- */
.logo { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; gap: 8px; text-decoration: none; display: inline-flex; align-items: center; }
.logo .orb { width: 34px; height: 34px; }

/* ---------- App shell: butter sidebar, cream page ---------- */
.side { background: var(--butter); border-right: 2px solid var(--ink); padding: 20px 14px; }
.side-org { border: 2px solid var(--ink); border-radius: 18px; background: var(--surface); }
.side-org b, .side-org span { color: var(--ink); }
.side-nav a { height: 46px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 1rem; padding-inline: 14px; }
.side-nav a:hover { background: rgba(255, 255, 255, 0.55); }
.side-nav a[aria-current="page"] { background: var(--surface); border: 2px solid var(--ink); color: var(--ink); }
.side-nav a[aria-current="page"]::before { display: none; }
.side-nav .grp { color: var(--night-dim); font-weight: 700; }
.side-foot { border-top: 2px dashed rgba(26, 26, 26, 0.25); }
.side-switch a { color: var(--ink); font-weight: 500; border-radius: 999px; }
.side-switch a:hover { background: rgba(255, 255, 255, 0.55); }
.side-user, .side-user * { color: var(--ink) !important; }
.side-user .icon-btn { border-color: var(--ink) !important; }
.topbar { background: color-mix(in srgb, var(--paper) 92%, transparent); border-bottom: 2px solid var(--ink); height: 68px; }
.search { border: 2px solid var(--ink); border-radius: 999px; height: 42px; background: var(--surface); font-size: 0.95rem; }
.search kbd { display: none; }
.page { gap: 28px; }
.page-head h1, .cx-hello h1, .b-hero h1 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); }
.cart-tray { background: var(--ink); color: var(--butter); border-radius: 999px; border: 2px solid var(--ink); box-shadow: 0 0 0 5px var(--butter); }
.cart-tray .btn { --b: var(--butter); --f: var(--ink); }

/* ---------- Chat ---------- */
.c2-list, .c2-thread { background: var(--surface); }
.c2-item { border-radius: 18px; }
.c2-item[aria-current="true"] { background: var(--butter-soft); }
.c2-text { border-radius: 22px !important; font-size: 1rem; }
.c2-msg.mine .c2-text { background: var(--role, var(--bubble)) !important; color: var(--ink) !important; border: 2px solid var(--ink); }
.c2-compose { border: 2px solid var(--ink) !important; border-radius: 26px !important; box-shadow: 0 0 0 5px var(--ring); background: var(--surface); }
.c2-send { border-radius: 999px !important; background: var(--ink) !important; color: var(--butter) !important; }
.c2-day, .c2-sys { font-family: var(--sans); text-transform: none; letter-spacing: 0; }

/* ---------- Requests: bigger, calmer tickets ---------- */
.b-pcard h3 { font-size: 1.35rem; }
.b-pcard, .b-pcard dd, .b-pnext { font-size: 1rem; }
.dr-tag { font: 700 0.78rem/1 var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; border-radius: 999px !important; background: var(--butter) !important; color: var(--ink) !important; padding: 5px 10px !important; border: 1.5px solid var(--ink); }
.b-own { font-weight: 600; font-size: 0.9rem; }
.b-mterms dt, .dr-term dt { font-size: 0.8rem !important; }
.b-mterms dd, .dr-term dd { font-size: 1rem !important; font-weight: 600; }

/* ---------- Creator mobile tab bar ---------- */
.cx-tabbar { background: var(--butter); border-top: 2px solid var(--ink); }
.cx-tabbar a[aria-current="page"] { color: var(--ink); font-weight: 700; }

/* ---------- Auth and waitlist: colour blocks + mascot, no chrome art ---------- */
.auth-side { background-image: none !important; background-color: var(--sky) !important; color: var(--ink) !important; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; right: -10px; bottom: -6px; width: 46%; max-width: 260px; aspect-ratio: 220 / 260; background: url("brand/mascot.svg") center / contain no-repeat; pointer-events: none; }
.auth-side .big { font-family: var(--display); font-weight: 700; color: var(--ink) !important; }
.auth-side .mono, .auth-side li, .auth-side p, .auth-side .side-note { color: var(--ink) !important; }
body[data-role="creator"] .auth-side, .apply-side { background-color: var(--bubble) !important; }
.waitlist { background: var(--butter) !important; color: var(--ink) !important; }
.waitlist .lede, .waitlist .w-foot, .waitlist .w-foot a, .waitlist .next p, .waitlist .sent dt, .waitlist .chip { color: var(--night-dim) !important; }
.waitlist .next, .waitlist .sent { border: 2px solid var(--ink) !important; background: var(--surface); border-radius: var(--r-card) !important; }

/* ============ Website ============ */
.bb-nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; padding-block: 14px; }
.bb-nav .wrap { display: flex; align-items: center; gap: 18px; }
.bb-links { display: flex; gap: 6px; margin-left: 18px; }
.bb-links a { text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.bb-links a:hover, .bb-links a[aria-current="page"] { background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); }
.bb-nav-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.bb-nav-r .login { font-weight: 600; text-decoration: none; padding: 8px 12px; }
.bb-nav-in { background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 8px 8px 18px; box-shadow: 0 0 0 5px var(--butter-soft); }
.bb-nav .btn.ghost.bb-pink { --b: var(--bubble); background: var(--bubble); }
.bb-menu { display: none; }

/* Sky hero */
.bb-sky { position: relative; overflow: hidden; background: linear-gradient(180deg, #6E9CF2 0%, #93B7F7 45%, #C9DBFF 72%, #FFE3F1 100%); color: var(--ink); padding-block: 26px 0; }
.bb-sky::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; pointer-events: none; }
.bb-cloud { position: absolute; width: var(--w, 260px); aspect-ratio: 2 / 1; background: url("brand/cloud.svg") center / contain no-repeat; pointer-events: none; animation: bb-drift 26s ease-in-out infinite alternate; }
@keyframes bb-drift { to { transform: translateX(28px); } }
.bb-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 32px; align-items: center; padding-block: clamp(36px, 6vw, 80px) 40px; }
.bb-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.9rem, 1.7rem + 4.6vw, 5.6rem); line-height: 0.98; letter-spacing: -0.025em; color: var(--ink); margin-top: 18px; }
.bb-hero h1 .hl { display: inline-block; padding: 0 0.22em 0.06em; background: var(--bubble); border: 3px solid var(--ink); border-radius: 999px; transform: rotate(-2.5deg); box-shadow: 5px 5px 0 var(--ink); }
.bb-ground.pink .bb-hero h1 .hl { background: var(--butter); }
.bb-hero p.lede { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); max-width: 34ch; margin-top: 22px; font-weight: 500; }
.bb-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.bb-fine { margin-top: 16px; font-weight: 600; font-size: 0.92rem; display: flex; gap: 8px 18px; flex-wrap: wrap; }
.bb-fine span::before { content: "✓ "; }
.bb-stage { position: relative; min-height: 420px; }
.bb-mascot { position: absolute; width: min(230px, 42%); right: -2%; bottom: 2%; animation: bb-bob 3.2s ease-in-out infinite; z-index: 3; }
@keyframes bb-bob { 50% { transform: translateY(-12px) rotate(-2deg); } }
.bb-bubble { position: absolute; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.5); font-weight: 600; font-size: 0.92rem; white-space: nowrap; z-index: 2; }
.bb-bubble img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); }
.bb-bubble b { display: block; font-size: 0.95rem; }
.bb-bubble small { display: block; color: var(--dim); font-weight: 500; font-size: 0.8rem; }
.bb-bubble.deal { background: var(--butter); padding: 10px 16px; }
.bb-hill { position: relative; height: 70px; background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0; margin-inline: -8%; margin-top: -10px; }

/* Sections */
.bb-sec { padding-block: clamp(48px, 7vw, 96px); }
.bb-sec .wrap { display: grid; gap: 34px; }
.bb-head { display: grid; gap: 10px; justify-items: center; text-align: center; }
.bb-head h2 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); }
.bb-head p { color: var(--dim); font-size: 1.12rem; max-width: 52ch; }
.bb-pop { display: inline-block; padding: 0 14px 4px; background: var(--bubble); border: 2px solid var(--ink); border-radius: 999px; transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink); }
.bb-creators { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.bb-cc { display: grid; gap: 10px; padding: 10px 10px 16px; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-card); box-shadow: 0 0 0 5px var(--c, var(--butter-soft)); text-decoration: none; transition: transform 0.15s; }
.bb-cc:hover { transform: translateY(-4px) rotate(-0.6deg); }
.bb-cc .ph { aspect-ratio: 1; border-radius: 18px; background: center / cover no-repeat; position: relative; }
.bb-cc .ph .chip { position: absolute; left: 10px; top: 10px; background: var(--surface); border-color: var(--ink); color: var(--ink); }
.bb-cc b { font-family: var(--display); font-size: 1.25rem; padding-inline: 6px; line-height: 1.1; }
.bb-cc .st { display: flex; gap: 14px; padding-inline: 6px; font-size: 0.9rem; color: var(--dim); }
.bb-cc .st strong { color: var(--ink); font-size: 1.05rem; }
.bb-more { display: flex; justify-content: center; }

.bb-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.bb-step { position: relative; display: grid; gap: 12px; align-content: start; padding: 30px 26px 28px; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-card); box-shadow: 0 0 0 6px var(--c); }
.bb-step .n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--c2); font: 800 1.4rem/1 var(--display); }
.bb-step h3 { font-size: 1.6rem; }
.bb-step p { color: var(--ink-2); font-size: 1.05rem; }

.bb-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.bb-side { display: grid; gap: 14px; align-content: start; padding: 32px; border: 2px solid var(--ink); border-radius: 30px; background: var(--c); }
.bb-side h3 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); }
.bb-side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 1.05rem; font-weight: 500; }
.bb-side li { display: flex; gap: 10px; align-items: flex-start; }
.bb-side li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--ink); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.bb-side .btn { justify-self: start; margin-top: 8px; }

.bb-banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 52px); background: var(--butter); border: 2px solid var(--ink); border-radius: 34px; overflow: hidden; }
.bb-banner h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); }
.bb-banner p { font-size: 1.12rem; max-width: 46ch; margin-top: 10px; }
.bb-banner .bb-cta { margin-top: 22px; }
.bb-banner img { width: clamp(140px, 18vw, 220px); }
.bb-banner .btn.blue { --b: var(--sky); }

.bb-faq { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; width: 100%; }
.bb-faq details { background: var(--surface); border: 2px solid var(--ink); border-radius: 22px; padding: 4px 22px; }
.bb-faq details[open] { box-shadow: 0 0 0 5px var(--bubble-soft); }
.bb-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-block: 16px; font: 700 1.15rem/1.3 var(--display); }
.bb-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); font: 700 1.2rem/1 var(--sans); background: var(--butter); }
.bb-faq details[open] summary::after { content: "–"; }
.bb-faq p { padding-bottom: 18px; color: var(--ink-2); font-size: 1.02rem; }

.bb-foot { background: var(--ink); color: var(--cream); margin-top: 40px; border-radius: 40px 40px 0 0; padding-block: 48px 28px; }
.bb-foot .wrap { display: grid; gap: 30px; }
.bb-foot-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.bb-foot .logo { color: var(--butter); }
.bb-foot p { color: #CFC6B8; max-width: 38ch; margin-top: 10px; }
.bb-foot nav { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.bb-foot nav a { color: var(--cream); text-decoration: none; font-weight: 600; }
.bb-foot nav a:hover { color: var(--butter); }
.bb-foot-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #A39A8C; font-size: 0.88rem; border-top: 1px solid #3A3835; padding-top: 18px; }

/* Cream ground with a geometric collage (replaces the sky) */
.bb-ground { position: relative; background: var(--cream); padding-top: 14px; }
.bb-ground.pink { background: linear-gradient(180deg, var(--bubble-soft), var(--cream) 85%); }
.bb-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 10px; background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 0.92rem; }
.bb-kicker .sh { width: 22px; height: 22px; }
.bb-collage { position: relative; min-height: 520px; }
.bb-collage > .sh { pointer-events: none; }
.bb-ph { position: absolute; margin: 0; aspect-ratio: 3 / 4; border: 3px solid var(--ink); overflow: hidden; box-shadow: 6px 6px 0 var(--ink); z-index: 1; }
.bb-ph.arch { border-radius: 999px 999px 24px 24px; }
.bb-ph.circ { aspect-ratio: 1; border-radius: 50%; }
.bb-ph.blob { aspect-ratio: 1; border-radius: 58% 42% 50% 50% / 46% 54% 46% 54%; }
.bb-ph.tile { border-radius: 26px; }
.bb-ph .img, .duo .img { position: absolute; inset: 0; background: center / cover no-repeat; filter: grayscale(1) contrast(1.25) brightness(1.1); }
.bb-ph::after, .duo::after { content: ""; position: absolute; inset: 0; background: var(--d, var(--bubble)); mix-blend-mode: screen; pointer-events: none; }
.bb-collage .bb-bubble { z-index: 2; }
.bb-collage .bb-mascot { width: min(170px, 30%); right: 0; bottom: 6%; }

/* Shape marquee band */
.bb-band { background: var(--ink); color: var(--cream); overflow: hidden; border-block: 3px solid var(--ink); margin-top: 40px; }
.bb-band-track { display: flex; width: max-content; animation: bb-marq 38s linear infinite; }
.bb-band-i { display: inline-flex; align-items: center; gap: 16px; padding: 22px 26px; font: 800 clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem)/1 var(--display); white-space: nowrap; }
.bb-band-i .sh { width: 40px; height: 40px; flex: none; }
@keyframes bb-marq { to { transform: translateX(-50%); } }

/* Creator tiles: duotone frames in different shapes */
.bb-cc .ph.duo { overflow: hidden; border: 2px solid var(--ink); }
.bb-cc .ph.arch { border-radius: 999px 999px 18px 18px; }
.bb-cc .ph.circ { border-radius: 50%; }
.bb-cc .ph.blob { border-radius: 58% 42% 50% 50% / 46% 54% 46% 54%; }
.bb-cc .ph .chip { z-index: 2; }
.bb-cc .ph.arch .chip, .bb-cc .ph.circ .chip, .bb-cc .ph.blob .chip { left: 50%; top: auto; bottom: 10px; transform: translateX(-50%); }

/* Step badges: a shape with the number on top */
.bb-step .n { position: relative; width: 64px; height: 64px; border: 0; background: none; }
.bb-step .n .sh { position: absolute; inset: 0; width: 100%; height: 100%; }
.bb-step .n > span { position: relative; z-index: 1; }

/* Banner shapes sit behind the copy */
.bb-banner > .sh { position: absolute; z-index: 0; pointer-events: none; }
.bb-banner > div, .bb-banner > img { position: relative; z-index: 1; }

/* Small shape accents in the apps */
.cx-hello, .page-head { position: relative; }
.cx-hello::after, .page-head::after { content: ""; position: absolute; right: 0; top: -6px; width: 92px; height: 60px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 100'%3E%3Cpath d='M0 100a50 50 0 0 1 100 0z' fill='%23FF7A45'/%3E%3Ccircle cx='118' cy='30' r='22' fill='%235B8DEF'/%3E%3Cpath d='M70 4c2 14 8 20 22 22-14 2-20 8-22 22-2-14-8-20-22-22 14-2 20-8 22-22z' fill='%23FF6FC4'/%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none; }
body[data-role="creator"] .cx-hello::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 100'%3E%3Cpath d='M0 100V50a40 40 0 0 1 80 0v50z' fill='%23FF6FC4'/%3E%3Cpolygon points='120,10 145,55 95,55' fill='%23FFE873' stroke='%231A1A1A' stroke-width='3'/%3E%3Cpath d='M90 85c8-12 16 12 24 0s16 12 24 0' fill='none' stroke='%238FE3C8' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* Creator page hero tint */
.bb-sky.pink { background: linear-gradient(180deg, #FF9BD3 0%, #FFC3E4 50%, #FFE6F3 80%, var(--cream) 100%); }
.bb-sky.pink .bb-hero h1 { text-shadow: 4px 4px 0 var(--sky), 7px 7px 0 var(--ink); }

/* ---------- Creator inbox: brand emails answered through our team ---------- */
.ib-mail { display: grid; gap: 10px; padding: 18px 20px; background: var(--surface); border: 2px solid var(--ink); border-radius: 22px; box-shadow: 0 0 0 5px var(--sky-soft); max-width: 640px; }
.ib-mail-h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 0.9rem; color: var(--dim); }
.ib-mail-h b { color: var(--ink); font-size: 1rem; }
.ib-mail p { font-size: 1rem; line-height: 1.55; }
.ib-mail.formal { box-shadow: 0 0 0 5px var(--mint-soft); }
.ib-draft { display: grid; gap: 10px; }
.ib-draft-note { display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--butter-soft); border: 2px dashed var(--ink); border-radius: 18px; font-size: 0.92rem; font-weight: 500; }
.ib-draft-note img { width: 30px; height: 30px; flex: none; }
.ib-draft .textarea { min-height: 96px; border-radius: 20px; border-color: var(--ink); }
.ib-draft-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ib-draft-f .dim { font-size: 0.88rem; }
.ib-status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; }
.ib-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--tang); }
.ib-status.sent i { background: var(--ok); }

/* ---------- Creator home: minimal ---------- */
.cxm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cxm-num { display: grid; gap: 4px; padding: 20px 22px; background: var(--surface); border: 2px solid var(--ink); border-radius: 22px; text-decoration: none; box-shadow: 0 0 0 5px var(--c, var(--bubble-soft)); }
.cxm-num span { font-weight: 600; color: var(--dim); font-size: 0.92rem; }
.cxm-num b { font: 800 2.4rem/1 var(--display); }
.cxm-num small { font-size: 0.88rem; color: var(--ink-2); }
.cxm-brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cxm-brand { display: grid; gap: 10px; align-content: start; padding: 18px; background: var(--surface); border: 2px solid var(--ink); border-radius: 22px; text-decoration: none; }
.cxm-brand .top { display: flex; gap: 10px; align-items: center; }
.cxm-brand .top b { font-family: var(--display); font-size: 1.15rem; line-height: 1.1; }
.cxm-brand p { color: var(--ink-2); font-size: 0.95rem; }
.cxm-brand .go { font-weight: 700; font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .bb-hero { grid-template-columns: 1fr; }
  .bb-stage { min-height: 360px; }
  .bb-collage { min-height: 440px; max-width: 520px; width: 100%; margin-inline: auto; }
  .bb-creators { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bb-steps, .bb-two, .cxm-brands { grid-template-columns: 1fr; }
  .bb-links { display: none; }
  .bb-banner { grid-template-columns: 1fr; }
  .bb-banner img { justify-self: end; margin-top: -40px; width: 130px; }
}
@media (max-width: 600px) {
  .bb-collage { min-height: 360px; }
  .cx-hello::after, .page-head::after { width: 64px; height: 42px; top: -14px; }
  .bb-nav-r .login, .bb-nav-r .hide-xs { display: none; }
  .bb-creators { gap: 14px; }
  .bb-cc b { font-size: 1.05rem; }
  .bb-cc .st { gap: 8px; font-size: 0.8rem; }
  .cxm-grid { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .cxm-num { padding: 14px; }
  .cxm-num b { font-size: 1.8rem; }
  .bb-bubble { font-size: 0.8rem; }
  .bb-bubble img { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-cloud, .bb-mascot, .bb-band-track { animation: none; }
  .bb-cc:hover, .btn:hover { transform: none; }
}

/* Creator home: one calm column */
.cx.cx-home { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 1040px; }
.cx-sec-head .mono, .cx-hello > .mono { text-transform: none; letter-spacing: 0; }
.cx-sec-head .mono { font: 700 1.4rem/1.2 var(--display); color: var(--ink); }
.cx-sec-head { align-items: baseline; margin-bottom: 12px; }
.cx-link { font-weight: 700; }
.cx-sec .cx-row + .cx-row { margin-top: 12px; }

/* Brand: roomier cards, calm request board */
.b-card { padding-bottom: 14px; }
.b-card .b-meta, .b-card .b-fit { padding-inline: 14px; }
.b-card .b-meta { padding-top: 10px; }
.b-card .b-meta b { font: 700 1.15rem/1.15 var(--display); }
.b-lane { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; }
.b-laneh { font-size: 1.05rem; padding: 0 6px 10px; }
.b-own, .b-mterms dt, .b-pnext .mono, .dr-term dt, .b-rlab, .b-num .mono, .b-peek { text-transform: none !important; letter-spacing: 0 !important; }
.b-own { font-size: 0.85rem !important; }
.b-mterms dt { font-size: 0.88rem !important; color: var(--dim); }
.b-pnext .mono { font-size: 0.85rem !important; font-weight: 700; }
.b-pcfoot a { font-size: 0.92rem !important; font-weight: 700; }
.b-add { border: 2px solid var(--ink) !important; border-radius: 999px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; }
.b-add[aria-pressed="true"] { background: var(--butter) !important; color: var(--ink) !important; }

/* ============ v3: a little more serious ============ */
h1, h2, h3, h4 { letter-spacing: -0.03em; font-weight: 800; }
.bb-hero h1 { letter-spacing: -0.028em; line-height: 0.98; font-size: clamp(2.8rem, 1.6rem + 4.4vw, 5.4rem); }
.bb-hero h1 .hl { transform: rotate(-1.2deg); box-shadow: 3px 3px 0 var(--ink); border-width: 2.5px; padding: 0 0.2em 0.04em; }
.bb-pop { transform: rotate(-1.2deg); box-shadow: 2px 2px 0 var(--ink); }
.bb-ph { box-shadow: 4px 4px 0 var(--ink); border-width: 2.5px; }
.bb-cc:hover { transform: translateY(-3px); }
.bb-mascot { animation-duration: 4.5s; }
.bb-head h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); }
.bb-tight { padding-block: 8px 40px; }

/* Platform logos */
.pl { width: 22px; height: 22px; flex: none; display: inline-block; vertical-align: middle; }
.pl.big { width: 56px; height: 56px; }
.bb-on { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 600; color: var(--dim); }
.bb-on .pl { width: 30px; height: 30px; }
.bb-band-i .pl { width: 40px; height: 40px; }
.bb-cc .st { align-items: center; }
.bb-cc .pst { display: inline-flex; align-items: center; gap: 6px; }
.bb-cc .pst .pl { width: 18px; height: 18px; }
.bb-cc .pst.er { margin-left: auto; }

/* Fact strip */
.bb-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border: 2px solid var(--ink); border-radius: 28px; background: var(--surface); overflow: hidden; }
.bb-facts > div { display: grid; gap: 4px; padding: 24px 26px; }
.bb-facts > div + div { border-left: 2px solid var(--ink); }
.bb-facts dt { font-weight: 700; color: var(--dim); font-size: 0.9rem; }
.bb-facts dd { margin: 0; font: 800 clamp(2.4rem, 1.8rem + 2vw, 3.6rem)/1 var(--display); letter-spacing: -0.04em; }
.bb-facts span { font-size: 0.95rem; color: var(--ink-2); }

/* Platforms */
.bb-plats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bb-plat { display: grid; gap: 12px; align-content: start; padding: 28px; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-card); }
.bb-plat h3 { font-size: 1.7rem; }
.bb-plat p { color: var(--ink-2); font-size: 1.02rem; }
.bb-plat ul { margin: 6px 0 0; padding: 14px 0 0; list-style: none; border-top: 2px dashed var(--line-2); display: grid; gap: 8px; font-size: 0.95rem; font-weight: 500; }
.bb-plat li::before { content: "→ "; font-weight: 700; }

/* Proof: sample profile */
.bb-proof { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; align-items: center; gap: 48px !important; }
.bb-proof-copy { display: grid; gap: 18px; justify-items: start; }
.bb-proof-copy h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); }
.bb-proof-copy p { font-size: 1.1rem; color: var(--ink-2); max-width: 46ch; }
.bb-ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-weight: 500; }
.bb-ticks li { display: flex; gap: 10px; }
.bb-ticks li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); font-size: 0.75rem; font-weight: 800; }
.bb-prof { position: relative; margin: 0; display: grid; gap: 16px; padding: 22px; background: var(--surface); border: 2px solid var(--ink); border-radius: 28px; box-shadow: 0 0 0 8px var(--sky-soft); }
.bb-prof-top { display: flex; gap: 14px; align-items: center; }
.bb-prof-top b { display: block; font: 800 1.3rem/1.1 var(--display); }
.bb-prof-top span { color: var(--dim); font-size: 0.9rem; }
.bb-prof-ph { position: relative; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 2px solid var(--ink); flex: none; }
.bb-ver { margin-left: auto; padding: 6px 12px; border-radius: 999px; background: var(--mint-soft); border: 1.5px solid var(--ok); color: var(--ok) !important; font-weight: 700; font-size: 0.82rem !important; white-space: nowrap; }
.bb-prof-rows { display: grid; gap: 8px; }
.bb-prof-rows > div { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--paper); }
.bb-prof-rows b { font: 800 1.2rem/1 var(--display); }
.bb-prof-rows em { font-style: normal; color: var(--dim); font-size: 0.88rem; min-width: 9ch; text-align: right; }
.bb-prof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bb-prof-grid > div { display: grid; gap: 2px; padding: 12px; border: 1.5px solid var(--line-2); border-radius: 14px; }
.bb-prof-grid span { font-size: 0.78rem; color: var(--dim); font-weight: 600; }
.bb-prof-grid b { font: 800 1.1rem/1.1 var(--display); }
.bb-aud { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; }
.bb-aud i { display: block; height: 12px; border-radius: 999px; border: 1.5px solid var(--ink); background: linear-gradient(90deg, var(--bubble) var(--p), var(--sky) var(--p)); }
.bb-prof figcaption { position: absolute; top: -14px; right: 22px; padding: 4px 12px; border-radius: 999px; background: var(--butter); border: 1.5px solid var(--ink); font-size: 0.78rem; font-weight: 700; }

/* Campaign kinds */
.bb-kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bb-kinds article { display: grid; gap: 10px; align-content: start; padding: 24px; border: 2px solid var(--ink); border-radius: var(--r-card); background: var(--c); }
.bb-kinds .sh { width: 54px; height: 54px; }
.bb-kinds h3 { font-size: 1.35rem; }
.bb-kinds p { font-size: 0.98rem; color: var(--ink-2); }

@media (max-width: 900px) {
  .bb-facts, .bb-kinds { grid-template-columns: 1fr 1fr; }
  .bb-facts > div:nth-child(3) { border-left: 0; }
  .bb-facts > div:nth-child(n+3) { border-top: 2px solid var(--ink); }
  .bb-plats, .bb-proof { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .bb-prof-grid { grid-template-columns: 1fr 1fr; }
  .bb-kinds { grid-template-columns: 1fr; }
  .bb-facts > div { padding: 18px; }
  .bb-prof-top { flex-wrap: wrap; }
  .bb-ver { margin-left: 0; }
}

/* ============ Creator campaign inbox ============ */
body[data-role="creator"] .page:has(.ci) { max-width: none; padding-bottom: 24px; }
.ci { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 20px; height: calc(100dvh - 68px - 60px); min-height: 560px; }
.ci-side { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.ci-side-h h1 { font-size: 2rem; }
.ci-sync { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--dim); font-weight: 600; }
.ci-sync i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.ci-camps { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.ci-camp { flex: none; display: grid; gap: 2px; text-align: left; padding: 9px 14px; border: 2px solid var(--ink); border-radius: 18px; background: var(--surface); cursor: pointer; max-width: 230px; }
.ci-camp b { font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-camp span { font-size: 0.78rem; color: var(--dim); display: inline-flex; align-items: center; gap: 5px; }
.ci-camp.on { background: var(--butter); }
.ci-run { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.ci-run.on { background: var(--ok); }
.ci-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 12px; border: 2px dashed var(--line-2); border-radius: 18px; }
.ci-stats div { display: grid; }
.ci-stats span { font-size: 0.72rem; color: var(--dim); font-weight: 600; }
.ci-stats b { font: 800 1.2rem/1.1 var(--display); }
.ci-stats p { grid-column: 1 / -1; font-size: 0.82rem; color: var(--dim); }
.ci-threads { display: grid; gap: 8px; overflow-y: auto; align-content: start; min-height: 0; padding: 4px 4px 12px 2px; }
.ci-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 12px; border: 2px solid transparent; border-radius: 18px; text-decoration: none; background: var(--surface); }
.ci-item:hover { border-color: var(--line-2); }
.ci-item.on { border-color: var(--ink); box-shadow: 0 0 0 4px var(--bubble-soft); }
.ci-item .mark { width: 38px; height: 38px; font-size: 0.8rem; }
.ci-item-b { display: grid; gap: 4px; min-width: 0; }
.ci-item-t { display: flex; justify-content: space-between; gap: 8px; }
.ci-item-t em { font-style: normal; font-size: 0.78rem; color: var(--dim); }
.ci-item.unread .ci-item-t b::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: var(--bubble); vertical-align: middle; }
.ci-item-s { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ci-item-c { font-size: 0.75rem; color: var(--dim); font-weight: 600; }
.ci-item-p { font-size: 0.85rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-label { display: inline-flex; align-items: center; height: 22px; padding-inline: 9px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; border: 1.5px solid currentColor; }
.ci-label.opp { color: #B0124F; background: var(--bubble-soft); }
.ci-label.ok { color: var(--ok); background: var(--ok-soft); }
.ci-label.q { color: var(--cobalt); background: var(--sky-soft); }
.ci-label.muted { color: var(--dim); }
.ci-label.team { color: var(--ink); background: var(--butter); }
.ci-empty { color: var(--dim); padding: 16px; font-size: 0.9rem; }

.ci-pane { display: flex; flex-direction: column; min-height: 0; background: var(--surface); border: 2px solid var(--ink); border-radius: 26px; overflow: hidden; }
.ci-blank { margin: auto; text-align: center; max-width: 36ch; display: grid; gap: 8px; padding: 24px; }
.ci-blank b { font: 800 1.4rem/1.2 var(--display); }
.ci-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 2px solid var(--ink); background: var(--paper); flex-wrap: wrap; }
.ci-head .mark { width: 42px; height: 42px; }
.ci-head-t { display: grid; flex: 1; min-width: 160px; }
.ci-head-t b { font: 800 1.25rem/1.15 var(--display); }
.ci-head-t span { font-size: 0.85rem; color: var(--dim); }
.ci-back { display: none; text-decoration: none; font-size: 1.3rem; font-weight: 700; }
.ci-opp { display: flex; gap: 12px; align-items: center; margin: 12px 18px 0; padding: 10px 12px 10px 14px; border: 2px solid var(--ink); border-radius: 20px; background: var(--butter); flex-wrap: wrap; }
.ci-opp-ic { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--bubble); border: 2px solid var(--ink); font-weight: 800; }
.ci-opp > div:nth-child(2) { flex: 1; min-width: 200px; }
.ci-opp p { font-size: 0.88rem; }
.ci-opp-a { display: flex; gap: 6px; }
.ci-log { flex: 1; overflow-y: auto; display: grid; gap: 14px; align-content: start; padding: 18px; }
.ci-mail { border: 2px solid var(--ink); border-radius: 20px; padding: 14px 18px; max-width: 720px; display: grid; gap: 8px; }
.ci-mail.in { background: var(--surface); box-shadow: 0 0 0 4px var(--sky-soft); }
.ci-mail.out { background: var(--paper); justify-self: end; box-shadow: 0 0 0 4px var(--bubble-soft); }
.ci-mail header { display: flex; gap: 10px; align-items: center; }
.ci-mail header .mark { width: 32px; height: 32px; font-size: 0.7rem; }
.ci-mail header .mark.me { background: var(--bubble); }
.ci-mail header div { display: grid; flex: 1; min-width: 0; }
.ci-mail header b { font-size: 0.95rem; }
.ci-mail header span { font-size: 0.8rem; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-mail header em { font-style: normal; font-size: 0.8rem; color: var(--dim); white-space: nowrap; }
.ci-mail h4 { font: 700 1rem/1.3 var(--sans); letter-spacing: 0; }
.ci-body { font-size: 0.98rem; line-height: 1.6; }
.ci-mail footer { font-size: 0.78rem; color: var(--dim); font-weight: 600; }
.ci-files { display: flex; flex-wrap: wrap; gap: 6px; }
.ci-file { padding: 4px 10px; border-radius: 999px; background: var(--paper-2); border: 1.5px solid var(--line-2); font-size: 0.8rem; font-weight: 600; }
.ci-sys { justify-self: center; text-align: center; font-size: 0.85rem; padding: 6px 14px; border-radius: 999px; background: var(--butter-soft); border: 1.5px dashed var(--ink); max-width: 90%; }
.ci-msg { display: flex; gap: 10px; align-items: flex-end; max-width: 640px; }
.ci-msg.mine { justify-self: end; }
.ci-bub { padding: 10px 14px; border-radius: 20px; border: 2px solid var(--ink); background: var(--butter-soft); }
.ci-msg.mine .ci-bub { background: var(--bubble); }
.ci-meta { display: flex; gap: 8px; font-size: 0.78rem; color: var(--dim); flex-wrap: wrap; }
.ci-meta b { color: var(--ink); }
.ci-private { font-weight: 700; color: var(--ok); }
.ci-compose { border-top: 2px solid var(--ink); padding: 14px 18px; background: var(--paper); }
.ci-form, .ci-draft { display: grid; gap: 10px; }
.ci-hint { font-size: 0.85rem; font-weight: 600; color: var(--dim); }
.ci-form .textarea { min-height: 84px; border-color: var(--ink); }
.ci-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.ci-attach { cursor: pointer; }
.ci-magic { background: linear-gradient(90deg, var(--bubble), var(--butter), var(--sky)) !important; }
.ci-magic-ic { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--butter); font-size: 0.9rem; }
.ci-magic-ic.spin { animation: ci-spin 0.9s linear infinite; }
@keyframes ci-spin { to { transform: rotate(360deg); } }
.ci-drafting { display: flex; gap: 10px; align-items: center; font-weight: 700; padding: 18px 4px; }
.ci-draft-h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ci-draft-h .dim { font-size: 0.85rem; }
.ci-draft dl { margin: 0; display: grid; gap: 6px; }
.ci-draft dl div { display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; gap: 8px; font-size: 0.9rem; }
.ci-draft dt { color: var(--dim); font-weight: 600; }
.ci-draft dd { margin: 0; }
.ci-draft .input { min-height: 40px; }
.ci-draft .textarea { min-height: 220px; font-size: 0.95rem; line-height: 1.55; border-color: var(--ink); box-shadow: 0 0 0 4px var(--butter-soft); }
@media (max-width: 900px) {
  .ci { grid-template-columns: 1fr; height: auto; }
  .ci-pane { display: none; min-height: 70dvh; }
  .ci.has-thread .ci-side { display: none; }
  .ci.has-thread .ci-pane { display: flex; }
  .ci-back { display: inline-block; }
  .ci-log { max-height: 55dvh; }
}
@media (prefers-reduced-motion: reduce) { .ci-magic-ic.spin { animation: none; } }

/* ============ Greek pop pieces ============ */
.gk { display: block; }
.bb-collage > .gk { position: absolute; }
.meander { height: 22px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='22' viewBox='0 0 28 22'%3E%3Cpath d='M0 19H28M3 19V4h18v11h-11V8h6' fill='none' stroke='%23FFE873' stroke-width='2.6'/%3E%3C/svg%3E") repeat-x center / 28px 22px; }
.halftone { background-image: radial-gradient(rgba(26, 26, 26, 0.13) 1.3px, transparent 1.6px); background-size: 9px 9px; }
.bb-kinds article, .bb-step { background-image: radial-gradient(rgba(26, 26, 26, 0.07) 1.2px, transparent 1.5px); background-size: 9px 9px; }
.bb-step { background-color: var(--surface); }
.bb-collage > [class^="gk-"] { position: absolute; z-index: 1; }
.bb-collage > .gk-bust { filter: drop-shadow(6px 6px 0 rgba(26, 26, 26, 0.9)); }
.bb-collage .bb-bubble small .pl { width: 14px; height: 14px; vertical-align: -2px; }

/* ============ v5: sharp Greek pop only ============ */
.bb-collage > [class^="gk-"] .gk { width: 100%; height: auto; }
.bb-collage > .gk-bust { filter: none; }
.bb-collage > .gk-frame { z-index: 0; }
.bb-collage .bb-bubble { z-index: 3; }
.bb-kicker .gk { width: 24px; height: 24px; }
.bb-band-i .gk { width: auto; height: 44px; flex: none; }
.bb-band-i .gk.coin, .bb-band-i .gk.laurel { width: 44px; }
.bb-step .n { width: 72px; height: 72px; }
.bb-step .n .gk { width: 72px; height: 72px; }
.bb-kinds .gk-ic { display: block; height: 70px; }
.bb-kinds .gk-ic .gk { height: 70px; width: auto; }
.bb-banner > .gk-ban-ol { position: absolute; left: -1%; top: -18%; width: 11%; z-index: 0; transform: rotate(-20deg); }
.bb-banner > .gk-ban-par { position: absolute; left: 54%; top: 52%; width: 22%; z-index: 0; }
.bb-banner > .gk-ban-ol .gk, .bb-banner > .gk-ban-par .gk { width: 100%; height: auto; }
/* creator tile frames: coin rim and temple pediment */
.bb-cc .ph.coin { border-radius: 50%; outline: 3px dotted var(--ink); outline-offset: 4px; margin: 8px; }
.bb-cc .ph.pediment { border: 0; clip-path: polygon(0 20%, 50% 0, 100% 20%, 100% 100%, 0 100%); }
.bb-cc .ph.pediment .chip { left: 50%; top: auto; bottom: 10px; transform: translateX(-50%); }
.bb-cc .ph.tile { border-radius: 6px; outline: 2px solid var(--ink); outline-offset: 4px; margin: 6px; }
.bb-cc .ph.coin .chip { left: 50%; top: auto; bottom: 10px; transform: translateX(-50%); }
/* app header accent: column, olive, amphora */
.cx-hello::after, .page-head::after, body[data-role="creator"] .cx-hello::after { background-image: url("brand/accent-greek.svg"); width: 120px; height: 82px; top: -18px; }
.bb-kicker .gk { width: auto; height: 26px; }
.bb-collage > .gk-hero { z-index: 1; filter: drop-shadow(8px 8px 0 #1A1A1A); }
.bb-collage { min-height: 600px; }
@media (max-width: 900px) { .bb-collage { min-height: 520px; } }
@media (max-width: 600px) { .bb-collage { min-height: 440px; } }

/* Hero: astra liquid-marble bust */
.bb-collage > .gk-photo { filter: none; }
.gk-photo img { width: 100%; display: block; mix-blend-mode: multiply; animation: gkfloat 7s ease-in-out infinite alternate; }
@keyframes gkfloat { to { transform: translateY(-10px) rotate(-0.6deg); } }
@media (max-width: 900px) {
  .bb-collage > .gk-photo { left: 0 !important; width: 100% !important; top: -4% !important; }
  .bb-collage > .gk-olive { display: none; }
}
@media (prefers-reduced-motion: reduce) { .gk-photo img { animation: none; } }
.gk-photo img { -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); }
@media (max-width: 900px) {
  .bb-collage { height: auto !important; aspect-ratio: 1 / 1.05; max-width: 100%; overflow: visible; }
  .bb-collage > .gk-photo { top: 0 !important; }
  .bb-collage > .gk-amph { display: none; }
  .bb-collage > .bb-bubble { left: 2% !important; top: auto !important; bottom: 14%; transform: scale(0.85); transform-origin: left bottom; }
  .bb-collage > .bb-bubble.deal { left: auto !important; right: 2%; bottom: 2%; transform-origin: right bottom; }
  body, .bb-page, main { overflow-x: clip; }
}

@media (max-width: 900px) { .bb-hero { grid-template-columns: minmax(0, 1fr) !important; } .bb-hero > div { min-width: 0; } .bb-hero h1 { font-size: clamp(2.4rem, 9vw, 3rem); } }

.bb-band { overflow: hidden; max-width: 100vw; }
html, body { overflow-x: clip; }
@media (max-width: 900px) { .bb-collage > .gk-par, .bb-collage > .gk-helm { display: none; } }
.logo img.orb, .b-mailh img.orb { border-radius: 50%; object-fit: cover; border: 2px solid #1A1A1A; background: #FFF6E0; }
.bb-nav .logo img.orb, .bb-foot .logo img.orb { width: 46px; height: 46px; } .side .logo img.orb { width: 32px; height: 32px; }
.bb-collage > .gk-orn { filter: none; z-index: 2; }
.gk-orn img { width: 100%; display: block; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); animation: gkfloat 6s ease-in-out infinite alternate-reverse; }
@media (max-width: 900px) { .bb-collage > .gk-laurel { display: none; } }
@media (prefers-reduced-motion: reduce) { .gk-orn img { animation: none; } }
.gk-orn img { mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 8px 14px rgba(26,26,26,.12)); }

/* astra ornaments replace the drawn SVG symbols; flat card fills, no dot texture */
.bb-kinds article, .bb-step { background-image: none; }
.gk-img { display: block; height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(26,26,26,.12)); }
.bb-kicker .gk-img { height: 30px; filter: none; margin-block: -4px; }
.bb-kinds .gk-ic { height: 96px; }
.bb-kinds .gk-ic .gk-img { height: 96px; }
.bb-banner > .gk-ban-ol .gk-img, .bb-banner > .gk-ban-par .gk-img { width: 100%; height: auto; }
.bb-band .gk-img { height: 34px; display: inline-block; vertical-align: middle; filter: none; }
.bb-collage .gk-img { width: 100%; height: auto; }
.bb-band-i .gk-img { height: 48px; flex: none; }
.meander + .bb-band { margin-top: 0; } .meander:has(+ .bb-band) { margin-top: 40px; } .bb-band-i .gk-img { margin-left: 10px; }

/* Quieter marquee: blends into the page instead of a black stripe */
.meander:has(+ .bb-band), .bb-band + .meander { display: none; }
.bb-band { background: transparent; color: var(--ink); border-block: 1px solid rgba(26,26,26,.14); margin-top: 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.bb-band-track { animation-duration: 70s; }
.bb-band-i { padding: 14px 22px; gap: 10px; font: 700 clamp(1rem, .9rem + .4vw, 1.25rem)/1 var(--display); opacity: .72; }
.bb-band-i .gk-img, .bb-band-i .pl, .bb-band-i .gk { height: 26px; width: auto; margin-left: 0; }
.bb-band-i .pl { width: 26px; }
.bb-band-i.bb-brand { gap: 10px; }
.bb-brand .mark { width: 28px; height: 28px; font-size: .7rem; flex: none; }
/* Video placeholder above the steps */
.vsl { position: relative; max-width: 880px; margin: 0 auto 40px; aspect-ratio: 16 / 9; border: 2px solid var(--ink); border-radius: 28px; overflow: hidden; background: var(--surface); box-shadow: 6px 6px 0 var(--ink); cursor: pointer; }
.vsl img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vsl-play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--bubble, #FF6FC4); border: 2px solid var(--ink); color: var(--ink); display: grid; place-items: center; box-shadow: 4px 4px 0 var(--ink); transition: transform .2s; }
.vsl-play svg { width: 40px; height: 40px; margin-left: 5px; }
.vsl:hover .vsl-play { transform: scale(1.06); }
.vsl-tag { position: absolute; left: 18px; bottom: 16px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 2px solid var(--ink); font-weight: 700; font-size: .875rem; }
@media (max-width: 600px) { .vsl { border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); } .vsl-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .vsl-play svg { width: 28px; height: 28px; } }
/* Amphora logo: no badge crop */
.logo img.orb, .b-mailh img.orb { border-radius: 0; border: 0; background: none; object-fit: contain; }
/* CTA banner: astra illustration replaces mascot + ornaments */
.bb-banner { overflow: hidden; padding-block: clamp(28px, 4vw, 44px); }
.bb-banner img.bb-ban-art { width: clamp(200px, 26vw, 340px); height: auto; margin-block: -24px -48px; align-self: end; }
@media (max-width: 900px) { .bb-banner img.bb-ban-art { justify-self: center; width: min(260px, 70%); margin: 8px auto -40px; } }
/* Banner: pixel Acropolis on the right */
.bb-banner > .gk-ban-par { left: auto; right: 3%; top: auto; bottom: -6px; width: min(34%, 380px); }
@media (max-width: 900px) { .bb-banner > .gk-ban-par { position: relative; right: auto; bottom: -38px; width: 70%; margin: 0 auto; order: 2; } }
@media (min-width: 901px) { .bb-banner > .gk-ban-par { width: min(28%, 320px); } }
/* Nav stays pinned while scrolling; hero ground slides under it */
.bb-nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.bb-nav:has(+ .bb-ground) { margin-bottom: -96px; }
.bb-nav + .bb-ground { padding-top: 110px; }
[id="faq"] { scroll-margin-top: 110px; }
/* Compact nav pill: centred, everything within reach */
.bb-nav .bb-nav-in { width: auto !important; max-width: 820px; margin-inline: auto; gap: 6px !important; padding: 6px 6px 6px 12px; }
.bb-nav .bb-links { margin-left: 10px; gap: 2px; }
.bb-nav .logo img.orb { width: 38px; height: 38px; }
.bb-nav .logo { font-size: 1.3rem; }
.bb-nav-r { gap: 4px; }
/* Creator cards v2: real photos, quiet chrome */
.cc2-grid { gap: 18px; }
.cc2 { display: grid; gap: 12px; text-decoration: none; color: var(--ink); }
.cc2-ph { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--ink); }
.cc2-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cc2:hover .cc2-ph img { transform: scale(1.04); }
.cc2-ph::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.45)); pointer-events: none; }
.cc2-city, .cc2-er { position: absolute; z-index: 1; font-size: .78rem; font-weight: 700; }
.cc2-city { left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); }
.cc2-er { left: 14px; bottom: 12px; color: #fff; font-size: .85rem; }
.cc2-body { display: grid; gap: 6px; padding-inline: 2px; }
.cc2-body b { font: 700 1.08rem/1.2 var(--display); letter-spacing: -.01em; }
.cc2-st { display: flex; gap: 14px; font-size: .9rem; font-weight: 600; color: var(--dim); }
.cc2-st span { display: inline-flex; align-items: center; gap: 6px; }
.cc2-st .pl { width: 16px; height: 16px; }
@media (max-width: 900px) { .cc2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Breathing room + hairline between hero and the first section */
.bb-ground { padding-bottom: clamp(40px, 5vw, 72px); }
.bb-ground + .bb-sec, .bb-ground + style + .bb-sec { position: relative; padding-top: clamp(72px, 8vw, 112px) !important; }
.bb-ground + .bb-sec::before, .bb-ground + style + .bb-sec::before { content: ""; position: absolute; top: 0; left: 50%; width: min(1100px, calc(100% - 32px)); transform: translateX(-50%); height: 1px; background: linear-gradient(90deg, transparent, rgba(26,26,26,.18) 20%, rgba(26,26,26,.18) 80%, transparent); }
/* Bento: brand use-cases + audience cards in one grid */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.bn { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 26px; border-radius: 28px; background: var(--c, var(--surface)); border: 1.5px solid rgba(26,26,26,.12); }
.bn h3 { font: 700 1.25rem/1.15 var(--display); letter-spacing: -.01em; }
.bn p { color: var(--ink-2, #4a4540); font-size: .98rem; line-height: 1.5; max-width: 34ch; }
.bn .bn-ic { position: absolute; top: 18px; right: 18px; height: 92px; width: auto; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.bn:hover .bn-ic { transform: translateY(-4px) rotate(-4deg); }
.bn-tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1.5px solid rgba(26,26,26,.15); font-size: .8rem; font-weight: 700; }
.bn-hero { grid-column: 1 / 3; grid-row: 1 / 3; justify-content: flex-start; gap: 16px; padding: 34px; background: var(--ink); color: var(--cream); border: 0; }
.bn-hero h3 { font-size: clamp(2rem, 1.4rem + 1.8vw, 2.8rem); color: var(--cream); }
.bn-hero .bn-tag { background: var(--bubble); color: var(--ink); border: 0; }
.bn-hero .bb-ticks li { color: #E9E1D3; }
.bn-hero .btn { align-self: flex-start; margin-top: 6px; position: relative; z-index: 1; }
.bn-hero .bn-art { position: absolute; right: -10px; bottom: -14px; height: 62%; width: auto; opacity: .95; }
.bn-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; min-height: 0; background: var(--bubble-soft); }
.bn-wide h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 8px; }
.bn-wide p { max-width: 60ch; margin-top: 6px; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); }
  .bn-hero { grid-column: 1 / -1; grid-row: auto; padding-bottom: 180px; }
  .bn-hero .bn-art { height: 170px; }
  .bn-wide { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) { .bn { padding: 20px; } .bn .bn-ic { height: 72px; } }
.bn-hero .bb-ticks, .bn-hero h3 { max-width: 62%; position: relative; z-index: 1; } .bn-hero .bn-art { height: 50%; right: -24px; } .bn .bn-ic { height: 80px; } @media (max-width: 900px) { .bn-hero .bb-ticks, .bn-hero h3 { max-width: none; } }
@media (max-width: 900px) {
  .bento .bn { justify-content: flex-start; }
  .bento .bn .bn-ic { position: static; height: 68px; align-self: flex-start; margin-bottom: 6px; }
  .bento .bn-hero { padding-bottom: 34px; }
  .bento .bn-hero .bn-art { display: none; }
}
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } .bento .bn { min-height: 0; } }
/* Desktop: whole hero fits above the fold */
@media (min-width: 901px) {
  .bb-nav + .bb-ground { padding-top: 92px; }
  .bb-hero { padding-block: 8px 24px; }
  .bb-hero h1 { font-size: clamp(2.8rem, 1.2rem + 6.2vh, 4.7rem); margin-top: 14px; }
  .bb-hero .lede { margin-top: 14px; font-size: 1.1rem; }
  .bb-hero .bb-cta { margin-top: 20px; }
  .bb-hero .bb-fine { margin-top: 12px; }
  .bb-hero .bb-on { margin-top: 10px; }
  .bb-collage { min-height: min(560px, calc(100vh - 170px)); }
}
@media (min-width: 901px) {
  .bb-collage > .gk-photo { top: 2% !important; left: 6% !important; width: 88% !important; }
  .bb-collage > .gk-olive { top: 0 !important; left: 0 !important; width: 17% !important; }
  .bb-collage > .gk-amph { top: 62% !important; left: 80% !important; width: 18% !important; }
  .bb-collage > .gk-helm { top: 0 !important; }
  .bb-collage > .bb-bubble { top: 70% !important; left: 0 !important; }
  .bb-collage > .bb-bubble.deal { top: auto !important; bottom: 2% !important; left: 46% !important; }
  .bb-ground { padding-bottom: 24px; }
}
/* Platforms + proof: same quiet card language as the bento */
.bb-plats { gap: 16px; }
.bb-plat { gap: 10px; padding: 28px; border: 1.5px solid rgba(26,26,26,.12); border-radius: 28px; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.bb-plat:nth-child(1) { background: var(--bubble-soft); }
.bb-plat:nth-child(2) { background: var(--sky-soft); }
.bb-plat:nth-child(3) { background: var(--butter-soft); }
.bb-plat:hover { transform: translateY(-4px); }
.bb-plat .pl.big { width: 44px; height: 44px; }
.bb-plat h3 { font: 700 1.4rem/1.15 var(--display); letter-spacing: -.01em; margin-top: 6px; }
.bb-plat ul { border-top: 0; padding-top: 6px; gap: 8px; }
.bb-plat li { display: inline-flex; gap: 8px; align-items: center; }
.bb-plat li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); opacity: .55; flex: none; }
.bb-ticks li::before { border: 0; width: 20px; height: 20px; font-size: .7rem; }
.bb-prof { border: 1.5px solid rgba(26,26,26,.12); box-shadow: 0 24px 60px -24px rgba(26,26,26,.25); padding: 24px; }
.bb-prof-ph { border: 0; }
.bb-prof-grid > div { border: 0; background: var(--paper); }
.bb-prof figcaption { border-width: 1.5px; }
/* Platforms: neutral cards, the platform logo is the only colour */
.bb-plat, .bb-plat:nth-child(1), .bb-plat:nth-child(2), .bb-plat:nth-child(3) { background: var(--surface); border-color: rgba(26,26,26,.1); box-shadow: 0 1px 0 rgba(26,26,26,.04); }
.bb-plat:hover { box-shadow: 0 18px 40px -22px rgba(26,26,26,.28); }
.bb-plat p { color: var(--dim); }
.bb-plat ul { border-top: 1px solid rgba(26,26,26,.08); padding-top: 14px; margin-top: 4px; }
/* Vibrant, not pastel: full-strength brand colours */
.bento .bn { border: 2px solid var(--ink); }
.bento .bn p { color: var(--ink); opacity: .82; }
.bento .bn-hero { border: 0; }
.bento .bn-wide { background: var(--tang, #FF7A45); }
.bento .bn-wide .btn.accent { background: var(--ink); color: var(--cream); --b: var(--ink); }
.bento .bn-tag { border: 2px solid var(--ink); }
.bb-plat { border: 2px solid var(--ink); }
.bb-plat:nth-child(1) { background: var(--bubble); }
.bb-plat:nth-child(2) { background: var(--sky); }
.bb-plat:nth-child(3) { background: var(--butter); }
.bb-plat p { color: var(--ink); opacity: .82; }
.bb-plat li::before { opacity: 1; }
.bb-plat .pl.big { background: var(--surface); border-radius: 12px; padding: 6px; width: 52px; height: 52px; border: 2px solid var(--ink); }
.bb-plats .bb-plat { border: 2px solid var(--ink); } .bb-plat ul { border-top-color: rgba(26,26,26,.2); }
@media (min-width: 901px) { .bb-nav + .bb-ground { padding-top: 128px; } .bb-ground { padding-bottom: 8px; } }
/* Art-led tiles: big astra art on cream, title + one line, no fills or outlines */
.atg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.atg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.at { display: grid; gap: 8px; align-content: start; text-decoration: none; color: var(--ink); }
.at.at-big { grid-column: span 2; }
.at-art { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 24px; background: #F5ECDD; overflow: hidden; margin-bottom: 10px; }
.at-big .at-art { aspect-ratio: 16 / 10; }
.at-art img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.at-art img[src$=".png"] { width: 62%; height: 70%; object-fit: contain; mix-blend-mode: normal; }
.at:hover .at-art img { transform: scale(1.04); }
.at b { display: flex; align-items: center; gap: 10px; font: 700 1.2rem/1.2 var(--display); letter-spacing: -.01em; }
.at-big b { font-size: 1.45rem; }
.at b .pl { width: 24px; height: 24px; }
.at > span:not(.at-art) { color: var(--dim); font-size: 1rem; line-height: 1.5; max-width: 48ch; }
.at .at-meta { font-size: .85rem !important; font-weight: 600; color: var(--ink) !important; opacity: .6; }
@media (max-width: 900px) { .atg, .atg-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .atg-3 > :last-child { grid-column: span 2; } }
@media (max-width: 560px) { .atg, .atg-3 { grid-template-columns: 1fr; } .at.at-big, .atg-3 > :last-child { grid-column: auto; } }
/* FAQ: editorial list, hairlines, no boxes */
.bb-faq { max-width: 820px; margin-inline: auto; display: block; border-top: 1px solid rgba(26,26,26,.14); }
.bb-faq details { background: none !important; border: 0 !important; border-bottom: 1px solid rgba(26,26,26,.14) !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; }
.bb-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 4px !important; font: 600 1.15rem/1.3 var(--display); cursor: pointer; list-style: none; }
.bb-faq summary::-webkit-details-marker { display: none; }
.bb-faq summary::after { content: "+" !important; flex: none; width: auto !important; height: auto !important; background: none !important; border: 0 !important; font: 300 1.8rem/1 var(--sans); color: var(--dim); transition: transform .25s; }
.bb-faq details[open] summary::after { transform: rotate(45deg); }
.bb-faq summary:hover { color: var(--dim); }
.bb-faq details p { padding: 0 48px 24px 4px !important; margin: 0; color: var(--dim); font-size: 1.02rem; line-height: 1.6; max-width: 62ch; }
/* Auth pages: astra art panel instead of blue + mascot */
.auth-side { background: #F5ECDD url("art/gk-bust-liquid.jpg") center 40% / cover no-repeat !important; border-radius: 28px !important; }
body[data-role="creator"] .auth-side, .apply-side { background: #1b1430 url("art/gk-bust-pixel.jpg") center / cover no-repeat !important; }
.auth-side::after { display: none !important; }
.auth-side > * { display: none !important; }
.auth-side > p.big { display: block !important; position: absolute; left: 24px; right: 24px; bottom: 24px; margin: 0; padding: 18px 22px; border-radius: 20px; background: rgba(255,255,255,.82); backdrop-filter: blur(10px); font-size: 1.15rem !important; line-height: 1.35; max-width: none; }
.auth-form .btn.full { border-radius: 999px; }
.auth .social button { border-radius: 999px; }
.demo-row { border-style: solid !important; border-color: rgba(26,26,26,.12) !important; border-radius: 18px !important; }
/* Legal: editorial, hairline sections */
.legal-page h3 { padding-top: 24px; border-top: 1px solid rgba(26,26,26,.14); }
/* Legal page v2 */
.legal-doc { padding: 130px 0 96px; }
.lg-hero { position: relative; overflow: hidden; display: grid; gap: 14px; padding: clamp(32px, 5vw, 56px); border-radius: 32px; background: #F5ECDD url("art/gk-parthenon-pixel.png") right 6% bottom -10px / auto 78% no-repeat; }
.lg-kick { justify-self: start; padding: 5px 12px; border-radius: 999px; background: var(--surface); font-size: .8rem; font-weight: 700; }
.lg-hero h1 { font: 800 clamp(2.4rem, 1.6rem + 3vw, 4rem)/1 var(--display); letter-spacing: -.03em; }
.lg-hero p { max-width: 52ch; color: var(--dim); font-size: 1.08rem; }
.lg-upd { font-size: .85rem; color: var(--dim); }
.lg-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; margin-top: 56px; }
.lg-toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 10px; font-weight: 600; }
.lg-toc span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.lg-toc a { text-decoration: none; color: var(--ink); } .lg-toc a:hover { color: var(--dim); }
.lg-toc a:last-child { margin-top: 12px; font-size: .85rem; font-weight: 500; color: var(--dim); }
.lg-block { scroll-margin-top: 110px; } .lg-block + .lg-block { margin-top: 56px; }
.lg-block h2 { font: 800 1.9rem/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.lg-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 22px 0; border-bottom: 1px solid rgba(26,26,26,.12); }
.lg-n { font: 700 .9rem/1.6 var(--display); color: var(--dim); }
.lg-row h3 { font: 700 1.15rem/1.3 var(--display); }
.lg-row p { margin-top: 6px; color: var(--dim); line-height: 1.6; max-width: 62ch; }
@media (max-width: 800px) { .lg-body { grid-template-columns: 1fr; gap: 24px; } .lg-toc { position: static; display: flex; flex-wrap: wrap; gap: 16px; } .lg-hero { background-size: auto 38%; padding-bottom: 150px; } .legal-doc { padding-top: 100px; } }
.legal-doc { padding-top: 104px; }
/* Legal v3 */
.legal-v3 { background: var(--cream); }
.lp-hero { margin-top: -96px; padding: 180px 0 150px; text-align: center; color: var(--cream); background: radial-gradient(60% 80% at 80% 100%, rgba(255,111,196,.45), transparent 60%), radial-gradient(50% 70% at 10% 90%, rgba(91,141,239,.4), transparent 60%), radial-gradient(rgba(255,248,236,.08) 1px, transparent 1.4px) 0 0 / 22px 22px, #17131f; }
.lp-hero .wrap { display: grid; justify-items: center; gap: 22px; }
.lp-kick { display: inline-flex; align-items: center; gap: 10px; font: 600 .85rem/1 ui-monospace, SFMono-Regular, monospace; letter-spacing: .14em; text-transform: uppercase; color: #CFC6E0; }
.lp-kick i { width: 8px; height: 8px; border-radius: 50%; background: var(--bubble); box-shadow: 0 0 12px var(--bubble); }
.lp-kick b { font-weight: 600; color: var(--cream); }
.lp-hero h1 { font: 800 clamp(2.8rem, 1.4rem + 5.5vw, 6.2rem)/1 var(--display); letter-spacing: -.045em; color: var(--cream); text-wrap: balance; }
.lp-hero h1 span { color: var(--bubble); }
.lp-hero > .wrap > p { max-width: 54ch; font-size: 1.15rem; color: #DCD3C6; }
.lp-seg { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255,248,236,.08); border: 1px solid rgba(255,248,236,.18); }
.lp-seg button { padding: 12px 24px; border: 0; border-radius: 999px; background: none; color: var(--cream); font: 600 1rem var(--sans); cursor: pointer; }
.lp-seg button[aria-selected="true"] { background: var(--cream); color: var(--ink); }
.lp-draft { max-width: 66ch; font-size: .92rem !important; color: #CFC6B8 !important; }
.lp-draft b { margin-right: 10px; padding: 3px 9px; border-radius: 6px; background: var(--mint); color: var(--ink); font: 700 .75rem ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.lp-cards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: -80px; }
.lp-cards article { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid rgba(26,26,26,.08); box-shadow: 0 30px 60px -30px rgba(23,19,31,.35); }
.lp-cards .gk-img { height: 54px; width: auto; justify-self: start; filter: none; }
.lp-cards h3 { font: 700 1.25rem/1.2 var(--display); }
.lp-cards p { color: var(--dim); line-height: 1.55; }
.lp-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding: 64px 0 96px; }
.lp-toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 12px; }
.lp-toc span { font: 600 .78rem ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.lp-toc a { color: var(--ink); text-decoration: none; font-weight: 500; } .lp-toc a:hover { color: var(--bubble); }
.lp-toc .lp-mail { margin-top: 10px; font-size: .85rem; color: var(--dim); }
.lp-doc { padding: clamp(24px, 4vw, 48px); border-radius: 24px; background: var(--surface); border: 1px solid rgba(26,26,26,.08); }
.lp-doc h2 { font: 800 2rem/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 10px; }
.lp-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 22px 0; border-top: 1px solid rgba(26,26,26,.1); scroll-margin-top: 110px; }
.lp-row > span { font: 600 .85rem/1.7 ui-monospace, monospace; color: var(--bubble); }
.lp-row h3 { font: 700 1.15rem/1.3 var(--display); }
.lp-row p { margin-top: 6px; color: var(--dim); line-height: 1.65; max-width: 62ch; }
@media (max-width: 860px) { .lp-cards { grid-template-columns: 1fr; } .lp-body { grid-template-columns: 1fr; gap: 20px; padding-top: 40px; } .lp-toc { position: static; display: flex; flex-wrap: wrap; gap: 10px 16px; } .lp-toc span { width: 100%; } .lp-hero { padding: 150px 0 130px; } .lp-seg button { padding: 10px 16px; font-size: .9rem; } }
/* Dashboards: astra ornament in page heads, softer creator cards */
.cx-hello::after, .page-head::after, body[data-role="creator"] .cx-hello::after { background: url("art/gk-amph-liquid.png") center / contain no-repeat !important; width: 110px !important; height: 110px !important; top: -20px !important; }
.b-card { border: 1px solid rgba(26,26,26,.1) !important; box-shadow: 0 1px 0 rgba(26,26,26,.04) !important; border-radius: 22px !important; }
.b-card:hover { box-shadow: 0 20px 44px -24px rgba(26,26,26,.3) !important; }
.cx-hello::after, .page-head::after, body[data-role="creator"] .cx-hello::after { display: none !important; }

/* Request detail: padded, consistent cards */
.b-detail .b-sec { padding: 20px 22px; align-content: start; }
.b-detail .b-sec > .mono.dim:first-child { font-weight: 600; color: var(--ink); }
.b-detail .b-sec .b-list, .b-detail .b-sec .b-events { margin: 0; padding: 0; }
.b-detail .b-sec .b-row { padding-inline: 0; }
.b-detail .b-sec .b-events li { padding-left: 24px !important; }
.b-detail .b-nextbox { border: 2px solid var(--ink); border-radius: var(--r-card); box-shadow: 0 0 0 5px var(--ring); padding: 18px 22px; }
.b-detail .b-dgrid { gap: 28px; align-items: start; }

/* Mini stage rail: keep dots round inside list rows */
.dr-rail { flex: none; gap: 0 !important; }
.dr-rail li { flex: none !important; padding: 0 !important; min-height: 0 !important; display: block !important; box-sizing: border-box; }
.b-mrail li { width: 8px !important; height: 8px !important; }
.b-moved li { align-items: center; gap: 14px; }

/* Deal strip terms: equal columns, truncate instead of overlapping */
@media (min-width: 761px) {
  .dr-strip .dr-terms { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; }
  .dr-strip .dr-term { flex: initial !important; min-width: 0; overflow: hidden; }
}
.dr-term dt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-term dd .full, .dr-term dd .short { overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 761px) and (max-width: 1279px) {
  .dr-strip { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; }
  .dr-strip .dr-terms { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row; }
  .dr-strip .dr-term:first-child { border-left: 0; padding-left: 0; }
}

/* Message actions: one quiet "…" button, labelled menu on click */
.dr-more { display: inline-grid !important; opacity: 0; transition: opacity .15s; }
.c2-msg:hover .dr-more, .c2-msg:focus-within .dr-more, .dr-acts.open .dr-more { opacity: 1; }
.dr-menu { position: absolute; top: calc(100% + 4px); right: 0; z-index: 8; display: none !important; flex-direction: column; align-items: stretch; gap: 2px; padding: 6px; min-width: 200px; border: 2px solid var(--ink); border-radius: 14px; background: var(--surface); box-shadow: 0 12px 30px -12px rgba(26,26,26,.35); opacity: 1 !important; transform: none !important; }
.dr-acts.open .dr-menu { display: flex !important; }
.dr-menu button { border: 0 !important; border-radius: 9px !important; height: 36px !important; padding-inline: 10px !important; font-size: .875rem !important; color: var(--ink) !important; background: transparent !important; justify-content: flex-start; }
.dr-menu button:hover { background: var(--paper-2) !important; }
.c2-meta:not(.mine) .dr-menu { right: auto; left: 0; }
.dr-acts.up .dr-menu { top: auto; bottom: calc(100% + 4px); }
.dr-export { display: inline-flex; align-items: center; gap: 6px; }
.dr-export svg { width: 16px; height: 16px; }

/* Cart tray: compact floating pill instead of a full-width bar */
.cart-tray { width: fit-content !important; margin-inline: auto !important; flex-wrap: nowrap !important; max-width: calc(100% - 32px); padding: 6px 6px 6px 10px !important; gap: 14px !important; border-radius: 999px !important; box-shadow: 0 0 0 4px var(--butter), 0 14px 30px -12px rgba(26,26,26,.45) !important; font-size: .875rem; }
.cart-tray .thumbs img, .cart-tray .thumbs > * { width: 26px !important; height: 26px !important; }
.cart-tray .btn { height: 32px !important; padding-inline: 12px !important; font-size: .8125rem !important; }

/* Selects: custom chevron with breathing room */
select.input, .field select { appearance: none; -webkit-appearance: none; padding-right: 44px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 16px center !important; background-size: 16px !important; }
.bs-soc.bad .input { border-color: var(--danger, #d33) !important; }

/* Creator inbox: give the conversation the room */
.ci-opp { margin: 10px 14px 0; padding: 8px 10px 8px 12px; gap: 10px; flex-wrap: nowrap; border-radius: 16px; }
.ci-opp b, .ci-opp strong, .ci-opp h3 { font-size: .95rem; line-height: 1.3; }
.ci-opp p { font-size: .8rem; margin: 0; }
.ci-opp .btn { height: 34px !important; padding-inline: 12px !important; font-size: .8125rem !important; white-space: nowrap; }
.ci-opp-ic { width: 28px !important; height: 28px !important; flex: none; }
.ci-compose { padding: 10px 14px; }
.ci-compose .ci-hint { font-size: .8rem; margin-bottom: 6px; }
.ci-compose .textarea { min-height: 52px !important; height: 52px; resize: vertical; transition: height .15s; }
.ci-compose .textarea:focus { height: 96px; }
.ci-compose .btn { height: 36px !important; }
.ci-head { padding-block: 12px !important; }

/* Legal: full text */
.lp-row p + p { margin-top: 10px; }
.lp-row ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--dim); line-height: 1.6; max-width: 62ch; }
.lp-row li::marker { color: var(--bubble); }
.lp-row b { color: var(--ink); font-weight: 600; }
@media (min-width: 861px) { .lp-toc { position: sticky; top: 110px; align-self: start; max-height: calc(100vh - 130px); overflow-y: auto; } }
@media (max-width: 860px) { .lp-toc { position: static; max-height: none; overflow: visible; gap: 8px; } .lp-toc a { font-size: .9rem; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); } .lp-toc .lp-mail { width: 100%; box-shadow: none; padding: 0; } .lp-row { grid-template-columns: 1fr !important; gap: 6px !important; } }

/* Team inbox: deal strip terms wrap into readable columns */
.tm-strip .dr-terms { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)) !important; gap: 10px 0 !important; overflow: visible !important; }
.tm-strip .dr-term { min-width: 0; padding-inline: 12px !important; }
.tm-strip .dr-term dd { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-btn svg { width: 18px; height: 18px; }
/* Avatar pairs: creator photo sits cleanly over the brand mark */
.pair, .dr-avs, .b-avs { isolation: isolate; }
.b-person .grow { min-width: 0; }
.b-person .dr-st { white-space: nowrap; flex: none; }
.tm-strip { height: auto !important; max-height: none !important; overflow: visible !important; }

/* All selects share the custom chevron */
select.select, .ot-actions select { appearance: none; -webkit-appearance: none; padding-right: 40px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 14px center !important; background-size: 15px !important; }
/* Outreach detail: both columns start on the same line */
.or-meta { align-items: start !important; }
.or-meta .sec-title { min-height: 1.2em; }
.ot-actions { align-items: center; gap: 10px; flex-wrap: wrap; }
.ot-actions select, .ot-actions .btn { height: 40px !important; }
.ot-tabs { padding: 12px 14px 10px !important; gap: 6px; align-items: center; }
.ot-tabs .tab { margin: 0 !important; }
/* Tabs: don't clip the selected pill's outline */
.tabs { padding: 3px; margin-left: -3px; }
.tab { margin-bottom: 0 !important; height: 42px; }

/* Creator home: bordered reply rows need inner padding */
a.cx-row, div.cx-row { padding: 14px 18px !important; gap: 14px; align-items: center; }
a.cx-row .cx-chev { margin-left: 4px; flex: none; }

/* Creator cards: never let long names or stats widen a grid cell */
.cc2-grid > .cc2 { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.cc2-body { min-width: 0; grid-template-columns: minmax(0, 1fr) !important; }
.cc2-body > * { min-width: 0; }
.cc2-body .cc2-st { display: flex; flex-wrap: wrap; column-gap: 10px; row-gap: 2px; }
.cc2-body .cc2-st > * { white-space: nowrap; }

/* Mobile site nav: hamburger dropdown with the hidden links */
.bb-menu { display: none; position: relative; }
.bb-menu summary { list-style: none; cursor: pointer; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--ink); background: var(--surface); }
.bb-menu summary::-webkit-details-marker { display: none; }
.bb-menu[open] summary { background: var(--ink); color: var(--surface); }
.bb-menu-pop { position: absolute; right: -8px; top: calc(100% + 14px); min-width: 200px; display: grid; gap: 2px; padding: 8px; background: var(--surface); border: 2px solid var(--ink); border-radius: 20px; box-shadow: 0 10px 30px rgb(0 0 0 / .14); z-index: 60; }
.bb-menu-pop a { text-decoration: none; font-weight: 600; padding: 10px 14px; border-radius: 12px; }
.bb-menu-pop a:hover, .bb-menu-pop a[aria-current="page"] { background: var(--bg, #FFF6E8); }
@media (max-width: 900px) { .bb-menu { display: block; } }

/* Apply: compact photo upload row */
.ap-photo { flex-wrap: nowrap !important; align-items: center !important; padding: 14px 16px !important; }
.ap-photo > svg { flex: none; width: 44px !important; height: 44px !important; padding: 11px; border-radius: 999px; background: var(--bg, #FFF6E8); box-shadow: inset 0 0 0 2px var(--ink); }

/* Phone: deal-strip terms in a 2x2 grid so values never truncate */
@media (max-width: 600px) {
  .dr-strip .dr-terms { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; row-gap: 10px; }
  .dr-strip .dr-terms > * { min-width: 0; }
  .dr-strip .dr-terms b, .dr-strip .dr-terms span { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
}
.cc2-grid > .cc2 { align-content: start; }

/* Phones: tab bar steps aside while typing */
@media (max-width: 900px) {
  html.is-typing .cx-tabbar { transform: translateY(110%); pointer-events: none; }
  .cx-tabbar { transition: transform .2s ease; }
  html.is-typing .cx-savebar { bottom: 12px !important; }
}

/* Reports: on phones put the label above its bar so names never truncate */
@media (max-width: 600px) {
  .rp-bars li { grid-template-columns: 1fr auto !important; row-gap: 4px; }
  .rp-bars .rp-bl { grid-column: 1 / -1; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
}

/* Team overview: shorter on phones - next 7 days collapses */
.ag-next { display: flex; align-items: center; justify-content: space-between; }
.ag-more { display: none; font: inherit; font-weight: 600; font-size: .85rem; padding: 4px 12px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; }
@media (max-width: 900px) {
  .ag-more { display: inline-flex; }
  .card:not(.ag-open) .ag-next ~ .ag-list { display: none; }
}

/* Sidebar demo switcher: Brand / Creator / Team */
.demo-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 3px; margin: 4px 0 10px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.demo-seg a { text-align: center; text-decoration: none; font-weight: 600; font-size: .8rem; padding: 6px 4px; border-radius: 999px; color: var(--ink); opacity: .7; }
.demo-seg a:hover { opacity: 1; }
.demo-seg a[aria-current] { background: var(--ink); color: var(--surface, #fff); opacity: 1; }

/* Empty-state demo (#empty) */
html.is-empty #main > :not([data-empty-demo]) { display: none !important; }
.es-card { max-width: 520px; margin: 48px auto; padding: 40px 32px; text-align: center; display: grid; justify-items: center; gap: 12px; background: var(--surface, #fff); border: 2px solid var(--ink); border-radius: 28px; box-shadow: 0 0 0 8px color-mix(in srgb, var(--role, #F2C94C) 22%, transparent); }
.es-card h2 { margin: 6px 0 0; font-size: 1.5rem; text-wrap: balance; }
.es-card p { margin: 0 0 8px; color: var(--dim); max-width: 40ch; line-height: 1.5; }
.es-ic { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 999px; background: color-mix(in srgb, var(--role, #F2C94C) 30%, var(--surface, #fff)); box-shadow: inset 0 0 0 2px var(--ink); }
.es-ic svg { width: 28px; height: 28px; }
.es-back { font-size: .85rem; color: var(--dim); }

/* Loading placeholders on first paint */
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
html.is-loading :is(.cc2, .b-card, .c2-item, .ot-item, .ci-list > *) { position: relative; }
html.is-loading :is(.cc2, .b-card, .c2-item, .ot-item, .ci-list > *)::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; background: linear-gradient(90deg, var(--surface, #fff) 30%, color-mix(in srgb, var(--ink) 7%, var(--surface, #fff)) 50%, var(--surface, #fff) 70%); background-size: 200% 100%; animation: skel 1s linear infinite; }
@media (prefers-reduced-motion: reduce) { html.is-loading :is(.cc2, .b-card, .c2-item, .ot-item, .ci-list > *)::after { animation: none; } }

/* ---------- Chat readability ---------- */
/* Everyone's messages sit in a bubble, not just yours, so turns are easy to tell apart */
.c2-msg:not(.mine) .c2-text { background: var(--surface, #fff); border: 1.5px solid color-mix(in srgb, var(--ink) 16%, transparent); padding: 10px 16px; border-top-left-radius: 8px !important; }
.c2-msg.mine .c2-text { border-top-right-radius: 8px !important; }
.c2-text { max-width: 62ch; line-height: 1.5; }
.c2-msg.team:not(.mine) .c2-text { background: color-mix(in srgb, var(--ink) 4%, var(--surface, #fff)); }
.c2-meta b, .c2-meta strong { font-weight: 600; }
/* Day dividers read as dividers */
.c2-day { display: flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 600; color: var(--dim); }
.c2-day::before, .c2-day::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--ink) 14%, transparent); }
/* Suggested replies: scroll sideways with a soft edge instead of a hard cut */
.dr-sugs { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); padding-right: 40px; }
.dr-sugs::-webkit-scrollbar { display: none; }
/* Chat list: unread stands out, current chat is obvious */
.c2-item.unread .c2-item-top b { font-weight: 700; }
.c2-item.unread .c2-item-last { color: var(--ink); font-weight: 500; }
.c2-item[aria-current="true"] { box-shadow: inset 4px 0 0 var(--ink); }
/* Jump to latest */
.c2-log > .c2-jump, .c2-jump { position: sticky; bottom: 10px; align-self: flex-end; justify-self: end; flex: none; width: 38px; max-width: 38px; height: 38px; min-height: 0; margin: 0 4px 0 auto; padding: 0; z-index: 6; display: inline-grid; place-items: center; border-radius: 999px; border: 2px solid var(--ink); background: var(--surface, #fff); font: inherit; font-weight: 700; font-size: 1rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgb(0 0 0 / .14); }
.c2-jump[hidden] { display: none; }

/* Team deal strip: one compact row so the chat keeps the room */
.tm-strip { padding: 10px 16px !important; gap: 6px 14px !important; }
.tm-strip .dr-terms { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px 0 !important; grid-auto-flow: row !important; }
.tm-strip .dr-term { padding: 0 10px !important; border-left: 1px solid var(--line, #e7dccb) !important; }
.tm-strip .dr-term:nth-child(3n+1) { border-left: 0 !important; padding-left: 0 !important; }
.tm-strip .dr-term dt { font-size: .72rem; }
.tm-strip .dr-term dd, .tm-strip .tm-term { font-size: .88rem !important; line-height: 1.25; }
.tm-strip .tm-term { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; text-align: left; }
/* Chat list meta line: dot no longer overlaps the text */
.c2-item-body { padding-right: 14px; }
.tm-kind { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-strip .tm-term { -webkit-line-clamp: 1 !important; } 

/* Creator inbox: space and a soft fade where the thread scrolls under the banner */
.ci-opp + .ci-log { margin-top: 8px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24px); mask-image: linear-gradient(to bottom, transparent 0, #000 24px); padding-top: 16px; }

/* ---------- Accessibility ---------- */
/* Single light theme by design: keep native controls light on dark-mode devices */
:root { color-scheme: light; }
/* One clear keyboard focus ring everywhere (mouse clicks stay clean) */
:where(a, button, [role="tab"], [role="button"], summary, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--cobalt, #2F5BFF) !important; outline-offset: 2px; border-radius: inherit; }
.search:focus-within, .c2-compose:focus-within, .cm-search:focus-within { outline: 3px solid var(--cobalt, #2F5BFF); outline-offset: 2px; }
/* Contrast: dim text on the yellow sidebar and cream pages reaches 4.5:1 */
.side .grp, .side-org span, .side-user div div, .side-switch a { color: #4A4436 !important; }
:root { --dim: #5C5C63; }
/* Skip link for keyboard users */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Tablet: brand deal-strip values wrap instead of truncating */
@media (max-width: 1279px) {
  .dr-strip:not(.tm-strip) .dr-terms b, .dr-strip:not(.tm-strip) .dr-terms span, .dr-strip:not(.tm-strip) .dr-terms dd { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
}
/* Creator inbox banner: actions drop under the text when the pane is narrow */
.ci-pane { container-type: inline-size; }
@container (max-width: 720px) {
  .ci-opp { flex-wrap: wrap !important; }
  .ci-opp > div:nth-child(2) { flex: 1 1 calc(100% - 50px) !important; min-width: 0 !important; }
  .ci-opp-a { width: 100%; justify-content: flex-end; }
}
.ci-camp { height: auto !important; min-height: 0 !important; align-content: start; }
.ci-camp b { display: block; line-height: 1.3 !important; padding-block: 1px; }
.ci-camps { padding-top: 3px; }
.ci-camp > b { height: auto !important; max-height: none !important; min-height: 1.3em; overflow: hidden; }

/* Error states */
.net-bar { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 90; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; box-shadow: 0 8px 24px rgb(0 0 0 / .2); max-width: calc(100vw - 32px); text-align: center; }
.form-err { margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; border: 2px solid #B42318; background: #FEF3F2; color: #7A1A12; font-weight: 500; }

/* ---------- Team chat: give the conversation the room ---------- */
/* Side panel only on very wide screens; otherwise it opens from "Details" */
@media (max-width: 1599px) {
  .tm.has-info { grid-template-columns: minmax(0, 280px) minmax(0, 1fr) !important; }
  .tm.has-info .tm-info { display: none !important; }
  .tm.has-info .tm-det-btn { display: inline-flex !important; }
}
/* Deal strip folds to one summary line; click to see and edit terms */
.tm-strip { cursor: pointer; }
.tm-strip .tm-sum { display: none; font-size: .9rem; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-strip.folded { padding: 8px 14px !important; }
.tm-strip.folded .dr-terms, .tm-strip.folded .tm-hint { display: none !important; }
.tm-strip.folded .tm-sum { display: block; }
.tm-strip .tm-fold { margin-left: auto; font: inherit; font-size: .8rem; font-weight: 600; border: 0; background: none; color: var(--dim); cursor: pointer; white-space: nowrap; }
/* Suggested replies appear when you start writing, not all the time */
.tm .c2-foot .dr-sugs { display: none; }
.tm .c2-foot:focus-within .dr-sugs { display: flex; }
/* Reply / Internal note sits small, above the box */
.tm .tm-mode { transform: scale(.92); transform-origin: left center; margin-bottom: -2px; }
.tm-strip.folded { display: flex !important; align-items: center; gap: 16px !important; }
.tm-strip.folded .tm-sum { flex: 1; text-align: right; }
.tm-strip.folded .tm-fold { margin-left: 0; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.tm-strip { position: relative; }
.tm-strip .tm-hint { display: none !important; }
.tm-strip:not(.folded) .tm-fold { position: absolute; top: 12px; right: 14px; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
:is(.c2-compose, .tm-compose, .search, .cm-search) :is(input, textarea):focus-visible { outline: none !important; }

/* ---------- Toasts: glass ---------- */
.toasts { width: auto !important; max-width: min(460px, calc(100% - 32px)); }
.toast.glass { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 10px 12px 12px; border-radius: 22px; border: 1px solid rgb(255 255 255 / .7); background: linear-gradient(135deg, rgb(255 255 255 / .72), rgb(255 248 230 / .55)); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 12px 40px rgb(40 30 10 / .18), inset 0 1px 0 rgb(255 255 255 / .9), 0 0 0 1px rgb(26 26 26 / .08); color: var(--ink); font-weight: 500; animation: t-in .28s cubic-bezier(.2,.9,.3,1.2); }
.toast.glass.out { animation: t-out .2s ease-in forwards; }
@keyframes t-in { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes t-out { to { opacity: 0; transform: translateY(8px) scale(.97); } }
.toast .t-ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; color: var(--ink); background: var(--butter, #FFE873); box-shadow: inset 0 0 0 1.5px var(--ink); }
.toast .t-ic svg { width: 17px; height: 17px; }
.toast.k-mail .t-ic { background: #CFE0FF; }
.toast.k-team .t-ic { background: #FFD3EC; }
.toast.k-go .t-ic { background: #FFFFFF; }
.toast.k-off .t-ic { background: #EDE7DC; }
.toast.k-warn .t-ic { background: #FFD7CC; color: #7A1A12; }
.toast .t-body { display: grid; gap: 2px; min-width: 0; }
.toast .t-body b { font-weight: 650; font-size: .95rem; line-height: 1.3; }
.toast .t-body span { font-size: .85rem; color: #4A4A50; line-height: 1.35; }
.toast .t-x { width: 28px; height: 28px; border: 0; border-radius: 999px; background: transparent; color: #4A4A50; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.toast .t-x:hover { background: rgb(26 26 26 / .07); }
.toast .t-bar { position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; border-radius: 2px; background: var(--ink); opacity: .25; transform-origin: left; animation: t-bar var(--t-ms, 2800ms) linear forwards; }
@keyframes t-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.toast .dot { display: none; }
@media (prefers-reduced-motion: reduce) { .toast.glass, .toast .t-bar { animation: none; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .toast.glass { background: #FFFBF2; } }
