/* KAPORA · Sahne — 3B sahnenin DOM katmanı (etiketler, perde). Arayüz gerekirse ezer. */
@font-face { font-family: "Schibsted Grotesk"; src: url("../../vendor/fonts/schibsted-grotesk-v2-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../../vendor/fonts/schibsted-grotesk-var-latin-ext.woff2") format("woff2"); font-weight: 400 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20B9, U+20BB-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; src: url("../../vendor/fonts/archivo-var-latin-ext.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+20BA; }

.sh-katman {
  --sh-mavi: #2563eb; --sh-mavi-metin: #60a5fa; --sh-yesil: #22c55e; --sh-sari: #f59e0b; --sh-kirmizi: #ef4444; --sh-gri: #94a3b8;
  --sh-zemin: #0b1220; --sh-cam: rgba(11, 18, 32, 0.74);
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  font-family: "Schibsted Grotesk", "Archivo", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  user-select: none; -webkit-user-select: none;
}
.sh-etiketler { position: absolute; inset: 0; }
/* itilen etiketin iğnesine bağ çizgisi */
.sh-baglar { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.sh-baglar line { stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.25; filter: drop-shadow(0 0 1.5px rgba(11, 18, 32, 0.9)); }
.sh-baglar circle { fill: #fff; stroke: rgba(11, 18, 32, 0.6); stroke-width: 1; }
.sh-katman.sh-pazarlik .sh-baglar { display: none; }
.sh-etiket {
  position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; will-change: transform;
  transition: opacity 0.28s ease; pointer-events: none; line-height: 1.15;
}
.sh-etiket.gorunur { opacity: 1; }
.sh-etiket.tiklanir.gorunur { pointer-events: auto; cursor: pointer; }

/* yer adları */
.sh-etiket.yerlesim { color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 0.01em; padding-bottom: 6px;
  text-shadow: 0 1px 2px rgba(11, 18, 32, 0.9), 0 0 10px rgba(11, 18, 32, 0.65); }
.sh-etiket.yerlesim::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 2px rgba(11, 18, 32, 0.55); }
.sh-etiket.yerlesim.merkez { font-size: 19px; font-weight: 800; letter-spacing: 0.02em; }
.sh-etiket.yerlesim.koy { font-size: 12px; font-weight: 600; opacity: 0; }
.sh-etiket.yerlesim.koy.gorunur { opacity: 0.92; }
/* mahalle (semt) adları: köyden bir kademe küçük ve soluk, yalnız yakında; nokta içi boş */
.sh-etiket.yerlesim.semt { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: #dce7f8; padding-bottom: 5px; opacity: 0; }
.sh-etiket.yerlesim.semt.gorunur { opacity: 0.8; }
.sh-etiket.yerlesim.semt::after { width: 4px; height: 4px; margin-left: -2px; background: transparent; box-shadow: 0 0 0 1.5px rgba(231, 238, 252, 0.85); }
.sh-etiket.yerlesim.semt.yer.uzerinde, .sh-etiket.yerlesim.semt.yer.secili { opacity: 1; }

/* özel noktalar */
.sh-etiket.ozel { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 600;
  color: #e7eefc; background: var(--sh-cam); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sh-etiket.ozel::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: #cbd5e1; flex: none; }
.sh-etiket.ozel.kavsak::before, .sh-etiket.ozel.cevre_yolu::before { background: #f4d35e; }
.sh-etiket.ozel.osb::before { background: #7f9db5; }
.sh-etiket.ozel.sit::before { background: #e8d9b0; }
.sh-etiket.ozel.liman::before { background: #38bdf8; }
.sh-etiket.ozel.plan::before { background: #f6b248; }
.sh-etiket.ozel.kampus::before { background: #a3e635; }
.sh-etiket.ozel.trafo::before { background: #cbd5e1; }
.sh-etiket.ozel .durum { font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; padding: 1px 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); }
.sh-etiket.ozel.insaat .durum { background: #f07a1e; color: #fff; }
.sh-etiket.ozel.planli .durum { background: rgba(96, 165, 250, 0.3); color: #dbeafe; }
.sh-etiket.ozel.soylenti { color: rgba(231, 238, 252, 0.72); border-style: dashed; }
.sh-etiket.ozel.soylenti i { font-style: normal; color: #ffd36b; font-weight: 700; }

/* parsel işaretleri */
.sh-etiket.sh-isaret { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 10px; font-size: 12px; font-weight: 600;
  color: #0b1220; background: #fff; box-shadow: 0 4px 14px rgba(11, 18, 32, 0.35), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  transition: opacity 0.28s ease, box-shadow 0.2s ease; margin-bottom: 7px; }
.sh-etiket.sh-isaret::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: #fff; }
.sh-etiket.sh-isaret.itildi::after { display: none; }
.sh-etiket.sh-isaret .nokta { width: 9px; height: 9px; border-radius: 50%; background: var(--sh-mavi); flex: none; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
.sh-etiket.sh-isaret .durum { color: #475569; font-weight: 600; }
.sh-etiket.sh-isaret b { font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
.sh-etiket.sh-isaret.kaporali .nokta { background: var(--sh-sari); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2); }
.sh-etiket.sh-isaret.benim .nokta { background: var(--sh-yesil); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.sh-etiket.sh-isaret.benim { box-shadow: 0 0 0 2px var(--sh-yesil), 0 4px 14px rgba(11, 18, 32, 0.35); }
.sh-etiket.sh-isaret.satista .nokta { background: #14b8a6; box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2); }
.sh-etiket.sh-isaret.satildi { background: rgba(226, 232, 240, 0.82); color: #475569; }
.sh-etiket.sh-isaret.satildi::after { border-top-color: rgba(226, 232, 240, 0.82); }
.sh-etiket.sh-isaret.satildi .nokta { background: var(--sh-gri); box-shadow: none; }
.sh-etiket.sh-isaret.satildi b { text-decoration: line-through; font-weight: 700; }
.sh-etiket.sh-isaret.uzerinde { box-shadow: 0 0 0 2px var(--sh-mavi), 0 8px 22px rgba(11, 18, 32, 0.45); }

/* parsel maketi etiketleri */
.sh-etiket.pm { color: #fff; font-weight: 700; font-size: 13px; padding: 4px 9px; border-radius: 8px; background: var(--sh-cam);
  border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sh-etiket.pm small { display: block; font-weight: 500; font-size: 11px; color: #b8c4d9; margin-top: 1px; }
.sh-etiket.pm.alan { font-size: 15px; font-weight: 800; background: rgba(255, 255, 255, 0.94); color: #0b1220; border: 0; }
.sh-etiket.pm.alan small { color: #475569; }
.sh-etiket.pm.iyi { border-color: rgba(34, 197, 94, 0.7); }
.sh-etiket.pm.iyi::before, .sh-etiket.pm.kotu::before, .sh-etiket.pm.uyari::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.sh-etiket.pm.iyi::before { background: var(--sh-yesil); }
.sh-etiket.pm.kotu { border-color: rgba(239, 68, 68, 0.75); }
.sh-etiket.pm.kotu::before { background: var(--sh-kirmizi); }
.sh-etiket.pm.uyari { border-color: rgba(245, 158, 11, 0.75); }
.sh-etiket.pm.uyari::before { background: var(--sh-sari); }
.sh-etiket.pm.emsal { background: #fff; color: #0b1220; border: 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.sh-etiket.pm.emsal small { color: #64748b; }
.sh-etiket.pm.ozet { font-size: 12px; }
.sh-etiket.pm.soru { width: 26px; height: 26px; padding: 0; display: grid; place-items: center; border-radius: 50%; font-size: 15px; font-weight: 800;
  color: #ffd36b; border: 1.5px dashed rgba(255, 211, 107, 0.6); background: rgba(11, 18, 32, 0.55); }

/* geçiş perdesi */
.sh-perde { position: absolute; inset: 0; background: radial-gradient(circle at 50% 42%, #16243d, #0b1220 70%); opacity: 0; pointer-events: none; }

@media (max-width: 520px) {
  .sh-etiket.yerlesim { font-size: 12px; }
  .sh-etiket.yerlesim.merkez { font-size: 16px; }
  .sh-etiket.yerlesim.semt { font-size: 11px; }
  .sh-etiket.sh-isaret { font-size: 11px; padding: 4px 8px 4px 7px; }
  .sh-etiket.sh-isaret .durum { display: none; }
  .sh-etiket.ozel { font-size: 11px; }
  .sh-etiket.pm { font-size: 11px; padding: 3px 7px; }
  .sh-etiket.pm small { font-size: 10px; }
  .sh-etiket.pm.alan { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .sh-etiket, .sh-perde { transition-duration: 0.01ms !important; } }

/* konumsuz olay darbesi (faiz, kur…) */
.sh-darbe { position: absolute; inset: 0; opacity: 0; pointer-events: none; }

/* pazarlık kamerasında parsel etiketleri susar (karakterin yüzünü örtmesin) */
.sh-katman.sh-pazarlik .sh-etiket.pm { opacity: 0 !important; pointer-events: none !important; }

/* harita gibi gezinme: işaret etiketlerinin üstünden başlayan dokunma da haritayı kaydırır (sayfa kaymaz/yakınlaşmaz) */
.sh-etiket.tiklanir { touch-action: none; }

/* sezon sonu gösterisi ton kaplaması (efekt "final") */
.sh-final { position: absolute; inset: 0; opacity: 0; pointer-events: none; }

/* parsel dışı yerler: yer adı ve özel nokta etiketleri tıklanır (.yer.tiklanir); üzerine gelince / kart açıkken hafif tepki */
.sh-katman.sh-yer-kapali .sh-etiket.yer.tiklanir { pointer-events: none !important; cursor: default; }
.sh-etiket.yerlesim.yer span { display: inline-block; padding: 1px 5px; margin: 0 -5px; border-radius: 6px; transition: background 0.16s ease, box-shadow 0.16s ease; }
.sh-etiket.yerlesim.yer.uzerinde span { background: rgba(11, 18, 32, 0.55); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.32); }
.sh-etiket.yerlesim.yer.secili span { background: rgba(11, 18, 32, 0.66); box-shadow: 0 0 0 1.5px var(--sh-mavi-metin); }
.sh-etiket.yerlesim.yer.uzerinde::after, .sh-etiket.yerlesim.yer.secili::after { box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.55); }
.sh-etiket.yerlesim.koy.yer.uzerinde, .sh-etiket.yerlesim.koy.yer.secili { opacity: 1; }
.sh-etiket.ozel.yer { transition: opacity 0.28s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease; }
.sh-etiket.ozel.yer.uzerinde { border-color: rgba(255, 255, 255, 0.42); background: rgba(11, 18, 32, 0.9); }
.sh-etiket.ozel.yer.secili { border-color: var(--sh-mavi-metin); box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.3); background: rgba(11, 18, 32, 0.9); }
.sh-etiket.ozel.soylenti.yer.secili, .sh-etiket.ozel.soylenti.yer.uzerinde { border-style: dashed; }

/* ── ipucu işaret etiketi (incelendi / doğrulandı / yanıltıcı) ── */
.sh-etiket.pm.ipucu-isaret { font-size: 12px; font-weight: 700; padding: 3px 8px; }
.sh-etiket.pm.ipucu-isaret.incelendi { border-color: rgba(96, 165, 250, 0.75); }
.sh-etiket.pm.ipucu-isaret.dogrulandi { border-color: rgba(34, 197, 94, 0.8); }
.sh-etiket.pm.ipucu-isaret.yaniltici { border-color: rgba(245, 158, 11, 0.85); }

/* ── dünya (Türkiye haritası): harita maketlerinin adları ── */
.sh-etiket.dunya { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 12px 7px; border-radius: 12px; color: #fff;
  background: var(--sh-cam); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-align: center; }
.sh-etiket.dunya b { font-size: 16px; font-weight: 800; letter-spacing: 0.01em; }
.sh-etiket.dunya small { font-size: 11.5px; font-weight: 500; color: #b8c4d9; }
.sh-etiket.dunya i { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 3px; padding: 2px 8px; border-radius: 999px; }
.sh-etiket.dunya i.kilit { color: #1f1606; background: #fbbf24; }
.sh-etiket.dunya i.yakinda { color: #0b1220; background: #e7eefc; }
.sh-etiket.dunya i.acildi { color: #052e16; background: #4ade80; }
.sh-etiket.dunya.acik { border-color: rgba(96, 165, 250, 0.55); }
.sh-etiket.dunya.kilitli b { font-size: 18px; }
.sh-etiket.dunya.ufukta { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; opacity: 0; }
.sh-etiket.dunya.ufukta.gorunur { opacity: 0.6; }
.sh-etiket.dunya.ufukta b { font-size: 13px; color: #c7d3e6; text-shadow: 0 1px 3px rgba(11, 18, 32, 0.9); }
.sh-etiket.dunya.ufukta small { text-shadow: 0 1px 3px rgba(11, 18, 32, 0.9); }
.sh-etiket.dunya.uzerinde, .sh-etiket.dunya.secili { border-color: rgba(255, 255, 255, 0.6); }
@media (max-width: 600px) { .sh-etiket.dunya { padding: 4px 9px 5px; } .sh-etiket.dunya b { font-size: 14px; } .sh-etiket.dunya small { font-size: 10.5px; } }
