/*
 * Profile metric icon language.
 * Uses the shared SVG set with semantic color instead of nested icon boxes.
 */
.profile-page .profile-stats-mini .stat-mini {
    --profile-metric-color: #64748b;
}

.profile-page .profile-stats-mini .stat-mini:nth-child(1) {
    --profile-metric-color: #d79a14;
}

.profile-page .profile-stats-mini .stat-mini:nth-child(2) {
    --profile-metric-color: #e11d48;
}

.profile-page .profile-stats-mini .stat-mini:nth-child(3) {
    --profile-metric-color: #3b82f6;
}

.profile-page .profile-stats-mini .stat-mini:nth-child(4) {
    --profile-metric-color: #06b6d4;
}

.profile-page .profile-stats-mini .profile-inline-icon {
    color: var(--profile-metric-color) !important;
}

.profile-page .profile-stats-mini .profile-inline-icon svg {
    fill: color-mix(in srgb, var(--profile-metric-color) 10%, transparent) !important;
    stroke: currentColor !important;
    filter: drop-shadow(0 0 5px color-mix(in srgb, var(--profile-metric-color) 24%, transparent));
}

.profile-page .stats-grid .stat-box {
    --profile-metric-color: #64748b;
}

.profile-page .stats-grid .stat-box:nth-child(1) {
    --profile-metric-color: #3b82f6;
}

.profile-page .stats-grid .stat-box:nth-child(2) {
    --profile-metric-color: #06b6d4;
}

.profile-page .stats-grid .stat-box:nth-child(3) {
    --profile-metric-color: #e11d48;
}

.profile-page .stats-grid .stat-box:nth-child(4) {
    --profile-metric-color: #d79a14;
}

.profile-page .stats-grid .stat-box:nth-child(5) {
    --profile-metric-color: #10b981;
}

.profile-page .stats-grid .stat-box {
    position: relative !important;
    overflow: hidden !important;
    padding: 0.55rem 0.25rem 0.45rem !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    text-align: center !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    min-width: 0 !important;
}

.profile-page .stats-grid .stat-box::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: var(--profile-metric-color, #7f1d1d) !important;
    border-radius: 10px 10px 0 0 !important;
}

.profile-page .stats-grid .stat-box:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07) !important;
    border-color: var(--profile-metric-color, #cbd5e1) !important;
}

.profile-page .stats-grid .stat-icon {
    width: 28px !important;
    height: 28px !important;
    margin: 0 auto 0.28rem !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid color-mix(in srgb, var(--profile-metric-color) 25%, transparent) !important;
    border-radius: 7px !important;
    background: color-mix(in srgb, var(--profile-metric-color) 10%, transparent) !important;
    color: var(--profile-metric-color) !important;
    box-shadow: 0 1px 3px color-mix(in srgb, var(--profile-metric-color) 12%, transparent) !important;
    transition: transform 0.2s ease !important;
}

.profile-page .stats-grid .stat-box:hover .stat-icon {
    transform: scale(1.05) !important;
}

.profile-page .stats-grid .stat-icon svg {
    width: 14px !important;
    height: 14px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
}

.profile-page .stats-grid .stat-number {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    margin-bottom: 0.12rem !important;
    letter-spacing: -0.015em !important;
    color: #0f172a !important;
}

.profile-page .stats-grid .stat-name {
    font-size: 0.63rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.01em !important;
    color: #64748b !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding: 0 1px !important;
}

.profile-page .content-section > h2 .section-title-icon {
    color: #7f1d1d;
}

.profile-page .content-section > h2 .section-title-icon svg {
    fill: rgba(127, 29, 29, 0.08) !important;
    stroke: currentColor !important;
}

