/* مجهول — ثيم صفحة البروفايل العامة */

.profile-page {
    --profile-accent: #8b5cf6;
    --profile-accent-ring: color-mix(in srgb, var(--profile-accent) 22%, transparent);
    --profile-accent-border: color-mix(in srgb, var(--profile-accent) 45%, transparent);
    --profile-accent-soft: color-mix(in srgb, var(--profile-accent) 14%, transparent);
}

.profile-page .profile-accent-gradient {
    background: linear-gradient(
        to left,
        var(--profile-accent),
        color-mix(in srgb, var(--profile-accent) 80%, transparent)
    );
}

.profile-page .profile-accent-link {
    color: var(--profile-accent);
    transition: filter 0.2s ease;
}

.profile-page .profile-accent-link:hover {
    filter: brightness(1.15);
}

.profile-page .profile-accent-input:focus {
    border-color: var(--profile-accent-border) !important;
    box-shadow: 0 0 0 2px var(--profile-accent-ring);
    outline: none;
}

.profile-page textarea.profile-message-input,
.profile-page #content.profile-message-input {
    font-family: 'IBM Plex Sans Arabic', 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', emoji !important;
    font-variant-emoji: emoji;
    font-feature-settings: 'emoji';
    text-rendering: optimizeLegibility;
}

.profile-idemoj {
    width: 97%;
    margin: 5px;
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 4px;
    font-size: 22px;
    line-height: 1.4;
    font-family: 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', emoji !important;
    font-variant-emoji: emoji;
    font-feature-settings: 'emoji';
}

