/**
 * Neler Oluyor — designs/design4.html ile birebir hizalı (portal gömülü mod).
 * Sarmalayıcı: .nf-d4-wrap
 */
.page-neler-d4 #main-content {
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}

.nf-d4-wrap {
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding: 12px 16px 88px;
  font-family: var(--font);
}

.nf-d4-wrap * {
  box-sizing: border-box;
}

/* ── Dashboard layout (sidebar gömülü — fixed değil) ── */
.nf-d4-wrap .layout {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-height: auto;
}

.nf-d4-wrap .sidebar {
  width: 248px;
  flex-shrink: 0;
  background: var(--card-bg);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  box-shadow: var(--shadow-sm);
  z-index: 5;
}

.nf-d4-wrap .sb-logo {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nf-d4-wrap .sb-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}
.nf-d4-wrap .sb-logo-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary);
}
.nf-d4-wrap .sb-logo-text small {
  font-size: 0.58rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nf-d4-wrap .sb-user {
  margin: 14px 14px 10px;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nf-d4-wrap .sb-user--guest {
  align-items: flex-start;
}
.nf-d4-wrap .sb-ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.nf-d4-wrap .sb-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nf-d4-wrap .sb-user-info strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-dark);
}
.nf-d4-wrap .sb-user-info span {
  font-size: 0.62rem;
  color: var(--text-soft);
}
.nf-d4-wrap .sb-online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-left: auto;
  border: 2px solid var(--card-bg);
  flex-shrink: 0;
}
.nf-d4-wrap .sb-guest-in {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.nf-d4-wrap .sb-guest-btn {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.nf-d4-wrap .sb-guest-btn:hover {
  background: var(--primary-dark);
}

.nf-d4-wrap .sb-nav {
  flex: 1;
  padding: 8px 12px;
  overflow: visible;
}
.nf-d4-wrap .sb-section {
  margin-bottom: 18px;
}
.nf-d4-wrap .sb-section-lbl {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0 8px;
  margin-bottom: 6px;
}
.nf-d4-wrap .sb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 1px;
  position: relative;
  text-decoration: none;
}
.nf-d4-wrap .sb-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.nf-d4-wrap .sb-item.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}
.nf-d4-wrap .sb-item.active::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  background: var(--primary);
  border-radius: 0 3px 3px 0;
}
.nf-d4-wrap .sb-item i {
  width: 16px;
  text-align: center;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.nf-d4-wrap .sb-badge {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}
.nf-d4-wrap .sb-dot {
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.nf-d4-wrap .sb-bottom {
  padding: 14px;
}
.nf-d4-wrap .sb-premium {
  background: linear-gradient(135deg, var(--primary-light), #fff3e0);
  border: 1px solid #ffcdd2;
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}
.nf-d4-wrap .sb-premium p {
  font-size: 0.7rem;
  color: var(--text-mid);
  margin-bottom: 10px;
  line-height: 1.5;
}
.nf-d4-wrap .sb-premium-btn,
.nf-d4-wrap .sb-premium a.sb-premium-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff !important;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
}
.nf-d4-wrap .sb-premium-btn:hover {
  background: var(--primary-dark);
}

.nf-d4-wrap .main {
  margin-left: 0;
  flex: 1;
  min-width: 0;
  min-height: auto;
  display: flex;
  flex-direction: column;
}

.nf-d4-wrap .d4-topbar {
  height: 56px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 12px;
  position: sticky;
  top: var(--header-h, 68px);
  z-index: 4;
  box-shadow: var(--shadow-sm);
}
.nf-d4-wrap .tb-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}
.nf-d4-wrap .tb-loc {
  font-size: 0.72rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 4px;
}
.nf-d4-wrap .tb-loc i {
  color: var(--primary);
  font-size: 0.7rem;
}

.nf-d4-wrap .tb-head {
  flex-shrink: 0;
  min-width: 0;
}
.nf-d4-wrap .topbar-search {
  flex: 1;
  max-width: 420px;
  position: relative;
  margin-left: 4px;
}
.nf-d4-wrap .topbar-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-soft);
  font-size: 0.8rem;
  pointer-events: none;
}
.nf-d4-wrap .topbar-search input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 0.8rem;
  color: var(--text-dark);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.nf-d4-wrap .topbar-search input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.08);
}
.nf-d4-wrap .tb-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nf-d4-wrap .tb-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  text-decoration: none;
}
.nf-d4-wrap .tb-icon-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: #ffcdd2;
}
.nf-d4-wrap .tb-notif-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  border: 1.5px solid var(--card-bg);
}
.nf-d4-wrap .tb-add {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #fff !important;
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
  text-decoration: none;
  white-space: nowrap;
}
.nf-d4-wrap .tb-add:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

@media (max-width: 900px) {
  .nf-d4-wrap .d4-topbar {
    flex-wrap: wrap;
    height: auto;
    min-height: 56px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .nf-d4-wrap .topbar-search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    margin-left: 0;
    margin-top: 4px;
  }
  .nf-d4-wrap .tb-actions {
    margin-left: 0;
  }
}

.nf-d4-wrap .content {
  padding: 24px;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
}
.nf-d4-wrap .mc {
  min-width: 0;
}
.nf-d4-wrap .rc {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: start;
  min-width: 0;
}

/* HERO STRIP */
.nf-d4-wrap .hero-strip {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #e53935 100%);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(211, 47, 47, 0.25);
}
.nf-d4-wrap .hero-strip::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.nf-d4-wrap .hero-strip::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 160px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.nf-d4-wrap .hs-left {
  z-index: 1;
  flex: 1;
  min-width: 220px;
}
.nf-d4-wrap .hs-left h1 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}
.nf-d4-wrap .hs-left p {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
  line-height: 1.45;
}
.nf-d4-wrap .hs-lead {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 14px;
  line-height: 1.55;
  max-width: 36rem;
}
.nf-d4-wrap .hs-pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.nf-d4-wrap .hs-pill {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.66rem;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition);
  text-decoration: none;
  font-family: var(--font);
}
.nf-d4-wrap .hs-pill:hover,
.nf-d4-wrap .hs-pill:focus,
.nf-d4-wrap .hs-pill.active {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  outline: none;
}
.nf-d4-wrap .hs-stats {
  display: flex;
  gap: 20px;
  z-index: 1;
  flex-wrap: wrap;
}
.nf-d4-wrap .hs-stat {
  text-align: center;
  min-width: 4rem;
}
.nf-d4-wrap .hs-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.nf-d4-wrap .hs-stat span {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nf-d4-wrap .kvkk-note {
  font-size: 0.72rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin: -8px 0 18px;
  max-width: 52rem;
}
.nf-d4-wrap .kvkk-note strong {
  color: var(--text-mid);
  font-weight: 600;
}

/* Kompakt hero + hub (admin qi_img ile ikonlar) */
.nf-d4-wrap .nf-hero-compact {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px 12px;
  margin-bottom: 12px;
  background: var(--card-bg);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.nf-d4-wrap .nf-hero-compact__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 12px;
}
.nf-d4-wrap .nf-hero-compact__lead {
  flex: 1;
  min-width: 200px;
}
.nf-d4-wrap .nf-hero-h1 {
  font-size: clamp(1.05rem, 2.8vw, 1.28rem);
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 6px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.nf-d4-wrap .nf-hero-meta-inline {
  font-size: 0.72rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.45;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.nf-d4-wrap .nf-hero-meta-inline__sep {
  opacity: 0.45;
}
.nf-d4-wrap .nf-hero-meta-inline__hi {
  color: var(--text-mid);
  font-weight: 600;
}
.nf-d4-wrap .nf-pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nf-d4-wrap .nf-pill-tabs--compact {
  gap: 6px;
}
.nf-d4-wrap .nf-pill-tab {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-mid);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.nf-d4-wrap .nf-pill-tab:hover {
  border-color: rgba(211, 47, 47, 0.35);
  color: var(--primary);
}
.nf-d4-wrap .nf-pill-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.nf-d4-wrap .nf-hero-metrics {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  align-self: flex-start;
}
.nf-d4-wrap .nf-hero-metrics--compact {
  gap: 12px;
  padding: 6px 10px;
}
.nf-d4-wrap .nf-metric {
  text-align: center;
  min-width: 3.2rem;
}
.nf-d4-wrap .nf-metric strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.nf-d4-wrap .nf-metric span {
  font-size: 0.52rem;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nf-d4-wrap .nf-kvkk-details {
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0 0 14px;
  max-width: 52rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: var(--card-bg);
}
.nf-d4-wrap .nf-kvkk-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-mid);
  padding: 12px 0;
  list-style: none;
}
.nf-d4-wrap .nf-kvkk-details.nf-kvkk-details--compact summary {
  padding: 8px 0;
  font-size: 0.7rem;
}
.nf-d4-wrap .nf-kvkk-details summary::-webkit-details-marker {
  display: none;
}
.nf-d4-wrap .nf-kvkk-details summary::after {
  content: "";
  float: right;
  width: 0.45em;
  height: 0.45em;
  border-right: 2px solid var(--text-soft);
  border-bottom: 2px solid var(--text-soft);
  transform: rotate(45deg);
  margin-top: 0.3em;
  opacity: 0.55;
}
.nf-d4-wrap .nf-kvkk-details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.45em;
}
.nf-d4-wrap .nf-kvkk-details p {
  margin: 0 0 10px;
  padding-top: 2px;
}

.nf-d4-wrap .sc-icon--qi {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}
.nf-d4-wrap .nf-stat-qi {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nf-d4-wrap .sc-icon--qi .nf-stat-qi {
  border-radius: var(--radius-sm);
}
.nf-d4-wrap .qa-img--qi {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.nf-d4-wrap .nf-qa-qi {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nf-d4-wrap .qa-img--qi i {
  font-size: 1.45rem;
}

.nf-d4-wrap button.stat-card {
  font: inherit;
  text-align: left;
  width: 100%;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--card-bg);
  appearance: none;
  -webkit-appearance: none;
}
.nf-d4-wrap button.qa-card {
  font: inherit;
  text-align: left;
  width: 100%;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--card-bg);
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.nf-d4-wrap .qa-card .qa-body {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.nf-d4-wrap .nf-inline-hub {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
  overflow: hidden;
}
.nf-d4-wrap .nf-hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, var(--card-bg) 100%);
}
.nf-d4-wrap .nf-hub-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}
.nf-d4-wrap .nf-hub-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nf-d4-wrap .nf-hub-close {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-mid);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition), color var(--transition);
}
.nf-d4-wrap .nf-hub-close:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.nf-d4-wrap .nf-hub-body {
  padding: 16px 18px 20px;
}
.nf-d4-wrap .nf-hub-empty {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.55;
}
.nf-d4-wrap .nf-hub-empty a {
  color: var(--primary);
  font-weight: 600;
}
.nf-d4-wrap .nf-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.nf-d4-wrap .nf-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card-bg);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.nf-d4-wrap .nf-tile:hover {
  border-color: rgba(211, 47, 47, 0.35);
  box-shadow: var(--shadow-sm);
}
.nf-d4-wrap .nf-tile-img {
  aspect-ratio: 4 / 3;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nf-d4-wrap .nf-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nf-d4-wrap .nf-tile-ph {
  color: var(--text-soft);
  font-size: 1.5rem;
  opacity: 0.35;
}
.nf-d4-wrap .nf-tile-body {
  padding: 10px 12px;
}
.nf-d4-wrap .nf-tile-body strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 4px;
}
.nf-d4-wrap .nf-tile-body span {
  font-size: 0.65rem;
  color: var(--text-soft);
}
.nf-d4-wrap .nf-tile--row {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
}
.nf-d4-wrap .nf-tile--row .nf-tile-body {
  padding: 0;
  flex: 1;
  min-width: 0;
}
.nf-d4-wrap .nf-tile-ic {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.nf-d4-wrap .nf-hub-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nf-d4-wrap .nf-hub-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
}
.nf-d4-wrap .nf-hub-list li:last-child {
  border-bottom: none;
}
.nf-d4-wrap .nf-muted {
  color: var(--text-soft);
  font-weight: 500;
  margin-left: 6px;
}
.nf-d4-wrap .nf-hub-evlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nf-d4-wrap .nf-hub-ev {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), background 0.15s;
}
.nf-d4-wrap .nf-hub-ev:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.nf-d4-wrap .nf-hub-ev__date {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nf-d4-wrap .nf-hub-ev__date strong {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.nf-d4-wrap .nf-hub-ev__date small {
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}
.nf-d4-wrap .nf-hub-ev__body {
  flex: 1;
  min-width: 0;
}
.nf-d4-wrap .nf-hub-ev__body strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
}
.nf-d4-wrap .nf-hub-ev__body small {
  display: block;
  font-size: 0.65rem;
  color: var(--text-soft);
  margin-top: 2px;
}
.nf-d4-wrap .nf-hub-ev__pill {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .nf-d4-wrap .nf-hero-compact {
    padding: 12px 14px 10px;
  }
  .nf-d4-wrap .nf-hero-metrics--compact {
    width: 100%;
    justify-content: space-around;
  }
}

/* STAT CARDS */
.nf-d4-wrap .stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.nf-d4-wrap .stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.nf-d4-wrap .stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary);
}
.nf-d4-wrap .sc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.nf-d4-wrap .sc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.nf-d4-wrap .sc-trend {
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px 7px;
  border-radius: var(--radius-full);
}
.nf-d4-wrap .trend-up {
  color: var(--green);
  background: var(--green-light);
}
.nf-d4-wrap .trend-dn {
  color: var(--primary);
  background: var(--primary-light);
}
.nf-d4-wrap .stat-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 3px;
  line-height: 1;
}
.nf-d4-wrap .stat-card p {
  font-size: 0.68rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* SECTION + QA */
.nf-d4-wrap .sh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.nf-d4-wrap .sh-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}
.nf-d4-wrap .sh-title .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.nf-d4-wrap .sh-link {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
}
.nf-d4-wrap .sh-link:hover {
  text-decoration: underline;
}

