/* ==========================================================================
   BİTİGEY TÜRKİYAT — DİJİTAL FİLOLOJİ & METİN NEŞRİ İSTASYONU
   Dosya: css/turkiyat.css
   Masaüstü Uygulama Tarzı Arayüz, Splash Boot Animasyonu ve Dock Menü
   İletişim: contact@bitigey.com
   ========================================================================== */

:root {
  --bg-os: #080b11;
  --bg-panel: #0f141f;
  --bg-card: #151b29;
  --bg-hover: #1e2638;
  --border-station: #252e42;
  --border-gold: #d4af37;

  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-gold: #f3cf65;

  --accent-gold: #d4af37;
  --accent-gold-glow: rgba(212, 175, 55, 0.25);
  --accent-emerald: #10b981;
  --accent-crimson: #ef4444;
  --accent-azure: #38bdf8;

  --font-serif: 'EB Garamond', 'Amiri', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-dock: 0 10px 30px rgba(0,0,0,0.6);
}

body.parchment-mode {
  --bg-os: #f4efe2;
  --bg-panel: #eae3d2;
  --bg-card: #fbf8f0;
  --bg-hover: #e2d9c4;
  --border-station: #cfc2a7;
  --border-gold: #8d6219;

  --text-primary: #231c15;
  --text-secondary: #655646;
  --text-gold: #734f11;

  --accent-gold: #8d6219;
  --accent-gold-glow: rgba(141, 98, 25, 0.15);

  --shadow-dock: 0 10px 30px rgba(80,60,35,0.15);
}

* {
  box-sizing: border-box;
}

body.turkiyat-body {
  margin: 0;
  padding: 0;
  background: var(--bg-os);
  color: var(--text-primary);
  font-family: var(--font-sans);
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 🌟 1. FİYAKALI AÇILIŞ / SPLASH BOOT SEKANSI */
.turkiyat-splash-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #131926 0%, #06080d 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  user-select: none;
}

.turkiyat-splash-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-emblem {
  width: 90px;
  height: 90px;
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--accent-gold);
  box-shadow: 0 0 35px var(--accent-gold-glow);
  margin-bottom: 1.5rem;
  animation: emblemPulse 2s ease-in-out infinite;
}

@keyframes emblemPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 25px var(--accent-gold-glow); }
  50% { transform: scale(1.05); box-shadow: 0 0 45px rgba(212, 175, 55, 0.4); }
}

.splash-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem 0;
}

.splash-subtitle {
  font-size: 0.95rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2rem;
  font-weight: 600;
}

.splash-progress-container {
  width: 320px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.splash-progress-bar {
  width: 0%;
  height: 100%;
  background: var(--accent-gold);
  transition: width 0.2s linear;
}

.splash-log {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.splash-skip-hint {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* 🏛️ 2. İSTASYON ÜST BARI (TOP OS BAR) */
body.turkiyat-body header.turkiyat-top-bar,
body.turkiyat-body .turkiyat-top-bar,
.turkiyat-top-bar {
  background: var(--bg-panel) !important;
  background-color: #0f141f !important;
  border-bottom: 1px solid var(--border-station) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  padding: 0.75rem 2rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  z-index: 1000 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
}

body.turkiyat-body.parchment-mode header.turkiyat-top-bar,
body.turkiyat-body.parchment-mode .turkiyat-top-bar {
  background: var(--bg-panel) !important;
  background-color: #eae3d2 !important;
  border-bottom: 1px solid var(--border-station) !important;
  box-shadow: 0 4px 15px rgba(80, 60, 35, 0.1) !important;
}

.station-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.station-seal {
  width: 38px;
  height: 38px;
  background: var(--accent-gold-glow);
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.station-title-text h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.turkiyat-body.parchment-mode .station-title-text h2 {
  color: #231c15 !important;
}

.station-tagline {
  font-size: 0.74rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.station-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* 🧭 3. MODÜL SEÇİCİ DOCK BARI (APP DOCK) */
.turkiyat-dock-wrapper {
  position: relative;
  width: 100%;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-station);
  display: flex;
  align-items: center;
}

.turkiyat-dock-bar {
  width: 100%;
  background: transparent;
  padding: 0.5rem 3.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  /* Scrollbar gizle – tüm tarayıcılar */
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.turkiyat-dock-bar:active {
  cursor: grabbing;
}

.turkiyat-dock-bar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Dock Navigasyon Ok Butonları (Yatay Kaydırma Kolaylığı) */
.dock-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
  background: rgba(15, 23, 42, 0.92);
  color: var(--accent-gold);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.dock-nav-arrow:hover {
  background: var(--accent-gold);
  color: #0b101b;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.6);
}

.dock-arrow-left {
  left: 0.75rem;
}

.dock-arrow-right {
  right: 0.75rem;
}

.dock-nav-arrow.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.85);
}

/* Cihaza Kaydedildi Rozeti */
.station-save-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.station-save-badge.saving {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--accent-gold);
}

.turkiyat-dock-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--text-secondary);
  text-decoration: none;
}

