.community-hero {
    background:
        radial-gradient(circle at top right, rgba(255, 201, 64, 0.16), transparent 32%),
        linear-gradient(135deg, #062b5c 0%, #0f4c81 100%);
    color: #fff;
    border-radius: 14px;
    padding: 48px 36px;
    margin: 36px 0 28px;
    box-shadow: 0 24px 48px rgba(6, 43, 92, 0.14);
}

.community-hero h1 {
    color: #fff;
    margin-bottom: 12px;
}

.community-hero p {
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 0;
}

.community-stat-card {
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    background: #fff;
    padding: 22px;
    height: 100%;
    box-shadow: 0 12px 32px rgba(11, 34, 57, 0.05);
}

.community-stat-label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5f6c7b;
    margin-bottom: 6px;
}

.community-stat-value {
    font-size: 30px;
    line-height: 1.1;
    font-weight: 700;
    color: #0b2239;
}

.community-stat-link {
    display: inline-flex;
    margin-top: 12px;
    color: #062b5c;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.community-stat-link:hover {
    color: #0f4c81;
}

.community-panel {
    border: 1px solid #e6e9ef;
    border-radius: 16px;
    background: #fff;
    padding: 28px;
    box-shadow: 0 18px 36px rgba(11, 34, 57, 0.05);
}

.community-panel-title {
    margin-bottom: 2px;
    font-size: 22px;
    color: #0b2239;
}

.community-panel-subtitle {
    color: #5f6c7b;
    margin-bottom: 0;
}

.community-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.community-panel-link {
    color: #062b5c;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.community-panel-link:hover {
    color: #0f4c81;
}

.community-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.community-search-input-wrap {
    flex: 1 1 320px;
}

.community-search-input {
    width: 100%;
    min-height: 52px;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    padding: 0 16px;
    color: #0b2239;
    background: #f9fbfd;
    box-shadow: inset 0 1px 2px rgba(11, 34, 57, 0.03);
}

.community-search-input:focus {
    outline: none;
    border-color: #062b5c;
    box-shadow: 0 0 0 3px rgba(6, 43, 92, 0.12);
    background: #fff;
}

.community-search-clear {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
}

.community-search-results {
    margin-top: 18px;
}

.community-search-result-row {
    gap: 16px;
}

.contributor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    margin-top: 20px;
}

.contributor-card {
    border: 1px solid #e6e9ef;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(244, 248, 252, 0.96), #ffffff 34%),
        #fff;
    min-height: 100%;
    padding: 24px 20px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contributor-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #062b5c 0%, #ffc940 100%);
}

.contributor-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 43, 92, 0.18);
    box-shadow: 0 20px 40px rgba(6, 43, 92, 0.1);
}

.contributor-card-top {
    display: block;
    padding-right: 52px;
}

.contributor-card-identity {
    min-width: 0;
    margin-top: 14px;
}

.contributor-rank {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #725200;
    background: #fff4cf;
    border-radius: 999px;
    padding: 4px 10px;
}

.contributor-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #062b5c;
    background: #e7eff8;
    flex-shrink: 0;
}

.contributor-avatar-img {
    object-fit: cover;
    background: #dbe5f1;
    border: 3px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 24px rgba(6, 43, 92, 0.12);
}

.contributor-avatar-lg {
    width: 88px;
    height: 88px;
    font-size: 28px;
}

.contributor-name {
    display: block;
    color: #0b2239;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contributor-name:hover {
    color: #062b5c;
}

.contributor-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #062b5c;
    background: #edf5ff;
}

.contributor-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contributor-meta-wide {
    margin-top: auto;
}

.contributor-meta span {
    font-size: 13px;
    color: #4f5d6b;
    background: #f4f7fb;
    border: 1px solid #edf2f7;
    border-radius: 999px;
    padding: 7px 12px;
    line-height: 1.2;
}

.community-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.community-list li {
    border-bottom: 1px solid #eef2f7;
    padding: 16px 0;
}

.community-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.community-list-item-title {
    color: #0b2239;
    font-weight: 600;
    text-decoration: none;
}

.community-list-item-title:hover {
    color: #062b5c;
}

.community-list-meta {
    font-size: 13px;
    color: #5f6c7b;
    margin-top: 4px;
}

.community-list-person {
    display: flex;
    align-items: center;
    gap: 14px;
}

.community-list-person > div {
    min-width: 0;
}

.community-list-person-compact {
    gap: 12px;
}

.community-list-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #fff;
    background: #dbe5f1;
    box-shadow: 0 8px 18px rgba(6, 43, 92, 0.12);
}

.community-list-score {
    color: #062b5c;
    white-space: nowrap;
}

/* Community hub refresh */
.community-hub-page {
    position: relative;
    max-width: 100%;
    overflow-x: hidden;
}

.community-hub-page .community-hero {
    position: relative;
    overflow: hidden;
    padding: 34px;
    margin: 36px 0 26px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 201, 64, 0.2), transparent 20%),
        radial-gradient(circle at 18% 120%, rgba(123, 161, 255, 0.2), transparent 26%),
        linear-gradient(135deg, #062b5c 0%, #305694 100%);
    box-shadow: 0 28px 56px rgba(6, 43, 92, 0.18);
}

.community-hub-page .community-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 48%),
        radial-gradient(circle at 20% 24%, rgba(255, 255, 255, 0.08), transparent 18%);
    pointer-events: none;
}

.community-hub-page .community-hero > * {
    position: relative;
    z-index: 1;
}

.community-hub-page .community-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.95fr);
    gap: 28px;
    align-items: end;
}

.community-hub-page .community-hero-copy {
    max-width: 40rem;
}

.community-hub-page .community-section-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #d9e8ff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.community-hub-page .community-hero h1 {
    margin: 1rem 0 0;
    color: #fff;
    font-size: clamp(2.6rem, 4.2vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    max-width: 8ch;
}

.community-hub-page .community-hero p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 34rem;
}

.community-hub-page .community-hero-actions {
    margin-top: 1.5rem;
}

.community-hub-page .community-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-height: 56px;
    padding: 0 1.4rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 35, 78, 0.78);
    box-shadow: 0 16px 30px rgba(6, 43, 92, 0.16);
}

.community-hub-page .community-stat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.95rem;
}

.community-hub-page .community-stat-card {
    height: auto;
    padding: 1rem 1.05rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.community-hub-page .community-stat-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.community-hub-page .community-stat-label {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.community-hub-page .community-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.community-hub-page .community-stat-value {
    margin-top: 0.6rem;
    color: #fff;
    font-size: 2rem;
}

.community-hub-page .community-stat-note {
    margin-top: 0.45rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

.community-hub-page .community-panel {
    border-radius: 26px;
    border-color: rgba(11, 34, 57, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
    box-shadow: 0 22px 42px rgba(11, 34, 57, 0.06);
}

.community-hub-page .community-panel + .community-panel {
    margin-top: 1.5rem;
}

.community-hub-page .community-panel-title {
    margin-top: 0.35rem;
    font-size: 1.9rem;
    line-height: 1.05;
}

.community-hub-page .community-panel-subtitle {
    color: #627086;
    font-size: 1rem;
    line-height: 1.55;
}

.community-hub-page .community-search-input-wrap {
    position: relative;
}

.community-hub-page .community-search-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #7b8ba3;
    font-size: 0.9rem;
    pointer-events: none;
}

.community-hub-page .community-search-input {
    min-height: 58px;
    border-radius: 18px;
    padding: 0 1rem 0 3rem;
    background: #f6f8fc;
}

.community-hub-page .community-search-submit,
.community-hub-page .community-search-clear {
    min-height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.community-hub-page .community-search-results {
    margin-top: 1.25rem;
}

.community-hub-page .community-search-result-row {
    align-items: center;
    gap: 1rem;
}

.community-hub-page .contributor-grid {
    gap: 20px;
}

.community-hub-page .contributor-card {
    border-radius: 24px;
    border-color: rgba(11, 34, 57, 0.08);
    box-shadow: 0 18px 34px rgba(11, 34, 57, 0.06);
}

.community-hub-page .contributor-card::before {
    height: 5px;
}

.community-hub-page .community-contributor-list {
    display: none;
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    gap: 0.85rem;
}

.community-hub-page .community-contributor-row {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(11, 34, 57, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    box-shadow: 0 14px 28px rgba(11, 34, 57, 0.05);
}

.community-hub-page .community-contributor-rank {
    align-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 32px;
    padding: 0 0.7rem;
    border-radius: 999px;
    background: #fff4cf;
    color: #725200;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.community-hub-page .community-contributor-avatar {
    width: 56px;
    height: 56px;
}

.community-hub-page .community-contributor-body {
    min-width: 0;
}

.community-hub-page .community-contributor-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.community-hub-page .community-contributor-name {
    color: #0b2239;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.community-hub-page .community-contributor-name:hover {
    color: #062b5c;
}

.community-hub-page .community-contributor-points {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #eef4ff;
    color: #17335c;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.community-hub-page .community-contributor-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.45rem;
    color: #35527f;
    font-size: 0.84rem;
    font-weight: 700;
}

.community-hub-page .community-contributor-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.65rem;
}

.community-hub-page .community-contributor-stats span {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.62rem;
    border-radius: 999px;
    background: #f4f7fb;
    color: #5f6c7b;
    border: 1px solid #edf2f7;
    font-size: 0.78rem;
    line-height: 1.2;
}

.community-hub-page .community-list li {
    padding: 18px 0;
}

.community-hub-page .community-list-avatar {
    box-shadow: 0 12px 24px rgba(6, 43, 92, 0.12);
}

.profile-header {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

.profile-heading {
    margin-bottom: 0;
    color: #0b2239;
}

.profile-subheading {
    margin-top: 4px;
    color: #d8e6f5;
}

.profile-actions {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-actions form {
    margin: 0;
}

.community-network-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.community-network-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid #d9e2ec;
    border-radius: 999px;
    background: #fff;
    color: #0b2239;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(11, 34, 57, 0.05);
}

.community-network-tab span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #edf5ff;
    color: #062b5c;
    font-size: 12px;
    font-weight: 700;
}

.community-network-tab.is-active {
    border-color: #062b5c;
    color: #fff;
    background: linear-gradient(135deg, #062b5c 0%, #0f4c81 100%);
}

.community-network-tab.is-active span {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.contribution-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.contribution-label {
    color: #0b2239;
    font-weight: 600;
    margin-bottom: 4px;
}

.contribution-note {
    color: #5f6c7b;
    font-size: 13px;
}

.contribution-points {
    font-size: 13px;
    font-weight: 700;
    color: #0f5132;
    background: #d1e7dd;
    border-radius: 999px;
    padding: 5px 10px;
    white-space: nowrap;
}

.contribution-time {
    font-size: 12px;
    color: #5f6c7b;
}

@media (max-width: 1199px) {
    .contributor-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contributor-name {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .contributor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .community-hero {
        padding: 34px 24px;
        margin-top: 24px;
    }

    .community-panel {
        padding: 22px;
    }

    .profile-actions {
        margin-left: 0;
        width: 100%;
    }

    .community-search-form {
        align-items: stretch;
    }

    .community-panel-header {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .contributor-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .community-panel {
        padding: 20px 18px;
    }

    .contributor-card {
        padding: 22px 18px 18px;
    }

    .contributor-card-top {
        padding-right: 0;
    }

    .contributor-rank {
        position: static;
        align-self: flex-start;
        margin-bottom: -2px;
    }

    .contributor-name {
        font-size: 16px;
    }

    .contribution-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .community-network-tab {
        width: 100%;
        justify-content: space-between;
    }

    .community-search-input-wrap,
    .community-search-clear,
    .community-search-form .btn {
        width: 100%;
    }

    .community-search-result-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 1199px) {
    .community-hub-page .community-hero-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.92fr);
    }
}

@media (max-width: 991px) {
    .community-hub-page .community-hero {
        padding: 28px 22px;
        border-radius: 28px;
        margin-top: 24px;
    }

    .community-hub-page .community-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .community-hub-page .community-hero h1 {
        max-width: none;
    }

    .community-hub-page .community-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .community-hub-page .community-panel {
        padding: 22px;
        border-radius: 24px;
    }
}

@media (max-width: 575px) {
    .community-hub-page .community-hero {
        padding: 24px 18px 18px;
        border-radius: 24px;
    }

    .community-hub-page .community-section-kicker {
        font-size: 0.7rem;
    }

    .community-hub-page .community-hero h1 {
        font-size: 2.6rem;
    }

    .community-hub-page .community-hero p {
        font-size: 0.98rem;
    }

    .community-hub-page .community-hero-cta {
        width: 100%;
    }

    .community-hub-page .community-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .community-hub-page .community-stat-card {
        padding: 0.85rem 0.8rem;
        border-radius: 18px;
    }

    .community-hub-page .community-stat-card-top {
        display: block;
    }

    .community-hub-page .community-stat-icon,
    .community-hub-page .community-stat-note {
        display: none;
    }

    .community-hub-page .community-stat-label {
        font-size: 0.66rem;
        line-height: 1.3;
    }

    .community-hub-page .community-stat-value {
        margin-top: 0.35rem;
        font-size: 1.55rem;
    }

    .community-hub-page .community-panel {
        padding: 20px 18px;
        border-radius: 22px;
    }

    .community-hub-page .community-panel-title {
        font-size: 1.75rem;
    }

    .community-hub-page .community-panel-subtitle {
        font-size: 0.97rem;
    }

    .community-hub-page .community-search-result-row .btn {
        width: 100%;
    }

    .community-hub-page .contributor-card {
        border-radius: 22px;
    }
}

@media (max-width: 767px) {
    .community-hub-page .contributor-grid {
        display: none;
    }

    .community-hub-page .community-contributor-list {
        display: grid;
    }
}

/* Public profile refresh */
.community-profile-page {
    position: relative;
    --profile-hero-gutter: 48px;
}

.profile-social-hero {
    margin: 0 0 24px;
}

.profile-social-cover {
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 46px 0 36px;
    border-radius: 0;
    background: #082b5d;
    box-shadow: none;
    color: #fff;
}

.profile-social-cover-media,
.profile-social-cover-media picture,
.profile-social-cover-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.profile-social-cover-media {
    z-index: 0;
}

.profile-social-cover-media img {
    display: block;
    object-fit: cover;
}

.profile-social-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 19, 41, 0.08) 0%, rgba(8, 43, 93, 0.42) 40%, rgba(8, 43, 93, 0.74) 100%),
        linear-gradient(90deg, rgba(8, 43, 93, 0.72) 0%, rgba(8, 43, 93, 0.42) 36%, rgba(8, 43, 93, 0.14) 72%),
        radial-gradient(circle at top right, rgba(255, 201, 64, 0.22), transparent 28%);
    pointer-events: none;
    z-index: 1;
}

.profile-social-cover-content {
    position: relative;
    z-index: 2;
    width: min(1320px, calc(100vw - var(--profile-hero-gutter)));
    margin-inline: auto;
    min-width: 0;
}

.profile-social-cover-top {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.profile-social-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.profile-social-chip.muted {
    background: rgba(255, 201, 64, 0.18);
    color: #ffe794;
}

.profile-social-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: start;
}

.profile-social-avatar {
    width: 112px;
    height: 112px;
    border: 4px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(6, 43, 92, 0.24);
}

.profile-social-identity {
    min-width: 0;
}

.profile-social-kicker {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-social-name {
    margin: 0.35rem 0 0;
    color: #fff;
    font-size: 2.35rem;
    line-height: 1;
    font-weight: 800;
}

.profile-social-handle-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.8rem;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 500;
}

.profile-social-handle {
    color: #ffe794;
    font-weight: 700;
}

.profile-social-separator {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
}

.profile-social-bio {
    max-width: 58ch;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.65;
}

.profile-social-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.profile-social-meta-pills-mobile {
    display: none;
}

.profile-social-meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.52rem 0.82rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
}

.profile-social-meta-link {
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.profile-social-meta-link:hover,
.profile-social-meta-link:focus-visible {
    transform: translateY(-1px);
    color: inherit;
    text-decoration: none;
}

.community-profile-page .profile-social-actions {
    margin-left: 0;
    justify-content: flex-end;
}

.profile-social-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.profile-highlight-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.profile-highlight-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffe794;
    font-size: 1rem;
}

.profile-highlight-body {
    min-width: 0;
}

.profile-highlight-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-highlight-value {
    margin-top: 0.25rem;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
}

.profile-highlight-copy {
    margin: 0.32rem 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.92rem;
    line-height: 1.5;
}

.profile-highlight-progress {
    height: 9px;
    margin-top: 0.9rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.18);
}

.profile-highlight-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #8bb1ff 0%, #c8ecff 100%);
}