.nf-d4-wrap .qa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.nf-d4-wrap .qa-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  display: block;
}
.nf-d4-wrap .qa-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--primary);
}
.nf-d4-wrap .qa-img {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
}
.nf-d4-wrap .qa-body {
  padding: 9px 10px;
}
.nf-d4-wrap .qa-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dark);
}
.nf-d4-wrap .qa-sub {
  font-size: 0.6rem;
  color: var(--text-soft);
  margin-top: 1px;
}
.nf-d4-wrap .qa-live {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--card-bg);
}

/* Instagram tarzı paylaşım şeridi */
.nf-d4-wrap .nf-stories-wrap {
  background: #0c0c0c;
  border: 1px solid #1f1f1f;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}
.nf-d4-wrap .nf-stories-tabs {
  display: flex;
  border-bottom: 1px solid #222;
}
.nf-d4-wrap .nf-stories-tab {
  flex: 1;
  padding: 11px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font);
  color: #8a8a8a;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.nf-d4-wrap .nf-stories-tab:hover {
  color: #ccc;
}
.nf-d4-wrap .nf-stories-tab.active {
  color: #fafafa;
  box-shadow: inset 0 -2px 0 #fafafa;
}
.nf-d4-wrap .nf-akis-switch {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  padding: 4px;
  background: #111;
  border: 1px solid #222;
  border-radius: 12px;
}
.nf-d4-wrap .nf-akis-switch__item {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9a9a9a;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.nf-d4-wrap .nf-akis-switch__item:hover {
  color: #ddd;
}
.nf-d4-wrap .nf-akis-switch__item.is-active {
  background: #fafafa;
  color: #111;
}
.nf-d4-wrap .nf-stories-hint {
  margin: 0;
  padding: 8px 14px 12px;
  font-size: 0.72rem;
  color: #8a8a8a;
  border-bottom: 1px solid #222;
}
.nf-d4-wrap .nf-stories-hint__tag {
  color: #ccc;
  font-weight: 700;
}
.nf-d4-wrap .nf-rank-block + .nf-rank-block {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border, #eee);
}
.nf-d4-wrap .nf-rank-head {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft, #888);
  margin: 0 0 8px;
}
.nf-d4-wrap .nf-widget-profiles .trend-item:last-child {
  border-bottom: none;
}
.nf-d4-wrap .nf-stories-panel[hidden] {
  display: none !important;
}
.nf-d4-wrap .nf-stories-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}
.nf-d4-wrap .nf-stories-scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 16px 44px 16px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}
.nf-d4-wrap .nf-stories-scroller::-webkit-scrollbar {
  display: none;
}
.nf-d4-wrap .nf-stories-chev {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #333;
  background: rgba(30, 30, 30, 0.92);
  color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  font-size: 0.72rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nf-d4-wrap .nf-stories-chev:hover {
  background: #2a2a2a;
}
.nf-d4-wrap .nf-story {
  flex: 0 0 auto;
  width: 72px;
  text-decoration: none;
  color: #fafafa;
  text-align: center;
  scroll-snap-align: start;
  position: relative;
  padding: 0 2px;
}
.nf-d4-wrap button.nf-story {
  display: block;
  font: inherit;
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
  width: 72px;
  margin: 0;
  padding: 0 2px;
}
.nf-d4-wrap .nf-story:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 8px;
}
.nf-d4-wrap .nf-story-ring {
  width: 66px;
  height: 66px;
  margin: 0 auto 8px;
  border-radius: 50%;
  padding: 2.5px;
  background: conic-gradient(
    from 200deg,
    #f09433 0deg,
    #e6683c 55deg,
    #dc2743 120deg,
    #cc2366 200deg,
    #bc1888 280deg,
    #f09433 360deg
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.nf-d4-wrap .nf-story-ring--self {
  background: #2a2a2a;
  border: 1px solid #444;
  padding: 2px;
}
.nf-d4-wrap .nf-story-ring--archive {
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  opacity: 0.88;
}
.nf-d4-wrap .nf-story-av {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #1a1a1a;
  border: 2px solid #0c0c0c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  box-sizing: border-box;
}
.nf-d4-wrap .nf-story-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nf-d4-wrap .nf-story-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.25;
  color: #e0e0e0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nf-d4-wrap .nf-story--self .nf-story-add {
  position: absolute;
  right: 4px;
  bottom: 26px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0095f6;
  border: 2px solid #0c0c0c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  color: #fff;
  pointer-events: none;
}
.nf-d4-wrap .nf-stories-empty {
  margin: 0;
  padding: 20px 16px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #9e9e9e;
  text-align: center;
  flex: 1 1 100%;
  min-width: 0;
}

/* Feed posts */
.nf-d4-wrap .d4-feed-block {
  margin-bottom: 20px;
}
.nf-d4-wrap .nf-post {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
  scroll-margin-top: calc(var(--header-h, 68px) + 72px);
}
.nf-d4-wrap .nf-post:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(211, 47, 47, 0.25);
}
.nf-d4-wrap .nf-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.nf-d4-wrap a.nf-av {
  text-decoration: none;
  color: #fff;
}
.nf-d4-wrap .nf-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.nf-d4-wrap .nf-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nf-d4-wrap .nf-head-text {
  flex: 1;
  min-width: 0;
}
.nf-d4-wrap .nf-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: none;
}
.nf-d4-wrap .nf-name:hover {
  color: var(--primary);
}
.nf-d4-wrap .nf-meta {
  font-size: 0.72rem;
  color: var(--text-soft);
  margin-top: 2px;
}
.nf-d4-wrap .nf-media-wrap {
  background: #0a0a0a;
}
.nf-d4-wrap .nf-media-wrap img,
.nf-d4-wrap .nf-media-wrap video {
  width: 100%;
  display: block;
  max-height: 70vh;
  object-fit: contain;
}
.nf-d4-wrap .nf-metin {
  padding: 14px 16px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-dark);
  white-space: pre-wrap;
  word-break: break-word;
}
.nf-d4-wrap .nf-caption {
  padding: 10px 16px 4px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-mid);
}
.nf-d4-wrap .nf-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--border);
}
.nf-d4-wrap .nf-like,
.nf-d4-wrap .nf-comment {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-mid);
  cursor: pointer;
  background: var(--card-bg);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.nf-d4-wrap .nf-like:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.nf-d4-wrap .nf-like.liked {
  border-color: #e57373;
  color: #e53935;
}
.nf-d4-wrap .nf-comment:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.nf-d4-wrap .nf-badge-firma {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-size: 0.58rem;
  font-weight: 800;
  background: var(--blue-light);
  color: var(--blue);
}
.nf-d4-wrap .nf-badge-adm {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-size: 0.58rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  color: #fff;
}

.nf-d4-wrap .d4-empty {
  text-align: center;
  padding: 40px 22px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px dashed var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.nf-d4-wrap .d4-empty i {
  font-size: 2.4rem;
  opacity: 0.22;
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
}
.nf-d4-wrap .d4-empty p {
  font-size: 0.86rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.55;
  max-width: 24rem;
  margin-inline: auto;
}

.nf-d4-wrap .pagination,
.nf-d4-wrap .nf-pagination-wrap {
  margin-top: 12px;
}

/* RIGHT: widgets */
.nf-d4-wrap .weather-w {
  background: linear-gradient(135deg, var(--blue) 0%, #1976d2 100%);
  border-radius: var(--radius-md);
  padding: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(21, 101, 192, 0.3);
}
.nf-d4-wrap .weather-w::before {
  content: "⛅";
  position: absolute;
  right: -10px;
  top: -10px;
  font-size: 5rem;
  opacity: 0.12;
  line-height: 1;
}
.nf-d4-wrap .ww-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.nf-d4-wrap .ww-temp {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.nf-d4-wrap .ww-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 3px;
}
.nf-d4-wrap .ww-loc {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2px;
}
.nf-d4-wrap .ww-icon {
  font-size: 2.6rem;
}
.nf-d4-wrap .ww-row {
  display: flex;
  gap: 10px;
}
.nf-d4-wrap .ww-stat {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 7px 6px;
  text-align: center;
}
.nf-d4-wrap .ww-stat i {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 3px;
}
.nf-d4-wrap .ww-stat strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}
.nf-d4-wrap .ww-stat span {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.65);
}
.nf-d4-wrap .weather-more {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-decoration: none;
}
.nf-d4-wrap .weather-more:hover {
  text-decoration: underline;
}

