/* DarkOrbit HTML5 Modern CSS Styling */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800;900&family=Rajdhani:wght@500;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #03060c;
  font-family: 'Rajdhani', sans-serif;
  color: #e0f2fe;
}

#game-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at center, #070d19 0%, #020408 100%);
  isolation: isolate;
  contain: layout size;
}

#game-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: default;
  z-index: 1;
  display: block;
}

/* ================= TOP BAR ================= */
#top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 38px;
  background: transparent;
  border-bottom: none;
  border: none;
  box-shadow: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 12px 0 12px;
  z-index: 20;
  pointer-events: none;
}

/* ================= TOP BAR XP PROGRESSION TRACKER ================= */
.top-section.center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 14px;
  pointer-events: auto;
  max-width: 540px;
  margin: 0 auto;
}

.hud-xp-tracker {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 480px;
  height: 27px;
  background: rgba(6, 12, 24, 0.88);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 5px;
  padding: 2px 8px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.8), inset 0 0 8px rgba(16, 185, 129, 0.15);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hud-xp-tracker:hover {
  border-color: #34d399;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4), inset 0 0 10px rgba(16, 185, 129, 0.25);
  transform: translateY(1px);
}

.hud-xp-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #34d399;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.55);
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.3);
}

.hud-xp-bar-wrapper {
  position: relative;
  flex: 1;
  height: 16px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hud-xp-bar-inner {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #059669 0%, #10b981 60%, #34d399 100%);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.6);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hud-xp-label {
  position: relative;
  z-index: 2;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 6px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.3px;
}

@media (max-width: 1200px) {
  .top-section.center {
    max-width: 320px;
    padding: 0 6px;
  }
  .hud-xp-tracker {
    max-width: 300px;
  }
  .hud-xp-label {
    font-size: 10.5px;
  }
}

@media (max-width: 950px) {
  .top-section.center {
    display: none;
  }
}

/* Saldırıya Korumalı Güvenli Bölge Banner (Üst Orta Çerçevesiz & Beyaz Yazı) */
.safe-zone-banner {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 2px 10px;
  box-shadow: none !important;
  z-index: 25;
  pointer-events: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.safe-zone-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(-12px);
  pointer-events: none;
}

.safe-zone-banner .safe-icon {
  font-size: 16px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.95));
}

.safe-zone-banner .safe-text {
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 2px 5px rgba(0, 0, 0, 0.95) !important;
}

.safe-zone-banner .safe-sub {
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7), 0 2px 5px rgba(0, 0, 0, 0.95) !important;
}

/* Bonus Kutusu Üst Ekran Büyük Bildirim Bannerı (Çerçevesiz & Beyaz Yazı) */
.bonus-box-banner {
  position: absolute;
  top: 54px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  will-change: transform, opacity;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 8px 28px;
  box-shadow: none !important;
  z-index: 35;
  pointer-events: none;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: #ffffff !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 2px 6px rgba(0, 0, 0, 0.95) !important;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.bonus-box-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(-22px) scale(0.88) translateZ(0);
  pointer-events: none;
}

.top-section {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 30, 60, 0.6);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(0, 180, 255, 0.3);
}

.rank-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px #ffd700);
}

.company-logo-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.user-name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.user-company {
  font-weight: 700;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
}

.company-mmo { background: #9a3412; color: #ffedd5; }
.company-eic { background: #1d4ed8; color: #dbeafe; }

.user-level {
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 6px;
  border-radius: 2px;
}

.bar-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 170px;
}

.status-bar {
  position: relative;
  height: 14px;
  background: rgba(10, 20, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.status-bar.mini {
  height: 12px;
}

.bar-inner {
  height: 100%;
  transition: width 0.15s ease-out;
}

.hp-bar {
  background: linear-gradient(90deg, #15803d 0%, #16a34a 100%);
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.4);
}

.shield-bar {
  background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 100%);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

.speed-bar {
  background: linear-gradient(90deg, #ea580c 0%, #f97316 100%);
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.4);
}

.cargo-bar {
  background: linear-gradient(90deg, #ca8a04 0%, #eab308 100%);
  box-shadow: 0 0 8px rgba(234, 179, 8, 0.4);
}

.bar-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 3px #000000, 1px 1px 2px #000;
  white-space: nowrap;
}

.resource-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(5, 15, 25, 0.7);
  border: 1px solid rgba(0, 200, 255, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
}

.res-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 11px;
  width: 18px;
  height: 18px;
  border-radius: 3px;
}

.res-img-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.cred-icon { background: #b45309; color: #fef3c7; }
.uri-icon { background: #0284c7; color: #e0f2fe; box-shadow: 0 0 6px #0284c7; }
.gg-icon { background: #7c3aed; color: #ede9fe; }
.fps-icon { background: #059669; color: #d1fae5; font-size: 10px; }
.fps-val { color: #34d399; font-weight: 800; }

.res-val {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #f8fafc;
}

.res-val.uri-text {
  color: #38bdf8;
}

.hud-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
}

.hud-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #09090b !important;
  color: #e4e4e7 !important;
  border: 1.5px solid #3f3f46 !important;
  padding: 4px 12px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  outline: none;
  white-space: nowrap;
}

.hud-btn:hover {
  background: #18181b !important;
  color: #ffffff !important;
  border-color: #a1a1aa !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.8) !important;
  transform: translateY(-1px);
}

.hud-btn:active {
  transform: translateY(1px);
  background: #27272a !important;
  border-color: #d4d4d8 !important;
}

/* Küçük İkon Butonları (Ses & Tam Ekran) */
#btn-audio-toggle, #btn-fullscreen {
  min-width: 32px;
  padding: 4px 7px;
  font-size: 13px;
}

/* ================= REWARD NOTIFICATIONS (Upper Screen Compact) ================= */
.rewards-notification-container {
  position: absolute;
  top: 54px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 10000;
  pointer-events: none;
  max-width: 850px;
  width: 90%;
}

.reward-notification-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  color: #ffffff !important;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.6px;
  transform: translateZ(0);
  will-change: transform, opacity;
  backface-visibility: hidden;
  opacity: 1;
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
  animation: rewardSlideIn 0.2s ease-out;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.9) !important;
}

.reward-notification-item.fade-out {
  opacity: 0 !important;
  transform: translateY(-10px) scale(0.96) !important;
}

.reward-notification-item.alien-reward {
  /* Her zaman görünür ve okunur */
}

.reward-notification-item.bonus-reward,
.reward-notification-item.cargo-reward,
.reward-notification-item.sell-reward {
  padding: 4px 16px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.reward-notification-item,
.reward-notification-item * {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.9) !important;
}

/* Görev Tamamlandı Yeşil Üst Bildirim */
.reward-notification-item.quest-reward,
.reward-notification-item.quest-reward * {
  color: #4ade80 !important;
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.75), 0 2px 5px rgba(0, 0, 0, 0.95) !important;
}

.quest-completion-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.quest-completion-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 17.5px;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: #4ade80 !important;
}

.quest-completion-rewards {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #86efac !important;
}

/* Yaratık Kesme Kompakt Kart (Çerçevesiz & Büyük Beyaz Yazı) */
.alien-kill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  background: transparent !important;
  border: none !important;
}

.kill-card-header {
  font-family: 'Orbitron', sans-serif;
  font-size: 16.5px;
  font-weight: 900;
  letter-spacing: 0.9px;
  color: #ffffff !important;
}

.kill-card-header .kill-alien-name {
  color: #ffffff !important;
  font-size: 17.5px;
  font-weight: 900;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.95) !important;
}

.kill-card-header .kill-destroyed-text {
  color: #ffffff !important;
  font-size: 15.5px;
  margin-left: 5px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95) !important;
}

.kill-card-lines-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.kill-line {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95) !important;
}

.kill-line.xp { color: #ffffff !important; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95) !important; }
.kill-line.honor { color: #ffffff !important; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95) !important; }
.kill-line.credits { color: #ffffff !important; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95) !important; }
.kill-line.uridium { color: #ffffff !important; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95) !important; }

@keyframes rewardSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}



/* ================= TARGET HUD (Kullanıcı İsteği ile Kaldırıldı) ================= */
#target-hud {
  display: none !important;
}

.target-card {
  width: 250px;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.target-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4px;
}

.target-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  color: #f87171;
  letter-spacing: 0.8px;
  text-shadow: 0 1px 4px #000000, 0 0 10px rgba(0, 0, 0, 0.95), 0 0 8px rgba(239, 68, 68, 0.7);
  text-align: center;
}

.target-badge {
  display: none;
}

.target-bars {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 0;
}

.target-bars .status-bar.mini {
  height: 9px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.target-bars .bar-text {
  font-size: 8.5px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 3px #000000, 1px 1px 2px #000000;
}

.target-footer {
  display: none;
}

.target-atk-btn {
  display: none;
}

/* ================= TAM SOL DAİRESEL EYLEM DOCKU (LAZER & ROKET) ================= */
#combat-action-dock {
  position: fixed;
  left: 20px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 45;
  pointer-events: auto;
}

.dock-slot-group {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dock-circle-btn {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  user-select: none;
}

.dock-circle-btn.laser-btn {
  border: 1.8px solid rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}

.dock-circle-btn.laser-btn:hover {
  transform: scale(1.12);
  border-color: #38bdf8;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.75);
}

.dock-circle-btn.rocket-btn {
  border: 1.8px solid rgba(251, 146, 60, 0.85);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.35);
}

.dock-circle-btn.rocket-btn:hover {
  transform: scale(1.12);
  border-color: #fb923c;
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.75);
}

.dock-circle-btn:active {
  transform: scale(0.94);
}

.dock-circle-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.35));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.dock-circle-btn.rocket-btn .dock-circle-img {
  transform: rotate(-45deg);
  width: 52px;
  height: 52px;
}

.dock-circle-btn.rocket-btn:hover .dock-circle-img {
  transform: rotate(-45deg) scale(1.1);
}

.dock-circle-type {
  position: absolute;
  top: -7px;
  left: -4px;
  background: rgba(8, 14, 24, 0.95);
  border: 1px solid rgba(250, 204, 21, 0.6);
  border-radius: 6px;
  padding: 1px 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 900;
  color: #facc15;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 6px rgba(250, 204, 21, 0.25);
  pointer-events: none;
  white-space: nowrap;
}

.dock-circle-btn.laser-btn .dock-circle-type {
  border-color: rgba(56, 189, 248, 0.6);
  color: #38bdf8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 6px rgba(56, 189, 248, 0.25);
}

.dock-circle-btn.rocket-btn .dock-circle-type {
  border-color: rgba(251, 146, 60, 0.6);
  color: #fb923c;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 6px rgba(251, 146, 60, 0.25);
}

.dock-circle-badge {
  position: absolute;
  bottom: -5px;
  right: -4px;
  background: rgba(8, 14, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  padding: 1px 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #f8fafc;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

/* Yukarı Doğru Açılan Slot Menüsü */
.dock-flyout-menu {
  position: absolute;
  bottom: 78px;
  left: 0;
  right: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: rgba(6, 12, 22, 0.96);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.9), 0 0 14px rgba(56, 189, 248, 0.2);
  backdrop-filter: blur(10px);
  z-index: 50;
  min-width: 220px;
  transition: opacity 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom left;
}

.dock-flyout-menu.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.92);
}

.dock-flyout-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 20, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 5px 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.dock-flyout-item:hover {
  border-color: #38bdf8;
  background: rgba(30, 58, 138, 0.6);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
  transform: translateX(4px);
}

.dock-flyout-item.active {
  border-color: #38bdf8;
  background: linear-gradient(90deg, rgba(3, 105, 161, 0.8) 0%, rgba(7, 89, 133, 0.6) 100%);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6), inset 0 0 6px rgba(255, 255, 255, 0.2);
}

.flyout-slot-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 900;
  color: #facc15;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(250, 204, 21, 0.4);
  border-radius: 3px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flyout-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.25));
}

.flyout-img.rocket-flyout-img {
  transform: rotate(-45deg);
  width: 36px;
  height: 36px;
}

.flyout-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: #e2e8f0;
  margin-left: 2px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.flyout-ammo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  color: #38bdf8;
  margin-left: auto;
  padding-left: 8px;
  white-space: nowrap;
}

/* ================= MINIMAP ================= */
#minimap-container {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 360px;
  background: #09090b;
  border: 2px solid #3f3f46;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.95), inset 0 0 12px rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  overflow: hidden;
  z-index: 20;
  user-select: none;
  transition: width 0.2s ease;
}