.profile-idemoj__emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    min-height: 1.75rem;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.profile-page .profile-accent-btn-solid {
    background-color: var(--profile-accent);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.profile-page .profile-accent-btn-solid:hover {
    filter: brightness(1.08);
}

.profile-page .profile-accent-btn-outline:hover {
    border-color: var(--profile-accent-border);
    background: var(--profile-accent-soft);
}

.profile-page .profile-accent-muted {
    color: color-mix(in srgb, var(--profile-accent) 75%, white);
}

.profile-page .profile-theme-bg {
    position: absolute;
    inset: 0;
    z-index: -10;
    pointer-events: none;
    background: linear-gradient(to bottom, var(--profile-bg-from), transparent 70%);
}

.profile-page.profile-theme-default {
    --profile-bg-from: color-mix(in srgb, #8b5cf6 18%, transparent);
}

.profile-page.profile-theme-midnight {
    --profile-bg-from: color-mix(in srgb, #6366f1 28%, transparent);
}

.profile-page.profile-theme-sunset {
    --profile-bg-from: color-mix(in srgb, #f97316 28%, transparent);
}

.profile-page.profile-theme-ocean {
    --profile-bg-from: color-mix(in srgb, #06b6d4 28%, transparent);
}

.profile-page.profile-theme-rose {
    --profile-bg-from: color-mix(in srgb, #ec4899 28%, transparent);
}

/* نافذة نجاح إرسال الرسالة — mobile-first bottom sheet */
.profile-success-modal-root {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}

.profile-success-modal-root[x-cloak] {
    display: none !important;
}

.profile-success-modal-root__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: auto;
}

.profile-success-modal-root__wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 22rem;
    pointer-events: auto;
    padding: 0 0.75rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
}

.profile-success-modal__sheet {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem 1.25rem 0.875rem 0.875rem;
    background: rgba(15, 10, 30, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.profile-success-modal__handle {
    width: 2.25rem;
    height: 0.25rem;
    margin: 0.625rem auto 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.profile-success-modal__close {
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.15s ease, background 0.15s ease;
}

.profile-success-modal__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.profile-success-modal__header {
    padding: 0.5rem 1rem 0.875rem;
    text-align: center;
    background: linear-gradient(
        to bottom,
        color-mix(in srgb, var(--profile-accent, #8b5cf6) 16%, transparent),
        transparent
    );
}

.profile-success-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.5rem;
    border-radius: 0.875rem;
    font-size: 1.375rem;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(52, 211, 153, 0.28);
    animation: profile-success-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.profile-success-modal__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 0.25rem;
}

.profile-success-modal__subtitle {
    font-size: 0.8125rem;
    color: rgba(209, 213, 219, 0.92);
    line-height: 1.5;
}

.profile-success-modal__subtitle strong {
    color: #fff;
    font-weight: 600;
}

.profile-success-modal__body {
    padding: 0 1rem 1rem;
}

.profile-success-modal__pitch {
    font-size: 0.8125rem;
    color: rgba(209, 213, 219, 0.88);
    text-align: center;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.profile-success-modal__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.profile-success-modal__feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.5rem 0.25rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.625rem;
    color: rgba(156, 163, 175, 0.95);
    line-height: 1.2;
}

.profile-success-modal__feature span:first-child {
    font-size: 1rem;
    line-height: 1;
}

.profile-success-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-success-modal__btn-primary {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background: linear-gradient(
        to left,
        var(--profile-accent, #8b5cf6),
        color-mix(in srgb, var(--profile-accent, #8b5cf6) 78%, transparent)
    );
    box-shadow: 0 8px 20px color-mix(in srgb, var(--profile-accent, #8b5cf6) 28%, transparent);
    transition: transform 0.15s ease, filter 0.15s ease;
}

.profile-success-modal__btn-primary:active {
    transform: scale(0.98);
    filter: brightness(1.05);
}

.profile-success-modal__btn-secondary {
    width: 100%;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(156, 163, 175, 0.95);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.15s ease, background 0.15s ease;
}

.profile-success-modal__btn-secondary:active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
    .profile-success-modal-root {
        align-items: center;
        padding: 1rem;
    }

    .profile-success-modal-root__wrap {
        padding: 0;
    }

    .profile-success-modal__sheet {
        border-radius: 1.125rem;
    }

    .profile-success-modal__handle {
        display: none;
    }

    .profile-success-modal__header {
        padding: 1.25rem 1.25rem 1rem;
    }

    .profile-success-modal__body {
        padding: 0 1.25rem 1.25rem;
    }

    .profile-success-modal__title {
        font-size: 1.125rem;
    }
}

@keyframes profile-success-pop {
    0% {
        opacity: 0;
        transform: scale(0.55) translateY(6px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.profile-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.profile-social-link .share-platform-icon {
    width: 1.35rem;
    height: 1.35rem;
}

.profile-social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.profile-social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.profile-social-link--snapchat {
    color: #000;
    background: #fffc00;
    border-color: rgba(0, 0, 0, 0.14);
}

.profile-social-link--snapchat:hover {
    background: #fff545;
    border-color: rgba(0, 0, 0, 0.22);
}

.profile-social-link--instagram {
    background: linear-gradient(135deg, rgba(253, 89, 73, 0.14), rgba(214, 36, 159, 0.14), rgba(40, 90, 235, 0.14));
    border-color: rgba(214, 36, 159, 0.32);
}

.profile-social-link--whatsapp {
    color: #25d366;
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.28);
}

.profile-social-link--telegram {
    color: #26a5e4;
    background: rgba(38, 165, 228, 0.12);
    border-color: rgba(38, 165, 228, 0.28);
}

.profile-social-link--twitter {
    color: #f3f4f6;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.profile-social-link--tiktok {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(254, 44, 85, 0.35);
    box-shadow: inset 0 0 0 1px rgba(0, 242, 234, 0.08);
}

.profile-social-link--tiktok .share-platform-icon {
    filter: drop-shadow(0 0 6px rgba(254, 44, 85, 0.25));
}

.profile-social-link--youtube {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.28);
}

.profile-social-link--facebook {
    color: #1877f2;
    background: rgba(24, 119, 242, 0.12);
    border-color: rgba(24, 119, 242, 0.28);
}

.profile-social-link--website {
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.28);
}

.profile-sheet {
    position: fixed;
    inset: 0;
    z-index: 180;
    pointer-events: none;
}

.profile-sheet[aria-hidden='false'] {
    pointer-events: auto;
}

.profile-sheet__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.profile-sheet[aria-hidden='false'] .profile-sheet__overlay {
    opacity: 1;
}

.profile-sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    max-width: 32rem;
    background: #14141c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem 1.25rem 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.profile-sheet[aria-hidden='false'] .profile-sheet__panel {
    transform: translateY(0);
}

.profile-sheet__handle {
    width: 2.5rem;
    height: 0.25rem;
    margin: 0.75rem auto 0;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.2);
}

.profile-sheet__close {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
}

/* تحميل الصفحة */
.profile-loading {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 15, 20, 0.92);
    backdrop-filter: blur(8px);
    transition: opacity 0.35s ease, visibility 0.35s ease;
    animation: profile-loading-auto-hide 0.35s ease 1s forwards;
}

.profile-loading--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none !important;
    animation: none;
}

@keyframes profile-loading-auto-hide {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.profile-loading__panel {
    text-align: center;
    padding: 2rem;
}

.profile-loading__spinner {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 1rem;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--profile-accent, #8b5cf6);
    border-radius: 50%;
    animation: profile-spin 0.8s linear infinite;
}

.profile-loading__title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.profile-loading__hint {
    font-size: 0.75rem;
    color: #9ca3af;
}

@keyframes profile-spin {
    to {
        transform: rotate(360deg);
    }
}

.profile-idemoj__emoji:hover {
    transform: scale(1.15);
}

.profile-voice-recorder__bar {
    min-height: 3.25rem;
}

.profile-voice-recorder__actions button {
    line-height: 1.2;
}

.profile-voice-preview {
    display: block;
    width: calc(100% - 2rem);
    margin: 0 1rem 0.75rem;
}

.profile-voice-preview.hidden {
    display: none;
}

@media (max-width: 380px) {
    .profile-voice-recorder__bar {
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }

    .profile-voice-recorder__actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* عدّاد الأحرف + مفتاح بشكل سري — صف واحد (sarhne) */
.profile-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    direction: ltr;
    margin-top: 0.25rem;
    margin-bottom: 0.625rem;
}

.profile-char-count {
    margin: 0;
    direction: ltr;
    font-size: 0.75rem;
    color: #9ca3af;
    flex-shrink: 0;
}

.profile-char-count b {
    font-weight: 700;
}

/* مفتاح بشكل سري — بجانب العدّاد، التبديل على اليمين */
.switch-label {
    display: block;
    position: relative;
    width: auto;
    flex: 0 1 auto;
    min-height: 31px;
    line-height: 31px;
    margin: 0 0 0 auto;
    padding-inline-start: 62px;
    direction: rtl;
    text-align: start;
    cursor: pointer;
    user-select: none;
    font-size: 1rem;
    white-space: nowrap;
}

.switch-label small {
    font-size: inherit;
    line-height: inherit;
}

.switch-label::before,
.switch-label::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: inset-inline-start 0.25s ease, background-color 0.25s ease;
}

.switch-label::before {
    inset-inline-start: 0;
    width: 52px;
    height: 28px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
}

.switch-label::after {
    inset-inline-start: 26px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
}

.switch-label.is-secret::before,
.switch-label--locked::before {
    background: #22c55e;
}

.switch-label.is-secret::after,
.switch-label--locked::after {
    inset-inline-start: 26px;
}

.switch-label.is-revealed::before {
    background: #ef4444;
}

.switch-label.is-revealed::after {
    inset-inline-start: 2px;
}

.switch-label:focus-visible {
    outline: 2px solid var(--profile-accent, #8b5cf6);
    outline-offset: 3px;
    border-radius: 0.375rem;
}

.switch-label .green {
    color: #4ade80;
}

.switch-label .red {
    color: #f87171;
}

.switch-label .toggle--off {
    display: none;
}

.switch-label.is-revealed .toggle--on {
    display: none;
}

.switch-label.is-revealed .toggle--off {
    display: inline;
}

.switch-label--locked .toggle--on {
    display: inline;
}

.switch-label--locked .toggle--off {
    display: none;
}

/* أقترح سؤال + شعار + أضافة صورة */
.profile-add-photo-msg {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    min-height: 2.75rem;
}

.profile-add-photo-msg__side {
    display: flex;
    align-items: center;
    min-width: 0;
}

.profile-add-photo-msg__side--start {
    justify-content: flex-start;
}

.profile-add-photo-msg__side--end {
    justify-content: flex-end;
}

.profile-add-photo-msg__brand {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.profile-add-photo-msg__logo-link {
    display: inline-flex;
    line-height: 0;
    transition: transform 0.3s ease;
}

.profile-add-photo-msg__logo-link:hover {
    transform: scale(1.06);
}

.profile-add-photo-msg__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.65rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: background 0.15s ease;
    max-width: 100%;
    white-space: nowrap;
}

.profile-add-photo-msg__btn-text {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 380px) {
    .profile-add-photo-msg__btn-text {
        display: none;
    }

    .profile-add-photo-msg__btn {
        padding: 0.5rem 0.6rem;
    }
}

.profile-add-photo-msg__btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.profile-photo-preview {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 2.5rem;
    margin-top: 0.5rem;
}

.profile-photo-preview.is-visible {
    display: flex;
}

.profile-photo-preview__img {
    max-height: 150px;
    border-radius: 5px;
    overflow: hidden;
}

.profile-photo-preview__img:not([src]),
.profile-photo-preview__img[src=""] {
    display: none;
}

.remove_photo_msg {
    font-size: 0.75rem;
    color: #9ca3af;
    background: none;
    border: 0;
    cursor: pointer;
}

.remove_photo_msg:hover {
    color: #fca5a5;
}

/* رسائل عامة — box2 */
.profile-box2 {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-box2__loading {
    text-align: center;
    padding: 1rem 0;
}

.profile-box2__loading-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 0.75rem;
}

.profile-box2__loading-hint {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-top: 0.75rem;
}

.profile-box2__spinner {
    width: 2rem;
    height: 2rem;
    margin: 0 auto;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--profile-accent, #8b5cf6);
    border-radius: 50%;
    animation: profile-spin 0.8s linear infinite;
}

.profile-box2__hr {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.75rem 0;
}

.profile-box2__item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-box2__section-title {
    text-align: right;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #e5e7eb;
    margin: 0 0 0.5rem;
    line-height: 1.5;
}

.timeline-centered {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline-centered:last-child {
    border-bottom: 0;
}

.timeline-entry {
    margin: 0;
}

.timeline-entry-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 40px;
    align-items: start;
    gap: 0.65rem;
    direction: ltr;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.28);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.15);
}

.timeline-icon__logo,
.timeline-icon .site-logo {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.35) !important;
}

.timeline-label {
    padding: 0.75rem 0.85rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    direction: rtl;
    text-align: right;
}

.timeline-label__meta {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.timeline-label__content {
    margin-bottom: 0.35rem;
}

.textBottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 1.75rem;
    margin-top: 0.35rem;
}

.profile-box2__like {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.55);
    transition: transform 0.15s ease, color 0.15s ease;
}

.profile-box2__like:hover {
    transform: scale(1.05);
    color: #f472b6;
}

.profile-box2__like.is-liked {
    color: #f472b6;
}

.profile-box2__like.is-liked .profile-box2__like-icon {
    filter: brightness(0) saturate(100%) invert(62%) sepia(53%) saturate(2878%) hue-rotate(298deg) brightness(101%) contrast(96%);
}

.profile-box2__like-icon {
    width: 22px;
    height: 22px;
    display: block;
    vertical-align: middle;
}

.profile-box2__like-count {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.52);
    font-weight: 600;
    line-height: 1;
}

.profile-box2__like.is-liked .profile-box2__like-count {
    color: #f472b6;
}

.profile-box2__item:last-child {
    border-bottom: 0;
}

.profile-box2__header {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.35rem;
    line-height: 1.5;
}

.profile-box2__number {
    font-weight: 700;
    color: var(--profile-accent, #a78bfa);
}

.profile-box2__sender {
    color: #d1d5db;
    font-weight: 500;
}

.profile-box2__text {
    color: #f3f4f6;
    line-height: 1.6;
    word-break: break-word;
    font-size: 0.9375rem;
}

.profile-box2__image {
    max-height: 12rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.35rem;
}

.profile-box2__load-more {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.625rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.profile-box2__load-more:hover {
    background: rgba(255, 255, 255, 0.1);
}

.profile-page.profile-theme-sarhne {
    --profile-accent: #f0776c;
    --profile-bg-from: rgba(240, 119, 108, 0.14);
    color: #25373d;
}

.profile-page.profile-theme-sarhne .glass-card {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(37, 55, 61, 0.1);
    color: #25373d;
    box-shadow: 0 8px 24px rgba(37, 55, 61, 0.08);
}

.profile-page.profile-theme-sarhne .text-white,
.profile-page.profile-theme-sarhne h1,
.profile-page.profile-theme-sarhne h2 {
    color: #25373d !important;
}

.profile-page.profile-theme-sarhne .text-gray-100,
.profile-page.profile-theme-sarhne .text-gray-200,
.profile-page.profile-theme-sarhne .text-gray-300 {
    color: #3d4f57 !important;
}

.profile-page.profile-theme-sarhne .text-gray-400,
.profile-page.profile-theme-sarhne .text-gray-500 {
    color: #5c6b72 !important;
}

.profile-page.profile-theme-sarhne .profile-accent-input,
.profile-page.profile-theme-sarhne textarea,
.profile-page.profile-theme-sarhne input[type="file"] + label {
    background: #fff !important;
    border-color: rgba(37, 55, 61, 0.15) !important;
    color: #25373d !important;
}

.profile-page.profile-theme-sarhne .profile-accent-input::placeholder,
.profile-page.profile-theme-sarhne textarea::placeholder {
    color: #8a9aa1 !important;
}

.profile-page.profile-theme-sarhne .profile-box2 {
    background: #fff;
    border-color: rgba(37, 55, 61, 0.1);
}

.profile-page.profile-theme-sarhne .profile-box2__text,
.profile-page.profile-theme-sarhne .profile-box2__loading-title,
.profile-page.profile-theme-sarhne .profile-box2__loading-hint {
    color: #25373d;
}

.profile-page.profile-theme-sarhne .profile-box2__header,
.profile-page.profile-theme-sarhne .profile-box2__meta {
    color: #5c6b72;
}

.profile-page.profile-theme-sarhne .profile-add-photo-msg__btn,
.profile-page.profile-theme-sarhne .profile-idemoj__emoji,
.profile-page.profile-theme-sarhne .profile-pwa-install {
    background: rgba(240, 119, 108, 0.08);
    border-color: rgba(240, 119, 108, 0.25);
    color: #25373d;
}

.profile-page.profile-theme-sarhne .profile-visits-stat {
    color: #5c6b72;
}

.profile-page.profile-theme-sarhne .profile-visits-stat strong {
    color: #f0776c;
}

.profile-page.profile-theme-sarhne .profile-accent-gradient,
.profile-page.profile-theme-sarhne .profile-accent-btn-solid,
.profile-page.profile-theme-sarhne #profile-submit-btn {
    background: linear-gradient(to left, #f0776c, #f1766c) !important;
    color: #fff !important;
}

.profile-page.profile-theme-sarhne .switch-label .green {
    color: #16a34a;
}

.profile-page.profile-theme-sarhne .switch-label .red {
    color: #dc2626;
}

.profile-page.profile-theme-sarhne .switch-label.is-secret::before,
.profile-page.profile-theme-sarhne .switch-label--locked::before {
    background: #16a34a;
}

.profile-page.profile-theme-sarhne .switch-label.is-revealed::before {
    background: #dc2626;
}

/* عدّاد الزيارات */
.profile-visits-stat {
    color: #9ca3af;
}

.profile-visits-stat strong {
    color: var(--profile-accent, #8b5cf6);
    font-weight: 700;
}

/* زر تثبيت PWA على البروفايل */
.profile-pwa-install.hidden {
    display: none;
}

/* تفاعلات الرسائل العامة */
.profile-page.profile-theme-sarhne .profile-box2__section-title,
.profile-page.profile-theme-sarhne .timeline-label__meta {
    color: #5c6b72;
}

.profile-page.profile-theme-sarhne .timeline-label {
    background: #fff;
    border-color: rgba(37, 55, 61, 0.1);
}

.profile-page.profile-theme-sarhne .timeline-icon {
    background: rgba(240, 119, 108, 0.12);
    border-color: rgba(240, 119, 108, 0.28);
    box-shadow: 0 2px 8px rgba(240, 119, 108, 0.12);
}

.profile-page.profile-theme-sarhne .profile-box2__like-count {
    color: rgba(37, 55, 61, 0.52);
}

.profile-page.profile-theme-sarhne .profile-box2__like.is-liked,
.profile-page.profile-theme-sarhne .profile-box2__like.is-liked .profile-box2__like-count {
    color: #f0776c;
}

.profile-qr summary::-webkit-details-marker {
    display: none;
}

.profile-qr summary::marker {
    content: '';
}
