/* Üst sağ araç çubuğu — tek cam çubuk, tutarlı çizgi ikonlar, hesap menüsü.
   (Eski: dağınık emoji daireleri + ayrı kırmızı çıkış düğmesi, sayfa içeriğinin üstünde yüzüyordu.)
   main.css/theme-light.css içindeki !important kurallarını kimlik+sınıf özgüllüğü ile ezer. */
#global-top-actions.gta { position: fixed; top: 10px; right: 18px; z-index: 10000000 !important; display: flex; align-items: center; gap: 2px; padding: 4px 6px; border-radius: 14px;
  background: rgba(16,15,19,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(186,133,166,.25); box-shadow: 0 8px 30px rgba(0,0,0,.6); }
#global-top-actions .gta-rel { position: relative; display: inline-flex; align-items: center; z-index: 10000001 !important; }
#global-top-actions #language-dropdown { z-index: 10000002 !important; scrollbar-width: thin; scrollbar-color: rgba(186, 133, 166, 0.4) transparent; }
#global-top-actions #language-dropdown::-webkit-scrollbar { width: 6px; }
#global-top-actions #language-dropdown::-webkit-scrollbar-track { background: transparent; }
#global-top-actions #language-dropdown::-webkit-scrollbar-thumb { background: rgba(186, 133, 166, 0.4); border-radius: 8px; }
#global-top-actions .gta-btn { width: 34px !important; height: 34px !important; padding: 0 !important; margin: 0 !important; border-radius: 10px !important; border: 0 !important; background: transparent !important;
  color: #c9c3cc !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; cursor: pointer; position: relative !important; font-size: 0 !important; transition: background .15s, color .15s; backdrop-filter: none !important; }
#global-top-actions .gta-btn:hover, #global-top-actions .gta-btn:focus-visible { background: rgba(186,133,166,.18) !important; color: #fff !important; outline: none; }
#global-top-actions .gta-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
#global-top-actions .gta-lang { width: auto !important; padding: 0 9px !important; gap: 6px; border-radius: 10px !important; font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; font-size: 11.5px !important; letter-spacing: .05em; }
#global-top-actions .gta-lang svg { width: 16px; height: 16px; }
#global-top-actions .gta-lang #language-button-text { font-size: 11.5px; }
#global-top-actions .gta-sep { width: 1px; height: 20px; background: rgba(255,255,255,.12); margin: 0 6px; }
#global-top-actions .gta-badge { position: absolute !important; top: 1px; right: 1px; min-width: 16px; height: 16px; line-height: 16px; padding: 0 4px; border-radius: 8px; background: var(--danger, #ef4444); color: #fff; font-size: 9.5px; font-weight: 700; text-align: center; box-shadow: 0 0 0 2px rgba(16,15,19,.9); }
#global-top-actions .gta-avatar { width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, #ba85a6, #7c4a6b); color: #fff; font: 700 11px 'Montserrat', sans-serif; letter-spacing: .03em;
  display: inline-flex; align-items: center; justify-content: center; margin: 0 2px 0 0; transition: box-shadow .15s; }
#global-top-actions .gta-avatar:hover { box-shadow: 0 0 0 3px rgba(186,133,166,.35); }
#global-top-actions .gta-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 200px; padding: 6px; border-radius: 12px; background: rgba(12,11,15,.97); border: 1px solid rgba(186,133,166,.28);
  box-shadow: 0 16px 44px rgba(0,0,0,.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); z-index: 100001; }
#global-top-actions .gta-menu-head { padding: 8px 10px 9px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 4px; }
#global-top-actions .gta-menu-head b { display: block; font-size: 12.5px; color: #fff; word-break: break-all; }
#global-top-actions .gta-menu-head small { display: block; font-size: 10.5px; color: #9a93a0; text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }
#global-top-actions .gta-menu a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; color: #d8d2db; font-size: 12.5px; text-decoration: none; cursor: pointer; }
#global-top-actions .gta-menu a:hover { background: rgba(186,133,166,.15); color: #fff; }
#global-top-actions .gta-menu a.gta-out { color: #f87171; }
#global-top-actions .gta-menu a.gta-out:hover { background: rgba(239,68,68,.14); color: #fca5a5; }
#global-top-actions .gta-menu a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#global-top-actions #pwaInstallBtn { padding: 6px 12px; font-size: 11.5px; border-radius: 10px; margin: 0 4px; }
/* açık tema */
html[data-theme="light"] #global-top-actions.gta { background: rgba(255,255,255,.88); border-color: rgba(60,40,70,.12); box-shadow: 0 6px 20px rgba(60,40,70,.14); }
html[data-theme="light"] #global-top-actions .gta-btn { color: #4b4350 !important; }
html[data-theme="light"] #global-top-actions .gta-btn:hover { background: rgba(147,90,126,.14) !important; color: #2a1f2e !important; }
html[data-theme="light"] #global-top-actions .gta-sep { background: rgba(60,40,70,.16); }
html[data-theme="light"] #global-top-actions .gta-badge { box-shadow: 0 0 0 2px #fff; }
html[data-theme="light"] #global-top-actions .gta-menu { background: rgba(255,255,255,.98); border-color: rgba(60,40,70,.16); box-shadow: 0 14px 36px rgba(60,40,70,.18); }
html[data-theme="light"] #global-top-actions .gta-menu-head { border-bottom-color: rgba(60,40,70,.1); }
html[data-theme="light"] #global-top-actions .gta-menu-head b { color: #2a1f2e; }
html[data-theme="light"] #global-top-actions .gta-menu a { color: #4b4350; }
html[data-theme="light"] #global-top-actions .gta-menu a:hover { background: rgba(147,90,126,.12); color: #2a1f2e; }
/* mobil */
@media (max-width: 768px) {
  #global-top-actions.gta { top: 8px !important; right: 8px !important; padding: 3px 4px; gap: 0 !important; }
  #global-top-actions .gta-btn { width: 32px !important; height: 32px !important; }
  #global-top-actions .gta-lang { padding: 0 6px !important; }
  #global-top-actions .gta-lang svg:last-child { display: none; }
  #global-top-actions .gta-sep { margin: 0 3px; }
  #global-top-actions .gta-avatar { width: 28px; height: 28px; }
}