a.turkiyat-dock-btn {
  color: var(--text-secondary);
  text-decoration: none;
}

a.turkiyat-dock-btn:visited {
  color: var(--text-secondary);
}

.turkiyat-dock-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.turkiyat-dock-btn.active {
  background: var(--bg-card);
  color: var(--accent-gold);
  border-color: var(--border-station);
  border-bottom: 2px solid var(--accent-gold);
  box-shadow: 0 2px 8px rgba(212,175,55,0.12);
}

/* 📐 4. MODÜL GÖVDE ALANI */
.turkiyat-main-viewport {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.75rem 2rem 4rem;
  max-width: 1750px;
  width: 100%;
  margin: 0 auto;
}

.turkiyat-module {
  display: none;
  animation: moduleFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.turkiyat-module.active {
  display: block;
}

@keyframes moduleFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ⚖️ 5. ARUZ VEZNİ MODÜLÜ TASARIMI */
.aruz-suite-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}

.aruz-input-card {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.aruz-input-group {
  margin-bottom: 1rem;
}

.aruz-input-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.aruz-input-field {
  width: 100%;
  background: var(--bg-os);
  border: 1px solid var(--border-station);
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s;
}

.aruz-input-field:focus {
  border-color: var(--accent-gold);
}

.aruz-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.aruz-meter-header {
  border-bottom: 1px solid var(--border-station);
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
}

.aruz-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-gold);
}

.aruz-meter-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 0.25rem 0;
  color: var(--text-primary);
}

.aruz-meter-pattern {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent-gold);
}

.aruz-verse-row {
  margin-bottom: 1.25rem;
}

.aruz-syllables-chain {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin: 0.6rem 0;
}

.syl-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--bg-os);
  border: 1px solid var(--border-station);
  font-family: var(--font-serif);
}

.syl-pill.syl-closed {
  border-color: var(--accent-gold);
  background: var(--accent-gold-glow);
}

.syl-pill.syl-open {
  border-color: var(--accent-azure);
}

.syl-text {
  font-size: 1.05rem;
  font-weight: 600;
}

.syl-mark {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
}

/* 📖 6. KÂMUS LÜGAT MODÜLÜ TASARIMI */
.kamus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.1rem;
  margin-top: 1.25rem;
}

.kamus-card {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: transform 0.15s, border-color 0.15s;
}

.kamus-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
}

.kamus-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed var(--border-station);
  padding-bottom: 0.5rem;
  margin-bottom: 0.65rem;
}

.kamus-word {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-primary);
}

.kamus-origin {
  font-size: 0.72rem;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  border-radius: 2px;
}

.kamus-meaning {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.kamus-example {
  margin-top: 0.65rem;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-primary);
  border-left: 2px solid var(--accent-gold);
  padding-left: 0.65rem;
}

/* 📡 7. CANLI TÜRKİYAT RSS BÜLTENİ */
.turkiyat-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.turkiyat-news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s;
}

.turkiyat-news-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
}

