/* ============================================================
   KOZAMIA — AMETHYST DESIGN SYSTEM (tıpa tıp mockup)
   #752FEE · #FF4FA3 · #F8F5FC · Plus Jakarta Sans
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

html.kozamia-amethyst,
html.is-mobile-app,
html.kozamia-app-shell,
:root {
  --am-purple: #752FEE;
  --am-pink: #FF4FA3;
  --am-bg: #F8F5FC;
  --am-card: #FFFFFF;
  --am-ink: #1A1A1A;
  --am-muted: #6B6580;
  --am-line: rgba(117, 47, 238, 0.12);
  --am-radius: 1.25rem;
  --am-radius-sm: 1rem;
  --am-shadow: 0 10px 28px rgba(117, 47, 238, 0.08);
  --am-shadow-lg: 0 16px 40px rgba(117, 47, 238, 0.12);
  --am-font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --kz-accent: #752FEE;
  --kz-pink: #FF4FA3;
  --kz-paper: #F8F5FC;
  --bg: #F8F5FC !important;
  --text: #1A1A1A !important;
  --accent: #752FEE !important;
  --fuchsia: #FF4FA3 !important;
  --font-sans: var(--am-font) !important;
  --kozamia-brand-serif: var(--am-font) !important;
  color-scheme: light !important;
}

html.kozamia-amethyst,
html.kozamia-amethyst body,
html.is-mobile-app,
html.is-mobile-app body,
html.kozamia-app-shell,
html.kozamia-app-shell body {
  font-family: var(--am-font) !important;
  background: var(--am-bg) !important;
  background-image: none !important;
  color: var(--am-ink) !important;
  -webkit-font-smoothing: antialiased;
}

/* —— Eski / geçersiz kabuklar —— */
html.kozamia-amethyst .lam-page-bg,
html.kozamia-amethyst .lam-auth-bg-photo,
html.kozamia-amethyst .lam-spark,
html.kozamia-amethyst .lam-brand-divider,
html.kozamia-amethyst .lam-home-hero,
html.kozamia-amethyst #home-guest-invite,
html.kozamia-amethyst #daily-flow-card,
html.kozamia-amethyst #home-shortcuts,
html.kozamia-amethyst #active-bots-panel,
html.kozamia-amethyst .home-feed-hero,
html.kozamia-amethyst .home-feed-head,
html.kozamia-amethyst .home-feed-intent-chips,
html.kozamia-amethyst #guest-proof-strip,
html.kozamia-amethyst #home-guest-preview,
html.kozamia-amethyst #kozamia-ritual-banner,
html.kozamia-amethyst #kozamia-campaign-strip,
html.kozamia-amethyst #kozamia-pano-user,
html.kozamia-amethyst #home-hashtag-section,
html.kozamia-amethyst .hub-guest-invite:not(.am-keep),
html.kozamia-amethyst #discover-tabs-sticky,
html.kozamia-amethyst #discover-app-top .discover-app-close,
html.kozamia-amethyst .discover-web-header,
html.kozamia-amethyst #feed-guest-invite,
html.kozamia-amethyst .feed-toolbar-pro,
html.kozamia-amethyst #story-rings-row,
html.kozamia-amethyst #profile-guest-invite,
html.kozamia-amethyst .profile-hub-menu,
html.kozamia-amethyst .profile-composer,
html.kozamia-amethyst .lam-auth-crystal-badge,
html.kozamia-amethyst .lam-auth-trust,
html.kozamia-amethyst #lam-exact-layer,
html.kozamia-amethyst #lam-exact-home,
html.kozamia-amethyst .am-legacy {
  display: none !important;
}

html.kozamia-amethyst *,
html.is-mobile-app * {
  font-family: inherit;
}

html.kozamia-amethyst h1,
html.kozamia-amethyst h2,
html.kozamia-amethyst .brand-name,
html.kozamia-amethyst .home-toolbar-name,
html.kozamia-amethyst .discover-app-title,
html.kozamia-amethyst .feed-app-title,
html.kozamia-amethyst #profile-name {
  font-family: var(--am-font) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: var(--am-ink) !important;
}

html.kozamia-amethyst .btn-primary,
html.is-mobile-app .btn-primary {
  background: var(--am-purple) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(117, 47, 238, 0.32) !important;
  font-weight: 700 !important;
}

html.kozamia-amethyst .btn-outline,
html.is-mobile-app .btn-outline {
  background: #fff !important;
  color: var(--am-purple) !important;
  border: 1.5px solid rgba(117, 47, 238, 0.28) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
}

html.kozamia-amethyst .page-wrap {
  max-width: 28rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-bottom: 6.5rem !important;
  background: transparent !important;
}

/* —— Bottom nav —— */
html.kozamia-amethyst .bottom-nav,
html.is-mobile-app .bottom-nav {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-top: 1px solid var(--am-line) !important;
  box-shadow: 0 -8px 28px rgba(117, 47, 238, 0.06) !important;
}

html.kozamia-amethyst .bottom-nav .nav-item {
  color: #9B94A8 !important;
  font-weight: 600 !important;
  font-size: 0.68rem !important;
  gap: 0.15rem !important;
}

html.kozamia-amethyst .bottom-nav .nav-item.active {
  color: var(--am-purple) !important;
}

html.kozamia-amethyst .bottom-nav .nav-item.active .material-symbols-outlined {
  color: var(--am-purple) !important;
  font-variation-settings: "FILL" 1 !important;
}

