/**
 * Numex AI - Keşfet (Prompt Explore)
 */
#n-explore {
  position: absolute;
  inset: 0;
  z-index: 400;
  display: flex;
  flex-direction: column;
  background: var(--n-bg, #09090B);
  overflow: hidden;
}

.n-ex-header {
  padding: 14px 14px 0;
  flex-shrink: 0;
  border-bottom: 1px solid var(--n-bd);
}

.n-ex-header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.n-ex-header .n-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--n-s2);
  border: 1px solid var(--n-bd);
  color: var(--n-t2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.n-ex-header h2 {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

.n-ex-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--n-s1);
  border: 1px solid var(--n-bd);
  border-radius: 14px;
  margin-bottom: 12px;
}

.n-ex-search svg { flex-shrink: 0; }
.n-ex-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--n-t);
  font-size: 13.5px;
  font-family: inherit;
}
.n-ex-search input::placeholder { color: var(--n-tm); }
.n-ex-search .n-ex-clear {
  background: none;
  border: none;
  color: var(--n-tm);
  cursor: pointer;
  padding: 0;
  display: flex;
}

.n-ex-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 0 20px;
  -webkit-overflow-scrolling: touch;
}

.n-ex-cats {
  display: flex;
  gap: 6px;
  padding: 0 14px 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.n-ex-cat {
  padding: 7px 14px;
  border-radius: 10px;
  white-space: nowrap;
  border: 1px solid var(--n-bd);
  color: var(--n-t2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.n-ex-cat.active {
  background: var(--n-acs);
  border-color: rgba(196,169,98,0.2);
  color: var(--n-ac);
}

.n-ex-featured {
  padding: 0 14px 16px;
}
.n-ex-featured-card {
  padding: 18px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.n-ex-featured-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.1));
}
.n-ex-featured-inner { position: relative; z-index: 1; }
.n-ex-featured-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.n-ex-featured-prompt {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #fff;
}
.n-ex-featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.n-ex-featured-meta span { font-size: 11px; color: rgba(255,255,255,0.6); }
.n-ex-featured-badge {
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}

.n-ex-section {
  padding: 0 18px 8px;
}
.n-ex-section-title {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--n-tm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.n-ex-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 14px;
}

.n-ex-card {
  padding: 14px;
  background: var(--n-s1);
  border: 1px solid var(--n-bd);
  border-radius: 14px;
  cursor: pointer;
  transition: 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.n-ex-card:active { transform: scale(0.98); }
.n-ex-card-inner { display: flex; align-items: flex-start; gap: 10px; }
.n-ex-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.n-ex-card-body { flex: 1; min-width: 0; }
.n-ex-card-title { font-size: 13.5px; font-weight: 600; margin-bottom: 2px; }
.n-ex-card-desc { font-size: 11.5px; color: var(--n-tm); line-height: 1.4; }
.n-ex-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.n-ex-card-uses { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--n-tm); }
.n-ex-card-cta {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--n-acs);
  border: 1px solid rgba(196,169,98,0.12);
  font-size: 11px;
  font-weight: 600;
  color: var(--n-ac);
}

.n-ex-empty {
  text-align: center;
  padding: 40px 20px;
}
.n-ex-empty .icon { font-size: 40px; margin-bottom: 12px; }
.n-ex-empty h3 { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.n-ex-empty p { font-size: 12px; color: var(--n-tm); }

/* Detail sheet */
.n-ex-detail-header {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--n-bd);
  flex-shrink: 0;
}
.n-ex-detail-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px;
  -webkit-overflow-scrolling: touch;
}
.n-ex-detail-hdr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.n-ex-detail-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.n-ex-detail-hdr h2 { font-size: 18px; font-weight: 700; margin: 0 0 3px 0; }
.n-ex-detail-hdr .desc { font-size: 13px; color: var(--n-t2); }
.n-ex-detail-stats {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.n-ex-detail-stat {
  flex: 1;
  padding: 12px 10px;
  background: var(--n-s1);
  border: 1px solid var(--n-bd);
  border-radius: 12px;
  text-align: center;
}
.n-ex-detail-stat .val { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.n-ex-detail-stat .lbl { font-size: 10px; color: var(--n-tm); }
.n-ex-detail-section { margin-bottom: 20px; }
.n-ex-detail-section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--n-tm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.n-ex-detail-prompt {
  padding: 16px;
  background: var(--n-s1);
  border: 1px solid var(--n-bd);
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--n-t2);
  white-space: pre-wrap;
}
.n-ex-detail-prompt .ph { color: var(--n-ac); background: var(--n-acs); padding: 1px 6px; border-radius: 4px; font-weight: 500; }
.n-ex-detail-tips { display: flex; flex-direction: column; gap: 6px; }
.n-ex-detail-tip {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 10px;
  background: var(--n-s1);
  border-radius: 10px;
}
.n-ex-detail-tip span:first-child { color: var(--n-ac); font-weight: 600; font-size: 12px; flex-shrink: 0; }
.n-ex-detail-tip span:last-child { font-size: 12px; color: var(--n-t2); line-height: 1.4; }
.n-ex-detail-footer {
  padding: 12px 18px 20px;
  border-top: 1px solid var(--n-bd);
}
.n-ex-detail-cta {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background: var(--n-grad);
  border: none;
  color: #09090B;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--n-acg);
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  -webkit-tap-highlight-color: transparent;
}
.n-ex-toast {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 9px 18px;
  background: var(--n-s3);
  border: 1px solid var(--n-bds);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  z-index: 200;
  box-shadow: 0 6px 28px rgba(0,0,0,0.35);
  white-space: nowrap;
}
