/*
 * Build 0091 — Main-site theme Phase 6: Public Profiles & Member Discovery.
 * Loaded after the retained legacy page styles so the visual normalization can
 * remain presentation-only while existing route/data/privacy behavior stays intact.
 */

.buzzen-community-page {
    min-height: 55vh;
}

.buzzen-community-page .buzzen-community-shell {
    width: 100%;
}

.buzzen-community-page .buzzen-v5-page-title {
    margin-bottom: 12px !important;
}

.buzzen-community-page .buzzen-v5-breadcrumb {
    margin-bottom: 18px;
}

/* Shared Donate-derived hero language for member-facing discovery pages. */
.buzzen-community-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(250px, .72fr);
    gap: 22px;
    align-items: stretch;
    margin: 0 0 20px;
    padding: 26px;
    overflow: hidden;
    background:
        radial-gradient(circle at 94% 8%, rgba(255, 210, 74, .20) 0, rgba(255, 210, 74, 0) 29%),
        linear-gradient(135deg, #ffffff 0%, #edf7fd 100%);
}

.buzzen-community-hero::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #1b79bd 0%, #ffd24a 100%);
}

.buzzen-community-hero-copy {
    min-width: 0;
    padding: 4px 4px 4px 8px;
}

.buzzen-community-hero h2 {
    max-width: 760px;
    margin: 0 0 10px;
    color: #123d5c;
    font-family: var(--buzzen-font-heading);
    font-size: clamp(29px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.08;
}

.buzzen-community-hero-copy > p {
    max-width: 780px;
    margin: 0;
    color: #405c70;
    font-size: 15px;
    line-height: 1.7;
}

.buzzen-community-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.buzzen-community-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid rgba(27, 121, 189, .14);
    border-radius: var(--buzzen-radius-pill);
    background: rgba(255, 255, 255, .86);
    color: #31566d;
    font-size: 13px;
    font-weight: 750;
    box-shadow: 0 5px 13px rgba(17, 71, 111, .04);
}

.buzzen-community-hero-points i {
    color: #1b79bd;
}

.buzzen-community-hero-panel,
.buzzen-community-dark-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(18, 61, 92, .16);
    border-radius: var(--buzzen-radius-md);
    background: linear-gradient(145deg, #103858 0%, #155c91 70%, #1b79bd 100%);
    color: #fff;
    box-shadow: var(--buzzen-shadow-elevated);
}

.buzzen-community-hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 21px;
}

.buzzen-community-hero-panel::after,
.buzzen-community-dark-card::after {
    content: "";
    position: absolute;
    right: -36px;
    bottom: -48px;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: rgba(255, 210, 74, .13);
    pointer-events: none;
}

.buzzen-community-hero-panel-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--buzzen-radius-md);
    background: rgba(255, 255, 255, .10);
    color: #ffd24a;
    font-size: 22px;
}

.buzzen-community-hero-panel > span {
    position: relative;
    z-index: 1;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .70);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.buzzen-community-hero-panel > strong {
    position: relative;
    z-index: 1;
    color: #fff;
    font-family: var(--buzzen-font-heading);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
}

.buzzen-community-hero-panel > p {
    position: relative;
    z-index: 1;
    margin: 9px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    line-height: 1.55;
}

.buzzen-community-page .form-control,
.buzzen-community-page .form-select,
.buzzen-community-page .input-group-text {
    min-height: 42px;
    border-color: rgba(34, 103, 154, .20);
    border-radius: var(--buzzen-radius-sm);
}

.buzzen-community-page .input-group > .input-group-text,
.buzzen-community-page .input-group > .form-control,
.buzzen-community-page .input-group > .form-select {
    border-radius: 0;
}

.buzzen-community-page .input-group > :first-child {
    border-top-left-radius: var(--buzzen-radius-sm);
    border-bottom-left-radius: var(--buzzen-radius-sm);
}

.buzzen-community-page .input-group > :last-child {
    border-top-right-radius: var(--buzzen-radius-sm);
    border-bottom-right-radius: var(--buzzen-radius-sm);
}

