html.mh-profile-page body {
    background:
        radial-gradient(900px 420px at 8% -8%, rgba(163, 21, 35, .07), transparent 58%),
        radial-gradient(700px 380px at 100% 0%, rgba(90, 140, 120, .08), transparent 55%),
        #f3eee8;
}

html.mh-profile-page .mh-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .92);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(70, 28, 18, .05);
    font-size: 13px;
    font-weight: 700;
    color: #7a6a65;
}

html.mh-profile-page .mh-breadcrumb a {
    color: #a31523 !important;
    text-decoration: none !important;
}

html.mh-profile-page .mh-breadcrumb a:hover {
    text-decoration: underline !important;
}

html.mh-profile-page .mh-breadcrumb__sep { color: #cbb8b0; }
html.mh-profile-page .mh-breadcrumb__current { color: #1a1210; }

.mh-profile-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 22px;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(247,242,237,.94));
    box-shadow: 0 12px 32px rgba(70, 28, 18, .07);
    animation: mhProfileIn .45s ease both;
}

.mh-profile-hero__glow {
    position: absolute;
    right: -60px;
    top: -70px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(163, 21, 35, .14), transparent 68%);
    pointer-events: none;
}

.mh-profile-hero__main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 22px 28px;
    align-items: center;
}

.mh-profile-hero__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.mh-profile-hero__avatar {
    width: 128px !important;
    height: 128px !important;
    object-fit: cover;
    border-radius: 28px !important;
    box-shadow: 0 12px 28px rgba(70, 28, 18, .14);
    background: #fff;
    display: block;
}

.mh-profile-status {
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(70, 28, 18, .12);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.mh-profile-status--on { color: #1f7a45; }
.mh-profile-status--off { color: #9a4a3a; }

.mh-profile-status__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(31, 122, 69, .15);
}

.mh-profile-status--off .mh-profile-status__dot {
    box-shadow: 0 0 0 3px rgba(154, 74, 58, .12);
}

.mh-profile-hero__info {
    flex: 1;
    min-width: 220px;
}

.mh-profile-hero__eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #a31523;
}

.mh-profile-hero__title {
    margin: 0 0 14px !important;
    font-size: clamp(26px, 4vw, 36px) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -.03em;
    color: #1a1210 !important;
}

.mh-profile-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
}

.mh-profile-stat {
    min-width: 88px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 4px 12px rgba(70, 28, 18, .05);
    text-align: center;
}

.mh-profile-stat__num {
    display: block;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #1a1210;
    line-height: 1.1;
}

.mh-profile-stat__label {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 700;
    color: #7a6a65;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.mh-profile-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mh-profile-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px !important;
    border: 1px solid rgba(80, 40, 30, .1) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #1a1210 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(70, 28, 18, .05);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.mh-profile-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(70, 28, 18, .1);
}

.mh-profile-btn--primary {
    background: #a31523 !important;
    border-color: #a31523 !important;
    color: #fff !important;
}

.mh-profile-btn--primary:hover {
    background: #8f1220 !important;
    color: #fff !important;
}

.mh-profile-layout {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.mh-profile-side,
.mh-profile-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.mh-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mh-profile-card {
    margin: 0;
    padding: 20px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(70, 28, 18, .06);
    animation: mhProfileIn .5s ease both;
}

.mh-profile-card__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px !important;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(70, 28, 18, .06);
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #1a1210 !important;
}

.mh-profile-card__title i {
    color: #a31523;
    font-size: 14px;
}

.mh-profile-empty {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8f3ef;
    color: #7a6a65;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.mh-profile-dl {
    margin: 0;
}

.mh-profile-dl__row {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 8px 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(70, 28, 18, .05);
}

.mh-profile-dl__row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.mh-profile-dl__row:first-child {
    padding-top: 0;
}

.mh-profile-dl dt {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #8a7872;
}

.mh-profile-dl dd {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #1a1210;
    word-break: break-word;
}

.mh-profile-pets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mh-profile-pet {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 8px;
    border-radius: 14px;
    background: #f8f3ef;
    text-decoration: none !important;
    color: #1a1210 !important;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease;
}

.mh-profile-pet:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(70, 28, 18, .1);
    color: #a31523 !important;
}

.mh-profile-pet img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.mh-profile-friends {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mh-profile-friend {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: #f8f3ef;
    color: #a31523 !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .18s ease, color .18s ease;
}

.mh-profile-friend:hover {
    background: #a31523;
    color: #fff !important;
}

.mh-profile-topics {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mh-profile-topic {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #faf7f3;
    color: #1a1210 !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    transition: background .18s ease, transform .18s ease;
}

.mh-profile-topic i {
    margin-top: 2px;
    color: #a31523;
    opacity: .85;
}

.mh-profile-topic:hover {
    background: #fff0f1;
    transform: translateX(2px);
    color: #a31523 !important;
}

.mh-profile-wall {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mh-profile-msg {
    padding: 14px;
    border-radius: 16px;
    background: #faf7f3;
}

.mh-profile-msg__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.mh-profile-msg__avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    background: #fff;
    flex-shrink: 0;
}

.mh-profile-msg__meta {
    flex: 1;
    min-width: 0;
}

.mh-profile-msg__meta strong {
    display: block;
    font-size: 14px;
    color: #1a1210;
}

.mh-profile-msg__meta time {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 600;
    color: #8a7872;
}

.mh-profile-msg__del {
    color: #9a4a3a !important;
    font-size: 14px;
    text-decoration: none !important;
    padding: 6px;
}

.mh-profile-msg__body {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
    color: #3a2e2a;
    word-break: break-word;
}

.mh-profile-compose {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(70, 28, 18, .06);
}

.mh-profile-compose__label {
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 800;
    color: #5c4d48;
}

.mh-profile-compose__input {
    display: block !important;
    width: 100% !important;
    min-height: 110px !important;
    margin: 0 0 12px !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(80, 40, 30, .1) !important;
    border-radius: 14px !important;
    background: #faf7f3 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a1210 !important;
    resize: vertical;
    box-sizing: border-box !important;
}

.mh-profile-compose__input:focus {
    outline: none;
    border-color: rgba(163, 21, 35, .35) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(163, 21, 35, .1);
}

@keyframes mhProfileIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
    .mh-profile-layout,
    .mh-profile-grid {
        grid-template-columns: 1fr;
    }

    .mh-profile-hero {
        padding: 22px 18px;
    }

    .mh-profile-hero__avatar {
        width: 104px !important;
        height: 104px !important;
        border-radius: 22px !important;
    }

    .mh-profile-dl__row {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}