html.kozamia-amethyst .bottom-nav .nav-feed {
  position: relative !important;
  top: -0.95rem !important;
  z-index: 6 !important;
}

html.kozamia-amethyst .bottom-nav .nav-feed::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 38% !important;
  transform: translate(-50%, -50%) !important;
  width: 3.45rem !important;
  height: 3.45rem !important;
  border-radius: 999px !important;
  background: var(--am-purple) !important;
  box-shadow: 0 12px 28px rgba(117, 47, 238, 0.42) !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

html.kozamia-amethyst .bottom-nav .nav-feed .material-symbols-outlined {
  position: relative !important;
  z-index: 1 !important;
  color: #fff !important;
  font-size: 1.65rem !important;
  font-variation-settings: "FILL" 1 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html.kozamia-amethyst .bottom-nav .nav-feed > span:not(.material-symbols-outlined):not(.kz-ico-png) {
  display: none !important;
}

html.kozamia-amethyst .nav-tab-badge {
  background: var(--am-pink) !important;
  color: #fff !important;
  border: 2px solid #fff !important;
}

/* ============================================================
   1) ANA SAYFA
   ============================================================ */

html.kozamia-amethyst #page-home .home-content-toolbar,
html.kozamia-amethyst #page-home #home-content-toolbar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin: 0.55rem 1rem 0.2rem !important;
  padding: 0 !important;
  visibility: visible !important;
  gap: 0.5rem !important;
}

html.kozamia-amethyst .home-mock-search {
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 999px !important;
  background: #fff !important;
  border: 1px solid var(--am-line) !important;
  color: var(--am-purple) !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: var(--am-shadow) !important;
  padding: 0 !important;
  margin-left: auto !important;
}

html.kozamia-amethyst #page-home .home-stories-row,
html.kozamia-amethyst #page-home #home-stories-row {
  display: flex !important;
  gap: 0.85rem !important;
  overflow-x: auto !important;
  padding: 0.7rem 1rem 0.95rem !important;
  scrollbar-width: none !important;
  visibility: visible !important;
}

html.kozamia-amethyst .home-stories-row::-webkit-scrollbar { display: none; }

html.kozamia-amethyst .home-story-item,
html.kozamia-amethyst .am-story {
  flex: 0 0 auto;
  width: 4.4rem;
  border: 0 !important;
  background: none !important;
  padding: 0 !important;
  text-align: center;
  color: var(--am-ink) !important;
}

html.kozamia-amethyst .home-story-avatar,
html.kozamia-amethyst .am-story-ring {
  width: 3.85rem !important;
  height: 3.85rem !important;
  border-radius: 999px !important;
  padding: 2.5px !important;
  background: linear-gradient(135deg, #752FEE, #FF4FA3) !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 auto 0.3rem !important;
}

html.kozamia-amethyst .home-story-avatar > *,
html.kozamia-amethyst .am-story-ring > * {
  width: 100% !important;
  height: 100% !important;
  border-radius: 999px !important;
  border: 2.5px solid #F8F5FC !important;
  object-fit: cover !important;
  background: #fff !important;
  display: grid !important;
  place-items: center !important;
  font-weight: 700 !important;
  color: var(--am-purple) !important;
  overflow: hidden !important;
}

html.kozamia-amethyst .home-story-item.is-add .home-story-avatar,
html.kozamia-amethyst .am-story.is-add .am-story-ring {
  background: #fff !important;
  border: 2px dashed rgba(117, 47, 238, 0.35) !important;
  padding: 0 !important;
}

html.kozamia-amethyst .home-story-name,
html.kozamia-amethyst .am-story-name {
  font-size: 0.7rem !important;
  color: var(--am-muted) !important;
  font-weight: 600 !important;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.kozamia-amethyst #home-social-feed-section,
html.kozamia-amethyst #page-home #home-social-feed-section {
  display: block !important;
  margin: 0 1rem 1.4rem !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  visibility: visible !important;
}

html.kozamia-amethyst .am-post,
html.kozamia-amethyst .home-feed-card-mock,
html.kozamia-amethyst #home-social-feed > article {
  background: #fff !important;
  border-radius: var(--am-radius) !important;
  box-shadow: var(--am-shadow) !important;
  border: 1px solid var(--am-line) !important;
  margin-bottom: 0.95rem !important;
  overflow: hidden !important;
  padding: 0 !important;
}

html.kozamia-amethyst .am-post-head,
html.kozamia-amethyst .home-feed-card-head {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  padding: 0.85rem 0.9rem 0.55rem !important;
}

html.kozamia-amethyst .am-post-avatar,
html.kozamia-amethyst .home-feed-card-head .social-feed-avatar {
  width: 2.35rem !important;
  height: 2.35rem !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: rgba(117, 47, 238, 0.12) !important;
  flex-shrink: 0 !important;
}

html.kozamia-amethyst .am-post-avatar img,
html.kozamia-amethyst .social-feed-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

html.kozamia-amethyst .am-post-meta {
  flex: 1 !important;
  min-width: 0 !important;
}