.nf-d4-wrap .widget {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.nf-d4-wrap .wh {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nf-d4-wrap .wh strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
}
.nf-d4-wrap .wh span,
.nf-d4-wrap .wh a {
  font-size: 0.68rem;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.nf-d4-wrap .wh a:hover {
  text-decoration: underline;
}
.nf-d4-wrap .wb {
  padding: 12px 16px;
}

.nf-d4-wrap a.notif-item {
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: background 0.12s;
  border-radius: var(--radius-sm);
  margin: 0 -4px;
  padding-left: 4px;
  padding-right: 4px;
}
.nf-d4-wrap a.notif-item:hover {
  background: var(--bg);
}
.nf-d4-wrap .notif-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.nf-d4-wrap .ni-ic {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.nf-d4-wrap .ni-ic.ni-blue {
  background: var(--blue-light);
  color: var(--blue);
}
.nf-d4-wrap .ni-ic.ni-red {
  background: var(--primary-light);
  color: var(--primary);
}
.nf-d4-wrap .ni-ic.ni-grn {
  background: var(--green-light);
  color: var(--green);
}
.nf-d4-wrap .ni-ic.ni-amb {
  background: var(--yellow-light);
  color: var(--yellow);
}
.nf-d4-wrap .ni-b p {
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1px;
  line-height: 1.4;
}
.nf-d4-wrap .ni-b span {
  font-size: 0.6rem;
  color: var(--text-soft);
}

.nf-d4-wrap a.ev-item {
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background var(--transition);
}
.nf-d4-wrap a.ev-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.nf-d4-wrap a.ev-item:hover .ev-body strong {
  color: var(--primary);
}
.nf-d4-wrap .ev-date {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #ffcdd2;
}
.nf-d4-wrap .ev-date strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.nf-d4-wrap .ev-date span {
  font-size: 0.52rem;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
}
.nf-d4-wrap .ev-body {
  flex: 1;
  min-width: 0;
}
.nf-d4-wrap .ev-body strong {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color var(--transition);
}
.nf-d4-wrap .ev-body span {
  font-size: 0.62rem;
  color: var(--text-soft);
}
.nf-d4-wrap .ev-pill {
  font-size: 0.57rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.nf-d4-wrap .mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
}
.nf-d4-wrap .bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--border);
  transition: background var(--transition);
}
.nf-d4-wrap .bar:hover,
.nf-d4-wrap .bar.a {
  background: var(--primary);
}
.nf-d4-wrap .chart-lbl {
  display: flex;
  gap: 4px;
  margin-top: 5px;
}
.nf-d4-wrap .chart-lbl span {
  flex: 1;
  text-align: center;
  font-size: 0.52rem;
  color: var(--text-soft);
}
.nf-d4-wrap .chart-lbl span.a {
  color: var(--primary);
  font-weight: 600;
}

.nf-d4-wrap a.trend-item {
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.nf-d4-wrap a.trend-item:last-child {
  border-bottom: none;
}
.nf-d4-wrap a.trend-item:hover .trend-b strong {
  color: var(--primary);
}
.nf-d4-wrap .trend-n {
  width: 18px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-soft);
  flex-shrink: 0;
  text-align: center;
}
.nf-d4-wrap .trend-n.top {
  color: var(--primary);
}
.nf-d4-wrap .trend-img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
}
.nf-d4-wrap .trend-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nf-d4-wrap .trend-b {
  flex: 1;
  min-width: 0;
}
.nf-d4-wrap .trend-b strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nf-d4-wrap .trend-b span {
  font-size: 0.6rem;
  color: var(--text-soft);
}
.nf-d4-wrap .trend-p {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.nf-d4-wrap .rc-sub {
  font-size: 0.65rem;
  color: var(--text-soft);
  padding: 0 16px 10px;
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .nf-d4-wrap .content {
    grid-template-columns: 1fr;
  }
  .nf-d4-wrap .rc {
    position: relative;
    top: auto;
    max-height: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .nf-d4-wrap .layout {
    flex-direction: column;
  }
  .nf-d4-wrap .sidebar {
    position: relative;
    top: auto;
    max-height: none;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .nf-d4-wrap .sb-logo {
    flex: 1 1 100%;
  }
  .nf-d4-wrap .sb-user {
    flex: 1 1 200px;
  }
  .nf-d4-wrap .sb-nav {
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .nf-d4-wrap .sb-section {
    flex: 1 1 auto;
    min-width: 140px;
    margin-bottom: 8px;
  }
  .nf-d4-wrap .sb-item.active::before {
    display: none;
  }
  .nf-d4-wrap .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .nf-d4-wrap .qa-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nf-d4-wrap .content {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .nf-d4-wrap .hs-stats {
    width: 100%;
    justify-content: space-between;
  }
  .nf-d4-wrap .stat-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .nf-d4-wrap .stat-card {
    padding: 12px 10px;
  }
  .nf-d4-wrap .stat-card h3 {
    font-size: 1.35rem;
  }
  .nf-d4-wrap .stat-card p {
    font-size: 0.6rem;
    letter-spacing: 0.04em;
  }
  .nf-d4-wrap .stat-card .sc-top {
    margin-bottom: 8px;
  }
  .nf-d4-wrap .stat-card .sc-icon {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
  .nf-d4-wrap .stat-card .sc-icon--qi .nf-stat-qi {
    width: 34px;
    height: 34px;
  }
  .nf-d4-wrap .qa-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Sosyal akış (FB/IG tarzı) ───────────────────────────── */
.nf-d4-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
  flex-shrink: 0;
  border: none;
  border-radius: var(--radius-full);
  background: var(--bg);
  color: var(--text-dark);
  cursor: pointer;
  font-size: 1rem;
}
.nf-d4-menu-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.sb-drawer-close {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-full);
  background: var(--bg);
  color: var(--text-mid);
  cursor: pointer;
  font-size: 1rem;
}
.nf-sidebar-backdrop {
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
}
.nf-sidebar-backdrop[hidden] {
  display: none !important;
}

@media (min-width: 1101px) {
  .nf-d4-wrap .content {
    grid-template-columns: 1fr 300px;
    max-width: 1180px;
    margin-inline: auto;
  }
  .nf-d4-wrap .mc {
    max-width: 520px;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 767px) {
  .nf-d4-wrap .mc {
    display: flex;
    flex-direction: column;
  }
  .nf-d4-wrap .d4-feed-block,
  .nf-d4-wrap .d4-empty {
    order: -1;
  }
  .nf-d4-wrap .nf-feed-hero {
    order: 1;
  }
}

@media (max-width: 900px) {
  .nf-d4-menu-btn {
    display: inline-flex;
  }
  .sb-drawer-close {
    display: inline-flex;
  }
  .nf-d4-wrap .layout {
    flex-direction: column;
  }
  .nf-d4-wrap .sidebar {
    position: fixed;
    left: 0;
    top: calc(var(--header-h, 68px));
    bottom: 0;
    width: min(292px, 88vw);
    max-height: none;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    border-right: 1px solid var(--border);
    border-bottom: none;
    box-shadow: 6px 0 28px rgba(0, 0, 0, 0.14);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
  }
  .nf-d4-wrap .sidebar::-webkit-scrollbar {
    width: 6px;
  }
  .nf-d4-wrap .sidebar::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 6px;
  }
  .nf-d4-wrap .sidebar::-webkit-scrollbar-track {
    background: transparent;
  }
  .nf-d4-wrap .layout.nf-drawer-open .sidebar {
    transform: translateX(0);
  }
  .nf-sidebar-backdrop:not([hidden]) {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
  }
  .nf-d4-wrap .sb-logo {
    padding-right: 48px;
  }
  .nf-d4-wrap .sb-nav {
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .nf-d4-wrap .sb-section {
    min-width: 0;
  }
  .nf-d4-wrap .sb-item.active::before {
    display: none;
  }
}

/* Gönderi kartı — Instagram benzeri */
.nf-d4-wrap .nf-post--social {
  border-radius: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.nf-d4-wrap .nf-post--social:hover {
  transform: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}
.nf-d4-wrap .nf-post--social .nf-head {
  border-bottom: none;
  padding: 12px 14px 10px;
  align-items: center;
}
.nf-d4-wrap .nf-post--social .nf-av {
  width: 40px;
  height: 40px;
  font-size: 0.74rem;
}
.nf-d4-wrap .nf-head-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.nf-d4-wrap .nf-head-name-row .nf-name {
  display: block;
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
  line-height: 1.25;
}
.nf-d4-wrap .nf-head-name-row .kp-verified-tick,
.nf-d4-wrap .nf-head-badges-row .kp-verified-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1d9bf0;
  color: #fff;
  font-size: .48rem;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(29, 155, 240, .35);
  vertical-align: middle;
}
.nf-d4-wrap .nf-head-name-row .kp-verified-tick--partner,
.nf-d4-wrap .nf-head-badges-row .kp-verified-tick--partner {
  background: #2e7d32;
  box-shadow: 0 1px 3px rgba(46, 125, 50, .28);
}
.nf-d4-wrap .nf-membership-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid #bbdefb;
  background: #e3f2fd;
  color: #1565c0;
}
.nf-d4-wrap .nf-membership-badge i {
  font-size: 0.56rem;
  opacity: 0.9;
}
.nf-d4-wrap .nf-membership-badge--plus {
  border-color: #a5d6a7;
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  color: #1b5e20;
}
.nf-d4-wrap .nf-head-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}
.nf-d4-wrap .nf-follow-btn {
  flex-shrink: 0;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff !important;
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.nf-d4-wrap .nf-post--social .nf-name {
  font-size: 0.86rem;
  font-weight: 700;
}
.nf-d4-wrap .nf-post-more {
  margin-left: auto;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.95rem;
}
.nf-d4-wrap .nf-post-more:hover {
  background: var(--bg);
  color: var(--text-dark);
}
.nf-d4-wrap .nf-post--social .nf-media-wrap {
  background: #000;
  aspect-ratio: auto;
  max-height: none;
}
.nf-d4-wrap .nf-post--social .nf-media-wrap--sharp .nf-media-hit img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 640px);
  object-fit: contain;
}
.nf-d4-wrap .nf-post--social .nf-media-wrap:not(.nf-media-wrap--sharp) {
  aspect-ratio: 4 / 5;
  max-height: min(85vh, 680px);
}
.nf-d4-wrap .nf-post--social .nf-media-wrap:not(.nf-media-wrap--sharp) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
}
.nf-d4-wrap .nf-post--social .nf-media-wrap--video {
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 520px);
}
.nf-d4-wrap .nf-post--social .nf-media-wrap--video:not(.kp-video-thumb) .kp-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  pointer-events: none;
}
.nf-d4-wrap .nf-post--social .nf-media-wrap--video.kp-video-thumb .nf-media-hit--video {
  cursor: pointer;
}
.nf-d4-wrap .nf-post--social .nf-media-wrap--video.kp-video-thumb .kp-video-src,
.nf-d4-wrap .nf-post--social .nf-media-wrap--video.kp-video-thumb .kp-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  max-height: none;
  background: #000;
}
.nf-d4-wrap .nf-post--social .nf-media-wrap--video.kp-video-thumb .kp-video-src {
  opacity: 0;
  z-index: 0;
}
.nf-d4-wrap .nf-post--social .nf-media-wrap--video.kp-video-thumb.is-poster-ready .kp-video-src {
  display: none;
}
.nf-d4-wrap .nf-post--social .nf-media-wrap--video.kp-video-thumb.is-poster-fail .kp-video-src {
  display: block;
  opacity: 1;
  z-index: 1;
}
.nf-d4-wrap .nf-post--social .nf-media-wrap--video.kp-video-thumb .kp-video-poster {
  z-index: 1;
}
.nf-d4-wrap .nf-post--social .nf-media-wrap--video.kp-video-thumb .kp-video-poster[hidden] {
  display: none;
}
.nf-d4-wrap .nf-post--social .nf-media-wrap--video.kp-video-thumb .kp-video-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.nf-d4-wrap .nf-post--social .nf-media-wrap--video.kp-video-thumb .kp-video-play {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  pointer-events: none;
}
.nf-d4-wrap .nf-post--social .nf-media-wrap--video.kp-video-thumb .kp-video-src::-webkit-media-controls,
.nf-d4-wrap .nf-post--social .nf-media-wrap--video.kp-video-thumb .kp-video-src::-webkit-media-controls-enclosure,
.nf-d4-wrap .nf-post--social .nf-media-wrap--video.kp-video-thumb .kp-video-src::-webkit-media-controls-panel,
.nf-d4-wrap .nf-post--social .nf-media-wrap--video.kp-video-thumb .kp-video-src::-webkit-media-controls-play-button,
.nf-d4-wrap .nf-post--social .nf-media-wrap--video.kp-video-thumb .kp-video-src::-webkit-media-controls-start-playback-button,
.nf-d4-wrap .nf-post--social .nf-media-wrap--video.kp-video-thumb .kp-video-src::-webkit-media-controls-overlay-play-button {
  display: none !important;
  opacity: 0 !important;
  -webkit-appearance: none;
}
.nf-d4-wrap .nf-post--social .nf-metin {
  padding: 16px;
  font-size: 0.9rem;
}
.nf-d4-wrap .nf-post--social .nf-caption {
  padding: 0 16px 12px;
  font-size: 0.86rem;
}
.nf-d4-wrap .nf-actions--social {
  border-top: none;
  padding: 6px 12px 14px;
  gap: 4px;
  align-items: center;
  flex-wrap: nowrap;
}
.nf-d4-wrap .nf-actions--social .nf-act {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--text-dark);
  font-size: 1.25rem;
  cursor: pointer;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: background 0.15s, color 0.15s, transform 0.12s;
}
.nf-d4-wrap .nf-actions--social .nf-act:hover {
  background: var(--bg);
  color: var(--primary);
}
.nf-d4-wrap .nf-actions--social .nf-like.liked {
  color: #e53935;
 background: rgba(229, 57, 53, 0.08);
}
.nf-d4-wrap .nf-actions--social .nf-act-spacer {
  flex: 1;
  min-width: 8px;
}
.nf-d4-wrap .nf-counts {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42%;
}
@media (max-width: 480px) {
  .nf-d4-wrap .nf-counts {
    max-width: 36%;
    font-size: 0.65rem;
  }
}
.nf-d4-wrap .nf-feed-loading,
.nf-d4-wrap .nf-feed-end {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-soft);
  padding: 16px 12px;
  margin: 0;
}
.nf-d4-wrap .nf-feed-sentinel {
  height: 1px;
  margin: 0;
  padding: 0;
  pointer-events: none;
  visibility: hidden;
}

.nf-d4-wrap .mc {
  overflow-x: clip;
}
.nf-d4-wrap .sh--feed-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
}
.nf-d4-wrap .sh-feed-head__txt {
  flex: 1;
  min-width: 200px;
}
.nf-d4-wrap .nf-feed-hint {
  font-size: 0.72rem;
  color: var(--text-soft);
  line-height: 1.45;
  margin: 6px 0 0;
 max-width: 36rem;
}
.nf-d4-wrap .sh-link--cta {
  flex-shrink: 0;
  align-self: center;
}

.nf-d4-wrap .nf-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nf-d4-wrap button.nf-post-more {
  margin-left: auto;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-soft);
  font-size: 0.95rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}
.nf-d4-wrap button.nf-post-more:hover {
  background: var(--bg);
  color: var(--text-dark);
}