.minimap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #121215;
  border-bottom: 1.5px solid #27272a;
  padding: 4px 8px;
  height: 26px;
  user-select: none;
  cursor: grab;
  position: relative;
}

.minimap-header:active {
  cursor: grabbing;
}

.minimap-header-left {
  display: flex;
  align-items: center;
  width: auto;
  min-width: 110px;
  white-space: nowrap;
}

.minimap-coords {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #a1a1aa;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.minimap-title-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #f59e0b;
  letter-spacing: 0.8px;
  text-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
  pointer-events: none;
}

.minimap-bullet {
  color: #f59e0b;
  font-size: 14px;
  line-height: 1;
}

.minimap-map-id {
  color: #f59e0b;
  font-weight: 800;
}

.minimap-zoom-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.radar-zoom-btn {
  background: #18181b;
  border: 1px solid #3f3f46;
  color: #a1a1aa;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 900;
  font-size: 13px;
  width: 20px;
  height: 20px;
  line-height: 18px;
  text-align: center;
  padding: 0;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.15s ease;
}

.radar-zoom-btn:hover {
  background: #27272a;
  color: #ffffff;
  border-color: #a1a1aa;
}

.radar-zoom-btn:active {
  transform: translateY(1px);
}

.minimap-close-btn {
  font-size: 11px;
  color: #a1a1aa;
}

.minimap-close-btn:hover {
  background: #7f1d1d !important;
  color: #fecaca !important;
  border-color: #ef4444 !important;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.6) !important;
}

.minimap-body {
  position: relative;
  width: 100%;
  height: 236px;
  background: #000000;
}

#minimap-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

/* ================= CHAT ================= */
#chat-container {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: 320px;
  height: 200px;
  background: #09090b;
  border: 1.5px solid #3f3f46;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.85);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  z-index: 20;
  backdrop-filter: blur(8px);
  transition: height 0.2s ease;
}

#chat-container.minimized {
  height: 32px;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #121215;
  border-bottom: 1px solid #27272a;
  padding: 3px 6px;
  cursor: grab;
  user-select: none;
}

.chat-header:active {
  cursor: grabbing;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-tabs {
  display: flex;
  gap: 4px;
}

.chat-tab {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 2px;
  cursor: pointer;
}

.chat-tab:hover {
  color: #ffffff;
}

.chat-tab.active {
  background: #18181b;
  color: #ffffff;
  border: 1px solid #3f3f46;
}

.chat-minimize-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-weight: 900;
  cursor: pointer;
  padding: 0 4px;
}

.chat-messages {
  flex: 1;
  padding: 6px;
  overflow-y: auto;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-msg {
  word-break: break-word;
  line-height: 1.3;
}

.chat-msg.system { color: #fbbf24; }
.chat-msg.global { color: #f8fafc; }
.chat-msg.company, .chat-msg.mmo { color: #f87171; }
.chat-msg.eic { color: #38bdf8; }
.chat-msg.clan { color: #4ade80; }
.chat-msg .channel-tag {
  font-weight: 700;
  margin-right: 2px;
  color: #a1a1aa;
}
.chat-msg.mmo .channel-tag { color: #ef4444; }
.chat-msg.eic .channel-tag { color: #38bdf8; }
.chat-msg.clan .channel-tag { color: #22c55e; }

.chat-msg .time {
  color: #64748b;
  font-size: 10px;
}

.chat-msg .sender {
  font-weight: 700;
  color: #38bdf8;
}

.chat-input-bar {
  display: flex;
  border-top: 1px solid #27272a;
  background: #09090b;
}

#chat-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  padding: 4px 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
}

#btn-chat-send {
  background: #18181b;
  border: none;
  border-left: 1px solid #27272a;
  color: #e4e4e7;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 0 10px;
  cursor: pointer;
}

#btn-chat-send:hover {
  background: #27272a;
  color: #ffffff;
}

/* ================= MODAL WINDOWS (DRAGGABLE) ================= */
.game-window {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 780px;
  max-width: 90vw;
  max-height: 80vh;
  background: rgba(8, 16, 30, 0.95);
  border: 1px solid rgba(0, 212, 255, 0.5);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 212, 255, 0.2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  z-index: 50;
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.window-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, rgba(14, 34, 61, 0.95) 0%, rgba(7, 18, 35, 0.95) 100%);
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  padding: 8px 14px;
  cursor: move;
}

.window-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #38bdf8;
  letter-spacing: 0.5px;
  text-shadow: 0 0 6px rgba(56, 189, 248, 0.5);
}

.window-close {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.window-close:hover {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 0 8px #dc2626;
}

.window-content {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  color: #e2e8f0;
}

/* ================= HANGAR LAYOUT ================= */
#window-hangar {
  width: 1240px;
  max-width: 96vw;
}

.hangar-content {
  display: flex;
  gap: 14px;
  min-height: 520px;
}

.hangar-sidebar {
  width: 250px;
  flex-shrink: 0;
  background: rgba(4, 9, 18, 0.75);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.hangar-sidebar h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  color: #38bdf8;
  margin: 0 0 8px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  letter-spacing: 0.5px;
}

.ship-select-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.hangar-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hangar-inventory {
  width: 295px;
  flex-shrink: 0;
  background: rgba(4, 9, 18, 0.7);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inventory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  padding-bottom: 6px;
}

.inventory-header h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 11.5px;
  color: #38bdf8;
  margin: 0;
}

.inventory-quick-actions {
  display: flex;
  gap: 4px;
}

.inv-act-btn {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.inv-act-btn.equip-all {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid #22c55e;
  color: #4ade80;
}

.inv-act-btn.equip-all:hover {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.inv-act-btn.clear-all {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #f87171;
}

.inv-act-btn.clear-all:hover {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.inv-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inv-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  padding: 0 2px;
}

.inv-horizontal-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 212, 255, 0.7) 50%, rgba(0, 212, 255, 0.1) 100%);
  margin: 6px 0;
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.inventory-slots-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
  padding: 8px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 4px;
  min-height: 54px;
  align-content: flex-start;
}

.inv-slot-item {
  width: 44px;
  height: 44px;
  background: radial-gradient(circle at center, rgba(16, 32, 58, 0.95) 0%, rgba(6, 14, 28, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
  user-select: none;
  box-shadow: inset 0 0 8px rgba(0, 212, 255, 0.12), 0 2px 5px rgba(0, 0, 0, 0.7);
}

.inv-slot-item:hover {
  border-color: #38bdf8;
  background: radial-gradient(circle at center, rgba(24, 48, 88, 0.95) 0%, rgba(10, 22, 44, 0.98) 100%);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6), inset 0 0 6px rgba(56, 189, 248, 0.3);
  transform: scale(1.08);
  z-index: 10;
}

.inv-slot-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.95)) contrast(1.15) brightness(1.12);
  transition: transform 0.15s ease;
}

.inv-slot-item:hover img {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 1)) contrast(1.2) brightness(1.2);
}

/* Envanterde Lazerler: Belirgin, Büyük ve Çapraz Yerleşim */
.inv-slot-item img[src*="lf-"],
.inv-slot-item img[src*="weapons"] {
  width: 42px;
  height: 42px;
  max-width: 95%;
  max-height: 95%;
  transform: rotate(-33deg) scale(1.15);
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.95)) contrast(1.18) brightness(1.12);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.inv-slot-item:hover img[src*="lf-"],
.inv-slot-item:hover img[src*="weapons"] {
  transform: rotate(-33deg) scale(1.25);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 1)) contrast(1.25) brightness(1.2);
}

.inv-slot-item:has(img[src*="lf-3"]) {
  border-color: rgba(250, 204, 21, 0.75);
  box-shadow: inset 0 0 8px rgba(250, 204, 21, 0.2), 0 0 8px rgba(250, 204, 21, 0.35);
}

.inv-slot-item:has(img[src*="lf-2"]) {
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow: inset 0 0 8px rgba(56, 189, 248, 0.2), 0 0 8px rgba(56, 189, 248, 0.35);
}

.inv-slot-item:has(img[src*="lf-1"]) {
  border-color: rgba(34, 197, 94, 0.75);
  box-shadow: inset 0 0 8px rgba(34, 197, 94, 0.2), 0 0 8px rgba(34, 197, 94, 0.35);
}

.inv-empty-hint {
  font-size: 11px;
  color: #475569;
  font-style: italic;
  padding: 8px;
}

.inventory-footer-tip {
  font-size: 10px;
  color: #64748b;
  line-height: 1.3;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 6px;
}

/* --- HANGAR ÇİFT KONFİGÜRASYON (1. & 2. KONFİ) BUTONLARI --- */
.hangar-config-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(6, 14, 28, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 6px;
  box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.08);
}

.hangar-config-tab-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hangar-config-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(12, 25, 45, 0.85);
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  color: #94a3b8;
  padding: 5px 12px;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  user-select: none;
}

.hangar-config-tab:hover {
  background: rgba(16, 38, 70, 0.95);
  border-color: rgba(56, 189, 248, 0.5);
  color: #f1f5f9;
}

.hangar-config-tab.active {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

.hangar-config-tab .cfg-icon {
  font-size: 13px;
}

.hangar-config-tab .cfg-title {
  letter-spacing: 0.3px;
}

.hangar-config-tab .cfg-status-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  display: none;
  line-height: 1;
}

.hangar-config-tab .cfg-status-badge.in-space {
  display: inline-block;
  background: rgba(34, 197, 94, 0.28);
  border: 1px solid #22c55e;
  color: #4ade80;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.hangar-activate-cfg-btn {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  border: 1px solid #34d399;
  color: #ffffff;
  padding: 5px 11px;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
  white-space: nowrap;
}

.hangar-activate-cfg-btn:hover {
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.6);
  transform: translateY(-1px);
}

.hangar-copy-cfg-btn {
  background: rgba(14, 32, 58, 0.85);
  border: 1px dashed rgba(56, 189, 248, 0.6);
  color: #38bdf8;
  padding: 5px 10px;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.hangar-copy-cfg-btn:hover {
  background: rgba(3, 105, 161, 0.35);
  border-style: solid;
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

.config-hud-btn {
  font-family: 'Orbitron', sans-serif !important;
  font-weight: 800 !important;
  font-size: 10.5px !important;
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  background: rgba(3, 105, 161, 0.2) !important;
  box-shadow: inset 0 0 6px rgba(56, 189, 248, 0.2);
  transition: all 0.2s ease !important;
}

.config-hud-btn:hover {
  background: rgba(3, 105, 161, 0.45) !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5) !important;
}

.equipment-view-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  padding-bottom: 6px;
  margin-bottom: 4px;
}

.ship-preview-card {
  background: rgba(4, 9, 18, 0.75);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.ship-preview-card.hidden {
  display: none !important;
}

.ship-visual-wrap {
  width: 130px;
  height: 130px;
  background: radial-gradient(circle at center, rgba(16, 32, 58, 0.8) 0%, rgba(6, 14, 28, 0.98) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 16px rgba(0, 212, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.7);
}

.hangar-preview-img {
  max-width: 114px;
  max-height: 114px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.6)) contrast(1.1) brightness(1.08);
  transition: transform 0.2s ease;
}

.hangar-preview-img:hover {
  transform: scale(1.06);
}

.ship-specs {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.ship-specs h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 14.5px;
  color: #38bdf8;
  margin: 0 0 6px 0;
  letter-spacing: 0.6px;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px 16px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  color: #94a3b8;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  padding: 1px 0;
}

.spec-row .val {
  font-weight: 700;
  color: #f1f5f9;
}

.eq-view-tab-btn {
  background: rgba(12, 25, 45, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #94a3b8;
  padding: 6px 14px;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.eq-view-tab-btn:hover, .eq-view-tab-btn.active {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.drone-fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 485px;
  overflow-y: auto;
  padding: 4px;
}

#eq-section-ship {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#eq-section-ship.hidden {
  display: none !important;
}

#eq-section-drones {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#eq-section-drones.hidden {
  display: none !important;
}

.drone-card {
  background: #09090b;
  border: 1px solid #27272a;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  box-sizing: border-box;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.drone-info {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 65px;
  flex-shrink: 1;
}

.drone-info img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
  flex-shrink: 0;
}

.drone-name-lvl {
  font-family: 'Orbitron', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: #38bdf8;
  white-space: nowrap;
}

.drone-right-wrap {
  display: flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}

.drone-weapons-group {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.drone-slot-divider {
  width: 2px;
  height: 38px;
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.9) 50%, rgba(239, 68, 68, 0.1) 100%);
  margin: 0 6px;
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
  flex-shrink: 0;
}