.buzzen-community-page .form-control:focus,
.buzzen-community-page .form-select:focus {
    border-color: rgba(27, 121, 189, .55);
    box-shadow: 0 0 0 .2rem rgba(27, 121, 189, .10);
}

.buzzen-community-page .form-label {
    color: #244b67;
    font-weight: 750;
}

.buzzen-community-page .pagination .page-link {
    color: #155c91;
    border-color: rgba(34, 103, 154, .16);
}

.buzzen-community-page .pagination .active > .page-link {
    border-color: #1b79bd;
    background: #1b79bd;
    color: #fff;
}

/* Member directory ------------------------------------------------------- */
.buzzen-members-page,
.buzzen-members-page .buzzen-members-panel {
    background: transparent;
}

.buzzen-members-panel.buzzen-v5-shell {
    padding: 18px 22px 26px;
}

.buzzen-members-spotlight-wrap {
    margin: 0 0 20px;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.buzzen-members-spotlight-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 15px 18px;
    color: #123d5c;
    background: linear-gradient(135deg, #fbfdff 0%, #f1f8fd 100%);
    border-bottom: 1px solid rgba(34, 103, 154, .10);
    font-family: var(--buzzen-font-heading);
    font-size: 20px;
    font-weight: 800;
}

.buzzen-members-spotlight-title::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: 0;
    width: 82px;
    height: 3px;
    border-radius: var(--buzzen-radius-pill);
    background: #f5ad24;
}

.buzzen-members-spotlight-title i {
    color: #f5ad24;
}

.buzzen-members-spotlight-list {
    display: flex;
    gap: 13px;
    padding: 17px 18px 19px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.buzzen-members-spotlight-item {
    flex: 0 0 86px;
    text-align: center;
    color: #234b67;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.buzzen-members-spotlight-item img {
    display: block;
    width: 66px;
    height: 66px;
    margin: 0 auto 7px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(27, 121, 189, .18), 0 8px 16px rgba(17, 71, 111, .12);
}

.buzzen-members-layout {
    margin-top: 0;
}

.buzzen-members-search-card,
.buzzen-members-results,
.buzzen-members-side-card {
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.buzzen-members-card-header.buzzen-v5-section-header {
    display: block;
    padding: 16px 18px 14px;
}

.buzzen-members-card-header h2 {
    margin: 0;
    color: #123d5c;
    font-family: var(--buzzen-font-heading);
    font-size: 22px;
    font-weight: 800;
}

.buzzen-members-card-header h2 i {
    margin-right: 7px;
    color: #1b79bd;
}

.buzzen-members-card-header p {
    margin: 4px 0 0;
    color: #61798a;
    font-size: 13px;
    line-height: 1.5;
}

.buzzen-members-search-form {
    padding: 19px;
}

.buzzen-members-check {
    padding: 13px 13px 13px 36px;
    border: 1px solid rgba(34, 103, 154, .13);
    border-radius: var(--buzzen-radius-sm);
    background: #f5faff;
}

.buzzen-members-results-summary {
    position: relative;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(34, 103, 154, .10);
    background: linear-gradient(135deg, #fbfdff 0%, #f1f8fd 100%);
    color: #123d5c;
    font-family: var(--buzzen-font-heading);
    font-size: 20px;
    font-weight: 800;
}

.buzzen-members-results-summary::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: 0;
    width: 82px;
    height: 3px;
    border-radius: var(--buzzen-radius-pill);
    background: #f5ad24;
}

.buzzen-member-result {
    display: flex;
    gap: 16px;
    margin: 14px 16px;
    padding: 16px;
    border: 1px solid rgba(34, 103, 154, .13);
    border-radius: var(--buzzen-radius-md);
    background: #fff !important;
    box-shadow: 0 7px 18px rgba(17, 71, 111, .05);
}

.buzzen-member-result-avatar img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: var(--buzzen-radius-md);
    box-shadow: 0 0 0 2px rgba(27, 121, 189, .14), 0 8px 18px rgba(17, 71, 111, .11);
}

.buzzen-member-result-name a {
    color: #123d5c;
    font-family: var(--buzzen-font-heading);
    font-size: 21px;
    font-weight: 800;
    text-decoration: none;
}

.buzzen-member-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin: 7px 0 9px;
    color: #536c7e;
    font-size: 13px;
}

