/* =========================================================================
   İlan detay sayfası (ld-*) — /ilan/:param
   Yalnızca app.css token'ları kullanılır; koyu tema otomatik.
   ========================================================================= */

/* ---------- Başlık alanı ---------- */
.ld-head {
  margin-bottom: 22px;
}
.ld-title {
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
  margin: 6px 0 12px;
  overflow-wrap: anywhere;
}
.ld-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.ld-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
}
.ld-cat-chip:hover {
  text-decoration: none;
  border-color: var(--border-strong);
  color: var(--text);
}
.ld-cat-chip .icon {
  width: 1.05em;
  height: 1.05em;
  color: var(--brand);
}
.ld-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 12px 0 0;
  color: var(--text-2);
  font-size: 0.95rem;
}
.ld-sub > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ld-sub .icon {
  color: var(--text-3);
}

/* ---------- Düzen ---------- */
.ld-layout {
  gap: 24px;
}
.ld-main {
  min-width: 0;
}
.ld-extra {
  min-width: 0;
}
@media (min-width: 960px) {
  /* Mobil sıra: ana içerik → kenar çubuğu → ek kartlar. Masaüstünde ek kartlar ana sütunda kalır;
     kenar çubuğu iki satırı kaplar, artan yükseklik ikinci (esnek) satıra gider. */
  .ld-layout {
    gap: 20px 32px;
    grid-template-rows: auto 1fr;
  }
  .ld-main {
    grid-column: 1;
    grid-row: 1;
  }
  .ld-extra {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }
  /* Kenar çubuğu satır yüksekliğini kaplar; içerik yapışkan kalır ve gerekirse kendi içinde kayar */
  .ld-aside {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
  }
  .ld-aside-inner {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    max-height: calc(100vh - var(--header-h) - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    /* odak halkaları ve gölgeler kırpılmasın */
    padding: 4px;
    margin: -4px;
  }
}

/* ---------- Galeri ---------- */
.ld-gallery {
  display: grid;
  gap: 10px;
}
.ld-stage,
.ld-lightbox {
  /* Koyu fotoğraf yüzeyi: açık temada metin rengi, koyu temada sayfa zemini */
  --stage: var(--text);
  --stage-fg: var(--surface);
}
@media (prefers-color-scheme: dark) {
  .ld-stage,
  .ld-lightbox {
    --stage: var(--bg);
    --stage-fg: var(--text);
  }
}
.ld-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: min(72vh, 620px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--stage);
  box-shadow: var(--shadow-sm);
}
.ld-stage-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}
.ld-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--stage) 62%, transparent);
  color: var(--stage-fg);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background-color 0.15s;
}
.ld-zoom:hover {
  background: color-mix(in srgb, var(--stage) 85%, transparent);
}
.ld-photo-count {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--stage) 62%, transparent);
  color: var(--stage-fg);
  backdrop-filter: blur(6px);
  font-size: 0.8rem;
  font-weight: 700;
  pointer-events: none;
}
.ld-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.ld-thumb {
  flex: none;
  width: 84px;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
  cursor: pointer;
  opacity: 0.72;
  scroll-snap-align: start;
  transition: opacity 0.15s, border-color 0.15s;
}
.ld-thumb:hover {
  opacity: 1;
}
.ld-thumb[aria-current='true'] {
  opacity: 1;
  border-color: var(--brand);
}
.ld-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tam ekran görüntüleyici */
.ld-lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  inset: 0;
  border: 0;
  background: var(--stage);
  color: var(--stage-fg);
}
.ld-lightbox[open] {
  display: grid;
  place-items: center;
}
.ld-lightbox::backdrop {
  background: var(--overlay);
}
.ld-lightbox img {
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 120px);
  object-fit: contain;
}
.ld-lb-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--stage-fg) 14%, transparent);
  color: var(--stage-fg);
  cursor: pointer;
  transition: background-color 0.15s;
}
.ld-lb-btn:hover {
  background: color-mix(in srgb, var(--stage-fg) 26%, transparent);
}
.ld-lb-btn .icon {
  width: 26px;
  height: 26px;
}
.ld-lb-close {
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
}
.ld-lb-prev,
.ld-lb-next {
  top: 50%;
  transform: translateY(-50%);
}
.ld-lb-prev {
  left: 14px;
}
.ld-lb-next {
  right: 14px;
}
@media (max-width: 639px) {
  .ld-lb-prev,
  .ld-lb-next {
    top: auto;
    bottom: max(16px, env(safe-area-inset-bottom));
    transform: none;
  }
  .ld-lb-prev {
    left: calc(50% - 60px);
  }
  .ld-lb-next {
    right: calc(50% - 60px);
  }
}