.drone-design-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.drone-card .eq-slot-item {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.eq-slot-item.design-slot {
  border-color: rgba(239, 68, 68, 0.65);
  box-shadow: inset 0 0 6px rgba(239, 68, 68, 0.25), 0 0 6px rgba(239, 68, 68, 0.3);
}

.eq-slot-item.design-slot.empty {
  border: 1.5px dashed rgba(239, 68, 68, 0.5);
  background: rgba(30, 10, 15, 0.65);
}

.eq-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.eq-box-header h4 {
  margin: 0;
}

.eq-hint-text {
  font-size: 9px;
  color: #64748b;
  font-style: italic;
}

.eq-sections-vertical {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.eq-horizontal-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.1) 0%, rgba(56, 189, 248, 0.7) 50%, rgba(56, 189, 248, 0.1) 100%);
  margin: 3px 0;
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.4);
}

.eq-box {
  background: rgba(4, 9, 18, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 6px;
  padding: 6px 10px;
}

.eq-box h4 {
  font-size: 11px;
  color: #94a3b8;
}

.eq-slots {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
  align-content: flex-start;
}

.eq-slot-item {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle at center, rgba(16, 32, 58, 0.95) 0%, rgba(6, 14, 28, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #38bdf8;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
  user-select: none;
  box-shadow: inset 0 0 8px rgba(0, 212, 255, 0.12), 0 2px 5px rgba(0, 0, 0, 0.7);
}

.eq-slot-item:hover:not(.empty) {
  border-color: #38bdf8;
  background: radial-gradient(circle at center, rgba(24, 48, 88, 0.95) 0%, rgba(10, 22, 44, 0.98) 100%);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6), inset 0 0 6px rgba(56, 189, 248, 0.3);
  transform: scale(1.06);
  z-index: 10;
}

.eq-slot-item.empty {
  border: 1.5px dashed rgba(56, 189, 248, 0.35);
  background: rgba(4, 10, 20, 0.55);
  color: #38bdf8;
  box-shadow: none;
}

.eq-slot-item.empty:hover {
  border-color: #38bdf8;
  border-style: solid;
  background: rgba(56, 189, 248, 0.15);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

.eq-slot-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.95)) contrast(1.15) brightness(1.12);
  transition: transform 0.15s ease;
}

.eq-slot-item img[src*="lf-"] {
  width: 44px;
  height: 44px;
  transform: rotate(-33deg);
}

.eq-slot-item:hover img[src*="lf-"] {
  transform: rotate(-33deg) scale(1.08);
}

.eq-slot-item img[src*="lf-3"] {
  width: 48px;
  height: 48px;
  transform: rotate(-33deg) scale(1.12);
}

.eq-slot-item:hover img[src*="lf-3"] {
  transform: rotate(-33deg) scale(1.18);
}

.eq-slot-item img[src*="g3n-"],
.inv-slot-item img[src*="g3n-"],
.eq-slot-item .eq-speed-img,
.inv-slot-item .eq-speed-img {
  width: 42px;
  height: 42px;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transform: translateY(2px);
  transition: transform 0.15s ease;
}

.eq-slot-item:hover img[src*="g3n-"],
.inv-slot-item:hover img[src*="g3n-"],
.eq-slot-item:hover .eq-speed-img,
.inv-slot-item:hover .eq-speed-img {
  transform: translateY(2px) scale(1.08);
}

/* Üst Başlık Rozeti (5900 ECO, 6900 PRO, 7900 ELITE) */
.slot-top-badge {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
  font-size: 6.5px;
  font-weight: 800;
  line-height: 1;
  padding: 1px 3px;
  border-radius: 2px;
  letter-spacing: 0.3px;
  pointer-events: none;
  z-index: 5;
  text-shadow: 0 1px 2px #000, 0 0 2px #000;
  white-space: nowrap;
}

.eq-slot-item:has(.tag-spd-5900),
.eq-slot-item:has(img[src*="g3n-5900"]) {
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow: inset 0 0 8px rgba(14, 165, 233, 0.18), 0 2px 5px rgba(0, 0, 0, 0.7);
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.12) 0%, rgba(15, 23, 42, 0.95) 80%);
}

.eq-slot-item:hover:has(.tag-spd-5900),
.eq-slot-item:hover:has(img[src*="g3n-5900"]) {
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6), inset 0 0 6px rgba(56, 189, 248, 0.3);
}

.eq-slot-item:has(.tag-spd-6900),
.eq-slot-item:has(img[src*="g3n-6900"]) {
  border-color: rgba(168, 85, 247, 0.85);
  box-shadow: inset 0 0 8px rgba(168, 85, 247, 0.2), 0 2px 5px rgba(0, 0, 0, 0.7);
  background: radial-gradient(circle at center, rgba(168, 85, 247, 0.12) 0%, rgba(15, 23, 42, 0.95) 80%);
}

.eq-slot-item:hover:has(.tag-spd-6900),
.eq-slot-item:hover:has(img[src*="g3n-6900"]) {
  border-color: #c084fc;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.6), inset 0 0 6px rgba(168, 85, 247, 0.3);
}

.eq-slot-item:has(.tag-spd-7900),
.eq-slot-item:has(img[src*="g3n-7900"]),
.eq-slot-item:has(.slot-top-badge),
.eq-slot-item:has(img[src*="g3n-"]) {
  border-color: rgba(250, 204, 21, 0.75);
  box-shadow: inset 0 0 8px rgba(250, 204, 21, 0.18), 0 2px 5px rgba(0, 0, 0, 0.7);
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.12) 0%, rgba(15, 23, 42, 0.95) 80%);
}

.eq-slot-item:hover:has(.tag-spd-7900),
.eq-slot-item:hover:has(img[src*="g3n-7900"]),
.eq-slot-item:hover:has(.slot-top-badge),
.eq-slot-item:hover:has(img[src*="g3n-"]) {
  border-color: #fde047;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.6), inset 0 0 6px rgba(250, 204, 21, 0.3);
}

.eq-slot-item:has(.tag-lf3),
.eq-slot-item:has(img[src*="lf-3"]) {
  border-color: rgba(245, 158, 11, 0.75);
  box-shadow: inset 0 0 8px rgba(245, 158, 11, 0.2), 0 2px 5px rgba(0, 0, 0, 0.7);
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.12) 0%, rgba(15, 23, 42, 0.95) 80%);
}

.eq-slot-item:hover:has(.tag-lf3),
.eq-slot-item:hover:has(img[src*="lf-3"]) {
  border-color: #fde047;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6), inset 0 0 6px rgba(245, 158, 11, 0.3);
}

/* Kalkan Jeneratörü Boyutlandırması */
.eq-slot-item img[src*="kalkan"],
.inv-slot-item img[src*="kalkan"],
.eq-slot-item .eq-shield-img,
.inv-slot-item .eq-shield-img {
  width: 44px;
  height: 44px;
  max-width: 92%;
  max-height: 90%;
  object-fit: contain;
  transform: translateY(-2px);
  transition: transform 0.15s ease;
}

.eq-slot-item:hover img[src*="kalkan"],
.inv-slot-item:hover img[src*="kalkan"],
.eq-slot-item:hover .eq-shield-img,
.inv-slot-item:hover .eq-shield-img {
  transform: translateY(-2px) scale(1.08);
}

.eq-slot-item .drone-shield-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.eq-slot-item:has(.tag-kalkan1),
.eq-slot-item:has(img[src*="kalkan-1"]) {
  border-color: rgba(14, 165, 233, 0.75);
  box-shadow: inset 0 0 8px rgba(14, 165, 233, 0.22), 0 2px 5px rgba(0, 0, 0, 0.7);
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.16) 0%, rgba(15, 23, 42, 0.95) 80%);
}

.eq-slot-item:has(.tag-kalkan2),
.eq-slot-item:has(img[src*="kalkan-2"]) {
  border-color: rgba(168, 85, 247, 0.85);
  box-shadow: inset 0 0 8px rgba(168, 85, 247, 0.25), 0 2px 5px rgba(0, 0, 0, 0.7);
  background: radial-gradient(circle at center, rgba(168, 85, 247, 0.16) 0%, rgba(15, 23, 42, 0.95) 80%);
}

.eq-slot-item:has(.tag-kalkan3),
.eq-slot-item:has(img[src*="kalkan-3"]) {
  border-color: rgba(245, 158, 11, 0.95);
  box-shadow: inset 0 0 10px rgba(245, 158, 11, 0.3), 0 2px 5px rgba(0, 0, 0, 0.7);
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.16) 0%, rgba(15, 23, 42, 0.95) 80%);
}

.eq-slot-item:hover img {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 1)) contrast(1.2) brightness(1.2);
}

/* Slot & Inventory Item Name Badges (LF-4, LF-3, HST-2, B-02, 7900, HAVOC) */
.slot-tag {
  position: absolute;
  bottom: 1.5px;
  right: 1.5px;
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
  padding: 1px 2px;
  border-radius: 2px;
  letter-spacing: 0.2px;
  pointer-events: none;
  z-index: 5;
  text-shadow: 0 1px 2px #000, 0 0 2px #000;
}

.tag-lf4 {
  background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
  border: 1px solid #ffedd5;
  color: #ffffff;
  box-shadow: 0 0 7px rgba(249, 115, 22, 0.9);
}

.tag-lf3 {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  border: 1px solid #fef08a;
  color: #ffffff;
  box-shadow: 0 0 9px rgba(245, 158, 11, 0.95);
}

.tag-lf2 {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid #e0f2fe;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.9);
}

.tag-lf1 {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border: 1px solid #dcfce7;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.9);
}

.tag-hst2 {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  border: 1px solid #fee2e2;
  color: #ffffff;
  box-shadow: 0 0 7px rgba(239, 68, 68, 0.9);
}