html.kozamia-amethyst .am-post-meta strong,
html.kozamia-amethyst .home-feed-card-meta strong,
html.kozamia-amethyst .home-feed-card-meta .social-feed-author-btn {
  display: block !important;
  font-weight: 700 !important;
  color: var(--am-ink) !important;
  font-size: 0.92rem !important;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

html.kozamia-amethyst .am-follow,
html.kozamia-amethyst .home-feed-follow {
  border: 0 !important;
  background: none !important;
  color: var(--am-pink) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  padding: 0.25rem 0.35rem !important;
  white-space: nowrap !important;
}

html.kozamia-amethyst .am-post-media,
html.kozamia-amethyst .home-feed-media {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  background: #ece6f6 !important;
  overflow: hidden !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

html.kozamia-amethyst .am-post-media img,
html.kozamia-amethyst .home-feed-media img,
html.kozamia-amethyst .home-feed-media video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

html.kozamia-amethyst .am-post-caption,
html.kozamia-amethyst .home-feed-card-text {
  padding: 0.75rem 0.95rem 0.35rem !important;
  margin: 0 !important;
  font-size: 0.92rem !important;
  line-height: 1.45 !important;
  color: var(--am-ink) !important;
  font-weight: 500 !important;
}

html.kozamia-amethyst .am-post-actions,
html.kozamia-amethyst .home-feed-card-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  padding: 0.35rem 0.95rem 0.95rem !important;
  border: 0 !important;
  background: transparent !important;
}

html.kozamia-amethyst .am-post-actions button,
html.kozamia-amethyst .home-feed-card-actions .home-mock-act {
  border: 0 !important;
  background: none !important;
  color: var(--am-muted) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  padding: 0 !important;
}

html.kozamia-amethyst .am-post-actions .material-symbols-outlined,
html.kozamia-amethyst .home-feed-card-actions .material-symbols-outlined {
  color: var(--am-purple) !important;
  font-size: 1.25rem !important;
}

html.kozamia-amethyst .home-feed-card-actions .liked .material-symbols-outlined,
html.kozamia-amethyst .am-post-actions .is-liked .material-symbols-outlined {
  color: var(--am-pink) !important;
  font-variation-settings: "FILL" 1 !important;
}

/* ============================================================
   2) KEŞFET
   ============================================================ */

html.kozamia-amethyst #page-discover .discover-app-title {
  font-size: 1.85rem !important;
}

html.kozamia-amethyst .lam-discover-search {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  margin: 0.35rem 1rem 0.75rem !important;
  padding: 0.85rem 1.05rem !important;
  background: #fff !important;
  border-radius: 999px !important;
  border: 1px solid var(--am-line) !important;
  box-shadow: var(--am-shadow) !important;
}

html.kozamia-amethyst .lam-discover-search input {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100% !important;
  font-weight: 500 !important;
}

html.kozamia-amethyst .am-discover-chips {
  display: flex !important;
  gap: 0.5rem !important;
  overflow-x: auto !important;
  padding: 0 1rem 0.85rem !important;
  scrollbar-width: none !important;
}

html.kozamia-amethyst .am-discover-chips::-webkit-scrollbar { display: none; }

html.kozamia-amethyst .am-discover-chip {
  flex: 0 0 auto !important;
  border-radius: 999px !important;
  border: 1px solid var(--am-line) !important;
  background: #fff !important;
  color: var(--am-muted) !important;
  padding: 0.45rem 0.9rem !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
}

html.kozamia-amethyst .am-discover-chip.is-active {
  background: var(--am-purple) !important;
  color: #fff !important;
  border-color: var(--am-purple) !important;
}

html.kozamia-amethyst .am-featured {
  margin: 0 1rem 1rem !important;
  border-radius: 1.35rem !important;
  overflow: hidden !important;
  position: relative !important;
  min-height: 10.5rem !important;
  background:
    linear-gradient(120deg, rgba(117, 47, 238, 0.92), rgba(255, 79, 163, 0.55)),
    #752FEE !important;
  color: #fff !important;
  box-shadow: var(--am-shadow-lg) !important;
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  align-items: stretch !important;
  border: 0 !important;
  text-align: left !important;
  width: calc(100% - 2rem) !important;
  padding: 0 !important;
  cursor: pointer !important;
}

html.kozamia-amethyst .am-featured-copy {
  padding: 1.15rem 0.35rem 1.15rem 1.15rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 0.35rem !important;
}

html.kozamia-amethyst .am-featured-kicker {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  opacity: 0.9 !important;
  margin: 0 !important;
}

html.kozamia-amethyst .am-featured-title {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  color: #fff !important;
}

html.kozamia-amethyst .am-featured-img {
  min-height: 10.5rem !important;
  background-size: cover !important;
  background-position: center !important;
}

html.kozamia-amethyst #discover-cat-grid {
  display: none !important;
}

html.kozamia-amethyst .am-discover-section {
  margin: 0 1rem 1.15rem !important;
}

html.kozamia-amethyst .am-discover-section-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 0.65rem !important;
}

html.kozamia-amethyst .am-discover-section-head h2 {
  font-size: 1.05rem !important;
  margin: 0 !important;
}

html.kozamia-amethyst .am-discover-section-head button {
  border: 0 !important;
  background: none !important;
  color: var(--am-purple) !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
}

html.kozamia-amethyst .am-tag-cloud {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.45rem !important;
}

html.kozamia-amethyst .am-tag {
  border-radius: 999px !important;
  border: 1px solid rgba(117, 47, 238, 0.22) !important;
  background: #fff !important;
  color: var(--am-purple) !important;
  padding: 0.4rem 0.8rem !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
}

html.kozamia-amethyst .am-community-row {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  background: #fff !important;
  border: 1px solid var(--am-line) !important;
  border-radius: var(--am-radius-sm) !important;
  box-shadow: var(--am-shadow) !important;
  padding: 0.75rem !important;
  margin-bottom: 0.55rem !important;
}