.nf-d4-wrap .nf-post--social .nf-media-wrap {
  position: relative;
  overflow: hidden;
}
.nf-d4-wrap .nf-post--social .nf-media-wrap--sharp > .nf-media-hit {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  display: block;
}
.nf-d4-wrap .nf-firm-watermark {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  bottom: auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.nf-d4-wrap .nf-firm-watermark__ring {
  width: 38px;
  max-width: 38px;
  min-width: 32px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  opacity: .58;
  border: 2px solid rgba(255, 255, 255, .5);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .35);
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.nf-d4-wrap .nf-firm-watermark__ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nf-d4-wrap .nf-firm-watermark__ring--init {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 0, 40, .82);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.nf-d4-wrap .nf-post--social .nf-media-hit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  display: block;
  line-height: 0;
}
.nf-d4-wrap .nf-post--social .nf-media-hit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nf-d4-wrap .nf-post--social .nf-media-wrap--video .nf-video-modal-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background 0.15s;
}
.nf-d4-wrap .nf-post--social .nf-media-wrap--video .nf-video-modal-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}
.nf-d4-wrap .nf-metin-hit {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  border: none;
  background: transparent;
  padding: 16px;
  cursor: pointer;
  color: inherit;
  border-radius: 0;
}
.nf-d4-wrap .nf-metin-hit:hover {
  background: var(--bg);
}
.nf-d4-wrap .nf-metin-hit__inner {
  display: block;
  font-size: 0.9rem;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.nf-d4-wrap .nf-post-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}
.nf-d4-wrap .nf-post-modal[hidden] {
  display: none !important;
}
.nf-d4-wrap .nf-post-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}
.nf-d4-wrap .nf-post-modal__panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(92vh, 880px);
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.nf-d4-wrap .nf-post-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nf-d4-wrap .nf-post-modal__close:hover {
  background: rgba(0, 0, 0, 0.65);
}
.nf-d4-wrap .nf-post-modal__grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 380px);
  flex: 1;
  min-height: 0;
}
.nf-d4-wrap .nf-post-modal__grid--text {
  grid-template-columns: 1fr;
}
.nf-d4-wrap .nf-post-modal__grid--text .nf-post-modal__media {
  max-height: 40vh;
}
.nf-d4-wrap .nf-post-modal__media {
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  overflow: hidden;
}
.nf-d4-wrap .nf-post-modal__media img {
  max-width: 100%;
  max-height: min(85vh, 720px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.nf-d4-wrap .nf-post-modal__media video {
  max-width: 100%;
  max-height: min(78vh, 640px);
  width: 100%;
}
.nf-d4-wrap .nf-post-modal__grid--video .nf-post-modal__media,
.nf-d4-wrap .nf-post-modal__media--video {
  align-items: stretch;
  justify-content: center;
  min-height: min(72vh, 560px);
}
.nf-d4-wrap .nf-post-modal__media .nf-pm-video {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  align-self: stretch;
  min-height: min(68vh, 520px);
  background: #000;
}
.nf-d4-wrap .nf-post-modal__media .nf-pm-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border: 0;
  background: #000;
}
.nf-d4-wrap .nf-post-modal__grid--yt .nf-post-modal__media,
.nf-d4-wrap .nf-post-modal__media--yt {
  align-items: stretch;
  justify-content: center;
  min-height: min(72vh, 560px);
}
.nf-d4-wrap .nf-post-modal__media .nf-pm-embed {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.nf-d4-wrap .nf-post-modal__media .nf-pm-embed--yt {
  min-height: min(68vh, 520px);
  padding: 0;
}
.nf-d4-wrap .nf-post-modal__media .nf-pm-embed--yt iframe,
.nf-d4-wrap .nf-post-modal__media--yt iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 240px;
  max-height: min(78vh, 680px);
  border: 0;
  display: block;
  background: #000;
}
.nf-d4-wrap .nf-post-modal__textonly {
  padding: 24px;
  color: var(--text-dark);
  font-size: 0.92rem;
  line-height: 1.6;
  overflow-y: auto;
  max-height: 50vh;
}
.nf-d4-wrap .nf-post-modal__side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-left: 1px solid var(--border);
}
.nf-d4-wrap .nf-post-modal__grid--text .nf-post-modal__side {
  border-left: none;
  border-top: 1px solid var(--border);
}
.nf-d4-wrap .nf-post-modal__head {
  padding: 16px 16px 10px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}
