/* App styles for creator pages, matched to the prototype. */

/* The prototype sets the role on <body data-role="creator">; the app sets it on the frame, so the role colours are repeated here. */
.app[data-role="creator"], .cx-auth { --role: var(--bubble); --role-soft: var(--bubble-soft); --ring: var(--bubble-soft); }
.cx-auth .auth-side { background: #1b1430 url("/art/gk-bust-pixel.jpg") center / cover no-repeat !important; }
@media (max-width: 900px) {
  .app[data-role="creator"] .page { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  body:has(.cx-tabbar) .toasts { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  /* The deal room leaves room for the tab bar under the composer. */
  .app[data-role="creator"] .page > .chat2 { height: calc(100dvh - 68px - 64px - env(safe-area-inset-bottom, 0px)); min-height: 420px; }
}

/* Brand marks and avatars can carry a real logo. */
.app[data-role="creator"] .mark { overflow: hidden; }
.app[data-role="creator"] .mark img, .cx .c2-av img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.cx .c2-av { overflow: hidden; }

/* What brands see, before there is a photo: the first initial on paper. */
.c-card .ph.cx-noph { background: var(--paper-2, #F5ECDD); display: grid; place-items: center; }
.cx-noph-l { font: 800 3.4rem/1 var(--display); color: rgba(26, 26, 26, .22); }

/* Profile: the photo row and read-only numbers. */
.cx-photo { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cx-photo-img { width: 88px; height: 110px; flex: none; border-radius: 18px; border: 2px solid var(--ink); object-fit: cover; }
.cx-photo-none { display: grid; place-items: center; background: var(--paper-2, #F5ECDD); font: 800 2rem/1 var(--display); color: rgba(26, 26, 26, .3); }
.cx-photo-t { display: grid; gap: 6px; justify-items: start; min-width: 0; flex: 1; }
.cx-photo-t b { font-weight: 600; }
.cx-photo-t > span { color: var(--dim); font-size: .875rem; }
.cx-val { font: 600 1.15rem/1.2 var(--display); }
.cx-vlink .cx-row-body b a { color: inherit; text-decoration: none; }
.cx-vlink .cx-row-body b a:hover { text-decoration: underline; }
.cx-addlink .cx-two { align-items: end; }
.cx-badge.off { background: var(--paper-2, #F5ECDD); color: var(--dim); }
.cx-pitch { scroll-margin-top: 84px; padding-top: 12px; border-top: 2px dashed var(--line-2, #E7DCCB); }
.cx-pitch .cx-hello h2 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.08; }
.cx-dream-edit .cx-dream-in { grid-column: 1 / -1; }

/* Brands and settings */
.cx-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.cx-req { flex-wrap: wrap; }
.cx-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.cx-tags a.chip { text-decoration: none; }
.switch:disabled { opacity: .5; cursor: not-allowed; }
.cx-ref code { user-select: all; }

/* Public pages that sit with the creator flow: apply and the shared shortlist. */
.ap-card { max-width: 300px; overflow: hidden; color: var(--ink); }
.ap-card-ph { aspect-ratio: 1; display: grid; place-items: center; background: var(--bubble-soft, #FFD3EC); font: 800 4rem/1 var(--display); color: rgba(26, 26, 26, .25); }
.ap-plat { width: auto; min-width: 150px; }
.sh-niches { font-size: .8125rem; margin: 0; }
.sh-vids { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0; font-size: .8125rem; }
.sh-vids a { display: inline-flex; align-items: center; gap: 4px; }
.sh-vids svg { width: 12px; height: 12px; }