html.kozamia-amethyst .am-community-row .discover-cat-icon,
html.kozamia-amethyst .am-community-avatar {
  width: 2.6rem !important;
  height: 2.6rem !important;
  border-radius: 999px !important;
  background: rgba(117, 47, 238, 0.12) !important;
  color: var(--am-purple) !important;
  display: grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
}

html.kozamia-amethyst .am-community-row .btn {
  margin-left: auto !important;
  padding: 0.4rem 0.9rem !important;
  font-size: 0.78rem !important;
}

/* ============================================================
   3) AKIŞ
   ============================================================ */

html.kozamia-amethyst .am-feed-tabs {
  display: flex !important;
  gap: 0.5rem !important;
  padding: 0.65rem 1rem 0.85rem !important;
}

html.kozamia-amethyst .am-feed-tab {
  flex: 1 !important;
  border-radius: 999px !important;
  border: 1px solid var(--am-line) !important;
  background: #fff !important;
  color: var(--am-muted) !important;
  font-weight: 700 !important;
  padding: 0.65rem !important;
}

html.kozamia-amethyst .am-feed-tab.is-active {
  background: var(--am-purple) !important;
  color: #fff !important;
  border-color: var(--am-purple) !important;
}

html.kozamia-amethyst #am-feed-demo {
  padding: 0 1rem 1rem !important;
}

html.kozamia-amethyst .am-audio-card {
  background: #fff !important;
  border: 1px solid var(--am-line) !important;
  border-radius: var(--am-radius) !important;
  box-shadow: var(--am-shadow) !important;
  padding: 0.95rem !important;
  margin-bottom: 0.9rem !important;
}

html.kozamia-amethyst .am-audio-row {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

html.kozamia-amethyst .am-audio-play {
  width: 2.6rem !important;
  height: 2.6rem !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: var(--am-purple) !important;
  color: #fff !important;
  display: grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
}

html.kozamia-amethyst .am-wave {
  flex: 1 !important;
  height: 2.2rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
}

html.kozamia-amethyst .am-wave span {
  display: block !important;
  width: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #996BF1, #752FEE) !important;
}

html.kozamia-amethyst #discover-vertical-feed,
html.kozamia-amethyst #discover-video-grid {
  display: none !important;
}

/* ============================================================
   4) BİLDİRİMLER
   ============================================================ */

html.kozamia-amethyst .am-notif-tabs,
html.kozamia-amethyst .connect-notif-tabs {
  display: flex !important;
  gap: 0.45rem !important;
  overflow-x: auto !important;
  padding: 0.55rem 1rem !important;
  background: transparent !important;
  border: 0 !important;
  scrollbar-width: none !important;
}

html.kozamia-amethyst .am-notif-tabs::-webkit-scrollbar,
html.kozamia-amethyst .connect-notif-tabs::-webkit-scrollbar { display: none; }

html.kozamia-amethyst .am-notif-tab,
html.kozamia-amethyst .connect-notif-tabs .notif-tab {
  flex: 0 0 auto !important;
  border-radius: 999px !important;
  background: #fff !important;
  border: 1px solid var(--am-line) !important;
  color: var(--am-muted) !important;
  font-weight: 600 !important;
  padding: 0.45rem 0.85rem !important;
  box-shadow: none !important;
}

html.kozamia-amethyst .am-notif-tab.is-active,
html.kozamia-amethyst .connect-notif-tabs .notif-tab.is-active {
  background: var(--am-purple) !important;
  color: #fff !important;
  border-color: var(--am-purple) !important;
}

html.kozamia-amethyst .am-notif-item,
html.kozamia-amethyst .connect-notif-item,
html.kozamia-amethyst .notif-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin: 0 1rem 0.55rem !important;
  padding: 0.85rem !important;
  background: #fff !important;
  border: 1px solid var(--am-line) !important;
  border-radius: var(--am-radius-sm) !important;
  box-shadow: var(--am-shadow) !important;
}

html.kozamia-amethyst .am-notif-avatar {
  width: 2.6rem !important;
  height: 2.6rem !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: rgba(117, 47, 238, 0.12) !important;
  flex-shrink: 0 !important;
  display: grid !important;
  place-items: center !important;
  color: var(--am-purple) !important;
  font-weight: 700 !important;
}

html.kozamia-amethyst .am-notif-body {
  flex: 1 !important;
  min-width: 0 !important;
}

html.kozamia-amethyst .am-notif-body strong {
  font-weight: 700 !important;
  color: var(--am-ink) !important;
}

html.kozamia-amethyst .am-notif-body p {
  margin: 0.15rem 0 0 !important;
  color: var(--am-muted) !important;
  font-size: 0.82rem !important;
}

html.kozamia-amethyst .am-notif-time {
  color: var(--am-muted) !important;
  font-size: 0.75rem !important;
  white-space: nowrap !important;
}

html.kozamia-amethyst .am-notif-heart {
  color: var(--am-pink) !important;
  font-variation-settings: "FILL" 1 !important;
}

/* ============================================================
   5) MESAJLAR
   ============================================================ */