.tag-b01 {
  background: linear-gradient(135deg, #0d9488 0%, #115e59 100%);
  border: 1px solid #ccfbf1;
  color: #ffffff;
  box-shadow: 0 0 7px rgba(20, 184, 166, 0.9);
}

.tag-b02 {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border: 1px solid #d1fae5;
  color: #ffffff;
  box-shadow: 0 0 7px rgba(16, 185, 129, 0.9);
}

.tag-b03 {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 1px solid #dbeafe;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.95);
}

.tag-kalkan1 {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid #bae6fd;
  color: #ffffff;
  box-shadow: 0 0 7px rgba(14, 165, 233, 0.9);
}

.tag-kalkan2 {
  background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
  border: 1px solid #e9d5ff;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.95);
}

.tag-kalkan3 {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  border: 1px solid #fef08a;
  color: #ffffff;
  box-shadow: 0 0 9px rgba(245, 158, 11, 0.95);
}

.tag-spd-5900 {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid #bae6fd;
  color: #ffffff;
  box-shadow: 0 0 7px rgba(14, 165, 233, 0.9);
}

.tag-spd-6900 {
  background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
  border: 1px solid #e9d5ff;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.95);
}

.tag-speed,
.tag-spd-7900 {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  border: 1px solid #fef08a;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.95);
}

.tag-havoc {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  border: 1px solid #ffe4e6;
  color: #ffffff;
  box-shadow: 0 0 9px rgba(239, 68, 68, 0.95);
}

.tag-herc {
  background: linear-gradient(135deg, #06b6d4 0%, #0e7490 100%);
  border: 1px solid #cffafe;
  color: #ffffff;
  box-shadow: 0 0 9px rgba(6, 182, 212, 0.95);
}

.eq-slot-item.design-slot {
  border: 1.5px solid rgba(239, 68, 68, 0.7);
  background: radial-gradient(circle at center, rgba(50, 12, 20, 0.95) 0%, rgba(24, 6, 10, 0.98) 100%);
  box-shadow: inset 0 0 10px rgba(239, 68, 68, 0.35), 0 2px 6px rgba(0, 0, 0, 0.8);
}

.eq-slot-item.design-slot.empty {
  border: 1.5px dashed rgba(239, 68, 68, 0.5);
  background: rgba(30, 8, 12, 0.55);
  color: #f87171;
}

.eq-slot-item.design-slot.empty:hover {
  border-color: #ef4444;
  border-style: solid;
  background: rgba(239, 68, 68, 0.25);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* ================= HANGAR RIGHT-CLICK CONTEXT MENU ================= */
.hangar-context-menu {
  position: fixed;
  z-index: 10000;
  background: rgba(8, 16, 32, 0.98);
  border: 1px solid #38bdf8;
  border-radius: 6px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.9), 0 0 16px rgba(56, 189, 248, 0.4);
  padding: 8px 10px;
  min-width: 170px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  user-select: none;
  animation: fadeInMenu 0.12s ease-out;
}

@keyframes fadeInMenu {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.ctx-header {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  padding-bottom: 4px;
}

.ctx-stats {
  font-size: 10px;
  color: #94a3b8;
  margin-bottom: 2px;
}

.ctx-action-btn {
  background: rgba(12, 25, 45, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.ctx-action-btn:hover {
  background: #0284c7;
  border-color: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.ctx-action-btn.unequip {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #fca5a5;
}

.ctx-action-btn.unequip:hover {
  background: #dc2626;
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.ctx-action-btn.sell {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  color: #fde047;
}

.ctx-action-btn.sell:hover {
  background: #d97706;
  border-color: #f59e0b;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

/* ================= SHOP GRID ================= */
.shop-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  padding-bottom: 8px;
}

.shop-cat-btn {
  background: rgba(12, 25, 45, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #94a3b8;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.shop-cat-btn:hover, .shop-cat-btn.active {
  background: rgba(2, 132, 199, 0.3);
  border-color: #38bdf8;
  color: #ffffff;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.shop-item-card {
  background: rgba(6, 14, 26, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.shop-item-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

.shop-item-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 4px;
}

.shop-item-name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #ffffff;
}

.shop-item-desc {
  font-size: 11px;
  color: #94a3b8;
  height: 32px;
  overflow: hidden;
}

.shop-item-price {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #facc15;
}

.shop-item-price.uri {
  color: #38bdf8;
}

.shop-buy-btn {
  width: 100%;
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid #38bdf8;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 0;
  border-radius: 3px;
  cursor: pointer;
  margin-top: 4px;
}

.shop-buy-btn:hover {
  background: #0284c7;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

/* ================= GALAXY GATES ================= */
.gg-content {
  display: flex;
  gap: 16px;
}

.gg-gates-list {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gate-card {
  background: rgba(6, 14, 26, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}

.gate-img-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px #a855f7);
}

.gate-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #c084fc;
}

.gate-progress-wrap {
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.gate-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #7c3aed 0%, #c084fc 100%);
  width: 0%;
}

.gate-parts-text {
  width: 100%;
  font-size: 11px;
  color: #e9d5ff;
  display: flex;
  justify-content: space-between;
}

.gate-jump-btn {
  width: 100%;
  background: linear-gradient(180deg, #9333ea 0%, #6b21a8 100%);
  border: 1px solid #c084fc;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 0;
  border-radius: 3px;
  cursor: pointer;
  margin-top: 4px;
}

.gate-jump-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gg-spinner-panel {
  width: 260px;
  background: rgba(4, 9, 18, 0.7);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spinner-stats {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.highlight { color: #c084fc; font-weight: 700; font-family: 'Orbitron', sans-serif; }
.highlight-uri { color: #38bdf8; font-weight: 700; font-family: 'Orbitron', sans-serif; }

.spinner-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gg-spin-btn {
  background: linear-gradient(180deg, #0f2744 0%, #07172b 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #e0f2fe;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 0;
  border-radius: 3px;
  cursor: pointer;
}

.gg-spin-btn:hover {
  background: linear-gradient(180deg, #1e4976 0%, #0c2b4d 100%);
  border-color: #38bdf8;
}

.multiplier-btn {
  border-color: #f59e0b;
  color: #fbbf24;
}

.spinner-log {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 8px;
  font-size: 11px;
  color: #cbd5e1;
  height: 120px;
  overflow-y: auto;
}

/* ================= SKYLAB ================= */
.skylab-ores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.ore-card {
  background: rgba(6, 14, 26, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 4px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.ore-icon { font-size: 24px; }
.ore-name { font-size: 11px; font-weight: 700; color: #ffffff; }
.ore-amount { font-family: 'Orbitron', sans-serif; font-size: 12px; color: #38bdf8; }

.skylab-upgrade-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(4, 9, 18, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 6px;
  padding: 12px;
}

.upgrade-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.feed-btn {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid #38bdf8;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
}

.feed-status {
  font-size: 11px;
  color: #4ade80;
}

/* ================= SKILL TREE / PILOT SHEET ================= */
.skilltree-header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(4, 9, 18, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.skill-card {
  background: rgba(6, 14, 26, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-card.maxed {
  border-color: #facc15;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.3);
}

.skill-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #ffffff;
}

.skill-desc {
  font-size: 11px;
  color: #94a3b8;
}

.skill-points-bar {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  color: #38bdf8;
  text-align: right;
}

.skill-upgrade-btn {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid #38bdf8;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 0;
  border-radius: 3px;
  cursor: pointer;
}

/* ================= QUESTS ================= */
.quests-content {
  display: flex;
  gap: 16px;
  min-height: 380px;
}

.quests-sidebar {
  width: 240px;
  background: #0d0d11;
  border: 1px solid #27272a;
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quest-item-btn {
  background: #131317;
  border: 1px solid #27272a;
  border-radius: 4px;
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  text-align: left;
  cursor: pointer;
}

.quest-item-btn:hover, .quest-item-btn.active {
  background: #22222a;
  border-color: #52525b;
  color: #ffffff;
}

.quest-detail-panel {
  flex: 1;
  background: #0d0d11;
  border: 1px solid #27272a;
  border-radius: 6px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ================= RANKINGS TABLE ================= */
.rankings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.rankings-table th, .rankings-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}

.rankings-table th {
  background: rgba(12, 25, 45, 0.8);
  color: #38bdf8;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
}

.rankings-table tr:hover td {
  background: rgba(56, 189, 248, 0.1);
}

.user-company {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
}

.user-company.company-mmo {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #f87171;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.3);
}

.user-company.company-eic {
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.3);
}

/* ================= KILL SCREEN ================= */
#killscreen-modal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.88) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999999 !important;
  backdrop-filter: blur(12px) !important;
}

#killscreen-modal.hidden {
  display: none !important;
  pointer-events: none !important;
}

.killscreen-card {
  width: 440px;
  background: rgba(18, 6, 8, 0.98) !important;
  border: 2px solid #ef4444 !important;
  box-shadow: 0 0 50px rgba(239, 68, 68, 0.85), inset 0 0 25px rgba(239, 68, 68, 0.35) !important;
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1000000000 !important;
  animation: killscreenPop 0.3s ease-out;
}

@keyframes killscreenPop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.killscreen-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: #ef4444;
  letter-spacing: 1.5px;
  text-shadow: 0 0 16px rgba(239, 68, 68, 0.9);
}

.killscreen-killer {
  font-size: 14px;
  color: #fca5a5;
}

.respawn-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.respawn-btn {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  border: 1px solid #34d399;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 0;
  border-radius: 4px;
  cursor: pointer;
}

.respawn-btn.premium {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  border-color: #fbbf24;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
  font-size: 15px;
  padding: 10px 0;
  transition: all 0.2s ease;
}

.respawn-btn.premium:hover {
  background: linear-gradient(180deg, #fbbf24 0%, #b45309 100%);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.7);
  transform: translateY(-1px);
}

.killscreen-destination {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #38bdf8;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
  margin-top: -4px;
}

/* ================= RADYASYON BÖLGESİ UYARISI ================= */
.radiation-warning-banner {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 4, 4, 0.92);
  border: 2px solid #ef4444;
  border-radius: 8px;
  padding: 10px 24px;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.8), inset 0 0 15px rgba(239, 68, 68, 0.4);
  z-index: 95;
  pointer-events: none;
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: radWarningPulse 1s infinite alternate;
}

.radiation-warning-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(-20px);
  pointer-events: none;
}

.radiation-warning-banner .rad-icon {
  font-size: 26px;
  filter: drop-shadow(0 0 10px #ef4444);
  animation: radIconBounce 0.8s infinite alternate ease-in-out;
}

.radiation-warning-banner .rad-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.radiation-warning-banner .rad-title {
  color: #ef4444;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 2px;
  text-shadow: 0 0 12px #ef4444;
}

.radiation-warning-banner .rad-subtitle {
  color: #fef08a;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(254, 240, 138, 0.6);
}

.radiation-warning-banner.rad-danger {
  border-color: #ff0000;
  background: rgba(45, 0, 0, 0.95);
  box-shadow: 0 0 45px rgba(255, 0, 0, 0.95), inset 0 0 20px rgba(255, 0, 0, 0.6);
  animation: radDangerPulse 0.5s infinite alternate;
}

.radiation-warning-banner.rad-danger .rad-subtitle {
  color: #ff4d4d;
  font-size: 17px;
  font-weight: 900;
  text-shadow: 0 0 10px #ff0000;
}

@keyframes radWarningPulse {
  0% { box-shadow: 0 0 18px rgba(239, 68, 68, 0.5); }
  100% { box-shadow: 0 0 35px rgba(239, 68, 68, 0.95); }
}

@keyframes radDangerPulse {
  0% { transform: translateX(-50%) scale(1); box-shadow: 0 0 25px rgba(255, 0, 0, 0.7); }
  100% { transform: translateX(-50%) scale(1.04); box-shadow: 0 0 50px rgba(255, 0, 0, 1); }
}

@keyframes radIconBounce {
  0% { transform: scale(0.95); }
  100% { transform: scale(1.15); }
}

/* ================= LEVEL UP BANNER ================= */
#levelup-banner {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  background: linear-gradient(90deg, transparent 0%, rgba(250, 204, 21, 0.8) 50%, transparent 100%);
  padding: 12px 60px;
  text-align: center;
  z-index: 90;
  pointer-events: none;
  isolation: isolate;
  contain: layout paint;
  animation: pulse-glow 1s infinite alternate;
}

@keyframes pulse-glow {
  0% { filter: drop-shadow(0 0 10px rgba(250, 204, 21, 0.45)); transform: translateX(-50%) translateZ(0) scale(0.98); }
  100% { filter: drop-shadow(0 0 24px rgba(250, 204, 21, 0.9)); transform: translateX(-50%) translateZ(0) scale(1.02); }
}

.levelup-text {
  font-family: 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: #000000;
  text-shadow: 0 0 8px #ffffff;
}

.levelup-sub {
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1e1b4b;
}

.levelup-unlock {
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.6);
  padding: 3px 12px;
  border-radius: 20px;
  margin-top: 4px;
  display: inline-block;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.6);
}

/* ================= WARP OVERLAY ================= */
#warp-overlay {
  display: none !important;
}

/* ================= PORTAL ATLAMASI GERİ SAYIM ================= */
.portal-countdown {
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  font-family: 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 88px;
  font-weight: 900;
  color: #ef4444;
  text-shadow: 0 0 25px rgba(239, 68, 68, 0.95), 0 0 50px rgba(239, 68, 68, 0.65), 0 3px 8px #000000;
  z-index: 1000;
  pointer-events: none;
  user-select: none;
  letter-spacing: 2px;
  animation: countdown-pulse 1s infinite alternate;
}

@keyframes countdown-pulse {
  0% { transform: translateX(-50%) translateZ(0) scale(1.0); }
  100% { transform: translateX(-50%) translateZ(0) scale(1.15); }
}

@keyframes pulse-glow {
  0% { transform: translateX(-50%) translateZ(0) scale(1); }
  100% { transform: translateX(-50%) translateZ(0) scale(1.04); }
}

.hidden {
  display: none !important;
}

/* ================= SETTINGS WINDOW & TOGGLE SWITCHES ================= */
#window-settings {
  width: 480px;
}

.settings-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  background: rgba(8, 15, 26, 0.95);
}

.settings-group {
  background: #0d0d12;
  border: 1px solid rgba(234, 179, 8, 0.45);
  border-radius: 6px;
  padding: 12px 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.settings-group:hover {
  border-color: #facc15;
}

.settings-group h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  color: #facc15;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.setting-item:last-child {
  border-bottom: none;
}

.setting-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 80%;
}

.setting-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
}

.setting-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.3;
}

/* Pilot Adı Giriş Alanı & Butonu */
.pilot-name-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sci-fi-name-input {
  background: rgba(3, 7, 18, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 4px;
  color: #38bdf8;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 5px 10px;
  width: 140px;
  outline: none;
  transition: all 0.2s ease;
}

.sci-fi-name-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
  background: rgba(3, 7, 18, 0.95);
  color: #ffffff;
}

.setting-save-btn {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid #38bdf8;
  border-radius: 4px;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.4);
}

.setting-save-btn:hover {
  background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  transform: translateY(-1px);
}

.setting-save-btn:active {
  transform: translateY(1px);
}

/* Modern Toggle Switch Component */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #334155;
  transition: .25s ease;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: .25s ease;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #0284c7;
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
  background-color: #ffffff;
}

/* Sci-Fi Volume Slider */
.setting-item.slider-item {
  padding: 10px 0;
}

.volume-slider-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 170px;
}

.sci-fi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #1e293b;
  outline: none;
  border: 1px solid rgba(56, 189, 248, 0.35);
  transition: all 0.2s ease;
  cursor: pointer;
}

.sci-fi-slider:hover {
  border-color: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.sci-fi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #38bdf8;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.9);
  border: 2px solid #ffffff;
  transition: transform 0.15s ease;
}

.sci-fi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.sci-fi-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #38bdf8;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.9);
  border: 2px solid #ffffff;
}

.volume-percentage {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #38bdf8;
  min-width: 40px;
  text-align: right;
}

/* ================= 9. KARGO (AMBAR & RAFİNERİ) PENCERESİ - DARKORBIT ÖZGÜN SCI-FI TASARIM ================= */
#window-cargo {
  width: 820px;
  max-width: 95vw;
  background: rgba(8, 14, 26, 0.96);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.9), 0 0 15px rgba(56, 189, 248, 0.15), inset 0 0 25px rgba(56, 189, 248, 0.04);
  border-radius: 6px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* DarkOrbit Sci-Fi Tabs */
.do-cargo-tabs {
  display: flex;
  background: rgba(4, 9, 18, 0.85);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  padding: 6px 12px 0 12px;
  gap: 8px;
}

.do-cargo-tab {
  flex: 1;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  color: #94a3b8;
  font-family: 'Orbitron', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.do-cargo-tab:hover:not(.active) {
  background: rgba(30, 41, 59, 0.7);
  color: #ffffff;
}

.do-cargo-tab.active {
  background: linear-gradient(180deg, rgba(14, 38, 70, 0.85) 0%, rgba(8, 20, 40, 0.95) 100%);
  border-color: rgba(56, 189, 248, 0.6);
  border-bottom: 2px solid #38bdf8;
  color: #38bdf8;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
  box-shadow: inset 0 1px 0 rgba(56, 189, 248, 0.4);
}

/* Tab Views */
.cargo-tab-view {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(6, 12, 22, 0.75);
  max-height: calc(85vh - 90px);
  overflow-y: auto;
}

/* Top Bar: Ambar Kapasitesi & Tümünü Sat */
.do-cargo-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(10, 20, 36, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 6px;
  padding: 10px 16px;
  box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.5);
}

.do-cargo-capacity-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.capacity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #94a3b8;
}

.capacity-title {
  color: #38bdf8;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.capacity-val {
  color: #facc15;
  font-size: 13px;
}

.do-cargo-track {
  width: 100%;
  height: 10px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.do-cargo-fill {
  height: 100%;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 65%, #facc15 100%);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.do-cargo-sell-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.elite-sell-toggles {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cargo-ore-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #cbd5e1;
  transition: all 0.2s ease;
  user-select: none;
}

.cargo-ore-checkbox.gold {
  border-color: rgba(245, 158, 11, 0.45);
  color: #fde68a;
  background: rgba(30, 20, 10, 0.7);
}

.cargo-ore-checkbox.gold:hover {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.18);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
}

.cargo-ore-checkbox.purple {
  border-color: rgba(192, 132, 252, 0.45);
  color: #e9d5ff;
  background: rgba(28, 16, 40, 0.7);
}

.cargo-ore-checkbox.purple:hover {
  border-color: #c084fc;
  background: rgba(192, 132, 252, 0.18);
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.35);
}

.cargo-ore-checkbox input[type="checkbox"] {
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.cargo-ore-checkbox.gold input[type="checkbox"] {
  accent-color: #f59e0b;
}

.cargo-ore-checkbox.purple input[type="checkbox"] {
  accent-color: #c084fc;
}

.ore-card-tick-label {
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(0, 0, 0, 0.6);
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  user-select: none;
}

.ore-card-tick-label.gold {
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.35);
}

.ore-card-tick-label.gold input {
  accent-color: #f59e0b;
}

.ore-card-tick-label.purple {
  color: #e9d5ff;
  border-color: rgba(192, 132, 252, 0.35);
}

.ore-card-tick-label.purple input {
  accent-color: #c084fc;
}

.ore-card-tick-label input {
  width: 12px;
  height: 12px;
  cursor: pointer;
  margin: 0;
}

.do-ore-unlimited-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 1.5px 5px;
  border-radius: 3px;
  margin: 2px 0 1px 0;
  text-align: center;
  white-space: nowrap;
}