.news-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.news-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.news-date {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.news-title {
  margin: 0 0 0.65rem 0;
  font-size: 1.05rem;
  line-height: 1.45;
}

.news-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.news-title a:hover {
  color: var(--accent-gold);
}

.news-summary {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.news-source {
  font-size: 0.78rem;
  color: var(--accent-gold);
  font-weight: 600;
  border-top: 1px solid var(--border-station);
  padding-top: 0.65rem;
}

/* 📚 8. KAYNAKÇA & DİPNOT KARTLARI */
.cite-result-item {
  background: var(--bg-os);
  border: 1px solid var(--border-station);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.cite-result-item code {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-primary);
}

/* Toast Bildirimi */
.turkiyat-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-panel);
  border: 1px solid var(--accent-gold);
  color: var(--text-primary);
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-dock);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.turkiyat-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* 🌐 9. VİKİPEDİ & AKADEMİK ANSİKLOPEDİ ARAŞTIRMA TEZGAHI */
.wiki-search-box {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.wiki-search-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  color: var(--text-primary);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
}

.wiki-search-input:focus {
  border-color: var(--accent-gold);
}

.wiki-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.wiki-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  color: var(--text-secondary);
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.wiki-chip:hover {
  background: var(--bg-hover);
  border-color: var(--accent-gold);
  color: var(--text-gold);
}

.wiki-article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.wiki-article-header {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.wiki-article-thumb {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  flex-shrink: 0;
}

.wiki-article-info h3 {
  margin: 0 0 0.4rem 0;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--text-gold);
}

.wiki-article-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.wiki-article-extract {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-primary);
  border-top: 1px solid var(--border-station);
  padding-top: 1rem;
}

.wiki-cite-box {
  background: var(--bg-os);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-size: 0.88rem;
}

.wiki-cite-box strong {
  color: var(--accent-gold);
}

.wiki-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* 🇰🇿 10. ORTA ASYA KİRİL ÇEVİRİCİ MOTORU */
.kiril-dialect-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.kiril-dialect-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  color: var(--text-secondary);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.15s ease;
}

.kiril-dialect-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.kiril-dialect-btn.active {
  background: var(--accent-gold-glow);
  border-color: var(--accent-gold);
  color: var(--text-gold);
}

.kiril-workspace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.kiril-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
}

.kiril-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.kiril-panel-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.kiril-textarea {
  width: 100%;
  height: 220px;
  background: var(--bg-os);
  border: 1px solid var(--border-station);
  color: var(--text-primary);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
}

.kiril-textarea:focus {
  border-color: var(--accent-gold);
}

.kiril-tray-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  margin-bottom: 1rem;
  align-items: center;
}

.kiril-tray-label {
  font-size: 0.78rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-right: 0.5rem;
}

.kiril-key-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  color: var(--text-primary);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.kiril-key-btn:hover {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
  transform: translateY(-1px);
}

.kiril-sample-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

/* 📱 11. DERİN RESPONSİVE UYUM */
@media (max-width: 1100px) {
  .ek-workspace {
    grid-template-columns: 1fr;
  }
  .kiril-workspace-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  body.turkiyat-body header.turkiyat-top-bar,
  body.turkiyat-body .turkiyat-top-bar {
    padding: 0.6rem 1rem !important;
    gap: 0.5rem !important;
  }

  .station-title-text h2 {
    font-size: 1.05rem;
  }

  .station-tagline {
    display: none; /* Mobilde yer kazanmak için */
  }

  .station-actions .ek-btn span.btn-text,
  .station-actions a.ek-btn-primary span.btn-text {
    display: none;
  }

  .turkiyat-dock-bar {
    padding: 0.35rem 0.5rem;
    gap: 0.25rem;
  }

  .turkiyat-dock-btn {
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
  }

  .turkiyat-dock-btn .dock-label {
    font-size: 0.75rem;
  }

  .turkiyat-main-viewport {
    padding: 0.85rem 0.6rem;
  }

  .ek-meta-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .ek-meta-group {
    flex-wrap: wrap;
  }

  .ek-transcription-tray {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.5rem;
  }

  .aruz-suite-grid {
    grid-template-columns: 1fr;
  }

  .wiki-article-header {
    flex-direction: column;
  }

  .wiki-article-thumb {
    width: 100%;
    height: 180px;
  }
}

/* 🖥️ TAM EKRAN MODU (FALLBACK & NATIVE UYUMU) */
body.station-fullscreen-active {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: var(--bg-os) !important;
}

/* 📖 SÖZLÜK (CANLI RSS DESTEKLİ EDEBİYAT & FİLOLOJİ LÜGATI) */
.sozluk-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
  align-items: center;
}