.profile-social-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.profile-social-stat-card {
    padding: 1.15rem 1.2rem;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(6, 43, 92, 0.06);
    box-shadow: 0 16px 34px rgba(11, 34, 57, 0.05);
}

.profile-social-stat-label {
    display: block;
    color: #6f7e93;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-social-stat-value {
    display: block;
    margin-top: 0.55rem;
    color: #0b2239;
    font-size: 1.9rem;
    line-height: 1;
    font-weight: 800;
}

.profile-surface {
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #ffffff 46%);
    border-color: rgba(6, 43, 92, 0.07);
    box-shadow: 0 20px 40px rgba(11, 34, 57, 0.06);
}

.profile-follow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(10px);
    font-weight: 700;
}

.profile-follow-btn:hover,
.profile-follow-btn:focus-visible {
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.34);
}

.profile-follow-btn.is-ready .fas {
    color: #ffe794;
}

.profile-follow-btn.is-following {
    background: rgba(255, 255, 255, 0.12);
}

.profile-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.profile-feed-stack {
    display: grid;
    gap: 1rem;
}

.profile-feed-item {
    padding: 1.1rem 1.15rem;
    border-radius: 22px;
    background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
    border: 1px solid rgba(6, 43, 92, 0.08);
}

.profile-feed-item-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.95rem;
    align-items: start;
}

.profile-feed-item-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: #edf4ff;
    color: #214c92;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.profile-feed-item-kicker {
    color: #7a89a2;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-feed-item-title {
    margin: 0.3rem 0 0;
    color: #0b2239;
    font-size: 1.05rem;
    font-weight: 700;
}

.profile-feed-item-time {
    margin-top: 0.3rem;
    color: #7a89a2;
    font-size: 0.84rem;
}

.profile-feed-item-points {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 0.48rem 0.7rem;
    border-radius: 999px;
    background: #e4f7ea;
    color: #0f775d;
    font-size: 0.86rem;
    font-weight: 800;
    white-space: nowrap;
}

.profile-feed-item-note {
    margin: 0.95rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(6, 43, 92, 0.08);
    color: #526179;
    line-height: 1.55;
}

.profile-listing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.profile-listing-card {
    overflow: hidden;
    padding: 1.1rem 1.15rem;
    border-radius: 22px;
    background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
    border: 1px solid rgba(6, 43, 92, 0.08);
}

.profile-listing-card-media {
    display: block;
    position: relative;
    min-height: 184px;
    margin: -1.1rem -1.15rem 1rem;
    border-radius: 22px 22px 18px 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #d8e4f7 0%, #f2f6fd 100%);
}

.profile-listing-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 184px;
    object-fit: cover;
}

.profile-listing-card-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, rgba(11, 34, 57, 0) 0%, rgba(11, 34, 57, 0.56) 100%);
    pointer-events: none;
}

.profile-listing-card-media-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.25rem;
    padding: 1rem;
    background:
        linear-gradient(180deg, rgba(11, 34, 57, 0.04) 0%, rgba(11, 34, 57, 0.58) 100%),
        linear-gradient(135deg, #a7c2ef 0%, #eff5ff 100%);
    color: #fff;
}

.profile-listing-card-media-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.profile-listing-card-media-fallback strong {
    font-size: 1.08rem;
    line-height: 1.2;
}

.profile-listing-card-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.profile-listing-card-kicker {
    color: #7a89a2;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-listing-card-title {
    display: inline-block;
    margin-top: 0.35rem;
    color: #0b2239;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.profile-listing-card-title:hover {
    color: #062b5c;
}

.profile-listing-card-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.profile-listing-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.68rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.profile-listing-chip.is-verified {
    background: #e4f7ea;
    color: #0f775d;
}

.profile-listing-chip.is-support {
    background: #fff5df;
    color: #9a6500;
}

.profile-listing-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-top: 0.95rem;
    color: #6f7e93;
    font-size: 0.88rem;
}

.profile-listing-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.profile-listing-card-stats span {
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    background: #f4f7fb;
    color: #4f5d6b;
    font-size: 0.82rem;
    font-weight: 600;
}

.profile-story-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.profile-story-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #eef2f7;
}

.profile-story-list li:last-child {
    border-bottom: 0;
}

.profile-story-list span {
    color: #6f7e93;
}

.profile-story-list strong {
    color: #0b2239;
    text-align: right;
}