.do-ore-unlimited-badge.gold {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  text-shadow: 0 0 5px rgba(245, 158, 11, 0.4);
}

.do-ore-unlimited-badge.purple {
  background: rgba(192, 132, 252, 0.15);
  border: 1px solid rgba(192, 132, 252, 0.5);
  color: #d8b4fe;
  text-shadow: 0 0 5px rgba(192, 132, 252, 0.4);
}

.do-sell-all-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #1e3a5f 0%, #0c1c33 100%);
  border: 1.5px solid #facc15;
  color: #fef08a;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 9px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.25);
  text-shadow: 0 0 6px rgba(250, 204, 21, 0.4);
  white-space: nowrap;
}

.do-sell-all-btn:hover {
  background: linear-gradient(180deg, #eab308 0%, #ca8a04 100%);
  color: #000000;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.7);
  transform: translateY(-1px);
}

/* Ore Sections */
.do-ore-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.do-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.8px;
  padding-bottom: 2px;
  border-bottom: 1px dashed rgba(56, 189, 248, 0.2);
}

.title-decor {
  width: 4px;
  height: 12px;
  background: #38bdf8;
  border-radius: 1px;
  box-shadow: 0 0 6px #38bdf8;
}

.section-subtext {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-left: 6px;
}

.do-ores-row.four-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

