:root {
  --bg: #0a0e1a;
  --surface: #111827;
  --surface2: #1a2236;
  --border: #1e2d47;
  --border-b: #2a4070;
  --text: #e2e8f0;
  --dim: #94a3b8;
  --muted: #8696ad;
  --up: #22c55e;
  --dn: #ef4444; 
  --accent: #2c3444; 
  --header-bg: rgba(10, 14, 26, 0.97);
  --fade-start: rgba(10, 14, 26, 0.98);
  --fade-end: rgba(10, 14, 26, 0);
  --ticker-bg: #060911;
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'IBM Plex Sans', sans-serif;
  --classy: 'Plus Jakarta Sans', sans-serif;
  --title-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --beta-bg: #1f2937;
  --beta-text: #9ca3af;
  --beta-border: #4b5563;
  --map-fill: #334155;
  --map-stroke: #0f172a;
}

[data-theme="light"] {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface2: #f1f5f9;
  --border: #e2e8f0;
  --border-b: #cbd5e1;
  --text: #0f172a;
  --dim: #475569;
  --muted: #64748b;
  --up: #16a34a;
  --dn: #dc2626;
  --accent: #334155;
  --header-bg: rgba(255, 255, 255, 0.97);
  --fade-start: rgba(255, 255, 255, 0.98);
  --fade-end: rgba(255, 255, 255, 0);
  --ticker-bg: #f1f5f9;
  --beta-bg: #e2e8f0;
  --beta-text: #475569;
  --beta-border: #cbd5e1;
  --map-fill: #7fafc9;
  --map-stroke: #e0eef7;
}
[data-theme="light"] .map-container {
  background: linear-gradient(160deg, #f9fafb 0%, #ffffff 100%);
}
[data-theme="light"] .map-gradient-bg {
  background: linear-gradient(160deg, #f9fafb 0%, #ffffff 100%);
}
[data-theme="light"] .jvm-tooltip {
  background: rgba(255,255,255,0.97);
  border-color: #10b981;
  color: #059669;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
[data-theme="light"] .jvm-zoom-btn {
  background: rgba(255,255,255,0.85) !important;
  color: #059669 !important;
  border-color: rgba(16,185,129,0.35) !important;
}
[data-theme="light"] .map-hint { color: #64748b; }

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{background:var(--bg);color:var(--text);font-family:var(--sans);min-height:100vh;overflow-x:hidden;transition: background 0.3s, color 0.3s; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}

header{position:sticky;top:0;z-index:200;background:var(--header-bg);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--border-b);display:flex;align-items:center;padding:0 28px;height:66px;gap:18px}
[data-theme="dark"] header{background:linear-gradient(180deg,#0c1528 0%,#090d1a 100%)}
[data-theme="light"] header{background:linear-gradient(180deg,#eaecef 0%,#fafafa 100%)}
header > div:first-child { flex-shrink: 0; }
@media (min-width: 1025px) {
  header .rss-search-box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: min(440px, calc(100vw - 720px)); /* logoya çarpmadan responsive geniş */
    max-width: none;
  }
}
header .header-right { flex-shrink: 0; margin-left: auto; }
.logo{font-family:var(--classy);font-size:1.2rem;letter-spacing:.04em;display:flex;align-items:center;gap:10px;position:relative}
.logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #059669 0%, #047857 55%, #065f46 100%);
  color: #fff;
  font-size: 1.3rem;
  font-family: var(--mono);
  font-weight: 800;
  -webkit-text-stroke: 0.6px currentColor;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}
.logo span{color:#fff;font-weight:800} 
.logo em{color:#10b981;font-style:normal;font-weight:800;margin-left:-6px}
[data-theme="light"] .logo span{color:#111827}

.header-right {display: flex; align-items: center; gap: 8px;}
#clock{display:flex;align-items:center;font-family:'Outfit',sans-serif;font-size:.9rem;font-weight:400;color:var(--text);opacity:0.65;flex-shrink:0;letter-spacing:0.02em;font-variant-numeric:tabular-nums;}

.theme-toggle {
  background: none;
  border: 1px solid var(--border-b);
  color: var(--text);
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.theme-toggle:hover { background: var(--surface2); }

/* Header sağ buton grubu — tek çerçeve, aralarında ayraç (segmented control) */
.hr-group {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--border-b);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(0,0,0,0.06) 100%), var(--surface);
  flex-shrink: 0;
}
.hr-group > button {
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  margin: 0 !important;
  padding: 6px 11px !important;
  color: var(--text);
  cursor: pointer;
  transition: background 0.18s ease;
  /* display ayarı butonun kendi kuralından gelir (mobil-arama masaüstünde display:none kalsın) */
}
.hr-group > button:hover { background: var(--surface2) !important; }
/* saat: grubun ilk elemanı (ayraçsız) — yatay iç boşluk
   (display:flex tanımı base #clock'ta; böylece telefondaki display:none geçerli kalır) */
.hr-group > #clock {
  padding: 0 13px;
}
/* refresh ve tema her zaman bir önceki elemandan ayraçla ayrılır */
.hr-group > #refreshBtn,
.hr-group > #themeToggle { border-left: 1px solid var(--border-b) !important; }
/* arama ↔ refresh ayracı: yalnız saatin de görünür olduğu aralıkta
   (telefon ≤700px'te saat gizli → arama ilk görünen eleman, ayraçsız kalmalı) */
@media (min-width: 701px) and (max-width: 1024px) {
  .hr-group > #rss-mobile-toggle { border-left: 1px solid var(--border-b) !important; }
}

/* Sticky kapsayıcı kendi GPU katmanında: mobilde kaydırırken compositor sticky'yi
   ve akan şeridi birlikte taşır → main-thread repaint çakışmasından doğan titreme biter */
.ticker-wrap{position:sticky;top:66px;z-index:190;width:100%;overflow:hidden;transform:translateZ(0);-webkit-transform:translateZ(0);}
.mkt-ticker{height:38px;background:var(--ticker-bg);border-bottom:1px solid var(--border);overflow:hidden;width:100%;contain:layout;transform:translateZ(0);}
.ticker-track, .news-track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.ticker-track {
  /* Hareket JS rAF ile sürülüyor (mobilde "başa sarma" / takılma sorununu önler) */
  animation: none;
  height: 100%;
}
.ticker-item {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums; /* eşit genişlikli rakamlar → değişimde kutu oynamaz */
  font-size: .8rem;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  height: 100%;
  gap: 6px;
  color: var(--dim);
  border-right: 1px solid var(--border);
}
.ticker-item .sym{color:var(--text);font-weight:600}
.ticker-item .val{display:inline-flex;align-items:center;gap:6px}
.ticker-item .unit{font-size:.65rem;opacity:.7}
/* Fiyat rakamı nötr renkte; yön bilgisi ok ve yüzde ile gösterilir (tik renklendirmesi yok) */
.ticker-item .px{color:var(--text)}
.up{color:var(--up)}.dn{color:var(--dn)}

.news-ticker {
  height: 36px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-b);
  overflow: hidden;
  position: relative;
  padding-left: 125px;
  width:100%;
  contain: layout paint;
  transform: translateZ(0);
}
.news-badge {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #dc2626;
  color: #fff;
  font-family: var(--classy);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  z-index: 10;
}
.blink-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  margin-right: 6px;
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.news-track {
  height: 100%;
  -webkit-animation: scroll-l 280s linear infinite;
  animation: scroll-l 280s linear infinite;
}
.news-item {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  height: 100%;
  font-family: var(--classy);
  font-weight: 500;
  font-size: .88rem;
  color: var(--text);
  padding: 0 25px;
  position: relative;
  text-decoration: none;
  transition: color 0.2s;
}
.news-item:hover { color: #10b981; }
.news-item::after { 
  content: "·"; 
  position: absolute; 
  right: 0; 
  transform: translateX(50%); 
  color: #10b981; 
  font-size: 1.5rem; 
  font-family: var(--sans);
  pointer-events: none;
}

.refresh-btn {
  display: flex;
  align-items: center;
  gap: 0 !important;
  padding: 5px 8px !important;
  background: none !important;
  border: 1px solid var(--border-b) !important;
  border-radius: 6px !important;
  color: var(--text) !important;
  cursor: pointer;
  transition: all 0.2s;
}
.refresh-btn:hover {
  background: var(--surface2) !important;
}
.refresh-btn span { display: none; }
.refresh-btn.spinning svg {
  animation: spin 0.7s linear infinite;
}

/* HARİTA KONTEYNER VE STİLLERİ */
.map-container {
  background: linear-gradient(135deg, #0c1631 0%, #060b19 100%);
  margin: 0;
  border-radius: 0;
  border: none;
  border-bottom: none;
  padding: 0;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.map-desktop-height {
  height: 420px; 
  min-height: 420px;
  flex: none;
}
#world-map {
  width: 100%;
  height: 100%; 
  min-height: 239px;
  flex: 1;
}
.jvm-region {
  stroke: var(--map-stroke) !important;
  stroke-width: 0.4px;
  transition: filter 0.2s ease;
  cursor: pointer;
}
.jvm-region:hover {
  filter: brightness(1.12) saturate(1.25);
}
.jvm-region.sel {
  stroke: #ffffff !important;
  stroke-width: 1.1px !important;
  filter: brightness(1.18) drop-shadow(0 0 5px rgba(255,255,255,0.55));
}
[data-theme="light"] .jvm-region.sel {
  stroke: #0f172a !important;
  filter: brightness(0.96) drop-shadow(0 0 4px rgba(15,23,42,0.4));
}
.jvm-tooltip {
  background: rgba(6,13,26,0.95);
  border: 1px solid #10b981;
  color: #10b981;
  font-family: var(--classy);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 4px 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.map-hint {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--classy);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  pointer-events: none;
  z-index: 5;
  text-transform: uppercase;
}

.map-gradient-bg {
  background: linear-gradient(160deg, #080e1c 0%, #0d1a30 50%, #080e1c 100%);
}
[data-theme="light"] .map-gradient-bg {
  background: linear-gradient(160deg, #e8f0fe 0%, #dbeafe 50%, #eff6ff 100%);
}

/* ZOOM BUTONLARI */
/* Zoom kontrolleri — bağlı dikey grup, sakin hover (yalnız renk değişir) */
.jvm-zoom-btn {
  background: rgba(13,20,33,0.84) !important;
  color: var(--text) !important;
  border: 1px solid rgba(148,163,184,0.26) !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.15rem !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease !important;
  transform: none !important;
  padding: 0 !important;
  z-index: 7 !important;
  left: 12px !important;
}
.jvm-zoom-btn:hover {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
  transform: none !important;
}
.jvm-zoom-btn.jvm-zoomin {
  top: auto !important;
  bottom: 41px !important;
  border-radius: 9px 9px 0 0 !important;
  border-bottom: none !important;
}
.jvm-zoom-btn.jvm-zoomout {
  top: auto !important;
  bottom: 12px !important;
  border-radius: 0 0 9px 9px !important;
}

[data-theme="light"] .jvm-tooltip {
  background: rgba(255,255,255,0.95);
  border-color: #3b82f6;
  color: #1e3a5f;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}[data-theme="light"] .jvm-zoom-btn {
  background: rgba(255,255,255,0.85) !important;
  color: #059669 !important;
  border-color: rgba(59,130,246,0.4) !important;
}
[data-theme="light"] .jvm-zoom-btn:hover {
  background: #059669 !important;
  color: #fff !important;
  border-color: #059669 !important;
  box-shadow: 0 6px 16px rgba(5,150,105,0.3) !important;
}

/* === TREND HARİTASI: ARAMA · LEJANT · BİLGİ PANELİ === */

/* Arama kutusu — etkileyici emerald pill */
.map-search { position: absolute; top: 11px; left: 11px; z-index: 20; width: 176px; }
.map-search-ic { position: absolute; left: 13px; top: 18px; transform: translateY(-50%); color: #34d399; pointer-events: none; z-index: 1; }
#mapSearch {
  width: 100%; height: 35px; padding: 0 14px 0 35px;
  background: linear-gradient(135deg, rgba(16,185,129,0.16) 0%, rgba(13,20,33,0.88) 60%);
  color: var(--text);
  border: 1px solid rgba(52,211,153,0.42); border-radius: 20px;
  font-family: var(--classy); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.13em;
  text-transform: uppercase; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.32);
}
#mapSearch::placeholder { color: var(--muted); font-weight: 800; letter-spacing: 0.13em; opacity: 0.85; }
#mapSearch:focus {
  border-color: #34d399;
  box-shadow: 0 0 0 3px rgba(52,211,153,0.2), 0 6px 18px rgba(0,0,0,0.32);
  background: linear-gradient(135deg, rgba(16,185,129,0.24) 0%, rgba(13,20,33,0.95) 60%);
}
.map-search-results {
  display: none; margin-top: 6px; max-height: 196px; overflow-y: auto;
  background: rgba(13,20,33,0.97); border: 1px solid rgba(148,163,184,0.22);
  border-radius: 12px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5); padding: 4px;
}
.msr-item {
  display: flex; align-items: center; gap: 8px; padding: 7px 9px;
  font-family: var(--classy); font-size: 0.72rem; font-weight: 600; color: var(--text);
  border-radius: 8px; cursor: pointer; transition: background .15s;
}
.msr-item:hover { background: rgba(52,211,153,0.14); }
.msr-flag { font-size: 0.95rem; line-height: 1; flex-shrink: 0; }
.msr-item span:nth-child(2) { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msr-item i { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* Bilgi paneli (sağa yaslı kart) */
@keyframes mtpIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
.country-overlay {
  position: absolute; top: 0; right: 0; bottom: 0; width: 256px; max-width: 72%;
  z-index: 18; display: none; font-family: var(--classy);
  background: linear-gradient(150deg, rgba(15,23,38,0.97) 0%, rgba(9,14,24,0.97) 100%);
  border-left: 1px solid rgba(148,163,184,0.18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: -16px 0 44px rgba(0,0,0,0.45);
  padding: 15px 15px 14px; overflow-y: auto;
}
.country-overlay.show { animation: mtpIn .34s cubic-bezier(0.2,0.8,0.2,1); }
.mtp-close {
  position: absolute; top: 10px; right: 11px; width: 24px; height: 24px;
  background: rgba(148,163,184,0.12); border: none; border-radius: 50%;
  color: var(--muted); font-size: 1.05rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .2s; z-index: 2;
}
.mtp-close:hover { background: rgba(239,68,68,0.18); color: #ef4444; }
.mtp-head { display: flex; align-items: center; gap: 11px; padding-right: 26px; margin-bottom: 14px; }
.mtp-flag { font-size: 1.9rem; line-height: 1; flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35)); }
.mtp-country { font-size: 0.96rem; font-weight: 800; color: var(--text); letter-spacing: 0.01em; line-height: 1.15; }
.mtp-cat { display: flex; align-items: center; gap: 5px; font-size: 0.62rem; font-weight: 700; margin-top: 4px; letter-spacing: 0.01em; }
.mtp-dot { width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 6px currentColor; flex-shrink: 0; }
.mtp-sub {
  font-size: 0.55rem; font-weight: 700; letter-spacing: 0.1em; color: var(--muted);
  text-transform: uppercase; margin-bottom: 10px; padding-bottom: 9px;
  border-bottom: 1px solid rgba(148,163,184,0.14);
}
.mtp-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mtp-list li {
  display: flex; align-items: center; gap: 9px; padding: 10px 11px;
  background: rgba(148,163,184,0.06); border: 1px solid rgba(148,163,184,0.1);
  border-left: 3px solid var(--c); border-radius: 9px;
  transition: transform .18s, background .18s; cursor: default;
}
.mtp-list li:hover { background: rgba(148,163,184,0.11); transform: translateX(2px); }
.mtp-rank {
  width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%;
  background: var(--c); color: #1a2236; font-size: 0.6rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.mtp-ic { font-size: 0.95rem; line-height: 1; flex-shrink: 0; }
.mtp-topic { font-size: 0.72rem; font-weight: 600; color: var(--text); line-height: 1.25; }

/* Light mod */
[data-theme="light"] #mapSearch { background: linear-gradient(135deg, rgba(16,185,129,0.12) 0%, rgba(255,255,255,0.94) 60%); border-color: rgba(5,150,105,0.45); }
[data-theme="light"] .map-search-ic { color: #059669; }
[data-theme="light"] #mapSearch:focus { border-color: #059669; box-shadow: 0 0 0 3px rgba(5,150,105,0.16), 0 6px 18px rgba(0,0,0,0.1); background: linear-gradient(135deg, rgba(16,185,129,0.2) 0%, #ffffff 60%); }
[data-theme="light"] .map-search-results { background: rgba(255,255,255,0.98); border-color: #e2e8f0; box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
[data-theme="light"] .msr-item:hover { background: rgba(5,150,105,0.1); }
[data-theme="light"] .country-overlay {
  background: linear-gradient(150deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
  border-left-color: #e2e8f0; box-shadow: -16px 0 40px rgba(15,23,42,0.12);
}
[data-theme="light"] .mtp-list li { background: #f1f5f9; border-color: #e2e8f0; border-left-color: var(--c); }
[data-theme="light"] .mtp-list li:hover { background: #e9eef5; }

@-webkit-keyframes scroll-l{
  0%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}
  100%{-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0)}
}
@keyframes scroll-l{
  0%{transform:translate3d(0,0,0)}
  100%{transform:translate3d(-50%,0,0)}
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Masaüstü Izgara Ayarları */
.grid{
    display:grid;
    grid-template-columns: 1fr 2fr 1fr;
    position:fixed;
    top:140px;
    left:0;
    right:0;
    bottom:0;
}
.col{border-right:1px solid var(--border);display:flex;flex-direction:column;overflow:hidden;height:100%}

.col-half {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0; 
}

.col-center-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}
.col-center-scroll::-webkit-scrollbar { width: 4px; }
.col-center-scroll::-webkit-scrollbar-thumb { background: var(--border-b); border-radius: 2px; }

/* BAŞLIK KUTULARI */
.col-header {
  flex-shrink: 0;
  background: var(--bg);
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
  z-index: 100;
  position: relative;
}

.col-body-wrap{flex:1;overflow-y:auto;overflow-x:hidden;padding-bottom:60px}
.col-body-wrap::-webkit-scrollbar{width:4px}
.col-body-wrap::-webkit-scrollbar-thumb{background:var(--border-b);border-radius:2px}

.col-header-top { display: flex; justify-content: flex-start; align-items: center; margin-bottom: 6px; width: 100%; gap: 6px; position: relative; z-index: 2; }
.col-title { font-family:var(--classy);font-size:.75rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;display:flex;align-items:center;gap:8px; margin-bottom: 0; width: auto;}
.col-bar{width:4px;height:14px;border-radius:0px}

/* Minimal Filter Dropdown System */
.filters { position: relative; display: flex; align-items: center; }
.settings-btn { 
  background: var(--surface); border: 1px solid var(--border); color: var(--muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 4px; border-radius: 4px;
  transition: all 0.2s;
}
.settings-btn:hover { background: var(--surface2); border-color: var(--dim); color: var(--text); }

.source-dropdown {
  position: absolute; top: 100%; left: 0; margin-top: 4px;
  background: var(--surface); border: 1px solid var(--border-b);
  border-radius: 6px; padding: 4px; display: none;
  flex-direction: column; gap: 2px; z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4); min-width: 120px;
}
[data-theme="light"] .source-dropdown { box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.source-dropdown.show { display: flex; animation: popupIn 0.2s ease-out forwards; }

.source-dropdown .fbtn {
  font-family:var(--classy);font-size:.62rem;font-weight:600;
  padding:5px 8px;border-radius:4px;
  border:none;
  background:transparent;
  color:var(--muted);
  cursor:pointer;transition:all .15s ease;
  letter-spacing:.02em;
  text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center; text-align: left;
}
.source-dropdown .fbtn:hover { background: var(--surface2); color: var(--text); }
.source-dropdown .fbtn.active { color: var(--text); }
.source-dropdown .fbtn.active::after {
  content: '●'; color: var(--active-color); font-size: 0.65rem; margin-left: 10px;
}

/* Olay Çizgisi (Timeline) Temelli Haber Kartları */
.col-body {
    position: relative;
    padding: 10px 10px 10px 0;
}
.col-body::before {
    content: '';
    position: absolute;
    left: 36px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, var(--border) 5%, var(--border) 95%, transparent 100%);
    z-index: 1;
}

.card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 10px 14px 14px;
    border-radius: 0;
    background: transparent !important;
    border: none !important;
    margin-bottom: 2px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: visible;
    cursor: pointer;
    z-index: 2;
}

.card.hidden { display: none; }

.card-img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50% !important;
    flex-shrink: 0;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 1px var(--border-b);
}

.card-img.card-img-ph {
    font-family: var(--classy);
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
}

.card-img.card-img-logo {
    background: #fff;
    object-fit: contain;
    padding: 6px;
}

.card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    padding-top: 3px;
}
.card-title {
    font-family: var(--title-font);
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text);
    letter-spacing: 0.01em;
    transition: color 0.2s;
}
.card:hover {
    background: rgba(16,185,129,0.04) !important;
    border-radius: 8px;
}
.card:hover .card-title {
    color: #10b981;
}
.card-meta {
    font-family: var(--classy);
    font-size: .65rem;
    font-weight: 500;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}
.card-meta-src {
    font-weight: 700;
    letter-spacing: 0.02em;
}
.card-meta-dot {
    opacity: 0.5;
    font-size: 0.55rem;
    line-height: 1;
    align-self: center;
    transform: translateY(-1px);
}

#corp-content .card { padding: 12px 10px 12px 14px; gap: 14px; }
#corp-content .card-img { width: 44px; height: 44px; }
#corp-content .card-title { font-size: .9rem; line-height: 1.35; }

/* Orta Kolon Alt Bilgi Alanı (Footer'ın yerine) */
.center-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 20px 14px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--ticker-bg) 100%);
  text-align: center;
}
.mobile-footer { display: none; }
.footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.footer-status-text {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-made-by {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  padding-bottom: 8px;
  overflow: visible;
}
.footer-mini-logo {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, #059669 0%, #047857 55%, #065f46 100%);
  color: #fff;
  font-size: 0.7rem;
  font-family: var(--mono);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 5px rgba(4,120,87,0.4);
}
.footer-signature {
  font-family: 'Pacifico', cursive;
  font-size: 0.95rem;
  font-weight: 400;
  background: linear-gradient(135deg, #c9a84c 0%, #e8c96a 40%, #7a5c1e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.01em;
  line-height: 1.6;
  filter: drop-shadow(0 0 5px rgba(201,168,76,0.2));
  text-transform: none;
  display: inline-block;
  overflow: visible;
  padding-bottom: 2px;
}
.st{display:flex;align-items:center;gap:14px}
.st-dot{width:6px;height:6px;border-radius:50%;background:#10b981;animation:pulse 2s ease-in-out infinite;flex-shrink:0}

.more-btn-wrap {
  padding: 14px 12px 22px;
  text-align: center;
  position: relative;
  z-index: 5;
  background: var(--bg);
}
/* Zaman çizgisi, son içerikten sonra oval bir kavisle dönüp butona bağlanır */
.more-btn-wrap::before {
  content: '';
  position: absolute;
  left: 32px;
  top: -2px;
  right: calc(50% + 100px); /* butonun sol kenarında biter (genişliğin yarısı) */
  height: 32px;
  border-left: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  border-bottom-left-radius: 20px;
  z-index: 1;
  pointer-events: none;
}
.more-btn {
  font-family: var(--classy);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #10b981;
  background: linear-gradient(180deg, rgba(16,185,129,0.14), rgba(16,185,129,0.05));
  border: 1px solid rgba(16,185,129,0.35);
  border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 200px;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.more-btn:hover {
  background: linear-gradient(180deg, rgba(16,185,129,0.20), rgba(16,185,129,0.08));
  border-color: rgba(16,185,129,0.6);
  box-shadow: 0 2px 6px rgba(16,185,129,0.12);
}
.more-btn:active {
  box-shadow: 0 1px 3px rgba(16,185,129,0.12);
}
.more-btn-ic {
  flex-shrink: 0;
  transition: transform .25s ease;
}
.more-btn.expanded .more-btn-ic {
  transform: rotate(180deg);
}

/* HİKAYE ŞERİDİ (STORY BAR) - DİKEY ŞEFFAF GRADIENTLİ YAPI */
.story-carousel-container {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 0; /* İçeriğin köşelere kadar akması için */
}

.story-viewport {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  display: block;
}
.story-viewport::-webkit-scrollbar { display: none; }

.story-wrapper {
  display: flex;
  align-items: center;
  height: 95px; /* Hafif daraltıldı */
  gap: 8px; 
  width: max-content; 
  padding: 0 35px; /* İlk ve son içerik butonun altında kalmasın diye iç boşluk */
}

/* Şeffaf Dikey Gradient Navigasyon Tuşları */
.story-nav-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  font-size: 1.4rem;
  box-shadow: none;
  transition: color 0.2s;
}
.story-nav-btn:hover {
  color: #fff;
  transform: none; /* Önceki büyüme efekti iptal edildi */
}
.story-nav-btn.left { 
  left: 0; 
  background: linear-gradient(to right, var(--fade-start) 30%, var(--fade-end) 100%); 
}
.story-nav-btn.right { 
  right: 0; 
  background: linear-gradient(to left, var(--fade-start) 30%, var(--fade-end) 100%); 
}
.story-nav-btn.left:hover {
  background: linear-gradient(to right, var(--fade-start) 45%, var(--fade-end) 100%);
}
.story-nav-btn.right:hover {
  background: linear-gradient(to left, var(--fade-start) 45%, var(--fade-end) 100%);
}

/* ════════ RSS ARAMA (header ortası) ════════ */
.rss-search-box {
  position: relative;
  flex: 1 1 auto;
  max-width: 420px;
  min-width: 0;
  margin: 0 auto;
}
.rss-search-form {
  display: flex;
  align-items: center;
  gap: 0;
  /* cam panel: surface üzerine üstten ışık / alttan gölge gradient'i (her iki temada derinlik) */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(0,0,0,0.06) 100%),
    var(--surface);
  border: 1px solid var(--border-b);
  border-bottom: none;            /* alt kenar header'ın alt çizgisiyle birleşsin */
  border-radius: 10px 10px 0 0;   /* üst köşeler oval, alt köşeler kare (header'a sıfır) */
  padding: 9px 10px 10px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); /* üstte ince cam parlaması */
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.rss-search-form:focus-within {
  /* odakta: yeşil çerçeve */
  border-color: rgba(16,185,129,0.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.rss-search-ico {
  width: 17px; height: 17px;
  flex-shrink: 0;
  color: var(--muted);
  margin-right: 11px;
  transition: color 0.2s ease;
}
.rss-search-form:focus-within .rss-search-ico { color: #10b981; }
.rss-search-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.84rem;
  font-family: var(--classy);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 4px 8px 4px 0;
}
.rss-search-form input::placeholder { color: var(--muted); opacity: 0.7; }
.rss-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  /* dark mode: koyu yeşil gradient */
  background: linear-gradient(180deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: var(--classy);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
  transition: filter 0.18s ease;
}
/* light mode: daha açık yeşil ton */
[data-theme="light"] .rss-search-btn {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}
.rss-search-btn:hover {
  filter: brightness(1.08);
}
.rss-search-btn:active {
  filter: brightness(0.93);
}
.rss-search-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}

/* ── Bitişik açılır panel (dropdown) ── */
.rss-dropdown {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  width: min(460px, 92vw);
  transform: translateX(-50%) translateY(-8px);
  background: var(--surface);
  border: 1px solid var(--border-b);
  border-radius: 14px;
  max-height: min(74vh, 560px);
  display: flex;
  flex-direction: column;
  z-index: 2000;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.rss-dropdown.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* küçük üst ok */
.rss-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 11px; height: 11px;
  background: var(--surface);
  border-left: 1px solid var(--border-b);
  border-top: 1px solid var(--border-b);
}
.rss-modal-header {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-b);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.rss-modal-title {
  font-family: var(--classy);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.rss-modal-title .rss-modal-bar {
  width: 4px; height: 16px; border-radius: 3px; flex-shrink: 0;
  background: linear-gradient(180deg, #f0b429, #d99a0a);
}
.rss-modal-title .rss-modal-q {
  color: #f0b429;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rss-modal-count {
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--accent);
  padding: 3px 7px;
  border-radius: 99px;
  flex-shrink: 0;
}
.rss-modal-close {
  background: var(--accent);
  border: none;
  color: var(--dim);
  cursor: pointer;
  width: 26px; height: 26px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s, color 0.18s;
}
.rss-modal-close:hover { background: #ef4444; color: #fff; }
.rss-modal-close svg { width: 13px; height: 13px; }

[data-theme="light"] .rss-modal-close {
  background: var(--border-b);
  color: var(--text);
}
[data-theme="light"] .rss-modal-close:hover {
  background: #dc2626;
  color: #fff;
}
[data-theme="light"] .rss-result-arrow {
  color: var(--dim);
}
[data-theme="light"] .rss-result-item:hover {
  background: var(--surface2);
  border-color: var(--border);
}
[data-theme="light"] .rss-modal-count {
  background: var(--surface2);
  color: var(--text);
}
.rss-modal-content {
  overflow-y: auto;
  padding: 7px 8px 12px;
  -webkit-overflow-scrolling: touch;
}
.rss-results { display: flex; flex-direction: column; gap: 4px; }

.rss-result-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.16s, border-color 0.16s, transform 0.16s;
}
.rss-result-item:hover {
  background: var(--accent);
  border-color: var(--border-b);
  transform: translateX(2px);
}
.rss-result-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.rss-result-main { flex: 1; min-width: 0; }
.rss-result-title {
  font-family: var(--classy);
  font-weight: 700;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.4;
  margin-bottom: 5px;
}
.rss-result-en {
  font-size: 0.7rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.35;
  margin-bottom: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rss-result-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--muted);
}
.rss-result-src {
  font-weight: 700;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rss-result-arrow {
  color: var(--muted);
  opacity: 0;
  align-self: center;
  flex-shrink: 0;
  transition: opacity 0.16s, transform 0.16s;
}
.rss-result-item:hover .rss-result-arrow { opacity: 1; transform: translateX(2px); }
.rss-result-arrow svg { width: 16px; height: 16px; display: block; }

.rss-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-family: var(--classy);
  font-size: 0.85rem;
}
.rss-spinner {
  width: 26px; height: 26px;
  border: 3px solid var(--border-b);
  border-top-color: #f0b429;
  border-radius: 50%;
  margin: 0 auto 14px;
  animation: rss-spin 0.7s linear infinite;
}
@keyframes rss-spin { to { transform: rotate(360deg); } }
.rss-state-emoji { font-size: 1.8rem; display: block; margin-bottom: 8px; }

/* Mobil arama toggle butonu (header sağ, Verileri Güncelle'nin solunda) */
.rss-mobile-toggle { display: none; }

@media (max-width: 1024px) {
  /* Arama simgesi: masaüstü dışında toggle buton */
  .rss-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border: 1px solid var(--border-b);
    border-radius: 6px;
    background: none;
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
  }
  .rss-mobile-toggle:hover {
    background: var(--surface2);
  }
  .rss-mobile-toggle svg { width: 16px; height: 16px; }

  /* Header'daki kutuyu gizle, panel olarak aç */
  header .rss-search-box { display: none; }
  .rss-search-box {
    position: fixed;
    top: 66px;
    left: 12px; right: 12px;
    max-width: 520px;
    margin: 0 auto;
    z-index: 2001;
    display: none;
  }
  .rss-search-box.mobile-open { display: block; }
  .rss-search-form {
    padding: 4px 4px 4px 14px;
    border-radius: 0 0 12px 12px;   /* üst köşeler kare (header'a yapışık), alt köşeler oval */
    border-top: none;               /* üst kenar header'a sıfır → odakta yeşil çizgi oluşmaz */
    border-bottom: 1px solid var(--border-b); /* mobil dropdown'da tam border geri */
    box-shadow: 0 12px 34px rgba(0,0,0,0.45);
  }
  .rss-search-ico { display: block; }
  .rss-search-btn { padding: 8px 16px; gap: 6px; }
  .rss-search-btn .rss-search-btn-tx { display: inline; }
  .rss-search-btn svg { width: 14px; height: 14px; }

  /* Sonuçlar panelin içinde, formun hemen altında akar */
  .rss-dropdown {
    position: static;
    width: auto;
    transform: none;
    margin-top: 8px;
    max-height: 64vh;
    display: none;
  }
  .rss-dropdown.show { display: flex; transform: none; opacity: 1; }
  .rss-dropdown::before { display: none; }
  .rss-result-title { font-size: 0.84rem; }

  /* Arka plan karartması */
  .rss-mobile-backdrop {
    display: none;
    position: fixed;
    inset: 48px 0 0 0;
    background: rgba(4,7,14,0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 2000;
  }
  .rss-mobile-backdrop.show { display: block; }
}

/* AI GÜNDEM ÖZETİ - Oval Çerçeve */
.ai-summary-oval-wrapper {
  margin: 20px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-b);
  overflow: hidden;
}

.ai-summary-oval-wrapper > .col-header,
.ai-summary-oval-wrapper > div > .col-header {
  border-radius: 0;
}

/* Yan yana grafik kutuları (quiz + endeks) */
.chart-pair {
  display: flex;
  gap: 16px;
  align-items: stretch;
}
.chart-pair > .ai-summary-oval-wrapper {
  display: flex;
  flex-direction: column;
  height: 340px;
}
.chart-pair > .ai-summary-oval-wrapper > div:last-child {
  flex: 1;
  overflow: hidden;
}
#tech-quiz-widget {
  height: 100% !important;
  min-height: unset !important;
  overflow: hidden;
  padding: 12px 14px 12px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
  background: linear-gradient(145deg, #071022 0%, #091828 50%, #0a1f1e 100%);
}
#ndxt-widget {
  height: 100% !important;
}
@media (max-width: 700px) {
  .chart-pair { flex-direction: column; }
  .chart-pair > .ai-summary-oval-wrapper { height: 340px; flex-shrink: 0; }
  .chart-pair > .ai-summary-oval-wrapper > div:last-child { height: calc(340px - 42px); flex: none; overflow: hidden; }
  #tech-quiz-widget { height: 100% !important; overflow: hidden !important; }
  #ndxt-widget { height: 100% !important; }
}

/* TEKNOLOJİ QUİZ STİLLERİ */
.quiz-intro-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 12px;
  text-align: center;
  padding: 4px 0;
  position: relative;
  overflow: hidden;
}
.quiz-bg-words {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.quiz-bg-word {
  position: absolute;
  font-family: var(--mono);
  font-weight: 700;
  color: #2dd4bf;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.quiz-intro-visual,
.quiz-intro-text,
.quiz-start-btn {
  position: relative;
  z-index: 1;
}
.quiz-intro-visual {
  width: 140px;
  height: 93px;
  flex-shrink: 0;
}
.quiz-intro-text {
  font-family: var(--classy);
  font-size: 0.88rem;
  font-weight: 800;
  color: #d1faf6;
  line-height: 1.4;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.quiz-intro-text span {
  white-space: nowrap;
}
@keyframes quiz-btn-glow {
  0%   { box-shadow: 0 0 0px 0px rgba(251,191,36,0); border-color: rgba(251,191,36,0.3); }
  50%  { box-shadow: 0 0 10px 3px rgba(251,191,36,0.35), 0 0 22px 6px rgba(251,191,36,0.12); border-color: rgba(251,191,36,0.85); }
  100% { box-shadow: 0 0 0px 0px rgba(251,191,36,0); border-color: rgba(251,191,36,0.3); }
}
@keyframes quiz-q-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.08); }
}
@keyframes quiz-dot-float {
  0%, 100% { transform: translateY(0px); opacity: 0.25; }
  50%       { transform: translateY(-3px); opacity: 0.55; }
}
@keyframes quiz-line-flicker {
  0%, 100% { opacity: 0.15; }
  50%       { opacity: 0.4; }
}
.quiz-start-btn {
  font-family: var(--classy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 28px;
  border-radius: 99px;
  border: 1.5px solid rgba(251,191,36,0.3);
  background: rgba(45,212,191,0.10);
  color: #2dd4bf;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: quiz-btn-glow 2.2s ease-in-out infinite;
  transition: background 0.18s;
}
.quiz-start-btn:hover {
  background: rgba(45,212,191,0.20);
  animation: none;
  box-shadow: 0 0 18px rgba(45,212,191,0.28);
  border-color: #2dd4bf;
}
.quiz-progress-bar-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.quiz-progress-bar-bg {
  flex: 1;
  height: 3px;
  background: rgba(45,212,191,0.12);
  border-radius: 99px;
  overflow: hidden;
}
.quiz-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0d9488, #2dd4bf);
  border-radius: 99px;
  transition: width 0.4s cubic-bezier(.4,0,.2,1);
}
.quiz-progress-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: rgba(45,212,191,0.5);
  white-space: nowrap;
  flex-shrink: 0;
}
.quiz-question-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 0;
}
.quiz-question-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.quiz-emoji-badge {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45,212,191,0.09);
  border: 1px solid rgba(45,212,191,0.2);
  border-radius: 6px;
}
.quiz-question-text {
  font-family: var(--classy);
  font-size: 0.8rem;
  font-weight: 700;
  color: #d1faf6;
  line-height: 1.35;
  flex: 1;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-height: 0;
  justify-content: center;
}
.quiz-opt-btn {
  font-family: var(--classy);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0 12px;
  height: 34px;
  border-radius: 99px;
  border: 1px solid rgba(45,212,191,0.18);
  background: rgba(45,212,191,0.05);
  color: rgba(180,235,230,0.65);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  width: 100%;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 7px;
}
.quiz-opt-btn::before {
  content: attr(data-letter);
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(45,212,191,0.35);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  transition: color 0.15s;
}
.quiz-opt-btn:hover:not(:disabled) {
  border-color: #2dd4bf;
  background: rgba(45,212,191,0.12);
  color: #d1faf6;
}
.quiz-opt-btn:hover:not(:disabled)::before { color: #2dd4bf; }
.quiz-opt-btn.correct {
  border-color: #22c55e !important;
  color: #4ade80 !important;
  background: rgba(34,197,94,0.10) !important;
}
.quiz-opt-btn.correct::before { color: #22c55e !important; }
.quiz-opt-btn.wrong {
  border-color: #ef4444 !important;
  color: #f87171 !important;
  background: rgba(239,68,68,0.10) !important;
}
.quiz-opt-btn.wrong::before { color: #ef4444 !important; }
.quiz-opt-btn:disabled { cursor: default; }
.quiz-feedback {
  font-family: var(--classy);
  font-size: 0.67rem;
  font-weight: 600;
  line-height: 1.3;
  flex-shrink: 0;
}
.quiz-next-btn {
  flex-shrink: 0;
  font-family: var(--classy);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 6px 0;
  border-radius: 6px;
  border: 1px solid rgba(45,212,191,0.35);
  background: rgba(45,212,191,0.09);
  color: #2dd4bf;
  cursor: pointer;
  width: 100%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.18s;
}
.quiz-next-btn:hover {
  background: rgba(45,212,191,0.18);
  border-color: #2dd4bf;
}
.quiz-result-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  gap: 8px;
  min-height: 0;
}
.quiz-result-trophy {
  font-size: 2.4rem;
  line-height: 1;
}
.quiz-result-score {
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: #2dd4bf;
  letter-spacing: 0.04em;
  line-height: 1;
}
.quiz-result-title {
  font-family: var(--classy);
  font-size: 0.95rem;
  font-weight: 800;
  color: #d1faf6;
}
.quiz-result-desc {
  font-family: var(--classy);
  font-size: 0.71rem;
  color: rgba(180,235,230,0.55);
  line-height: 1.45;
  max-width: 200px;
}
.quiz-restart-btn {
  font-family: var(--classy);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 7px 22px;
  border-radius: 99px;
  border: 1px solid rgba(45,212,191,0.35);
  background: rgba(45,212,191,0.09);
  color: #2dd4bf;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.18s;
}
.quiz-restart-btn:hover {
  background: rgba(45,212,191,0.18);
  border-color: #2dd4bf;
  box-shadow: 0 0 14px rgba(45,212,191,0.2);
}

/* TEKNOLOJİ QUİZ — LIGHT MODE */
[data-theme="light"] #tech-quiz-widget {
  background: linear-gradient(145deg, #fafafa 0%, #f3f4f6 60%, #ecfdf5 100%);
}
[data-theme="light"] .quiz-svg-bg {
  fill: #e5e7eb;
}
[data-theme="light"] .quiz-bg-word {
  color: #1f2937;
  opacity: 0.42;
}
[data-theme="light"] .quiz-svg-monitor {
  stroke: #059669;
  opacity: 1;
}
[data-theme="light"] .quiz-svg-screen {
  fill: #059669;
  fill-opacity: 0.12;
}
[data-theme="light"] .quiz-svg-stand1 {
  fill: #059669;
  opacity: 0.7;
}
[data-theme="light"] .quiz-svg-stand2 {
  fill: #059669;
  opacity: 0.5;
}
[data-theme="light"] .quiz-svg-qmark {
  fill: #d97706;
  opacity: 1;
}
[data-theme="light"] .quiz-svg-dot {
  fill: #059669;
  opacity: 0.75;
}
[data-theme="light"] .quiz-svg-line {
  stroke: #059669;
  opacity: 0.65;
}
[data-theme="light"] .quiz-intro-text {
  color: #0f172a;
}
[data-theme="light"] .quiz-start-btn {
  background: rgba(6,182,212,0.10);
  color: #0891b2;
  border-color: rgba(6,182,212,0.35);
}
[data-theme="light"] .quiz-start-btn:hover {
  background: rgba(6,182,212,0.20);
  border-color: #0891b2;
  box-shadow: 0 0 18px rgba(6,182,212,0.22);
}
[data-theme="light"] .quiz-progress-bar-bg {
  background: rgba(6,182,212,0.15);
}
[data-theme="light"] .quiz-progress-bar-fill {
  background: linear-gradient(90deg, #0891b2, #06b6d4);
}
[data-theme="light"] .quiz-progress-label {
  color: rgba(8,145,178,0.6);
}
[data-theme="light"] .quiz-emoji-badge {
  background: rgba(6,182,212,0.10);
  border-color: rgba(6,182,212,0.25);
}
[data-theme="light"] .quiz-question-text {
  color: #0f172a;
}
[data-theme="light"] .quiz-opt-btn {
  border-color: rgba(6,182,212,0.25);
  background: rgba(6,182,212,0.05);
  color: #334155;
}
[data-theme="light"] .quiz-opt-btn::before {
  color: rgba(8,145,178,0.45);
}
[data-theme="light"] .quiz-opt-btn:hover:not(:disabled) {
  border-color: #0891b2;
  background: rgba(6,182,212,0.12);
  color: #0f172a;
}
[data-theme="light"] .quiz-opt-btn:hover:not(:disabled)::before { color: #0891b2; }
[data-theme="light"] .quiz-opt-btn.correct {
  border-color: #16a34a !important;
  color: #15803d !important;
  background: rgba(22,163,74,0.08) !important;
}
[data-theme="light"] .quiz-opt-btn.correct::before { color: #16a34a !important; }
[data-theme="light"] .quiz-opt-btn.wrong {
  border-color: #dc2626 !important;
  color: #b91c1c !important;
  background: rgba(220,38,38,0.07) !important;
}
[data-theme="light"] .quiz-opt-btn.wrong::before { color: #dc2626 !important; }
[data-theme="light"] .quiz-next-btn {
  border-color: rgba(6,182,212,0.35);
  background: rgba(6,182,212,0.08);
  color: #0891b2;
}
[data-theme="light"] .quiz-next-btn:hover {
  background: rgba(6,182,212,0.16);
  border-color: #0891b2;
}
[data-theme="light"] .quiz-result-score {
  color: #0891b2;
}
[data-theme="light"] .quiz-result-title {
  color: #0f172a;
}
[data-theme="light"] .quiz-result-desc {
  color: rgba(15,23,42,0.55);
}
[data-theme="light"] .quiz-restart-btn {
  border-color: rgba(6,182,212,0.35);
  background: rgba(6,182,212,0.08);
  color: #0891b2;
}
[data-theme="light"] .quiz-restart-btn:hover {
  background: rgba(6,182,212,0.18);
  border-color: #0891b2;
  box-shadow: 0 0 14px rgba(6,182,212,0.18);
}

/* YAPAY ZEKA ARAÇLARI WİDGET */
/* SEKTÖR AKTÖRLERİ */
.xfeed-tabs {
  display: flex;
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border-b);
}
.xfeed-tabs::-webkit-scrollbar { display: none; }
.xfeed-tab {
  flex-shrink: 0;
  padding: 8px 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.xfeed-tab img { width: 16px; height: 16px; border-radius: 50%; opacity: 0.7; }
.xfeed-tab.active { color: #1d9bf0; border-bottom-color: #1d9bf0; }
.xfeed-tab.active img { opacity: 1; }
.xfeed-tab:hover { color: rgba(200,220,240,0.9); }
[data-theme="light"] .xfeed-tab:hover { color: #111827; }
[data-theme="light"] .xfeed-tab.active { color: #1d9bf0; }
.xfeed-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}
.xfeed-panel {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
}
.xfeed-panel.active { display: block; }
.xfeed-panel iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
#xfeed-widget {
  display: flex;
  flex-direction: column;
  height: 340px;
}
.xfeed-body {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-b) transparent;
}
.xcard {
  display: block;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-b);
  text-decoration: none;
  transition: background 0.15s;
}
.xcard:last-child { border-bottom: none; }
.xcard:hover { background: var(--surface); }
.xcard-text {
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.5;
  word-break: break-word;
}
.xcard-meta {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 4px;
}

/* İNTERNET PUAN LİSTESİ */
.netspeed-toggle {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-b);
  border-radius: 6px;
  overflow: hidden;
}
.ns-tab {
  font-family: var(--classy);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.ns-tab:not(:last-child) { border-right: 1px solid var(--border-b); }
.ns-tab.active { background: linear-gradient(135deg, #0e9688 0%, #065f56 100%); color: #fff; }
.ns-tab:not(.active):hover { color: var(--text); background: rgba(20,184,166,0.08); }

#net-speed-widget {
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  /* Gece gökyüzü (dark mod varsayılan) */
  background:
    radial-gradient(circle at 80% 20%, rgba(190,205,255,0.18), rgba(190,205,255,0) 30%),
    linear-gradient(180deg, #060d18 0%, #0c1a2c 52%, #16283f 100%);
}
[data-theme="light"] #net-speed-widget {
  background: linear-gradient(180deg, #e8eaed 0%, #f1f3f5 52%, #f8f9fa 100%);
}
#ns-speedtest-wrap {
  position: absolute;
  top: calc(51% - clamp(44px, min(8vw, 20vh), 88px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
#ns-stest {
  width: clamp(44px, min(8vw, 20vh), 88px);
  height: clamp(44px, min(8vw, 20vh), 88px);
  position: relative;
  cursor: pointer;
  user-select: none;
}
#ns-stest:hover #ns-stest-arc-idle { opacity: 0.7; }
#ns-stest-ring {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: visible;
}
#ns-stest-inner {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  gap: 1px;
}
#ns-stest-val {
  font-size: clamp(7px, 1.85vw, 13px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: font-size 0.2s;
}
#ns-stest-unit {
  font-size: clamp(5px, 1.2vw, 8.5px);
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
  line-height: 1;
}
#ns-stest-sub {
  font-size: 7px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  margin-top: 2px;
}
[data-theme="light"] #ns-stest-val { color: #ffffff; }
[data-theme="light"] #ns-stest-unit { color: rgba(255,255,255,0.7); }
[data-theme="light"] #ns-stest-sub { color: rgba(255,255,255,0.5); }
#ns-stest-refresh {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  top: auto;
  font-size: clamp(12px, 2.5vw, 18px);
  color: rgba(255,220,50,0.85);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  line-height: 1;
  z-index: 10;
}
.ns-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 14px;
  border-bottom: 1px solid var(--border-b);
  flex-wrap: wrap;
  gap: 4px;
}
.ns-meta-label {
  font-family: var(--classy);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.ns-meta-src { font-size: 0.56rem; color: var(--muted); opacity: 0.7; }
.ns-list {
  overflow: hidden;
  line-height: 1;
}
.ns-mountain-svg { display: block; width: 100%; height: auto; }
.ns-mt-lbl {
  font-family: var(--sans, sans-serif);
  font-size: 8.5px;
  fill: var(--text);
}
.ns-mt-lbl-top {
  font-size: 9.5px;
  font-weight: 700;
  fill: #5eead4;
}
.ns-mt-item { cursor: default; }
.ns-mt-dot { transition: r 0.12s, fill 0.12s; }
.ns-mt-item:hover .ns-mt-dot { fill: #5eead4; }
.ns-avg {
  flex-shrink: 0;
  border-top: 1px solid var(--border-b);
  padding: 9px 14px 11px;
  background: rgba(20,184,166,0.04);
}
.ns-avg-title {
  font-family: var(--classy);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.ns-avg-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ns-avg-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  text-align: center;
}
.ns-avg-stat:not(:last-child) { border-right: 1px solid var(--border-b); }
.ns-avg-val {
  font-family: var(--mono, monospace);
  font-size: 0.92rem;
  font-weight: 700;
  color: #14b8a6;
  line-height: 1.1;
}
.ns-avg-unit {
  font-size: 0.54rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-transform: uppercase;
}

#ai-tools-widget {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 150px;
}
.ait-tabs {
  display: flex;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border-b);
}
.ait-tab {
  flex: 1;
  font-family: var(--classy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 4px;
  border: none;
  border-right: 1px solid var(--border-b);
  background: transparent;
  color: rgba(200,200,220,0.65);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ait-tab:last-child { border-right: none; }
.ait-tab:hover { color: rgba(200,200,220,0.9); background: rgba(125,211,252,0.05); }
.ait-tab.active {
  color: #7dd3fc;
  background: rgba(125,211,252,0.07);
}
[data-theme="light"] .ait-tab { color: #6b7280; }
[data-theme="light"] .ait-tab:hover { color: #111827; background: rgba(14,165,233,0.05); }
[data-theme="light"] .ait-tab.active { color: #0284c7; background: rgba(14,165,233,0.06); }

/* İçerik: sol öne çıkan panel + sağ liste */
.ait-body {
  flex: 1;
  display: flex;
  min-height: 0;
  overflow: hidden;
  margin-top: -1px;
  border-top: 1px solid var(--border-b);
  background: linear-gradient(120deg, #060d1a 0%, #0a1628 35%, #0d1f2d 65%, #091a1f 100%);
}
[data-theme="light"] .ait-body {
  background: linear-gradient(120deg, #f0f4ff 0%, #e8f4f0 50%, #edf6f8 100%);
}

/* Sol: öne çıkan araç */
.ait-featured {
  width: calc(200% / 7);
  flex-shrink: 0;
  border-right: none;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: default;
  justify-content: center;
  background: transparent;
}
[data-theme="light"] .ait-featured {
  background: transparent;
}
.ait-featured-top {
  display: flex;
  align-items: center;
  gap: 9px;
}
.ait-featured-logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(125,211,252,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-theme="light"] .ait-featured-logo { background: #fff; border-color: #e5e7eb; }
.ait-featured-logo img { width: 20px; height: 20px; object-fit: contain; }
.ait-featured-meta { display: flex; flex-direction: column; gap: 3px; }
.ait-featured-name {
  font-family: var(--classy);
  font-size: 0.88rem;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
[data-theme="light"] .ait-featured-name { color: #111827; }
.ait-featured-badge { display: none; }
.ait-featured-desc {
  font-family: var(--classy);
  font-size: 0.72rem;
  color: rgba(148,163,184,0.9);
  line-height: 1.5;
}
[data-theme="light"] .ait-featured-desc { color: #4b5563; }

/* Sağ: logo grid */
.ait-grid {
  flex: 1;
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  justify-content: center;
  background: transparent;
}
[data-theme="light"] .ait-grid {
  background: transparent;
}
.ait-logo-btn {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
  position: relative;
  flex-shrink: 0;
}
.ait-logo-btn:hover { background: rgba(125,211,252,0.08); border-color: rgba(125,211,252,0.25); }
.ait-logo-btn.active { background: rgba(125,211,252,0.12); border-color: #7dd3fc; }
[data-theme="light"] .ait-logo-btn { background: #fff; border-color: #e5e7eb; }
[data-theme="light"] .ait-logo-btn:hover { background: #f0f9ff; border-color: #7dd3fc; }
[data-theme="light"] .ait-logo-btn.active { background: #e0f2fe; border-color: #38bdf8; }
.ait-logo-btn img { width: 30px; height: 30px; object-fit: contain; display: block; }
.ait-logo-btn-fb {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800; font-family: var(--mono); color: #fff;
}

@keyframes ait-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ait-featured { animation: ait-in 0.2s ease both; }

@media (max-width: 600px) {
  #ai-tools-widget {
    height: auto;
  }
  .ait-tabs {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ait-tabs::-webkit-scrollbar { display: none; }
  .ait-tab {
    flex: 0 0 auto;
    padding: 9px 12px;
    font-size: 0.65rem;
  }
  .ait-body {
    flex-direction: column;
    border-top: none;
    margin-top: 0;
  }
  .ait-featured {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-b);
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: none;
  }
  .ait-featured-top {
    flex-shrink: 0;
  }
  .ait-featured-desc {
    flex: 1;
    font-size: 0.7rem;
    line-height: 1.45;
    margin: 0;
  }
  .ait-featured-name { font-size: 0.8rem; }
  .ait-grid {
    padding: 8px 10px;
    gap: 6px;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .ait-logo-btn {
    width: 40px;
    height: 40px;
    flex: 1 1 0;
    max-width: 48px;
  }
  .ait-logo-btn img { width: 22px; height: 22px; }
  .ait-logo-btn-fb { width: 40px; height: 40px; font-size: 0.55rem; }
}

/* ════════ TEKNOLOJİDE İLK 10 — Çizgi Grafik ════════ */
#top10-widget {
  background: linear-gradient(160deg, #0b1220 0%, #0c1424 55%, #0a1018 100%);
  padding: 12px 12px 10px;
  position: relative;
}
[data-theme="light"] #top10-widget {
  background: linear-gradient(160deg, #f7f9fc 0%, #f2f5fb 100%);
}

.t10c-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.t10c-leg {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--classy);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
}
.t10c-leg::before {
  content: '';
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--c);
  box-shadow: 0 0 8px color-mix(in srgb, var(--c) 70%, transparent);
}

.t10c-chart { position: relative; width: 100%; }
.t10c-plot { position: relative; width: 100%; }
.t10c-plot svg { display: block; width: 100%; height: auto; overflow: visible; }

.t10c-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Grafik üzerindeki düğümler (HTML katmanı): fotoğraf + isim */
.t10c-overlay { position: absolute; inset: 0; pointer-events: none; }
.t10c-node {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: default;
}
.t10c-node-av {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 2px solid var(--c);
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.t10c-node-av img { width: 100%; height: 100%; object-fit: cover; }
.t10c-node-av.logo img { width: 66%; height: 66%; object-fit: contain; }
.t10c-node-av-fb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--classy); font-weight: 800; font-size: 0.64rem; color: #fff; }
.t10c-node:hover { z-index: 25; }
.t10c-node:hover .t10c-node-av { transform: scale(1.22); box-shadow: 0 4px 12px rgba(0,0,0,0.55), 0 0 0 3px color-mix(in srgb, var(--c) 35%, transparent); }

.t10c-node-nm {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--classy);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dim);
  white-space: nowrap;
  letter-spacing: -0.01em;
  pointer-events: none;
}
/* İsimler her iki seride de yuvarlağın ALTINDA */
.t10c-node.up .t10c-node-nm  { top: calc(100% + 2px); }
.t10c-node.down .t10c-node-nm { top: calc(100% + 2px); }
.t10c-node:hover .t10c-node-nm { color: var(--text); }
/* Sıra numarası her iki seride de yuvarlağın ÜSTÜNDE */
.t10c-node-rank {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--c);
  line-height: 1;
  pointer-events: none;
  bottom: calc(100% + 3px);
}
/* Tooltip sağ alt köşesinde bayrak */
.t10c-tip-flag {
  position: absolute;
  bottom: 5px;
  right: 7px;
  font-size: 14px;
  line-height: 1;
}
.t10c-swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 0 2px;
  font-family: var(--sans);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.t10c-xlabel {
  font-family: var(--mono);
  font-size: 9px;
  fill: var(--muted);
  text-anchor: middle;
}

/* Etkileşimli ipucu kutusu */
.t10c-tip {
  position: absolute;
  pointer-events: none;
  z-index: 30;
  transform: translate(-50%, -118%);
  background: rgba(8,12,22,0.97);
  border: 1px solid var(--c, var(--border-b));
  border-radius: 10px;
  padding: 7px 10px;
  display: none;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
[data-theme="light"] .t10c-tip { background: rgba(255,255,255,0.98); box-shadow: 0 8px 24px rgba(0,0,0,0.16); }
.t10c-tip.show { display: flex; }
.t10c-tip-av {
  position: relative;
  width: 30px; height: 30px; border-radius: 50%;
  flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
}
.t10c-tip-av img { width: 100%; height: 100%; object-fit: cover; }
.t10c-tip-av.logo img { width: 68%; height: 68%; object-fit: contain; }
.t10c-tip-av-fb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--classy); font-weight: 800; font-size: 0.7rem; color: #fff; }
.t10c-tip-meta { display: flex; flex-direction: column; gap: 1px; line-height: 1.15; }
.t10c-tip-rank { font-family: var(--mono); font-size: 0.58rem; font-weight: 700; color: var(--c); letter-spacing: 0.03em; }
.t10c-tip-name { font-family: var(--classy); font-size: 0.78rem; font-weight: 800; color: var(--text); }
[data-theme="light"] .t10c-tip-name { color: #0f172a; }
.t10c-tip-val { font-family: var(--mono); font-size: 0.72rem; font-weight: 700; color: var(--c); }

@media (max-width: 600px) {
  .t10c-legend { gap: 14px; }
  .t10c-leg { font-size: 0.6rem; }
  /* Dar ekranda noktalar sıkışmasın diye grafik yatay kaydırılır */
  .t10c-chart { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; touch-action: pan-x; }
  .t10c-chart::-webkit-scrollbar { display: none; }
  .t10c-plot { min-width: 560px; touch-action: pan-x; }
  /* Düğümler touch olayını yakalayıp kaydırmayı engellemesin */
  .t10c-overlay { touch-action: pan-x; }
  .t10c-node { touch-action: pan-x; }
  .t10c-node-av { width: 26px; height: 26px; }
  .t10c-node-nm { font-size: 11.5px; }
  .t10c-node-rank { font-size: 10px; }
  .t10c-swipe-hint { display: flex; }
}

/* AI GÜNDEM ÖZETİ - Sütun İçi Stiller */
.ai-summary-text {
  font-family: var(--classy);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
  padding-left: 22px; /* Büyüyen simge için iç boşluk artırıldı */
  text-indent: -22px; /* Simgenin dışarı taşması için girinti ayarlandı */
  letter-spacing: 0.02em; /* İki yana yaslandığında kelime boşluklarını dengelemek için eklendi */
  text-align: justify; /* Metin sağa ve sola yaslandı */
}
.ai-summary-text::before {
  content: "✧";
  color: #4ca685;
  font-size: 1rem;
  margin-right: 8px;
  vertical-align: 0px;
  position: relative;
  line-height: 1;
}
.ai-summary-text + .ai-summary-text {
  margin-top: 20px;
}
.ai-summary-text b { 
  color: #4ca685; /* Daha mat ve göz yormayan yeni yeşil tonu */
  font-weight: 700;
}
#ai-summary-content {
  padding: 16px 0 20px;
}
.ai-summary-cols {
  display: block;
}
.ai-summary-col {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ai-summary-col:first-child { padding: 0 20px; }
.ai-summary-col:last-child { padding: 0 20px; margin-top: 20px; }
.ai-summary-divider {
  display: none;
}
@media (max-width: 600px) {
  .ai-summary-cols { grid-template-columns: 1fr; gap: 0; }
  .ai-summary-divider { display: none; }
  .ai-summary-col:first-child,
  .ai-summary-col:last-child { padding: 0 16px; }
  .ai-summary-col:last-child { padding-top: 14px; }
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
  width: 62px; /* Hafif ufaltıldı */
  opacity: 0.9; 
  transition: all 0.3s ease;
}
.story-item:hover { opacity: 1; transform: translateY(-3px); } 
.story-ring {
  width: 56px; /* Hafif ufaltıldı */
  height: 56px; /* Hafif ufaltıldı */
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.story-ring.viewed { background: #4b5563; } 
.story-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--bg);
  object-fit: cover;
}
.story-label {
  font-size: 0.65rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
  font-family: var(--sans);
}

/* MOBIL GÖRÜNÜM MEDYA SORGUSU */
@media(max-width:1100px){
  .grid { grid-template-columns: 260px 1fr; }
  .col:nth-child(3) { display: none; }
}

@media(max-width:700px){
  header{padding:0 12px;height:48px;gap:8px}
  .rss-search-box{top:48px}   /* arama çubuğu header'a sıfır (telefon header'ı 48px) */
  .logo{font-size:.85rem}
  .logo-icon{font-size:1.15rem}
  #clock{display:none}
  .refresh-btn span{display:none}
  .refresh-btn{padding:5px 8px !important}
  .header-right{gap:10px}

  .ticker-wrap{top:48px;position:sticky;z-index:190}
  .ticker-item{padding:0 14px;font-size:.68rem}
  /* ticker hareketi JS ile sürülüyor; mobilde ayrı CSS animasyonu yok */

  .news-ticker { padding-left: 100px; width: 100%; }
  .news-badge{padding:0 10px;font-size:.65rem}
  .news-item{font-size:.82rem;padding:0 18px}

  .news-track{
    -webkit-animation: scroll-l 250s linear infinite;
    animation: scroll-l 250s linear infinite;
  }

.grid{
    display:flex;
    flex-direction:column;
    position:relative !important; 
    top: 0 !important; /* BU SATIR EKLENDİ: Masaüstünden gelen itme payını sıfırlar */
    height:auto !important;
    overflow:visible;
    margin-top: 0 !important; 
    padding-bottom:0 !important;
  }

  .col{
    height:auto;
    overflow:visible;
    border-right:none;
    border-bottom:1px solid var(--border);
    width:100%;
  }

  .col-half {
    flex: none; 
    height: auto;
    min-height: auto;
  }

  .col-center-scroll {
    overflow:visible;
    height:auto;
  }

  .col-body-wrap{
    overflow:visible;
    max-height:none;
    padding-bottom:0;
  }

  #local-content .more-btn-wrap {
    padding-bottom: 0;
  }

  .col:nth-child(3){ display: block !important; }
  .desktop-footer { display: none !important; }
  .mobile-footer { display: flex !important; }
  .col:nth-child(1){ order:1; }
  .col:nth-child(2){ order:2; }
  .col:nth-child(3){ order:3; border-bottom: none !important; }

  .map-container{
    margin:0;
    border-bottom: none;
    padding: 0;
  }
  .map-wrapper-mobile-gap {
    margin-bottom: 16px !important;
    padding-bottom: 0 !important;
  }
  .map-desktop-height {
    height: auto !important; 
    min-height: 220px !important;
  }
  #world-map{height: 300px;}
  .map-container { height: 300px !important; min-height: 0 !important; overflow: hidden; }
  /* Mobil: panel masaüstündeki gibi sağa yaslı (daralt ki arama kutusuyla çakışmasın) */
  .country-overlay { width: 224px !important; max-width: 64% !important; }
  .map-search { width: 128px; }
  .col-header{position:static; padding:10px 12px 8px;}

  .col-body { padding: 5px 10px 10px 0; }
  #local-content { padding-bottom: 30px; }
  /* Çizgiyi üstten/alttan içeri çek: uçlar ilk/son avatarın arkasında bitsin,
     böylece başlık altında ve footer komşuluğunda hafif çubuk kalmaz. */
  .col-body::before { left: 32px; top: 30px; bottom: 30px; }
  .card { padding: 12px 8px 12px 12px; gap: 12px; margin-bottom: 2px; }
  .card-img { width: 40px; height: 40px; border-width: 2px; }
  .card-title { font-size: .9rem; line-height: 1.35; }
  
  #corp-content .card { padding: 12px 8px 12px 12px; gap: 12px; }
  #corp-content .card-img { width: 40px; height: 40px; }
  #corp-content .card-title { font-size: .88rem; line-height: 1.35; }

 .center-footer {
    position: static;
    min-height: 40px;
    height: auto;
    padding: 14px 10px 14px;
    z-index: 300;
    background: linear-gradient(180deg, var(--bg) 0%, var(--ticker-bg) 100%);
    border-top: none;
    border-bottom: none;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    text-align: center;
  }
  .footer-row {
    font-size: 0.72rem;
    gap: 6px;
    flex-wrap: wrap;
  }
  .footer-made-by {
    font-size: 0.72rem;
  }
  .footer-signature {
    font-size: 1rem;
  }
  .st { 
    display: flex; 
    gap: 6px; 
    font-size: 0.72rem;
  }

  body{overflow-x:hidden;overflow-y:auto}
}

.beta-badge {
  align-self: center;
  margin-left: -2px;
  font-family: var(--classy);
  font-size: .5rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--beta-text);
  background: var(--beta-bg);
  border: 1px solid var(--beta-border);
  border-radius: 4px;
  padding: 1px 4px;
  line-height: 1;
  pointer-events: none;
  transition: all 0.3s;
}

@media (max-width: 700px) {
  #ai-time-badge, #map-time-badge, #t10-data-badge { font-size: 0.5rem !important; }
  .beta-badge {
    font-size: .45rem;
  }
}

@keyframes popupIn {
  from { opacity:0; transform: scale(0.88) translateY(20px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}
/* STORY VIEWER */
.story-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7); 
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
}
.story-viewer.active { display: flex; }
.story-nav-zone { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 5; cursor: pointer; }
.story-nav-zone.left { left: 0; }
.story-nav-zone.right { right: 0; }

.story-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.8rem;
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  transition: all 0.2s;
}
.story-nav-zone:hover .story-nav-arrow {
  color: rgba(255, 255, 255, 1);
}
.story-nav-arrow.left { left: 12px; }
.story-nav-arrow.right { right: 12px; }
.story-nav-zone:hover .story-nav-arrow.left { transform: translateY(-50%) translateX(-4px); }
.story-nav-zone:hover .story-nav-arrow.right { transform: translateY(-50%) translateX(4px); }

.story-viewer-content {
  width: 320px; 
  height: 520px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0a0e1a;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  animation: storyPop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  cursor: pointer;
}
.story-progress {
  position: absolute;
  top: 15px; left: 10px; right: 10px;
  display: flex; gap: 5px; z-index: 2;
}
.story-bar { flex: 1; height: 2px; background: rgba(255,255,255,0.3); border-radius: 2px; overflow: hidden; }
.story-bar-fill { height: 100%; background: #fff; width: 0; }
.story-close {
  position: absolute; 
  top: 10px; 
  right: 10px;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff; 
  font-size: 1.4rem; 
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer; 
  z-index: 10;
  transition: all 0.2s;
  line-height: 1;
}
.story-close:hover {
  background: rgba(239, 68, 68, 0.8);
  transform: scale(1.1);
}

.story-img-container { flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.story-img-container img { width: 100%; height: 100%; object-fit: cover; }
.story-text-overlay {
  padding: 40px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.4) 80%, transparent 100%);
  padding-top: 60px;
  position: absolute; bottom: 0; left: 0; right: 0;
  color: #fff;
}
.story-text-overlay h2 { font-size: 1.2rem; margin-bottom: 10px; font-family: var(--title-font); }
.story-text-overlay p { font-size: 0.9rem; line-height: 1.4; color: #ccc; }

/* YUKARI ÇIKMA BUTONU - sadece mobilde */
.scroll-top-btn {
  display: none;
}
@media (max-width: 700px) {
  .scroll-top-btn {
    position: fixed;
    bottom: 26px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    color: #10b981;
    border: 1px solid var(--border-b);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
    z-index: 600;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .scroll-top-btn svg {
    display: block;
  }
  .scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .scroll-top-btn:active {
    transform: scale(0.94);
  }
  #ns-stest-refresh { bottom: 5px; }
  #ns-stest-inner { gap: 0; }
  #ns-stest-sub:empty { display: none; }
}

/* Landscape telefon */
@media (max-height: 500px) and (orientation: landscape) {
  /* Header kompakt */
  header { padding: 0 10px; height: 40px; gap: 6px; }
  .logo { font-size: .78rem; }
  .logo-icon { font-size: 1rem; }
  #clock { font-size: .75rem; }
  .refresh-btn span { display: none; }
  .refresh-btn { padding: 4px 7px !important; }
  .header-right { gap: 6px; }

  /* Arama kutusu gizle (header'dan), toggle göster */
  header .rss-search-box { display: none !important; }
  .rss-search-box {
    position: fixed;
    top: 40px;                    /* yatay header 40px → çubuk header'a sıfır */
    left: 8px; right: 8px;
    max-width: none; min-width: 0;
    margin: 0;
    z-index: 2001;
    display: none !important;
  }
  .rss-search-box.mobile-open { display: block !important; }
  .rss-search-form {
    border-top: none;               /* üst kenar header'a sıfır → odakta yeşil çizgi oluşmaz */
    border-bottom: 1px solid var(--border-b); /* dropdown'da tam border */
    border-radius: 0 0 12px 12px;   /* üst köşeler kare (header'a yapışık) */
  }
  .rss-dropdown {
    position: static !important;
    width: auto !important;
    transform: none !important;
    margin-top: 8px;
    max-height: 50vh;
    display: none;
  }
  .rss-dropdown.show { display: flex !important; transform: none !important; opacity: 1 !important; }
  .rss-dropdown::before { display: none; }
  .rss-mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 4px 7px !important;
    border: 1px solid var(--border-b) !important;
    border-radius: 6px !important;
    background: none !important;
    color: var(--text) !important;
    cursor: pointer;
    flex-shrink: 0;
  }
  .rss-mobile-toggle svg { width: 16px !important; height: 16px !important; }

  /* Ticker — her iki satır kompakt */
  .ticker-wrap { top: 40px; }
  .mkt-ticker { height: 26px; }
  .ticker-item { font-size: .6rem; padding: 0 10px; line-height: 26px; }
  .news-ticker { height: 26px; padding-left: 90px; }
  .news-badge { font-size: .58rem; padding: 0 8px; }
  .news-item { font-size: .65rem; line-height: 26px; }

  /* Hikayeler iki kolonun üstüne tam genişlik sabitlenir */
  .story-carousel-container {
    position: fixed !important;
    top: 92px !important;
    left: 0 !important; right: 0 !important;
    z-index: 105;
    background: var(--bg);
    border-bottom: 1px solid var(--border-b);
    padding: 4px 10px !important;
    display: flex !important;
    align-items: center;
  }
  .story-nav-btn { display: none !important; }
  .story-viewport { padding: 2px 4px !important; gap: 2px !important; }
  .story-label { display: none !important; }
  .story-wrapper { gap: 6px !important; padding: 0 6px !important; }
  .story-item { width: 34px !important; gap: 0 !important; }
  .story-ring { width: 30px !important; height: 30px !important; }
  .story-ring img { width: 24px !important; height: 24px !important; }

  /* 2 kolonlu grid — top = header(40)+mkt(26)+news(26)+stories(~46) */
  .grid {
    display: grid !important;
    grid-template-columns: 240px 1fr !important;
    position: fixed !important;
    top: 138px !important;
    left: 0; right: 0; bottom: 0;
    height: auto !important;
    overflow: hidden;
  }
  .col { height: 100%; overflow: hidden; border-bottom: none; width: auto; }
  .col:nth-child(3) { display: none; }
  .col-center-scroll { overflow-y: auto; height: 100%; }
  .col-body-wrap { max-height: none; overflow-y: auto; height: calc(100% - 32px); }

  /* Col başlıkları — üst/alt padding eşit */
  .col-header { padding: 12px 10px !important; min-height: 0 !important; display: flex !important; }
  .col-header-top { margin-bottom: 0 !important; }
  .col-title { font-size: .6rem !important; }
  .col-bar { height: 10px !important; width: 2px !important; }
  .filters { display: none !important; }

  /* Haber kartları kompakt */
  .card { padding: 5px 10px !important; gap: 7px !important; }
  .card-img { width: 32px !important; height: 32px !important; flex-shrink: 0; }
  .card-title {
    font-size: .66rem !important; line-height: 1.3 !important;
    display: -webkit-box !important; -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important; overflow: hidden !important;
  }
  .card-meta { font-size: .55rem !important; margin-top: 2px !important; }

  /* Daha fazla göster — dar kolonda zaman çizgisi arc'ı gizle */
  .more-btn-wrap::before { display: none !important; }
  .more-btn-wrap { padding: 10px 12px 16px !important; }
  .more-btn { width: 150px !important; font-size: .58rem !important; padding: 8px 14px !important; }

  /* Hikaye daireleri kompakt */
  .story-carousel-container { padding: 4px 6px !important; }
  .story-nav-btn { display: none !important; }
  .story-viewport { padding: 3px 4px !important; gap: 2px !important; }
  .story-ring { width: 30px !important; height: 30px !important; }
  .story-ring img { width: 24px !important; height: 24px !important; }
  .story-wrapper { gap: 1px !important; height: 30px !important; padding: 0 6px !important; justify-content: flex-start !important; }

  /* AI araçları */
  #ai-tools-widget { height: 120px; }
  .ait-tabs { overflow-x: auto; scrollbar-width: none; }
  .ait-tabs::-webkit-scrollbar { display: none; }
  .ait-tab { flex: 0 0 auto; padding: 6px 9px; font-size: .58rem; }
  .ait-body { flex-direction: row; margin-top: 0; border-top: none; }
  .ait-featured {
    width: calc(200% / 7);
    border-right: 1px solid var(--border-b);
    border-bottom: none;
    flex-direction: column;
    background: transparent;
    padding: 8px 10px;
    justify-content: center;
  }
  .ait-featured-name { font-size: .74rem; }
  .ait-featured-desc { font-size: .62rem; }
  .ai-summary-text { font-size: .6rem !important; line-height: 1.45 !important; }
  #ai-summary-content .col-header { padding: 8px 10px !important; }
  #ai-summary-content .col-title { font-size: .58rem !important; }
  .ait-grid { flex-wrap: nowrap; align-items: center; padding: 0 8px; gap: 5px; justify-content: center; }
  .ait-logo-btn { width: 42px; height: 42px; }
  .ait-logo-btn img { width: 22px; height: 22px; }
  .ait-logo-btn-fb { width: 42px; height: 42px; }
  #ns-stest {
    width: 56px;
    height: 56px;
  }
  #ns-speedtest-wrap {
    top: calc(48% - 56px);
  }
  #ns-stest-val  { font-size: 8.5px; }
  #ns-stest-unit { font-size: 6px; }
  #ns-stest-refresh { bottom: 7px; }
  #ns-stest-inner { gap: 0; }
  #ns-stest-sub:empty { display: none; }
}

@keyframes storyPop {
  0% { transform: scale(0.85) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}