.nf-d4-wrap .nf-pm-author {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.nf-d4-wrap .nf-pm-author img,
.nf-d4-wrap .nf-pm-ava {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.nf-d4-wrap .nf-pm-ava {
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}
.nf-d4-wrap .nf-pm-authortxt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.nf-d4-wrap .nf-pm-authortxt strong {
  font-size: 0.88rem;
}
.nf-d4-wrap .nf-pm-time {
  font-size: 0.7rem;
  color: var(--text-soft);
}
.nf-d4-wrap .nf-pm-badge {
  font-size: 0.58rem;
  margin-left: 4px;
  vertical-align: middle;
}
.nf-d4-wrap .nf-pm-cap {
  margin: 10px 0 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-mid);
}
.nf-d4-wrap .nf-post-modal__stats {
  padding: 8px 16px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}
.nf-d4-wrap .nf-pm-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nf-d4-wrap .nf-pm-like {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--text-dark);
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nf-d4-wrap .nf-pm-like:hover {
  background: var(--bg);
  color: var(--primary);
}
.nf-d4-wrap .nf-pm-like.liked {
  color: #e53935;
}
.nf-d4-wrap .nf-pm-counts {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-soft);
}
.nf-d4-wrap .nf-post-modal__comments {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  -webkit-overflow-scrolling: touch;
}
.nf-d4-wrap .nf-pm-y {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.nf-d4-wrap .nf-pm-yav {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.nf-d4-wrap .nf-pm-yav img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nf-d4-wrap .nf-pm-yav-txt {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--primary);
}
.nf-d4-wrap .nf-pm-ybody {
  flex: 1;
  min-width: 0;
  font-size: 0.78rem;
}
.nf-d4-wrap .nf-pm-yhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.nf-d4-wrap .nf-pm-ydel {
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: var(--text-soft);
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nf-d4-wrap .nf-pm-ydel:hover {
  color: #c62828;
  background: #ffebee;
}
.nf-d4-wrap .nf-pm-ybody a {
  color: var(--text-dark);
  text-decoration: none;
}
.nf-d4-wrap .nf-pm-ybody p {
  margin: 4px 0 0;
  color: var(--text-mid);
  line-height: 1.45;
}
.nf-d4-wrap .nf-pm-yt {
  font-size: 0.65rem;
  color: var(--text-soft);
}
.nf-d4-wrap .nf-pm-empty,
.nf-d4-wrap .nf-pm-loading,
.nf-d4-wrap .nf-pm-err {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin: 0;
}
.nf-d4-wrap .nf-pm-err {
  color: var(--primary);
}
.nf-d4-wrap .nf-post-modal__formwrap {
  flex-shrink: 0;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
  background: var(--card-bg);
}
.nf-d4-wrap .nf-post-modal__form {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.nf-d4-wrap .nf-post-modal__form textarea {
  flex: 1;
  min-height: 44px;
  max-height: 120px;
  resize: vertical;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.82rem;
}
.nf-d4-wrap .nf-post-modal__send {
  padding: 10px 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  flex-shrink: 0;
}
.nf-d4-wrap .nf-post-modal__formnote {
  font-size: 0.72rem;
  color: var(--primary);
  margin: 8px 0 0;
}
.nf-d4-wrap .nf-post-modal__guest {
  font-size: 0.82rem;
  margin: 0;
}
.nf-d4-wrap .nf-post-modal__guest a {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 767px) {
  .nf-d4-wrap .nf-post-modal__grid {
    grid-template-columns: 1fr;
    max-height: min(94vh, 900px);
  }
  .nf-d4-wrap .nf-post-modal__side {
    border-left: none;
    border-top: 1px solid var(--border);
    max-height: 52vh;
  }
  .nf-d4-wrap .nf-post-modal__media img {
    max-height: 45vh;
  }
  .nf-d4-wrap .nf-post-modal__grid--video .nf-post-modal__media,
  .nf-d4-wrap .nf-post-modal__media--video {
    min-height: 0;
  }
  .nf-d4-wrap .nf-post-modal__media .nf-pm-video {
    min-height: min(42vh, 360px);
  }
  .nf-d4-wrap .nf-post-modal__grid--yt .nf-post-modal__media,
  .nf-d4-wrap .nf-post-modal__media--yt {
    min-height: 0;
  }
  .nf-d4-wrap .nf-post-modal__media .nf-pm-embed--yt {
    min-height: 0;
    width: 100%;
  }
  .nf-d4-wrap .nf-post-modal__media .nf-pm-embed--yt iframe,
  .nf-d4-wrap .nf-post-modal__media--yt iframe {
    max-height: 50vh;
    min-height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-d4-wrap .sidebar {
    transition: none;
  }
  .nf-d4-wrap .nf-post--social:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  }
  .nf-d4-wrap .nf-sv-prog-fill {
    transition: none !important;
  }
}

/* ── Tam ekran hikâye görüntüleyici ───────────────────────────────────── */
.nf-d4-wrap .nf-story-viewer {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}
.nf-d4-wrap .nf-story-viewer[hidden] {
  display: none !important;
}
.nf-d4-wrap .nf-story-viewer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
}
.nf-d4-wrap .nf-story-viewer__shell {
  position: relative;
  z-index: 2;
  width: min(100%, 440px);
  margin: 0 auto;
  height: 100%;
  max-height: 100dvh;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: env(safe-area-inset-top, 0) 0 env(safe-area-inset-bottom, 0);
  box-sizing: border-box;
}
.nf-d4-wrap .nf-story-viewer__progress {
  display: flex;
  gap: 4px;
  padding: 10px 12px 6px;
  flex-shrink: 0;
}
.nf-d4-wrap .nf-sv-prog {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
.nf-d4-wrap .nf-sv-prog-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: #fff;
}
.nf-d4-wrap .nf-story-viewer__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 10px;
  flex-shrink: 0;
}
.nf-d4-wrap .nf-story-viewer__author {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  min-width: 0;
  flex: 1;
}
.nf-d4-wrap .nf-story-viewer__author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.nf-d4-wrap .nf-sv-top-ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}
.nf-d4-wrap .nf-story-viewer__author strong {
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nf-d4-wrap .nf-story-viewer__time {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}
.nf-d4-wrap .nf-story-viewer__iconbtn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.nf-d4-wrap .nf-story-viewer__iconbtn:hover {
  background: rgba(255, 255, 255, 0.18);
}
.nf-d4-wrap .nf-story-viewer__stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #000;
}
.nf-d4-wrap .nf-sv-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  overflow: hidden;
  background: #000;
  box-shadow: none;
  position: relative;
}
.nf-d4-wrap .nf-sv-slide--foto img,
.nf-d4-wrap .nf-sv-slide--video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.nf-d4-wrap .nf-sv-slide--video video {
  background: #000;
}
.nf-d4-wrap .nf-sv-slide--text {
  display: flex;
  background: linear-gradient(160deg, #1a237e 0%, #311b92 45%, #880e4f 100%);
}
.nf-d4-wrap .nf-sv-slide--text .nf-sv-slide-text {
  padding: 28px 20px;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
.nf-d4-wrap .nf-sv-slide--text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: #f5f5f5;
  text-align: left;
}
.nf-d4-wrap .nf-story-viewer__hit {
  position: absolute;
  top: 52px;
  bottom: 72px;
  width: 28%;
  max-width: 140px;
  z-index: 4;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nf-d4-wrap .nf-story-viewer__hit--prev {
  left: 0;
}
.nf-d4-wrap .nf-story-viewer__hit--next {
  right: 0;
}
.nf-d4-wrap .nf-story-viewer__bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 16px;
  flex-shrink: 0;
}
.nf-d4-wrap .nf-story-viewer__reply {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.nf-d4-wrap .nf-story-viewer__reply:hover {
  background: rgba(255, 255, 255, 0.14);
}
.nf-d4-wrap .nf-story-viewer__like {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nf-d4-wrap .nf-story-viewer__like.liked {
  color: #ff4081;
}
.nf-d4-wrap .nf-story-viewer__loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 10;
  background: rgba(0, 0, 0, 0.35);
}
.nf-d4-wrap .nf-story-viewer__loading[hidden] {
  display: none !important;
  pointer-events: none !important;
}
.nf-d4-wrap .nf-story-viewer__err {
  position: absolute;
  bottom: 100px;
  left: 16px;
  right: 16px;
  margin: 0;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(30, 30, 30, 0.95);
  color: #ffcdd2;
  font-size: 0.84rem;
  line-height: 1.45;
  z-index: 11;
  text-align: center;
}
.nf-d4-wrap .nf-story-viewer__err a {
  color: #90caf9;
  font-weight: 600;
}
.nf-d4-wrap .nf-story-viewer__err[hidden] {
  display: none !important;
}
@media (min-width: 900px) {
  .nf-d4-wrap .nf-story-viewer__shell {
    width: min(100%, 400px);
  }
}

/* Gönderi yönetimi (sahip / admin) */
.nf-d4-wrap .nf-post-manage { position: relative; flex-shrink: 0; }
.nf-d4-wrap .nf-post-manage-btn {
  width: 34px; height: 34px; border: none; border-radius: 50%;
  background: transparent; color: var(--text-soft); cursor: pointer;
}
.nf-d4-wrap .nf-post-manage-btn:hover { background: var(--bg); color: var(--text-dark); }
.nf-d4-wrap .nf-post-manage-menu {
  position: absolute; top: 100%; right: 0; z-index: 20; min-width: 148px;
  margin-top: 4px; padding: 6px; border-radius: var(--radius-md);
  background: var(--card-bg); border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.nf-d4-wrap .nf-post-manage-menu button {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 9px 10px; border: none; border-radius: var(--radius-sm);
  background: transparent; font: inherit; font-size: .78rem; font-weight: 600;
  color: var(--text-mid); cursor: pointer; text-align: left;
}
.nf-d4-wrap .nf-post-manage-menu button:hover { background: var(--bg); color: var(--text-dark); }
.nf-d4-wrap .nf-post-manage-menu button.danger { color: #c62828; }
.nf-d4-wrap .nf-pm-admin {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px;
}
.nf-d4-wrap .nf-pm-admin-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--card-bg);
  font: inherit; font-size: .74rem; font-weight: 700; cursor: pointer; color: var(--text-mid);
}
.nf-d4-wrap .nf-pm-admin-btn:hover { border-color: var(--primary); color: var(--primary); }
.nf-d4-wrap .nf-pm-admin-btn.danger { color: #c62828; border-color: #ffcdd2; }
.nf-d4-wrap .nf-pm-admin-btn.danger:hover { background: #ffebee; }

/* ═══════════════════════════════════════════════════════════════════════════
   PLUS v2 — Referans tasarım (web + mobil)
   ═══════════════════════════════════════════════════════════════════════════ */
.page-neler-d4 {
  --nf-red: #e31e24;
  --nf-red-dark: #c41920;
  --nf-red-light: #fff0f1;
  --nf-red-soft: #ffe4e6;
  background: #f5f6f8;
}
.page-neler-d4 .nf-d4-wrap {
  padding: 0 0 96px;
  max-width: none;
}
.page-neler-d4 .nf-d4-wrap .layout {
  max-width: 1440px;
  margin: 0 auto;
  gap: 0;
  background: #fff;
  border-radius: 0;
  min-height: calc(100vh - var(--header-h, 68px));
}
.page-neler-d4 .nf-d4-wrap .sidebar {
  width: 260px;
  border-right: 1px solid #eef0f4;
  box-shadow: none;
  background: #fff;
  border-radius: 0;
  min-height: calc(100vh - var(--header-h, 68px));
  position: sticky;
  top: var(--header-h, 68px);
  align-self: flex-start;
  max-height: calc(100vh - var(--header-h, 68px));
  overflow-y: auto;
}
.page-neler-d4 .nf-d4-wrap .sb-logo-icon {
  border-radius: 10px;
  background: var(--nf-red);
}
.page-neler-d4 .nf-d4-wrap .sb-logo-text strong {
  color: var(--nf-red);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}
.page-neler-d4 .nf-d4-wrap .sb-item.active {
  background: var(--nf-red);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
}
.page-neler-d4 .nf-d4-wrap .sb-item.active::before {
  display: none;
}
.page-neler-d4 .nf-d4-wrap .sb-item.active i {
  color: #fff !important;
}
.page-neler-d4 .nf-d4-wrap .sb-badge--new {
  font-size: 0.52rem;
  padding: 2px 6px;
  background: #fff;
  color: var(--nf-red);
  margin-left: 6px;
}
.page-neler-d4 .nf-d4-wrap .sb-item.active .sb-badge--new {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.page-neler-d4 .nf-d4-wrap .sb-premium {
  background: linear-gradient(145deg, #1a237e 0%, #283593 100%);
  border: none;
  color: #fff;
}
.page-neler-d4 .nf-d4-wrap .sb-premium p {
  color: rgba(255, 255, 255, 0.88);
}
.page-neler-d4 .nf-d4-wrap .sb-premium-btn {
  background: #fff;
  color: #1a237e !important;
  border-radius: 999px;
}

/* Topbar */
.page-neler-d4 .nf-d4-wrap .d4-topbar {
  height: 64px;
  background: #fff;
  border-bottom: 1px solid #eef0f4;
  box-shadow: none;
  padding: 0 24px;
  top: var(--header-h, 68px);
}
.page-neler-d4 .nf-d4-wrap .topbar-search {
  max-width: 520px;
  margin: 0 auto;
  flex: 1;
}
.page-neler-d4 .nf-d4-wrap .topbar-search input {
  background: #f3f4f6;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 16px 11px 40px;
  font-size: 0.84rem;
}
.page-neler-d4 .nf-d4-wrap .topbar-search input:focus {
  background: #fff;
  border-color: var(--nf-red);
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}
.page-neler-d4 .nf-d4-wrap .tb-head {
  display: none;
}
.page-neler-d4 .nf-d4-wrap .tb-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: var(--nf-red);
  color: #fff !important;
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(227, 30, 36, 0.28);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.page-neler-d4 .nf-d4-wrap .tb-share-btn:hover {
  background: var(--nf-red-dark, #c41920);
  box-shadow: 0 6px 18px rgba(227, 30, 36, 0.34);
  transform: translateY(-1px);
}
.page-neler-d4 .nf-d4-wrap .tb-share-btn i {
  font-size: 0.72rem;
}
.page-neler-d4 .nf-mob-nav__fab {
  border: none;
  font-family: var(--font);
  cursor: pointer;
}
.page-neler-d4 .nf-d4-wrap .tb-notif-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--nf-red);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  border: 2px solid #fff;
}
.page-neler-d4 .nf-d4-wrap .tb-notif-badge--demo {
  opacity: 0.85;
}

/* Content grid */
.page-neler-d4 .nf-d4-wrap .content {
  padding: 20px 24px 32px;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  background: #f5f6f8;
}
.page-neler-d4 .nf-d4-wrap .nf-section-card {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.page-neler-d4 .nf-d4-wrap .nf-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.page-neler-d4 .nf-d4-wrap .nf-section-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-neler-d4 .nf-d4-wrap .nf-section-title .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nf-red);
}
.page-neler-d4 .nf-d4-wrap .nf-title-ic {
  color: var(--nf-red);
  font-size: 0.88rem;
}
.page-neler-d4 .nf-d4-wrap .nf-section-link,
.page-neler-d4 .nf-d4-wrap button.nf-section-link {
  border: none;
  background: none;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--nf-red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}
.page-neler-d4 .nf-d4-wrap .mc {
  overflow-x: visible;
}
.page-neler-d4 .nf-d4-wrap .nf-section-link {
  color: #9ca3af;
  font-weight: 500;
}
.page-neler-d4 .nf-d4-wrap .nf-live-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fce4ec;
  color: #e91e63;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-left: 4px;
}

/* Stories — açık tema */
.page-neler-d4 .nf-d4-wrap .nf-stories-wrap {
  background: #fff;
  border: 1px solid #eef0f4;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.page-neler-d4 .nf-d4-wrap .nf-stories-tabs {
  border-bottom: 1px solid #eef0f4;
  margin: -4px -16px 12px;
  padding: 0 16px;
}
.page-neler-d4 .nf-d4-wrap .nf-stories-tab {
  color: #8888a4;
  border-bottom: 2px solid transparent;
}
.page-neler-d4 .nf-d4-wrap .nf-stories-tab.active {
  color: var(--nf-red);
  border-bottom-color: var(--nf-red);
  background: transparent;
}
.page-neler-d4 .nf-d4-wrap .nf-story-ring {
  background: linear-gradient(135deg, #e31e24, #ff6b6b);
  padding: 2.5px;
}
.page-neler-d4 .nf-d4-wrap .nf-story-ring--self {
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
}
.page-neler-d4 .nf-d4-wrap .nf-story-ring--archive {
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  opacity: 0.88;
}
.page-neler-d4 .nf-d4-wrap .nf-story-av {
  background: #fff;
}
.page-neler-d4 .nf-d4-wrap .nf-story-label {
  color: #4a4a68;
  font-size: 0.62rem;
  font-weight: 600;
}
.page-neler-d4 .nf-d4-wrap .nf-stories-chev {
  background: #fff;
  border: 1px solid #eef0f4;
  color: var(--nf-red);
}
.page-neler-d4 .nf-d4-wrap .nf-stories-empty {
  color: #8888a4;
}

/* Şehirde Şu An — canlı haber ticker + hızlı chip'ler */
.page-neler-d4 .nf-d4-wrap .nf-city-now {
  padding-bottom: 16px;
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker {
  position: relative;
  margin: 0 0 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff 0%, #fff8f8 100%);
  border: 1px solid rgba(227, 30, 36, 0.12);
  box-shadow: 0 4px 20px rgba(227, 30, 36, 0.06);
  overflow: hidden;
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nf-red);
  background: rgba(227, 30, 36, 0.06);
  border-bottom: 1px solid rgba(227, 30, 36, 0.08);
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nf-red);
  box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.45);
  animation: nfCityPulse 1.8s ease-out infinite;
}
@keyframes nfCityPulse {
  0% { box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(227, 30, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 30, 36, 0); }
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__stage {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 88px;
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__nav {
  flex: 0 0 36px;
  width: 36px;
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__nav:hover {
  color: var(--nf-red);
  background: rgba(227, 30, 36, 0.04);
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__nav:focus-visible {
  outline: 2px solid var(--nf-red);
  outline-offset: -2px;
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__viewport {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__slide {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border: none;
  background: transparent;
  text-align: left;
  text-decoration: none;
  color: inherit;
  font-family: var(--font);
  cursor: pointer;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__slide[hidden] {
  display: none !important;
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__slide.is-active {
  opacity: 1;
  transform: translateX(0);
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__slide:not(.is-active) {
  opacity: 0;
  transform: translateX(8px);
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__ic {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nf-red-light);
  color: var(--nf-red);
  font-size: 1rem;
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1a1a2e;
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #9ca3af;
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__go {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(227, 30, 36, 0.08);
  color: var(--nf-red);
  font-size: 0.72rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__slide:hover .nf-city-ticker__go,
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__slide:focus-visible .nf-city-ticker__go {
  background: var(--nf-red);
  color: #fff;
  transform: translateX(2px);
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px 12px;
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #d1d5db;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.page-neler-d4 .nf-d4-wrap .nf-city-ticker__dot.is-active {
  width: 18px;
  background: var(--nf-red);
}
.page-neler-d4 .nf-d4-wrap .nf-city-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0 4px;
}
.page-neler-d4 .nf-d4-wrap .nf-city-chips::-webkit-scrollbar {
  display: none;
}
.page-neler-d4 .nf-d4-wrap .nf-city-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #ececf2;
  border-radius: 999px;
  background: #fff;
  font-family: var(--font);
  font-size: 0.75rem;
  color: #6b7280;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.page-neler-d4 .nf-d4-wrap .nf-city-chip i {
  color: var(--nf-red);
  font-size: 0.78rem;
}
.page-neler-d4 .nf-d4-wrap .nf-city-chip strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1a1a2e;
}
.page-neler-d4 .nf-d4-wrap .nf-city-chip:hover {
  border-color: rgba(227, 30, 36, 0.25);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}
.page-neler-d4 .nf-d4-wrap .nf-city-chip:focus-visible {
  outline: 2px solid var(--nf-red);
  outline-offset: 2px;
}

/* Filter bar — referans: aktif pill, pasif ikon+metin, sağda menü */
.page-neler-d4 .nf-d4-wrap .nf-filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px 10px 14px;
  margin-bottom: 16px;
}
.page-neler-d4 .nf-d4-wrap .nf-filter-scroll {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  align-items: center;
  padding-bottom: 0;
}
.page-neler-d4 .nf-d4-wrap .nf-filter-scroll::-webkit-scrollbar {
  display: none;
}
.page-neler-d4 .nf-d4-wrap .nf-filter-pill {
  flex-shrink: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 58px;
  padding: 6px 8px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.page-neler-d4 .nf-d4-wrap .nf-filter-pill i {
  font-size: 1.15rem;
  opacity: 1;
  line-height: 1;
}
.page-neler-d4 .nf-d4-wrap .nf-filter-pill span {
  line-height: 1.1;
}
.page-neler-d4 .nf-d4-wrap .nf-filter-pill.active {
  flex-direction: row;
  gap: 6px;
  min-width: 0;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--nf-red);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(227, 30, 36, 0.28);
}
.page-neler-d4 .nf-d4-wrap .nf-filter-pill.active i {
  font-size: 0.82rem;
}
.page-neler-d4 .nf-d4-wrap .nf-filter-menu {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #6b7280;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.page-neler-d4 .nf-d4-wrap .nf-filter-menu:hover {
  background: #f3f4f6;
  color: #1a1a2e;
}

/* Feed posts */
.page-neler-d4 .nf-d4-wrap .d4-feed-block {
  margin-bottom: 16px;
}
.page-neler-d4 .nf-d4-wrap .nf-post--social {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  margin-bottom: 16px;
  overflow: hidden;
}
.page-neler-d4 .nf-d4-wrap .nf-post--social .nf-head {
  padding: 14px 16px 10px;
}
.page-neler-d4 .nf-d4-wrap .nf-post--social .nf-av {
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #eef0f4;
}
.page-neler-d4 .nf-d4-wrap .nf-post--social .nf-name {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.page-neler-d4 .nf-d4-wrap .nf-meta {
  font-size: 0.72rem;
  color: #8888a4;
}
.page-neler-d4 .nf-d4-wrap .nf-badge-firma {
  background: #e3f2fd;
  color: #1565c0;
}
.page-neler-d4 .nf-d4-wrap .nf-badge-partner {
  display: none;
}
.page-neler-d4 .nf-d4-wrap .nf-head-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.page-neler-d4 .nf-d4-wrap .nf-head-name-row .nf-name {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
  line-height: 1.25;
  min-width: 0;
}
.page-neler-d4 .nf-d4-wrap .nf-head-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}
.page-neler-d4 .nf-d4-wrap .nf-membership-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid #bbdefb;
  background: #e3f2fd;
  color: #1565c0;
}
.page-neler-d4 .nf-d4-wrap .nf-membership-badge i {
  font-size: 0.56rem;
}
.page-neler-d4 .nf-d4-wrap .nf-membership-badge--plus {
  border-color: #a5d6a7;
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  color: #1b5e20;
}
.page-neler-d4 .nf-d4-wrap .nf-head-badges-row .kp-verified-tick,
.page-neler-d4 .nf-d4-wrap .nf-head-name-row .kp-verified-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #fff;
  font-size: .48rem;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
  vertical-align: middle;
}
.page-neler-d4 .nf-d4-wrap .nf-head-badges-row .kp-verified-tick--partner {
  background: #2e7d32;
  box-shadow: 0 1px 3px rgba(46, 125, 50, .28);
}
.page-neler-d4 .nf-d4-wrap .nf-post--social .nf-media-wrap--sharp {
  aspect-ratio: auto;
  max-height: none;
  min-height: 0;
  display: block;
  background: #0a0a0a;
}
.page-neler-d4 .nf-d4-wrap .nf-post--social .nf-media-wrap--sharp .nf-media-hit {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  display: block;
}
.page-neler-d4 .nf-d4-wrap .nf-post--social .nf-media-wrap--sharp .nf-media-hit img,
.page-neler-d4 .nf-d4-wrap .nf-post--social .nf-media-wrap--sharp .kp-video-poster {
  width: 100%;
  height: auto;
  max-height: min(72vh, 640px);
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
}
.page-neler-d4 .nf-d4-wrap .nf-post--social .nf-media-wrap--sharp.nf-media-wrap--video {
  aspect-ratio: auto;
  max-height: none;
}
.page-neler-d4 .nf-d4-wrap .nf-post--social .nf-media-wrap--sharp.nf-media-wrap--video .nf-media-hit {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 520px);
}
.page-neler-d4 .nf-d4-wrap .nf-post--social .nf-media-wrap--sharp.nf-media-wrap--video .kp-video-poster,
.page-neler-d4 .nf-d4-wrap .nf-post--social .nf-media-wrap--sharp.nf-media-wrap--video .kp-video-src {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
.page-neler-d4 .nf-d4-wrap .nf-firm-watermark {
  top: 10px;
  right: 10px;
  z-index: 5;
}
.page-neler-d4 .nf-d4-wrap .nf-firm-watermark__ring {
  width: 38px;
  max-width: 38px;
  min-width: 32px;
  opacity: .58;
}
.page-neler-d4 .nf-d4-wrap .nf-follow-btn {
  flex-shrink: 0;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff !important;
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.page-neler-d4 .nf-d4-wrap .nf-follow-btn:hover {
  background: #333;
}
.page-neler-d4 .nf-d4-wrap .nf-post--social .nf-media-wrap {
  aspect-ratio: auto;
  max-height: none;
  border-radius: 0;
}
.page-neler-d4 .nf-d4-wrap .nf-post--social .nf-media-wrap--video,
.page-neler-d4 .nf-d4-wrap .nf-post--social .nf-media-wrap--yt {
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 520px);
}
.page-neler-d4 .nf-d4-wrap .nf-post--social .nf-caption {
  padding: 0 16px 8px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.page-neler-d4 .nf-d4-wrap .nf-actions--social {
  padding: 4px 12px 14px;
  border-top: 1px solid #f3f4f6;
}
.page-neler-d4 .nf-d4-wrap .nf-actions--social .nf-act {
  font-size: 1.15rem;
}
.page-neler-d4 .nf-d4-wrap .nf-actions--social .nf-like.liked {
  color: var(--nf-red);
}

/* Featured businesses */
.page-neler-d4 .nf-d4-wrap .nf-featured-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.page-neler-d4 .nf-d4-wrap .nf-featured-scroll::-webkit-scrollbar {
  display: none;
}
.page-neler-d4 .nf-d4-wrap .nf-featured-card {
  flex: 0 0 200px;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eef0f4;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.page-neler-d4 .nf-d4-wrap .nf-featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}
.page-neler-d4 .nf-d4-wrap .nf-featured-card__bg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  background: linear-gradient(135deg, #ffe4e6, #fff0f1);
  color: var(--nf-red);
  font-size: 1.6rem;
}
.page-neler-d4 .nf-d4-wrap .nf-featured-card__body {
  display: block;
  padding: 10px 12px;
}
.page-neler-d4 .nf-d4-wrap .nf-featured-card__body strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 2px;
}
.page-neler-d4 .nf-d4-wrap .nf-featured-card__body span {
  font-size: 0.64rem;
  color: #8888a4;
}

/* Reels */
.page-neler-d4 .nf-d4-wrap .nf-reels-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.page-neler-d4 .nf-d4-wrap .nf-reels-scroll::-webkit-scrollbar {
  display: none;
}
.page-neler-d4 .nf-d4-wrap .nf-reel-card {
  position: relative;
  flex: 0 0 108px;
  width: 108px;
  height: 168px;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #1a1a2e;
}
.page-neler-d4 .nf-d4-wrap .nf-reels-scroll--rail .nf-reel-card {
  flex: 0 0 96px;
  width: 96px;
  height: 150px;
}
.page-neler-d4 .nf-d4-wrap .nf-reel-card img,
.page-neler-d4 .nf-d4-wrap .nf-reel-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-neler-d4 .nf-d4-wrap .nf-reel-ig {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}
.page-neler-d4 .nf-d4-wrap .nf-ext-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .8rem;
  background: rgba(220, 38, 38, .88);
}
.page-neler-d4 .nf-d4-wrap .nf-ext-badge--ig {
  background: linear-gradient(135deg, #833ab4, #fd1d1d);
}
.page-neler-d4 .nf-d4-wrap .nf-media-wrap--ig .nf-media-hit img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.nf-post-modal__ig-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}
.nf-post-modal__ig-fallback a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-weight: 800;
  text-decoration: none;
}
.page-neler-d4 .nf-d4-wrap .nf-ig-card {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: #fff;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}
.page-neler-d4 .nf-d4-wrap .nf-media-wrap--ig .nf-media-hit--ig {
  width: 100%;
  min-height: 220px;
}
.page-neler-d4 .nf-d4-wrap .nf-reel-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55));
  color: #fff;
  font-size: 1.1rem;
  pointer-events: none;
}
.page-neler-d4 .nf-d4-wrap .nf-reel-label {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Trends & nearby */
.page-neler-d4 .nf-d4-wrap .nf-trend-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  color: inherit;
}
.page-neler-d4 .nf-d4-wrap .nf-trend-row:last-child {
  border-bottom: none;
}
.page-neler-d4 .nf-d4-wrap .nf-trend-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1a1a2e;
}
.page-neler-d4 .nf-d4-wrap .nf-trend-meta {
  font-size: 0.64rem;
  color: #8888a4;
  white-space: nowrap;
}
.page-neler-d4 .nf-d4-wrap .nf-trend-spark {
  width: 48px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(180deg, transparent 40%, var(--nf-red) 40%, var(--nf-red) 55%, transparent 55%),
    linear-gradient(90deg, #ffcdd2 0%, #ffcdd2 20%, transparent 20%, transparent 35%, #ef9a9a 35%, #ef9a9a 50%, transparent 50%, transparent 65%, var(--nf-red) 65%, var(--nf-red) 80%, transparent 80%);
  opacity: 0.85;
}
.page-neler-d4 .nf-d4-wrap .nf-nearby-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #f3f4f6;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
}
.page-neler-d4 .nf-d4-wrap .nf-nearby-item:last-child {
  border-bottom: none;
}
.page-neler-d4 .nf-d4-wrap .nf-nearby-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--nf-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  overflow: hidden;
  flex-shrink: 0;
}
.page-neler-d4 .nf-d4-wrap .nf-nearby-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-neler-d4 .nf-d4-wrap .nf-nearby-body {
  flex: 1;
  min-width: 0;
}
.page-neler-d4 .nf-d4-wrap .nf-nearby-body strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #1a1a2e;
}
.page-neler-d4 .nf-d4-wrap .nf-nearby-body span {
  font-size: 0.64rem;
  color: #8888a4;
}
.page-neler-d4 .nf-d4-wrap .nf-nearby-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.page-neler-d4 .nf-d4-wrap .nf-nearby-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-neler-d4 .nf-d4-wrap .nf-nearby-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ececf4;
  color: #9a9ab0;
  font-size: 0.85rem;
}