.profile-story-actions {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.profile-panel-title-compact {
    font-size: 1.2rem;
    margin-bottom: 0;
}

@media (max-width: 1199px) {
    .community-profile-page {
        --profile-hero-gutter: 40px;
    }

    .profile-social-cover {
        padding-top: 152px;
    }

    .profile-social-header {
        grid-template-columns: auto 1fr;
    }

    .community-profile-page .profile-social-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .profile-social-highlight-grid,
    .profile-social-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .community-profile-page {
        --profile-hero-gutter: 40px;
    }

    .profile-social-hero {
        margin-bottom: 20px;
    }

    .profile-social-cover {
        padding: 148px 0 28px;
        border-radius: 0;
    }

    .profile-social-header {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .profile-social-avatar {
        width: 92px;
        height: 92px;
    }

    .profile-social-name {
        font-size: 2rem;
    }

    .profile-social-bio {
        max-width: none;
        font-size: 0.96rem;
    }

    .community-profile-page .profile-social-actions {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .profile-social-highlight-grid,
    .profile-social-stat-grid,
    .profile-listing-grid {
        grid-template-columns: 1fr;
    }

    .profile-feed-item-top {
        grid-template-columns: auto 1fr;
    }

    .profile-feed-item-points {
        grid-column: 2;
        justify-self: start;
        margin-top: 0.6rem;
    }

    .profile-listing-card-media,
    .profile-listing-card-media img {
        min-height: 196px;
    }
}

@media (max-width: 575px) {
    .community-profile-page {
        --profile-hero-gutter: 32px;
    }

    .profile-social-cover {
        padding: 136px 0 18px;
        border-radius: 0;
    }

    .profile-social-name {
        font-size: 1.72rem;
        line-height: 1.08;
    }

    .profile-social-bio {
        font-size: 0.92rem;
    }

    .community-profile-page .profile-social-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .community-profile-page .profile-social-actions .btn,
    .community-profile-page .profile-social-actions form,
    .community-profile-page .profile-social-actions form .btn {
        width: 100%;
    }

    .profile-social-stat-card,
    .profile-feed-item,
    .profile-listing-card {
        padding: 1rem;
        border-radius: 20px;
    }

    .profile-feed-item-top {
        grid-template-columns: 1fr;
    }

    .profile-feed-item-points {
        grid-column: auto;
    }

    .profile-listing-card-top {
        flex-direction: column;
    }

    .profile-listing-card-badges {
        justify-content: flex-start;
    }

    .profile-listing-card-media {
        min-height: 168px;
        margin: -1rem -1rem 0.9rem;
        border-radius: 20px 20px 16px 16px;
    }

    .profile-listing-card-media img {
        min-height: 168px;
    }
}

@media (max-width: 767px) {
    .community-profile-page .profile-listings-panel.profile-surface.community-panel {
        width: 100vw;
        max-width: 100vw;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding: 14px 0 18px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .community-profile-page .profile-listings-panel .profile-section-head {
        padding: 0 16px 12px;
    }

    .community-profile-page .profile-listing-grid {
        gap: 0;
    }

    .community-profile-page .profile-listing-card {
        overflow: visible;
        padding: 14px 0 18px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
        background: transparent;
    }

    .community-profile-page .profile-listing-card-media {
        width: 100vw;
        max-width: 100vw;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        border-radius: 0;
    }

    .community-profile-page .profile-listing-card-top,
    .community-profile-page .profile-listing-card-meta,
    .community-profile-page .profile-listing-card-stats {
        padding-right: 16px;
        padding-left: 16px;
    }

    .profile-social-hero {
        margin: 0 0 18px;
    }

    .profile-social-cover {
        padding: 8.5rem 0 1.25rem;
        border: 0;
        border-radius: 0 !important;
        box-shadow: none;
        color: #fff;
    }

    .profile-social-cover::before {
        background:
            linear-gradient(180deg, rgba(3, 19, 41, 0.05) 0%, rgba(8, 43, 93, 0.36) 32%, rgba(8, 43, 93, 0.66) 72%, rgba(8, 43, 93, 0.82) 100%),
            linear-gradient(90deg, rgba(8, 43, 93, 0.74) 0%, rgba(8, 43, 93, 0.38) 42%, rgba(8, 43, 93, 0.12) 74%),
            radial-gradient(circle at 80% 18%, rgba(255, 201, 64, 0.2), transparent 22%);
        inset: 0;
        height: auto;
        border-radius: 0;
    }

    .profile-social-cover::after {
        content: none;
    }

    .profile-social-cover-content {
        width: min(100%, calc(100vw - var(--profile-hero-gutter)));
    }

    .profile-social-cover-top {
        position: static;
        margin-bottom: 0.95rem;
    }

    .profile-social-header {
        padding: 0;
        gap: 0.95rem;
        align-items: start;
    }

    .profile-social-chip {
        background: rgba(255, 255, 255, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.16);
        color: #fff;
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 22px rgba(6, 43, 92, 0.12);
    }

    .profile-social-chip.muted {
        background: rgba(255, 201, 64, 0.22);
        color: #fff1b4;
    }

    .profile-social-avatar {
        width: 86px;
        height: 86px;
        margin-top: 0;
        border-width: 4px;
        box-shadow: 0 18px 36px rgba(6, 43, 92, 0.2);
    }

    .profile-social-kicker {
        color: rgba(255, 255, 255, 0.78);
    }

    .profile-social-name {
        color: #fff;
        font-size: 1.88rem;
        line-height: 1.02;
        letter-spacing: -0.03em;
    }

    .profile-social-handle-row {
        color: rgba(255, 255, 255, 0.86);
        margin-top: 0.7rem;
        gap: 0.5rem;
    }

    .profile-social-handle {
        color: #ffe794;
    }

    .profile-social-separator {
        background: rgba(255, 255, 255, 0.42);
    }

    .profile-social-bio {
        color: rgba(255, 255, 255, 0.92);
        margin-top: 0.9rem;
        font-size: 0.92rem;
        line-height: 1.58;
    }

    .profile-social-meta-pills {
        gap: 0.55rem;
        margin-top: 1rem;
    }

    .profile-social-meta-pills-mobile {
        display: none;
    }

    .profile-social-meta-pills-desktop {
        display: flex;
        flex-wrap: wrap;
        gap: 0.55rem;
    }

    .profile-social-identity {
        margin-top: 0.15rem;
    }

    .profile-social-kicker {
        margin-left: 0;
        line-height: 1.15;
        margin-top: 0.15rem;
    }

    .profile-social-meta-pills-desktop .profile-social-meta-pill {
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: none;
    }

    .community-profile-page .profile-social-actions .btn-light {
        background: linear-gradient(135deg, #082b5d 0%, #1f4fa5 100%);
        border-color: transparent;
        color: #fff;
        box-shadow: 0 12px 24px rgba(8, 43, 93, 0.16);
    }

    .community-profile-page .profile-social-actions .btn-outline-light {
        background: rgba(247, 249, 253, 0.96);
        border-color: #dbe5f3;
        color: #17335c;
        box-shadow: 0 10px 20px rgba(11, 34, 57, 0.05);
    }

    .community-profile-page .profile-social-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.7rem;
        margin-top: 1.1rem;
    }

    .community-profile-page .profile-social-actions > *:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .community-profile-page .profile-social-actions > :only-child {
        grid-column: 1 / -1;
    }

    .community-profile-page .profile-social-actions .btn,
    .community-profile-page .profile-social-actions form,
    .community-profile-page .profile-social-actions form .btn {
        width: 100%;
        min-height: 48px;
        border-radius: 18px;
        font-weight: 700;
    }

    .community-profile-page .profile-social-actions form {
        display: flex;
    }

    .community-profile-page .profile-social-actions .btn,
    .community-profile-page .profile-social-actions form .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1;
    }

    .profile-social-highlight-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        margin-top: 1.15rem;
        padding-top: 1rem;
    }

    .profile-highlight-card {
        gap: 0.8rem;
    }

    .profile-highlight-label {
        color: rgba(255, 255, 255, 0.72);
    }

    .profile-highlight-value {
        color: #fff;
        font-size: 1.2rem;
    }

    .profile-highlight-copy {
        color: rgba(255, 255, 255, 0.84);
        font-size: 0.9rem;
    }

    .profile-highlight-progress {
        background: rgba(255, 255, 255, 0.18);
    }

    .profile-social-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
        margin-top: 1.15rem;
    }

    .profile-social-stat-card {
        padding: 1rem;
        border-radius: 20px;
        box-shadow: 0 16px 28px rgba(11, 34, 57, 0.05);
    }

.profile-social-stat-value {
    font-size: 1.7rem;
}
}

/* Community home page refresh */
.community-hub-page .community-home-shell {
    --community-surface: #ffffff;
    --community-surface-alt: #f7faff;
    --community-border: rgba(11, 34, 57, 0.08);
    --community-text: #0b2239;
    --community-muted: #627086;
    --community-accent: #062b5c;
    --community-accent-soft: #edf4ff;
    display: grid;
    gap: 18px;
    margin: 30px 0 0;
}

.community-hub-page .community-home-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    border-radius: 24px;
    border: 1px solid var(--community-border);
    background:
        radial-gradient(circle at top right, rgba(255, 201, 64, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.98) 100%);
    box-shadow: 0 18px 34px rgba(11, 34, 57, 0.05);
}

.community-hub-page .community-home-heading {
    max-width: 42rem;
}

.community-hub-page .community-home-heading h1 {
    margin: 0.6rem 0 0;
    color: var(--community-text);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.community-hub-page .community-home-heading p {
    max-width: 42rem;
    margin: 0.75rem 0 0;
    color: var(--community-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.community-hub-page .community-section-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.7rem;
    border-radius: 999px;
    background: var(--community-accent-soft);
    color: #17335c;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.community-hub-page .community-home-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.community-hub-page .community-home-primary,
.community-hub-page .community-home-secondary {
    min-height: 44px;
    padding: 0 1rem;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 700;
}

.community-hub-page .community-home-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8e2f0;
    background: #fff;
    color: var(--community-accent);
    text-decoration: none;
}

.community-hub-page .community-home-secondary:hover {
    color: var(--community-accent);
    background: #f6f9ff;
    text-decoration: none;
}

.community-hub-page .community-home-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.community-hub-page .community-home-stat {
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid var(--community-border);
    background: var(--community-surface);
    box-shadow: 0 14px 28px rgba(11, 34, 57, 0.04);
}

.community-hub-page .community-home-stat-label {
    color: #6a7890;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.community-hub-page .community-home-stat-value {
    margin-top: 0.55rem;
    color: var(--community-text);
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 800;
}

.community-hub-page .community-home-stat-note {
    margin-top: 0.5rem;
    color: var(--community-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.community-hub-page .community-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.92fr);
    gap: 18px;
    align-items: start;
}

.community-hub-page .community-home-main,
.community-hub-page .community-home-sidebar {
    display: grid;
    gap: 18px;
}

.community-hub-page .community-home-shell .community-panel {
    padding: 22px;
    border-radius: 24px;
    border-color: var(--community-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 251, 255, 0.98) 100%);
    box-shadow: 0 18px 34px rgba(11, 34, 57, 0.05);
}

.community-hub-page .community-home-shell .community-panel-header {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.community-hub-page .community-home-shell .community-panel-title {
    margin: 0.35rem 0 0;
    color: var(--community-text);
    font-size: 1.2rem;
    line-height: 1.2;
}

.community-hub-page .community-home-shell .community-panel-subtitle {
    color: var(--community-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.community-hub-page .community-home-shell .community-panel-subtitle code {
    color: #d63384;
    background: #fff2f8;
    border-radius: 8px;
    padding: 0.12rem 0.4rem;
}

.community-hub-page .community-home-shell .community-list-item-title {
    color: var(--community-text);
    font-size: 0.98rem;
    font-weight: 700;
}

.community-hub-page .community-home-shell .community-list-meta {
    color: var(--community-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.community-hub-page .community-home-shell .community-list-avatar {
    box-shadow: 0 10px 20px rgba(6, 43, 92, 0.1);
}

.community-hub-page .community-home-shell .contributor-meta {
    gap: 0.45rem;
}

.community-hub-page .community-home-shell .contributor-meta span {
    padding: 0.32rem 0.58rem;
    border-radius: 999px;
    font-size: 0.76rem;
    line-height: 1.2;
}

.community-hub-page .community-composer-form {
    gap: 10px;
    align-items: center;
}

.community-hub-page .community-composer-form .community-search-input-wrap {
    position: relative;
    flex: 1 1 300px;
}

.community-hub-page .community-search-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7b8ba3;
    font-size: 0.86rem;
}

.community-hub-page .community-search-input {
    min-height: 48px;
    border-radius: 14px;
    padding: 0 14px 0 2.75rem;
    background: #f6f8fc;
    font-size: 0.95rem;
}

.community-hub-page .community-search-submit,
.community-hub-page .community-search-clear {
    min-height: 48px;
    border-radius: 14px;
    padding: 0 1rem;
    font-weight: 700;
}

.community-hub-page .community-discovery-list,
.community-hub-page .community-sidebar-list,
.community-hub-page .community-leaderboard-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.community-hub-page .community-discovery-list {
    display: grid;
    gap: 12px;
}

.community-hub-page .community-discovery-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--community-border);
    background: var(--community-surface);
}

.community-hub-page .community-discovery-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.community-hub-page .community-discovery-body {
    min-width: 0;
}

.community-hub-page .community-discovery-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.community-hub-page .community-discovery-badge,
.community-hub-page .community-feed-badge,
.community-hub-page .community-feed-chip,
.community-hub-page .community-sidebar-points,
.community-hub-page .community-leaderboard-points {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.36rem 0.65rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.community-hub-page .community-discovery-badge,
.community-hub-page .community-feed-badge {
    background: var(--community-accent-soft);
    color: #17335c;
}

.community-hub-page .community-discovery-action,
.community-hub-page .community-leaderboard-action {
    min-height: 40px;
    border-radius: 12px;
    white-space: nowrap;
}

.community-hub-page .community-feed-stack {
    display: grid;
    gap: 12px;
}

.community-hub-page .community-feed-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid var(--community-border);
    background: var(--community-surface);
}

.community-hub-page .community-feed-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.community-hub-page .community-feed-author-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.community-hub-page .community-feed-author-handle,
.community-hub-page .community-sidebar-meta {
    color: #73829a;
    font-size: 0.8rem;
}

.community-hub-page .community-feed-chip {
    background: #fff4cf;
    color: #725200;
}

.community-hub-page .community-feed-card-body {
    display: grid;
    gap: 10px;
}

.community-hub-page .community-feed-listing-title {
    color: var(--community-text);
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}

.community-hub-page .community-feed-listing-title:hover {
    color: var(--community-accent);
    text-decoration: none;
}

.community-hub-page .community-feed-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.community-hub-page .community-feed-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.38rem 0.66rem;
    border-radius: 999px;
    background: #f4f7fb;
    color: #526179;
    font-size: 0.8rem;
}

.community-hub-page .community-feed-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 10px;
    border-top: 1px solid #eef2f7;
}

.community-hub-page .community-feed-link {
    color: var(--community-accent);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.community-hub-page .community-feed-link:hover {
    color: #0f4c81;
}

.community-hub-page .community-sidebar-list {
    display: grid;
    gap: 10px;
}

.community-hub-page .community-sidebar-row {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--community-border);
    background: var(--community-surface);
}

.community-hub-page .community-sidebar-rank,
.community-hub-page .community-leaderboard-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 28px;
    padding: 0 0.55rem;
    border-radius: 999px;
    background: #fff4cf;
    color: #725200;
    font-size: 0.75rem;
    font-weight: 800;
}