html.kozamia-amethyst #dm-inbox-search,
html.kozamia-amethyst .dm-inbox-search,
html.kozamia-amethyst .am-msg-search {
  margin: 0.5rem 1rem !important;
  border-radius: 999px !important;
  background: #fff !important;
  border: 1px solid var(--am-line) !important;
  box-shadow: var(--am-shadow) !important;
  padding: 0.75rem 1rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

html.kozamia-amethyst .am-msg-online {
  display: flex !important;
  gap: 0.75rem !important;
  overflow-x: auto !important;
  padding: 0.35rem 1rem 0.75rem !important;
  scrollbar-width: none !important;
}

html.kozamia-amethyst .am-msg-online::-webkit-scrollbar { display: none; }

html.kozamia-amethyst .am-msg-online-item {
  flex: 0 0 auto !important;
  width: 3.6rem !important;
  text-align: center !important;
}

html.kozamia-amethyst .am-msg-online-item .ring {
  width: 3.2rem !important;
  height: 3.2rem !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #752FEE, #FF4FA3) !important;
  padding: 2px !important;
  margin: 0 auto 0.25rem !important;
}

html.kozamia-amethyst .am-msg-online-item .ring > * {
  width: 100% !important;
  height: 100% !important;
  border-radius: 999px !important;
  border: 2px solid #F8F5FC !important;
  background: #fff !important;
  display: grid !important;
  place-items: center !important;
  font-weight: 700 !important;
  color: var(--am-purple) !important;
  overflow: hidden !important;
}

html.kozamia-amethyst .dm-thread-row,
html.kozamia-amethyst .dm-inbox-item,
html.kozamia-amethyst .am-msg-row {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin: 0 1rem 0.5rem !important;
  padding: 0.8rem !important;
  background: #fff !important;
  border: 1px solid var(--am-line) !important;
  border-radius: var(--am-radius-sm) !important;
  box-shadow: var(--am-shadow) !important;
}

html.kozamia-amethyst .am-msg-unread {
  width: 0.55rem !important;
  height: 0.55rem !important;
  border-radius: 999px !important;
  background: var(--am-purple) !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
}

html.kozamia-amethyst .dm-toolbar-tabs,
html.kozamia-amethyst #messages-tabs-nav {
  display: none !important;
}

/* ============================================================
   6) PROFİL
   ============================================================ */

html.kozamia-amethyst #profile-logged {
  display: block !important;
}

html.kozamia-amethyst .profile-cover {
  background: linear-gradient(135deg, rgba(117, 47, 238, 0.55), rgba(255, 79, 163, 0.4)) !important;
  min-height: 8.5rem !important;
  border-radius: 0 0 1.5rem 1.5rem !important;
}

html.kozamia-amethyst #profile-avatar,
html.kozamia-amethyst .profile-fb-avatar {
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--am-purple) !important;
}

html.kozamia-amethyst .profile-stat-chip {
  background: #fff !important;
  border-radius: 1rem !important;
  border: 1px solid var(--am-line) !important;
  box-shadow: var(--am-shadow) !important;
}

html.kozamia-amethyst .profile-stat-chip strong {
  color: var(--am-purple) !important;
}

html.kozamia-amethyst .profile-stat-chip-coin {
  display: none !important;
}

html.kozamia-amethyst #profile-own-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.55rem !important;
  padding: 0 1rem !important;
}

html.kozamia-amethyst #profile-own-actions #profile-feed-add-btn,
html.kozamia-amethyst #profile-own-actions #profile-logout-btn {
  display: none !important;
}

html.kozamia-amethyst #profile-edit-btn {
  display: inline-flex !important;
  width: 100% !important;
  justify-content: center !important;
}

html.kozamia-amethyst .profile-tabs {
  display: flex !important;
  justify-content: space-around !important;
  border-bottom: 1px solid var(--am-line) !important;
  margin: 0.75rem 0 0 !important;
  background: transparent !important;
}

html.kozamia-amethyst .profile-tab {
  flex: 1 !important;
  border: 0 !important;
  background: none !important;
  color: var(--am-muted) !important;
  padding: 0.75rem 0.35rem !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
}

html.kozamia-amethyst .profile-tab.active {
  color: var(--am-purple) !important;
  box-shadow: inset 0 -2px 0 var(--am-purple) !important;
}

html.kozamia-amethyst .am-profile-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.2rem !important;
  padding: 0.2rem !important;
}

html.kozamia-amethyst .am-profile-grid figure {
  margin: 0 !important;
  aspect-ratio: 1 !important;
  overflow: hidden !important;
  background: #ece6f6 !important;
}

html.kozamia-amethyst .am-profile-grid img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* ============================================================
   7) CANLI
   ============================================================ */

html.kozamia-amethyst .am-live-featured {
  margin: 0.5rem 1rem 1rem !important;
  border-radius: 1.35rem !important;
  overflow: hidden !important;
  position: relative !important;
  min-height: 12rem !important;
  background: #1a1a1a !important;
  box-shadow: var(--am-shadow-lg) !important;
}

html.kozamia-amethyst .am-live-featured img {
  width: 100% !important;
  height: 12rem !important;
  object-fit: cover !important;
  opacity: 0.85 !important;
  display: block !important;
}

html.kozamia-amethyst .am-live-badge {
  position: absolute !important;
  top: 0.85rem !important;
  left: 0.85rem !important;
  background: var(--am-pink) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  font-size: 0.72rem !important;
  padding: 0.3rem 0.65rem !important;
}

html.kozamia-amethyst .am-live-meta {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  padding: 1rem !important;
  background: linear-gradient(transparent, rgba(0,0,0,0.7)) !important;
  color: #fff !important;
}

html.kozamia-amethyst .am-live-meta strong {
  display: block !important;
  font-size: 1.05rem !important;
  color: #fff !important;
}