.buzzen-member-result-line {
    margin-top: 5px;
    color: #496477;
    font-size: 13px;
}

.buzzen-member-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.buzzen-members-side-card {
    padding: 0;
}

.buzzen-members-side-title {
    position: relative;
    padding: 14px 15px;
    border-bottom: 1px solid rgba(34, 103, 154, .10);
    background: linear-gradient(135deg, #fbfdff 0%, #f1f8fd 100%);
    color: #123d5c;
    font-family: var(--buzzen-font-heading);
    font-size: 18px;
    font-weight: 800;
}

.buzzen-members-side-title::after {
    content: "";
    position: absolute;
    left: 15px;
    bottom: 0;
    width: 58px;
    height: 3px;
    border-radius: 99px;
    background: #f5ad24;
}

.buzzen-members-side-title i {
    margin-right: 6px;
    color: #1b79bd;
}

.buzzen-members-side-list .list-group-item {
    padding: 10px 13px;
    border-color: rgba(34, 103, 154, .08);
    background: transparent;
    font-size: 13px;
}

.buzzen-members-side-list a {
    color: #155c91;
    font-weight: 700;
    text-decoration: none;
}

/* Birthdays -------------------------------------------------------------- */
.buzzen-birthdays-page,
.buzzen-birthdays-page #pholder,
.buzzen-birthdays-panel {
    background: transparent;
}

.buzzen-birthdays-panel.buzzen-v5-shell {
    padding: 18px 22px 26px;
}

.buzzen-birthdays-card {
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.buzzen-birthdays-card-header.buzzen-v5-section-header {
    display: block;
    padding: 16px 18px 14px;
}

.buzzen-birthdays-card-header h2 {
    margin: 0;
    color: #123d5c;
    font-family: var(--buzzen-font-heading);
    font-size: 22px;
    font-weight: 800;
}

.buzzen-birthdays-card-header h2 i {
    margin-right: 7px;
    color: #f5ad24;
}

.buzzen-birthdays-list {
    padding: 14px;
}

.buzzen-birthdays-member {
    display: flex;
    gap: 16px;
    margin: 0 0 12px;
    padding: 15px;
    border: 1px solid rgba(34, 103, 154, .13);
    border-radius: var(--buzzen-radius-md);
    background: #fff !important;
    box-shadow: 0 7px 18px rgba(17, 71, 111, .05);
}

.buzzen-birthdays-member:last-child {
    margin-bottom: 0;
}

.buzzen-birthdays-avatar img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: var(--buzzen-radius-md);
    box-shadow: 0 0 0 2px rgba(245, 173, 36, .20), 0 8px 18px rgba(17, 71, 111, .11);
}

.buzzen-birthdays-member-title a {
    color: #123d5c;
    font-family: var(--buzzen-font-heading);
    font-size: 21px;
    font-weight: 800;
    text-decoration: none;
}

.buzzen-birthdays-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin: 7px 0 8px;
    color: #536c7e;
    font-size: 13px;
}

.buzzen-birthdays-detail {
    margin-top: 5px;
    color: #496477;
    font-size: 13px;
}

.buzzen-birthdays-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.buzzen-birthdays-side-card {
    padding: 22px;
}

.buzzen-birthdays-side-title {
    position: relative;
    z-index: 1;
    color: #fff;
    font-family: var(--buzzen-font-heading);
    font-size: 23px;
    font-weight: 800;
}

.buzzen-birthdays-side-title i {
    margin-right: 7px;
    color: #ffd24a;
}

.buzzen-birthdays-side-card img,
.buzzen-birthdays-side-card p {
    position: relative;
    z-index: 1;
}

.buzzen-birthdays-side-card img {
    margin: 18px 0 12px;
    max-height: 180px;
    object-fit: contain;
}