.profile-page .stats-grid .stat-box:nth-child(6) { --profile-metric-color: #f97316; }
.profile-page .stats-grid .stat-box:nth-child(7) { --profile-metric-color: #8b5cf6; }
.profile-page .stats-grid .stat-box:nth-child(8) { --profile-metric-color: #0f766e; }

.profile-page .profile-full-name {
    margin: 0.35rem 0 0;
    color: #334155;
    font-size: 0.95rem;
}

.profile-page .profile-privacy-note,
.profile-page .profile-contact-public {
    margin: 0.65rem 0 0;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #111827;
    font-size: 0.85rem;
}

.profile-page .profile-contact-public p {
    margin: 0.2rem 0;
}

.profile-page .profile-privacy-levels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-page .profile-privacy-option,
.profile-page .profile-privacy-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(127, 29, 29, 0.16);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    font-size: 0.9rem;
}

.profile-page .profile-privacy-flags {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}

.profile-page .profile-privacy-hint {
    display: block;
    margin-top: 0.55rem;
    color: #6b7280;
}
/* Profile editing controls: compact, scannable privacy settings. */
body.mk-page-profile .profile-page {
    width: min(calc(100% - 2rem), var(--mk-container, 1220px)) !important;
    max-width: var(--mk-container, 1220px) !important;
    margin-inline: auto !important;
    margin-top: 1.5rem !important;
    margin-bottom: 3.5rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}
body.mk-page-profile .profile-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 290px minmax(0, 1fr) !important;
    gap: 1.5rem !important;
    align-items: start !important;
    box-sizing: border-box !important;
}
body.mk-page-profile .profile-card,
body.mk-page-profile .content-section {
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}
body.mk-page-profile .content-section {
    padding: 1.35rem 1.5rem;
}
body.mk-page-profile .content-section > h2 {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1.08rem;
}
body.mk-page-profile .profile-privacy-block {
    margin-top: 1rem;
    padding: .9rem;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #f8fafc;
}
body.mk-page-profile .profile-privacy-block > label:first-child {
    margin-bottom: .55rem;
    color: #334155;
    font-size: .78rem;
    font-weight: 800;
}
body.mk-page-profile .profile-privacy-levels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
}
body.mk-page-profile .profile-privacy-option,
body.mk-page-profile .profile-privacy-flag {
    min-width: 0;
    min-height: 38px;
    box-sizing: border-box;
    padding: .45rem .6rem;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: .78rem;
    line-height: 1.2;
}
body.mk-page-profile .profile-privacy-option:has(input:checked),
body.mk-page-profile .profile-privacy-flag:has(input:checked) {
    border-color: #d9a7a9;
    background: #fff5f5;
    color: #8f1f22;
}
body.mk-page-profile .profile-privacy-option input,
body.mk-page-profile .profile-privacy-flag input {
    width: 16px;
    min-width: 16px !important;
    height: 16px;
    min-height: 16px;
    margin: 0;
    padding: 0;
    accent-color: #991f24;
}
body.mk-page-profile .profile-privacy-flags {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
    margin-top: .85rem;
    padding: .9rem;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #fff;
}
body.mk-page-profile .profile-privacy-flags > small {
    grid-column: 1 / -1;
    color: #64748b;
    font-size: .72rem;
}
@media (max-width: 900px) {
    body.mk-page-profile .profile-container {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    body.mk-page-profile .profile-sidebar {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: block !important;
    }
    body.mk-page-profile .profile-card {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    body.mk-page-profile .profile-card-inner {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    body.mk-page-profile .profile-content {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        box-sizing: border-box !important;
    }
}
@media (max-width: 600px) {
    body.mk-page-profile .profile-page { width: min(calc(100% - 1rem), 1320px) !important; }
    body.mk-page-profile .profile-privacy-levels,
    body.mk-page-profile .profile-privacy-flags { grid-template-columns: 1fr; }
    body.mk-page-profile .profile-privacy-flags > small { grid-column: auto; }
}

/* ═══════════════════════════════════════════════════════════
   PROFİL AVATAR ÇERÇEVESİ & FALLBACK HARF GÖSTERİMİ
   ═══════════════════════════════════════════════════════════ */
.profile-page .profile-avatar {
    position: relative !important;
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto 1.25rem !important;
    border-radius: 50% !important;
    background: #f8fafc !important;
    border: 3px solid #e2e8f0 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.profile-page .profile-avatar.is-online {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16), 0 8px 24px rgba(15, 23, 42, 0.08) !important;
}

.profile-page .profile-avatar img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.profile-page .profile-avatar [hidden],
.profile-page .profile-avatar .profile-avatar-fallback[hidden],
.profile-page .profile-avatar img[hidden] {
    display: none;
}

.profile-page .profile-avatar .avatar-placeholder:not([hidden]),
.profile-page .profile-avatar .profile-avatar-fallback:not([hidden]) {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: #ffffff;
    box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.15);
}

.profile-page .profile-avatar .avatar-placeholder.rank-special-package:not([hidden]),
.profile-page .profile-avatar .profile-avatar-fallback.rank-special-package:not([hidden]) {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%) !important;
    color: #ffffff !important;
}

.profile-page .profile-avatar-rank {
    position: absolute !important;
    bottom: -2px !important;
    right: -2px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    z-index: 3 !important;
}

/* ═══════════════════════════════════════════════════════════
   DOKÜMAN KATEGORİLERİ TARZI PREMİUM PROFİL ÇERÇEVELERİ
   ═══════════════════════════════════════════════════════════ */
body.mk-page-profile .profile-card,
body.mk-page-profile .content-section,
body.mk-page-profile .profile-invitation-center {
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid var(--mk-color-line, #e2e8f0) !important;
    border-radius: var(--mk-radius-xl, 14px) !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

body.mk-page-profile .profile-card::before,
body.mk-page-profile .content-section::before,
body.mk-page-profile .profile-invitation-center::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 4px !important;
    background: linear-gradient(180deg, #dc2626, #f97316) !important;
}

body.mk-page-profile .content-section:nth-of-type(2)::before {
    background: linear-gradient(180deg, #0284c7, #06b6d4) !important;
}

body.mk-page-profile .content-section:nth-of-type(3)::before {
    background: linear-gradient(180deg, #6366f1, #8b5cf6) !important;
}

body.mk-page-profile .content-section:nth-of-type(4)::before {
    background: linear-gradient(180deg, #10b981, #14b8a6) !important;
}

body.mk-page-profile .profile-card:hover,
body.mk-page-profile .content-section:hover,
body.mk-page-profile .profile-invitation-center:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08) !important;
}

body.mk-page-profile .content-section > h2 {
    font-size: 1.22rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    letter-spacing: -0.01em !important;
}

/* ═══════════════════════════════════════════════════════════
   DAVETİYE MERKEZİ & KOPYALAMA BUTONU PREMİUM TASARIMI
   ═══════════════════════════════════════════════════════════ */
body.mk-page-profile .profile-invitation-center {
    padding: 1.5rem !important;
}

/* Davetiye Merkezi - Başlık ve Karşısındaki Sağ Aksiyon Butonu */
body.mk-page-profile .profile-invitation-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.25rem !important;
    margin-bottom: 1.15rem !important;
    padding-bottom: 0.85rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

body.mk-page-profile .profile-invitation-heading-info {
    flex: 1 1 auto !important;
}

body.mk-page-profile .profile-invitation-heading-info h2 {
    font-size: 1.18rem !important;
    font-weight: 850 !important;
    color: #0f172a !important;
    margin: 0 0 0.25rem 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

body.mk-page-profile .profile-invitation-heading-info p {
    font-size: 0.84rem !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

body.mk-page-profile .profile-invitation-heading-action {
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Davetiye Merkezi - 4'lü Dengeli İstatistik Çerçeveleri */
body.mk-page-profile .invite-center-bar {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    margin: 0 0 1.25rem 0 !important;
}

body.mk-page-profile .invite-inline-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    white-space: nowrap;
    width: 100% !important;
    min-height: 44px;
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.mk-page-profile .invite-inline-chip:hover {
    transform: translateY(-1px) !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06) !important;
}

body.mk-page-profile .invite-chip-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.mk-page-profile .invite-chip-icon svg {
    width: 13px !important;
    height: 13px !important;
    stroke: currentColor;
    fill: none;
}

body.mk-page-profile .invite-inline-chip.chip-total {
    border-left: 3.5px solid #2563eb;
}
body.mk-page-profile .invite-inline-chip.chip-total .invite-chip-icon {
    background: #eff6ff;
    color: #2563eb;
}

body.mk-page-profile .invite-inline-chip.chip-created {
    border-left: 3.5px solid #7c3aed;
}
body.mk-page-profile .invite-inline-chip.chip-created .invite-chip-icon {
    background: #faf5ff;
    color: #7c3aed;
}

body.mk-page-profile .invite-inline-chip.chip-used {
    border-left: 3.5px solid #059669;
}
body.mk-page-profile .invite-inline-chip.chip-used .invite-chip-icon {
    background: #ecfdf5;
    color: #059669;
}

body.mk-page-profile .invite-inline-chip.chip-remaining {
    border-left: 3.5px solid #b91c1c;
}
body.mk-page-profile .invite-inline-chip.chip-remaining .invite-chip-icon {
    background: #fef2f2;
    color: #b91c1c;
}

body.mk-page-profile .invite-chip-label {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    letter-spacing: 0.01em !important;
}

body.mk-page-profile .invite-chip-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    margin-left: 0.15rem;
}

body.mk-page-profile .invite-inline-action {
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

body.mk-page-profile .btn-create-invite {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 1.15rem !important;
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%) !important;
    color: #ffffff !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(127, 29, 29, 0.25) !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
}

body.mk-page-profile .btn-create-invite:hover:not(:disabled) {
    background: linear-gradient(135deg, #5f1515 0%, #7f1d1d 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(127, 29, 29, 0.35) !important;
    color: #ffffff !important;
}

body.mk-page-profile .btn-create-invite.is-disabled,
body.mk-page-profile .btn-create-invite:disabled {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

@media (max-width: 900px) {
    body.mk-page-profile .invite-center-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    body.mk-page-profile .profile-invitation-heading {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.85rem !important;
    }
    body.mk-page-profile .profile-invitation-heading-action {
        width: 100% !important;
    }
    body.mk-page-profile .profile-invitation-heading-action form {
        width: 100% !important;
    }
    body.mk-page-profile .profile-invitation-heading-action .btn-create-invite {
        width: 100% !important;
    }
    body.mk-page-profile .invite-center-bar {
        grid-template-columns: 1fr !important;
    }
}

body.mk-page-profile .btn-create-invite svg {
    width: 14px !important;
    height: 14px !important;
    stroke: currentColor !important;
}

body.mk-page-profile .invite-info-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    margin: 1rem 0 1.25rem !important;
}

@media (max-width: 768px) {
    body.mk-page-profile .invite-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

body.mk-page-profile .invite-stat {
    position: relative !important;
    overflow: hidden !important;
    padding: 0.7rem 0.85rem !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    text-align: left !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 70px !important;
}

body.mk-page-profile .invite-stat::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: var(--invite-accent, #7f1d1d) !important;
    border-radius: 12px 12px 0 0 !important;
}

body.mk-page-profile .invite-stat.invite-stat-total,
body.mk-page-profile .invite-stat:nth-child(1) {
    --invite-accent: #2563eb;
}

body.mk-page-profile .invite-stat.invite-stat-created,
body.mk-page-profile .invite-stat:nth-child(2) {
    --invite-accent: #7c3aed;
}

body.mk-page-profile .invite-stat.invite-stat-used,
body.mk-page-profile .invite-stat:nth-child(3) {
    --invite-accent: #059669;
}

body.mk-page-profile .invite-stat.invite-stat-remaining,
body.mk-page-profile .invite-stat:nth-child(4) {
    --invite-accent: #b91c1c;
}

body.mk-page-profile .invite-stat:hover {
    transform: translateY(-2px) !important;
    border-color: #cbd5e1 !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07) !important;
}

body.mk-page-profile .invite-stat-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 0.45rem !important;
}

body.mk-page-profile .invite-stat-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: color-mix(in srgb, var(--invite-accent, #7f1d1d) 10%, transparent) !important;
    color: var(--invite-accent, #7f1d1d) !important;
    border: 1px solid color-mix(in srgb, var(--invite-accent, #7f1d1d) 20%, transparent) !important;
}

body.mk-page-profile .invite-stat-icon svg {
    width: 15px !important;
    height: 15px !important;
    stroke: currentColor !important;
    fill: none !important;
}

body.mk-page-profile .invite-number {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    letter-spacing: -0.015em !important;
}

body.mk-page-profile .invite-label {
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}

body.mk-page-profile .profile-invitation-list {
    margin-top: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

body.mk-page-profile .profile-invitation-list-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 0.5rem !important;
}

body.mk-page-profile .profile-invitation-list-heading h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

body.mk-page-profile .profile-invitation-list-heading > span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}

body.mk-page-profile .profile-invitation-item {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 0.85rem !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    transition: all 0.2s ease !important;
}

body.mk-page-profile .profile-invitation-item:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06) !important;
}

body.mk-page-profile .profile-invitation-item.is-used {
    opacity: 0.75 !important;
    background: #f1f5f9 !important;
}

body.mk-page-profile .profile-invitation-code-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.2rem !important;
    min-width: 0 !important;
}

body.mk-page-profile .profile-invitation-code-wrap .invite-code {
    display: inline-block !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #7f1d1d !important;
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    padding: 0.28rem 0.55rem !important;
    border-radius: 6px !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    user-select: all !important;
}

body.mk-page-profile .profile-invitation-item-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
}

/* Davetiye Kopyalama Butonu (Beyaz üzeri beyaz sorunu kesin olarak çözüldü, kurumsal bordo gradient eklendi) */
body.mk-page-profile .btn-copy-invite {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    padding: 0.48rem 0.95rem !important;
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%) !important;
    color: #ffffff !important;
    border: 1px solid #7f1d1d !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(127, 29, 29, 0.22) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
}

body.mk-page-profile .btn-copy-invite:hover {
    background: linear-gradient(135deg, #991b1b 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    border-color: #991b1b !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(127, 29, 29, 0.35) !important;
}

body.mk-page-profile .btn-copy-invite:active {
    transform: translateY(0) !important;
}

body.mk-page-profile .btn-copy-invite .btn-copy-icon {
    display: inline-flex !important;
    align-items: center !important;
}

body.mk-page-profile .btn-copy-invite .btn-copy-icon svg {
    width: 14px !important;
    height: 14px !important;
    stroke: #ffffff;
    fill: none;
}

/* Kopyalandı Başarı Durumu */
body.mk-page-profile .btn-copy-invite.copied,
body.mk-page-profile .btn-copy-invite.is-copied {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    border-color: #059669 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3) !important;
    transform: scale(1.02) !important;
}

@media (max-width: 860px) {
    body.mk-page-profile .profile-invitation-item {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    body.mk-page-profile .profile-invitation-item-actions {
        justify-content: flex-start !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   PROFİL BİLDİR (REPORT) BUTONU & MODAL STACKING YÖNETİMİ
   ═══════════════════════════════════════════════════════════ */
body.mk-page-profile .profile-report-wrap {
    display: block;
    width: 100% !important;
    margin-top: 0.65rem;
    box-sizing: border-box;
}

body.mk-page-profile .profile-report-wrap .content-report-widget {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

body.mk-page-profile .profile-report-wrap .content-report-widget:not([open]) summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 40px;
    padding: 0.55rem 0.95rem;
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: var(--mk-radius, 8px) !important;
    background: rgba(254, 242, 242, 0.85);
    color: #991b1b;
    font-size: 0.88rem;
    font-weight: 700;
    box-sizing: border-box;
    transition: all 0.2s ease !important;
}

body.mk-page-profile .profile-report-wrap .content-report-widget:not([open]) summary:hover {
    background: #fee2e2 !important;
    border-color: #f87171 !important;
    color: #7f1d1d !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.12) !important;
}

body.mk-page-profile.has-report-modal .profile-sidebar,
body.mk-page-profile.has-report-modal .profile-card,
body.mk-page-profile.has-report-modal .profile-actions,
body.mk-page-profile.has-report-modal .profile-report-wrap,
body.mk-page-profile :where(.profile-sidebar, .profile-card, .profile-actions, .profile-report-wrap):has(.content-report-widget[open]) {
    z-index: 999998 !important;
    overflow: visible !important;
    transform: none !important;
    filter: none !important;
    contain: none !important;
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM 2026 USER PROFILE REDESIGN (AESTHETICS & BADGES)
   ═══════════════════════════════════════════════════════════ */

/* 1. Profil Kartı (Cover Banner & Avatar & İç Düzen) */
body.mk-page-profile .profile-card {
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

body.mk-page-profile .profile-card-cover-banner {
    width: 100% !important;
    height: 78px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #881337 100%);
    position: relative;
    overflow: hidden;
}

body.mk-page-profile .profile-card-cover-banner::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px) !important;
    background-size: 12px 12px !important;
    opacity: 0.45 !important;
}

body.mk-page-profile .profile-card-inner {
    padding: 0 1.25rem 1.4rem 1.25rem !important;
    position: relative !important;
}

body.mk-page-profile .profile-avatar {
    width: 114px !important;
    height: 114px !important;
    margin: -48px auto 0.85rem !important;
    position: relative !important;
    z-index: 2 !important;
    border: 4px solid #ffffff !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.14) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

body.mk-page-profile .profile-avatar:hover {
    transform: scale(1.03) !important;
}

body.mk-page-profile .profile-avatar.is-online {
    border-color: #ffffff !important;
    box-shadow: 0 0 0 3px #10b981, 0 10px 25px rgba(16, 185, 129, 0.25) !important;
}

body.mk-page-profile .profile-username {
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    color: var(--rank-color, #0f172a) !important;
    margin: 0.5rem 0 0.2rem !important;
    letter-spacing: -0.02em !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    flex-wrap: wrap !important;
}

body.mk-page-profile .profile-full-name {
    margin: 0 0 0.65rem !important;
    color: #64748b !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
}

/* Rol / Rütbe Rozeti */
body.mk-page-profile .profile-role-badge {
    margin-bottom: 0.85rem !important;
}

body.mk-page-profile .profile-role-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    padding: 0.45rem 1rem !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1.5px solid var(--rank-color, #dc2626) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
    transition: all 0.2s ease !important;
    color: var(--rank-color, var(--special-badge-color, #dc2626)) !important;
}

body.mk-page-profile .profile-role-pill:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.09) !important;
}

body.mk-page-profile .profile-role-pill .profile-role-icon {
    display: inline-flex;
    align-items: center;
    color: var(--rank-color, var(--special-badge-color, #dc2626));
}

body.mk-page-profile .profile-role-pill .profile-role-icon svg {
    color: var(--rank-color, var(--special-badge-color, #dc2626));
    stroke: var(--rank-color, var(--special-badge-color, #dc2626));
}

body.mk-page-profile .profile-role-pill .profile-role-title {
    font-size: 0.84rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em !important;
    color: inherit !important;
}

body.mk-page-profile .profile-role-pill.rank-special-package {
    background: var(--special-badge-bg, #7f1d1d) !important;
    background-color: var(--special-badge-bg, #7f1d1d) !important;
    color: var(--special-badge-color, #ffffff) !important;
    border: 1.5px solid var(--special-badge-border, var(--rank-color, #991b1b)) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
}

body.mk-page-profile .profile-role-pill.rank-special-package .profile-role-icon,
body.mk-page-profile .profile-role-pill.rank-special-package .profile-role-icon svg,
body.mk-page-profile .profile-role-pill.rank-special-package .profile-role-title {
    color: var(--special-badge-color, #ffffff) !important;
    stroke: var(--special-badge-color, #ffffff) !important;
}

/* 2. Hakkımda Tasarımsal Çerçevesi */
body.mk-page-profile .profile-bio-frame {
    margin: 1.15rem 0 !important;
    padding: 1rem 1.15rem !important;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #b91c1c !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    text-align: left !important;
    transition: all 0.2s ease !important;
}

body.mk-page-profile .profile-bio-frame:hover {
    border-color: #cbd5e1 !important;
    border-left-color: #991b1b !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.07) !important;
}

body.mk-page-profile .profile-bio-frame-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 0.55rem !important;
    padding-bottom: 0.45rem !important;
    border-bottom: 1px dashed #e2e8f0 !important;
}

body.mk-page-profile .profile-bio-frame-title {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    color: #7f1d1d !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

body.mk-page-profile .profile-bio-frame-title .bio-frame-icon svg {
    width: 14px !important;
    height: 14px !important;
    stroke: #b91c1c !important;
    fill: none !important;
}

body.mk-page-profile .profile-bio-frame-quote-decor {
    color: rgba(185, 28, 28, 0.22) !important;
    display: inline-flex !important;
    align-items: center !important;
}

body.mk-page-profile .profile-bio-frame-body p {
    margin: 0 !important;
    color: #334155 !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
    word-break: break-word !important;
}

/* 3. Şehir & Kurum Kartları */
body.mk-page-profile .profile-info-chip {
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    padding: 0.75rem 0.95rem !important;
    margin-bottom: 0.65rem !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03) !important;
    text-align: left !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.mk-page-profile .profile-info-chip:hover {
    border-color: #cbd5e1 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06) !important;
}

/* 4. Sol Profil Sidebar - Modern Bilgi Listesi (Şehir, Kurum, Üyelik, Durum) */
body.mk-page-profile .profile-details-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 13px !important;
    padding: 0.3rem 0.5rem !important;
    margin: 0.85rem 0 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
}

body.mk-page-profile .profile-detail-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0.55rem 0.45rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-align: left !important;
}

body.mk-page-profile .profile-detail-row:last-child {
    border-bottom: none !important;
}

body.mk-page-profile .detail-icon-box {
    width: 28px;
    min-width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.mk-page-profile .detail-icon-box svg {
    width: 14px !important;
    height: 14px !important;
    stroke: currentColor;
    fill: none;
}

body.mk-page-profile .detail-city .detail-icon-box {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

body.mk-page-profile .detail-institution .detail-icon-box {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

body.mk-page-profile .detail-membership .detail-icon-box {
    background: #faf5ff;
    color: #7c3aed;
    border: 1px solid #e9d5ff;
}

body.mk-page-profile .detail-status .detail-icon-box {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

body.mk-page-profile .detail-text-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

body.mk-page-profile .detail-label {
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.03em !important;
    line-height: 1.2;
}

body.mk-page-profile .detail-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    word-break: break-word;
}

body.mk-page-profile .detail-status-pill.online {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.12rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    width: fit-content;
    margin-top: 0.1rem;
}

body.mk-page-profile .online-indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35);
}

/* Geriye Dönük Uyumluluk (Eski Chip ve Meta Sınıfları İçin) */
body.mk-page-profile .profile-info-chip {
    padding: 0.6rem 0.8rem !important;
    border-radius: 11px !important;
    margin-bottom: 0.5rem !important;
}
body.mk-page-profile .profile-meta {
    padding: 0.65rem 0.85rem !important;
    border-radius: 11px !important;
    margin: 0.75rem 0 !important;
    gap: 0.45rem !important;
}

/* 5. Mini İstatistikler (Sol Sidebar) */
body.mk-page-profile .profile-stats-mini {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
    margin: 0.85rem 0 !important;
}

body.mk-page-profile .profile-stats-mini .stat-mini {
    padding: 0.55rem 0.5rem !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 11px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    text-align: left !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.mk-page-profile .profile-stats-mini .stat-mini:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06) !important;
}

body.mk-page-profile .profile-stats-mini .stat-mini-icon {
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

body.mk-page-profile .profile-stats-mini .stat-mini-icon svg {
    width: 14px !important;
    height: 14px !important;
    stroke-width: 2 !important;
    stroke: currentColor !important;
    fill: none !important;
}

body.mk-page-profile .profile-stats-mini .stat-mini-puan .stat-mini-icon {
    background: #fef3c7 !important;
    color: #d97706 !important;
    border: 1px solid #fde68a !important;
}

body.mk-page-profile .profile-stats-mini .stat-mini-thanks .stat-mini-icon {
    background: #ffe4e6 !important;
    color: #e11d48 !important;
    border: 1px solid #fecdd3 !important;
}

body.mk-page-profile .profile-stats-mini .stat-mini-topics .stat-mini-icon {
    background: #dbeafe !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important;
}

body.mk-page-profile .profile-stats-mini .stat-mini-posts .stat-mini-icon {
    background: #ccfbf1 !important;
    color: #0d9488 !important;
    border: 1px solid #99f6e4 !important;
}

body.mk-page-profile .profile-stats-mini .stat-mini-data {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}

body.mk-page-profile .profile-stats-mini .stat-value {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    letter-spacing: -0.015em !important;
}

body.mk-page-profile .profile-stats-mini .stat-label {
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    line-height: 1.2 !important;
}

/* Profil Butonları */
body.mk-page-profile .btn-profile-primary,
body.mk-page-profile .profile-actions .btn-primary,
body.mk-page-profile .profile-card .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100% !important;
    height: 42px;
    min-height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%) !important;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.88rem;
    border: none !important;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(127, 29, 29, 0.22);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box;
}

body.mk-page-profile .btn-profile-primary:hover,
body.mk-page-profile .profile-actions .btn-primary:hover,
body.mk-page-profile .profile-card .btn-primary:hover {
    background: linear-gradient(135deg, #5f1515 0%, #7f1d1d 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(127, 29, 29, 0.32) !important;
    color: #ffffff !important;
}

body.mk-page-profile .btn-profile-primary svg,
body.mk-page-profile .profile-actions .btn-primary svg,
body.mk-page-profile .profile-card .btn-primary svg {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor;
}

body.mk-page-profile .btn-profile-secondary,
body.mk-page-profile .profile-actions .btn-secondary,
body.mk-page-profile .profile-card .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100% !important;
    height: 40px;
    min-height: 40px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-weight: 600;
    font-size: 0.86rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease !important;
    box-sizing: border-box;
}

body.mk-page-profile .btn-profile-secondary:hover,
body.mk-page-profile .profile-actions .btn-secondary:hover,
body.mk-page-profile .profile-card .btn-secondary:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

/* 6. İstatistikler Grid (Sağ İçerik - 8'li Tek Satır) */
body.mk-page-profile .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
}

@media (max-width: 1100px) {
    body.mk-page-profile .stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 0.5rem !important;
    }
}

@media (max-width: 540px) {
    body.mk-page-profile .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* 7. Rozetler Bölümü & Kartları (Minimal & Estetik) */
body.mk-page-profile .profile-badges-section .section-title-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 0.65rem !important;
    margin-bottom: 0.95rem !important;
    padding-bottom: 0.6rem !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

body.mk-page-profile .profile-badges-section .section-title-wrap h2 {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 1.1rem;
}

body.mk-page-profile .badge-tier-legend {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    flex-wrap: wrap !important;
}

body.mk-page-profile .badge-tier-legend .legend-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 999px !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
}

body.mk-page-profile .badge-tier-legend .legend-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
}

body.mk-page-profile .legend-legendary {
    background: #fff1f2 !important;
    color: #9f1239 !important;
    border: 1px solid #fecdd3 !important;
}
body.mk-page-profile .legend-legendary .legend-dot { background: #e11d48; }

body.mk-page-profile .legend-gold {
    background: #fffbeb !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
}
body.mk-page-profile .legend-gold .legend-dot { background: #f59e0b; }

body.mk-page-profile .legend-silver {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
}
body.mk-page-profile .legend-silver .legend-dot { background: #64748b; }

body.mk-page-profile .legend-bronze {
    background: #fff7ed !important;
    color: #9a3412 !important;
    border: 1px solid #fed7aa !important;
}
body.mk-page-profile .legend-bronze .legend-dot { background: #ea580c; }

/* Rozet Kartları (.badge-item - Minimal Boyut) */
body.mk-page-profile .badges-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
    gap: 0.65rem !important;
}

body.mk-page-profile .badge-item {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0.65rem 0.8rem !important;
    border-radius: 12px !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.mk-page-profile .badge-item:hover {
    transform: translateY(-2px) scale(1.005) !important;
}

/* Sol Rozet İkonu Kutusu */
body.mk-page-profile .badge-icon-wrap .badge-icon {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    display: inline-grid !important;
    place-items: center !important;
    flex-shrink: 0 !important;
}

body.mk-page-profile .badge-icon-wrap .badge-icon svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #ffffff !important;
    fill: none !important;
    stroke-width: 2 !important;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2)) !important;
}

/* Orta Rozet Bilgileri (Arka plan tamamen şeffaf) */
body.mk-page-profile .badge-item .badge-info,
.profile-page .badge-item .badge-info,
.badge-item .badge-info {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.15rem !important;
    text-align: left !important;
}

body.mk-page-profile .badge-item .badge-name-row,
.profile-page .badge-item .badge-name-row,
.badge-item .badge-name-row {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.mk-page-profile .badge-item .badge-name,
.profile-page .badge-item .badge-name,
.badge-item .badge-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

body.mk-page-profile .badge-item .badge-desc,
.profile-page .badge-item .badge-desc,
.badge-item .badge-desc {
    font-size: 0.74rem !important;
    color: #64748b !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Sağ Madalya Mührü (Icon Gösterimi) */
body.mk-page-profile .badge-tier-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.mk-page-profile .badge-tier-seal:hover {
    transform: scale(1.15) rotate(4deg) !important;
}

body.mk-page-profile .badge-tier-seal .tier-medal-svg {
    display: block;
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.12));
}

body.mk-page-profile .badge-tier-seal .badge-seal-tooltip {
    position: absolute;
    bottom: -22px;
    right: 50%;
    transform: translateX(50%);
    background: #0f172a;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    z-index: 10;
}

body.mk-page-profile .badge-tier-seal:hover .badge-seal-tooltip {
    opacity: 1 !important;
    transform: translateX(50%) translateY(-2px) !important;
}

/* 8. Son Aktiviteler Listesi (Minimal & Temiz) */
body.mk-page-profile .activity-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    margin-top: 0.45rem !important;
}

body.mk-page-profile .activity-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0.55rem 0.8rem !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02) !important;
    transition: all 0.2s ease !important;
}

body.mk-page-profile .activity-item:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    transform: translateX(3px) !important;
}

body.mk-page-profile .activity-icon {
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    border: 1px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
}

body.mk-page-profile .activity-icon svg {
    width: 14px !important;
    height: 14px !important;
    stroke: currentColor !important;
    fill: none !important;
}

body.mk-page-profile .activity-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-align: left;
}

body.mk-page-profile .activity-title {
    font-size: 0.86rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.15s ease !important;
}

body.mk-page-profile .activity-title:hover {
    color: #b91c1c !important;
}

body.mk-page-profile .activity-time {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.2;
}

/* 9. Aldığı Teşekkürler Listesi (Modern, Ferah & Hiyerarşik Kartlar) */
body.mk-page-profile .thanks-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    margin-top: 0.75rem !important;
}

body.mk-page-profile .thank-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding: 1rem 1.2rem !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #f43f5e !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
}

body.mk-page-profile .thank-item:hover {
    border-color: #cbd5e1 !important;
    border-left-color: #e11d48 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(225, 29, 72, 0.08) !important;
}

body.mk-page-profile .thank-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
}

body.mk-page-profile .thank-user-meta {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    min-width: 0 !important;
}

body.mk-page-profile .thank-avatar {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    border: 1.5px solid #fecdd3 !important;
    box-shadow: 0 2px 6px rgba(244, 63, 94, 0.15) !important;
    background: #ffffff !important;
}

body.mk-page-profile .thank-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

body.mk-page-profile .thank-avatar .avatar-mini {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%) !important;
    color: #ffffff !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
}

body.mk-page-profile .thank-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.15rem !important;
    min-width: 0 !important;
    text-align: left !important;
}

body.mk-page-profile .thank-user-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    flex-wrap: wrap !important;
}

body.mk-page-profile .thank-username {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    color: var(--rank-color, #0f172a) !important;
    transition: opacity 0.15s ease !important;
}

body.mk-page-profile .thank-username:hover {
    opacity: 0.82 !important;
    text-decoration: underline !important;
}

body.mk-page-profile .thank-action-text {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
}

body.mk-page-profile .thank-time {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    font-size: 0.74rem !important;
    font-weight: 550 !important;
    color: #94a3b8 !important;
}

body.mk-page-profile .thank-time svg {
    width: 13px !important;
    height: 13px !important;
    stroke: currentColor !important;
}

body.mk-page-profile .thank-header-right {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
}

body.mk-page-profile .thank-puan {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    color: #92400e !important;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 45%, #fde68a 100%) !important;
    border: 1px solid #f59e0b !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

body.mk-page-profile .thank-puan .puan-icon svg {
    width: 14px !important;
    height: 14px !important;
    stroke: #d97706 !important;
    fill: #f59e0b !important;
}

body.mk-page-profile .thank-detail {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
    padding-left: 0.25rem !important;
}

body.mk-page-profile .thank-topic-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    flex-wrap: wrap !important;
}

body.mk-page-profile .type-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    font-size: 0.74rem !important;
    font-weight: 750 !important;
    color: #1d4ed8 !important;
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    padding: 0.2rem 0.6rem !important;
    border-radius: 7px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

body.mk-page-profile .type-badge svg {
    width: 13px !important;
    height: 13px !important;
    stroke: currentColor !important;
}

body.mk-page-profile .type-badge.type-badge-general {
    color: #be123c !important;
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
}

body.mk-page-profile .thank-topic-row .topic-link-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #94a3b8 !important;
    flex-shrink: 0 !important;
}

body.mk-page-profile .thank-topic-row .topic-link-arrow svg {
    width: 14px !important;
    height: 14px !important;
    stroke: currentColor !important;
}

body.mk-page-profile .thank-topic {
    font-size: 0.88rem !important;
    font-weight: 750 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    transition: color 0.15s ease !important;
}

body.mk-page-profile .thank-topic:hover {
    color: #991b1b !important;
    text-decoration: underline !important;
}

body.mk-page-profile .thank-preview {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.45rem !important;
    background: #f8fafc !important;
    border-left: 3.5px solid #cbd5e1 !important;
    border-radius: 7px !important;
    padding: 0.6rem 0.85rem !important;
    margin-top: 0.15rem !important;
}

body.mk-page-profile .thank-preview .quote-symbol {
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    color: #94a3b8 !important;
    user-select: none !important;
}

body.mk-page-profile .thank-preview .preview-text {
    font-size: 0.82rem !important;
    font-style: italic !important;
    color: #475569 !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    word-break: break-word !important;
}

/* ═══════════════════════════════════════════════════════════
   10. ROZET KADEMELERİ (BRONZ, GÜMÜŞ, ALTIN, EFSANE)
   Canlı ve zengin tematik gradyanlar, parlak madalya efektleri
   ═══════════════════════════════════════════════════════════ */

/* 1. BRONZ KADEME (Sıcak Zengin Bronz & Bakır) */
body.mk-page-profile .badge-item.badge-bronze {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 45%, #fed7aa 100%) !important;
    border: 1.5px solid #f97316 !important;
    box-shadow: 0 4px 16px rgba(194, 65, 12, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}
body.mk-page-profile .badge-item.badge-bronze .badge-icon {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 50%, #9a3412 100%) !important;
    border: 1.5px solid #fed7aa !important;
    box-shadow: 0 4px 12px rgba(154, 52, 18, 0.35) !important;
}
body.mk-page-profile .badge-item.badge-bronze .badge-name {
    color: #7c2d12;
    font-weight: 800;
}
body.mk-page-profile .badge-item.badge-bronze .badge-desc {
    color: #9a3412 !important;
    font-weight: 600 !important;
}
body.mk-page-profile .badge-item.badge-bronze:hover {
    border-color: #ea580c !important;
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.22) !important;
}

/* 2. GÜMÜŞ KADEME (Parlak Metalik Gümüş & Platin) */
body.mk-page-profile .badge-item.badge-silver {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 45%, #e2e8f0 100%) !important;
    border: 1.5px solid #94a3b8 !important;
    box-shadow: 0 4px 16px rgba(51, 65, 85, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}
body.mk-page-profile .badge-item.badge-silver .badge-icon {
    background: linear-gradient(135deg, #64748b 0%, #475569 50%, #1e293b 100%) !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.3) !important;
}
body.mk-page-profile .badge-item.badge-silver .badge-name {
    color: #0f172a !important;
    font-weight: 800 !important;
}
body.mk-page-profile .badge-item.badge-silver .badge-desc {
    color: #334155 !important;
    font-weight: 600 !important;
}
body.mk-page-profile .badge-item.badge-silver:hover {
    border-color: #64748b !important;
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 8px 24px rgba(71, 85, 105, 0.2) !important;
}

/* 3. ALTIN KADEME (Göz Alıcı Zengin Lüks Altın) */
body.mk-page-profile .badge-item.badge-gold {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 40%, #fde68a 100%) !important;
    border: 1.5px solid #f59e0b !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}
body.mk-page-profile .badge-item.badge-gold .badge-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%) !important;
    border: 1.5px solid #fef08a !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4) !important;
}
body.mk-page-profile .badge-item.badge-gold .badge-name {
    color: #78350f;
    font-weight: 850;
}
body.mk-page-profile .badge-item.badge-gold .badge-desc {
    color: #92400e !important;
    font-weight: 600 !important;
}
body.mk-page-profile .badge-item.badge-gold:hover {
    border-color: #d97706 !important;
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.32) !important;
}

/* 4. EFSANE KADEME (Mistik Yakut / Mor / Altın İhtişamı) */
body.mk-page-profile .badge-item.badge-legendary {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 30%, #fae8ff 70%, #fef3c7 100%) !important;
    border: 1.5px solid #e11d48 !important;
    box-shadow: 0 6px 22px rgba(225, 29, 72, 0.24), 0 0 14px rgba(245, 158, 11, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}
body.mk-page-profile .badge-item.badge-legendary .badge-icon {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 45%, #7c3aed 100%) !important;
    border: 1.5px solid #fecdd3 !important;
    box-shadow: 0 4px 16px rgba(225, 29, 72, 0.5), 0 0 10px rgba(251, 191, 36, 0.4) !important;
}
body.mk-page-profile .badge-item.badge-legendary .badge-name {
    background: linear-gradient(135deg, #be123c 0%, #7c3aed 50%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}
body.mk-page-profile .badge-item.badge-legendary .badge-desc {
    color: #881337 !important;
    font-weight: 650 !important;
}
body.mk-page-profile .badge-item.badge-legendary:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 12px 32px rgba(225, 29, 72, 0.35), 0 0 22px rgba(245, 158, 11, 0.4) !important;
    border-color: #be123c !important;
}




/* ═══════════════════════════════════════════════════════════
   PROFİL DÜZENLEME & AYARLAR PANELİ PREMİUM TASARIMI
   ═══════════════════════════════════════════════════════════ */

/* 1. Üst Başlık & Hızlı Sekme Gezinim Kartı */
body.mk-page-profile .profile-edit-header-card {
    padding: 1.5rem !important;
    margin-bottom: 1.25rem !important;
}

body.mk-page-profile .edit-header-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.25rem !important;
}

body.mk-page-profile .edit-header-info {
    flex: 1 !important;
}

body.mk-page-profile .edit-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

body.mk-page-profile .edit-header-badge svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
}

body.mk-page-profile .edit-header-info h2 {
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    letter-spacing: -0.015em !important;
    margin: 0.2rem 0 !important;
}

body.mk-page-profile .edit-header-info p {
    font-size: 0.88rem !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

body.mk-page-profile .edit-header-action {
    flex-shrink: 0;
}

body.mk-page-profile .btn-view-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.15rem;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none;
}

body.mk-page-profile .btn-view-profile-link:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08) !important;
}

body.mk-page-profile .btn-view-profile-link svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
}

body.mk-page-profile .edit-nav-tabs {
    display: flex !important;
    gap: 0.5rem !important;
    overflow-x: auto !important;
    padding-top: 1rem !important;
    border-top: 1px solid #f1f5f9 !important;
    margin-top: 1.15rem !important;
    scrollbar-width: thin !important;
}

body.mk-page-profile .edit-nav-tab {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    padding: 0.5rem 0.95rem !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    color: #475569 !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.mk-page-profile .edit-nav-tab:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    transform: translateY(-1px) !important;
}

body.mk-page-profile .edit-nav-tab.active {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
    color: #991b1b !important;
}

body.mk-page-profile .edit-nav-tab .tab-icon {
    display: inline-flex !important;
    align-items: center !important;
}

body.mk-page-profile .edit-nav-tab .tab-icon svg {
    width: 14px !important;
    height: 14px;
    stroke: currentColor;
}

/* 2. Kart Başlıkları & İkonları */
body.mk-page-profile .edit-section-card {
    padding: 1.5rem !important;
    margin-bottom: 1.25rem !important;
}

body.mk-page-profile .edit-section-heading {
    display: flex !important;
    align-items: center !important;
    gap: 0.95rem !important;
    margin-bottom: 1.25rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

body.mk-page-profile .edit-heading-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 11px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05) !important;
}

body.mk-page-profile .edit-heading-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
}

body.mk-page-profile .edit-heading-icon.icon-user {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

body.mk-page-profile .edit-heading-icon.icon-institution {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

body.mk-page-profile .edit-heading-icon.icon-avatar {
    background: #faf5ff;
    color: #9333ea;
    border: 1px solid #e9d5ff;
}

body.mk-page-profile .edit-heading-icon.icon-security {
    background: #fff1f2 !important;
    color: #e11d48 !important;
    border: 1px solid #fecdd3 !important;
}

body.mk-page-profile .edit-heading-icon.icon-contact {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

body.mk-page-profile .edit-section-heading h2 {
    font-size: 1.2rem !important;
    font-weight: 850 !important;
    color: #0f172a !important;
    margin: 0 0 0.15rem !important;
    letter-spacing: -0.01em !important;
}

body.mk-page-profile .edit-section-heading p {
    font-size: 0.83rem !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.35 !important;
}

/* 3. Modern Form Yapısı & Izgara */
body.mk-page-profile .modern-edit-form {
    margin: 0 !important;
}

body.mk-page-profile .form-grid-2 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.1rem !important;
}

body.mk-page-profile .modern-edit-form .form-group {
    margin-bottom: 1.15rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
}

body.mk-page-profile .modern-edit-form label {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 0.15rem !important;
}

body.mk-page-profile .label-text {
    font-size: 0.84rem;
    font-weight: 750;
    color: #1e293b;
}

body.mk-page-profile .label-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    line-height: 1;
}

body.mk-page-profile .label-badge.optional {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

body.mk-page-profile .label-badge.required {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

body.mk-page-profile .label-badge.locked {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

/* Form Kontrolleri (Gelişmiş Input, Select, Textarea) */
body.mk-page-profile .input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    width: 100% !important;
}

body.mk-page-profile .input-with-icon .input-icon {
    position: absolute !important;
    left: 1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #64748b !important;
    pointer-events: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    z-index: 10 !important;
    line-height: 1 !important;
}

body.mk-page-profile .input-with-icon .input-icon svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    display: block;
}

body.mk-page-profile .modern-edit-form input[type="text"],
body.mk-page-profile .modern-edit-form input[type="email"],
body.mk-page-profile .modern-edit-form input[type="tel"],
body.mk-page-profile .modern-edit-form input[type="password"],
body.mk-page-profile .modern-edit-form select {
    width: 100% !important;
    height: 44px;
    padding: 0.55rem 0.95rem 0.55rem 3.15rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.2s ease !important;
    box-sizing: border-box;
}

html body.mk-shell-community.mk-page-profile .modern-edit-form .input-with-icon > input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html body.mk-shell-community.mk-page-profile .modern-edit-form .input-with-icon > select:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html body.mk-shell-community.mk-page-profile .input-with-icon > input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html body.mk-shell-community.mk-page-profile .input-with-icon > select:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
body.mk-page-profile .modern-edit-form .input-with-icon input,
body.mk-page-profile .modern-edit-form .input-with-icon select,
body.mk-page-profile .input-with-icon input,
body.mk-page-profile .input-with-icon select {
    padding-left: 3.15rem;
    box-sizing: border-box;
}

html body.mk-shell-community.mk-page-profile .modern-edit-form .input-with-icon > select:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html body.mk-shell-community.mk-page-profile .input-with-icon > select,
body.mk-page-profile .input-with-icon select {
    padding-right: 2.25rem;
}

body.mk-page-profile .modern-edit-form input:focus,
body.mk-page-profile .modern-edit-form select:focus,
body.mk-page-profile .modern-edit-form textarea:focus {
    background: #ffffff !important;
    border-color: #991b1b !important;
    box-shadow: 0 0 0 3.5px rgba(153, 27, 27, 0.12) !important;
    outline: none !important;
}

body.mk-page-profile .modern-edit-form input:hover:not(:disabled):not(:focus),
body.mk-page-profile .modern-edit-form select:hover:not(:disabled):not(:focus),
body.mk-page-profile .modern-edit-form textarea:hover:not(:focus) {
    border-color: #cbd5e1 !important;
}

body.mk-page-profile .input-with-icon.is-disabled input,
body.mk-page-profile .input-with-icon.is-disabled select,
body.mk-page-profile .modern-edit-form input:disabled,
body.mk-page-profile .modern-edit-form select:disabled {
    background: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
    border-color: #e2e8f0;
    opacity: 0.9;
}

body.mk-page-profile .textarea-wrapper {
    width: 100% !important;
}

body.mk-page-profile .modern-edit-form textarea {
    width: 100% !important;
    padding: 0.75rem 0.95rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.9rem;
    line-height: 1.5;
    resize: vertical;
    transition: all 0.2s ease !important;
    box-sizing: border-box;
}

body.mk-page-profile .field-hint {
    font-size: 0.76rem !important;
    color: #64748b !important;
    margin-top: 0.15rem !important;
    line-height: 1.35 !important;
}

/* Şehir Kilit Bildirimi */
body.mk-page-profile .city-lock-notice {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-top: 0.45rem !important;
    padding: 0.65rem 0.85rem !important;
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    color: #92400e !important;
    line-height: 1.35 !important;
}

body.mk-page-profile .city-lock-notice .lock-icon svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #d97706 !important;
}

/* Uyarı Kartı */
body.mk-page-profile .edit-notice-card {
    display: flex !important;
    gap: 0.85rem !important;
    padding: 0.85rem 1.1rem !important;
    border-radius: 10px !important;
    margin-bottom: 1.25rem !important;
}

body.mk-page-profile .edit-notice-card.notice-warning {
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    color: #92400e !important;
}

body.mk-page-profile .edit-notice-card .notice-icon {
    color: #d97706;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

body.mk-page-profile .edit-notice-card .notice-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

body.mk-page-profile .edit-notice-card strong {
    font-size: 0.86rem !important;
    font-weight: 800 !important;
    display: block !important;
    margin-bottom: 0.2rem !important;
}

body.mk-page-profile .edit-notice-card p {
    font-size: 0.8rem !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* 4. Gizlilik Paneli */
body.mk-page-profile .privacy-settings-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 1.15rem !important;
    margin-top: 1.25rem !important;
}

body.mk-page-profile .privacy-box-header {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-bottom: 0.85rem !important;
}

body.mk-page-profile .privacy-box-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fee2e2;
    color: #991b1b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.mk-page-profile .privacy-box-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

body.mk-page-profile .privacy-box-header h4 {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 0.1rem !important;
}

body.mk-page-profile .privacy-box-header p {
    font-size: 0.78rem !important;
    color: #64748b !important;
    margin: 0 !important;
}

body.mk-page-profile .profile-privacy-levels {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
    margin-bottom: 0.65rem !important;
}

body.mk-page-profile .profile-privacy-option {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
    padding: 0.75rem 0.85rem !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

body.mk-page-profile .profile-privacy-option:hover {
    border-color: #cbd5e1 !important;
    background: #ffffff !important;
}

body.mk-page-profile .profile-privacy-option:has(input:checked),
body.mk-page-profile .profile-privacy-option.is-selected {
    border-color: #991b1b !important;
    background: #fef2f2 !important;
    box-shadow: 0 2px 8px rgba(153, 27, 27, 0.08) !important;
}

body.mk-page-profile .profile-privacy-option input[type="radio"] {
    margin-top: 3px;
    accent-color: #991b1b;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

body.mk-page-profile .privacy-opt-body strong {
    display: block !important;
    font-size: 0.84rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

body.mk-page-profile .privacy-opt-body span {
    display: block !important;
    font-size: 0.72rem !important;
    color: #64748b !important;
    margin-top: 0.15rem !important;
    line-height: 1.3 !important;
}

body.mk-page-profile .profile-privacy-hint {
    font-size: 0.76rem !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    margin: 0.5rem 0 0.85rem !important;
}

body.mk-page-profile .profile-privacy-hint svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

body.mk-page-profile .privacy-flags-title {
    font-size: 0.8rem !important;
    font-weight: 750 !important;
    color: #334155 !important;
    margin-bottom: 0.45rem !important;
}

body.mk-page-profile .profile-privacy-flags {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

body.mk-page-profile .profile-privacy-flag {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.55rem 0.75rem !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

body.mk-page-profile .profile-privacy-flag:hover {
    border-color: #cbd5e1 !important;
}

body.mk-page-profile .profile-privacy-flag:has(input:checked) {
    border-color: #991b1b !important;
    background: #fef2f2 !important;
    color: #991b1b !important;
}

body.mk-page-profile .profile-privacy-flag input[type="checkbox"] {
    accent-color: #991b1b;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

body.mk-page-profile .profile-privacy-flag svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

body.mk-page-profile .profile-privacy-flags > small {
    grid-column: 1 / -1 !important;
    font-size: 0.72rem !important;
    color: #64748b !important;
    margin-top: 0.35rem !important;
}

/* 5. Avatar Düzenleme Bölümü */
body.mk-page-profile .avatar-edit-layout {
    display: grid !important;
    grid-template-columns: 210px 1fr !important;
    gap: 1.5rem !important;
    align-items: start !important;
}

body.mk-page-profile .avatar-col-current,
body.mk-page-profile .avatar-col-upload {
    display: flex !important;
    flex-direction: column !important;
}

body.mk-page-profile .avatar-card-label {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 24px !important;
    margin-bottom: 0.5rem !important;
}

body.mk-page-profile .avatar-current-preview {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 1.25rem !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    height: 190px !important;
    min-height: 190px !important;
    box-sizing: border-box !important;
}

body.mk-page-profile .avatar-preview-box {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.45rem;
    flex-shrink: 0;
}

body.mk-page-profile .avatar-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.mk-page-profile .avatar-preview-fallback {
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
}

body.mk-page-profile .avatar-user-tag {
    font-size: 0.82rem !important;
    font-weight: 750 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
}

body.mk-page-profile .avatar-status-pill {
    display: inline-block !important;
    margin-top: 0.25rem !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    background: #e2e8f0 !important;
    padding: 0.15rem 0.5rem !important;
    border-radius: 999px !important;
}

body.mk-page-profile .avatar-left-footer {
    display: flex !important;
    align-items: center !important;
    margin-top: 0.85rem !important;
}

body.mk-page-profile .file-upload-droparea {
    border: 2px dashed #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 1.25rem 1.5rem !important;
    text-align: center !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 190px !important;
    min-height: 190px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

body.mk-page-profile .file-upload-droparea:hover {
    border-color: #991b1b !important;
    background: #fef2f2 !important;
}

body.mk-page-profile .droparea-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fee2e2;
    color: #991b1b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.mk-page-profile .droparea-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

body.mk-page-profile .droparea-text strong {
    font-size: 0.88rem !important;
    font-weight: 750 !important;
    color: #0f172a !important;
    display: block !important;
}

body.mk-page-profile .droparea-text span {
    font-size: 0.78rem;
    color: #64748b;
}

body.mk-page-profile .file-input-field {
    margin-top: 0.5rem !important;
    font-size: 0.82rem !important;
    color: #475569 !important;
    border: none !important;
    background: transparent !important;
    height: auto !important;
    padding: 0 !important;
}

body.mk-page-profile .avatar-rules-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.45rem !important;
    margin: 0.85rem 0 1rem !important;
}

body.mk-page-profile .rule-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
}

body.mk-page-profile .rule-pill svg {
    width: 12px;
    height: 12px;
    stroke: #10b981;
}

/* 6. Giriş Güvenliği & 2FA Banner */
body.mk-page-profile .security-2fa-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.25rem !important;
    padding: 1rem 1.25rem !important;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
    border: 1px solid #bbf7d0 !important;
    border-radius: 12px !important;
    margin-bottom: 1.25rem !important;
}

body.mk-page-profile .banner-icon-side {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #16a34a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
}

body.mk-page-profile .banner-icon-side svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

body.mk-page-profile .banner-body-side {
    flex: 1 !important;
}

body.mk-page-profile .banner-body-side h4 {
    font-size: 0.95rem !important;
    font-weight: 850 !important;
    color: #166534 !important;
    margin: 0 0 0.15rem !important;
}

body.mk-page-profile .banner-body-side p {
    font-size: 0.8rem !important;
    color: #15803d !important;
    margin: 0 !important;
    line-height: 1.35 !important;
}

body.mk-page-profile .banner-action-side {
    flex-shrink: 0;
}

body.mk-page-profile .btn-security-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.05rem;
    border-radius: 9px;
    background: #16a34a;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 750;
    border: none;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.mk-page-profile .btn-security-action:hover {
    background: #15803d !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4) !important;
}

body.mk-page-profile .btn-security-action svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

/* 7. İletişim Yöntemleri Izgarası (E-Posta & Telefon) */
body.mk-page-profile .contact-methods-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
}

body.mk-page-profile .contact-method-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 1.25rem !important;
}

body.mk-page-profile .contact-card-title {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-bottom: 1.15rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

body.mk-page-profile .contact-card-title .contact-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.mk-page-profile .contact-card-title .contact-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

body.mk-page-profile .contact-card-title h3 {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.1rem;
}

body.mk-page-profile .contact-card-title p {
    font-size: 0.76rem;
    color: #64748b;
    margin: 0;
}

/* 8. Eylem Çubukları & Butonlar */
body.mk-page-profile .form-actions-bar {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-top: 1.25rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid #f1f5f9 !important;
}

body.mk-page-profile .btn-save-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    height: 42px !important;
    padding: 0 1.35rem !important;
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%) !important;
    color: #ffffff !important;
    font-size: 0.88rem !important;
    font-weight: 750 !important;
    border-radius: 10px !important;
    border: none !important;
    box-shadow: 0 3px 8px rgba(127, 29, 29, 0.28) !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}

body.mk-page-profile .btn-save-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #5f1515 0%, #7f1d1d 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(127, 29, 29, 0.38) !important;
    color: #ffffff !important;
}

body.mk-page-profile .btn-save-primary:disabled {
    background: #cbd5e1 !important;
    color: #64748b !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

body.mk-page-profile .btn-save-primary svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
}

/* 9. Responsive Kuralları */
@media (max-width: 900px) {
    body.mk-page-profile .edit-header-top {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    body.mk-page-profile .form-grid-2 {
        grid-template-columns: 1fr !important;
    }
    body.mk-page-profile .avatar-edit-layout {
        grid-template-columns: 1fr !important;
    }
    body.mk-page-profile .avatar-current-preview {
        flex-direction: row !important;
        gap: 1rem !important;
        text-align: left !important;
        height: auto !important;
        min-height: auto !important;
        padding: 1rem 1.25rem !important;
    }
    body.mk-page-profile .file-upload-droparea {
        height: auto !important;
        min-height: 160px !important;
    }
    body.mk-page-profile .contact-methods-grid {
        grid-template-columns: 1fr !important;
    }
    body.mk-page-profile .security-2fa-banner {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

@media (max-width: 600px) {
    body.mk-page-profile .profile-edit-header-card,
    body.mk-page-profile .edit-section-card {
        padding: 1.15rem !important;
    }
    body.mk-page-profile .profile-privacy-levels,
    body.mk-page-profile .profile-privacy-flags {
        grid-template-columns: 1fr !important;
    }
    body.mk-page-profile .form-actions-bar {
        justify-content: stretch !important;
    }
    body.mk-page-profile .btn-save-primary {
        width: 100% !important;
    }
}

/* ═══════════════════════════════════════════════════════════
 * PROFİL KONU & CEVAP SEKMELERİ, TIKLANABİLİR İSTATİSTİKLER (2026)
 * ═══════════════════════════════════════════════════════════ */
#forum-icerik {
    scroll-margin-top: 96px;
}

/* Sol Sidebar Tıklanabilir Mini İstatistikler */
body.mk-page-profile .profile-stats-mini .stat-mini.stat-mini-clickable {
    cursor: pointer !important;
    text-decoration: none !important;
    color: inherit !important;
    position: relative !important;
}

body.mk-page-profile .profile-stats-mini .stat-mini.stat-mini-clickable:hover {
    border-color: var(--profile-metric-color, #3b82f6) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--profile-metric-color, #3b82f6) 16%, transparent) !important;
}

body.mk-page-profile .profile-stats-mini .stat-mini-arrow {
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    color: #94a3b8 !important;
    opacity: 0.3 !important;
    transform: translateX(-3px) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.mk-page-profile .profile-stats-mini .stat-mini-arrow svg {
    width: 14px !important;
    height: 14px !important;
}

body.mk-page-profile .profile-stats-mini .stat-mini.stat-mini-clickable:hover .stat-mini-arrow {
    opacity: 1 !important;
    transform: translateX(0) !important;
    color: var(--profile-metric-color, #3b82f6) !important;
}

body.mk-page-profile .profile-stats-mini .stat-mini.stat-mini-clickable.is-active {
    border-color: var(--profile-metric-color, #3b82f6) !important;
    background: color-mix(in srgb, var(--profile-metric-color, #3b82f6) 5%, #ffffff) !important;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--profile-metric-color, #3b82f6) 22%, transparent) !important;
}

body.mk-page-profile .profile-stats-mini .stat-mini.stat-mini-clickable.is-active .stat-mini-arrow {
    opacity: 1 !important;
    transform: translateX(0) !important;
    color: var(--profile-metric-color, #3b82f6) !important;
}

/* Ana İstatistikler Tablosundaki Tıklanabilir Kartlar */
body.mk-page-profile .stats-grid .stat-box.stat-box-clickable {
    cursor: pointer !important;
    text-decoration: none !important;
    color: inherit !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

body.mk-page-profile .stats-grid .stat-box.stat-box-clickable:hover {
    border-color: var(--profile-metric-color, #3b82f6) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--profile-metric-color, #3b82f6) 18%, transparent) !important;
}

body.mk-page-profile .stats-grid .stat-box-click-hint {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.2rem !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    color: var(--profile-metric-color, #3b82f6) !important;
    margin-top: 0.22rem !important;
    opacity: 0 !important;
    transform: translateY(3px) !important;
    transition: all 0.2s ease !important;
    line-height: 1 !important;
}

body.mk-page-profile .stats-grid .stat-box-click-hint svg {
    width: 11px !important;
    height: 11px !important;
}

body.mk-page-profile .stats-grid .stat-box.stat-box-clickable:hover .stat-box-click-hint {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

body.mk-page-profile .stats-grid .stat-box.stat-box-clickable.is-active {
    border-color: var(--profile-metric-color, #3b82f6) !important;
    background: color-mix(in srgb, var(--profile-metric-color, #3b82f6) 5%, #ffffff) !important;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--profile-metric-color, #3b82f6) 25%, transparent), 0 8px 18px rgba(15, 23, 42, 0.07) !important;
}

body.mk-page-profile .stats-grid .stat-box.stat-box-clickable.is-active .stat-box-click-hint {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Profil Navigasyon Sekmeleri (Pills) */
body.mk-page-profile .profile-nav-tabs {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    margin-bottom: 1.35rem !important;
    background: #ffffff !important;
    padding: 0.45rem !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
}

body.mk-page-profile .profile-nav-tabs::-webkit-scrollbar {
    display: none !important;
}

body.mk-page-profile .profile-nav-tab {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.6rem 1.05rem !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: #64748b !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
    border: 1px solid transparent !important;
}

body.mk-page-profile .profile-nav-tab svg {
    width: 17px !important;
    height: 17px !important;
    flex-shrink: 0;
}

body.mk-page-profile .profile-nav-tab:hover {
    color: #0f172a !important;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

body.mk-page-profile .profile-nav-tab.is-active {
    color: #0284c7 !important;
    background: #f0f9ff !important;
    border-color: #bae6fd !important;
    box-shadow: 0 1px 3px rgba(2, 132, 199, 0.08) !important;
}

body.mk-page-profile .profile-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.25rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #475569;
    transition: all 0.2s ease !important;
}

body.mk-page-profile .profile-nav-tab.is-active .profile-tab-badge {
    background: #0284c7;
    color: #ffffff;
}

/* Konu ve Cevap Liste Bölümü */
body.mk-page-profile .profile-content-list-section {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    margin-bottom: 1.35rem !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

body.mk-page-profile .profile-section-header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    margin-bottom: 1.25rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

body.mk-page-profile .profile-section-header-row h2 {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
}

body.mk-page-profile .profile-section-header-row .section-desc {
    font-size: 0.85rem !important;
    color: #64748b !important;
    margin: 0.25rem 0 0 !important;
}

/* Konu Kartı */
body.mk-page-profile .profile-topics-list,
body.mk-page-profile .profile-replies-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

body.mk-page-profile .profile-topic-card,
body.mk-page-profile .profile-reply-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 1.1rem 1.25rem !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
}

body.mk-page-profile .profile-topic-card:hover,
body.mk-page-profile .profile-reply-card:hover {
    transform: translateY(-2px) !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06) !important;
}

body.mk-page-profile .topic-card-icon-wrap,
body.mk-page-profile .reply-card-icon-wrap {
    width: 38px;
    min-width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

body.mk-page-profile .topic-card-icon-wrap {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

body.mk-page-profile .reply-card-icon-wrap {
    background: #ecfeff;
    color: #0891b2;
    border: 1px solid #cffafe;
}

body.mk-page-profile .topic-card-main,
body.mk-page-profile .reply-card-main {
    flex: 1 !important;
    min-width: 0 !important;
}

body.mk-page-profile .topic-card-header,
body.mk-page-profile .reply-card-header {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.45rem !important;
    margin-bottom: 0.4rem !important;
}

body.mk-page-profile .profile-topic-title,
body.mk-page-profile .profile-reply-topic-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.15s ease !important;
    word-break: break-word;
}

body.mk-page-profile .profile-topic-title:hover,
body.mk-page-profile .profile-reply-topic-title:hover {
    color: #0284c7 !important;
}

body.mk-page-profile .reply-card-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 6px !important;
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
}

body.mk-page-profile .reply-card-badge svg {
    width: 12px !important;
    height: 12px !important;
}

body.mk-page-profile .profile-reply-excerpt {
    margin: 0.45rem 0 !important;
    padding: 0.6rem 0.85rem !important;
    background: #f8fafc !important;
    border-left: 3px solid #06b6d4 !important;
    border-radius: 0 8px 8px 0 !important;
    display: flex !important;
    gap: 0.4rem !important;
    font-size: 0.87rem !important;
    color: #334155 !important;
    line-height: 1.5 !important;
    font-style: italic !important;
}

body.mk-page-profile .profile-reply-excerpt .quote-icon {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    line-height: 1 !important;
    user-select: none !important;
}

body.mk-page-profile .profile-reply-excerpt p {
    margin: 0 !important;
    word-break: break-word !important;
}

body.mk-page-profile .topic-card-meta,
body.mk-page-profile .reply-card-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.75rem !important;
    font-size: 0.82rem !important;
    color: #64748b !important;
    margin-top: 0.35rem !important;
}

body.mk-page-profile .topic-meta-category,
body.mk-page-profile .reply-meta-category {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    color: #475569 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    padding: 0.15rem 0.5rem !important;
    background: #f1f5f9 !important;
    border-radius: 6px !important;
    transition: all 0.15s ease !important;
}

body.mk-page-profile .topic-meta-category:hover,
body.mk-page-profile .reply-meta-category:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

body.mk-page-profile .topic-meta-date,
body.mk-page-profile .reply-meta-date,
body.mk-page-profile .topic-meta-stat,
body.mk-page-profile .reply-meta-stat,
body.mk-page-profile .topic-meta-last-post,
body.mk-page-profile .reply-meta-starter {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
}

body.mk-page-profile .topic-meta-date svg,
body.mk-page-profile .reply-meta-date svg,
body.mk-page-profile .topic-meta-stat svg,
body.mk-page-profile .reply-meta-stat svg {
    width: 13px !important;
    height: 13px !important;
    color: #94a3b8;
}

body.mk-page-profile .btn-topic-visit,
body.mk-page-profile .btn-reply-visit {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    color: #0284c7 !important;
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    align-self: center !important;
}

body.mk-page-profile .btn-topic-visit svg,
body.mk-page-profile .btn-reply-visit svg {
    width: 14px !important;
    height: 14px !important;
    transition: transform 0.15s ease !important;
}

body.mk-page-profile .btn-topic-visit:hover,
body.mk-page-profile .btn-reply-visit:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2) !important;
}

body.mk-page-profile .btn-topic-visit:hover svg,
body.mk-page-profile .btn-reply-visit:hover svg {
    transform: translate(1px, -1px) !important;
}

/* Sayfalama */
body.mk-page-profile .profile-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    margin-top: 1.35rem !important;
    padding-top: 1.15rem !important;
    border-top: 1px solid #f1f5f9 !important;
    flex-wrap: wrap !important;
}

body.mk-page-profile .pagination-numbers {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
}

body.mk-page-profile .pagination-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 0.65rem !important;
    border-radius: 8px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    color: #475569 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.15s ease !important;
}

body.mk-page-profile .pagination-link:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

body.mk-page-profile .pagination-link.is-active {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25) !important;
}

body.mk-page-profile .pagination-ellipsis {
    color: #94a3b8 !important;
    padding: 0 0.25rem !important;
    font-weight: 600 !important;
}

/* Boş Durum */
body.mk-page-profile .profile-empty-content-state {
    padding: 3rem 1.5rem !important;
    text-align: center !important;
    background: #f8fafc !important;
    border: 1px dashed #cbd5e1 !important;
    border-radius: 12px !important;
    margin: 1rem 0 !important;
}

body.mk-page-profile .profile-empty-content-state .empty-state-icon {
    width: 52px !important;
    height: 52px !important;
    margin: 0 auto 0.85rem !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #94a3b8 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

body.mk-page-profile .profile-empty-content-state .empty-state-icon svg {
    width: 24px !important;
    height: 24px !important;
}

body.mk-page-profile .profile-empty-content-state h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 0.35rem !important;
}

body.mk-page-profile .profile-empty-content-state p {
    font-size: 0.9rem !important;
    color: #64748b !important;
    margin: 0 auto !important;
    max-width: 440px !important;
}

body.mk-page-profile .btn-empty-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    margin-top: 1rem !important;
}

/* Son Aktiviteler Alt Bağlantıları */
body.mk-page-profile .activity-footer-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
    margin-top: 1rem !important;
    padding-top: 0.9rem !important;
    border-top: 1px solid #f1f5f9 !important;
}

body.mk-page-profile .activity-more-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    color: #0284c7 !important;
    text-decoration: none !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px !important;
    background: #f0f9ff !important;
    border: 1px solid #e0f2fe !important;
    transition: all 0.2s ease !important;
}

body.mk-page-profile .activity-more-link svg {
    width: 14px !important;
    height: 14px !important;
}

body.mk-page-profile .activity-more-link:hover {
    background: #e0f2fe !important;
    border-color: #bae6fd !important;
    transform: translateX(2px) !important;
}

@media (max-width: 640px) {
    body.mk-page-profile .profile-topic-card,
    body.mk-page-profile .profile-reply-card {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    body.mk-page-profile .topic-card-action,
    body.mk-page-profile .reply-card-action {
        margin-top: 0.5rem !important;
    }
    body.mk-page-profile .btn-topic-visit,
    body.mk-page-profile .btn-reply-visit {
        width: 100% !important;
        justify-content: center;
    }
    body.mk-page-profile .profile-section-header-row {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}
/* ═══════════════════════════════════════════════════════════
   MİSAFİR DAVETİYE BANNERI (GUEST CTA)
   ═══════════════════════════════════════════════════════════ */
body.mk-page-profile .guest-profile-cta {
    box-sizing: border-box !important;
}

body.mk-page-profile .guest-profile-cta .guest-cta-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
    flex-shrink: 0 !important;
}

body.mk-page-profile .guest-profile-cta .guest-cta-actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    padding: 0.65rem 1.25rem !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.mk-page-profile .guest-profile-cta .guest-cta-actions .btn-primary {
    font-weight: 700 !important;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    border: 1px solid #b91c1c !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px -2px rgba(220, 38, 38, 0.32) !important;
}

body.mk-page-profile .guest-profile-cta .guest-cta-actions .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px -2px rgba(220, 38, 38, 0.42) !important;
    filter: brightness(1.05) !important;
}

body.mk-page-profile .guest-profile-cta .guest-cta-actions .btn-secondary {
    font-weight: 600;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
}

body.mk-page-profile .guest-profile-cta .guest-cta-actions .btn-secondary:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    transform: translateY(-1px) !important;
}

body.mk-page-profile .guest-profile-cta .guest-cta-actions svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    body.mk-page-profile .guest-profile-cta {
        padding: 1.15rem 1rem !important;
        gap: 0.9rem !important;
    }

    body.mk-page-profile .guest-profile-cta .guest-cta-content {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }

    body.mk-page-profile .guest-profile-cta .guest-cta-actions {
        width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.6rem !important;
    }

    body.mk-page-profile .guest-profile-cta .guest-cta-actions a,
    body.mk-page-profile .guest-profile-cta .guest-cta-actions .btn-primary,
    body.mk-page-profile .guest-profile-cta .guest-cta-actions .btn-secondary {
        width: 100% !important;
        min-height: 44px;
        height: auto;
        line-height: normal;
        padding: 0.72rem 1.25rem;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
        font-size: 0.92rem;
        box-sizing: border-box;
    }
}