/* Individual Ore Pods */
.do-ore-pod {
  background: rgba(10, 20, 36, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.2s ease;
}

.do-ore-pod:hover {
  border-color: rgba(56, 189, 248, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(56, 189, 248, 0.08);
}

.pod-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.ore-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-prometium { background: rgba(239, 68, 68, 0.15); border: 1px solid #ef4444; color: #fca5a5; }
.tag-endurium { background: rgba(56, 189, 248, 0.15); border: 1px solid #38bdf8; color: #7dd3fc; }
.tag-terbium { background: rgba(250, 204, 21, 0.15); border: 1px solid #facc15; color: #fef08a; }
.tag-paladyum { background: rgba(74, 222, 128, 0.15); border: 1px solid #4ade80; color: #86efac; }
.tag-prometid { background: rgba(244, 63, 94, 0.15); border: 1px solid #f43f5e; color: #fda4af; }
.tag-duranium { background: rgba(45, 212, 191, 0.15); border: 1px solid #2dd4bf; color: #99f6e4; }
.tag-promerium { background: rgba(245, 158, 11, 0.15); border: 1px solid #f59e0b; color: #fde68a; }
.tag-seprom { background: rgba(192, 132, 252, 0.15); border: 1px solid #c084fc; color: #e9d5ff; }

.do-ore-sell-btn {
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.5);
  color: #fef08a;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.15s;
}

.do-ore-sell-btn:hover {
  background: #facc15;
  color: #000000;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.6);
}

.pod-img-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(30, 58, 100, 0.45) 0%, rgba(8, 16, 30, 0.85) 100%);
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  margin: 3px 0;
}

.pod-img-wrap.glow-gold {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.2);
}

.pod-img-wrap.glow-purple {
  border-color: rgba(192, 132, 252, 0.4);
  box-shadow: 0 0 8px rgba(192, 132, 252, 0.2);
}

.do-ore-icon {
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
  transition: transform 0.2s;
}

.do-ore-pod:hover .do-ore-icon {
  transform: scale(1.08);
}

.do-ore-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.ore-color-prometium { color: #ef4444; }
.ore-color-endurium { color: #38bdf8; }
.ore-color-terbium { color: #facc15; }
.ore-color-paladyum { color: #4ade80; }
.ore-color-prometid { color: #f43f5e; }
.ore-color-duranium { color: #2dd4bf; }
.ore-color-promerium { color: #f59e0b; }
.ore-color-seprom { color: #c084fc; }

.do-ore-count {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
  margin: 2px 0;
}

.do-ore-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}

.do-ore-recipe {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 4px;
  min-height: 14px;
}

.do-refine-btn {
  width: 100%;
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid #38bdf8;
  color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  font-size: 9.5px;
  font-weight: 900;
  padding: 4px 4px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.4px;
}

.do-refine-btn:hover {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.do-refine-btn.gold {
  background: linear-gradient(180deg, #d97706 0%, #b45309 100%);
  border-color: #f59e0b;
  color: #fef08a;
}

.do-refine-btn.gold:hover {
  background: #f59e0b;
  color: #000000;
  box-shadow: 0 0 10px #f59e0b;
}

.do-refine-btn.purple {
  background: linear-gradient(180deg, #9333ea 0%, #7e22ce 100%);
  border-color: #c084fc;
  color: #f3e8ff;
}

.do-refine-btn.purple:hover {
  background: #a855f7;
  color: #ffffff;
  box-shadow: 0 0 10px #c084fc;
}

/* ================= 2. SEKME: ZENGİNLEŞTİRME (BESLEME) ================= */
.do-boost-supplies-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}

.boost-supply-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 6px;
  padding: 10px 14px;
}

.boost-supply-box.gold {
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  background: radial-gradient(circle at left, rgba(245, 158, 11, 0.15) 0%, rgba(10, 20, 36, 0.8) 100%);
}

.boost-supply-box.purple {
  border: 1.5px solid rgba(192, 132, 252, 0.45);
  background: radial-gradient(circle at left, rgba(168, 85, 247, 0.15) 0%, rgba(10, 20, 36, 0.8) 100%);
}

.supply-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.supply-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.supply-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.6px;
}

.supply-val {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
}

.do-boost-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.do-boost-card {
  background: rgba(10, 20, 36, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 6px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.do-boost-card:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.boost-card-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 4px;
}

.boost-card-header h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 900;
  margin: 0;
  letter-spacing: 0.6px;
}

.boost-card-header.cyan h4 { color: #38bdf8; }
.boost-card-header.pink h4 { color: #ec4899; }
.boost-card-header.purple h4 { color: #c084fc; }
.boost-card-header.green h4 { color: #34d399; }

.boost-module-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.8px;
}

.boost-visual-pod {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(30, 58, 100, 0.4) 0%, rgba(10, 20, 36, 0.9) 100%);
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  margin: 3px 0;
}

.boost-ore-img {
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3));
}

.boost-effect-badge {
  width: 100%;
  padding: 4px;
  border-radius: 3px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.boost-effect-badge.cyan {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
}
.boost-effect-badge.cyan strong { font-family: 'Orbitron', sans-serif; font-size: 11px; color: #38bdf8; }

.boost-effect-badge.pink {
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: #f472b6;
}
.boost-effect-badge.pink strong { font-family: 'Orbitron', sans-serif; font-size: 11px; color: #ec4899; }

.boost-effect-badge.purple {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
}
.boost-effect-badge.purple strong { font-family: 'Orbitron', sans-serif; font-size: 11px; color: #a855f7; }

.boost-effect-badge.green {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #6ee7b7;
}
.boost-effect-badge.green strong { font-family: 'Orbitron', sans-serif; font-size: 11px; color: #34d399; }

.boost-card-status {
  font-family: 'Orbitron', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  color: #ffffff;
  min-height: 16px;
  margin-top: 1px;
}

.boost-input-row {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  margin-top: 3px;
}

.boost-input-row .input-lbl {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 700;
}

.do-boost-input {
  flex: 1;
  height: 24px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 3px;
  color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  padding: 0 3px;
}

.do-boost-max-btn {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid #f59e0b;
  color: #fef08a;
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s;
}

.do-boost-max-btn:hover {
  background: #f59e0b;
  color: #000000;
}

.boost-avail-hint {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  color: #64748b;
  width: 100%;
  text-align: right;
}

.do-boost-action-btn {
  width: 100%;
  height: 30px;
  border-radius: 3px;
  font-family: 'Orbitron', sans-serif;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid;
  margin-top: 2px;
}

.do-boost-action-btn.cyan {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  border-color: #38bdf8;
  color: #ffffff;
}
.do-boost-action-btn.cyan:hover {
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

.do-boost-action-btn.pink {
  background: linear-gradient(180deg, #db2777 0%, #be185d 100%);
  border-color: #f472b6;
  color: #ffffff;
}
.do-boost-action-btn.pink:hover {
  background: #ec4899;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.6);
}

.do-boost-action-btn.purple {
  background: linear-gradient(180deg, #9333ea 0%, #7e22ce 100%);
  border-color: #c084fc;
  color: #ffffff;
}
.do-boost-action-btn.purple:hover {
  background: #a855f7;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

.do-boost-action-btn.green {
  background: linear-gradient(180deg, #059669 0%, #047857 100%);
  border-color: #34d399;
  color: #ffffff;
}
.do-boost-action-btn.green:hover {
  background: #10b981;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.6);
}

/* ================= GEMİ & PROFİL PENCERELERİ ================= */
/* ================= GEMİ & PROFİL PENCERELERİ (KOMPAKT & KÜÇÜK) ================= */
#window-ship-info {
  width: 250px;
  top: 52px;
  left: 195px;
  transform: none;
  z-index: 60;
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.88), 0 0 16px rgba(56, 189, 248, 0.22);
  border-radius: 6px;
  overflow: hidden;
}

#window-ship-info .window-header {
  padding: 6px 12px;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.35) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.35);
}

#window-ship-info .window-title {
  font-size: 12.5px;
  letter-spacing: 0.8px;
  color: #38bdf8;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.ship-info-body {
  padding: 10px 12px;
  background: rgba(8, 14, 26, 0.96);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ship-config-toggle-row {
  cursor: pointer;
  border-radius: 4px;
  padding: 4px 6px;
  transition: all 0.15s ease;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.ship-config-toggle-row:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

.hud-card-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.stat-badge {
  padding: 0;
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.stat-badge.green { color: #4ade80; }
.stat-badge.blue { color: #60a5fa; }
.stat-badge.yellow { color: #facc15; }
.stat-badge.orange { color: #fb923c; }
.stat-badge.purple { color: #c084fc; }
.stat-badge.cyan { color: #38bdf8; }

.stat-numeric-val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.stat-numeric-val.green { color: #4ade80; }
.stat-numeric-val.blue { color: #60a5fa; }
.stat-numeric-val.yellow { color: #facc15; }
.stat-numeric-val.orange { color: #fb923c; }
.stat-numeric-val.cyan { color: #38bdf8; }

.hud-ship-speed-pill {
  background: rgba(249, 115, 22, 0.22);
  border: 1px solid rgba(249, 115, 22, 0.55);
  color: #fb923c;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 5px;
}

/* --- PİLOT PROFİLİ PENCERESİ (KOMPAKT & KÜÇÜK) --- */
#window-profile-info {
  width: 240px;
  top: 56px;
  left: 375px;
  transform: none;
  z-index: 50;
}

.profile-info-body {
  padding: 10px 12px;
  background: rgba(10, 18, 30, 0.96);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.profile-stats-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  padding: 4px 2px;
  font-family: 'Rajdhani', sans-serif;
}

.profile-stat-item:last-child {
  border-bottom: none;
}

.profile-stat-val {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

/* --- PROFİL PENCERESİ TP ÇİZGİSİ --- */
.profile-xp-block {
  padding: 6px 2px 7px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.xp-bar-wrap {
  height: 10px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 2px;
}

.bar-inner.xp-bar {
  height: 100%;
  background: linear-gradient(90deg, #059669 0%, #10b981 60%, #34d399 100%);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-xp-details-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  margin-top: 2px;
}

.profile-xp-details-row #profile-modal-xp-span {
  color: #94a3b8;
}

.profile-xp-details-row #profile-modal-xp-remaining {
  color: #34d399;
}

.profile-stat-val.orange { color: #fb923c; }
.profile-stat-val.green { color: #4ade80; }
.profile-stat-val.purple { color: #c084fc; }
.profile-stat-val.yellow { color: #facc15; }
.profile-stat-val.cyan { color: #38bdf8; }

/* ==========================================================================
   AUTHENTICATION, REGISTER & MULTI-ACCOUNT OVERLAY
   ========================================================================== */
.hud-btn-logout {
  background: #09090b !important;
  color: #e4e4e7 !important;
  border: 1.5px solid #3f3f46 !important;
}

.hud-btn-logout:hover {
  background: #18181b !important;
  color: #ffffff !important;
  border-color: #a1a1aa !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.8) !important;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../assets/ui/loading-bg.png') no-repeat center center / cover;
  user-select: none;
}

.auth-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(4, 8, 18, 0.55) 0%, rgba(2, 4, 10, 0.88) 80%, rgba(0, 0, 0, 0.96) 100%);
  pointer-events: none;
}

.auth-background-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.auth-stars-layer {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(1.5px 1.5px at 15% 25%, #ffffff, transparent),
    radial-gradient(1px 1px at 45% 15%, #facc15, transparent),
    radial-gradient(2px 2px at 75% 35%, #ffffff, transparent),
    radial-gradient(1.5px 1.5px at 85% 75%, #eab308, transparent),
    radial-gradient(1px 1px at 25% 80%, #ffffff, transparent),
    radial-gradient(2px 2px at 60% 85%, #facc15, transparent);
  background-size: 550px 550px;
  opacity: 0.65;
}

.auth-nebula-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(250, 204, 21, 0.12) 0%, rgba(234, 179, 8, 0.05) 45%, transparent 70%);
  filter: blur(50px);
}

.auth-card {
  position: relative;
  z-index: 2;
  width: 470px;
  max-width: 94vw;
  background: rgba(8, 13, 23, 0.88);
  border: 1.5px solid rgba(250, 204, 21, 0.45);
  border-radius: 16px;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(250, 204, 21, 0.22);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: authFadeIn 0.35s ease-out;
}

.auth-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2px;
}

.auth-sunorbit-logo {
  max-width: 290px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(250, 204, 21, 0.55)) drop-shadow(0 0 32px rgba(234, 179, 8, 0.3));
}

.auth-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.auth-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fef08a;
  text-shadow: 0 0 16px rgba(250, 204, 21, 0.55);
  margin: 0;
}

.auth-subtitle {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Auth Tabs */
.auth-tabs {
  display: flex;
  background: rgba(12, 18, 30, 0.8);
  border: 1px solid rgba(250, 204, 21, 0.25);
  border-radius: 10px;
  padding: 4px;
  gap: 6px;
}

.auth-tab-btn {
  flex: 1;
  padding: 11px 8px;
  background: transparent;
  border: none;
  border-radius: 7px;
  color: #94a3b8;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  letter-spacing: 0.5px;
}

.auth-tab-btn:hover {
  color: #fef08a;
  background: rgba(250, 204, 21, 0.12);
}

.auth-tab-btn.active {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.22), rgba(234, 179, 8, 0.42));
  border: 1px solid #facc15;
  color: #fef08a;
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.45);
}

.auth-server-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 4px;
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.status-indicator-dot.offline {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.auth-company-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.company-radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.company-radio-card input {
  display: none;
}

.company-select-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.6));
}

.company-select-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.company-select-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #f1f5f9;
}

.company-select-sub {
  font-size: 10.5px;
  color: #94a3b8;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

.company-radio-card.active.mmo {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.22);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.5);
}

.company-radio-card.active.mmo .company-select-name {
  color: #fca5a5;
}

.company-radio-card.active.eic {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.22);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
}

.company-radio-card.active.eic .company-select-name {
  color: #7dd3fc;
}

.auth-starter-ship-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(250, 204, 21, 0.07);
  border: 1px dashed rgba(250, 204, 21, 0.4);
  border-radius: 8px;
}

.starter-ship-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.4));
}

.starter-ship-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.starter-ship-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #facc15;
}

.starter-ship-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.starter-ship-desc {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.2;
}

@keyframes authFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.auth-error-msg {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.55);
  color: #fca5a5;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}

.auth-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #fde047;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 13px;
  font-size: 16px;
  pointer-events: none;
  opacity: 0.8;
}

.auth-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background: rgba(12, 18, 32, 0.85);
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 8px;
  color: #f8fafc;
  font-size: 14.5px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}

.auth-input:focus {
  border-color: #facc15;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.45);
}

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.auth-btn-primary {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #fef08a 0%, #facc15 45%, #eab308 100%);
  border: 1px solid #fef08a;
  border-radius: 8px;
  color: #0a0a0a;
  font-family: 'Orbitron', sans-serif;
  font-size: 14.5px;
  font-weight: 900;
  letter-spacing: 1.5px;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.75), 0 0 45px rgba(234, 179, 8, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.auth-btn-primary:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 0 35px rgba(250, 204, 21, 0.95), 0 0 60px rgba(234, 179, 8, 0.55);
  filter: brightness(1.1);
}

.auth-btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.auth-btn-primary.register-btn {
  background: linear-gradient(135deg, #fef08a 0%, #facc15 45%, #eab308 100%);
  border: 1px solid #fef08a;
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.75), 0 0 45px rgba(234, 179, 8, 0.3);
}

.auth-btn-primary.register-btn:hover {
  box-shadow: 0 0 35px rgba(250, 204, 21, 0.95), 0 0 60px rgba(234, 179, 8, 0.55);
}

.auth-btn-secondary {
  width: 100%;
  padding: 11px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 6px;
  color: #cbd5e1;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-btn-secondary:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #ffffff;
}

/* ==========================================================================
   COMPANY SELECTION OVERLAY (MMO, EIC)
   ========================================================================== */
.company-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: radial-gradient(circle at 50% 15%, #08142c 0%, #02050f 75%, #000000 100%);
  backdrop-filter: blur(16px);
  user-select: none;
  overflow-y: auto;
  padding: 30px 16px 60px 16px;
  box-sizing: border-box;
}

.company-overlay-content {
  max-width: 1180px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: auto;
  animation: authFadeIn 0.35s ease-out;
}

.company-overlay-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.company-header-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #facc15;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.35);
  padding: 4px 16px;
  border-radius: 20px;
}

.company-header-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
  margin: 0;
}

.company-header-desc {
  font-size: 14px;
  color: #94a3b8;
  max-width: 720px;
  line-height: 1.5;
  margin: 0;
}

.company-pilot-name {
  color: #38bdf8;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.company-cards-container {
  display: flex;
  gap: 24px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.company-card {
  flex: 1;
  min-width: 300px;
  max-width: 360px;
  background: rgba(10, 18, 32, 0.96);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.company-card:hover {
  transform: translateY(-8px);
}

.company-card.mmo:hover {
  border-color: #ef4444;
  box-shadow: 0 0 45px rgba(239, 68, 68, 0.5);
}

.company-card.eic:hover {
  border-color: #38bdf8;
  box-shadow: 0 0 45px rgba(56, 189, 248, 0.5);
}

.company-card-hero {
  height: 320px;
  position: relative;
  overflow: hidden;
  background: #020611;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.company-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.98) contrast(1.05);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.company-card:hover .company-hero-bg {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.company-card-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.company-card-gradient.red {
  background: linear-gradient(180deg, rgba(185, 28, 28, 0.08) 0%, transparent 40%, rgba(185, 28, 28, 0.2) 75%, rgba(10, 18, 32, 0.98) 100%);
}

.company-card-gradient.blue {
  background: linear-gradient(180deg, rgba(3, 105, 161, 0.08) 0%, transparent 40%, rgba(3, 105, 161, 0.2) 75%, rgba(10, 18, 32, 0.98) 100%);
}

.company-card-gradient.green {
  background: linear-gradient(180deg, rgba(21, 128, 61, 0.08) 0%, transparent 40%, rgba(21, 128, 61, 0.2) 75%, rgba(10, 18, 32, 0.98) 100%);
}

.company-emblem-wrap {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(3, 7, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 5px 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.75);
  z-index: 3;
}

.company-emblem-img {
  width: 58px;
  height: 32px;
  object-fit: contain;
}

.company-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.company-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: 4px;
  width: fit-content;
}

.company-badge.red {
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.company-badge.blue {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.company-badge.green {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.company-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 900;
  margin: 0;
  letter-spacing: 1px;
}

.company-name.red { color: #f87171; text-shadow: 0 0 12px rgba(239, 68, 68, 0.5); }
.company-name.blue { color: #38bdf8; text-shadow: 0 0 12px rgba(56, 189, 248, 0.5); }
.company-name.green { color: #4ade80; text-shadow: 0 0 12px rgba(34, 197, 94, 0.5); }

.company-lore {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
  min-height: 54px;
}

.company-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 10px 12px;
  margin-top: 4px;
}

.company-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #cbd5e1;
}

.company-feature-item strong {
  color: #f8fafc;
}

.company-feature-item .feat-icon {
  font-size: 14px;
}

.company-select-btn {
  width: 100%;
  padding: 13px;
  font-family: 'Orbitron', sans-serif;
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 1px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  margin-top: auto;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.company-select-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
}

.company-select-btn:active {
  transform: translateY(0);
}

.company-select-btn.btn-mmo {
  background: linear-gradient(135deg, #b91c1c, #ef4444);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.5);
}

.company-select-btn.btn-eic {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(2, 132, 199, 0.5);
}

@media (max-height: 860px) {
  .company-overlay {
    padding: 16px 12px 40px 12px;
  }
  .company-overlay-content {
    gap: 14px;
  }
  .company-header-title {
    font-size: 22px;
  }
  .company-card-hero {
    height: 270px;
  }
  .company-card-body {
    padding: 14px;
    gap: 8px;
  }
  .company-lore {
    min-height: auto;
    font-size: 12px;
  }
}

/* ================= KULLANICI CONTAINER (DarkOrbit kullanıcı.png Tasarımı) ================= */
#window-user-info {
  position: absolute;
  top: 48px;
  right: 16px;
  left: auto;
  transform: none;
  width: 352px;
  max-width: 352px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  z-index: 25;
  user-select: none;
}

#window-user-info.hidden {
  display: none !important;
}

.user-container-frame {
  position: relative;
  background: linear-gradient(135deg, #09090b 0%, #18181b 50%, #0d0d11 100%),
              radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 70%),
              repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 12px);
  border: 1.5px solid #27272a;
  border-radius: 4px;
  padding: 8px 14px 10px 14px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.95), 0 0 12px rgba(0, 0, 0, 0.8), inset 0 0 14px rgba(0, 0, 0, 0.95);
  box-sizing: border-box;
}

/* Köşelerdeki gri sci-fi braketler */
.user-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  border-color: #3f3f46;
  border-style: solid;
  border-width: 0;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.2));
}
.user-corner.tl {
  top: -2px;
  left: -2px;
  border-top-width: 3px;
  border-left-width: 3px;
  border-top-left-radius: 4px;
}
.user-corner.tr {
  top: -2px;
  right: -2px;
  border-top-width: 3px;
  border-right-width: 3px;
  border-top-right-radius: 4px;
}
.user-corner.bl {
  bottom: -2px;
  left: -2px;
  border-bottom-width: 3px;
  border-left-width: 3px;
  border-bottom-left-radius: 4px;
}
.user-corner.br {
  bottom: -2px;
  right: -2px;
  border-bottom-width: 3px;
  border-right-width: 3px;
  border-bottom-right-radius: 4px;
}

/* Üst ve alt kenarlardaki metalik gri vurgular */
.user-edge {
  position: absolute;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3f3f46, #71717a, #3f3f46, transparent);
  pointer-events: none;
}
.user-edge.top { top: -1px; }
.user-edge.bottom { bottom: -1px; }

/* 1. Satır: Pilot Adı ve Kapatma Butonu (Draggable Header) */
.user-container-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  padding: 0 0 3px 0 !important;
  cursor: grab !important;
}
.user-container-header:active {
  cursor: grabbing !important;
}
.user-pilot-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #ffffff;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.95);
  line-height: 1.1;
}
.user-close-btn {
  background: transparent !important;
  border: none !important;
  color: #a1a1aa !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 2px 6px !important;
  line-height: 1 !important;
  transition: all 0.15s ease !important;
}
.user-close-btn:hover {
  color: #ef4444 !important;
  transform: scale(1.2);
}

/* 2. Satır: Seviye + XP Çubuğu + XP Sayıları */
.user-container-progression {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}
.user-level-tag {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #f4f4f5;
  white-space: nowrap;
  letter-spacing: 0.8px;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.25);
}
.user-xp-bar-wrap {
  flex: 1;
  height: 9px;
  background: #020c17;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.user-xp-bar-fill {
  height: 100%;
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.9);
  transition: width 0.3s ease;
}
.user-xp-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  color: #7dd3fc;
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* 3. Satır: Kredi, Uridium, Şeref */
.user-container-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 4px;
}
.user-stat-col {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.user-stat-col.stat-credits {
  justify-content: flex-start;
}
.user-stat-col.stat-uridium {
  justify-content: center;
}
.user-stat-col.stat-honor {
  justify-content: flex-end;
}
.user-stat-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9));
  flex-shrink: 0;
}
.user-stat-val {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 17px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95);
}
.val-credits {
  color: #ffffff;
}
.val-uridium {
  color: #38bdf8;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.45);
}
.val-honor {
  color: #e4e4e7;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   KUŞANILMIŞ EKSTRALAR HUD (Oyun İçi Sağ Alt Dairesel Ekstra Slotları)
   ========================================================================== */
#equipped-extras-hud {
  position: fixed;
  bottom: 20px;
  right: 390px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 45;
  pointer-events: auto;
  transition: right 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

#minimap-container.hidden ~ #equipped-extras-hud,
body.minimap-closed #equipped-extras-hud {
  right: 24px;
}

.extra-hud-btn {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle, #18181b 0%, #09090b 100%) !important;
  border: 2px solid #38bdf8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.9), 0 0 12px rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  outline: none;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s ease, border-color 0.18s ease;
  padding: 0;
}

.extra-hud-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.95), 0 0 20px rgba(56, 189, 248, 0.85);
}

.extra-hud-btn:active {
  transform: scale(0.94);
}

.extra-hud-btn.extra-emp {
  border-color: #38bdf8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.9), 0 0 12px rgba(56, 189, 248, 0.4);
}

.extra-hud-btn.extra-emp:hover {
  border-color: #7dd3fc;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.95), 0 0 24px rgba(56, 189, 248, 0.9);
}

.extra-hud-btn.extra-cloak {
  border-color: #c084fc;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.9), 0 0 12px rgba(192, 132, 252, 0.4);
}

.extra-hud-btn.extra-cloak:hover {
  border-color: #e879f9;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.95), 0 0 24px rgba(192, 132, 252, 0.9);
}

.extra-hud-btn.extra-rep {
  border-color: #34d399;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.9), 0 0 12px rgba(52, 211, 153, 0.4);
}

.extra-hud-btn.extra-rep:hover {
  border-color: #10b981;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.95), 0 0 24px rgba(16, 185, 129, 0.9);
}

.extra-hud-btn.extra-ish {
  border-color: #facc15;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.9), 0 0 12px rgba(250, 204, 21, 0.4);
}

.extra-hud-btn.extra-ish:hover {
  border-color: #fde047;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.95), 0 0 24px rgba(250, 204, 21, 0.9);
}

.extra-hud-btn.extra-smb {
  border-color: #f87171;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.9), 0 0 12px rgba(248, 113, 113, 0.4);
}

.extra-hud-btn.extra-smb:hover {
  border-color: #ef4444;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.95), 0 0 24px rgba(239, 68, 68, 0.9);
}

.extra-hud-btn.extra-passive {
  border-color: #fb923c;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.9), 0 0 10px rgba(251, 146, 60, 0.35);
}

.extra-hud-btn.active-active {
  border-color: #10b981 !important;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.9) !important;
  animation: extraGlowPulse 1.4s infinite alternate;
}

@keyframes extraGlowPulse {
  0% { box-shadow: 0 0 8px rgba(16, 185, 129, 0.5); }
  100% { box-shadow: 0 0 24px rgba(16, 185, 129, 1); }
}

.extra-hud-btn.on-cooldown {
  filter: grayscale(0.7) opacity(0.7);
  cursor: not-allowed;
}

.extra-hud-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
  transition: transform 0.15s ease;
}

.extra-hud-btn:hover .extra-hud-img {
  transform: scale(1.08);
}

/* Kısayol Tuşu Rozeti (Sol Üst) */
.extra-hud-key {
  position: absolute;
  top: -4px;
  left: -4px;
  background: #000000;
  border: 1px solid #38bdf8;
  border-radius: 4px;
  color: #38bdf8;
  font-family: 'Orbitron', sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 5px;
  line-height: 1.1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.extra-hud-btn.extra-cloak .extra-hud-key {
  border-color: #c084fc;
  color: #c084fc;
}

.extra-hud-btn.extra-rep .extra-hud-key {
  border-color: #34d399;
  color: #34d399;
}

.extra-hud-btn.extra-ish .extra-hud-key {
  border-color: #facc15;
  color: #facc15;
}

.extra-hud-btn.extra-smb .extra-hud-key {
  border-color: #f87171;
  color: #f87171;
}

.extra-hud-btn.extra-passive .extra-hud-key {
  border-color: #fb923c;
  color: #fb923c;
}

/* Cephane / Adet Sayacı (Sağ Alt) */
.extra-hud-count {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: rgba(0, 0, 0, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  color: #f8fafc;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 800;
  padding: 0 4px;
  line-height: 1.2;
  pointer-events: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}

/* Bekleme Süresi Katmanı */
.extra-hud-cooldown {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
}

/* ================= AUTH MAINTENANCE OVERLAY & STYLES ================= */
.auth-maintenance-alert {
  background: linear-gradient(135deg, rgba(40, 10, 18, 0.95), rgba(20, 5, 10, 0.98));
  border: 1.5px solid #ef4444;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  animation: authFadeIn 0.3s ease-out;
}

.m-alert-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.m-alert-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 900;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 1.5px;
  display: inline-block;
  margin: 0 auto;
}

.m-alert-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: #f87171;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.m-alert-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

.m-alert-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}

.m-alert-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: pulse-dot 1.2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
}

.btn-maintenance-disabled {
  background: linear-gradient(135deg, #7f1d1d, #991b1b) !important;
  border-color: #ef4444 !important;
  color: #fca5a5 !important;
  cursor: not-allowed !important;
  opacity: 0.75 !important;
  box-shadow: none !important;
  pointer-events: none !important;
  filter: grayscale(0.2) !important;
}

/* ==========================================================================
   MODERN CLEAN SCI-FI LOADING SCREEN (SUNORBIT)
   ========================================================================== */
.game-loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #030408 url('../assets/ui/loading-bg.png') no-repeat center center;
  background-size: cover;
  user-select: none;
  overflow: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease-out;
}

.game-loading-screen.fade-out {
  opacity: 0 !important;
  transform: scale(1.05) translateY(-8px);
  filter: blur(10px);
  pointer-events: none;
}

/* Atmospheric Darkness Vignette over Wallpaper */
.loading-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(3, 5, 12, 0.3) 0%, rgba(2, 4, 10, 0.75) 100%);
}

/* Center Content Box */
.loading-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 920px;
  width: 92%;
  text-align: center;
  gap: 14px;
  margin-top: -95px;
}

/* Top Center Header & SUNORBIT Gold Logo */
.loading-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
}

.sunorbit-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sunorbit-gold-logo-img {
  max-width: 820px;
  width: 92vw;
  height: auto;
  max-height: 255px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 36px rgba(234, 179, 8, 0.55));
  animation: logo-subtle-glow 3.5s ease-in-out infinite alternate;
}