/* Görsel yoksa */
.ld-noimg {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  min-height: 240px;
  aspect-ratio: 16 / 9;
  max-height: 360px;
  padding: 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong);
  color: var(--text-3);
  background:
    radial-gradient(circle at 25% 20%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 60%),
    radial-gradient(circle at 80% 85%, color-mix(in srgb, var(--reward) 11%, transparent), transparent 55%),
    var(--surface);
}
.ld-noimg-icon {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--lost-soft);
  color: var(--lost);
}
.ld-noimg.is-found .ld-noimg-icon {
  background: var(--found-soft);
  color: var(--found);
}
.ld-noimg-icon .icon {
  width: 44px;
  height: 44px;
}
.ld-noimg-text {
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- Durum bantları ---------- */
.ld-band {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-2);
}
.ld-band-icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--surface-3);
  color: var(--text-2);
}
.ld-band-title {
  display: inline;
  font-size: 1.05rem;
  font-weight: 800;
  color: inherit;
  margin-right: 8px;
}
.ld-band-date {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.85;
}
.ld-band-text {
  margin: 4px 0 0;
  font-size: 0.92rem;
}
.ld-band-quote {
  margin: 8px 0 0;
  font-style: italic;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.ld-band-resolved {
  background: var(--resolved-soft);
  color: var(--resolved-ink);
  border-color: color-mix(in srgb, var(--resolved) 32%, transparent);
}
.ld-band-resolved .ld-band-icon {
  background: var(--resolved);
  color: var(--surface);
}
.ld-band-warning {
  background: var(--warning-soft);
  color: var(--warning-ink);
  border-color: color-mix(in srgb, var(--reward) 40%, transparent);
}
.ld-band-warning .ld-band-icon {
  background: color-mix(in srgb, var(--reward) 30%, transparent);
  color: var(--warning-ink);
}
.ld-band-removed {
  background: var(--lost-soft);
  color: var(--lost-ink);
  border-color: color-mix(in srgb, var(--lost) 28%, transparent);
}
.ld-band-removed .ld-band-icon {
  background: color-mix(in srgb, var(--lost) 18%, transparent);
  color: var(--lost-ink);
}

/* ---------- Ayrıntı kartı ---------- */
.ld-h2 {
  font-size: 1.15rem;
  margin: 0 0 14px;
}
/* "Nerede" tam satır; kısa bilgiler (tarih, kategori, marka, renk) mobilde ikişer, geniş kartta dörder yan yana */
.ld-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}
.ld-fact {
  flex: 1 1 132px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.ld-fact.is-wide {
  flex-basis: 100%;
}
.ld-fact dt {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.ld-fact dt .icon {
  width: 1.15em;
  height: 1.15em;
}
.ld-fact dd {
  margin: 0;
  font-weight: 650;
  color: var(--text);
  overflow-wrap: anywhere;
}
.ld-fact dd a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
}
.ld-fact dd a:hover {
  color: var(--brand);
  text-decoration-color: currentColor;
}
.ld-fact-line {
  display: block;
}
.ld-fact-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
}
.ld-desc-title {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.ld-desc {
  margin: 0 0 22px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.ld-meta {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 0.85rem;
  color: var(--text-3);
}
.ld-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ld-id {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.04em;
}
.ld-copy {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-xs);
  background: none;
  color: var(--text-3);
  cursor: pointer;
}
.ld-copy:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

/* ---------- Kenar çubuğu ---------- */
.ld-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 1.05rem;
}

