.bg-influencer-cover {
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    background-image: url(https://d9s0v90ir6jjz.cloudfront.net/img/default-profile-pic.png)
}

.influencer-profile-name {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
}

.influencer-profile-text-sm {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 400;
}

.brand-profile-text-sm {
    color: #0B1828;
    font-size: 14px;
    font-weight: 400;
}

.influencer-profile-marker-icon {
    color: #748194;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-13 {
    font-size: 13px !important;
}

.fs-11 {
    font-size: 11px !important;
}

.lh-1dot5rem {
    line-height: 1.5rem;
}

.fw-400 {
    font-weight: 400;
}

.profile-text {
    color: #0B1828;
}

.profile-badge {
    background-color: #EEF0F2;
}

.badge-bold {
    padding: 10px;
}

.black-header {
    color: #0B1828;
}

#tab-photos, #tab-videos,
[id^="tab-photos-"], [id^="tab-videos-"] {
    padding-top: 17px;
    padding-bottom: 80px;
}

#tab-photos .col-4,
[id^="tab-photos-"] .col-4 {
    padding: 4px;
}

#tab-photos .row,
[id^="tab-photos-"] .row {
    margin-left: -4px;
    margin-right: -4px;
}

/* Compact side-by-side generic links (info panel view) */
.profile-links-compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.profile-link-compact {
    display: block;
    padding: 8px 12px;
    background: var(--falcon-100, #f9fafd);
    color: var(--falcon-900, #232e3c) !important;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none !important;
    border-radius: 9999px;
    border: 1px solid var(--falcon-300, #d8e2ef);
    transition: background 0.15s ease, border-color 0.15s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-link-compact:hover {
    background: var(--falcon-200, #edf2f9);
    border-color: var(--falcon-400, #b6c1d2);
}

@media (max-width: 480px) {
    .profile-links-compact {
        grid-template-columns: 1fr;
    }
}
/* ---------- Profile header: a round photo and its text, no cover ----------
   One header for every profile (somebody else's in the info panel, the public
   page, your own). Creators read left to right; --brand centres it around the
   logo. The photo is a small square crop (Single.profile_photo_url). */
.profile-head {
    padding: 1rem 1rem .75rem;
}

.profile-head__top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-head__avatar {
    position: relative;
    flex: 0 0 auto;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    padding: 3px;
    background: var(--falcon-card-bg, #fff);
    box-shadow: 0 0 0 2px var(--falcon-300, #d8e2ef);
}

/* The ring takes the colour of the compatibility badge, when there is one. */
.profile-head__avatar--success { box-shadow: 0 0 0 3px var(--falcon-success, #00d27a); }
.profile-head__avatar--info { box-shadow: 0 0 0 3px var(--falcon-info, #27bcfd); }
.profile-head__avatar--danger { box-shadow: 0 0 0 3px var(--falcon-danger, #e63757); }

.profile-head__avatar img,
.profile-head__initial {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-head__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--falcon-200, #edf2f9);
    color: var(--falcon-700, #5e6e82);
    font-size: 2.5rem;
    font-weight: 600;
}

.profile-head__ident {
    min-width: 0;
    flex: 1 1 auto;
}

.profile-head__name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .375rem;
}

.profile-head__name h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--falcon-1000, #0B1828);
    overflow-wrap: anywhere;
}

.profile-head__handle {
    margin-top: .125rem;
    font-size: .875rem;
    color: var(--falcon-600, #748194);
}

.profile-head__person {
    margin-right: .375rem;
    font-weight: 600;
    color: var(--falcon-900, #232e3c);
}

.profile-head__badges {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem;
    margin-top: .375rem;
}

.profile-head__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1rem;
    margin-top: .5rem;
    font-size: .8125rem;
    color: var(--falcon-700, #5e6e82);
}

.profile-head__meta > a,
.profile-head__meta > span {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    color: inherit;
}

/* Font Awesome swaps each <i> for an <svg class="svg-inline--fa">, hence the gaps
   above rather than a margin on the icon. */
.profile-head__meta .svg-inline--fa,
.profile-head__meta .fas,
.profile-head__meta .far {
    color: var(--falcon-500, #9da9bb);
}

.profile-head__stats {
    display: flex;
    margin-top: 1rem;
    padding: .625rem 0;
    border-top: 1px solid var(--falcon-border-color, #edf2f9);
    border-bottom: 1px solid var(--falcon-border-color, #edf2f9);
}

.profile-head__stat {
    flex: 1 1 0;
    text-align: center;
}

.profile-head__stat + .profile-head__stat {
    border-left: 1px solid var(--falcon-border-color, #edf2f9);
}

.profile-head__stat-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--falcon-1000, #0B1828);
}

.profile-head__stat-value .svg-inline--fa,
.profile-head__stat-value i {
    font-size: .8125rem;
    color: var(--falcon-600, #748194);
}

.profile-head__stat-label {
    font-size: .75rem;
    color: var(--falcon-600, #748194);
}

.profile-head__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: .875rem;
}

/* At their own size, not stretched across the row (Andrew, 2026-11-13). */
.profile-head__chat,
.profile-head__connect {
    flex: 0 0 auto;
    white-space: nowrap;
}

.profile-head__connect > .btn,
.profile-head__chat {
    min-width: 170px;
}

/* Chat beside Connect: an icon, the size of the ... button. */
.profile-head__icon {
    flex: 0 0 auto;
    width: 42px;
    padding-left: 0;
    padding-right: 0;
}

/* The connection's group (an inline JForm select) is a small pill on the left,
   the same size read or open, so opening it never squeezes Chat. */
.profile-head__group {
    flex: 0 1 auto;
    min-width: 0;
    margin-right: auto;
}

.profile-head__group ~ .profile-head__chat {
    flex: 0 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.profile-head__group .jform,
.profile-head__group .jform_field {
    max-width: 100%;
}

.profile-head__group span.jform_value,
.profile-head__group .bootstrap-select > .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    max-width: 100%;
    min-height: 0;
    height: auto;
    padding: .3125rem .625rem;
    border: 1px solid var(--falcon-300, #d8e2ef);
    border-radius: .375rem;
    background: var(--falcon-card-bg, #fff);
    color: var(--falcon-800, #4d5969);
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The same chevron after the label in both states. */
.profile-head__group span.jform_value::after,
.profile-head__group .bootstrap-select > .dropdown-toggle::after {
    content: '';
    flex: 0 0 auto;
    width: .4rem;
    height: .4rem;
    margin-top: -.2rem;
    margin-left: 0;
    border: 0;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    vertical-align: middle;
}

.profile-head__group .bootstrap-select .filter-option {
    position: static;
    width: auto;
}

.profile-head__group .bootstrap-select {
    width: auto !important;
    max-width: 100%;
}

.profile-head__group .bootstrap-select .dropdown-menu {
    font-size: .8125rem;
}

.profile-head__connect .btn {
    width: 100%;
}

.profile-head__more {
    padding-left: .75rem;
    padding-right: .75rem;
}

/* Brands: centred around the logo. */
.profile-head--brand .profile-head__top {
    flex-direction: column;
    text-align: center;
    gap: .75rem;
}

.profile-head--brand .profile-head__avatar {
    width: 120px;
    height: 120px;
}

.profile-head--brand .profile-head__name,
.profile-head--brand .profile-head__badges,
.profile-head--brand .profile-head__meta {
    justify-content: center;
}

.profile-head--brand .profile-head__badges {
    margin: 0 0 .5rem;
}

.profile-head--brand .profile-head__actions {
    margin-left: auto;
    margin-right: auto;
}

.profile-head--brand .profile-head__name h4 {
    font-size: 1.375rem;
}

/* A creator on a phone: the photo a little smaller, so the name keeps its width. */
@media (max-width: 400px) {
    .profile-head--creator .profile-head__avatar {
        width: 88px;
        height: 88px;
    }
}

/* Your own profile: the camera on the photo opens the upload. */
.profile-head__camera {
    position: absolute;
    right: -2px;
    bottom: -2px;
    z-index: 1;
    line-height: 1;
}

.profile-head__name .jform {
    display: inline-block;
}

/* ---------- Profile builder (j2.pwa.profile_builder.html) ----------
   From the designs: an optional headline panel beside the form on a wide screen,
   the steps as circles, each group a card with a round icon, fields as boxes,
   multi-selects as chips (pwa-profile.js, initProfileBuilderFields). */
.pb {
    --pb-red: #f04848;
    --pb-red-soft: #fde8e8;
    --pb-ink: var(--falcon-1000, #0B1828);
    --pb-line: var(--falcon-300, #d8e2ef);
    --pb-chip: var(--falcon-200, #edf2f9);
    padding-bottom: 1.5rem;
}

.pb-layout {
    display: block;
}

@media (min-width: 992px) {
    .pb-layout--hero {
        display: grid;
        /* minmax(0, …): a grid track otherwise grows to its widest content, and
           the follower boxes pushed the card (and Next) off the page. */
        grid-template-columns: minmax(200px, 1fr) minmax(0, 2.4fr);
        gap: 2rem;
        align-items: start;
    }
}

.pb-hero {
    display: none;
}

@media (min-width: 992px) {
    .pb-hero {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        position: sticky;
        top: 1rem;
        padding-top: 1rem;
    }
}

/* The headline panel and the screen after Done sit on the background picture,
   which is a light sky in both themes. Dark mode turns the Falcon greys light,
   which left white words on the sky; over the picture the light theme's ink is
   kept. The custom properties are set here, not inherited from .pb, because a
   var() is resolved where it is declared. */
.dark .pb-hero,
.dark .pb-finish--bg {
    --falcon-1000: #0b1727;
    --falcon-900: #232e3c;
    --falcon-800: #4d5969;
    --falcon-700: #5e6e82;
    --falcon-600: #748194;
    --pb-ink: #0b1828;
    --pb-chip: #edf2f9;
    --pb-line: #d8e2ef;
    color: #5e6e82;
}

.pb-hero__logo {
    width: 64px;
    height: auto;
}

.pb-hero__title {
    margin: 0;
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--pb-ink);
}

.pb-hero__title span {
    display: block;
    color: var(--pb-red);
}

.pb-hero__phone {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-top: .5rem;
    filter: drop-shadow(0 18px 30px rgba(11, 24, 40, .25));
}

/* The picture behind the page (--pb-bg, set by the template when it exists): on a
   phone, the globe behind the header with the card over the rest; on a wide
   screen, the whole picture, its phone low on the left under the headline. */
/* Phone: the card carries the picture, cropped to the globe right of the phone,
   behind the logo, title and steps; the cards below are white over it. */
.pb--bg .pb-main {
    background-color: var(--falcon-card-bg, #fff);
    /* The picture fades into the card rather than stopping on a line. */
    background-image: linear-gradient(to bottom, transparent 0, transparent 280px, var(--falcon-card-bg, #fff) 440px),
                      var(--pb-bg);
    background-repeat: no-repeat;
    background-size: 100% 100%, 1300px auto;
    background-position: 0 0, -470px -250px;
}

.pb--bg .pb-card {
    background: var(--falcon-card-bg, #fff);
}

/* Wide screen: the picture behind the whole page, the globe low on the left under
   the headline; the card is plain white again. */
@media (min-width: 992px) {
    .pb--bg {
        background-image: var(--pb-bg);
        background-repeat: no-repeat;
        background-color: #e1edfe;   /* the picture's own top edge, while it loads */
        background-size: cover;
        background-position: left bottom;
        border-radius: 1rem;
        padding: 1rem;
    }

    .pb--bg .pb-main {
        background-image: none;
    }

    .pb--bg .pb-hero {
        min-height: 560px;
    }
}

.pb-main {
    min-width: 0;
    /* The follower thresholds go two across by the card's own width, which the
       side menu (there outside signup, gone during it) changes. */
    container-type: inline-size;
    background: var(--falcon-card-bg, #fff);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--falcon-box-shadow-sm, 0 1px 3px rgba(0, 0, 0, .06));
}

@media (min-width: 768px) {
    .pb-main {
        padding: 1.25rem 1.5rem;
    }
}

/* Header: logo over the title on a phone, the title alone beside the panel. */
.pb-head {
    text-align: center;
    margin-bottom: 1rem;
    padding-top: 1rem;   /* room under the app's top bar on a phone */
}

.pb-head__logo {
    width: 56px;
    height: auto;
    margin-bottom: .5rem;
}

.pb-head__title {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pb-ink);
}

@media (min-width: 768px) {
    .pb-head {
        text-align: left;
        padding-top: 0;
    }

    .pb-head__logo {
        display: none;
    }
}

.pb-steps {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pb-steps__item {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .375rem;
    text-align: center;
}

/* The line to the next circle: red once this step is done. */
.pb-steps__item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 14px;
    left: calc(50% + 18px);
    right: calc(-50% + 18px);
    height: 2px;
    background: var(--pb-line);
}

.pb-steps__item.is-done:not(:last-child)::after {
    background: var(--pb-red);
}

.pb-steps__dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--pb-chip);
    color: var(--falcon-700, #5e6e82);
    font-size: .8125rem;
    font-weight: 700;
}

.pb-steps__item.is-current .pb-steps__dot,
.pb-steps__item.is-done .pb-steps__dot {
    background: var(--pb-red);
    color: #fff;
}

.pb-steps__item.is-current .pb-steps__dot {
    box-shadow: 0 0 0 4px var(--pb-red-soft);
}

.pb-steps__label {
    font-size: .75rem;
    color: var(--falcon-700, #5e6e82);
}

.pb-steps__item.is-current .pb-steps__label {
    color: var(--pb-red);
    font-weight: 600;
}

/* Cards */
.pb-card {
    border: 1px solid var(--falcon-border-color, #edf2f9);
    border-radius: .875rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.pb-card__head {
    display: flex;
    align-items: flex-start;
    gap: .875rem;
    margin-bottom: 1rem;
}

.pb-card__ic {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--pb-red-soft);
    color: var(--pb-red);
    font-size: 1.125rem;
}

.pb-card__title {
    margin: .125rem 0 .125rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--pb-ink);
}

.pb-card__desc {
    margin: 0;
    font-size: .8125rem;
    color: var(--falcon-700, #5e6e82);
}

/* A labelled field: label beside the box on a wide screen, above it on a phone. */
.pb-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: .25rem;
    margin-bottom: .75rem;
}

@media (min-width: 768px) {
    .pb-row {
        grid-template-columns: 30% 1fr;
        align-items: center;
        gap: 1rem;
    }

    .pb-row--wide {
        grid-template-columns: 1fr;
    }
}

.pb-row__label {
    margin: 0;
    font-size: .875rem;
    color: var(--falcon-800, #4d5969);
}

.pb-row__aside {
    margin: -.25rem 0 .75rem;
}

@media (min-width: 768px) {
    .pb-row__aside {
        margin-left: calc(30% + 1rem);
    }
}

.pb-row__field {
    min-width: 0;
}

.pb-row__field--icon {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.pb-row__ic {
    color: var(--falcon-600, #748194);
}

.pb-row__field > .jform,
.pb-row__field--icon > .jform {
    display: block;
    width: 100%;
}

/* A JForm value drawn as the box it opens into. */
.pb .pb-row .jform_value {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .375rem;
    width: 100%;
    min-height: 40px;
    padding: .375rem .75rem;
    border: 1px solid var(--pb-line);
    border-radius: .5rem;
    background: var(--falcon-input-bg, #fff);
    color: var(--pb-ink);
    font-size: .875rem;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.pb .pb-row .jform_value.jform_empty_value {
    color: var(--falcon-500, #9da9bb);
}

.pb .pb-row .jform_value.text-danger {
    border-color: var(--falcon-danger, #e63757);
}

/* A single select gets the chevron its box opens into. */
.pb .pb-row .jform:has(.jform_field select:not([multiple])) .jform_value::after {
    content: '';
    margin-left: auto;
    width: .45rem;
    height: .45rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: .7;
}

.pb .pb-row .jform_field,
.pb .pb-row .jform_field .bootstrap-select,
.pb .pb-row .jform_field .form-control {
    width: 100% !important;
}

/* Chips */
.pb-chip {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .1875rem .5rem;
    border-radius: .375rem;
    background: var(--pb-chip);
    color: var(--pb-ink);
    font-size: .8125rem;
    line-height: 1.3;
}

.pb-chip__x {
    padding: 0;
    border: 0;
    background: none;
    color: var(--falcon-600, #748194);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.pb-chip__x:hover {
    color: var(--falcon-danger, #e63757);
}

.pb-chips__caret {
    margin-left: auto;
    padding-left: .25rem;
    color: var(--falcon-600, #748194);
    font-size: .75rem;
    cursor: pointer;
}

.pb-tags__input {
    flex: 1 1 120px;
    min-width: 120px;
    padding: .125rem 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--pb-ink);
    font-size: .875rem;
}

/* Ranges show their two boxes open; the summary text is not needed. */
.pb .pb-range-open .jform_value {
    display: none !important;
}

.pb .pb-range-open .jform_field.hidden {
    display: block !important;
}

/* Required and empty: the boxes take the red the summary would have had. */
.pb .pb-range-open:has(.jform_value.text-danger) .form-control,
.pb .pb-range-open:has(.jform_value.text-danger) .bootstrap-select > .dropdown-toggle {
    border-color: var(--falcon-danger, #e63757) !important;
}

.pb .pb-range-open .input-group {
    gap: .5rem;
    flex-wrap: nowrap;
}

.pb .pb-range-open .input-group > .form-control,
.pb .pb-range-open .input-group > .bootstrap-select {
    border-radius: .5rem !important;
    flex: 1 1 0;
}

.pb .pb-row--range .input-group-addon {
    display: none !important;
}

.pb .pb-row--range-choice .input-group-addon {
    background: none !important;
    font-size: 0;
}

.pb .pb-row--range-choice .input-group-addon::before {
    content: '–';
    font-size: 1rem;
    color: var(--pb-ink);
}

.pb .pb-row--range .form-control {
    height: 34px;
    font-size: .8125rem;
}

.pb-thresholds .pb-row {
    font-size: .8125rem;
}

@container (min-width: 520px) {
    .pb-thresholds .pb-row {
        grid-template-columns: minmax(0, 1fr) 220px;
    }
}

@container (min-width: 820px) {
    .pb-thresholds {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 2rem;
    }

    .pb-thresholds .pb-row {
        grid-template-columns: minmax(0, 1fr) 200px;
    }
}

/* About you */
.pb-about {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .pb-about {
        grid-template-columns: 180px 1fr;
        align-items: start;
    }
}

.pb-about__photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
}

.pb-photo__link {
    font-weight: 600;
    text-decoration: none;
}

/* ── Profile photo: click to change, progress on the circle ─────────────────
   `[data-profile-photo]` in pwa-profile.js. The circle is the button; a hover
   darkens it with a camera, and while the cropped picture uploads a ring fills
   round its edge (`--pp-progress`). */
.profile-photo {
    cursor: pointer;
}

.profile-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    transition: background-color .15s;
}

.profile-photo:hover::after {
    background: rgba(0, 0, 0, .18);
}

.profile-photo.is-uploading {
    cursor: progress;
}

.profile-photo.is-uploading::after {
    inset: -4px;
    background: conic-gradient(var(--falcon-primary, #2c7be5) var(--pp-progress, 0%), transparent 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
}

.profile-photo.is-uploading img {
    opacity: .6;
}

.pp-crop__stage {
    height: min(60vh, 360px);
    background: #000;
    border-radius: .5rem;
    overflow: hidden;
}

.pp-crop__stage img {
    display: block;
    max-width: 100%;
}

.pp-crop .cropper-view-box,
.pp-crop .cropper-face {
    border-radius: 50%;
}

.pp-crop .cropper-view-box {
    outline: 0;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .9);
}

.pp-crop__zoom {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: 1rem;
    color: var(--falcon-600, #748194);
}

.pp-crop__hint {
    margin: .5rem 0 0;
    font-size: .8125rem;
    text-align: center;
    color: var(--falcon-600, #748194);
}

.pb-photo {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--pb-chip);
}

.pb-photo img,
.pb-photo__initial {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.pb-photo__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--falcon-700, #5e6e82);
}

.pb-photo__camera {
    position: absolute;
    right: 4px;
    bottom: 4px;
    line-height: 1;
}

.pb-public {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1rem;
}

.pb-public__handle {
    display: flex;
    align-items: center;
    flex: 1 1 180px;
    min-width: 0;
}

.pb-public__handle > .jform {
    flex: 1 1 auto;
    min-width: 0;
}

.pb-public__url {
    margin-top: .375rem;
    font-size: .8125rem;
}

/* No Select All / Deselect All in the builder's lists: the categories are
   capped at ten, and however a list opens (a chip, the caret, an empty
   field's "click to add") the actions stay out of it. */
.pb .bs-actionsbox {
    display: none !important;
}

/* Target categories with "Same as your categories" beside them, from the design;
   the button goes under the field on a phone. */
.pb-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.pb-copy > .jform {
    flex: 1 1 220px;
    min-width: 0;
}

.pb-copy__btn {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    flex: 0 0 auto;
    padding: .375rem .75rem;
    border: 1px solid #c9bdf5;
    border-radius: .5rem;
    background: #f3f0ff;
    color: #5b3fd1;
    font-size: .75rem;
    font-weight: 600;
    white-space: nowrap;
}

.pb-copy__btn:hover {
    background: #e9e3ff;
}

.pb-copy__btn:disabled {
    opacity: .6;
}

/* The public profile switch: a soft card under the handle, from the design. */
.pb-public-card {
    margin: .25rem 0 .75rem;
    padding: .75rem 1rem;
    border: 1px solid rgba(44, 123, 229, .2);
    border-radius: .5rem;
    background: rgba(44, 123, 229, .05);
}

.pb-public-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pb-public-card__head .form-check-input {
    width: 2.5em;
    height: 1.35em;
    margin: 0;
    cursor: pointer;
}

.pb-public-card__title {
    font-size: .875rem;
    font-weight: 600;
    color: var(--pb-ink);
}

.pb-public-card__desc {
    font-size: .75rem;
    color: var(--falcon-700, #5e6e82);
}

.pb-public-card__state {
    margin-top: .625rem;
    padding-top: .5rem;
    border-top: 1px solid rgba(44, 123, 229, .15);
    font-size: .75rem;
    color: var(--falcon-700, #5e6e82);
}

/* Font Awesome swaps the <i> for an <svg>. */
.pb-public-card__state > i,
.pb-public-card__state > svg {
    margin-right: .375rem;
}

/* Back / Next */
.pb-foot {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: .5rem;
}

.pb-btn {
    display: inline-flex;
    align-items: center;
    padding: .625rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
}

.pb-btn--back {
    background: var(--pb-chip);
    color: var(--pb-ink);
}

.pb-btn--back:hover {
    background: var(--falcon-300, #d8e2ef);
    color: var(--pb-ink);
}

/* Always on the right, also when it is alone (no Back after signup, step 1). */
.pb-btn--next {
    margin-left: auto;
}

.pb-btn--next,
.pb-btn--next:hover,
.pb-btn--next:focus {
    background: var(--pb-red);
    color: #fff;
    padding-left: 2.25rem;
    padding-right: 2.25rem;
}

/* Socials rows (creator's first step): laid out for the full-width page they came
   from, so in the builder's narrower card the logo column keeps the logo's width
   and the link takes the rest, a little apart from it. */
.pb [id^="section_"],
.pb .social-extra-row > div:first-child {
    flex: 0 0 52px !important;
    max-width: 52px !important;
}

/* The primary rows share one wrapping row, three columns a platform, so the link
   is sized exactly: what the logo leaves, less the follower column on a wide card. */
.pb [id^="section_"] + div {
    flex: 0 0 calc(100% - 52px) !important;
    max-width: calc(100% - 52px) !important;
    padding-left: 1rem !important;
}

@media (min-width: 768px) {
    .pb [id^="section_"] + div {
        flex-basis: calc(66.6667% - 52px) !important;
        max-width: calc(66.6667% - 52px) !important;
    }
}

/* An extra account is a row of its own; its link takes what is left. */
.pb .social-extra-url {
    flex: 1 1 0 !important;
    max-width: none !important;
    padding-left: 1rem !important;
}

/* Location preferences at the builder's type size, not the page's. */
.pb #location_prefs,
.pb #location_prefs .fs-0,
.pb #location_prefs .fw-500 {
    font-size: .8125rem !important;
}

/* ---------- Profile builder: after Done (j2.pwa.profile_builder_finish.html) ----------
   "Finding your connections…" then "You're all set!": the member's own photo in
   pulsing rings, members of the platform around it, a progress bar. */
.pb-finish {
    position: relative;
    min-height: calc(100vh - 140px);
    padding: 1.5rem 1rem 2rem;
    border-radius: 1rem;
    text-align: center;
    background: #eef5fe;
}

.pb-finish--bg {
    background-image: var(--pb-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.pb-finish__steps {
    max-width: 560px;
    margin: 0 auto 1rem;
}

.pb-finish__stage {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.pb-finish__ring {
    position: relative;
    width: 300px;
    height: 260px;
}

@media (min-width: 768px) {
    .pb-finish__ring {
        width: 420px;
        height: 300px;
    }
}

.pb-finish__me {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 6px solid #fff;
    background: var(--falcon-200, #edf2f9);
    box-shadow: 0 0 0 14px rgba(240, 72, 72, .12), 0 0 0 28px rgba(240, 72, 72, .06);
    animation: pb-pulse 2.4s ease-in-out infinite;
    overflow: hidden;
    z-index: 1;
}

.pb-finish__me img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pb-finish__me span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3rem;
    font-weight: 700;
    color: var(--falcon-700, #5e6e82);
}

@keyframes pb-pulse {
    0%, 100% { box-shadow: 0 0 0 14px rgba(240, 72, 72, .12), 0 0 0 28px rgba(240, 72, 72, .06); }
    50% { box-shadow: 0 0 0 20px rgba(240, 72, 72, .10), 0 0 0 40px rgba(240, 72, 72, .04); }
}

.pb-finish__orbit {
    position: absolute;
    inset: 0;
}

.pb-finish__peer {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    box-shadow: 0 6px 16px rgba(11, 24, 40, .15);
    animation: pb-float 3.2s ease-in-out infinite;
}

.pb-finish__icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: var(--pb-red);
    font-size: .8125rem;
    box-shadow: 0 4px 10px rgba(11, 24, 40, .12);
}

.pb-finish__icon:nth-child(odd) {
    color: #5a5cff;
}

@keyframes pb-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* "You're all set": the members leave, the confetti comes. */
.pb-finish.is-done .pb-finish__orbit {
    display: none;
}

.pb-finish__confetti {
    display: none;
}

.pb-finish.is-done .pb-finish__confetti {
    display: block;
    position: absolute;
    inset: 0;
}

.pb-finish__confetti i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 5px;
    border-radius: 3px;
    background: var(--pb-red);
    transform: rotate(calc(var(--n) * 25.7deg)) translateX(118px) rotate(30deg);
    animation: pb-burst .6s ease-out both;
}

.pb-finish__confetti i:nth-child(3n) {
    background: #2c7be5;
}

.pb-finish__confetti i:nth-child(3n+1) {
    background: #f6a5ae;
}

@keyframes pb-burst {
    from { opacity: 0; transform: rotate(calc(var(--n) * 25.7deg)) translateX(70px) rotate(30deg); }
    to { opacity: 1; }
}

.pb-finish__title {
    margin: 0 0 .5rem;
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--pb-ink);
}

.pb-finish__title--done {
    font-size: 2.5rem;
}

.pb-finish__text {
    max-width: 460px;
    margin: 0 auto 1.25rem;
    color: var(--falcon-800, #4d5969);
    /* Reads over the bright globe as well as over the sky. */
    text-shadow: 0 0 10px #fff, 0 0 4px #fff;
}

.pb-finish__title {
    text-shadow: 0 0 14px rgba(255, 255, 255, .9);
}

.pb-finish__bar {
    max-width: 420px;
    height: 8px;
    margin: 0 auto 1.5rem;
    border-radius: 999px;
    background: rgba(11, 24, 40, .08);
    overflow: hidden;
}

.pb-finish__bar span {
    display: block;
    width: 4%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f04848, #f6a5ae);
    transition: width .25s linear;
}

.pb-finish__facts {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, .8);
    text-align: left;
}

.pb-finish__fact {
    display: flex;
    gap: .75rem;
    flex: 1 1 0;
}

.pb-finish__fact-ic {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pb-red-soft);
    color: var(--pb-red);
}

.pb-finish__fact-title {
    font-size: .875rem;
    font-weight: 700;
    color: var(--pb-ink);
}

.pb-finish__fact-text {
    font-size: .8125rem;
    color: var(--falcon-700, #5e6e82);
}

/* On a phone the whole screen fits above the bottom menu: a smaller ring with a
   softer glow, so the members around it sit clear of it instead of on it, and
   tighter type. The bottom menu is fixed and dimmed while it waits, so anything
   left below the fold showed through it. */
@media (max-width: 767.98px) {
    .pb-finish {
        /* The picture fills the screen edge to edge, behind the top bar and on
           under the bottom menu (76px, which the page pads for), with the
           content kept clear of both. */
        min-height: 100vh;
        min-height: 100dvh;
        margin-bottom: -76px;
        padding-bottom: calc(76px + .75rem);
        border-radius: 0;
    }

    .pb-finish__steps {
        margin-bottom: .5rem;
    }

    .pb-finish__stage {
        margin-bottom: .5rem;
    }

    .pb-finish__ring {
        width: 300px;
        height: 240px;
    }

    .pb-finish__me {
        width: 112px;
        height: 112px;
        border-width: 4px;
        animation-name: pb-pulse-sm;
    }

    .pb-finish__peer {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }

    .pb-finish__icon {
        width: 26px;
        height: 26px;
        font-size: .6875rem;
    }

    .pb-finish__confetti i {
        transform: rotate(calc(var(--n) * 25.7deg)) translateX(88px) rotate(30deg);
    }

    .pb-finish__title {
        font-size: 1.375rem;
    }

    .pb-finish__title--done {
        font-size: 1.875rem;
    }

    .pb-finish__text {
        margin-bottom: 1rem;
        font-size: .875rem;
    }

    .pb-finish__bar {
        margin-bottom: 1rem;
    }

    /* Both facts, one under the other: side by side they did not fit, and the
       first used to be dropped on a phone. */
    .pb-finish__facts {
        flex-direction: column;
        gap: .75rem;
        padding: .75rem;
    }
}

@keyframes pb-pulse-sm {
    0%, 100% { box-shadow: 0 0 0 8px rgba(240, 72, 72, .12), 0 0 0 16px rgba(240, 72, 72, .06); }
    50% { box-shadow: 0 0 0 12px rgba(240, 72, 72, .10), 0 0 0 24px rgba(240, 72, 72, .04); }
}

/* The menus in view but out of reach: after signup through the builder, and on
   the screen after Done until the connections are ready (pbLockNav). */
.pb-nav-locked #sideMenu,
.pb-nav-locked #mobileBottomNav,
.pb-nav-locked #navbar-top {
    pointer-events: none;
    opacity: .5;
}

/* On a phone the app's top bar is fixed and nothing clears it for the page (pwa.css
   pads only from 768px up); the builder used to hide the bar, now it shows it, so
   both the steps and the screen after Done clear its 69px themselves. */
@media (max-width: 767.98px) {
    #builder_finish.pb {
        padding-top: calc(69px + 1.5rem);
    }

    /* The steps page: on a phone the picture is on the card, not on the page
       behind it, so the clearance for the bar is exactly the bar and the card
       meets it edge to edge; a gap above the card was a white band under the
       sky. The card's own padding keeps the logo off the bar. */
    #builder.pb {
        padding-top: 69px;
    }

    #builder.pb--bg .pb-main {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}