/* Right rail widgets */
.page-neler-d4 .nf-d4-wrap .rc {
  gap: 14px;
}
.page-neler-d4 .nf-d4-wrap .widget {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}
.page-neler-d4 .nf-d4-wrap .wh {
  padding: 14px 16px 10px;
  border-bottom: 1px solid #f3f4f6;
}
.page-neler-d4 .nf-d4-wrap .wh strong {
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-neler-d4 .nf-d4-wrap .wh a,
.page-neler-d4 .nf-d4-wrap .wh span {
  font-size: 0.68rem;
  color: var(--nf-red);
  font-weight: 600;
}
.page-neler-d4 .nf-d4-wrap .wb {
  padding: 8px 16px 14px;
}
.page-neler-d4 .nf-d4-wrap .nf-widget-reels .wb {
  padding: 12px 16px 16px;
}
.page-neler-d4 .nf-d4-wrap .nf-widget-secondary {
  display: none;
}

/* Mobile widgets in main column */
.page-neler-d4 .nf-d4-wrap .nf-mob-widgets {
  display: none;
}
.page-neler-d4 .nf-d4-wrap .nf-reels-mob {
  display: none;
}

/* Mobile bottom nav */
.page-neler-d4 .nf-mob-nav {
  display: none;
}

/* KVKK compact */
.page-neler-d4 .nf-d4-wrap .nf-kvkk-details--compact {
  margin-bottom: 12px;
  font-size: 0.68rem;
}

@media (min-width: 1101px) {
  .page-neler-d4 .nf-d4-wrap .content {
    grid-template-columns: minmax(0, 560px) 320px;
    justify-content: center;
  }
  .page-neler-d4 .nf-d4-wrap .mc {
    max-width: none;
    width: 100%;
    overflow-x: visible;
  }
}

@media (max-width: 1100px) {
  .page-neler-d4 .nf-d4-wrap .content {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .page-neler-d4 .nf-d4-wrap .rc {
    display: none;
  }
  .page-neler-d4 .nf-d4-wrap .nf-reels-mob,
  .page-neler-d4 .nf-d4-wrap .nf-mob-widgets {
    display: block;
  }
  .page-neler-d4 .nf-d4-wrap .nf-mob-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .page-neler-d4 .nf-d4-wrap .nf-mob-widget__title {
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .page-neler-d4 .nf-d4-wrap .nf-mob-widget__title i {
    color: var(--nf-red);
  }
}

@media (max-width: 900px) {
  .page-neler-d4 .nf-d4-wrap .sidebar {
    position: fixed;
    left: 0;
    top: calc(var(--header-h, 68px));
    bottom: 0;
    z-index: 1000;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    max-height: none;
    min-height: 0;
    width: min(288px, 88vw);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
  }
  .page-neler-d4 .nf-d4-wrap .layout.nf-drawer-open .sidebar {
    transform: translateX(0);
  }
  .page-neler-d4 .nf-d4-wrap .d4-topbar .topbar-search {
    display: none;
  }
  .page-neler-d4 .nf-d4-wrap .tb-head {
    display: block;
    flex: 1;
    min-width: 0;
  }
  .page-neler-d4 .nf-d4-wrap .tb-title {
    font-size: 0.84rem;
    font-weight: 800;
  }
  .page-neler-d4 .nf-mob-nav {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    height: calc(62px + env(safe-area-inset-bottom, 0));
    padding: 6px 8px env(safe-area-inset-bottom, 8px);
    background: #fff;
    border-top: 1px solid #eef0f4;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
  }
  .page-neler-d4 .nf-mob-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: #8888a4;
    font-size: 0.58rem;
    font-weight: 600;
    padding: 4px;
    min-width: 0;
  }
  .page-neler-d4 .nf-mob-nav__item i {
    font-size: 1.15rem;
  }
  .page-neler-d4 .nf-mob-nav__item--active {
    color: var(--nf-red);
  }
  .page-neler-d4 .nf-mob-nav__fab {
    position: relative;
    top: -18px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--nf-red);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.4);
    text-decoration: none;
    flex-shrink: 0;
  }
  .page-neler-d4 .nf-d4-wrap {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0));
  }
}