.community-hub-page .community-sidebar-body,
.community-hub-page .community-leaderboard-body {
    min-width: 0;
}

.community-hub-page .community-sidebar-name {
    display: block;
    color: var(--community-text);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.community-hub-page .community-sidebar-name:hover {
    color: var(--community-accent);
}

.community-hub-page .community-sidebar-callout {
    background:
        radial-gradient(circle at top right, rgba(255, 201, 64, 0.18), transparent 26%),
        linear-gradient(135deg, #062b5c 0%, #244d8b 100%);
}

.community-hub-page .community-sidebar-callout .community-section-kicker {
    background: rgba(255, 255, 255, 0.14);
    color: #dbe8ff;
}

.community-hub-page .community-sidebar-callout .community-panel-title {
    color: #fff;
}

.community-hub-page .community-sidebar-callout .community-panel-subtitle {
    color: rgba(255, 255, 255, 0.82);
}

.community-hub-page .community-sidebar-cta {
    min-height: 44px;
    margin-top: 12px;
    border-radius: 14px;
    background: #fff;
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--community-accent);
}

.community-hub-page .community-sidebar-cta:hover {
    background: #f5f8ff;
    color: var(--community-accent);
}

.community-hub-page .community-leaderboard-list {
    display: grid;
    gap: 12px;
}

.community-hub-page .community-leaderboard-row {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid var(--community-border);
    background: var(--community-surface);
}

.community-hub-page .community-leaderboard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

@media (max-width: 1199px) {
    .community-hub-page .community-home-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.92fr);
    }
}

@media (max-width: 991px) {
    .community-hub-page .community-home-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .community-hub-page .community-home-actions {
        justify-content: flex-start;
    }

    .community-hub-page .community-home-grid {
        grid-template-columns: 1fr;
    }

    .community-hub-page .community-home-shell .community-panel {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .community-hub-page .community-home-shell {
        gap: 14px;
        margin-top: 20px;
    }

    .community-hub-page .community-home-header,
    .community-hub-page .community-home-shell .community-panel {
        padding: 18px;
        border-radius: 22px;
    }

    .community-hub-page .community-home-stat {
        padding: 14px;
    }

    .community-hub-page .community-discovery-card,
    .community-hub-page .community-feed-card-top,
    .community-hub-page .community-sidebar-row,
    .community-hub-page .community-leaderboard-row {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .community-hub-page .community-discovery-action,
    .community-hub-page .community-leaderboard-action {
        width: 100%;
    }

    .community-hub-page .community-sidebar-points {
        justify-self: start;
    }
}

@media (max-width: 575px) {
    .community-hub-page .community-home-heading h1 {
        font-size: 1.75rem;
    }

    .community-hub-page .community-home-heading p,
    .community-hub-page .community-home-shell .community-panel-subtitle {
        font-size: 0.88rem;
    }

    .community-hub-page .community-home-actions,
    .community-hub-page .community-composer-form,
    .community-hub-page .community-feed-card-footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    .community-hub-page .community-home-primary,
    .community-hub-page .community-home-secondary,
    .community-hub-page .community-search-input-wrap,
    .community-hub-page .community-search-submit,
    .community-hub-page .community-search-clear {
        width: 100%;
    }

    .community-hub-page .community-home-stats {
        gap: 8px;
    }

    .community-hub-page .community-home-stat {
        padding: 12px 10px;
        border-radius: 18px;
    }

    .community-hub-page .community-home-stat-label {
        font-size: 0.6rem;
    }

    .community-hub-page .community-home-stat-value {
        font-size: 1.28rem;
    }

    .community-hub-page .community-home-stat-note {
        display: none;
    }

    .community-hub-page .community-home-shell .community-panel-title {
        font-size: 1.08rem;
    }

    .community-hub-page .community-feed-listing-title {
        font-size: 0.98rem;
    }

    .community-hub-page .community-leaderboard-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Guest community social landing */
.community-hub-page .community-public-shell {
    --community-public-surface: #f7fbff;
    --community-public-surface-alt: #eef4fb;
    --community-public-border: rgba(41, 72, 113, 0.12);
    --community-public-text: #0b2239;
    --community-public-muted: #617289;
    --community-public-accent: #1c4fa3;
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    min-width: 0;
    max-width: 100%;
    background:
        radial-gradient(circle at 12% 14%, rgba(255, 213, 90, 0.12), transparent 24%),
        radial-gradient(circle at 88% 24%, rgba(132, 171, 228, 0.14), transparent 28%);
}

.community-hub-page .community-public-header {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    min-height: 328px;
    padding: 26px 24px;
    border-radius: 26px;
    border: 1px solid var(--community-public-border);
    background: #082b5d;
    box-shadow: 0 22px 40px rgba(11, 34, 57, 0.12);
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.community-hub-page .community-public-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 19, 41, 0.14) 0%, rgba(8, 43, 93, 0.68) 42%, rgba(8, 43, 93, 0.9) 100%),
        radial-gradient(circle at top right, rgba(255, 201, 64, 0.26), transparent 30%);
    z-index: 1;
}

.community-hub-page .community-public-header-media,
.community-hub-page .community-public-header-media picture,
.community-hub-page .community-public-header-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.community-hub-page .community-public-header-media img {
    object-fit: cover;
    display: block;
}

.community-hub-page .community-public-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    min-height: 100%;
    width: 100%;
    min-width: 0;
}

.community-hub-page .community-public-heading {
    max-width: 34rem;
    min-width: 0;
}

.community-hub-page .community-public-heading h1 {
    margin: 0.45rem 0 0;
    color: #ffffff;
    font-size: clamp(1.65rem, 2.7vw, 2.2rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.community-hub-page .community-public-heading p {
    margin: 0.65rem 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.92rem;
    line-height: 1.5;
}

.community-hub-page .community-public-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
}

.community-hub-page .community-public-primary,
.community-hub-page .community-public-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 0.95rem;
    border-radius: 14px;
    font-size: 0.82rem;
    font-weight: 700;
    box-sizing: border-box;
    max-width: 100%;
}

.community-hub-page .community-public-header .community-section-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.community-hub-page .community-public-actions > * {
    min-width: 0;
}

.community-hub-page .community-public-header .community-public-primary {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
    color: #17335c;
}

.community-hub-page .community-public-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.community-hub-page .community-public-secondary:hover {
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.18);
}

