/* Macera · Arkadaşını davet et — oda davetleri */

#nova_macera_flyout .nova-lobby-adventure__choices .nova-lobby-tile--party {
  grid-column: 1 / -1;
  min-height: clamp(88px, 18vw, 108px) !important;
  height: auto !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(253, 224, 71, 0.38) 0%, transparent 48%),
    linear-gradient(168deg, #7c3aed 0%, #6d28d9 46%, #1d4ed8 100%) !important;
  box-shadow:
    0 0 0 1.5px rgba(221, 214, 254, 0.55),
    0 10px 0 rgba(49, 10, 101, 0.55),
    0 16px 28px rgba(15, 23, 42, 0.28) !important;
  animation: novaMaceraChoiceIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards;
}

#nova_macera_flyout.is-anim .nova-lobby-adventure__choices .nova-lobby-tile--party {
  animation-delay: 0.22s;
}

#nova_macera_flyout .nova-lobby-tile--party .nova-lobby-tile__icon {
  font-size: clamp(22px, 5vw, 30px);
}

#nova_macera_flyout .nova-lobby-adventure__choices .nova-lobby-tile__name,
#nova_macera_flyout .nova-lobby-adventure__choices .main-menu-label {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.18em !important;
  width: 100% !important;
  white-space: normal !important;
  text-align: center !important;
}

#nova_macera_flyout .nova-lobby-adventure__choices .nova-lobby-tile__name-line {
  display: block !important;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.08em;
}

#nova-duel-epic-root.ndep-open {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#nova-duel-search-phase.ndep-active {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  align-self: stretch;
}

.ndep-search-card.is-party-host {
  overflow: visible !important;
  max-height: none !important;
  transform: none !important;
}

.ndep-party-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  flex: 0 0 auto;
  margin-top: 6px;
  position: relative;
  z-index: 5;
}

.ndep-seat-invite,
.ndep-party-fill {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: ComfortaaOkul, Comfortaa, "Segoe UI", sans-serif;
  font-weight: 800;
}

.ndep-search-seat.is-empty {
  position: relative;
}

.ndep-seat-invite {
  margin-top: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #14532d;
  background: linear-gradient(180deg, #bbf7d0, #4ade80);
  box-shadow: 0 3px 0 #15803d;
  font-size: 13px;
}

.ndep-seat-invite:disabled {
  opacity: 0.45;
  box-shadow: none;
  cursor: default;
}

.ndep-search-seat.is-wait .ndep-seat-label {
  color: #fde68a;
}

.ndep-party-fill {
  display: block;
  width: min(100%, 280px);
  margin: 0 auto;
  min-height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  color: #fffbeb;
  background: linear-gradient(180deg, #38bdf8, #2563eb);
  box-shadow: 0 4px 0 #1e3a8a;
  font-size: 15px;
  pointer-events: auto;
}

.ndep-party-fill[hidden] {
  display: none !important;
}

.nova-party-picker {
  position: fixed;
  inset: 0;
  z-index: 2147483646 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 18, 28, 0.55);
  pointer-events: auto;
}

#nova-duel-epic-root .nova-party-picker {
  position: absolute;
  z-index: 50;
}

.nova-party-picker[hidden] {
  display: none !important;
}

.nova-party-picker__card {
  width: min(420px, 100%);
  max-height: min(72vh, 520px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: linear-gradient(180deg, #0f2a22, #102414);
  border: 2px solid rgba(253, 224, 71, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  color: #fffbeb;
  font-family: ComfortaaOkul, Comfortaa, "Segoe UI", sans-serif;
}

.nova-party-picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px 8px;
}

.nova-party-picker__x {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.nova-party-picker__tabs {
  display: flex;
  gap: 8px;
  padding: 0 14px 8px;
}

.nova-party-picker__tabs button {
  flex: 1;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-weight: 800;
  cursor: pointer;
}

.nova-party-picker__tabs button.is-on {
  background: #22c55e;
  color: #052e16;
}

.nova-party-picker__hint {
  margin: 0 14px 8px;
  font-size: 12px;
  color: #fde68a;
  min-height: 1.2em;
}

.nova-party-picker__list {
  list-style: none;
  margin: 0;
  padding: 0 10px 12px;
  overflow: auto;
}

.nova-party-picker__row,
.nova-party-picker__empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 12px;
}

.nova-party-picker__row {
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 6px;
}

.nova-party-picker__row button {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #4ade80;
  color: #14532d;
  font-weight: 800;
  cursor: pointer;
}

.nova-party-picker__row button:disabled {
  opacity: 0.4;
  cursor: default;
}

.nova-party-picker__empty {
  color: #cbd5e1;
  justify-content: center;
}