.buzzen-birthdays-side-card p {
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    line-height: 1.6;
}

/* Awards ---------------------------------------------------------------- */
.buzzen-awards-page,
.buzzen-awards-page #pholder,
.buzzen-awards-panel {
    background: transparent;
}

.buzzen-awards-panel.buzzen-v5-shell {
    padding: 18px 22px 26px;
}

.buzzen-awards-card {
    margin-bottom: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.buzzen-awards-card-header,
.buzzen-awards-table-header,
.buzzen-awards-video-title {
    position: relative;
    padding: 16px 18px 14px;
    border-bottom: 1px solid rgba(34, 103, 154, .10);
    background: linear-gradient(135deg, #fbfdff 0%, #f1f8fd 100%);
}

.buzzen-awards-card-header::after,
.buzzen-awards-table-header::after,
.buzzen-awards-video-title::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: 0;
    width: 82px;
    height: 3px;
    border-radius: 99px;
    background: #f5ad24;
}

.buzzen-awards-card h2,
.buzzen-awards-video-title {
    margin: 0;
    color: #123d5c;
    font-family: var(--buzzen-font-heading);
    font-size: 22px;
    font-weight: 800;
}

.buzzen-awards-card-header p,
.buzzen-awards-table-header p {
    margin: 4px 0 0;
    color: #61798a;
    font-size: 13px;
    line-height: 1.5;
}

.buzzen-awards-filter {
    padding: 18px;
}

.buzzen-awards-table-wrap {
    padding: 0 14px 14px;
}

.buzzen-awards-table {
    margin: 0;
    --bs-table-striped-bg: rgba(232, 244, 252, .48);
}

.buzzen-awards-table thead th {
    border-bottom-color: rgba(34, 103, 154, .20);
    color: #31566d;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.buzzen-awards-user {
    color: #155c91;
    font-weight: 750;
    text-decoration: none;
}

.buzzen-awards-video-card > .row {
    padding: 18px;
}

.buzzen-awards-timestamps {
    padding: 16px;
    border: 1px solid rgba(34, 103, 154, .13);
    border-radius: var(--buzzen-radius-md);
    background: #f5faff;
    color: #496477;
    font-size: 13px;
    line-height: 1.65;
}

/* Memorial wall --------------------------------------------------------- */
.buzzen-memorial-page,
.buzzen-memorial-panel {
    background: transparent;
}

.buzzen-memorial-panel.buzzen-v5-shell {
    padding: 18px 22px 26px;
}

.buzzen-memorial-v5-hero {
    background:
        radial-gradient(circle at 94% 8%, rgba(255, 210, 74, .15) 0, rgba(255, 210, 74, 0) 29%),
        linear-gradient(135deg, #ffffff 0%, #f0f7fb 100%);
}

.buzzen-memorial-hero-panel {
    background: linear-gradient(145deg, #173a57 0%, #245b83 72%, #2f779c 100%);
}

.buzzen-memorial-notice {
    margin: 0 0 18px;
    border-color: rgba(27, 121, 189, .14);
    border-radius: var(--buzzen-radius-sm);
    background: #eef8ff;
    color: #31566d;
}

.buzzen-memorial-intro {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 18px;
    padding: 18px;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.buzzen-memorial-intro-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: var(--buzzen-radius-sm);
    background: #eaf5fc;
    color: #1b79bd;
    font-size: 20px;
}

.buzzen-memorial-intro h2 {
    margin: 0 0 5px;
    color: #123d5c;
    font-family: var(--buzzen-font-heading);
    font-size: 23px;
    font-weight: 800;
}

.buzzen-memorial-intro p {
    margin: 0;
    color: #536c7e;
    font-size: 14px;
    line-height: 1.65;
}

.buzzen-memorial-filter {
    margin-bottom: 18px;
    padding: 17px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbfe 100%);
}

.buzzen-memorial-summary {
    margin: 0 0 14px;
    color: #536c7e;
    font-size: 13px;
}

.buzzen-memorial-summary strong {
    color: #123d5c;
    font-family: var(--buzzen-font-heading);
    font-size: 20px;
}

.buzzen-memorial-card {
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    transition: transform .18s ease, box-shadow .18s ease;
}

.buzzen-memorial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--buzzen-shadow-elevated);
}