.sozluk-cat-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.sozluk-cat-btn:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
  background: var(--bg-hover);
}

.sozluk-cat-btn.active {
  background: var(--accent-gold-glow);
  border-color: var(--accent-gold);
  color: var(--text-gold);
}

.sozluk-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.sozluk-word-card {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.sozluk-word-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.sozluk-word-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.sozluk-word-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-gold);
  margin: 0;
}

.sozluk-origin-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: var(--bg-hover);
  color: var(--text-secondary);
  border: 1px solid var(--border-station);
}

.sozluk-meaning {
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  flex-grow: 1;
}

.sozluk-couplet-box {
  background: var(--bg-os);
  border-left: 3px solid var(--accent-gold);
  padding: 0.65rem 0.85rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* 📻 KÖG RADYO WORKSTATION EKLENTİSİ (FLOATING / DOCKED WIDGET) */
.turkiyat-radio-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9500;
  background: rgba(15, 20, 31, 0.96);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: 330px;
  padding: 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body.parchment-mode .turkiyat-radio-widget {
  background: rgba(244, 239, 226, 0.96);
  border-color: var(--accent-gold);
  box-shadow: 0 16px 35px rgba(80, 60, 35, 0.25);
}

.turkiyat-radio-widget.minimized {
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.turkiyat-radio-widget.minimized .radio-widget-content {
  display: none;
}

.turkiyat-radio-widget.minimized .radio-mini-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.3rem;
  color: var(--accent-gold);
}

.radio-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.radio-widget-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-gold);
}

.radio-vinyl-disc {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #2a2a2a 40%, #050505 100%);
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinVinyl 3.5s linear infinite;
  animation-play-state: paused;
}

.radio-vinyl-disc.playing {
  animation-play-state: running;
}

@keyframes spinVinyl {
  100% { transform: rotate(360deg); }
}

.radio-stream-select {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  color: var(--text-primary);
  font-size: 0.8rem;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  outline: none;
  width: 100%;
}

.radio-widget-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
}

.radio-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-gold);
  border: none;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: transform 0.15s, background-color 0.15s;
}

.radio-play-btn:hover {
  transform: scale(1.06);
  background: #e6be44;
}

/* 🧩 EKLENTİLER MODALI (PLUGINS MODAL) */
.plugin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.plugin-card {
  background: var(--bg-os);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.plugin-card-info h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  color: var(--text-gold);
}

.plugin-card-info p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* 🏛️ BİTİGEY AKADEMİK EKOSİSTEMİ & AĞ HARİTASI */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.ecosystem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  position: relative;
}

.ecosystem-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.ecosystem-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

.ecosystem-card h3 {
  margin: 0 0 0.4rem 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-gold);
}

.ecosystem-card p {
  margin: 0 0 1rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex-grow: 1;
}

.ecosystem-link-hint {
  font-size: 0.78rem;
  color: var(--accent-azure);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ⚡ BİTİGEY SEO BADGE */
.bitigey-seo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 9999px;
  color: var(--text-gold);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.bitigey-seo-badge:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--accent-gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  color: #fff;
}

.bitigey-seo-badge i {
  color: var(--accent-gold);
  font-size: 0.85rem;
}

/* 🧮 EBCED & TARİH DÜŞÜRME STİLLERİ */
.ebced-dashboard {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ebced-input-box {
  width: 100%;
  min-height: 110px;
  background: rgba(15, 20, 31, 0.8);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  padding: 1rem;
  resize: vertical;
  line-height: 1.6;
}

.ebced-input-box:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px var(--accent-gold-glow);
}

.ebced-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.ebced-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.ebced-metric-value {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent-gold);
}

.ebced-metric-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.ebced-breakdown-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.ebced-breakdown-table th, .ebced-breakdown-table td {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-station);
  text-align: left;
}

.ebced-breakdown-table th {
  background: rgba(255,255,255,0.03);
  color: var(--text-gold);
  font-family: var(--font-serif);
}