@keyframes logo-subtle-glow {
  0% { transform: scale(0.98); filter: drop-shadow(0 0 18px rgba(234, 179, 8, 0.35)); }
  100% { transform: scale(1.02); filter: drop-shadow(0 0 38px rgba(250, 204, 21, 0.8)); }
}

.loading-welcome-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 8px;
  color: #f1f5f9;
  text-transform: uppercase;
  margin-top: 8px;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.9), 0 0 10px rgba(250, 204, 21, 0.55);
  opacity: 0.95;
}

/* Yellow Progress Bar System & Action Area */
.loading-bar-wrapper {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.loading-action-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-bottom: 4px;
}

.loading-status-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #f8fafc;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.9), 0 0 8px rgba(250, 204, 21, 0.4);
  text-transform: uppercase;
}

/* BAŞLAT Button appearing right above the progress bar */
.loading-start-btn {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 5px;
  color: #000000;
  background: linear-gradient(180deg, #ffffff 0%, #fef08a 25%, #facc15 65%, #ca8a04 100%);
  border: 2px solid #ffffff;
  border-radius: 8px;
  padding: 10px 48px;
  cursor: pointer;
  outline: none;
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.85), 0 0 50px rgba(234, 179, 8, 0.5);
  animation: start-btn-pulse 1.3s infinite alternate ease-in-out;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
  text-transform: uppercase;
}

