.facenimal-profile-template {
    margin: 0 auto;
    width: 100%;
    background: #f2f2f2;
}
 
.facenimal-profile {
    box-sizing: border-box;
    color: #17212b;
    margin: 0 auto;
    max-width: 1240px;
    min-width: 0;
    overflow-x: clip;
    width: 100%;
}

.facenimal-profile *,
.facenimal-profile *::before,
.facenimal-profile *::after {
    box-sizing: border-box;
}

.facenimal-profile-login,
.facenimal-profile-hero,
.facenimal-profile-panel {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
    max-width: 100%;
    min-width: 0;
}

.facenimal-profile-login {
    padding: 22px;
    text-align: center;
}

.facenimal-profile-login h2,
.facenimal-profile-identity h2,
.facenimal-profile-panel h3 {
    margin: 0;
}

.facenimal-profile-login p,
.facenimal-profile-empty {
    color: #667085;
}

.facenimal-profile-primary {
    align-items: center;
    background: #006400;
    border-radius: 999px;
    color: #fff !important;
    display: inline-flex;
    /* Without this the label hugs the left edge the moment the button is wider
       than its text — which it is inside a grid or at full width on a phone. */
    justify-content: center;
    font-weight: 800;
    min-height: 38px;
    padding: 0 18px;
    text-decoration: none;
}

.facenimal-profile-hero {
    align-items: center;
    background: #d8eef0;
    display: grid;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    margin-bottom: 16px;
    overflow: visible;
    padding: 14px 16px;
}

.facenimal-profile-avatar {
    border-radius: 999px;
    display: block;
    height: 52px;
    object-fit: cover;
    width: 52px;
}

.facenimal-profile-identity {
    min-width: 0;
    width: 100%;
}

.facenimal-profile-title-row {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    min-width: 0;
}

.facenimal-profile-title-actions {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 6px;
    margin-left: auto;
}

.facenimal-profile-hero-main {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
}

.facenimal-profile-trust-strip {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
    min-width: 0;
}

.facenimal-profile-trust-pill {
    align-items: center;
    color: #000000;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    min-height: 22px;
    padding: 0 8px;
    white-space: nowrap;
}

.facenimal-profile-trust-pill.is-verified {
    background: #ecfdf3;
    border-color: #abefc6;
    color: #006400;
}

.facenimal-profile-trust-pill.is-neutral {
    color: #f00;
}

.facenimal-profile-identity h2 {
    color: #101828;
    flex: 1 1 auto;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.facenimal-profile-name {
    color: inherit;
    text-decoration: none;
}

.facenimal-profile-name:hover,
.facenimal-profile-name:focus {
    color: #006400;
    text-decoration: none;
}

.facenimal-profile-title-bell {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #000 !important;
    display: inline-flex;
    flex: 0 0 auto;
    height: 38px;
    justify-content: center;
    position: relative;
    text-decoration: none;
    width: 38px;
}

.facenimal-profile-title-bell:hover,
.facenimal-profile-title-bell:focus,
.facenimal-profile-title-bell.is-active {
    background: #ecfdf3;
    border-color: #8fd8a8;
    color: #006400;
    text-decoration: none;
}

.facenimal-profile-title-bell.is-active {
    box-shadow: inset 0 0 0 1px #8fd8a8;
}

.facenimal-profile-title-bell svg {
    fill: none;
    height: 25px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.45;
    width: 25px;
}

.facenimal-profile-title-bell.is-active svg {
    fill: #006400;
}


.facenimal-profile-create-menu {
    justify-self: end;
}

.facenimal-profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
}