@media (max-width: 640px) {
  .page-neler-d4 .nf-d4-wrap .nf-city-ticker__stage {
    min-height: 78px;
  }
  .page-neler-d4 .nf-d4-wrap .nf-city-ticker__nav {
    flex: 0 0 30px;
    width: 30px;
    font-size: 0.75rem;
  }
  .page-neler-d4 .nf-d4-wrap .nf-city-ticker__ic {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 0.92rem;
  }
  .page-neler-d4 .nf-d4-wrap .nf-city-ticker__text {
    font-size: 0.86rem;
    -webkit-line-clamp: 2;
  }
  .page-neler-d4 .nf-d4-wrap .nf-city-ticker__go {
    display: none;
  }
  .page-neler-d4 .nf-d4-wrap .nf-city-chip {
    padding: 7px 10px;
    font-size: 0.72rem;
  }
  .page-neler-d4 .nf-d4-wrap .nf-mob-widgets {
    grid-template-columns: 1fr;
  }
  .page-neler-d4 .nf-d4-wrap .content {
    padding: 12px;
  }
  .page-neler-d4 .nf-d4-wrap .nf-section-card {
    padding: 14px;
    border-radius: 14px;
  }
  .page-neler-d4 .nf-d4-wrap .nf-post--social .nf-media-wrap {
    aspect-ratio: 1 / 1;
    max-height: none;
  }
  .page-neler-d4 .nf-d4-wrap .nf-post--social .nf-media-wrap--video,
  .page-neler-d4 .nf-d4-wrap .nf-post--social .nf-media-wrap--yt {
    aspect-ratio: 16 / 9;
    max-height: min(70vh, 520px);
  }
}

@media (max-width: 767px) {
  .page-neler-d4 .nf-d4-wrap .mc {
    display: flex;
    flex-direction: column;
  }
  .page-neler-d4 .nf-d4-wrap .d4-feed-block,
  .page-neler-d4 .nf-d4-wrap .d4-empty {
    order: unset;
  }
  .page-neler-d4 .nf-d4-wrap .nf-post--social .nf-name {
    font-size: 0.76rem;
    letter-spacing: -0.01em;
  }
  .page-neler-d4 .nf-d4-wrap .nf-membership-badge {
    font-size: 0.54rem;
    padding: 2px 6px;
  }
  .nf-d4-wrap .nf-firm-watermark {
    top: 8px;
    right: 8px;
  }
  .nf-d4-wrap .nf-firm-watermark__ring {
    width: 34px;
    max-width: 34px;
    min-width: 30px;
    opacity: .68;
  }
}

/* Yan menü yok — site header hamburger menüsü kullanılır */
.page-neler-d4 .nf-d4-wrap .nf-layout--no-sidebar {
  display: block;
  max-width: 1200px;
}
.page-neler-d4 .nf-d4-wrap .nf-layout--no-sidebar .main {
  width: 100%;
  max-width: none;
}
.page-neler-d4 .nf-d4-wrap .nf-layout--no-sidebar .content {
  width: 100%;
}
@media (min-width: 1101px) {
  .page-neler-d4 .nf-d4-wrap .nf-layout--no-sidebar .content {
    grid-template-columns: minmax(0, 640px) 300px;
    gap: 28px;
    max-width: 1100px;
    margin-inline: auto;
  }
}
.page-neler-d4 .nf-d4-wrap .nf-filter-bar {
  padding-right: 14px;
}

/* ── Canlı sohbet — referans UI ── */
body.nf-chat-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}
body.nf-chat-submodal-open {
  overflow: hidden !important;
}
body.nf-chat-modal-open .site-header,
body.nf-chat-modal-open .hdr-desk,
body.nf-chat-modal-open .hdr-mob,
body.nf-chat-modal-open footer.footer {
  display: none !important;
}
body.page-neler-canli .site-header,
body.page-neler-canli .hdr-desk,
body.page-neler-canli .hdr-mob,
body.page-neler-canli footer.footer {
  display: none !important;
}

.nf-chat-modal {
  --nf-chat-red: #d81e3f;
  --nf-chat-navy: #1a2b48;
  --nf-chat-bg: #f3f4f8;
  --nf-chat-mine: #fde8ec;
  position: fixed;
  inset: 0;
  z-index: 10080;
  background: var(--nf-chat-bg);
  display: flex;
  flex-direction: column;
  font-family: inherit;
}
@media (max-width: 900px) {
  .nf-chat-modal {
    bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  }
  body.nf-chat-modal-open .nf-mob-nav {
    z-index: 10090;
  }
}
.nf-chat-modal[hidden] {
  display: none !important;
}
.nf-chat-modal.is-open {
  display: flex;
}
.nf-chat-modal__panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  background: var(--nf-chat-bg);
}
@media (max-width: 900px) {
  .nf-chat-modal__panel {
    max-height: none;
    height: 100%;
  }
}

/* Üst bar */
.nf-chat-modal__topbar {
  display: grid;
  grid-template-columns: 44px 1fr 88px;
  align-items: center;
  gap: 8px;
  padding: max(10px, env(safe-area-inset-top)) 12px 10px;
  background: #fff;
  border-bottom: 1px solid #e8ebf0;
  flex-shrink: 0;
}
.nf-chat-modal__topcenter {
  text-align: center;
  min-width: 0;
}
.nf-chat-modal__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--nf-chat-navy);
  letter-spacing: -0.02em;
}
.nf-chat-modal__live {
  margin: 2px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--nf-chat-red);
}
.nf-chat-modal__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nf-chat-red);
  animation: nf-chat-pulse 1.6s ease-in-out infinite;
}
.nf-chat-modal__topactions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}
.nf-chat-modal__icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--nf-chat-navy);
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
}
.nf-chat-modal__icon-btn:active {
  background: #f3f4f6;
}

/* Logo + slogan — sol logo, sağ tek paragraf */
.nf-chat-modal__intro {
  flex-shrink: 0;
  padding: clamp(10px, 2.5vw, 16px) clamp(12px, 3vw, 20px);
  background: #fff;
  border-bottom: 1px solid #eef0f4;
}
.nf-chat-modal__brandblock {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(10px, 2.8vw, 18px);
  width: 100%;
  max-width: 100%;
}
.nf-chat-modal__brandlogo {
  display: block;
  width: clamp(72px, 24vw, 168px);
  height: auto;
  max-height: clamp(30px, 8vw, 52px);
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}
.nf-chat-modal__brandtext {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(0.64rem, 2.4vw, 0.9rem);
  line-height: 1.45;
  color: #4b5563;
  word-break: break-word;
}
.nf-chat-modal__brand-kicker {
  font-weight: 600;
  color: #6b7280;
}
.nf-chat-modal__brand-title {
  font-weight: 800;
  color: var(--nf-chat-red);
}
.nf-chat-modal__brand-note {
  color: #9ca3af;
  font-size: 0.92em;
}
@media (min-width: 768px) {
  .nf-chat-modal__brandblock {
    gap: 20px;
  }
  .nf-chat-modal__brandlogo {
    width: 168px;
    max-height: 52px;
  }
  .nf-chat-modal__brandtext {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}
@media (min-width: 1100px) {
  .nf-chat-modal__intro {
    padding: 14px 24px;
  }
  .nf-chat-modal__brandtext {
    font-size: 0.95rem;
  }
}

/* Online + kurallar */
.nf-chat-modal__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 14px 8px;
  padding: 8px 10px 8px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8ebf0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  flex-shrink: 0;
}
.nf-chat-modal__status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: #4b5563;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.nf-chat-modal__status-pill:hover {
  color: var(--nf-chat-navy);
}
.nf-chat-modal__status-chev {
  font-size: 0.62rem;
  color: #9ca3af;
  margin-left: 2px;
}
.nf-chat-modal__status-pill strong {
  color: var(--nf-chat-navy);
  font-weight: 800;
}
.nf-chat-modal__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: nf-chat-pulse 1.6s ease-in-out infinite;
}
.nf-chat-modal__rules-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
  color: #4b5563;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}
.nf-chat-modal__rules-btn i {
  color: #9ca3af;
  font-size: 0.72rem;
}

/* Canlı radyo — çevrimiçi satırında */
.nf-chat-modal__radio-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 40px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
  color: var(--nf-chat-navy);
  font-size: 0.78rem;
  cursor: pointer;
  flex-shrink: 0;
}
.nf-chat-modal__radio-toggle:hover,
.nf-chat-modal__radio-toggle:focus-visible {
  background: #fff;
  border-color: #d1d5db;
}
.nf-chat-modal__radio-eq {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}
.nf-chat-modal__status.is-radio-playing .nf-chat-modal__radio-eq {
  display: inline-flex;
}
.nf-chat-modal__radio-eq span {
  display: block;
  width: 2px;
  height: 4px;
  border-radius: 1px;
  background: var(--nf-chat-red);
}
.nf-chat-modal__status.is-radio-playing .nf-chat-modal__radio-eq span {
  animation: nf-chat-radio-eq 0.9s ease-in-out infinite;
}
.nf-chat-modal__status.is-radio-playing .nf-chat-modal__radio-eq span:nth-child(2) {
  animation-delay: 0.15s;
}
.nf-chat-modal__status.is-radio-playing .nf-chat-modal__radio-eq span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes nf-chat-radio-eq {
  0%, 100% { height: 4px; }
  50% { height: 12px; }
}

/* Mesaj alanı */
.nf-chat-modal__feed {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.nf-chat-modal__messages,
.nf-chat-modal .nf-chat__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 8px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--nf-chat-bg);
}
.nf-chat-modal__scrollfab {
  position: absolute;
  right: 16px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--nf-chat-navy);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(26, 43, 72, 0.28);
  z-index: 3;
}
.nf-chat-modal__scrollfab[hidden] {
  display: none !important;
}

