/* Profil mockup (profilev1) — cream / purple / serif */

html.is-mobile-app #page-profile.profile-logged-in,
html.is-mobile-app #page-profile.profile-logged-in .profile-hub,
html.kozamia-app-shell #page-profile.profile-logged-in,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-hub {
  background: var(--kozamia-shell-cream, #fdf8f5) !important;
}

html.is-mobile-app:has(#page-profile.active):has(body.logged-in) .site-header,
html.kozamia-app-shell:has(#page-profile.active):has(body.logged-in) .site-header {
  display: none !important;
}

html.is-mobile-app #page-profile.profile-logged-in .profile-app-top,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-app-top {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: calc(0.35rem + env(safe-area-inset-top, 0px)) 0.85rem 0.45rem;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--kozamia-shell-cream, #fdf8f5);
}

html.is-mobile-app #page-profile.profile-logged-in .profile-app-brand-row,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-app-brand-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.45rem;
  position: relative;
  min-height: 2.5rem;
}
html.is-mobile-app .profile-app-brand-name,
html.kozamia-app-shell .profile-app-brand-name {
  flex: 1 1 auto;
  font-family: var(--kozamia-brand-serif, Georgia, "Times New Roman", serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--kozamia-shell-purple, #6a3d8a);
  letter-spacing: -0.02em;
  text-align: center;
  grid-column: 1 / -1;
  pointer-events: none;
}
html.is-mobile-app .profile-app-title,
html.kozamia-app-shell .profile-app-title {
  display: none !important;
}
html.is-mobile-app .profile-app-top-actions,
html.kozamia-app-shell .profile-app-top-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0;
  grid-column: 2;
  grid-row: 1;
  z-index: 1;
}
html.is-mobile-app .profile-app-icon-btn,
html.kozamia-app-shell .profile-app-icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--kozamia-shell-purple, #6a3d8a);
  border: 0;
  display: grid;
  place-items: center;
  padding: 0;
  position: relative;
}
html.is-mobile-app .profile-app-icon-btn .material-symbols-outlined,
html.kozamia-app-shell .profile-app-icon-btn .material-symbols-outlined {
  font-size: 1.2rem;
}
html.is-mobile-app .profile-app-coin-pill,
html.kozamia-app-shell .profile-app-coin-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.65rem 0.3rem 0.4rem;
  border-radius: 999px;
  background: var(--kozamia-shell-purple, #6a3d8a);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}
html.is-mobile-app .profile-app-coin-pill .material-symbols-outlined,
html.kozamia-app-shell .profile-app-coin-pill .material-symbols-outlined {
  font-size: 1rem;
  font-variation-settings: "FILL" 1;
}

/* Cover — own profile: show (wall-first) */
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own .profile-cover-wrap,
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own .profile-cover-wrap {
  display: block !important;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-cover-wrap,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-cover-wrap {
  margin: 0.2rem 1rem 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(106, 61, 138, 0.1);
  box-shadow: 0 3px 10px rgba(45, 25, 60, 0.06);
  position: relative;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-cover-actions,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-cover-actions {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-cover-actions[hidden],
html.kozamia-app-shell #page-profile.profile-logged-in .profile-cover-actions[hidden] {
  display: none !important;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-cover-actions .profile-app-icon-btn,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-cover-actions .profile-app-icon-btn {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88) !important;
  color: var(--kozamia-shell-purple, #6a3d8a) !important;
  box-shadow: 0 3px 10px rgba(45, 25, 60, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
html.is-mobile-app #page-profile.profile-logged-in .profile-app-top,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-app-top {
  display: none !important;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-cover,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-cover {
  height: 3.15rem;
  border-radius: 0.75rem;
  overflow: hidden;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-back-btn,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-back-btn,
html.is-mobile-app #profile-app-back,
html.kozamia-app-shell #profile-app-back {
  display: none !important;
}

/* Head / identity — own: centered hub (sıkı) */
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own .profile-fb-head,
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own .profile-fb-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.12rem;
  padding: 0 0.85rem 0.2rem;
  margin-top: -1.25rem;
  position: relative;
  z-index: 2;
}
html.is-mobile-app #page-profile.profile-logged-in:not(.profile-is-own) .profile-fb-head,
html.kozamia-app-shell #page-profile.profile-logged-in:not(.profile-is-own) .profile-fb-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  padding: 0 0.85rem 0.35rem;
  margin-top: -1.25rem;
  position: relative;
  z-index: 2;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-fb-avatar-wrap,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-fb-avatar-wrap {
  margin: 0;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-fb-avatar,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-fb-avatar {
  width: 3.45rem !important;
  height: 3.45rem !important;
  border: 2px solid #c9b4de !important;
  box-shadow: 0 0 0 2px var(--kozamia-shell-cream, #fdf8f5), 0 5px 12px rgba(45, 25, 60, 0.1) !important;
  background: #fff;
}

/* Altın + butonları — profil & kapak (her zaman görünür) */
html.is-mobile-app #page-profile.profile-logged-in .profile-avatar-edit,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-avatar-edit,
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own .profile-cover-edit,
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own .profile-cover-edit {
  width: 1.55rem !important;
  height: 1.55rem !important;
  min-width: 1.55rem !important;
  min-height: 1.55rem !important;
  max-width: 1.55rem !important;
  max-height: 1.55rem !important;
  padding: 0 !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center;
  gap: 0 !important;
  background: linear-gradient(145deg, #f5e6a8 0%, #d4af37 45%, #b8860b 100%) !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  box-shadow: 0 3px 8px rgba(166, 124, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  font-size: 0 !important;
  line-height: 1;
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-avatar-edit .material-symbols-outlined,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-avatar-edit .material-symbols-outlined,
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own .profile-cover-edit .material-symbols-outlined,
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own .profile-cover-edit .material-symbols-outlined {
  font-size: 0.95rem !important;
  font-weight: 700;
  color: #fff !important;
  font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 0, "opsz" 20;
  line-height: 1 !important;
}
/* Kapak +: sol üst — ayarlar ile aynı bantta, beyaz alana sızmasın */
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own .profile-cover-edit,
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own .profile-cover-edit {
  position: absolute !important;
  left: 0.3rem !important;
  right: auto !important;
  top: 0.3rem !important;
  bottom: auto !important;
  z-index: 12 !important;
}
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own .profile-cover-edit-label,
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own .profile-cover-edit-label {
  display: none !important;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-avatar-edit,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-avatar-edit {
  z-index: 12 !important;
  right: -0.15rem !important;
  bottom: -0.05rem !important;
}

/* Ayarlar — kapak sağ üstte (bildirim yanında) */
html.is-mobile-app #page-profile.profile-logged-in #profile-app-settings[hidden],
html.kozamia-app-shell #page-profile.profile-logged-in #profile-app-settings[hidden] {
  display: none !important;
}
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own #profile-app-settings:not([hidden]),
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own #profile-app-settings:not([hidden]) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-fb-meta,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-fb-meta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
}
html.is-mobile-app #page-profile.profile-logged-in #profile-name,
html.kozamia-app-shell #page-profile.profile-logged-in #profile-name {
  margin: 0.15rem 0 0;
  font-family: var(--kozamia-brand-serif, Georgia, "Times New Roman", serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #3d2a5c;
  line-height: 1.15;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-username,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-username {
  margin: 0;
  color: #a78bb8;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
}
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own .profile-bio-text,
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own .profile-stats-row,
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own .profile-bio-text,
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own .profile-stats-row {
  display: flex !important;
}
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own .profile-tabs,
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own .profile-tabs {
  display: flex !important;
}
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own .profile-tab-panel,
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own .profile-tab-panel {
  display: none !important;
}
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own .profile-tab-panel.active,
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own .profile-tab-panel.active {
  display: block !important;
}
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own .profile-tab-panel[hidden],
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own .profile-tab-panel[hidden] {
  display: none !important;
}
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own .profile-hub-menu,
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own .profile-hub-menu {
  display: none !important;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-mood-badge,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-mood-badge {
  display: inline-flex;
  margin-top: 0.1rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: #f0e6f6;
  color: var(--kozamia-shell-purple, #6a3d8a);
  font-size: 0.68rem;
  font-weight: 600;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-bio-text,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-bio-text {
  margin: 0.15rem 0 0;
  max-width: 22rem;
  color: #4a3a55;
  font-size: 0.8rem;
  line-height: 1.35;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-meta-line-web,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-meta-line-web {
  display: none !important;
}

/* Hub menu card (own profile) */
html.is-mobile-app .profile-hub-menu,
html.kozamia-app-shell .profile-hub-menu {
  display: none;
  flex-direction: column;
  width: calc(100% - 1.75rem);
  max-width: 26rem;
  margin: 1.1rem auto 1.5rem;
  padding: 0.15rem 0;
  background: #fff;
  border-radius: 1.35rem;
  border: 1px solid rgba(106, 61, 138, 0.06);
  box-shadow: 0 10px 28px rgba(45, 25, 60, 0.07);
  overflow: hidden;
}
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own .profile-hub-menu:not([hidden]),
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own .profile-hub-menu:not([hidden]) {
  display: none !important;
}
html.is-mobile-app .profile-hub-row,
html.kozamia-app-shell .profile-hub-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  padding: 1.05rem 1.15rem;
  border: 0;
  border-bottom: 1px solid rgba(106, 61, 138, 0.08);
  background: transparent;
  color: var(--kozamia-shell-purple, #6a3d8a);
  text-align: left;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
html.is-mobile-app .profile-hub-row:last-child,
html.kozamia-app-shell .profile-hub-row:last-child {
  border-bottom: 0;
}
html.is-mobile-app .profile-hub-icon,
html.kozamia-app-shell .profile-hub-icon {
  display: grid;
  place-items: center;
  width: 1.6rem;
  color: var(--kozamia-shell-purple, #6a3d8a);
}
html.is-mobile-app .profile-hub-icon .material-symbols-outlined,
html.kozamia-app-shell .profile-hub-icon .material-symbols-outlined {
  font-size: 1.35rem;
}
html.is-mobile-app .profile-hub-label,
html.kozamia-app-shell .profile-hub-label {
  flex: 1 1 auto;
}
html.is-mobile-app .profile-hub-chevron,
html.kozamia-app-shell .profile-hub-chevron {
  font-size: 1.35rem;
  color: var(--kozamia-shell-purple, #6a3d8a);
  opacity: 0.85;
}

/* Quick edit bottom sheet */
html.is-mobile-app .profile-quick-edit,
html.kozamia-app-shell .profile-quick-edit {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
html.is-mobile-app .profile-quick-edit[hidden],
html.kozamia-app-shell .profile-quick-edit[hidden] {
  display: none !important;
}
html.is-mobile-app .pqe-backdrop,
html.kozamia-app-shell .pqe-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(40, 20, 55, 0.35);
  padding: 0;
}
html.is-mobile-app .pqe-sheet,
html.kozamia-app-shell .pqe-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  max-height: 85vh;
  overflow: auto;
  padding: 0.55rem 1.15rem calc(1.15rem + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-radius: 1.35rem 1.35rem 0 0;
  box-shadow: 0 -12px 40px rgba(45, 25, 60, 0.16);
}
html.is-mobile-app .pqe-handle,
html.kozamia-app-shell .pqe-handle {
  width: 2.4rem;
  height: 0.28rem;
  margin: 0.15rem auto 0.85rem;
  border-radius: 999px;
  background: #d8d0de;
}
html.is-mobile-app .pqe-title,
html.kozamia-app-shell .pqe-title {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #2a2035;
}
html.is-mobile-app .pqe-field,
html.kozamia-app-shell .pqe-field {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: #f7f2f8;
  color: var(--kozamia-shell-purple, #6a3d8a);
}
html.is-mobile-app .pqe-field .material-symbols-outlined,
html.kozamia-app-shell .pqe-field .material-symbols-outlined {
  margin-top: 0.1rem;
  font-size: 1.25rem;
}
html.is-mobile-app .pqe-field input,
html.is-mobile-app .pqe-field textarea,
html.kozamia-app-shell .pqe-field input,
html.kozamia-app-shell .pqe-field textarea {
  flex: 1 1 auto;
  width: 100%;
  border: 0;
  background: transparent;
  color: #2a2035;
  font: inherit;
  font-size: 0.98rem;
  resize: none;
  outline: none;
}
html.is-mobile-app .pqe-field-bio,
html.kozamia-app-shell .pqe-field-bio {
  position: relative;
  padding-bottom: 1.5rem;
}
html.is-mobile-app .pqe-counter,
html.kozamia-app-shell .pqe-counter {
  position: absolute;
  right: 0.85rem;
  bottom: 0.45rem;
  font-size: 0.72rem;
  color: #9a8aa0;
  font-weight: 600;
}
html.is-mobile-app .pqe-photo-row,
html.kozamia-app-shell .pqe-photo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin: 0.15rem 0 1rem;
  padding: 0.65rem 0.35rem;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: #2a2035;
  cursor: pointer;
}
html.is-mobile-app .pqe-photo-thumb,
html.kozamia-app-shell .pqe-photo-thumb {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #f0e6f6;
  font-size: 1.35rem;
  background-size: cover;
  background-position: center;
}
html.is-mobile-app .pqe-photo-label,
html.kozamia-app-shell .pqe-photo-label {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
html.is-mobile-app .pqe-photo-label strong,
html.kozamia-app-shell .pqe-photo-label strong {
  font-size: 0.95rem;
}
html.is-mobile-app .pqe-photo-label em,
html.kozamia-app-shell .pqe-photo-label em {
  font-style: normal;
  font-size: 0.8rem;
  color: #9a8aa0;
}
html.is-mobile-app .pqe-save,
html.kozamia-app-shell .pqe-save {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1rem;
  background: var(--kozamia-shell-purple, #6a3d8a);
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

/* Stats — yan yana, kompakt */
html.is-mobile-app .profile-stats-row,
html.kozamia-app-shell .profile-stats-row,
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own .profile-stats-row,
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own .profile-stats-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  width: 100% !important;
  gap: 0.35rem !important;
  margin-top: 0.3rem;
  grid-template-columns: none !important;
}
html.is-mobile-app .profile-stat-chip,
html.kozamia-app-shell .profile-stat-chip {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  padding: 0.4rem 0.2rem 0.35rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(106, 61, 138, 0.1);
  background: #fff;
  box-shadow: 0 4px 12px rgba(45, 25, 60, 0.04);
  color: var(--text, #121212);
  cursor: pointer;
}
html.is-mobile-app .profile-stat-icon,
html.kozamia-app-shell .profile-stat-icon {
  font-size: 1.05rem !important;
  color: #e879a8 !important;
  line-height: 1;
  margin-bottom: 0.05rem;
}
html.is-mobile-app .profile-stat-chip strong,
html.kozamia-app-shell .profile-stat-chip strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text, #121212);
  line-height: 1.1;
}
html.is-mobile-app .profile-stat-chip > span:not(.material-symbols-outlined):not(.profile-stat-icon),
html.kozamia-app-shell .profile-stat-chip > span:not(.material-symbols-outlined):not(.profile-stat-icon) {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--text, #121212);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
html.is-mobile-app .profile-stat-chip-coin,
html.kozamia-app-shell .profile-stat-chip-coin {
  cursor: default;
}
html.is-mobile-app .profile-stat-chip-coin[hidden],
html.kozamia-app-shell .profile-stat-chip-coin[hidden] {
  display: none !important;
}

html.is-mobile-app #page-profile.profile-logged-in .profile-media-edit:not(.profile-cover-edit):not(.profile-avatar-edit),
html.kozamia-app-shell #page-profile.profile-logged-in .profile-media-edit:not(.profile-cover-edit):not(.profile-avatar-edit),
html.is-mobile-app #page-profile.profile-logged-in #profile-edit-btn,
html.kozamia-app-shell #page-profile.profile-logged-in #profile-edit-btn,
html.is-mobile-app #page-profile.profile-logged-in #profile-own-menu,
html.kozamia-app-shell #page-profile.profile-logged-in #profile-own-menu {
  display: none !important;
}

/* Kendi profilde altın + her zaman görünsün */
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own .profile-cover-edit:not([hidden]),
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own .profile-cover-edit:not([hidden]),
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own .profile-avatar-edit:not([hidden]),
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own .profile-avatar-edit:not([hidden]) {
  display: grid !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

html.is-mobile-app #page-profile.profile-logged-in .profile-fb-actions,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-fb-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: stretch !important;
  width: 100%;
  gap: 0.35rem !important;
  margin-top: 0.35rem !important;
  margin-bottom: 0.15rem !important;
}

/* Kendi profil: Takip/Mesaj/Daha fazla yok — display:flex !important [hidden]'ı ezmesin */
html.is-mobile-app #page-profile.profile-logged-in .profile-fb-actions[hidden],
html.kozamia-app-shell #page-profile.profile-logged-in .profile-fb-actions[hidden],
html.is-mobile-app #page-profile.profile-logged-in.profile-is-own #profile-view-actions,
html.kozamia-app-shell #page-profile.profile-logged-in.profile-is-own #profile-view-actions {
  display: none !important;
}

html.is-mobile-app #page-profile.profile-logged-in:not(.profile-is-own) #profile-own-actions,
html.kozamia-app-shell #page-profile.profile-logged-in:not(.profile-is-own) #profile-own-actions {
  display: none !important;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-fb-actions .btn,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-fb-actions .btn {
  flex: 1 1 0;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 2rem !important;
  height: 2rem;
  padding: 0.2rem 0.45rem !important;
  border-radius: 0.55rem !important;
  font-weight: 650;
  font-size: 0.72rem !important;
  gap: 0.22rem !important;
  justify-content: center;
  white-space: nowrap;
}
html.is-mobile-app #page-profile.profile-logged-in #profile-follow-btn,
html.kozamia-app-shell #page-profile.profile-logged-in #profile-follow-btn,
html.is-mobile-app #page-profile.profile-logged-in #profile-follow-btn:not(.is-following),
html.kozamia-app-shell #page-profile.profile-logged-in #profile-follow-btn:not(.is-following) {
  min-width: 0 !important;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-fb-actions .btn .material-symbols-outlined,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-fb-actions .btn .material-symbols-outlined {
  font-size: 0.95rem !important;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-fb-actions .btn-primary,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-fb-actions .btn-primary {
  background: var(--kozamia-shell-purple, #6a3d8a) !important;
  border-color: var(--kozamia-shell-purple, #6a3d8a) !important;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-fb-actions .btn-outline,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-fb-actions .btn-outline {
  border-color: rgba(106, 61, 138, 0.22) !important;
  color: var(--kozamia-shell-purple, #6a3d8a) !important;
  background: #fff !important;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-menu,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-menu {
  flex: 0 0 auto;
  position: relative;
  min-width: 0;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-menu-trigger,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-menu-trigger {
  width: auto;
  min-width: 2rem;
  padding-left: 0.4rem !important;
  padding-right: 0.4rem !important;
}
/* "Daha fazla" → sadece ikon (sıkışık satır) */
html.is-mobile-app #page-profile.profile-logged-in .profile-menu-trigger,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-menu-trigger {
  font-size: 0 !important;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-menu-trigger .material-symbols-outlined,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-menu-trigger .material-symbols-outlined {
  font-size: 1.05rem !important;
}
/* Açılır menü: tetikleyici dar olsa da panel tam metin genişliğinde */
html.is-mobile-app #page-profile.profile-logged-in .profile-menu-dropdown,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-menu-dropdown {
  left: auto !important;
  right: 0 !important;
  min-width: 12.75rem !important;
  width: max-content !important;
  max-width: min(18rem, calc(100vw - 1.5rem)) !important;
  padding: 0.4rem !important;
  box-sizing: border-box;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-menu-item,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-menu-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  white-space: nowrap !important;
  width: 100%;
  min-width: 0;
  padding: 0.7rem 0.85rem !important;
  line-height: 1.25;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-menu-item .material-symbols-outlined,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-menu-item .material-symbols-outlined {
  flex: 0 0 auto;
  font-size: 1.2rem !important;
}

/* Tabs */
html.is-mobile-app #page-profile.profile-logged-in .profile-tabs,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-tabs {
  display: flex;
  gap: 0;
  margin: 0.35rem 0.75rem 0.75rem;
  padding: 0;
  border-bottom: 1px solid rgba(106, 61, 138, 0.12);
  background: transparent;
  box-shadow: none;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-tab,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-tab {
  flex: 1 1 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #a394ab !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.7rem 0.4rem !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  box-shadow: none !important;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-tab .material-symbols-outlined,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-tab .material-symbols-outlined {
  font-size: 1.05rem;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-tab.active,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-tab.active {
  color: var(--kozamia-shell-purple, #6a3d8a) !important;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-tab.active::after,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-tab.active::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--kozamia-shell-purple, #6a3d8a);
}

/* Composer + wall */
html.is-mobile-app #page-profile.profile-logged-in .profile-tab-panel,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-tab-panel {
  display: none;
  padding: 0 0.75rem 1.25rem;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-tab-panel.active,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-tab-panel.active {
  display: block;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-composer,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-composer {
  border-radius: 1.15rem !important;
  padding: 0.9rem !important;
  margin-bottom: 0.85rem;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-composer-actions .btn-primary,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-composer-actions .btn-primary {
  background: var(--kozamia-shell-purple, #6a3d8a) !important;
  border-color: var(--kozamia-shell-purple, #6a3d8a) !important;
  border-radius: 999px;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-wall,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-wall {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-wall-post,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-wall-post {
  padding: 0.9rem !important;
  border-radius: 1.15rem !important;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-wall-post-actions,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-wall-post-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
  flex-wrap: wrap;
}
html.is-mobile-app #page-profile.profile-logged-in .wall-like-btn,
html.is-mobile-app #page-profile.profile-logged-in .wall-comment-btn,
html.is-mobile-app #page-profile.profile-logged-in .wall-share-btn,
html.is-mobile-app #page-profile.profile-logged-in .wall-edit-btn,
html.is-mobile-app #page-profile.profile-logged-in .wall-del-btn,
html.is-mobile-app #page-profile.profile-logged-in .wall-bookmark-btn,
html.kozamia-app-shell #page-profile.profile-logged-in .wall-like-btn,
html.kozamia-app-shell #page-profile.profile-logged-in .wall-comment-btn,
html.kozamia-app-shell #page-profile.profile-logged-in .wall-share-btn,
html.kozamia-app-shell #page-profile.profile-logged-in .wall-edit-btn,
html.kozamia-app-shell #page-profile.profile-logged-in .wall-del-btn,
html.kozamia-app-shell #page-profile.profile-logged-in .wall-bookmark-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--kozamia-shell-purple, #6a3d8a);
  border-radius: 0;
  padding: 0.25rem 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
}
html.is-mobile-app #page-profile.profile-logged-in .wall-like-btn .material-symbols-outlined,
html.is-mobile-app #page-profile.profile-logged-in .wall-comment-btn .material-symbols-outlined,
html.is-mobile-app #page-profile.profile-logged-in .wall-share-btn .material-symbols-outlined,
html.kozamia-app-shell #page-profile.profile-logged-in .wall-like-btn .material-symbols-outlined,
html.kozamia-app-shell #page-profile.profile-logged-in .wall-comment-btn .material-symbols-outlined,
html.kozamia-app-shell #page-profile.profile-logged-in .wall-share-btn .material-symbols-outlined {
  font-size: 1.05rem;
}
html.is-mobile-app #page-profile.profile-logged-in .wall-like-btn.liked,
html.kozamia-app-shell #page-profile.profile-logged-in .wall-like-btn.liked {
  background: transparent;
  color: var(--fuchsia, #c44d7a);
}
html.is-mobile-app #page-profile.profile-logged-in .wall-like-btn.liked .material-symbols-outlined,
html.kozamia-app-shell #page-profile.profile-logged-in .wall-like-btn.liked .material-symbols-outlined {
  font-variation-settings: "FILL" 1;
}

html.is-mobile-app #page-profile.profile-logged-in .profile-about-card,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-about-card {
  padding: 1rem !important;
  margin-bottom: 0.75rem;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-about-card h3,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-about-card h3 {
  color: var(--kozamia-shell-purple, #6a3d8a);
  font-family: var(--kozamia-brand-serif, Georgia, serif);
}
html.is-mobile-app #page-profile.profile-logged-in .profile-photos-grid,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-photos-grid img,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-photos-grid img {
  border-radius: 0.75rem;
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-photo-item,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-photo-item {
  margin: 0;
  overflow: hidden;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-photo-item figcaption,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-photo-item figcaption {
  display: none;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-photo-placeholder,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-photo-placeholder {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 2rem 1rem;
  text-align: center;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-photo-placeholder span,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-photo-placeholder span {
  font-size: 2rem;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-saved-empty,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-saved-empty,
.profile-saved-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 2.2rem 1.2rem;
  text-align: center;
}
.profile-saved-empty .material-symbols-outlined {
  font-size: 2rem;
  color: #6a3d8a;
  font-variation-settings: "FILL" 1;
}
.profile-saved-list .profile-wall-post {
  margin-bottom: 0.85rem;
}
html.is-mobile-app #page-profile.profile-logged-in .profile-tab,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-tab {
  font-size: 0.78rem;
  padding: 0.65rem 0.25rem !important;
  gap: 0.22rem;
}

html.is-mobile-app #page-profile.profile-logged-in .profile-private-notice,
html.kozamia-app-shell #page-profile.profile-logged-in .profile-private-notice {
  margin: 0.75rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid rgba(106, 61, 138, 0.12);
}

/* end Profil mockup profilev1 */