html.kozamia-amethyst .am-upcoming-row {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin: 0 1rem 0.55rem !important;
  padding: 0.8rem !important;
  background: #fff !important;
  border: 1px solid var(--am-line) !important;
  border-radius: var(--am-radius-sm) !important;
  box-shadow: var(--am-shadow) !important;
}

html.kozamia-amethyst .am-upcoming-row .btn {
  margin-left: auto !important;
  flex-shrink: 0 !important;
}

html.kozamia-amethyst .live-badge,
html.kozamia-amethyst .live-ig-live-pill {
  background: var(--am-pink) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
}

/* ============================================================
   8) GİRİŞ
   ============================================================ */

html.kozamia-amethyst #modal-login .auth-sheet,
html.kozamia-amethyst #modal-login .lam-auth-sheet {
  background: var(--am-bg) !important;
}

html.kozamia-amethyst #modal-login .lam-auth-stage {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: min(100dvh, 40rem) !important;
  padding: 1.5rem 1.25rem !important;
}

html.kozamia-amethyst #modal-login .lam-auth-top-brand {
  text-align: center !important;
  margin-bottom: 1.5rem !important;
}

html.kozamia-amethyst #modal-login .lam-auth-logo,
html.kozamia-amethyst #modal-login #auth-brand-name {
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  color: var(--am-ink) !important;
  margin: 0.5rem 0 0.35rem !important;
}

html.kozamia-amethyst #modal-login #auth-brand-tagline {
  color: var(--am-muted) !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  max-width: 16rem !important;
  margin: 0 auto !important;
}

html.kozamia-amethyst #modal-login .lam-auth-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: 22rem !important;
  padding: 0 !important;
}

html.kozamia-amethyst #modal-login .lam-auth-head,
html.kozamia-amethyst #modal-login .lam-auth-form,
html.kozamia-amethyst #modal-login .lam-auth-google,
html.kozamia-amethyst #modal-login .lam-auth-switch,
html.kozamia-amethyst #modal-login .auth-forgot-row {
  display: none !important;
}

html.kozamia-amethyst #modal-login.is-email-mode .lam-auth-form,
html.kozamia-amethyst #modal-login.is-email-mode .lam-auth-head,
html.kozamia-amethyst #modal-login.is-email-mode .lam-auth-switch {
  display: block !important;
}

html.kozamia-amethyst #modal-login.is-email-mode .am-auth-stack {
  display: none !important;
}

html.kozamia-amethyst .am-auth-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.7rem !important;
  width: 100% !important;
}

html.kozamia-amethyst .am-auth-btn {
  width: 100% !important;
  border-radius: 999px !important;
  border: 1.5px solid rgba(117, 47, 238, 0.28) !important;
  background: #fff !important;
  color: var(--am-ink) !important;
  font-weight: 700 !important;
  padding: 0.95rem 1rem !important;
  font-size: 0.95rem !important;
  box-shadow: var(--am-shadow) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.55rem !important;
}

html.kozamia-amethyst .am-auth-btn.is-primary {
  background: var(--am-purple) !important;
  color: #fff !important;
  border-color: var(--am-purple) !important;
}

html.kozamia-amethyst .am-auth-phone {
  border: 0 !important;
  background: none !important;
  color: var(--am-purple) !important;
  font-weight: 700 !important;
  padding: 0.5rem !important;
  margin-top: 0.25rem !important;
}

html.kozamia-amethyst .am-auth-footer {
  text-align: center !important;
  margin-top: 1.25rem !important;
  color: var(--am-muted) !important;
  font-size: 0.9rem !important;
}

html.kozamia-amethyst .am-auth-footer button {
  border: 0 !important;
  background: none !important;
  color: var(--am-purple) !important;
  font-weight: 800 !important;
}

html.kozamia-amethyst .am-auth-gem {
  width: 4.5rem !important;
  height: 4.5rem !important;
  margin: 0 auto !important;
  display: grid !important;
  place-items: center !important;
}

html.kozamia-amethyst #modal-login input {
  border-radius: 999px !important;
  border: 1.5px solid var(--am-line) !important;
}

html.kozamia-amethyst #modal-login input:focus {
  border-color: var(--am-purple) !important;
  box-shadow: 0 0 0 4px rgba(117, 47, 238, 0.14) !important;
}

html.kozamia-amethyst #profile-guest-invite,
html.kozamia-amethyst body:not(.logged-in) #profile-guest-invite {
  display: none !important;
}

html.kozamia-amethyst body:not(.logged-in) #profile-logged {
  display: block !important;
}

html.kozamia-amethyst body:not(.logged-in) #profile-cover-actions {
  display: flex !important;
}

html.kozamia-amethyst #discover-guest-invite {
  display: none !important;
}

/* —— Mockup dışı kalıntılar (son söz) —— */
html.kozamia-amethyst .home-toolbar-brand {
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  text-decoration: none !important;
  color: var(--am-ink) !important;
}
html.kozamia-amethyst .home-toolbar-name {
  font-size: 1.45rem !important;
  font-weight: 800 !important;
}
html.kozamia-amethyst #home-feed-hero,
html.kozamia-amethyst #home-feed-hero[hidden],
html.kozamia-amethyst .home-feed-hero,
html.kozamia-amethyst .home-mock-notify,
html.kozamia-amethyst .home-mock-notify[hidden],
html.kozamia-amethyst .am-legacy {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}

/* ============================================================
   FIX3 — renk / arka plan / eksik ekran kilidi
   ============================================================ */