.buzzen-memorial-photo {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e7f0f6;
}

.buzzen-memorial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.buzzen-memorial-card:hover .buzzen-memorial-photo img {
    transform: scale(1.025);
}

.buzzen-memorial-card-body {
    padding: 16px 17px 13px;
}

.buzzen-memorial-card-body h2 {
    margin: 0;
    font-family: var(--buzzen-font-heading);
    font-size: 23px;
    font-weight: 800;
}

.buzzen-memorial-card-body h2 a {
    color: #123d5c;
    text-decoration: none;
}

.buzzen-memorial-realname {
    margin-top: 2px;
    color: #6c7d8b;
    font-size: 13px;
    font-weight: 650;
}

.buzzen-memorial-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 10px 0;
    color: #587083;
    font-size: 12.5px;
}

.buzzen-memorial-meta i {
    color: #1b79bd;
}

.buzzen-memorial-card-body p {
    margin: 0;
    color: #50697b;
    font-size: 13px;
    line-height: 1.55;
}

.buzzen-memorial-card-footer {
    padding: 0 17px 17px;
}

/* Memorial detail */
.buzzen-memorial-detail-hero {
    position: relative;
    margin-bottom: 20px;
    padding: 23px;
    overflow: hidden;
    background:
        radial-gradient(circle at 96% 8%, rgba(255, 210, 74, .15) 0, rgba(255, 210, 74, 0) 28%),
        linear-gradient(135deg, #ffffff 0%, #edf7fd 100%);
}

.buzzen-memorial-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #1b79bd 0%, #ffd24a 100%);
}

.buzzen-memorial-detail-photo {
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: var(--buzzen-radius-md);
    box-shadow: 0 0 0 2px rgba(27, 121, 189, .13), 0 12px 24px rgba(17, 71, 111, .12);
}

.buzzen-memorial-detail-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.buzzen-memorial-detail-card h2 {
    margin: 0;
    color: #123d5c;
    font-family: var(--buzzen-font-heading);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
}

.buzzen-memorial-bio {
    color: #465f72;
    font-size: 14px;
    line-height: 1.7;
}

.buzzen-memorial-comments-header.buzzen-v5-section-header {
    margin-top: 18px;
    border: 1px solid rgba(34, 103, 154, .14);
    border-radius: var(--buzzen-radius-md) var(--buzzen-radius-md) 0 0;
}

.buzzen-memorial-comments-header h2 {
    margin: 0;
    color: #123d5c;
    font-family: var(--buzzen-font-heading);
    font-size: 22px;
    font-weight: 800;
}

.buzzen-memorial-comment {
    margin-top: 10px;
    padding: 14px;
    border: 1px solid rgba(34, 103, 154, .11);
    border-radius: var(--buzzen-radius-md);
    background: #fff;
    box-shadow: 0 6px 15px rgba(17, 71, 111, .04);
}

.buzzen-memorial-comment-avatar {
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(27,121,189,.12);
}

.buzzen-memorial-comment-form {
    margin-top: 18px;
    padding: 18px;
    background: linear-gradient(180deg, #fff 0%, #f8fcff 100%);
}

/* Public profile -------------------------------------------------------- */
.buzzen-profile-stage.buzzen-v5-page {
    padding-bottom: 38px;
}

.buzzen-profile-stage .buzzen-v5-page-container {
    padding-top: 38px;
}

.buzzen-profile-v5-holder {
    border-radius: var(--buzzen-radius-lg);
}

.buzzen-profile-panel.buzzen-v5-shell {
    padding: 18px 22px 26px;
    background: rgba(246, 250, 253, var(--legacy-profile-panel-alpha, .96));
    backdrop-filter: blur(3px);
}

.buzzen-profile-v5-hero {
    position: relative;
    margin: 0 0 18px;
    padding: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 96% 5%, rgba(255, 210, 74, .17) 0, rgba(255, 210, 74, 0) 25%),
        linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(237,247,253,.96) 100%);
}