/* Ödül kutusu */
.ld-reward {
  position: relative;
  overflow: hidden;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1.5px solid color-mix(in srgb, var(--reward) 55%, transparent);
  background: linear-gradient(140deg, var(--reward-soft), color-mix(in srgb, var(--reward-soft) 55%, var(--surface)));
  color: var(--reward-ink);
  box-shadow: 0 6px 22px color-mix(in srgb, var(--reward) 18%, transparent);
}
.ld-reward::after {
  content: '';
  position: absolute;
  right: -46px;
  top: -46px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--reward) 38%, transparent), transparent 70%);
  pointer-events: none;
}
.ld-reward-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ld-reward-head .icon {
  width: 22px;
  height: 22px;
  color: var(--reward);
}
.ld-reward-amount {
  display: inline-block;
  margin: 8px 0 2px;
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--reward-ink);
  /* altın fosforlu kalem vurgusu */
  background: linear-gradient(transparent 60%, color-mix(in srgb, var(--reward) 45%, transparent) 60%);
  padding: 0 4px;
  margin-left: -4px;
}
.ld-reward-note {
  position: relative;
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--text-2);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.ld-reward-safety {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--reward) 45%, transparent);
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.5;
}
.ld-reward-safety > .icon {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--lost);
}
.ld-reward-safety p {
  margin: 0;
}
.ld-reward-safety strong {
  color: var(--lost-ink);
}

/* İletişim kartı */
.ld-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ld-person-text {
  display: grid;
  line-height: 1.35;
  min-width: 0;
}
.ld-person-text strong {
  font-size: 1.02rem;
}
.ld-person-text span {
  font-size: 0.85rem;
  color: var(--text-3);
}
.ld-msg-form {
  display: grid;
  gap: 10px;
}
.ld-textarea-sm {
  min-height: 112px;
}
.ld-conv-note,
.ld-closed-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.45;
}
.ld-conv-note {
  background: var(--info-soft);
  color: var(--info-ink);
}
.ld-conv-note a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}
.ld-conv-note .icon,
.ld-closed-note .icon {
  flex: none;
  margin-top: 2px;
}
.ld-closed-note {
  background: var(--surface-2);
  color: var(--text-2);
}
.ld-phone {
  font-variant-numeric: tabular-nums;
  white-space: normal;
}
form.is-active .ld-fav,
.ld-fav[aria-pressed='true'] {
  background: var(--lost-soft);
  border-color: color-mix(in srgb, var(--lost) 35%, transparent);
  color: var(--lost-ink);
}

/* Doğrulama sorulu bulundu ilanı: sorular yazma sayfasında yanıtlanır */
.ld-verify {
  display: grid;
  gap: 10px;
}
.ld-verify-text {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--found-soft);
  color: var(--found-ink);
  font-size: 0.88rem;
  line-height: 1.45;
}
.ld-verify-text .icon {
  flex: none;
  margin-top: 2px;
}
.ld-btn-wrap {
  white-space: normal;
  text-wrap: balance;
}

/* Yönetim paneli */
.ld-owner-status {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-2);
}
.ld-admin-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--info-soft);
  color: var(--info-ink);
  font-size: 0.85rem;
  font-weight: 600;
}
.ld-admin-note a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ld-ostats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.ld-ostat {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 10px 6px;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  text-align: center;
}
a.ld-ostat:hover {
  text-decoration: none;
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.ld-ostat strong {
  font-size: 1.2rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.ld-ostat span {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-3);
}
.ld-q-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--brand-softer);
  border: 1px solid var(--brand-soft);
  color: var(--text-2);
  font-size: 0.85rem;
  line-height: 1.5;
}
.ld-q-note strong {
  color: var(--text);
}
.ld-q-note .icon {
  flex: none;
  margin-top: 3px;
  color: var(--brand);
}
.ld-q-note.is-empty {
  background: var(--surface-2);
  border-color: var(--border);
}
.ld-q-note a {
  font-weight: 700;
}
.ld-owner-privacy {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.ld-owner-privacy .icon {
  flex: none;
  margin-top: 2px;
}

/* Paylaşım kartı — düzen, ekran yerine kartın kendi genişliğine göre (ana sütun masaüstünde dardır) */
.ld-share {
  container-type: inline-size;
}
.ld-share-body {
  display: grid;
  gap: 16px;
}
.ld-share-main .help {
  margin: 4px 0 14px;
}
.ld-share .btn-group .btn {
  flex: 1 1 auto;
}
.ld-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 10px;
  align-content: center;
}
@container (min-width: 760px) {
  .ld-share-body {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 1fr);
    align-items: center;
    gap: 20px 24px;
  }
  .ld-tiles {
    grid-template-columns: minmax(0, 1fr);
  }
}
.ld-poster-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.ld-poster-link[hidden] {
  display: none;
}
.ld-poster-link:hover {
  text-decoration: none;
  border-color: var(--brand);
  background: var(--brand-softer);
}
.ld-poster-icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand);
}
.ld-poster-link strong {
  display: block;
  font-size: 0.95rem;
}
.ld-poster-link .grow > span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-2);
}
.ld-poster-link > .icon:last-child {
  color: var(--text-3);
}