html.kozamia-amethyst,
html.kozamia-amethyst[data-theme="dark"],
html.kozamia-amethyst body,
html.kozamia-amethyst body.mood-theme,
html.kozamia-amethyst body.site-ui-force-dark,
html.kozamia-amethyst .app-page,
html.kozamia-amethyst .page-wrap,
html.kozamia-amethyst #page-home,
html.kozamia-amethyst #page-discover,
html.kozamia-amethyst #page-feed,
html.kozamia-amethyst #page-connect,
html.kozamia-amethyst #page-profile,
html.kozamia-amethyst .connect-panel,
html.kozamia-amethyst .modal.auth-screen-modal,
html.kozamia-amethyst #modal-login .lam-auth-sheet,
html.kozamia-amethyst #modal-login .lam-auth-stage {
  background: #F8F5FC !important;
  background-image: none !important;
  color: #1A1A1A !important;
  color-scheme: light !important;
}

html.kozamia-amethyst body.mood-theme::before,
html.kozamia-amethyst body::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

html.kozamia-amethyst #discover-app-top {
  display: block !important;
  background: transparent !important;
  padding: 0.75rem 1rem 0 !important;
  border: 0 !important;
}

html.kozamia-amethyst #discover-back-x,
html.kozamia-amethyst #discover-app-notify,
html.kozamia-amethyst .discover-hub-header-web,
html.kozamia-amethyst #discover-tabs-sticky,
html.kozamia-amethyst .discover-app-brand-row {
  display: none !important;
}

html.kozamia-amethyst #discover-hub-sub {
  color: #6B6580 !important;
  font-weight: 500 !important;
  margin: 0.15rem 0 0.35rem !important;
}

html.kozamia-amethyst .am-featured {
  display: grid !important;
  grid-template-columns: 1.15fr 0.95fr !important;
  min-height: 11rem !important;
}

html.kozamia-amethyst .am-featured-img {
  display: block !important;
  min-height: 11rem !important;
  background-size: cover !important;
  background-position: center !important;
}

html.kozamia-amethyst #modal-login .lam-auth-close {
  position: absolute !important;
  top: 0.75rem !important;
  right: 0.75rem !important;
  z-index: 5 !important;
  width: 2.4rem !important;
  height: 2.4rem !important;
  border-radius: 999px !important;
  background: #fff !important;
  border: 1px solid rgba(117, 47, 238, 0.18) !important;
  color: #752FEE !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 8px 20px rgba(117, 47, 238, 0.12) !important;
}

html.kozamia-amethyst #modal-login .lam-auth-card {
  position: relative !important;
  max-width: 22rem !important;
  margin: 0 auto !important;
}

html.kozamia-amethyst .am-auth-stack {
  padding-top: 0.5rem !important;
}

html.kozamia-amethyst .am-apple-mark {
  width: 1.1rem !important;
  height: 1.1rem !important;
  display: inline-block !important;
  background: #1A1A1A !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.2 8.1c0-1.5.9-2.3.9-2.3-.8-1.2-2.1-1.3-2.5-1.4-1-.1-2 .6-2.5.6-.5 0-1.3-.6-2.2-.6-1.1 0-2.2.7-2.7 1.7-1.2 2-.3 5 .8 6.6.6.8 1.2 1.7 2.1 1.6.8 0 1.1-.5 2.1-.5s1.2.5 2.1.5c.9 0 1.4-.8 2-1.6.6-.9.9-1.8.9-1.8s-1.8-.7-1.8-2.8zM9.5 3.6c.5-.6.8-1.4.7-2.2-.7 0-1.5.5-2 1-.4.5-.8 1.3-.7 2.1.8.1 1.5-.4 2-0.9z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.2 8.1c0-1.5.9-2.3.9-2.3-.8-1.2-2.1-1.3-2.5-1.4-1-.1-2 .6-2.5.6-.5 0-1.3-.6-2.2-.6-1.1 0-2.2.7-2.7 1.7-1.2 2-.3 5 .8 6.6.6.8 1.2 1.7 2.1 1.6.8 0 1.1-.5 2.1-.5s1.2.5 2.1.5c.9 0 1.4-.8 2-1.6.6-.9.9-1.8.9-1.8s-1.8-.7-1.8-2.8zM9.5 3.6c.5-.6.8-1.4.7-2.2-.7 0-1.5.5-2 1-.4.5-.8 1.3-.7 2.1.8.1 1.5-.4 2-0.9z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

html.kozamia-amethyst body:not(.logged-in) #profile-logged {
  display: block !important;
}

html.kozamia-amethyst body:not(.logged-in) #profile-guest-invite,
html.kozamia-amethyst #profile-guest-invite {
  display: none !important;
}

html.kozamia-amethyst #profile-avatar,
html.kozamia-amethyst .profile-fb-avatar {
  background: linear-gradient(135deg, #752FEE, #FF4FA3) !important;
  color: #fff !important;
  font-weight: 800 !important;
}

html.kozamia-amethyst #am-feed-demo,
html.kozamia-amethyst .am-feed-tabs {
  display: block !important;
}

html.kozamia-amethyst .am-feed-tabs {
  display: flex !important;
}

html.kozamia-amethyst #page-feed .hub-guest-invite,
html.kozamia-amethyst #feed-guest-invite {
  display: none !important;
}

html.kozamia-amethyst #page-feed .feed-page-panel {
  display: block !important;
}