.community-hub-page .community-public-rail {
    position: relative;
    z-index: 2;
    margin-top: -28px;
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid var(--community-public-border);
    background:
        linear-gradient(180deg, rgba(253, 254, 255, 0.98) 0%, rgba(241, 246, 252, 0.98) 100%),
        radial-gradient(circle at top right, rgba(255, 213, 90, 0.08), transparent 28%);
    box-shadow:
        0 18px 34px rgba(11, 34, 57, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    max-width: 100%;
    overflow: hidden;
}

.community-hub-page .community-public-rail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.community-hub-page .community-public-rail-title {
    margin: 0.3rem 0 0;
    color: var(--community-public-text);
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.community-hub-page .community-public-inline-link {
    color: var(--community-public-accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.community-hub-page .community-public-inline-link:hover {
    color: #0f4c81;
}

.community-hub-page .community-public-rail-wrap {
    position: relative;
    min-width: 0;
    padding-right: 52px;
    overflow: hidden;
}

.community-hub-page .community-public-rail-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 112px;
    gap: 12px;
    overflow-x: auto;
    padding: 0 0 4px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
}

.community-hub-page .community-public-rail-track::-webkit-scrollbar {
    display: none;
}

.community-hub-page .community-public-rail-arrow {
    position: absolute;
    top: 44px;
    right: 6px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #fefefe 0%, #edf3fb 100%);
    color: #082b5d;
    box-shadow: 0 12px 24px rgba(10, 37, 77, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    appearance: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.community-hub-page .community-public-rail-arrow[hidden] {
    display: none !important;
}

.community-hub-page .community-public-rail-arrow .iconify {
    font-size: 1.3rem;
}

.community-hub-page .community-public-person {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-width: 0;
    color: inherit;
    text-align: center;
    text-decoration: none;
}

.community-hub-page .community-public-person-thumb {
    position: relative;
    width: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-hub-page .community-public-person-avatar {
    --community-public-hexagon: polygon(24% 14%, 76% 14%, 98% 50%, 76% 86%, 24% 86%, 2% 50%);
    position: relative;
    width: 92px;
    height: 98px;
    padding: 3px;
    background:
        radial-gradient(circle at top left, rgba(255, 201, 64, 0.16), transparent 28%),
        linear-gradient(160deg, #f3f7ff 0%, #e6eefc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    clip-path: var(--community-public-hexagon);
    filter: drop-shadow(0 10px 20px rgba(6, 43, 92, 0.14));
}

.community-hub-page .community-public-person-avatar .community-list-avatar {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: none;
    clip-path: var(--community-public-hexagon);
    box-shadow: none;
}

.community-hub-page .community-public-person-rank {
    position: absolute;
    top: -4px;
    right: -4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 24px;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #725200;
    font-size: 0.68rem;
    font-weight: 800;
}

.community-hub-page .community-public-person-name {
    color: var(--community-public-text);
    font-size: 0.8rem;
    line-height: 1.2;
    font-weight: 600;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-hub-page .community-public-person-meta {
    color: #74839a;
    font-size: 0.72rem;
    line-height: 1.2;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-hub-page .community-public-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.95fr);
    gap: 16px;
    align-items: start;
    min-width: 0;
}

.community-hub-page .community-public-main,
.community-hub-page .community-public-side {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.community-hub-page .community-public-shell .community-panel {
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid var(--community-public-border);
    background:
        linear-gradient(180deg, rgba(253, 254, 255, 0.98) 0%, rgba(241, 246, 252, 0.98) 100%),
        radial-gradient(circle at top left, rgba(255, 213, 90, 0.06), transparent 24%);
    box-shadow:
        0 18px 34px rgba(11, 34, 57, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.68);
    max-width: 100%;
    overflow: hidden;
}

.community-hub-page .community-public-shell .community-panel-header {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.community-hub-page .community-public-shell .community-section-kicker {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.community-hub-page .community-public-shell .community-panel-title {
    margin: 0.25rem 0 0;
    color: var(--community-public-text);
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.community-hub-page .community-public-shell .community-panel-subtitle {
    color: var(--community-public-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.community-hub-page .community-public-shell .community-list-item-title {
    color: var(--community-public-text);
    font-size: 0.92rem;
    font-weight: 600;
}

.community-hub-page .community-public-shell .community-list-meta,
.community-hub-page .community-public-shell .community-social-post-caption {
    color: var(--community-public-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.community-hub-page .community-public-shell .contributor-meta {
    gap: 0.45rem;
}

.community-hub-page .community-public-shell .contributor-meta span {
    padding: 0.32rem 0.58rem;
    border-radius: 999px;
    font-size: 0.74rem;
    line-height: 1.2;
}

.community-hub-page .community-public-search-panel .community-search-input {
    min-height: 44px;
    font-size: 0.88rem;
}

.community-hub-page .community-public-search-panel .community-search-submit,
.community-hub-page .community-public-search-panel .community-search-clear {
    min-height: 44px;
    font-size: 0.82rem;
    font-weight: 600;
}

.community-hub-page .community-public-feed-stack {
    display: grid;
    gap: 14px;
}

.community-hub-page .community-public-business-card {
    display: none;
}

.community-hub-page .community-public-post {
    padding: 14px;
    border-radius: 22px;
}

.community-hub-page .community-public-post .community-social-post-media {
    margin-top: 12px;
    border-radius: 22px;
}

.community-hub-page .community-public-post .community-social-post-footer {
    margin-top: 12px;
}

.community-hub-page .community-public-cta {
    background:
        radial-gradient(circle at top right, rgba(255, 201, 64, 0.18), transparent 26%),
        linear-gradient(135deg, #062b5c 0%, #244d8b 100%);
}

.community-hub-page .community-public-cta .community-section-kicker {
    background: rgba(255, 255, 255, 0.14);
    color: #dbe8ff;
}

.community-hub-page .community-public-cta .community-panel-title {
    color: #fff;
}

.community-hub-page .community-public-cta .community-panel-subtitle {
    color: rgba(255, 255, 255, 0.84);
}

.community-hub-page .community-public-cta-actions {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.community-hub-page .community-public-cta .community-public-primary {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.1);
    color: #17335c;
}

.community-hub-page .community-public-cta .community-public-secondary {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.community-hub-page .community-public-cta .community-public-secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

@media (min-width: 1200px) {
    .community-hub-page .community-public-shell {
        gap: 18px;
        max-width: 1180px;
        margin-inline: auto;
    }

    .community-hub-page .community-public-header {
        width: 100vw;
        max-width: 100vw;
        min-height: 440px;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding: 176px 48px 96px;
        border-width: 0;
        border-radius: 0;
    }

    .community-hub-page .community-public-header-content {
        width: min(1180px, calc(100vw - 96px));
        margin-inline: auto;
    }

    .community-hub-page .community-public-rail {
        z-index: 3;
        margin-top: -56px;
    }

    .community-hub-page .community-public-grid {
        grid-template-columns: minmax(0, 860px) 300px;
        justify-content: center;
        gap: 24px;
    }

    .community-hub-page .community-public-main {
        width: 100%;
        max-width: 860px;
        margin-inline: auto;
    }

    .community-hub-page .community-public-side {
        width: 100%;
        max-width: 300px;
    }

    .community-hub-page .community-public-feed-stack {
        grid-template-columns: repeat(2, minmax(280px, 360px));
        justify-content: center;
        gap: 20px;
        grid-auto-rows: 1fr;
    }

    .community-hub-page .community-public-post-mobile {
        display: none;
    }

    .community-hub-page .community-public-business-card {
        display: flex;
        width: 100%;
        max-width: 360px;
        height: 100%;
        margin-inline: auto;
    }
}

@media (max-width: 991px) {
    .community-hub-page .community-public-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .community-hub-page .community-public-shell {
        gap: 16px;
        max-width: min(920px, calc(100vw - 48px));
        margin-top: 0;
        margin-inline: auto;
    }

    .community-hub-page .community-public-header,
    .community-hub-page .community-public-rail,
    .community-hub-page .community-public-shell .community-panel {
        border-radius: 28px;
        padding: 24px;
    }

    .community-hub-page .community-public-header {
        width: 100vw;
        max-width: 100vw;
        min-height: 436px;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding: 176px 32px 108px;
        border-width: 0;
        border-radius: 0;
    }

    .community-hub-page .community-public-header-content {
        width: min(920px, calc(100vw - 64px));
        margin-inline: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .community-hub-page .community-public-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .community-hub-page .community-public-rail {
        position: relative;
        z-index: 3;
        margin-top: -14px;
        padding: 22px 28px 20px;
        border-radius: 30px;
    }

    .community-hub-page .community-public-rail-wrap {
        padding-right: 54px;
    }

    .community-hub-page .community-public-grid,
    .community-hub-page .community-public-main,
    .community-hub-page .community-public-side {
        gap: 18px;
    }

    .community-hub-page .community-public-grid {
        grid-template-columns: 1fr;
    }

    .community-hub-page .community-public-rail-track {
        grid-auto-columns: 104px;
        gap: 14px;
    }

    .community-hub-page .community-public-rail-arrow {
        top: 46px;
        right: 8px;
        width: 38px;
        height: 38px;
    }

    .community-hub-page .community-public-person-thumb,
    .community-hub-page .community-public-person-avatar {
        width: 86px;
    }

    .community-hub-page .community-public-person-avatar {
        height: 92px;
    }

    .community-hub-page .community-public-person-rank {
        top: -3px;
        right: -3px;
    }

    .community-hub-page .community-public-person-name {
        font-size: 0.78rem;
    }

    .community-hub-page .community-public-person-meta {
        font-size: 0.7rem;
    }

    .community-hub-page .community-public-post-mobile {
        display: block;
    }

    .community-hub-page .community-public-business-card {
        display: none;
    }
}

@media (max-width: 767px) {
    .site-content.site-content-community-hero > .site-header.default-header-style.public-hero-header .public-mobile-nav-trigger {
        min-width: 0;
        min-height: 0;
        padding: 0;
        gap: 7px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        color: #fff;
    }

    .site-content.site-content-community-hero > .site-header.default-header-style.public-hero-header .public-mobile-nav-trigger:hover,
    .site-content.site-content-community-hero > .site-header.default-header-style.public-hero-header .public-mobile-nav-trigger:focus {
        background: transparent;
        box-shadow: none;
        color: #fff;
    }

    .site-content.site-content-community-hero > .site-header.default-header-style.public-hero-header .public-mobile-nav-trigger .public-mobile-nav-trigger-text {
        position: relative;
        top: 1px;
    }

    .community-hub-page .community-public-shell {
        gap: 14px;
        margin-top: 0;
    }

    .community-hub-page .community-public-header,
    .community-hub-page .community-public-rail,
    .community-hub-page .community-public-shell .community-panel {
        padding: 18px;
        border-radius: 22px;
    }

    .community-hub-page .community-public-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        width: 100vw;
        max-width: 100vw;
        min-height: 308px;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding: 124px 16px 44px;
        border-top: 0;
        border-right: 0;
        border-left: 0;
        border-radius: 0 !important;
    }

    .community-hub-page .community-public-heading {
        max-width: none;
    }

    .community-hub-page .community-public-header-content {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-end;
        gap: 14px;
    }

    .community-hub-page .community-public-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        width: 100%;
        align-self: stretch;
    }

    .community-hub-page .community-public-rail-head {
        flex-direction: column;
    }

    .community-hub-page .community-public-rail {
        position: relative;
        z-index: 3;
        margin-top: -6px;
    }

    .community-hub-page .community-public-rail-wrap {
        padding-right: 46px;
    }

    .community-hub-page .community-public-rail-track {
        grid-auto-columns: 96px;
        gap: 10px;
    }

    .community-hub-page .community-public-rail-arrow {
        top: 42px;
        right: 4px;
        width: 36px;
        height: 36px;
    }

    .community-hub-page .community-public-rail-arrow .iconify {
        font-size: 1.22rem;
    }

    .community-hub-page .community-public-person-thumb,
    .community-hub-page .community-public-person-avatar {
        width: 80px;
    }

    .community-hub-page .community-public-person-avatar {
        height: 86px;
    }

    .community-hub-page .community-public-person-name {
        font-size: 0.76rem;
    }

    .community-hub-page .community-public-person-meta {
        font-size: 0.68rem;
    }

    .community-hub-page .community-public-primary,
    .community-hub-page .community-public-secondary,
    .community-hub-page .community-public-search-panel .community-search-input-wrap,
    .community-hub-page .community-public-search-panel .community-search-submit,
    .community-hub-page .community-public-search-panel .community-search-clear {
        width: 100%;
    }

    .community-hub-page .community-public-grid,
    .community-hub-page .community-public-main,
    .community-hub-page .community-public-side,
    .community-hub-page .community-public-feed-stack {
        gap: 14px;
    }

    .community-hub-page .community-public-shell .community-public-feed-panel.community-panel,
    .community-hub-page .community-public-post {
        overflow: visible;
    }

    .community-hub-page .community-public-shell .community-public-feed-panel.community-panel {
        width: 100vw;
        max-width: 100vw;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding: 14px 0 18px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .community-hub-page .community-public-feed-panel .community-panel-header {
        padding: 0 16px 12px;
    }

    .community-hub-page .community-public-post.community-public-post-mobile {
        padding: 14px 0 18px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
        background: transparent;
    }

    .community-hub-page .community-social-shell .community-social-feed-panel.community-panel,
    .community-hub-page .community-social-post.community-social-post-mobile {
        overflow: visible;
    }

    .community-hub-page .community-social-shell .community-social-feed-panel.community-panel {
        width: 100vw;
        max-width: 100vw;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding: 14px 0 18px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .community-hub-page .community-social-feed-panel .community-panel-header {
        padding: 0 16px 12px;
    }

    .community-hub-page .community-social-post.community-social-post-mobile {
        padding: 14px 0 18px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
        background: transparent;
    }

    .community-hub-page .community-public-post .community-social-post-media {
        width: 100vw;
        max-width: 100vw;
        margin-top: 12px;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        border-radius: 0;
    }

    .community-hub-page .community-social-post .community-social-post-media {
        width: 100vw;
        max-width: 100vw;
        margin-top: 12px;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        border-radius: 0;
    }

    .community-hub-page .community-public-shell .community-panel-header,
    .community-hub-page .community-public-post .community-social-post-head,
    .community-hub-page .community-public-post .community-social-post-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .community-hub-page .community-public-post .community-social-post-head,
    .community-hub-page .community-public-post .community-social-post-body,
    .community-hub-page .community-public-post .community-social-post-footer,
    .community-hub-page .community-social-post .community-social-post-head,
    .community-hub-page .community-social-post .community-social-post-body,
    .community-hub-page .community-social-post .community-social-post-footer {
        padding-right: 16px;
        padding-left: 16px;
    }

    .community-hub-page .community-public-feed-panel .community-feed-badge {
        align-self: flex-start;
    }

    .community-hub-page .community-public-search-panel .community-search-form,
    .community-hub-page .community-public-cta-actions,
    .community-hub-page .community-public-post .community-social-post-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .community-hub-page .community-public-post .community-social-post-action {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 575px) {
    .community-hub-page .community-public-shell {
        gap: 12px;
        margin-top: 0;
    }

    .community-hub-page .community-public-header,
    .community-hub-page .community-public-rail,
    .community-hub-page .community-public-shell .community-panel {
        padding: 14px;
        border-radius: 20px;
    }

    .community-hub-page .community-public-header {
        width: 100vw;
        max-width: 100vw;
        min-height: 296px;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding: 118px 16px 38px;
    }

    .community-hub-page .community-public-actions {
        gap: 8px;
    }

    .community-hub-page .community-public-rail {
        position: relative;
        z-index: 3;
        margin-top: -4px;
    }

    .community-hub-page .community-public-heading h1 {
        font-size: 1.28rem;
        line-height: 1.05;
        letter-spacing: -0.03em;
    }

    .community-hub-page .community-public-heading p,
    .community-hub-page .community-public-shell .community-panel-subtitle {
        font-size: 0.78rem;
    }

    .community-hub-page .community-public-shell .community-panel-title,
    .community-hub-page .community-public-rail-title {
        font-size: 0.94rem;
    }

    .community-hub-page .community-public-rail-track {
        grid-auto-columns: 88px;
        gap: 10px;
    }

    .community-hub-page .community-public-rail-wrap {
        padding-right: 42px;
    }

    .community-hub-page .community-public-rail-arrow {
        top: 38px;
        right: 2px;
        width: 34px;
        height: 34px;
    }

    .community-hub-page .community-public-rail-arrow .iconify {
        font-size: 1.16rem;
    }

    .community-hub-page .community-public-person-thumb,
    .community-hub-page .community-public-person-avatar {
        width: 74px;
    }

    .community-hub-page .community-public-person-avatar {
        height: 80px;
    }

    .community-hub-page .community-public-person-rank {
        min-width: 30px;
        height: 22px;
        font-size: 0.64rem;
    }

    .community-hub-page .community-public-person-name {
        font-size: 0.76rem;
    }

    .community-hub-page .community-public-person-meta {
        font-size: 0.68rem;
    }

    .community-hub-page .community-public-post .community-social-post-actions {
        gap: 8px;
    }

    .community-hub-page .community-public-post .community-social-post-media,
    .community-hub-page .community-social-post .community-social-post-media {
        border-radius: 0;
    }

    .community-profile-page .profile-listing-card-media {
        margin-top: -1rem;
        margin-right: calc(50% - 50vw);
        margin-bottom: 0.9rem;
        margin-left: calc(50% - 50vw);
        border-radius: 0;
    }
}

/* Signed-in community social feed */
.community-hub-page .community-social-shell {
    --community-social-bg: #f5f8fc;
    --community-social-card: #ffffff;
    --community-social-border: rgba(11, 34, 57, 0.08);
    --community-social-text: #0b2239;
    --community-social-muted: #70809a;
    --community-social-accent: #1c4fa3;
    display: grid;
    gap: 16px;
    margin: 28px auto 0;
    padding-bottom: 96px;
}

.community-hub-page .community-social-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 28px;
    border: 1px solid var(--community-social-border);
    overflow: hidden;
    min-height: 124px;
    background: linear-gradient(180deg, rgba(20, 48, 99, 0.92) 0%, rgba(13, 33, 70, 0.94) 100%);
    box-shadow: 0 24px 42px rgba(11, 34, 57, 0.12);
}

.community-hub-page .community-social-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 201, 64, 0.2), transparent 26%),
        linear-gradient(135deg, rgba(17, 52, 108, 0.76) 0%, rgba(15, 40, 86, 0.5) 44%, rgba(8, 22, 49, 0.76) 100%);
    z-index: 1;
}

.community-hub-page .community-social-bar-media,
.community-hub-page .community-social-bar-media picture,
.community-hub-page .community-social-bar-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.community-hub-page .community-social-bar-media {
    z-index: 0;
}

.community-hub-page .community-social-bar-media img {
    object-fit: cover;
}

.community-hub-page .community-social-bar-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
}

.community-hub-page .community-social-bar-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.community-hub-page .community-social-bar-main > div {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 0.3rem;
}

.community-hub-page .community-social-self-avatar {
    width: 56px;
    height: 56px;
    border-radius: 20px;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 30px rgba(4, 12, 31, 0.28);
}

.community-hub-page .community-social-bar-kicker {
    color: rgba(244, 248, 255, 0.78);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.community-hub-page .community-social-bar h1 {
    margin: 0;
    color: #ffffff;
    font-size: 1.42rem;
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.community-hub-page .community-social-bar-subtitle {
    margin-top: 0;
    color: rgba(237, 243, 255, 0.86);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.2;
}

.community-hub-page .community-social-bar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.community-hub-page .community-social-icon-btn,
.community-hub-page .community-social-post-more {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(4, 12, 31, 0.18);
}

.community-hub-page .community-social-icon-btn:hover,
.community-hub-page .community-social-post-more:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.24);
    text-decoration: none;
}

.community-hub-page .community-social-post-more {
    border: 1px solid #d9e3f1;
    background: #fff;
    color: var(--community-social-text);
    box-shadow: 0 10px 20px rgba(11, 34, 57, 0.04);
}

.community-hub-page .community-social-post-more:hover {
    color: var(--community-social-accent);
    background: #fff;
}

.community-hub-page .community-social-following {
    display: grid;
    gap: 8px;
}

.community-hub-page .community-social-following-label {
    margin-left: 4px;
    color: #7a8aa1;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.community-hub-page .community-social-stories {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(116px, 1fr);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.community-hub-page .community-social-stories-wrap {
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.community-hub-page .community-social-stories::-webkit-scrollbar {
    display: none;
}

.community-hub-page .community-social-stories-arrow {
    display: none;
}

.community-hub-page .community-story-card {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-width: 0;
    color: inherit;
    text-align: center;
    text-decoration: none;
}

.community-hub-page .community-story-thumb {
    --community-story-hexagon: polygon(24% 14%, 76% 14%, 98% 50%, 76% 86%, 24% 86%, 2% 50%);
    position: relative;
    width: 88px;
    height: 94px;
    padding: 3px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(228, 236, 249, 0.96) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    clip-path: var(--community-story-hexagon);
    filter: drop-shadow(0 10px 20px rgba(6, 43, 92, 0.14));
}

.community-hub-page .community-story-thumb-own {
    background: linear-gradient(180deg, rgba(255, 243, 214, 0.98) 0%, rgba(230, 238, 250, 0.98) 100%);
}

.community-hub-page .community-story-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    border-radius: 0;
    clip-path: var(--community-story-hexagon);
    box-shadow: none;
}

.community-hub-page .community-story-avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #edf3ff 0%, #dfe9ff 100%);
    color: var(--community-social-accent);
    font-size: 1.12rem;
}

.community-hub-page .community-story-add {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--community-social-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(28, 79, 163, 0.24);
}

.community-hub-page .community-story-label {
    color: var(--community-social-text);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-hub-page .community-story-handle {
    color: var(--community-social-muted);
    font-size: 0.72rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-hub-page .community-social-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.9fr);
    gap: 16px;
    align-items: start;
}

.community-hub-page .community-social-main,
.community-hub-page .community-social-sidebar {
    display: grid;
    gap: 16px;
}

.community-hub-page .community-social-composer,
.community-hub-page .community-social-section-head,
.community-hub-page .community-social-post,
.community-hub-page .community-social-shell .community-panel {
    border: 1px solid var(--community-social-border);
    border-radius: 28px;
    background: var(--community-social-card);
    box-shadow: 0 18px 34px rgba(11, 34, 57, 0.05);
}

.community-hub-page .community-social-composer {
    padding: 18px 20px;
}

.community-hub-page .community-social-composer-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.community-hub-page .community-social-inline-avatar {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    object-fit: cover;
    flex-shrink: 0;
}

.community-hub-page .community-social-composer-copy {
    min-width: 0;
}

.community-hub-page .community-social-composer-title {
    color: var(--community-social-text);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
}

.community-hub-page .community-social-composer-subtitle {
    margin-top: 0.26rem;
    color: var(--community-social-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.community-hub-page .community-social-composer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.community-hub-page .community-social-pill-action,
.community-hub-page .community-social-post-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid #d9e3f1;
    background: #f8fbff;
    color: #17335c;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.community-hub-page .community-social-pill-action:hover,
.community-hub-page .community-social-post-action:hover {
    color: var(--community-social-accent);
    text-decoration: none;
    background: #f1f6ff;
}

.community-hub-page .community-social-shell .community-panel {
    padding: 18px 20px;
}

.community-hub-page .community-social-shell .community-section-kicker {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.community-hub-page .community-social-shell .community-panel-title {
    margin-top: 0.3rem;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.community-hub-page .community-social-shell .community-panel-subtitle {
    font-size: 0.8rem;
    line-height: 1.45;
    color: #6f7e93;
}

.community-hub-page .community-social-shell .community-panel-subtitle code {
    font-size: 0.82em;
}

.community-hub-page .community-social-feed-panel {
    display: grid;
    gap: 12px;
}

.community-hub-page .community-social-search-panel,
.community-hub-page .community-social-results-panel,
.community-hub-page .community-social-feed-panel {
    scroll-margin-bottom: 104px;
}

.community-hub-page .community-social-search-panel .community-panel-header,
.community-hub-page .community-social-results-panel .community-panel-header {
    margin-bottom: 12px;
}

.community-hub-page .community-social-search-panel .community-search-input {
    min-height: 44px;
    font-size: 0.88rem;
}

.community-hub-page .community-social-search-panel .community-search-submit,
.community-hub-page .community-social-search-panel .community-search-clear {
    min-height: 44px;
    font-size: 0.82rem;
    font-weight: 600;
}

.community-hub-page .community-social-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
}

.community-hub-page .community-business-card {
    display: none;
}

.community-hub-page .community-social-post-stack {
    display: grid;
    gap: 14px;
}

.community-hub-page .community-social-post {
    padding: 16px;
}

.community-hub-page .community-social-post-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.community-hub-page .community-social-post-author {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.community-hub-page .community-social-post-media {
    display: block;
    width: 100%;
    margin-top: 14px;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    overflow: hidden;
    background: #edf2f9;
    text-decoration: none;
}

.community-hub-page .community-social-post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.community-hub-page .community-social-post-media-fallback {
    padding: 18px;
    background:
        radial-gradient(circle at top right, rgba(255, 201, 64, 0.2), transparent 26%),
        linear-gradient(140deg, #14376d 0%, #3e67a8 100%);
    color: #fff;
    display: grid;
    align-content: end;
    gap: 6px;
}

.community-hub-page .community-social-post-media-kicker {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.community-hub-page .community-social-post-media-fallback strong {
    font-size: 1.2rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.community-hub-page .community-social-post-body {
    margin-top: 12px;
}

.community-hub-page .community-social-post-caption {
    color: #41526c;
    font-size: 0.9rem;
    line-height: 1.55;
}

.community-hub-page .community-social-post-link {
    color: var(--community-social-accent);
    font-weight: 700;
    text-decoration: none;
}

.community-hub-page .community-social-post-link:hover {
    color: #0f4c81;
}

.community-hub-page .community-social-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.community-hub-page .community-social-post-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: #f4f7fb;
    color: #526179;
    font-size: 0.78rem;
    font-weight: 700;
}

.community-hub-page .community-social-post-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.community-hub-page .community-social-stat-list {
    display: grid;
    gap: 10px;
}

.community-hub-page .community-social-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0.82rem 0.9rem;
    border-radius: 18px;
    background: #f7f9fc;
    color: #526179;
    font-size: 0.84rem;
}

.community-hub-page .community-social-stat-row strong {
    color: var(--community-social-text);
    font-size: 0.96rem;
}

.community-hub-page .community-social-sidebar-card .community-sidebar-list {
    gap: 8px;
}

.community-hub-page .community-social-sidebar-card .community-sidebar-row {
    padding: 10px;
    border-radius: 18px;
}

@media (min-width: 1200px) {
    .community-hub-page .community-social-shell {
        gap: 20px;
        margin-top: 32px;
        max-width: 1180px;
    }

    .community-hub-page .community-social-bar {
        width: 100vw;
        max-width: 100vw;
        min-height: 344px;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding: 176px 48px 72px;
        border-width: 0;
        border-radius: 0;
    }

    .community-hub-page .community-social-bar-content {
        width: min(1180px, calc(100vw - 96px));
        margin-inline: auto;
        align-items: flex-end;
        gap: 24px;
        min-height: 100%;
    }

    .community-hub-page .community-social-bar-main {
        align-items: center;
        gap: 20px;
    }

    .community-hub-page .community-social-self-avatar {
        width: 78px;
        height: 78px;
        border-radius: 26px;
    }

    .community-hub-page .community-social-bar-kicker {
        font-size: 0.76rem;
        letter-spacing: 0.12em;
    }

    .community-hub-page .community-social-bar h1 {
        font-size: clamp(2.3rem, 3.2vw, 3.2rem);
    }

    .community-hub-page .community-social-bar-subtitle {
        font-size: 1.08rem;
    }

    .community-hub-page .community-social-bar-actions {
        align-self: flex-start;
    }

    .community-hub-page .community-social-icon-btn {
        width: 48px;
        height: 48px;
        border-radius: 18px;
    }

    .community-hub-page .community-social-following {
        position: relative;
        z-index: 4;
        gap: 12px;
        margin-top: -92px;
        padding: 0 0 18px;
    }

    .community-hub-page .community-social-following-label {
        margin-left: 10px;
        margin-bottom: 2px;
        font-size: 0.72rem;
        color: rgba(255, 255, 255, 0.94);
        text-shadow: 0 2px 10px rgba(4, 12, 31, 0.28);
    }

    .community-hub-page .community-social-stories-wrap {
        padding-right: 0;
    }

    .community-hub-page .community-social-stories-arrow {
        display: none;
    }

    .community-hub-page .community-story-card {
        justify-items: center;
        gap: 8px;
        text-align: center;
    }

    .community-hub-page .community-social-stories {
        grid-auto-columns: 118px;
        gap: 14px;
        padding: 0 0 4px;
    }

    .community-hub-page .community-story-thumb {
        width: 96px;
        height: 102px;
        padding: 3px;
    }

    .community-hub-page .community-story-label {
        font-size: 0.78rem;
        line-height: 1.2;
        text-align: center;
    }

    .community-hub-page .community-social-grid {
        grid-template-columns: minmax(0, 860px) 300px;
        justify-content: center;
        gap: 24px;
    }

    .community-hub-page .community-social-main,
    .community-hub-page .community-social-sidebar {
        gap: 20px;
    }

    .community-hub-page .community-social-main {
        width: 100%;
        max-width: 860px;
        margin-inline: auto;
    }

    .community-hub-page .community-social-sidebar {
        width: 100%;
        max-width: 300px;
    }

    .community-hub-page .community-social-composer,
    .community-hub-page .community-social-section-head,
    .community-hub-page .community-social-post,
    .community-hub-page .community-social-shell .community-panel {
        border-radius: 30px;
        box-shadow: 0 20px 38px rgba(11, 34, 57, 0.06);
    }

    .community-hub-page .community-social-composer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        padding: 20px 24px;
    }

    .community-hub-page .community-social-composer-row {
        flex: 1 1 auto;
        min-width: 0;
    }

    .community-hub-page .community-social-composer-actions {
        margin-top: 0;
        flex-shrink: 0;
    }

    .community-hub-page .community-social-pill-action {
        min-width: 164px;
        min-height: 44px;
        justify-content: center;
        padding: 0 1rem;
    }

    .community-hub-page .community-social-shell .community-panel,
    .community-hub-page .community-social-section-head {
        padding: 20px 24px;
    }

    .community-hub-page .community-social-search-panel .community-panel-header,
    .community-hub-page .community-social-results-panel .community-panel-header {
        margin-bottom: 14px;
    }

    .community-hub-page .community-social-search-panel .community-search-form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 10px;
        align-items: center;
    }

    .community-hub-page .community-social-search-panel .community-search-submit,
    .community-hub-page .community-social-search-panel .community-search-clear {
        min-width: 110px;
    }

    .community-hub-page .community-social-post-stack {
        grid-template-columns: repeat(2, minmax(280px, 360px));
        justify-content: center;
        gap: 20px;
        grid-auto-rows: 1fr;
    }

    .community-hub-page .community-social-post-mobile {
        display: none;
    }

    .community-hub-page .community-business-card {
        display: flex;
        flex-direction: column;
        min-width: 0;
        width: 100%;
        max-width: 360px;
        height: 100%;
        margin-inline: auto;
        border-radius: 28px;
        background: #ffffff;
        border: 1px solid rgba(11, 34, 57, 0.08);
        box-shadow: 0 24px 42px rgba(11, 34, 57, 0.08);
        overflow: hidden;
    }

    .community-hub-page .community-business-card-media {
        position: relative;
        display: block;
        aspect-ratio: 16 / 11;
        background: #dbe6f7;
        color: inherit;
        text-decoration: none;
    }

    .community-hub-page .community-business-card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .community-hub-page .community-business-card-media::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 48%;
        background: linear-gradient(180deg, transparent 0%, rgba(7, 22, 45, 0.6) 100%);
        pointer-events: none;
    }

    .community-hub-page .community-business-card-fallback {
        width: 100%;
        height: 100%;
        padding: 18px;
        background:
            radial-gradient(circle at top right, rgba(255, 201, 64, 0.2), transparent 26%),
            linear-gradient(140deg, #14376d 0%, #3e67a8 100%);
        color: #fff;
        display: grid;
        align-content: end;
        gap: 6px;
    }

    .community-hub-page .community-business-card-fallback-kicker {
        color: rgba(255, 255, 255, 0.72);
        font-size: 0.74rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .community-hub-page .community-business-card-fallback strong {
        font-size: 1.2rem;
        line-height: 1.08;
        letter-spacing: -0.03em;
    }

    .community-hub-page .community-business-card-top,
    .community-hub-page .community-business-card-bottom {
        position: absolute;
        left: 0;
        right: 0;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 1rem;
    }

    .community-hub-page .community-business-card-top {
        top: 0;
    }

    .community-hub-page .community-business-card-bottom {
        bottom: 0;
        align-items: end;
    }

    .community-hub-page .community-business-card-tag,
    .community-hub-page .community-business-card-status,
    .community-hub-page .community-business-card-metric {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        border-radius: 999px;
        font-size: 0.74rem;
        font-weight: 700;
        line-height: 1;
        backdrop-filter: blur(14px);
    }

    .community-hub-page .community-business-card-tag {
        padding: 0 0.9rem;
        background: rgba(255, 255, 255, 0.92);
        color: #17335c;
    }

    .community-hub-page .community-business-card-status {
        padding: 0 0.85rem;
        background: rgba(224, 248, 230, 0.94);
        color: #1d7a34;
    }

    .community-hub-page .community-business-card-status.is-urgent {
        background: rgba(255, 232, 186, 0.94);
        color: #8a5a00;
    }

    .community-hub-page .community-business-card-metrics {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
    }

    .community-hub-page .community-business-card-metric {
        padding: 0 0.8rem;
        background: rgba(11, 24, 44, 0.56);
        color: #ffffff;
    }

    .community-hub-page .community-business-card-body {
        display: flex;
        flex-direction: column;
        gap: 0.95rem;
        padding: 1.2rem 1.2rem 1.25rem;
        flex: 1 1 auto;
    }

    .community-hub-page .community-business-card-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
    }

    .community-hub-page .community-business-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.34rem;
        min-height: 28px;
        padding: 0 0.72rem;
        border-radius: 999px;
        font-size: 0.72rem;
        font-weight: 700;
        line-height: 1;
    }

    .community-hub-page .community-business-chip .iconify {
        font-size: 0.86rem;
    }

    .community-hub-page .community-business-chip--verified {
        background: rgba(91, 169, 255, 0.14);
        color: #2a72b9;
    }

    .community-hub-page .community-business-chip--support {
        background: rgba(255, 98, 124, 0.14);
        color: #be4157;
    }

    .community-hub-page .community-business-chip--pet,
    .community-hub-page .community-business-chip--vegan,
    .community-hub-page .community-business-chip--eco,
    .community-hub-page .community-business-chip--farm {
        background: rgba(111, 193, 123, 0.16);
        color: #2d7c3d;
    }

    .community-hub-page .community-business-chip--alfresco {
        background: rgba(255, 201, 64, 0.18);
        color: #8c6412;
    }

    .community-hub-page .community-business-chip--closing {
        background: rgba(255, 208, 140, 0.2);
        color: #9f5b13;
    }

    .community-hub-page .community-business-chip--always,
    .community-hub-page .community-business-chip--music {
        background: rgba(116, 124, 255, 0.14);
        color: #4954bf;
    }

    .community-hub-page .community-business-card-title {
        margin: 0;
        color: #0b2239;
        font-size: 1.28rem;
        line-height: 1.18;
        letter-spacing: -0.03em;
        font-weight: 700;
    }

    .community-hub-page .community-business-card-title a {
        color: inherit;
        text-decoration: none;
    }

    .community-hub-page .community-business-card-title a:hover,
    .community-hub-page .community-business-card-title a:focus {
        color: #062b5c;
    }

    .community-hub-page .community-business-card-support {
        color: #b97a11;
        font-size: 0.84rem;
        font-weight: 700;
        line-height: 1.35;
    }

    .community-hub-page .community-business-card-contributor {
        display: inline-flex;
        align-items: center;
        gap: 0.38rem;
        color: #5f6c7b;
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .community-hub-page .community-business-card-contributor a {
        color: #062b5c;
        font-weight: 700;
        text-decoration: none;
    }

    .community-hub-page .community-business-card-meta {
        display: grid;
        gap: 0.55rem;
        padding-top: 0.9rem;
        border-top: 1px solid rgba(11, 34, 57, 0.08);
        margin-top: auto;
    }

    .community-hub-page .community-business-card-meta-row {
        display: flex;
        align-items: start;
        gap: 0.55rem;
        color: #62718a;
        font-size: 0.88rem;
        line-height: 1.45;
        min-width: 0;
    }

    .community-hub-page .community-business-card-meta-row .iconify {
        flex-shrink: 0;
        margin-top: 0.08rem;
        color: #7e8ca5;
    }

    .community-hub-page .community-social-stat-row {
        padding: 0.95rem 1rem;
        border-radius: 20px;
        background: linear-gradient(180deg, #f8fbff 0%, #f3f7fd 100%);
    }

    .community-hub-page .community-social-sidebar-card .community-sidebar-row {
        padding: 12px 14px;
        border-radius: 20px;
        background: linear-gradient(180deg, #fbfcff 0%, #f5f8fd 100%);
    }
}

.community-hub-page .community-mobile-dock,
.community-profile-page .community-mobile-dock {
    position: fixed;
    left: 50%;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
    z-index: 40;
    width: min(334px, calc(100vw - 28px));
    transform: translateX(-50%);
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 6px;
    border-radius: 22px;
    border: 1px solid rgba(11, 34, 57, 0.12);
    background: linear-gradient(180deg, rgba(252, 253, 255, 0.98) 0%, rgba(240, 245, 252, 0.96) 100%);
    box-shadow:
        0 22px 40px rgba(11, 34, 57, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.86) inset;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.community-hub-page .community-mobile-dock a,
.community-profile-page .community-mobile-dock a {
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 0.46rem 0.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.58);
    color: #6a7a92;
    font-size: 0.64rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.community-hub-page .community-mobile-dock a.is-active,
.community-profile-page .community-mobile-dock a.is-active {
    background: linear-gradient(180deg, #edf3ff 0%, #dfe9ff 100%);
    color: var(--community-social-accent);
    box-shadow:
        0 10px 18px rgba(28, 79, 163, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.72) inset;
}

.community-hub-page .community-mobile-dock a i,
.community-profile-page .community-mobile-dock a i {
    font-size: 0.95rem;
}

@media (max-width: 991px) {
    .community-hub-page .community-social-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .community-hub-page .community-social-shell {
        gap: 10px;
        max-width: min(920px, calc(100vw - 48px));
        margin-top: 0;
        margin-inline: auto;
        padding-bottom: 42px;
    }

    .community-hub-page .community-social-bar {
        width: 100vw;
        max-width: 100vw;
        min-height: 368px;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding: 176px 32px 44px;
        border-width: 0;
        border-radius: 0 0 36px 36px;
    }

    .community-hub-page .community-social-bar-content {
        display: flex;
        align-items: flex-start;
        min-height: 100%;
    }

    .community-hub-page .community-social-bar-main {
        align-items: center;
        max-width: calc(100% - 92px);
    }

    .community-hub-page .community-social-bar-actions {
        position: absolute;
        top: 72px;
        right: 32px;
        z-index: 5;
        align-self: auto;
    }

    .community-hub-page .community-social-icon-btn {
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    .community-hub-page .community-social-following {
        position: relative;
        z-index: 4;
        margin-top: -92px;
        padding: 0 32px 16px;
        gap: 12px;
    }

    .community-hub-page .community-social-following-label {
        margin-left: 10px;
        margin-bottom: 4px;
        color: rgba(255, 255, 255, 0.94);
        text-shadow: 0 2px 10px rgba(4, 12, 31, 0.28);
    }

    .community-hub-page .community-social-stories-wrap {
        padding-right: 54px;
    }

    .community-hub-page .community-social-stories-arrow {
        display: inline-flex;
        position: absolute;
        top: 48px;
        right: 10px;
        z-index: 2;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        cursor: pointer;
        appearance: none;
        border-radius: 999px;
        background: linear-gradient(135deg, #ffffff 0%, #f5f8fe 100%);
        color: #082b5d;
        box-shadow: 0 12px 24px rgba(10, 37, 77, 0.14);
        transform: translateY(-50%);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .community-hub-page .community-social-stories-arrow .iconify {
        font-size: 1.32rem;
    }

    .community-hub-page .community-social-stories {
        grid-auto-columns: 108px;
        gap: 14px;
        padding: 0;
    }

    .community-hub-page .community-story-thumb {
        width: 88px;
        height: 92px;
        padding: 3px;
    }

    .community-hub-page .community-story-label {
        font-size: 0.76rem;
        line-height: 1.1;
    }

    .community-hub-page .community-social-grid,
    .community-hub-page .community-social-main,
    .community-hub-page .community-social-sidebar {
        gap: 18px;
    }

    .community-hub-page .community-social-grid {
        grid-template-columns: 1fr;
    }

    .community-hub-page .community-social-post-mobile {
        display: block;
    }

    .community-hub-page .community-business-card {
        display: none;
    }
}

@media (max-width: 767px) {
    .community-hub-page .community-social-shell {
        gap: 4px;
        margin-top: 0;
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 108px);
    }

    .community-hub-page .community-social-bar,
    .community-hub-page .community-social-composer,
    .community-hub-page .community-social-section-head,
    .community-hub-page .community-social-post,
    .community-hub-page .community-social-shell .community-panel {
        border-radius: 24px;
    }

    .community-hub-page .community-social-bar {
        width: 100vw;
        max-width: 100vw;
        min-height: 336px;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding: 126px 16px 84px;
        border-width: 0;
        border-radius: 0;
    }

    .community-hub-page .community-social-bar-content {
        display: flex;
        align-items: flex-start;
        min-height: 100%;
    }

    .community-hub-page .community-social-bar-main {
        align-items: center;
        max-width: calc(100% - 72px);
    }

    .community-hub-page .community-social-bar-actions {
        position: absolute;
        top: 58px;
        right: 16px;
        z-index: 5;
        align-self: auto;
    }

    .community-hub-page .community-social-icon-btn {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }

    .community-hub-page .community-social-following {
        position: relative;
        z-index: 4;
        margin-top: -66px;
        padding: 0 16px 2px;
        gap: 10px;
    }

    .community-hub-page .community-social-stories-wrap {
        padding-right: 44px;
    }

    .community-hub-page .community-social-stories-wrap::after {
        display: none;
    }

    .community-hub-page .community-social-stories-arrow {
        display: inline-flex;
        position: absolute;
        top: 50%;
        right: 6px;
        z-index: 2;
        width: 34px;
        height: 34px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        cursor: pointer;
        appearance: none;
        border-radius: 999px;
        background: linear-gradient(135deg, #ffffff 0%, #f5f8fe 100%);
        color: #082b5d;
        box-shadow: 0 12px 24px rgba(10, 37, 77, 0.14);
        transform: translateY(-50%);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .community-hub-page .community-social-stories-arrow .iconify {
        font-size: 1.3rem;
    }

    .community-hub-page .community-social-following-label {
        margin-left: 2px;
        color: rgba(255, 255, 255, 0.92);
        text-shadow: 0 2px 10px rgba(4, 12, 31, 0.28);
    }

    .community-hub-page .community-social-stories {
        position: relative;
        z-index: 3;
        grid-auto-columns: 64px;
        gap: 8px;
        padding: 0 0 2px 0;
    }

    .community-hub-page .community-story-thumb {
        width: 60px;
        height: 66px;
        padding: 2px;
        filter: drop-shadow(0 8px 18px rgba(6, 43, 92, 0.16));
    }

    .community-hub-page .community-story-label {
        font-size: 0.64rem;
        line-height: 1.05;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .community-hub-page .community-social-section-head,
    .community-hub-page .community-social-post-head,
    .community-hub-page .community-social-post-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .community-hub-page .community-social-post-more {
        display: none;
    }

    .community-hub-page .community-social-sidebar-card .community-panel-header {
        margin-bottom: 10px;
    }

    .community-hub-page .community-social-sidebar-card .community-sidebar-list {
        gap: 8px;
    }

    .community-hub-page .community-social-sidebar-card .community-sidebar-row {
        grid-template-columns: auto auto minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        padding: 10px 12px;
    }

    .community-hub-page .community-social-sidebar-card .community-sidebar-rank {
        min-width: 32px;
        height: 24px;
        padding: 0 0.45rem;
        font-size: 0.68rem;
    }

    .community-hub-page .community-social-sidebar-card .community-list-avatar {
        width: 42px;
        height: 42px;
    }

    .community-hub-page .community-social-sidebar-card .community-sidebar-name {
        font-size: 0.84rem;
    }

    .community-hub-page .community-social-sidebar-card .community-sidebar-meta,
    .community-hub-page .community-social-sidebar-card .community-sidebar-points {
        font-size: 0.74rem;
    }

    .community-hub-page .community-social-sidebar-card .community-sidebar-points {
        justify-self: end;
        white-space: nowrap;
    }

    .community-hub-page .community-mobile-dock,
    .community-profile-page .community-mobile-dock {
        display: grid;
    }

    .community-profile-page {
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 108px);
    }
}

@media (max-width: 575px) {
    .community-hub-page .community-social-bar {
        min-height: 316px;
        padding: 122px 16px 80px;
    }

    .community-hub-page .community-social-bar h1 {
        font-size: 1.36rem;
    }

    .community-hub-page .community-social-following {
        margin-top: -60px;
        gap: 8px;
    }

    .community-hub-page .community-social-stories-wrap {
        padding-right: 40px;
    }

    .community-hub-page .community-social-stories-wrap::after {
        display: none;
    }

    .community-hub-page .community-social-stories-arrow {
        top: 50%;
        right: 4px;
        width: 32px;
        height: 32px;
    }

    .community-hub-page .community-social-stories-arrow .iconify {
        font-size: 1.22rem;
    }

    .community-hub-page .community-social-stories {
        grid-auto-columns: 60px;
        gap: 7px;
        padding-right: 0;
    }

    .community-hub-page .community-story-thumb {
        width: 56px;
        height: 62px;
    }

    .community-hub-page .community-story-label {
        font-size: 0.62rem;
    }

    .community-hub-page .community-social-bar-main {
        width: 100%;
    }

    .community-hub-page .community-social-bar-actions {
        top: 56px;
        right: 16px;
        gap: 8px;
    }

    .community-hub-page .community-social-composer,
    .community-hub-page .community-social-section-head,
    .community-hub-page .community-social-post,
    .community-hub-page .community-social-shell .community-panel {
        padding: 14px;
    }

    .community-hub-page .community-social-composer-actions,
    .community-hub-page .community-social-post-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .community-hub-page .community-social-pill-action,
    .community-hub-page .community-social-post-action {
        justify-content: center;
        width: 100%;
    }

    .community-hub-page .community-social-post-media {
        border-radius: 0;
    }

    .community-hub-page .community-story-thumb {
        width: 56px;
        height: 62px;
        padding: 2px;
        filter: drop-shadow(0 8px 18px rgba(6, 43, 92, 0.16));
    }

    .community-hub-page .community-social-sidebar-card .community-sidebar-row {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px;
        padding: 9px 10px;
    }

    .community-hub-page .community-social-sidebar-card .community-sidebar-rank {
        display: none;
    }

    .community-hub-page .community-social-sidebar-card .community-list-avatar {
        width: 38px;
        height: 38px;
    }

    .community-hub-page .community-social-sidebar-card .community-sidebar-name {
        font-size: 0.8rem;
    }

    .community-hub-page .community-social-sidebar-card .community-sidebar-meta,
    .community-hub-page .community-social-sidebar-card .community-sidebar-points {
        font-size: 0.72rem;
    }

    .community-hub-page .community-social-search-panel,
    .community-hub-page .community-social-results-panel,
    .community-hub-page .community-social-feed-panel {
        scroll-margin-bottom: calc(env(safe-area-inset-bottom, 0px) + 116px);
    }
}