.nf-chat-modal .nf-chat__empty {
  margin: auto;
  text-align: center;
  color: #6b7280;
  font-size: 0.84rem;
  padding: 24px 12px;
}
.nf-chat-modal .nf-chat__msg {
  display: flex;
  gap: 10px;
  max-width: 88%;
  align-items: flex-start;
}
.nf-chat-modal .nf-chat__msg.is-mine {
  margin-left: auto;
  flex-direction: row-reverse;
  max-width: 86%;
}
.nf-chat-modal .nf-chat__msg-av {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: visible;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #374151;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.nf-chat-modal .nf-chat__msg-av img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.nf-chat-modal .nf-chat__msg-av-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--nf-chat-red);
  color: #fff;
  font-size: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.nf-chat-modal .nf-chat__msg-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nf-chat-modal .nf-chat__msg.is-mine .nf-chat__msg-body {
  align-items: flex-end;
}
.nf-chat-modal .nf-chat__msg-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: #9ca3af;
}
.nf-chat-modal .nf-chat__msg-av,
.nf-chat-modal .nf-chat__msg-name {
  cursor: pointer;
}
.nf-chat-modal .nf-chat__msg-name {
  color: var(--nf-chat-navy);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.74rem;
}
.nf-chat-modal .nf-chat__msg.is-mine .nf-chat__msg-name {
  color: var(--nf-chat-red);
}
.nf-chat-modal .nf-chat__msg-bubble {
  max-width: 100%;
}
.nf-chat-modal .nf-chat__msg-text {
  margin: 0;
  padding: 11px 14px;
  border-radius: 16px;
  background: #fff;
  color: #1f2937;
  font-size: 0.84rem;
  line-height: 1.45;
  word-break: break-word;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
.nf-chat-modal .nf-chat__msg.is-mine .nf-chat__msg-text {
  background: var(--nf-chat-mine);
  color: #7f1d1d;
  box-shadow: 0 2px 10px rgba(216, 30, 63, 0.08);
}
.nf-chat-modal .nf-chat__link {
  color: #2563eb;
  text-decoration: underline;
  word-break: break-all;
}
.nf-chat-modal .nf-chat__msg.is-mine .nf-chat__link {
  color: #b91c1c;
}
.nf-chat-modal .nf-chat__admin-del,
.nf-chat-modal .nf-chat__admin-ban {
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  padding: 0 2px;
  font-size: 0.62rem;
}
.nf-chat-modal .nf-chat__admin-ban {
  color: #d97706;
}

/* Alt yazma alanı */
.nf-chat-modal__footer {
  flex-shrink: 0;
  background: #fff;
  border-top: 1px solid #e8ebf0;
  padding: 10px 12px max(10px, env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.05);
}
.nf-chat-modal .nf-chat__form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}
.nf-chat-modal .nf-chat__attach {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--nf-chat-red);
  color: #fff;
  font-size: 1.1rem;
  cursor: not-allowed;
  opacity: 0.92;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(216, 30, 63, 0.28);
}
.nf-chat-modal .nf-chat__field {
  position: relative;
  flex: 1;
  min-width: 0;
}
.nf-chat-modal .nf-chat__field textarea {
  width: 100%;
  min-height: 46px;
  max-height: 120px;
  resize: none;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #fff;
  color: #111827;
  padding: 12px 44px 12px 16px;
  font-size: 0.86rem;
  font-family: inherit;
  line-height: 1.35;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}
.nf-chat-modal .nf-chat__field textarea::placeholder {
  color: #9ca3af;
}
.nf-chat-modal .nf-chat__field-emoji {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #9ca3af;
  font-size: 1.15rem;
  cursor: pointer;
}
.nf-chat-modal .nf-chat__emoji-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}
.nf-chat-modal .nf-chat__emoji-panel[hidden] {
  display: none !important;
}
.nf-chat-modal .nf-chat__emoji-item {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
}
.nf-chat-modal .nf-chat__emoji-item:hover {
  background: #f3f4f6;
}
.nf-chat-modal .nf-chat__send {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--nf-chat-red);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(216, 30, 63, 0.28);
}
.nf-chat-modal .nf-chat__guest {
  padding: 12px;
  text-align: center;
  font-size: 0.84rem;
  color: #6b7280;
}
.nf-chat-modal .nf-chat__guest a {
  color: var(--nf-chat-red);
  font-weight: 800;
}

@keyframes nf-chat-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.92); }
}

@media (max-height: 700px) {
  .nf-chat-modal__brandlogo {
    width: clamp(64px, 20vw, 120px);
    max-height: 34px;
  }
  .nf-chat-modal__brandtext {
    font-size: clamp(0.6rem, 2vw, 0.78rem);
    line-height: 1.35;
  }
  .nf-chat-modal__intro {
    padding: 8px 12px;
  }
  .nf-chat-modal__status {
    margin-top: 8px;
    margin-bottom: 6px;
  }
}

/* Alt modallar — online, üye, kurallar */
.nf-chat-submodal {
  position: fixed;
  inset: 0;
  z-index: 10120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.nf-chat-submodal[hidden] {
  display: none !important;
}
.nf-chat-submodal__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(15, 23, 42, 0.45);
  cursor: pointer;
}
.nf-chat-submodal__sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: min(78vh, 520px);
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  animation: nf-chat-sheet-in 0.22s ease;
}
.nf-chat-submodal__sheet--user {
  max-height: min(52vh, 360px);
}
@keyframes nf-chat-sheet-in {
  from { transform: translateY(100%); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}
.nf-chat-submodal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid #eef0f4;
  flex-shrink: 0;
}
.nf-chat-submodal__head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--nf-chat-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nf-chat-submodal__close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #f3f4f6;
  color: #4b5563;
  cursor: pointer;
  flex-shrink: 0;
}
.nf-chat-submodal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 12px 16px;
}
.nf-chat-submodal__rules ul {
  margin: 0;
  padding: 8px 8px 8px 22px;
  color: #4b5563;
  font-size: 0.84rem;
  line-height: 1.55;
}
.nf-chat-submodal__rules li + li {
  margin-top: 8px;
}
.nf-chat-online-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 8px;
  border: none;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.nf-chat-online-item--admin {
  background: linear-gradient(90deg, rgba(216, 30, 63, 0.08), rgba(216, 30, 63, 0.02));
  border: 1px solid rgba(216, 30, 63, 0.18);
  box-shadow: 0 0 0 0 rgba(216, 30, 63, 0.2);
  animation: nf-chat-admin-row 2.4s ease-in-out infinite;
}
.nf-chat-online-item--kurumsal {
  background: linear-gradient(90deg, rgba(29, 78, 216, 0.06), transparent);
  border: 1px solid rgba(29, 78, 216, 0.12);
}
@keyframes nf-chat-admin-row {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 30, 63, 0.15); }
  50% { box-shadow: 0 0 14px 1px rgba(216, 30, 63, 0.28); }
}
.nf-chat-online-item:hover,
.nf-chat-online-item:focus-visible {
  background: #f9fafb;
}
.nf-chat-online-item--admin:hover,
.nf-chat-online-item--admin:focus-visible {
  background: linear-gradient(90deg, rgba(216, 30, 63, 0.12), rgba(216, 30, 63, 0.04));
}
.nf-chat-online-item__av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #374151;
  font-size: 0.78rem;
  font-weight: 800;
}
.nf-chat-online-item__av--admin {
  box-shadow: 0 0 0 2px #d81e3f, 0 0 10px rgba(216, 30, 63, 0.45);
  animation: nf-chat-admin-av 2s ease-in-out infinite;
}
@keyframes nf-chat-admin-av {
  0%, 100% { box-shadow: 0 0 0 2px #d81e3f, 0 0 8px rgba(216, 30, 63, 0.35); }
  50% { box-shadow: 0 0 0 3px #d81e3f, 0 0 16px rgba(216, 30, 63, 0.65); }
}
.nf-chat-online-item__av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nf-chat-online-item__meta {
  min-width: 0;
  flex: 1;
}
.nf-chat-online-item__name {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--nf-chat-navy);
}
.nf-chat-online-item--admin .nf-chat-online-item__name {
  color: #d81e3f;
}
.nf-chat-online-item__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 3px;
}
.nf-chat-online-item__rozet {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.3;
}
.nf-chat-online-item__rozet--admin {
  background: linear-gradient(135deg, #d81e3f, #b91c3c);
  color: #fff;
  animation: nf-chat-admin-badge 2.5s ease-in-out infinite;
}
.nf-chat-online-item__rozet--kurumsal {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.nf-chat-online-item__rozet--bireysel {
  background: #f3f4f6;
  color: #6b7280;
}
@keyframes nf-chat-admin-badge {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.92; }
}
.nf-chat-online-item__go {
  color: #9ca3af;
  font-size: 0.72rem;
  flex-shrink: 0;
}
.nf-chat-submodal__empty {
  padding: 28px 16px;
  text-align: center;
  color: #9ca3af;
  font-size: 0.84rem;
}
.nf-chat-submodal__sheet--user {
  max-height: min(88vh, 560px);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}
.nf-chat-submodal__body--user {
  padding: 0;
  overflow-y: auto;
}
.nf-chat-user-preview {
  position: relative;
}
.nf-chat-user-preview__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #374151;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
}
.nf-chat-user-preview__cover {
  height: 128px;
  background: linear-gradient(135deg, #1a2b48 0%, #2d4a7a 55%, #d81e3f 120%);
  background-size: cover;
  background-position: center;
  position: relative;
}
.nf-chat-user-preview__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.35), transparent 55%);
}
.nf-chat-user-preview__body {
  position: relative;
  margin-top: -44px;
  padding: 0 16px 18px;
  text-align: center;
}
.nf-chat-user-preview__av {
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #374151;
  font-size: 1.4rem;
  font-weight: 800;
  border: 4px solid #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.14);
  position: relative;
  z-index: 1;
}
.nf-chat-user-preview__av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nf-chat-user-preview__name {
  margin: 10px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--nf-chat-navy);
}
.nf-chat-user-preview__meta {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #9ca3af;
}
.nf-chat-user-preview__badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
}
.nf-chat-user-preview__badge--admin {
  background: linear-gradient(135deg, #d81e3f, #b91c3c);
  color: #fff;
  animation: nf-chat-admin-badge 2.5s ease-in-out infinite;
}
.nf-chat-user-preview__badge--kurumsal {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.nf-chat-user-preview__badge--bireysel {
  background: #f3f4f6;
  color: #6b7280;
}
.nf-chat-user-preview__stats {
  margin: 14px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #eef0f4;
  font-size: 0.78rem;
  color: #6b7280;
}
.nf-chat-user-preview__stats strong {
  color: var(--nf-chat-navy);
  font-size: 0.92rem;
  font-weight: 800;
}
.nf-chat-user-preview__actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.nf-chat-user-preview__actions--single {
  grid-template-columns: 1fr;
}
.nf-chat-user-preview__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.nf-chat-user-preview__btn--follow {
  background: var(--nf-chat-red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(216, 30, 63, 0.22);
}
.nf-chat-user-preview__btn--follow.is-following,
.nf-chat-user-preview__btn--follow.is-pending {
  background: #f3f4f6;
  color: #4b5563;
  box-shadow: none;
  border: 1px solid #e5e7eb;
}
.nf-chat-user-preview__btn--dm {
  background: var(--nf-chat-navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 43, 72, 0.18);
}
.nf-chat-user-preview__btn--profile {
  grid-column: 1 / -1;
  background: #fff;
  color: var(--nf-chat-navy);
  border: 1px solid #e5e7eb;
}
.nf-chat-user-preview__btn--login {
  grid-column: 1 / -1;
  background: var(--nf-chat-red);
  color: #fff;
}
.nf-chat-user-preview__loading {
  padding: 48px 16px;
  text-align: center;
  color: #9ca3af;
  font-size: 0.84rem;
}
.nf-chat-user-preview__handle {
  display: inline-block;
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nf-chat-red);
  text-decoration: none;
}
.nf-chat-user-preview__statbar {
  position: relative;
  margin: 16px 0 0;
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid #e8ebf0;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.nf-chat-user-preview__statbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, rgba(216, 30, 63, 0.55), transparent);
}
.nf-chat-user-preview__statitem {
  flex: 1;
  min-width: 0;
  padding: 14px 6px 12px;
  text-align: center;
}
.nf-chat-user-preview__staticon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 4px;
  border-radius: 8px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #9ca3af;
  font-size: 0.68rem;
}
.nf-chat-user-preview__statitem strong {
  display: block;
  color: var(--nf-chat-navy);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.nf-chat-user-preview__statitem span:last-child {
  display: block;
  margin-top: 3px;
  font-size: 0.66rem;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 0.02em;
}
.nf-chat-user-preview__statsep {
  width: 1px;
  flex-shrink: 0;
  margin: 10px 0;
  background: linear-gradient(180deg, transparent 0%, #e5e7eb 18%, #e5e7eb 82%, transparent 100%);
}
.nf-chat-user-preview__admin {
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  text-align: left;
}
.nf-chat-user-preview__admin-title {
  margin: 0 0 10px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #9a3412;
}
.nf-chat-user-preview__ban-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nf-chat-user-preview__ban-btn {
  flex: 1 1 calc(33.33% - 6px);
  min-width: 72px;
  padding: 8px 6px;
  border: 1px solid #fdba74;
  border-radius: 10px;
  background: #fff;
  color: #c2410c;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.nf-chat-user-preview__unban {
  margin-top: 8px;
  width: 100%;
  padding: 9px 10px;
  border: none;
  border-radius: 10px;
  background: #16a34a;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.nf-d4-wrap .nf-akis-switch__item--chat {
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
  width: 100%;
}
.nf-d4-wrap .nf-mob-nav__fab--chat {
  background: linear-gradient(135deg, #d81e3f, #b91c3c);
}