/* Güvenlik kartı */
.ld-safety .ld-card-title .icon {
  color: var(--found);
}
.ld-safety .tip-list {
  margin: 14px 0 16px;
}
.ld-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}

/* Ücretsiz ilan çağrısı */
.ld-free {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--found) 26%, transparent);
  background: linear-gradient(150deg, var(--found-soft), color-mix(in srgb, var(--found-soft) 35%, var(--surface)));
}
.ld-free-icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--found);
  box-shadow: var(--shadow-xs);
}
.ld-free-icon .icon {
  width: 22px;
  height: 22px;
}
.ld-free-text {
  min-width: 0;
}
.ld-free-text p {
  margin: 6px 0 12px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-2);
}
.ld-free-text strong {
  color: var(--found-ink);
}
.ld-free-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

/* Bildir */
.ld-report {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  padding: 0 4px;
  font-size: 0.88rem;
  color: var(--text-3);
}
.ld-report-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  font-weight: 700;
}
.ld-report-link:hover {
  color: var(--danger);
}
.ld-report-done {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--found-ink);
  font-weight: 600;
}

/* JS'siz yedek: sunucuda açık çizilen (modal olmayan) diyalog ortalanır ve arka planı karartır */
dialog.modal[open]:not(:modal) {
  position: fixed;
  inset: 0;
  z-index: 70;
  margin: auto;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  box-shadow: 0 0 0 100vmax var(--overlay), var(--shadow-lg);
}

/* ---------- Ürkek hayvan uyarısı ---------- */
.ld-urkek {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--warning-soft);
  color: var(--warning-ink);
  border: 1.5px solid color-mix(in srgb, var(--reward) 60%, transparent);
}
.ld-urkek-icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--reward) 32%, transparent);
  color: var(--warning-ink);
}
.ld-urkek-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}
.ld-urkek-text {
  margin: 4px 0 0;
  font-size: 0.92rem;
}

/* ---------- Eşya / hayvan şu an nerede? ---------- */
.ld-where-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
}
.ld-where-chip.is-official {
  background: var(--found-soft);
  border-color: color-mix(in srgb, var(--found) 30%, transparent);
  color: var(--found-ink);
}
.ld-where-chip .icon {
  width: 1.05em;
  height: 1.05em;
}
.ld-where {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.ld-where.is-official {
  border-color: color-mix(in srgb, var(--found) 35%, transparent);
  background: linear-gradient(150deg, var(--found-soft), color-mix(in srgb, var(--found-soft) 30%, var(--surface)));
}
.ld-where-icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text-2);
}
.ld-where.is-official .ld-where-icon {
  background: var(--found);
  color: var(--surface);
}
.ld-where-icon .icon {
  width: 24px;
  height: 24px;
}
.ld-where-text {
  min-width: 0;
}
.ld-where-kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.ld-where-title {
  margin: 2px 0 0;
  font-size: 1.15rem;
  line-height: 1.3;
}
.ld-where-note {
  margin: 4px 0 0;
  font-weight: 600;
  color: var(--text-2);
  overflow-wrap: anywhere;
}
.ld-where-pay {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin: 10px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--found-ink);
}
.ld-where-pay.is-plain {
  font-weight: 500;
  color: var(--text-2);
}
.ld-where-pay .icon {
  flex: none;
  margin-top: 3px;
}