.buzzen-profile-v5-hero::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #1b79bd 0%, #ffd24a 100%);
}

.buzzen-profile-v5-kicker {
    margin: 0 0 12px 5px;
}

.buzzen-profile-v5-hero .buzzen-userinfo-mood {
    margin: 0 0 12px 5px;
}

.buzzen-profile-v5-hero .buzzen-userinfo-shell {
    margin: 0;
    border: 0;
    border-radius: var(--buzzen-radius-md);
    background: transparent;
    box-shadow: none;
}

.buzzen-profile-v5-hero .buzzen-userinfo-photo img {
    border: 4px solid #fff !important;
    border-radius: var(--buzzen-radius-md) !important;
    box-shadow: 0 0 0 2px rgba(27, 121, 189, .16), 0 13px 28px rgba(17, 71, 111, .13) !important;
}

.buzzen-profile-v5-hero .buzzen-userinfo-name-text a {
    color: #123d5c !important;
    font-family: var(--buzzen-font-heading);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.05;
}

.buzzen-profile-v5-hero .buzzen-userinfo-detail-pill,
.buzzen-profile-v5-hero .buzzen-userinfo-mood-pill {
    border-color: rgba(27,121,189,.13);
    background: rgba(255,255,255,.82);
    box-shadow: 0 4px 12px rgba(17,71,111,.04);
}

.buzzen-profile-meta {
    margin: 0 0 18px;
    padding: 12px 15px;
    border: 1px solid rgba(34,103,154,.13);
    border-radius: var(--buzzen-radius-md);
    background: rgba(255,255,255,.90);
    box-shadow: var(--buzzen-shadow-soft);
}

.buzzen-profile-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.buzzen-profile-stat {
    color: #536c7e;
    font-size: 13px;
}

.buzzen-profile-stat i {
    margin-right: 5px;
    color: #1b79bd;
}

.buzzen-profile-anniversary {
    margin: 0 0 18px;
    padding: 13px;
    border: 1px solid rgba(34,103,154,.11);
    border-radius: var(--buzzen-radius-md);
    background: rgba(255,255,255,.78);
}

.buzzen-profile-anniversary img {
    max-width: min(100%, 780px);
}

.buzzen-legacy-relay-promo {
    margin: 0 0 20px;
    overflow: hidden;
    border: 1px solid rgba(34,103,154,.14);
    border-radius: var(--buzzen-radius-md);
    background: #fff;
    box-shadow: var(--buzzen-shadow-card);
}

.buzzen-profile-v5-content {
    margin-top: 0;
}