.facenimal-profile-saved-lists {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

.facenimal-profile-saved-list-item {
    align-items: center;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    color: #344054;
    display: inline-flex;
    gap: 7px;
    min-height: 32px;
    overflow: hidden;
    text-decoration: none;
}

.facenimal-profile-saved-list-item:hover,
.facenimal-profile-saved-list-item:focus-within,
.facenimal-profile-saved-list-item.is-active {
    background: #ecfdf3;
    border-color: #8fd8a8;
    color: #006400;
}

.facenimal-profile-saved-list {
    align-items: center;
    color: inherit;
    display: inline-flex;
    gap: 7px;
    min-height: 32px;
    padding: 0 0 0 10px;
    text-decoration: none;
}

.facenimal-profile-saved-list-item > .facenimal-profile-saved-list:last-child {
    padding-right: 10px;
}

.facenimal-profile-saved-list span,
.facenimal-profile-saved-list strong {
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.facenimal-profile-saved-list strong {
    align-items: center;
    background: rgba(0, 100, 0, .08);
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    min-width: 20px;
    padding: 4px 6px;
}

.facenimal-profile-saved-list-delete-form {
    display: inline-flex;
}

.facenimal-profile-saved-list-delete {
    align-items: center;
    background: transparent;
    border: 0;
    color: #667085;
    cursor: pointer;
    display: inline-flex;
    font-size: 18px;
    font-weight: 900;
    height: 32px;
    justify-content: center;
    line-height: 1;
    padding: 0 9px 2px 2px;
}

.facenimal-profile-saved-list-delete:hover,
.facenimal-profile-saved-list-delete:focus {
    color: #b42318;
}

.facenimal-profile-saved-pagination {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 12px;
}

.facenimal-profile-saved-pagination a {
    color: #006400;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.facenimal-profile-saved-pagination span {
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.facenimal-profile-stats .facenimal-follow-form-profile {
    flex: 0 0 auto;
    min-width: 0;
}

.facenimal-profile-stats .facenimal-follow-button {
    min-height: 26px;
    padding: 4px 10px;
}

.facenimal-profile-follow-dropdown {
    flex: 0 0 auto;
    min-width: 0;
    position: relative;
}

.facenimal-profile-follow-dropdown.is-active .facenimal-profile-follow-summary,
.facenimal-profile-follow-summary.is-open {
    border-color: #8fd8a8;
    box-shadow: inset 0 0 0 1px #8fd8a8;
    color: #006400;
}

.facenimal-profile-follow-summary {
    appearance: none;
    cursor: pointer;
}

.facenimal-profile-follow-summary::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    content: "";
    height: 0;
    margin-left: 2px;
    width: 0;
}

.facenimal-profile-follow-menu {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(16, 24, 40, .14);
    display: grid;
    gap: 4px;
    min-width: 150px;
    padding: 6px;
}

.facenimal-profile-follow-menu[hidden] {
    display: none;
}

.facenimal-profile-follow-menu .facenimal-follow-form,
.facenimal-profile-follow-menu .facenimal-community-inline-form {
    margin: 0;
}

.facenimal-profile-follow-menu .facenimal-follow-button,
.facenimal-profile-follow-menu .facenimal-community-post-menu-item,
.facenimal-profile-follow-menu-item {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #17212b;
    display: flex;
    font-size: 12px;
    font-weight: 900;
    justify-content: flex-start;
    min-height: 30px;
    padding: 7px 9px;
    text-align: left;
    text-decoration: none;
    width: 100%;
}

.facenimal-profile-follow-menu .facenimal-follow-button:hover,
.facenimal-profile-follow-menu .facenimal-follow-button:focus,
.facenimal-profile-follow-menu .facenimal-community-post-menu-item:hover,
.facenimal-profile-follow-menu .facenimal-community-post-menu-item:focus,
.facenimal-profile-follow-menu-item:hover,
.facenimal-profile-follow-menu-item:focus {
    background: #ecfdf3;
    color: #006400;
    text-decoration: none;
}

.facenimal-profile-follow-menu .facenimal-community-post-menu-item.is-danger {
    color: #b42318;
}

.facenimal-profile-follow-menu .facenimal-community-post-menu-item.is-danger:hover,
.facenimal-profile-follow-menu .facenimal-community-post-menu-item.is-danger:focus {
    background: #fff1f0;
    color: #b42318;
}

.facenimal-profile-owner-actions {
    display: inline-flex;
    flex: 0 0 auto;
    position: relative;
}

.facenimal-profile-menu-toggle {
    height: 38px;
    min-height: 32px;
    width: 38px;
}

.facenimal-profile-options-menu {
    min-width: 150px;
    width: max-content;
}

.facenimal-profile-account-menu {
    min-width: 210px;
}

.facenimal-language-settings > p {
    color: #667085;
    font-size: 13px;
    margin: 0 0 14px;
}

.facenimal-account-edit-form {
    display: grid;
    gap: 14px;
}

/* Each block below the account form — verification, password — is its own
   section with its own rule above it. The heading has to belong to the block it
   introduces: the password form used to sit *inside* the verification block,
   between its heading and its upload field, so "Profile verification / Status"
   read as a heading for the password. */
.facenimal-account-section {
    border-top: 1px solid #e4e7ec;
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
}

.facenimal-account-section h4,
.facenimal-account-section p {
    margin: 0;
}

.facenimal-account-section p {
    color: #667085;
    font-size: 12px;
    font-weight: 700;
}

.facenimal-account-verification-form {
    display: grid;
    gap: 10px;
}

.facenimal-account-verification-upload-control {
    align-items: center;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    display: flex;
    gap: 8px;
    min-height: 42px;
    min-width: 0;
    padding: 4px;
}

.facenimal-account-edit-field input.facenimal-account-verification-file-input,
input.facenimal-account-verification-file-input {
    border: 0;
    min-height: 0;
    padding: 0;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.facenimal-account-verification-upload-button {
    align-items: center;
    background: #006400;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 900;
    gap: 6px;
    min-height: 32px;
    padding: 0 12px;
}

.facenimal-account-verification-upload-button svg {
    fill: none;
    height: 17px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 17px;
}

.facenimal-account-verification-file-name {
    color: #667085;
    font-size: 12px;
    font-weight: 800;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.facenimal-account-edit-form h4 {
    color: #17212b;
    font-size: 12px;
    font-weight: 900;
    margin: 4px 0 -4px;
}

.facenimal-account-edit-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.facenimal-account-edit-field {
    color: #344054;
    display: grid;
    font-size: 11px;
    font-weight: 800;
    gap: 5px;
    min-width: 0;
}

.facenimal-account-edit-field.is-wide {
    grid-column: 1 / -1;
}

.facenimal-account-edit-field input,
.facenimal-account-edit-field select,
.facenimal-account-edit-field textarea {
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    box-shadow: none;
    color: #101828;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    min-height: 36px;
    outline: none;
    padding: 8px 10px;
    width: 100%;
}

.facenimal-account-edit-field textarea {
    line-height: 1.35;
    min-height: 72px;
    resize: vertical;
}

.facenimal-account-edit-field input:focus,
.facenimal-account-edit-field select:focus,
.facenimal-account-edit-field textarea:focus {
    background: #fff;
    border-color: #8fd8a8;
    box-shadow: 0 0 0 3px rgba(0, 100, 0, 0.08);
    color: #000;
}

.facenimal-language-form {
    align-items: end;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.facenimal-language-form label {
    color: #344054;
    font-size: 12px;
    font-weight: 900;
    grid-column: 1 / -1;
}

.facenimal-language-form select {
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    min-height: 38px;
    padding: 0 10px;
}

.facenimal-language-form button {
    background: #006400;
    border: 1px solid #006400;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
}

/* State of its own, or the theme's generic button:hover takes over — which is
   what turned this white mid-press on a dark page. */
.facenimal-language-form button:hover,
.facenimal-language-form button:focus,
.facenimal-language-form button:active {
    background: #024d02;
    border-color: #024d02;
    color: #fff;
}

@media (max-width: 480px) {
    .facenimal-account-edit-grid,
    .facenimal-language-form {
        grid-template-columns: 1fr;
    }
}

.facenimal-profile-stat-link {
    align-items: center;
    background: transparent;
    /*border: 1px solid rgba(139, 92, 246, .15);*/
    border-radius: 999px;
    color: #000 !important;
    display: inline-flex;
    font-size: 13px;
    font-weight: 500;
    gap: 3px;
    justify-content: center;
    min-height: 26px;
    min-width: 0;
    padding: 4px 8px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.facenimal-profile-stat-link {
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.facenimal-profile-stat-link:hover,
.facenimal-profile-stat-link:focus,
.facenimal-profile-stat-link.is-active {
    background: #fff;
    border-color: #8fd8a8;
    color: #006400;
    text-decoration: none;
}

.facenimal-profile-stat-link.is-active {
    box-shadow: inset 0 0 0 1px #8fd8a8;
}

.facenimal-profile-stats strong {
    color: #000;
    font-size: 12px;
    line-height: 1;
}

.facenimal-profile-grid {
    align-items: flex-start;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) 350px;
    max-width: 100%;
    min-width: 0;
}

.facenimal-profile-main {
    max-width: 100%;
    min-width: 0;
}

.facenimal-profile-side {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.facenimal-profile-panel {
    padding: 14px;
    margin-bottom:15px;
}

.facenimal-profile-panel-head {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.facenimal-profile-panel-head h3 {
    color: #101828;
    font-size: 16px;
    min-width: 180px;
}

.facenimal-profile-panel-head a {
      color: #006400;
      font-size: 13px;
      font-weight: 800;
      text-decoration: none;
      background:#d8eef0;
      border-radius: 17px;
      padding: 5px 7px;
      box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
      width: 100%;
      text-align: center;
      
}
.facenimal-profile-panel-head a:hover{
      box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
      background:#fff;
      transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.facenimal-profile-panel-links {
    align-items: center;
    display: inline-flex;
    gap: 10px;
}

.facenimal-profile-posts,
.facenimal-profile-groups,
.facenimal-profile-following-list,
.facenimal-profile-list {
    display: grid;
    gap: 10px;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.facenimal-profile-posts.facenimal-community-feed {
    gap: 0;
    margin: 0 auto;
    max-width: 640px;
    min-width: 0;
    overflow-x: clip;
    width: 100%;
}

.facenimal-profile-posts-panel {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.facenimal-profile-posts-panel > .facenimal-profile-panel-head {
    margin-left: auto;
    margin-right: auto;
    max-width: 640px;
    padding: 0 2px;
}

.facenimal-profile-posts .facenimal-community-card,
.facenimal-profile-posts .facenimal-community-post {
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.facenimal-profile-list-wide {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.facenimal-profile-post,
.facenimal-profile-group-card,
.facenimal-profile-following-card,
.facenimal-profile-listing {
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    color: #17212b;
    text-decoration: none;
}

.facenimal-profile-post {
    padding: 12px;
}

.facenimal-profile-post a {
    color: #101828;
    text-decoration: none;
}

.facenimal-profile-post p {
    color: #344054;
    font-size: 14px;
    margin: 6px 0 10px;
}

.facenimal-profile-meta {
    color: #667085;
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 800;
    gap: 10px;
}

.facenimal-profile-group-card {
    display: grid;
    gap: 8px;
    padding: 8px;
    position: relative;
}

.facenimal-profile-group {
    align-items: center;
    color: inherit;
    display: grid;
    gap: 10px;
    grid-template-columns: 42px minmax(0, 1fr);
    min-width: 0;
    text-decoration: none;
}

.facenimal-profile-group-actions-menu {
    position: absolute;
    right: 8px;
    top: 8px;
}

.facenimal-profile-group-card .facenimal-follow-form-compact {
    justify-self: start;
    padding-left: 52px;
}

.facenimal-profile-listing {
    display: grid;
    gap: 10px;
    padding: 8px;
    position: relative;
}

.facenimal-profile-listing.is-deleting {
    opacity: .55;
    pointer-events: none;
}

.facenimal-profile-listing-main {
    align-items: center;
    color: inherit;
    display: grid;
    gap: 10px;
    grid-template-columns: 42px minmax(0, 1fr);
    min-width: 0;
    text-decoration: none;
}

.facenimal-profile-group img,
.facenimal-profile-listing-image,
.facenimal-profile-listing-image img,
.facenimal-profile-group-fallback {
    border-radius: 9px;
    display: block;
    height: 42px;
    width: 42px;
}

.facenimal-profile-group img,
.facenimal-profile-listing-image img {
    object-fit: cover;
}

.facenimal-profile-listing-image {
    background: #eef2f6;
    overflow: hidden;
}

.facenimal-profile-group-fallback {
    align-items: center;
    background: #ecfdf3;
    color: #006400;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
}

.facenimal-profile-group strong,
.facenimal-profile-listing strong {
    color: #101828;
    display: block;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.facenimal-profile-group small,
.facenimal-profile-listing small {
    color: #667085;
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-top: 2px;
}

.facenimal-profile-following-sections {
    display: grid;
    gap: 14px;
}

.facenimal-profile-following-section h4 {
    color: #101828;
    font-size: 13px;
    font-weight: 900;
    margin: 0 0 8px;
}

.facenimal-profile-following-card {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px;
}

.facenimal-profile-following-main {
    align-items: center;
    color: inherit;
    display: grid;
    gap: 10px;
    grid-template-columns: 42px minmax(0, 1fr);
    min-width: 0;
    text-decoration: none;
}

.facenimal-profile-following-avatar {
    border-radius: 9px;
    display: block;
    height: 42px;
    object-fit: cover;
    width: 42px;
}

.facenimal-profile-following-main strong {
    color: #101828;
    display: block;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.facenimal-profile-following-main small {
    color: #667085;
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-top: 2px;
}

.facenimal-profile-listing-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.facenimal-profile-listing-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
    padding-right: 42px;
}

.facenimal-profile-listing-meta > span {
    align-items: center;
    color: #667085;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.facenimal-profile-listing-category a {
    color: #344054;
    text-decoration: none;
}

.facenimal-profile-listing-category a:hover,
.facenimal-profile-listing-category a:focus {
    color: #006400;
    text-decoration: none;
}

.facenimal-profile-listing-status {
    background: #ecfdf3;
    border-radius: 999px;
    color: #006400;
    min-height: 20px;
    padding: 0 8px;
}

.facenimal-profile-listing-status.is-pending,
.facenimal-profile-listing-status.is-draft {
    background: #fff7ed;
    color: #c2410c;
}

.facenimal-profile-listing-price {
    color: #006400;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
}

.facenimal-profile-listing-price-type {
    align-items: center;
    background: #f2f4f7;
    border-radius: 999px;
    color: #475467;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    min-height: 20px;
    padding: 0 8px;
}

.facenimal-profile-action.is-danger {
    background: #fff;
    border-color: #fecdca;
    color: #b42318;
}

.facenimal-profile-action.is-danger:hover,
.facenimal-profile-action.is-danger:focus {
    background: #fef3f2;
    border-color: #fecdca;
    color: #b42318;
}


.facenimal-profile-listing-filter-form {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(120px, 150px) minmax(150px, 1fr) minmax(180px, 1.2fr) 36px auto;
    margin: 0 0 12px;
}

.facenimal-profile-filter-select,
.facenimal-profile-filter-search {
    background: #f8fafc;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    box-sizing: border-box;
    color: #17212b;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    min-height: 36px;
    outline: none;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
    width: 100%;
}

.facenimal-profile-filter-select {
    color: #344054;
    font-size: 12px;
    font-weight: 800;
    padding: 0 12px;
}

.facenimal-profile-filter-search {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    padding: 0 13px;
}

.facenimal-profile-filter-search::-webkit-search-decoration,
.facenimal-profile-filter-search::-webkit-search-cancel-button,
.facenimal-profile-filter-search::-webkit-search-results-button,
.facenimal-profile-filter-search::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.facenimal-profile-filter-select:hover,
.facenimal-profile-filter-select:focus,
.facenimal-profile-filter-search:hover,
.facenimal-profile-filter-search:focus {
    background: #fff;
    border-color: #8fd8a8;
    box-shadow: 0 0 0 3px rgba(0, 100, 0, .08);
}

.facenimal-profile-listing-search {
    display: block;
    min-width: 0;
    position: relative;
}

.facenimal-profile-filter-submit {
    align-items: center;
    background: #006400;
    border: 1px solid #006400;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    padding: 0;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
    width: 36px;
}

.facenimal-profile-filter-submit:hover,
.facenimal-profile-filter-submit:focus {
    background: #004d00;
    border-color: #004d00;
    transform: translateY(-1px);
}

.facenimal-profile-filter-submit svg {
    fill: none;
    height: 15px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 15px;
}

/* Same family as the feed's active-topic bar: clearing a filter is a quiet,
   secondary action, so it is a neutral surface rather than a solid fill. It was
   `background: red` with white text and a green hover — 2.5:1, unreadable the
   moment you pointed at it — and 34px tall (24px on phones), under any thumb
   guideline. */
.facenimal-profile-filter-clear {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    color: #667085;
    display: inline-flex;
    font-size: 12px;
    font-weight: 500;
    justify-content: center;
    min-height: 44px;
    padding: 5px 14px;
    text-decoration: none;
    width: 100%;
}

.facenimal-profile-filter-clear:hover,
.facenimal-profile-filter-clear:focus {
    border-color: #8fd8a8;
    color: #006400;
    text-decoration: none;
}

.facenimal-profile-pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.facenimal-profile-pagination .page-numbers {
    align-items: center;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    color: #344054;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    justify-content: center;
    min-height: 32px;
    min-width: 32px;
    padding: 0 11px;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.facenimal-profile-pagination a.page-numbers:hover,
.facenimal-profile-pagination a.page-numbers:focus,
.facenimal-profile-pagination .page-numbers.current {
    background: #ecfdf3;
    border-color: #8fd8a8;
    color: #006400;
    text-decoration: none;
}

.facenimal-profile-listing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.facenimal-profile-listing-delete-form {
    display: inline-flex;
    margin: 0;
}

.facenimal-profile-listing-actions .facenimal-boost-start-form {
    display: inline-flex;
    margin: 0;
}

.facenimal-profile-action {
    align-items: center;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    color: #344054;
    display: inline-flex;
    font-size: 12px !important;
    font-weight: 900;
    min-height: 30px;
    padding: 0 12px;
    text-decoration: none;
}

button.facenimal-profile-action {
    cursor: pointer;
    font: inherit;
}

.facenimal-profile-action.is-primary {
    background: #006400;
    border-color: #006400;
    color: #fff;
}

.facenimal-profile-action.is-accent {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.facenimal-profile-action:hover,
.facenimal-profile-action:focus {
    border-color: #006400;
    color: #006400;
}

.facenimal-profile-action.is-primary:hover,
.facenimal-profile-action.is-primary:focus {
    background: #004d00;
    border-color: #004d00;
    color: #fff;
}

.facenimal-profile-action.is-accent:hover,
.facenimal-profile-action.is-accent:focus {
    background: #ffedd5;
    border-color: #fb923c;
    color: #9a3412;
}

.facenimal-profile-empty {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 860px) {
    .facenimal-profile-hero {
        align-items: start;
        grid-template-columns: auto minmax(0, 1fr);
        padding: 12px;
    }

    .facenimal-profile-grid {
        grid-template-columns: 1fr;
    }

    .facenimal-profile-side {
        display: none;
    }

    .facenimal-profile-stats {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: center;
        overflow: visible;
        width: 100%;
    }

    .facenimal-profile-hero-main {
        grid-column: 2;
        grid-row: 1;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }

}

@media (max-width: 640px) {
    .facenimal-profile-posts-panel > .facenimal-profile-panel-head {
        padding-left: 14px;
        padding-right: 14px;
    }

    .facenimal-profile-follow-menu {
        min-width: min(180px, calc(100vw - 16px));
    }

    .facenimal-profile-posts .facenimal-community-post-head {
        max-width: calc(100% - 28px);
        min-width: 0;
        width: calc(100% - 28px);
    }

    .facenimal-profile-posts .facenimal-community-post-owner-actions {
        flex: 0 0 38px;
        max-width: 38px;
    }

    .facenimal-profile-listing-filter-form {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px;
    }

    .facenimal-profile-listing-search {
        grid-column: 1 / 3;
    }

    .facenimal-profile-filter-clear {
        grid-column: 1 / -1;
        justify-self: stretch;
    }
}

@media (max-width: 360px) {
    .facenimal-profile-following-card {
        align-items: start;
        grid-template-columns: 1fr;
    }

    .facenimal-profile-following-card .facenimal-follow-form-compact {
        justify-self: start;
        padding-left: 52px;
    }
}

/* Account edit — profile picture field */
.facenimal-account-avatar-field {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.facenimal-account-avatar-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.facenimal-account-avatar-preview {
    border: 1px solid #e4e7ec;
    border-radius: 50%;
    height: 96px;
    object-fit: cover;
    width: 96px;
}

.facenimal-account-avatar-controls {
    display: grid;
    gap: 8px;
    min-width: 240px;
}

.facenimal-account-avatar-upload {
    cursor: pointer;
    display: block;
}

.facenimal-account-avatar-preview-wrap {
    display: inline-flex;
}

.facenimal-account-avatar-remove {
    align-items: center;
    display: flex;
    font-size: 14px;
    gap: 8px;
}

.facenimal-account-avatar-controls .description {
    color: #667085;
    font-size: 12px;
    margin: 0;
}

/* Removing the picture is a destructive choice sitting next to the upload
   button — keep it visually separate so it is not tapped by accident. */
.facenimal-account-avatar-remove {
    border-top: 1px dashed #e4e7ec;
    color: #b32d2e;
    margin-top: 4px;
    padding-top: 8px;
}

/* Privacy and safety: the list of people you have blocked, and the way back. */
.facenimal-privacy-blocked-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.facenimal-privacy-blocked-item {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    display: grid;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 56px;
    padding: 6px 6px 6px 10px;
}

.facenimal-privacy-blocked-item:has(> .facenimal-privacy-blocked-name:first-child) {
    grid-template-columns: minmax(0, 1fr) auto;
}

.facenimal-privacy-blocked-avatar {
    border-radius: 999px;
    display: block;
    height: 40px;
    object-fit: cover;
    width: 40px;
}

.facenimal-privacy-blocked-name {
    font-size: 14px;
    font-weight: 500;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Undoing a block is a quiet, reversible action, so it is not a filled button —
   and it is a full 44px target, like every other control that acts on a person. */
.facenimal-privacy-unblock {
    align-items: center;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    color: #344054;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 500;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
}

.facenimal-privacy-unblock:hover,
.facenimal-privacy-unblock:focus {
    border-color: #8fd8a8;
    color: #006400;
}

.facenimal-privacy-empty {
    color: #667085;
    font-size: 13px;
}

