/* GGMES TEZGAH 3 SÜTUNLU ETKİLEŞİMLİ AĞAÇ VE HARİTA STİLLERİ (v1.0)
   İlham: tezgah.png (Klasör Ağacı) ve tezgah1.png (Harita/Düğüm Bağlamı) */

.tezgah-3sutun-kapsayici {
  background: #090d16;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 20px;
  margin: 24px 0;
  color: #f1f5f9;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Üst Kontrol ve Bilgi Çubuğu */
.t3s-ust-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 16px;
}

.t3s-baslik-grup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t3s-baslik {
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.t3s-rozet {
  background: #0284c7;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.t3s-rozet-canli {
  background: #166534;
  color: #4ade80;
  border: 1px solid #22c55e;
}

.t3s-kontrol-butonlar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.t3s-btn {
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid #334155;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.t3s-btn:hover {
  background: #334155;
  color: #f8fafc;
  border-color: #475569;
}

.t3s-btn.aktif {
  background: #eab308;
  color: #000;
  border-color: #facc15;
  font-weight: 700;
}

.t3s-gorunum-toggle {
  display: flex;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  overflow: hidden;
}

.t3s-gorunum-toggle button {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.t3s-gorunum-toggle button.secili {
  background: #38bdf8;
  color: #0f172a;
}

/* 3 Sütunlu Izgara */
.t3s-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1024px) {
  .t3s-grid {
    grid-template-columns: 1fr;
  }
}

/* Sütun Kutusu */
.t3s-sutun {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  height: 520px;
  overflow: hidden;
}

.t3s-sutun-baslik {
  padding: 12px 14px;
  border-bottom: 1px solid #1e293b;
  background: #131d31;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.t3s-sutun-baslik h3 {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.t3s-sutun-alt {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.t3s-arama-kutu {
  padding: 8px 12px;
  border-bottom: 1px solid #1e293b;
  background: #0b1120;
  display: flex;
  gap: 6px;
}

.t3s-arama-input {
  flex: 1;
  background: #1e293b;
  border: 1px solid #334155;
  color: #f1f5f9;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 4px;
  outline: none;
}

.t3s-arama-input:focus {
  border-color: #38bdf8;
}

.t3s-icerik {
  flex: 1;
  overflow-y: auto;
  padding: 10px 12px;
  position: relative;
}

/* Klasör Ağacı Görünümü (tezgah.png) */
.t3s-agac-liste {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  font-family: monospace;
}

.t3s-agac-item {
  margin: 3px 0;
  line-height: 1.5;
}

.t3s-agac-item.seviye-1 { padding-left: 12px; border-left: 1px dashed #334155; }
.t3s-agac-item.seviye-2 { padding-left: 24px; border-left: 1px dashed #334155; }
.t3s-agac-item.seviye-3 { padding-left: 36px; border-left: 1px dashed #334155; }

.t3s-dugum {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.1s ease;
  color: #cbd5e1;
}

.t3s-dugum:hover {
  background: #1e293b;
  color: #f8fafc;
}

.t3s-dugum.aktif {
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid #eab308;
  color: #fef08a;
  font-weight: 600;
}

.t3s-icon {
  font-size: 13px;
  opacity: 0.8;
}

.t3s-seq {
  color: #facc15;
  font-weight: 700;
}

.t3s-yazar {
  color: #38bdf8;
  font-size: 11px;
}

.t3s-eylemler {
  margin-left: auto;
  display: flex;
  gap: 4px;
}

.t3s-eylem-btn {
  background: transparent;
  border: 1px solid #334155;
  color: #94a3b8;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  cursor: pointer;
}

.t3s-eylem-btn:hover {
  background: #334155;
  color: #f8fafc;
}

.t3s-eylem-btn.like:hover {
  background: #e11d48;
  color: #fff;
  border-color: #f43f5e;
}

/* Harita / Düğüm Bağlamı Görünümü (tezgah1.png) */
.t3s-harita-alani {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: auto;
  background: #070c14;
  border-radius: 4px;
}

.t3s-harita-svg {
  min-width: 100%;
  min-height: 100%;
  display: block;
}

.t3s-harita-cizgi {
  fill: none;
  stroke: #334155;
  stroke-width: 1.5;
  transition: stroke 0.2s ease;
}

.t3s-harita-cizgi.aktif {
  stroke: #eab308;
  stroke-width: 2.5;
}

.t3s-harita-kutu {
  cursor: pointer;
}

.t3s-harita-kutu rect {
  fill: #1e293b;
  stroke: #475569;
  stroke-width: 1.5;
  rx: 6;
  transition: all 0.15s ease;
}

.t3s-harita-kutu:hover rect {
  fill: #334155;
  stroke: #38bdf8;
}

.t3s-harita-kutu.aktif rect {
  fill: #1e293b;
  stroke: #eab308;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 6px rgba(234, 179, 8, 0.4));
}

.t3s-harita-kutu text {
  fill: #f1f5f9;
  font-size: 11px;
  font-family: monospace;
  pointer-events: none;
}

.t3s-harita-kutu text.alt {
  fill: #94a3b8;
  font-size: 9px;
}

/* Sütun Alt Araç Çubuğu */
.t3s-sutun-alt-bar {
  padding: 8px 12px;
  background: #0b1120;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #64748b;
}

.t3s-alt-linkler {
  display: flex;
  gap: 8px;
}

.t3s-alt-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.t3s-alt-link:hover {
  color: #38bdf8;
}

/* Senaryo ve Bağlam Bilgi Kartı */
.t3s-senaryo-paneli {
  margin-top: 16px;
  padding: 14px;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-left: 4px solid #eab308;
  border-radius: 6px;
  font-size: 12px;
  color: #cbd5e1;
}

.t3s-senaryo-paneli strong {
  color: #facc15;
}

/* cl3 12 Eki — İLK BOYA (Kaptan: "F5'te arkada başka sayfalar açılıyor, sonra mevcut sayfa doğuyor"). Araştırma: kritik stil <head>'de render'ı bloklayan CSS olmalı (web.dev, Shopify). Bu dosya <head>'de yüklendiği için kural İLK BOYADAN ÖNCE uygulanır: kabuk kurulana dek kabuk dışındaki üst düzey bölümler görünmez; kabuk ilk taşımada html.t3-acik ekler. Yedek: 4 sn sonra her şey görünür. Metin/veri değişmez. ?tunel=0'da kabuk html.t3-acik'i hemen ekler. */
html:not(.t3-acik) body>*:not(#t3-kabuk):not(script):not(style){visibility:hidden;animation:t3goster 0s linear 4s forwards}
@keyframes t3goster{to{visibility:visible}}