/* 📜 KODİKOLOJİ & YAZMA ESER TAVSİF FORMU */
.kodikoloji-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.kodikoloji-group {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.kodikoloji-group h3 {
  margin: 0 0 1rem 0;
  font-family: var(--font-serif);
  color: var(--text-gold);
  font-size: 1.15rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding-bottom: 0.5rem;
}

.kodikoloji-field {
  margin-bottom: 0.85rem;
}

.kodikoloji-field label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.kodikoloji-field input, .kodikoloji-field select, .kodikoloji-field textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
}

.kodikoloji-field input:focus, .kodikoloji-field select:focus, .kodikoloji-field textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

/* 🌐 STANDALONE SEO SAYFA DÜZENİ */
.turkiyat-standalone-header {
  background: #0f141f;
  border-bottom: 1px solid var(--border-station);
  padding: 0.85rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.turkiyat-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.standalone-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem 1.5rem;
}

.standalone-seo-content {
  margin-top: 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  line-height: 1.8;
}

.standalone-seo-content h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-gold);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.standalone-seo-content h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-top: 1.5rem;
}

.standalone-seo-content p, .standalone-seo-content li {
  color: var(--text-secondary);
  font-size: 1rem;
}

.standalone-hub-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--border-station);
  margin-bottom: 1.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  cursor: grab;
}

.standalone-hub-bar:active {
  cursor: grabbing;
}

.standalone-hub-bar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.standalone-hub-btn {
  padding: 0.45rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.standalone-hub-btn:hover, .standalone-hub-btn.active {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--accent-gold);
  color: var(--text-gold);
}
/* ================================================================
   EKLENTİLER SİSTEMİ (PLUGIN ECOSYSTEM)
   ================================================================ */

/* --- Plugin Modal Genel Kaplama --- */
.plugin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 13, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3.5rem 1rem 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.plugin-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.plugin-modal-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  width: 100%;
  max-width: 920px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  animation: pluginSlideIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pluginSlideIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.plugin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-station);
  flex-shrink: 0;
}

.plugin-modal-header h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.plugin-modal-header h3 i {
  color: var(--accent-gold);
}

.plugin-modal-close {
  background: transparent;
  border: 1px solid var(--border-station);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.15s;
}

.plugin-modal-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--accent-gold);
}

.plugin-modal-body {
  overflow-y: auto;
  padding: 1.5rem 1.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border-station) transparent;
}

/* --- Plugin Kart Izgara --- */
.plugin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.plugin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.plugin-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent-gold);
  opacity: 0;
  transition: opacity 0.2s;
}

.plugin-card:hover {
  border-color: rgba(212,175,55,0.35);
  box-shadow: 0 4px 20px rgba(212,175,55,0.08);
  transform: translateY(-2px);
}

.plugin-card:hover::before {
  opacity: 1;
}

.plugin-card.plugin-active {
  border-color: var(--accent-gold);
  background: rgba(212,175,55,0.06);
}

.plugin-card.plugin-active::before {
  opacity: 1;
}

.plugin-icon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plugin-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-gold-glow);
  border: 1px solid rgba(212,175,55,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.plugin-status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

.plugin-status-badge.on  { background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
.plugin-status-badge.off { background: rgba(148,163,184,0.1); color: var(--text-secondary); border: 1px solid var(--border-station); }

.plugin-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.plugin-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.plugin-toggle-btn {
  align-self: flex-start;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-station);
  background: var(--bg-hover);
  color: var(--text-secondary);
  transition: all 0.15s;
}

.plugin-toggle-btn:hover { border-color: var(--accent-gold); color: var(--accent-gold); }
.plugin-toggle-btn.active { background: var(--accent-gold); color: #080b11; border-color: var(--accent-gold); }

/* --- Aktif Eklenti Tepsisi (Dock altında kayar bar) --- */
.plugin-tray {
  background: rgba(212,175,55,0.06);
  border-bottom: 1px solid rgba(212,175,55,0.2);
  padding: 0.35rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: all 0.2s;
}

.plugin-tray:empty,
.plugin-tray.hidden {
  display: none;
}

.plugin-tray::-webkit-scrollbar { display: none; }

.plugin-tray-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent-gold);
  font-weight: 700;
  white-space: nowrap;
  margin-right: 0.25rem;
}