.buzzen-profile-v5-content .sidebar-widget-header {
    position: relative;
    margin: 0;
    padding: 14px 17px;
    border: 1px solid rgba(34,103,154,.13);
    border-bottom: 0;
    border-radius: var(--buzzen-radius-md) var(--buzzen-radius-md) 0 0;
    background: linear-gradient(135deg, #fbfdff 0%, #f1f8fd 100%);
}

.buzzen-profile-v5-content .sidebar-widget-header::after {
    content: "";
    position: absolute;
    left: 17px;
    bottom: 0;
    width: 72px;
    height: 3px;
    border-radius: 99px;
    background: #f5ad24;
}

.buzzen-profile-v5-content .sidebar-widget-header h1 {
    margin: 0 !important;
    color: #123d5c;
    font-family: var(--buzzen-font-heading);
    font-size: 20px !important;
    font-weight: 800;
}

.buzzen-profile-v5-content .sidebar-widget-header h1 i {
    margin-right: 6px;
    color: #1b79bd;
}

.buzzen-profile-about {
    padding: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    overflow: hidden;
    background: linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}

.buzzen-profile-about-inner {
    padding: 20px;
}

.buzzen-profile-v5-side-card,
.buzzen-profile-media-card {
    margin: 0 0 16px;
    border: 1px solid rgba(34,103,154,.13) !important;
    border-top: 0 !important;
    border-radius: 0 0 var(--buzzen-radius-md) var(--buzzen-radius-md) !important;
    background: #fff !important;
    box-shadow: var(--buzzen-shadow-card);
    overflow: hidden;
}

.buzzen-profile-v5-side-card .list-group-item,
.buzzen-profile-media-card .list-group-item {
    border-color: rgba(34,103,154,.08);
    background: transparent;
}

.buzzen-profile-unavailable {
    padding: 38px 0;
    background: linear-gradient(180deg,#eef3f8 0%,#f7fafc 100%);
}

.buzzen-profile-unavailable-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px;
    border: 1px solid rgba(34,103,154,.14);
    border-radius: var(--buzzen-radius-lg);
    background: linear-gradient(135deg,#fff 0%,#edf7fd 100%);
    box-shadow: var(--buzzen-shadow-panel);
    text-align: center;
}

.buzzen-profile-unavailable-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 12px auto;
    border-radius: var(--buzzen-radius-md);
    background: #103858;
    color: #ffd24a;
    font-size: 26px;
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 991.98px) {
    .buzzen-community-hero {
        grid-template-columns: 1fr;
    }

    .buzzen-community-hero-panel {
        min-height: 0;
    }

    .buzzen-members-layout > aside {
        order: initial !important;
    }

    .buzzen-profile-v5-content .buzzen-profile-sidecol {
        margin-top: 18px;
    }
}

@media (max-width: 767.98px) {
    .buzzen-community-page .buzzen-v5-page-container,
    .buzzen-profile-stage .buzzen-v5-page-container {
        padding-top: 24px;
    }

    .buzzen-members-panel.buzzen-v5-shell,
    .buzzen-birthdays-panel.buzzen-v5-shell,
    .buzzen-awards-panel.buzzen-v5-shell,
    .buzzen-memorial-panel.buzzen-v5-shell,
    .buzzen-profile-panel.buzzen-v5-shell {
        padding: 14px;
    }

    .buzzen-community-hero,
    .buzzen-profile-v5-hero,
    .buzzen-memorial-detail-hero {
        padding: 20px 18px;
    }

    .buzzen-community-hero h2 {
        font-size: 29px;
    }

    .buzzen-member-result,
    .buzzen-birthdays-member {
        align-items: flex-start;
    }

    .buzzen-member-result-avatar img,
    .buzzen-birthdays-avatar img {
        width: 76px;
        height: 76px;
    }

    .buzzen-memorial-intro {
        display: block;
    }

    .buzzen-memorial-intro-icon {
        margin-bottom: 12px;
    }
}

@media (max-width: 575.98px) {
    .buzzen-community-hero-points {
        display: grid;
        grid-template-columns: 1fr;
    }

    .buzzen-community-hero-points span {
        justify-content: flex-start;
    }

    .buzzen-member-result,
    .buzzen-birthdays-member {
        display: block;
    }

    .buzzen-member-result-avatar,
    .buzzen-birthdays-avatar {
        display: inline-block;
        margin-bottom: 12px;
    }

    .buzzen-member-result-actions,
    .buzzen-birthdays-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .buzzen-member-result-actions form,
    .buzzen-member-result-actions .btn,
    .buzzen-birthdays-actions form,
    .buzzen-birthdays-actions .btn {
        width: 100%;
    }

    .buzzen-profile-v5-hero .buzzen-userinfo-main {
        display: block;
    }

    .buzzen-profile-v5-hero .buzzen-userinfo-photo {
        margin-bottom: 14px;
    }
}

/* Build 0104 — Memorial visual normalization.
 * Remove the last pre-foundation magenta/compact treatment and align the wall/detail
 * surfaces with the Donate-derived main-site language. */
.buzzen-memorial-page {
    padding: 0 0 42px;
}

.buzzen-memorial-title > i {
    color: var(--buzzen-yellow-light) !important;
}

.buzzen-memorial-rule {
    height: 1px !important;
    margin: 14px 0 16px !important;
    background: linear-gradient(to right, transparent, rgba(25,92,142,.25), transparent) !important;
}

.buzzen-memorial-intro {
    position: relative;
    overflow: hidden;
    border-color: rgba(34,103,154,.14) !important;
    border-radius: var(--buzzen-radius-md) !important;
    background: linear-gradient(135deg,#fff 0%,#f5faff 100%) !important;
    box-shadow: var(--buzzen-shadow-soft) !important;
}

.buzzen-memorial-intro::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg,#1b79bd,#f5ad24);
}

.buzzen-memorial-filter {
    border-color: rgba(34,103,154,.14) !important;
    border-radius: var(--buzzen-radius-md) !important;
    background: linear-gradient(135deg,#fff 0%,#f7fbfe 100%) !important;
    box-shadow: var(--buzzen-shadow-soft) !important;
}

.buzzen-memorial-filter .form-label {
    color: #315970;
    font-size: 13px;
    font-weight: 800;
}

.buzzen-memorial-filter .form-control,
.buzzen-memorial-filter .form-select,
.buzzen-memorial-filter .input-group-text {
    min-height: 42px;
    border-color: rgba(34,103,154,.18);
    font-size: 14px;
}

.buzzen-memorial-card {
    position: relative;
    border-color: rgba(34,103,154,.14) !important;
    border-radius: var(--buzzen-radius-md) !important;
    box-shadow: var(--buzzen-shadow-card) !important;
}

.buzzen-memorial-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: 4px;
    background: linear-gradient(180deg,#1b79bd,#f5ad24);
    pointer-events: none;
}

.buzzen-memorial-photo {
    background: linear-gradient(135deg,#e9f3f9,#f8fbfd) !important;
}

.buzzen-memorial-photo img {
    object-position: center;
}

.buzzen-memorial-card-footer .btn {
    min-height: 38px;
    border-radius: 10px;
    font-weight: 800;
}

.buzzen-memorial-detail-hero {
    border-radius: var(--buzzen-radius-lg) !important;
    box-shadow: var(--buzzen-shadow-elevated) !important;
}

.buzzen-memorial-detail-photo {
    background: linear-gradient(145deg,#0f3653,#155c91);
}

.buzzen-memorial-detail-photo img {
    min-height: 220px;
    background: #eef5f9;
}

.buzzen-memorial-bio {
    border-left-color: #f5ad24 !important;
    border-radius: 0 10px 10px 0;
    background: #f8fcff !important;
}

.buzzen-memorial-comments-section {
    overflow: hidden;
    margin-top: 18px;
    background: #fff;
    box-shadow: var(--buzzen-shadow-card);
}

.buzzen-memorial-comments-header.buzzen-v5-section-header {
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(34,103,154,.12) !important;
    border-radius: 0 !important;
}

.buzzen-memorial-comments-header h2 {
    font-size: 21px;
}

.buzzen-memorial-comments-header p {
    margin: 3px 0 0;
    color: #718797;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 650;
}

.buzzen-memorial-comments-body {
    padding: 16px 18px 18px;
}

.buzzen-memorial-comments-list {
    margin-top: 0;
}

.buzzen-memorial-older-comments {
    margin: 0 0 12px;
    border-color: rgba(34,103,154,.13);
    border-radius: 11px;
    background: #f7fbfe;
}

.buzzen-memorial-comment {
    margin-top: 0;
    border-radius: 12px;
    box-shadow: var(--buzzen-shadow-soft);
}

.buzzen-memorial-comment-form {
    border-color: rgba(34,103,154,.14) !important;
    border-radius: var(--buzzen-radius-md) !important;
    box-shadow: var(--buzzen-shadow-card) !important;
}

.buzzen-memorial-empty-comment {
    margin: 0;
    border-color: rgba(34,103,154,.18);
    border-radius: 11px;
    background: #f8fcff;
}

@media (max-width: 767.98px) {
    .buzzen-memorial-page {
        padding-bottom: 30px;
    }

    .buzzen-memorial-comments-body {
        padding: 14px;
    }
}
