/* /root/anifehras_v2/frontend/css/acc-profile.css — Hesap paketi C: sade profil (kendi profil + /u/).
   Tek kutu seviyesi: banner, avatar, vitrin afişleri, favori kartları ve çipler doğrudan sayfa
   zemininde; bölümler kutu değil, ince çizgi (--line) + başlık tipografisiyle ayrılır.
   Ayrıca ayarlar > «الملف الشخصي» ve uygulama logoları (paket C'nin doldurduğu kısımlar).
   index.html'de #page-profile'dan hemen sonra yüklenir (components.css/responsive.css'ten sonra). */

/* ---------- Üst: [banner] + kimlik satırı ---------- */
#profile-page-body .profile-top { margin: 0 0 4px; }
#profile-page-body .profile-top > .profile-hero { margin: 0; }
#profile-page-body .profile-top:not(.has-banner) { padding-top: 8px; }
#profile-page-body .profile-side { display: block; margin: 0; }
#profile-page-body .profile-identity { padding: 0; margin: 0; }

.profile-identity-row { display: flex; align-items: flex-end; gap: 14px; }
#profile-page-body .profile-hero-avatar-wrap { position: relative; inset: auto; z-index: 2; flex-shrink: 0; }
#profile-page-body .profile-top.has-banner .profile-hero-avatar-wrap { margin-top: -36px; }
.profile-identity-text { min-width: 0; padding-bottom: 2px; }
#profile-page-body .profile-identity-name { font-size: 20px; line-height: 1.35; overflow-wrap: anywhere; }
.profile-identity-meta { display: flex; flex-wrap: wrap; column-gap: 6px; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--mu); }
.profile-identity-meta > span { white-space: nowrap; }
.profile-meta-sep { margin-inline-end: 6px; }
#profile-page-body .profile-identity-bio { max-width: none; margin-top: 12px; color: var(--tx); line-height: 1.7; }
#profile-page-body .profile-identity-bio[hidden] { display: none; }

/* Ayarlar + paylaş: banner dışında, kimlik satırının altında */
.profile-id-actions { display: flex; gap: 8px; margin-top: 12px; }

/* ---------- Bölümler: kutu yok, ince çizgi ---------- */
.profile-section { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.profile-section-title,
#profile-page-body .showcase-block-title { margin: 0 0 12px; font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--tx); }

/* «الواجهة»: .showcase-block kutusu düzleşir; en fazla 4 afiş tek satır */
#profile-page-body .showcase-block { margin: 24px 0 0; padding: 18px 0 0; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
#profile-page-body .showcase-block-header { margin-bottom: 0; }
#profile-page-body .showcase-grid-top4 { grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: stretch; gap: 10px; }
#profile-page-body .top4-card { border: 0; box-shadow: none; }
#profile-page-body .top4-card:hover { transform: none; }

/* «المفضلة»: başlık + tür çipleri + ızgara (sekme yok) */
#profile-page-body .profile-fav-type-chips { justify-content: flex-start; margin-bottom: 14px; }

/* ---------- «التطبيقات التي أستخدمها»: 44×44 logo + altında ad, en fazla 6 + «+N», satır kayar ---------- */
.used-apps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 10px; }
.used-app { width: 60px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.used-app-logo { position: relative; width: 44px; height: 44px; border-radius: var(--r-sm); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: var(--tx); }
.used-app-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.used-app-logo:not(:has(img)) { background: var(--s1); }
.used-app-name { max-width: 100%; font-size: 11.5px; font-weight: 700; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.used-apps-empty { margin: 0; font-size: 13px; color: var(--mu); }
#settings-apps-row { padding: 2px 0 8px; }

/* ---------- Ayarlar > «الملف الشخصي» ---------- */
.settings-field { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; font-size: 13px; }
#account-settings-modal .settings-bio-input { min-height: 0; padding: 8px 2px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--tx); font-size: 13.5px; line-height: 1.7; }
#account-settings-modal .settings-bio-input:focus { border-bottom-color: var(--accent); box-shadow: none; }
.settings-field-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.settings-field-foot .pe-bio-counter { margin: 0; font-size: 12px; color: var(--mu); }
.settings-sc-list { list-style: none; margin: 0; padding: 0; }
.settings-sc-item { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13px; }
.settings-sc-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--tx); }
.settings-sc-item.is-empty .settings-sc-title { font-weight: 600; color: var(--mu); }
.settings-link-btn.is-danger { color: var(--no); }

@media (min-width: 769px) {
    #profile-page-body .profile-top.has-banner .profile-hero-avatar-wrap { margin-top: -56px; }
    #profile-page-body .profile-identity-name { font-size: 24px; }
}