/* ---------- Evcil hayvan ayrıntıları ---------- */
.ld-h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 0.98rem;
}
.ld-h3 .icon {
  color: var(--brand);
}
.ld-pet {
  margin: 0 0 24px;
}
.ld-pet-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.ld-pet-fact {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  background: var(--brand-softer);
  border: 1px solid var(--brand-soft);
  font-size: 0.9rem;
}
.ld-pet-fact dt {
  color: var(--text-3);
  font-weight: 600;
}
.ld-pet-fact dt::after {
  content: ':';
}
.ld-pet-fact dd {
  margin: 0;
  font-weight: 750;
  color: var(--text);
}
.ld-pet-care {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--info-soft);
  color: var(--info-ink);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.ld-pet-care .icon {
  flex: none;
  margin-top: 3px;
}

/* ---------- "Şimdi ne yapmalısınız?" kontrol listesi ---------- */
.ld-checklist {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.ld-checklist.is-new {
  border: 1.5px solid color-mix(in srgb, var(--found) 45%, transparent);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--found) 14%, transparent);
  background: linear-gradient(170deg, var(--found-soft), var(--surface) 38%);
}
.ld-new-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--found);
  color: var(--surface);
  font-size: 0.8rem;
  font-weight: 800;
}
.ld-checklist .ld-card-title .icon {
  color: var(--found);
}
.ld-checklist-help {
  margin: 6px 0 16px;
}
.ld-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.ld-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ld-step-num {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 0.85rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ld-step-body {
  min-width: 0;
}
.ld-step-body p {
  margin: 2px 0 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text);
}
.ld-step-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.88rem;
  font-weight: 700;
}
.ld-checklist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ---------- İlgili rehber ---------- */
.ld-guide {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.15s, background-color 0.15s;
}
.ld-guide:hover {
  text-decoration: none;
  border-color: var(--brand);
  background: var(--brand-softer);
}
.ld-guide-icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand);
}
.ld-guide .grow {
  min-width: 0;
}
.ld-guide-kicker {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.ld-guide strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.35;
}
.ld-guide > .icon:last-child {
  flex: none;
  color: var(--text-3);
}

/* ---------- Paylaşım görseli diyaloğu ---------- */
dialog.modal.ld-si {
  width: min(760px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
}
.ld-si-body {
  display: grid;
  gap: 16px;
}
.ld-si-formats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.ld-si-format {
  position: relative;
  display: block;
  cursor: pointer;
}
.ld-si-format input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.ld-si-format > span {
  display: grid;
  gap: 2px;
  height: 100%;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 0.82rem;
  color: var(--text-3);
  transition: border-color 0.15s, background-color 0.15s;
}
.ld-si-format strong {
  font-size: 0.95rem;
  color: var(--text);
}
.ld-si-format input:checked + span {
  border-color: var(--brand);
  background: var(--brand-softer);
}
.ld-si-format input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.ld-si-preview {
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface-2);
  min-height: 200px;
}
.ld-si-canvas {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(56dvh, 520px);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.ld-si-note {
  margin: 0;
}
.ld-si-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ld-si-actions .btn {
  flex: 1 1 180px;
}
.ld-si-actions .btn[hidden] {
  display: none;
}

/* ---------- Eşleşmeler & benzer ilanlar ---------- */
.ld-related {
  margin-top: clamp(32px, 5vw, 56px);
}

/* ---------- Mobil iletişim çubuğu ---------- */
.ld-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px color-mix(in srgb, var(--text) 8%, transparent);
}
.ld-mcta-reward {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: var(--radius-full);
  background: var(--reward-soft);
  color: var(--reward-ink);
  font-weight: 800;
  font-size: 0.92rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ld-mcta-reward .icon {
  color: var(--reward);
}
@media (min-width: 960px) {
  .ld-mobile-cta {
    display: none;
  }
}
@media (max-width: 959px) {
  body.has-mobile-cta {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }
  body.has-mobile-cta .toast-region {
    bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

/* ---------- Kaldırılmış ilan ---------- */
.ld-gone h1 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.ld-gone-actions {
  justify-content: center;
}

/* ---------- Yazdırma (sayfanın kendisi) ---------- */
@media print {
  .ld-mobile-cta,
  .ld-checklist,
  .ld-guide,
  .ld-si,
  .ld-zoom,
  .ld-thumbs,
  .ld-share,
  .ld-report,
  .ld-related,
  .ld-safety,
  .ld-free,
  .ld-owner-panel,
  .ld-msg-form,
  .ld-copy {
    display: none !important;
  }
  .ld-aside-inner {
    position: static;
    max-height: none;
    overflow: visible;
  }
}