.plugin-tray-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.25);
  color: var(--text-gold);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.plugin-tray-item:hover {
  background: rgba(212,175,55,0.2);
  border-color: var(--accent-gold);
}

/* --- TDV İA Eklentisi Paneli --- */
.tdvia-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1rem;
}

.tdvia-search-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tdvia-search-row input {
  flex: 1;
  background: var(--bg-hover);
  border: 1px solid var(--border-station);
  color: var(--text-primary);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.15s;
}

.tdvia-search-row input:focus { border-color: var(--accent-gold); }

.tdvia-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.65rem;
}

.tdvia-entry {
  background: var(--bg-hover);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.15s;
}

.tdvia-entry:hover {
  border-color: var(--accent-gold);
  background: rgba(212,175,55,0.06);
}

.tdvia-entry-title { font-size: 0.92rem; font-weight: 700; color: var(--text-primary); }
.tdvia-entry-meta  { font-size: 0.78rem; color: var(--text-secondary); margin-top: 0.25rem; }

/* --- Noktalama Düzenleyici Paneli --- */
.noktalama-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1rem;
}

.noktalama-panel textarea {
  width: 100%;
  min-height: 130px;
  background: var(--bg-hover);
  border: 1px solid var(--border-station);
  color: var(--text-primary);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-serif);
  line-height: 1.7;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.noktalama-panel textarea:focus { border-color: var(--accent-gold); }

.noktalama-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0;
}

.rule-chip {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.25);
  color: var(--accent-azure);
  font-weight: 600;
}

/* --- Müsvette (Scratchpad) Eklentisi --- */
.musvette-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-station);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1rem;
}

.musvette-panel textarea {
  width: 100%;
  min-height: 180px;
  background: var(--bg-hover);
  border: 1px solid var(--border-station);
  color: var(--text-primary);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-serif);
  line-height: 1.7;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.musvette-panel textarea:focus { border-color: var(--accent-gold); }

.musvette-status {
  font-size: 0.78rem;
  color: var(--accent-emerald);
  margin-top: 0.35rem;
}

/* --- KÖG Radyo Eklentisi Mini Çalar --- */
.kog-radio-mini {
  background: linear-gradient(135deg, rgba(212,175,55,0.08) 0%, rgba(16,185,129,0.05) 100%);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.kog-radio-info { flex: 1; }
.kog-radio-info .kog-track-name { font-size: 0.95rem; font-weight: 700; color: var(--text-gold); }
.kog-radio-info .kog-track-sub  { font-size: 0.78rem; color: var(--text-secondary); margin-top: 0.15rem; }

.kog-radio-controls { display: flex; gap: 0.5rem; }

.kog-radio-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.3);
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: all 0.15s;
}

.kog-radio-btn:hover { background: var(--accent-gold); color: #080b11; }

/* Plugin section başlığı */
.plugin-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin: 1.25rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-station);
}

.plugin-section-title:first-child { margin-top: 0; }

@media (max-width: 680px) {
  .plugin-modal-box { max-height: 90vh; }
  .plugin-grid { grid-template-columns: 1fr; }
  .tdvia-results { grid-template-columns: 1fr; }
}

/* 🏛️ TÜRKİYAT İSTASYON AKADEMİK ALT BİLGİ (CLEAN FOOTER) */
.turkiyat-station-footer {
  margin-top: 4.5rem;
  padding: 2.25rem 0 1.5rem;
  border-top: 1px solid var(--border-station);
  width: 100%;
}

.station-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.station-footer-left {
  max-width: 420px;
}

.station-footer-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.station-footer-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.station-gh-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 30px;
  color: var(--accent-gold);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.station-gh-pill:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  color: #fff;
}

.station-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

@media (max-width: 860px) {
  .station-footer-right {
    align-items: flex-start;
  }
}

.station-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.82rem;
}

.station-footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.station-footer-links a:hover {
  color: var(--accent-gold);
}

.station-footer-links .sep {
  color: var(--border-station);
  font-size: 0.7rem;
}

.station-footer-copy {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.75;
}

body.parchment-mode .station-gh-pill {
  background: #fff;
  border-color: #8d6219;
  color: #8d6219;
}

body.parchment-mode .station-gh-pill:hover {
  background: rgba(141, 98, 25, 0.12);
}

