/* Compact overlay for Sunucu mega — classic backup:
   /home/dodobilisim/private-docs/menu-backups/server-mega-classic-20260905/
   Remove this file link from header.tpl to restore tall layout (plus restore tpl/css). */
.mega-menu--server-compact {
  max-height: min(72vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mega-menu--server-compact .srv-mega {
  padding: 4px 0 2px;
}
.mega-menu--server-compact .srv-mega__tabs {
  gap: 6px;
  margin: 0 0 10px;
  padding-bottom: 8px;
}
.mega-menu--server-compact .srv-mega__tab {
  padding: 7px 8px;
  border-radius: 10px;
}
.mega-menu--server-compact .srv-mega__tab-icon,
.mega-menu--server-compact .srv-mega__tab-icon img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.mega-menu--server-compact .srv-mega__tab-text strong {
  font-size: 12px;
}
.mega-menu--server-compact .srv-mega__tab-text small {
  display: none;
}
.mega-menu--server-compact .menu-link {
  padding: 6px 8px !important;
  gap: 10px !important;
  align-items: center !important;
}
.mega-menu--server-compact .menu-link .icon,
.mega-menu--server-compact .menu-link .icon img {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
}
.mega-menu--server-compact .menu-link .link-info p {
  display: none !important; /* kısa menü: açıklamalar /server/ hub’da */
}
.mega-menu--server-compact .menu-link .link-info strong {
  font-size: 13px;
  line-height: 1.25;
}
.mega-menu--server-compact .col-12.py-2 {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}
.mega-menu--server-compact .subtitle {
  margin: 0 0 6px !important;
  font-size: 12px !important;
}
.mega-menu--server-compact .srv-mega__chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}
.mega-menu--server-compact .srv-mega__chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #e8ecf2;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: #0b1220;
  font-size: 12.5px;
  font-weight: 700;
  transition: border-color .15s ease, background .15s ease;
}
.mega-menu--server-compact .srv-mega__chip:hover {
  border-color: #0f51ff;
  background: #f5f8ff;
}
.mega-menu--server-compact .srv-mega__chip-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(15,23,42,.08);
}
.mega-menu--server-compact .srv-mega__chip-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mega-menu--server-compact .srv-mega__chip-soon {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  color: #b45309;
}
.mega-menu--server-compact .srv-mega__chip.is-soon {
  opacity: .85;
}
.mega-menu--server-compact .srv-mega__more {
  margin: 10px 0 0;
  font-size: 12.5px;
  font-weight: 700;
}
.mega-menu--server-compact .srv-mega__more a {
  color: #0f51ff;
  text-decoration: none;
}
.mega-menu--server-compact .srv-mega__more a:hover {
  text-decoration: underline;
}

/* Diğer mega — denser, no game grid */
.mega-menu--diger.mega-menu--diger-compact .menu-link {
  padding: 6px 8px !important;
  gap: 10px !important;
}
.mega-menu--diger.mega-menu--diger-compact .menu-link .icon,
.mega-menu--diger.mega-menu--diger-compact .menu-link .icon img {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
}
.mega-menu--diger.mega-menu--diger-compact .menu-link .link-info p {
  display: none !important;
}
.mega-menu--diger.mega-menu--diger-compact .col-12.py-2 {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}
.mega-menu--diger.mega-menu--diger-compact .subtitle {
  margin-bottom: 6px !important;
  font-size: 12px !important;
}

/* Footer oyun column chips */
.cloudn-footer__games {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cloudn-footer__games a {
  font-size: 13px;
  color: inherit;
  text-decoration: none;
  opacity: .9;
}
.cloudn-footer__games a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* /server/ oyun tanıtım grid */
.dbd-srv-games__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 991px) {
  .dbd-srv-games__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .dbd-srv-games__grid { grid-template-columns: 1fr; }
}
.dbd-srv-game-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #e8ecf2;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  height: 100%;
}
.dbd-srv-game-card:hover {
  border-color: #0f51ff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
  transform: translateY(-2px);
}
.dbd-srv-game-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 10px;
  background: #f8fafc;
}
.dbd-srv-game-card strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}
.dbd-srv-game-card span {
  display: block;
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}
.dbd-srv-game-card em {
  display: inline-block;
  margin-top: 8px;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f51ff;
}