html.kozamia-amethyst #connect-panel-hub .connect-hub-doors,
html.kozamia-amethyst #connect-panel-hub {
  /* Mesajlar sekmesinde hub gizlensin — panel JS ile yönetilir */
}

html.kozamia-amethyst #messages-window,
html.kozamia-amethyst #connect-panel-messages {
  background: #F8F5FC !important;
}

html.kozamia-amethyst .dm-toolbar-tabs,
html.kozamia-amethyst #messages-tabs-nav {
  display: none !important;
}

html.kozamia-amethyst .bottom-nav {
  background: rgba(255, 255, 255, 0.96) !important;
}

html.kozamia-amethyst .material-symbols-outlined {
  font-family: "Material Symbols Outlined" !important;
}

html.kozamia-amethyst .kz-ico-png {
  filter: none !important;
}

html.kozamia-amethyst #page-connect.connect-tab-messages #connect-panel-hub,
html.kozamia-amethyst #page-connect.connect-tab-messages .connect-hub-doors,
html.kozamia-amethyst #page-connect.connect-tab-messages .connect-cat-grid {
  display: none !important;
}

html.kozamia-amethyst #connect-panel-messages:not([hidden]) {
  display: block !important;
}

html.kozamia-amethyst #messages-logged {
  display: block !important;
}

html.kozamia-amethyst #dm-online-section {
  display: block !important;
  padding: 0.5rem 0 0 !important;
}

html.kozamia-amethyst #dm-online-list {
  display: flex !important;
  gap: 0.75rem !important;
  overflow-x: auto !important;
  padding: 0.35rem 1rem 0.75rem !important;
}

html.kozamia-amethyst #dm-inbox-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.15rem !important;
  padding-bottom: 1rem !important;
}

html.kozamia-amethyst .am-msg-row {
  width: calc(100% - 2rem) !important;
  text-align: left !important;
  border: 1px solid rgba(117,47,238,0.12) !important;
  background: #fff !important;
}

html.kozamia-amethyst body:not(.logged-in) #messages-logged,
html.kozamia-amethyst #messages-logged,
html.kozamia-amethyst body:not(.logged-in) #connect-panel-messages,
html.kozamia-amethyst #page-connect.connect-tab-messages #connect-panel-messages,
html.kozamia-amethyst #page-connect.is-messages-focus #connect-panel-messages {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
}

html.kozamia-amethyst body:not(.logged-in) #messages-guest {
  display: none !important;
}

html.kozamia-amethyst #page-connect.is-messages-focus .dm-app,
html.kozamia-amethyst #page-connect.connect-tab-messages .dm-app {
  display: flex !important;
  flex-direction: column !important;
  min-height: calc(100dvh - 5.5rem) !important;
  height: auto !important;
  max-height: none !important;
  background: #F8F5FC !important;
}

html.kozamia-amethyst #messages-inbox-view,
html.kozamia-amethyst #messages-list-view,
html.kozamia-amethyst .dm-body,
html.kozamia-amethyst .dm-split,
html.kozamia-amethyst .dm-sidebar {
  display: flex !important;
  flex-direction: column !important;
  visibility: visible !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* ============================================================
   KILL LEGACY — Amethyst clean (son söz)
   ============================================================ */

/* LAM / foto / spark / marketing kabukları */
html.kozamia-amethyst [class*="lam-"],
html.kozamia-amethyst .lam-page-bg,
html.kozamia-amethyst .lam-spark,
html.kozamia-amethyst .lam-auth-bg-photo,
html.kozamia-amethyst .lam-home-hero,
html.kozamia-amethyst #lam-exact-layer {
  display: none !important;
  background-image: none !important;
  pointer-events: none !important;
}

/* Misafir pazarlama kartları + eski daily-flow / hub kapıları */
html.kozamia-amethyst .hub-guest-invite,
html.kozamia-amethyst #home-guest-invite,
html.kozamia-amethyst #feed-guest-invite,
html.kozamia-amethyst #discover-guest-invite,
html.kozamia-amethyst #connect-guest-invite,
html.kozamia-amethyst #profile-guest-invite,
html.kozamia-amethyst #daily-flow-card,
html.kozamia-amethyst .daily-flow-spotlight,
html.kozamia-amethyst .hub-doors:not(.am-messages-focus),
html.kozamia-amethyst #home-shortcuts,
html.kozamia-amethyst #active-bots-panel,
html.kozamia-amethyst #guest-proof-strip {
  display: none !important;
}

/* app-theme dark mood / koyu zemin yasak */
html.kozamia-amethyst,
html.kozamia-amethyst body,
html.kozamia-amethyst .app-shell,
html.kozamia-amethyst #app,
html.kozamia-amethyst .page,
html.kozamia-amethyst .app-page {
  color-scheme: light !important;
  background-color: #F8F5FC !important;
  background-image: none !important;
}

html.kozamia-amethyst body::before,
html.kozamia-amethyst .mood-dark::before,
html.kozamia-amethyst [data-mood="dark"]::before,
html.kozamia-amethyst .app-theme-dark::before {
  display: none !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
}

/* Misafir mesajlar: style.css hide override */
html.kozamia-amethyst body:not(.logged-in) #messages-logged,
html.kozamia-amethyst #page-connect #messages-logged,
html.kozamia-amethyst #messages-logged.am-force-show {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html.kozamia-amethyst body:not(.logged-in) #messages-guest,
html.kozamia-amethyst #connect-guest-gate {
  display: none !important;
}