.loading-start-btn:hover {
  transform: scale(1.06);
  filter: brightness(1.15);
  box-shadow: 0 0 35px rgba(250, 204, 21, 1), 0 0 70px rgba(234, 179, 8, 0.7);
}

.loading-start-btn:active {
  transform: scale(0.96);
}

@keyframes start-btn-pulse {
  0% { transform: scale(1); box-shadow: 0 0 20px rgba(250, 204, 21, 0.65); }
  100% { transform: scale(1.05); box-shadow: 0 0 38px rgba(250, 204, 21, 0.95), 0 0 60px rgba(234, 179, 8, 0.6); }
}

/* Expanded Height Yellow Progress Bar Track - Zero padding for flush fit */
.loading-bar-track {
  position: relative;
  width: 100%;
  height: 44px;
  background: rgba(10, 11, 16, 0.95);
  border: 2.5px solid #eab308;
  border-radius: 10px;
  box-shadow: 0 0 26px rgba(234, 179, 8, 0.35), inset 0 2px 12px rgba(0, 0, 0, 0.9);
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.loading-bar-track.ready {
  cursor: pointer;
  box-shadow: 0 0 35px rgba(250, 204, 21, 0.6), inset 0 2px 12px rgba(0, 0, 0, 0.9);
}

/* Yellow / Golden-Yellow Fill - 100% Flush edge-to-edge inside track */
.loading-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 0;
  background: linear-gradient(90deg, #ca8a04 0%, #eab308 50%, #facc15 100%);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  transition: width 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* High Speed Subtle Energy Sweep across Yellow Fill */
.loading-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  animation: yellow-energy-sweep 1.5s infinite ease-in-out;
}

@keyframes yellow-energy-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Centered Bold Black Percentage inside the Progress Bar */
.loading-percentage-inside {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  font-family: 'Orbitron', monospace;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #000000;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

/* ================= GRUP CONTAINER ================= */
.hud-btn.group-top-btn {
  background: #09090b !important;
  color: #e4e4e7 !important;
  border: 1.5px solid #3f3f46 !important;
}

.hud-btn.group-top-btn:hover {
  background: #18181b !important;
  color: #ffffff !important;
  border-color: #a1a1aa !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.8) !important;
}

.hud-btn.group-top-btn.active {
  background: #27272a !important;
  color: #ffffff !important;
  border-color: #d4d4d8 !important;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2) !important;
}

#window-group {
  position: absolute;
  top: 48px;
  right: 376px;
  left: auto;
  transform: none;
  width: 250px;
  min-width: 210px;
  min-height: 120px;
  max-width: 480px;
  max-height: 620px;
  resize: both;
  overflow: hidden;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  z-index: 26;
  user-select: none;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#window-group.hidden {
  display: none !important;
}

/* DarkOrbit Grup Çerçevesi (Sarı çizgi kaldırıldı, şık koyu metalik çerçeve) */
.group-container-frame.do-group-skin {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #10151c 0%, #080a0f 60%, #050608 100%);
  border: 1px solid #3f3f46;
  border-radius: 4px;
  padding: 4px 6px 6px 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.98), 0 0 16px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(0, 0, 0, 0.9);
  box-sizing: border-box;
}

/* Sarı köşe ve kenar çizgileri tamamen kaldırıldı */
.group-corner,
.group-edge {
  display: none !important;
}

/* 1. Başlık Çubuğu: Grimsi Metalik Sci-Fi Başlık (Grup 1/8) */
.group-container-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  margin: -1px -3px 4px -3px;
  background: linear-gradient(90deg, #18181b 0%, #27272a 50%, #18181b 100%);
  border-bottom: 1.5px solid #3f3f46;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  cursor: move;
  flex-shrink: 0;
}

.do-group-icon {
  font-size: 13px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.9));
}

.group-header-title {
  font-family: 'Orbitron', monospace;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 6px rgba(255, 255, 255, 0.7);
}

.group-member-count {
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  font-weight: 800;
  color: #facc15;
  background: #18181b;
  border: 1px solid #3f3f46;
  padding: 0 5px;
  border-radius: 2px;
  box-shadow: 0 0 4px rgba(250, 204, 21, 0.3);
}

.group-close-btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #facc15 !important;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
  padding: 0 4px;
  text-shadow: 0 0 6px rgba(250, 204, 21, 0.6);
}
.group-close-btn:hover {
  background: transparent !important;
  color: #ef4444 !important;
  transform: scale(1.2);
  box-shadow: none !important;
}

/* 2. Grup Üyeleri Kartları (grup1.jpg) */
.group-members-list {
  flex: 1;
  min-height: 50px;
  max-height: 380px;
  overflow-y: auto;
  padding: 3px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.group-members-list::-webkit-scrollbar { width: 3px; }
.group-members-list::-webkit-scrollbar-track { background: rgba(5, 7, 10, 0.6); }
.group-members-list::-webkit-scrollbar-thumb { background: #ca8a04; border-radius: 2px; }

.do-group-card {
  background: rgba(14, 18, 26, 0.88);
  border: 1px solid rgba(250, 204, 21, 0.25);
  border-radius: 3px;
  padding: 4px 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.do-group-card:hover {
  border-color: #facc15;
  background: rgba(24, 32, 46, 0.95);
}

.do-group-card.selected {
  border-color: #fde047;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.4), inset 0 0 6px rgba(250, 204, 21, 0.15);
}

.do-group-card.diff-map {
  opacity: 0.75;
  border-color: rgba(249, 115, 22, 0.3);
}

.do-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.do-map-tag {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 800;
  color: #e4e4e7;
  letter-spacing: 0.5px;
}
.do-map-tag.same { color: #4ade80; text-shadow: 0 0 4px rgba(74, 222, 128, 0.5); }
.do-map-tag.diff { color: #fb923c; }

.do-pilot-name {
  font-family: 'Exo 2', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #fef08a;
  letter-spacing: 0.5px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.do-self-tag {
  font-size: 10px;
  color: #38bdf8;
  font-weight: normal;
}

.do-role-badge.leader {
  color: #facc15;
  font-size: 12px;
  filter: drop-shadow(0 0 4px rgba(250, 204, 21, 0.9));
}

.do-leader-inline-actions {
  display: flex;
  align-items: center;
  gap: 3px;
}

.do-btn-kick {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  background: rgba(220, 38, 38, 0.35);
  border: 1px solid #ef4444;
  color: #fca5a5;
  font-family: 'Orbitron', monospace;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.do-btn-kick:hover {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.9);
}

.do-btn-promote {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  background: rgba(234, 179, 8, 0.25);
  border: 1px solid #facc15;
  color: #fde047;
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.do-btn-promote:hover {
  background: #facc15;
  color: #000;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.9);
}

/* 3 Paralel Çizgi (Yeşil Can, Mavi Kalkan, Sarı TP) ve Hedef İkonu */
.do-card-body {
  display: flex;
  align-items: center;
  gap: 6px;
}

.do-lines-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.do-mini-bar-wrap {
  position: relative;
  height: 4px;
  background: rgba(0, 0, 0, 0.7);
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 1px;
  overflow: hidden;
}

.do-mini-bar.hp {
  height: 100%;
  background: #22c55e;
  box-shadow: 0 0 4px rgba(34, 197, 94, 0.8);
  transition: width 0.3s ease;
}

.do-mini-bar.shd {
  height: 100%;
  background: #38bdf8;
  box-shadow: 0 0 4px rgba(56, 189, 248, 0.8);
  transition: width 0.3s ease;
}

.do-mini-bar.exp {
  height: 100%;
  background: #facc15;
  box-shadow: 0 0 4px rgba(250, 204, 21, 0.8);
  transition: width 0.3s ease;
}
.do-mini-bar.diff {
  height: 100%;
  background: #f97316;
}

.do-ship-target-box,
.do-ship-icon,
.do-target-reticle {
  display: none !important;
}

.do-btn-fly-inline {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  background: rgba(14, 165, 233, 0.25);
  border: 1px solid #38bdf8;
  color: #7dd3fc;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.do-btn-fly-inline:hover {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}

.do-hex-btn.do-btn-fly.active {
  background: rgba(14, 165, 233, 0.25) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5) !important;
}
.do-hex-btn.do-btn-fly.active:hover {
  background: #0284c7 !important;
  border-color: #7dd3fc !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.9) !important;
}

.do-card-numbers {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Orbitron', monospace;
  font-size: 8.5px;
  font-weight: 700;
  color: #a1a1aa;
}
.do-card-numbers .num-hp { color: #4ade80; }
.do-card-numbers .num-shd { color: #38bdf8; }
.do-card-numbers .num-map.same { color: #facc15; }
.do-card-numbers .num-map.diff { color: #fb923c; }

/* 3. Davet Girişi + Altıgen Zarf Butonu (grup1.jpg Kırmızı Kutu) */
.do-invite-bar {
  padding: 6px 0 4px 0;
  border-top: 1px solid rgba(250, 204, 21, 0.2);
}

.do-invite-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.do-group-input {
  flex: 1;
  background: #080c12;
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: #fef08a;
  font-family: 'Exo 2', sans-serif;
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 2px;
  outline: none;
  transition: all 0.2s;
}
.do-group-input:focus {
  border-color: #facc15;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.6);
}

/* Orijinal DarkOrbit Altıgen Zarf Butonu */
.do-hex-envelope-btn {
  width: 32px;
  height: 30px;
  background: linear-gradient(180deg, #ca8a04 0%, #854d0e 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: none;
  color: #fef08a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.4);
}
.do-hex-envelope-btn:hover {
  background: linear-gradient(180deg, #fde047 0%, #ca8a04 100%);
  color: #000000;
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.8);
}
.do-hex-envelope-btn .envelope-icon {
  font-size: 14px;
  font-weight: bold;
}

/* 4. Alt Altıgen DarkOrbit Aksiyon Butonları (grup1.jpg) */
.group-hex-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 0 2px 0;
  border-top: 1px solid rgba(250, 204, 21, 0.15);
}

.do-hex-btn {
  width: 28px;
  height: 26px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(250, 204, 21, 0.35);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

.do-hex-btn:hover {
  background: linear-gradient(180deg, #eab308 0%, #ca8a04 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.7);
}
.do-hex-btn:hover .hex-icon {
  color: #000000;
}

.do-hex-btn.active {
  background: linear-gradient(180deg, #facc15 0%, #ca8a04 100%);
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.8);
}
.do-hex-btn.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.hex-icon {
  font-size: 11px;
  font-weight: bold;
  color: #fde047;
  transition: color 0.2s;
}
.hex-icon.kick { color: #f87171; }
.hex-icon.promote { color: #facc15; }
.hex-icon.leave { color: #fb923c; }
.hex-icon.disband { color: #ef4444; }

/* ================= GELEN GRUP DAVETİ POP-UP BİLDİRİMİ ================= */
.group-invite-popup {
  position: absolute;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  user-select: none;
  animation: invite-slide-in 0.3s ease-out;
}

.group-invite-popup.hidden {
  display: none !important;
}

@keyframes invite-slide-in {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.invite-popup-inner {
  position: relative;
  background: #0d0a02;
  border: 1.5px solid #facc15;
  border-radius: 4px;
  padding: 10px 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.98), 0 0 20px rgba(250, 204, 21, 0.45);
  min-width: 280px;
  text-align: center;
}

.invite-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}

.invite-icon {
  font-size: 18px;
  filter: drop-shadow(0 0 5px rgba(250, 204, 21, 0.9));
}

.invite-title {
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fde047;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.8);
}

.invite-body {
  margin-bottom: 10px;
  font-size: 13px;
  color: #f4f4f5;
}

.invite-from-name {
  font-weight: 800;
  color: #facc15;
  text-shadow: 0 0 6px rgba(250, 204, 21, 0.6);
}

.invite-desc {
  color: #e4e4e7;
  margin-left: 4px;
}

.invite-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.invite-btn {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.invite-btn.accept {
  background: linear-gradient(180deg, #22c55e 0%, #15803d 100%);
  border: 1px solid #4ade80;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}
.invite-btn.accept:hover {
  background: linear-gradient(180deg, #4ade80 0%, #16a34a 100%);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.8);
  transform: translateY(-1px);
}

.invite-btn.decline {
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
  border: 1px solid #f87171;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}
.invite-btn.decline:hover {
  background: linear-gradient(180deg, #f87171 0%, #dc2626 100%);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.8);
  transform: translateY(-1px);
}





