/* nova-build 260827live2 */
/* Düello lobby / go — Unity tarzı çocuk oyun teması */

/* —— Mod seçimi: kaydırma yok, kart viewport’a sığsın —— */
.ndep-mode-phase.ndep-active,
.ndep-search-phase.ndep-active {
  padding: max(8px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
}

.ndep-mode-phase .ndep-kids-card,
.ndep-search-phase .ndep-kids-card {
  width: min(560px, 82vw);
  max-height: min(78vh, 480px);
  height: auto;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.4vh, 14px);
  padding: clamp(12px, 2.4vh, 22px) clamp(14px, 2.8vw, 28px);
  background:
    linear-gradient(165deg, rgba(255, 252, 245, 0.97), rgba(255, 255, 255, 0.92)),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(253, 224, 71, 0.18), transparent 70%);
  border: 3px solid rgba(255, 255, 255, 0.98);
  box-shadow:
    0 22px 48px rgba(30, 70, 40, 0.22),
    0 0 0 5px rgba(90, 170, 90, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.ndep-mode-phase .ndep-kids-brand {
  margin: 0;
  font-size: clamp(12px, 2.2vh, 15px);
}
.ndep-mode-phase .ndep-mode-kicker {
  margin: 0;
  font-size: clamp(12px, 2.2vh, 15px);
}
.ndep-mode-phase .ndep-mode-title {
  margin: 0;
  font-size: clamp(22px, 4.8vh, 36px);
  max-width: 22ch;
  line-height: 1.12;
}
.ndep-mode-phase .ndep-mode-grid {
  width: 100%;
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
  gap: clamp(10px, 2vw, 18px);
}
.ndep-mode-phase .ndep-mode-btn {
  min-height: 0;
  height: 100%;
  max-height: min(38vh, 200px);
  padding: clamp(10px, 2vh, 18px) 10px;
  gap: 2px;
}
.ndep-mode-phase .ndep-mode-btn-n {
  font-size: clamp(40px, 9vh, 72px);
}
.ndep-mode-phase .ndep-mode-btn-label {
  font-size: clamp(14px, 2.6vh, 18px);
}
.ndep-mode-phase .ndep-mode-btn-hint {
  font-size: clamp(12px, 2.2vh, 15px);
  font-weight: 800;
  color: rgba(20, 53, 40, 0.85);
  opacity: 1;
}
.ndep-mode-phase .ndep-kids-cancel {
  margin: 0;
  font-size: clamp(16px, 3.2vh, 22px);
  flex-shrink: 0;
}

/* —— Arama / lobi kartı —— */
.ndep-search-phase .ndep-kids-card {
  position: relative;
  max-height: min(92vh, 680px);
  width: min(880px, 92vw);
  gap: clamp(4px, 1.1vh, 10px);
  padding: clamp(8px, 1.8vh, 16px) clamp(12px, 2.4vw, 22px);
  justify-content: flex-start;
}
.ndep-search-phase #ndep-search-title {
  font-size: clamp(18px, 4.2vh, 36px);
  margin: 0;
  flex-shrink: 0;
}
.ndep-search-phase .ndep-search-kicker {
  font-size: clamp(11px, 2vh, 15px);
  margin: 0;
  flex-shrink: 0;
}
.ndep-search-phase .ndep-search-tip,
#ndep-search-tip {
  display: none !important;
}
.ndep-search-phase .ndep-kids-cancel {
  font-size: clamp(14px, 2.8vh, 22px);
  margin: 2px 0 0;
  flex-shrink: 0;
  padding: 6px 10px;
}

.ndep-search-seats {
  width: 100%;
  gap: clamp(8px, 1.6vw, 14px);
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
}
.ndep-search-seat {
  max-width: min(170px, 42vw);
  min-height: 0;
  height: auto;
  padding: 8px 8px 10px;
  gap: 4px;
  border-width: 3px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(240,252,255,0.88));
}
.ndep-search-seat.is-you {
  background: linear-gradient(180deg, #c8f4ff, #6fc4ef);
}
.ndep-search-seat.is-filled:not(.is-you) {
  background: linear-gradient(180deg, #ffe7b0, #f0b04a);
}
.ndep-search-seats.is-lobby-4 .ndep-search-seat {
  max-width: min(140px, 22vw);
  min-height: 0;
}

.ndep-seat-hero {
  --ndep-seat-hero-size: clamp(72px, 18vmin, 100px);
  width: var(--ndep-seat-hero-size) !important;
  height: var(--ndep-seat-hero-size) !important;
  min-width: var(--ndep-seat-hero-size) !important;
  min-height: var(--ndep-seat-hero-size) !important;
  max-width: var(--ndep-seat-hero-size) !important;
  max-height: var(--ndep-seat-hero-size) !important;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  align-self: center;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(56, 189, 248, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.7), rgba(220, 245, 230, 0.82));
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}
.ndep-seat-hero-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-height: 0;
}
.ndep-seat-hero-badge {
  min-height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.ndep-seat-stars {
  display: inline-flex;
  gap: 3px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #1e293b;
  border: 1px solid #fbbf24;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.ndep-seat-star {
  font-size: 13px;
  line-height: 1;
  color: #64748b;
  text-shadow: none;
}
.ndep-seat-star.is-on {
  color: #facc15;
  text-shadow: 0 0 5px rgba(250, 204, 21, 0.95);
}
.ndep-seat-epic-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  min-width: 92px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #fff;
  background: linear-gradient(180deg, #f0abfc 0%, #c026d3 48%, #7e22ce 100%);
  border: 1px solid #fde68a;
  box-shadow:
    0 0 10px rgba(192, 38, 211, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 0 rgba(88, 28, 135, 0.55);
}
.ndep-seat-level-pill {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  color: #355c48;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(90, 170, 90, 0.35);
}
.ndep-search-seats.is-lobby-4 .ndep-seat-hero {
  --ndep-seat-hero-size: clamp(60px, 15vmin, 84px);
}
.ndep-search-seats.is-lobby-4 .ndep-seat-star {
  font-size: 12px;
}
.ndep-search-seats.is-lobby-4 .ndep-seat-epic-pill {
  font-size: 12px;
  min-width: 84px;
  min-height: 24px;
  padding: 4px 10px;
}
.ndep-seat-hero .ndep-hero-stage,
.ndep-seat-hero .ndep-hero-mount {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  container-type: size;
}
.ndep-seat-hero .ndep-hero-mount {
  transform: none;
  max-width: none;
  max-height: none;
}
/* Eski sprite/canvas kahramanlar kutuyu doldursun; koşucu 640×720 tuvaline dokunma */
.ndep-seat-hero .ndep-hero-mount > canvas,
.ndep-seat-hero .ndep-hero-mount > svg,
.ndep-seat-hero .ndep-hero-mount > img {
  width: 88% !important;
  height: 88% !important;
  max-width: 88% !important;
  max-height: 88% !important;
  object-fit: contain !important;
  object-position: center center;
  display: block;
}
.ndep-seat-hero .nova-kosucu-host,
.ndep-seat-hero .nova-kosucu-stage,
.ndep-seat-hero .nova-kosucu-rig,
.ndep-seat-hero .nova-kosucu-alive {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
}
.ndep-seat-hero-empty {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(40, 80, 60, 0.45);
}
.ndep-search-seat.is-empty .ndep-seat-hero {
  border-style: dashed;
  opacity: 0.7;
}

/* —— 5 sn GO geri sayım (lobi üstü) —— */
.ndep-go-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 8;
  border-radius: inherit;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 220, 120, 0.35), transparent 55%),
    rgba(12, 28, 22, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}
.ndep-search-card.is-go .ndep-go-overlay {
  display: flex;
  animation: ndep-go-fade 0.35s ease both;
}
@keyframes ndep-go-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.ndep-go-label {
  font-size: clamp(14px, 2.8vh, 18px);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fef9c3;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.ndep-go-count {
  font-size: clamp(64px, 16vh, 120px);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-shadow:
    0 0 30px rgba(251, 191, 36, 0.7),
    0 8px 0 rgba(15, 40, 30, 0.35),
    0 16px 40px rgba(0,0,0,0.35);
  animation: ndep-go-pop 0.45s cubic-bezier(0.34, 1.5, 0.64, 1);
}
@keyframes ndep-go-pop {
  from { transform: scale(0.55); opacity: 0.3; }
  to { transform: scale(1); opacity: 1; }
}
.ndep-go-sub {
  font-size: clamp(13px, 2.4vh, 16px);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}
.ndep-search-card.is-go .ndep-kids-cancel {
  opacity: 0.35;
  pointer-events: none;
}

/* —— Arkadaşlar hazır (yedek full-screen) —— */
#nova-duel-found-phase.ndep-found-v2 {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: max(12px, env(safe-area-inset-top)) 16px !important;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#nova-duel-found-phase.ndep-found-v2.ndep-active {
  display: flex !important;
}
#nova-duel-found-phase.ndep-found-v2 .ndep-found-bg {
  position: absolute;
  inset: 0;
  background:
    var(--ndep-lobby-bg, none) center / cover no-repeat,
    linear-gradient(160deg, #7ec8e8, #b8e6a8 50%, #f0d48a);
  transform: scale(1.04);
}
#nova-duel-found-phase.ndep-found-v2 .ndep-found-card {
  position: relative;
  z-index: 2;
  width: min(520px, 92vw);
  padding: clamp(22px, 4vh, 36px) clamp(18px, 4vw, 32px);
  border-radius: 28px;
  background: linear-gradient(165deg, rgba(255,252,245,0.96), rgba(255,255,255,0.9));
  border: 3px solid rgba(255,255,255,0.95);
  box-shadow: 0 22px 50px rgba(30,70,40,0.25), 0 0 0 5px rgba(90,170,90,0.18);
}
#nova-duel-found-phase.ndep-found-v2 h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 4.5vh, 34px);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #143528 !important;
  text-shadow: 0 2px 0 rgba(255,255,255,0.7);
  animation: none;
}
#nova-duel-found-phase.ndep-found-v2 #ndep-found-count {
  font-size: clamp(72px, 18vh, 120px);
  font-weight: 900;
  line-height: 1;
  color: #0f5132 !important;
  text-shadow: 0 4px 0 rgba(255,255,255,0.65), 0 0 28px rgba(74,222,128,0.45);
  margin: 8px 0;
}
#nova-duel-found-phase.ndep-found-v2 .ndep-found-sub {
  margin: 0;
  font-size: clamp(14px, 2.6vh, 17px);
  font-weight: 800;
  color: #355c48 !important;
}

/* Prep tamamen kapalı (akıştan çıkarıldı) */
#nova-duel-prep-phase {
  display: none !important;
}

@media (max-height: 420px) {
  .ndep-mode-phase .ndep-kids-card,
  .ndep-search-phase .ndep-kids-card {
    max-height: 94vh;
    gap: 3px;
    padding: 6px 10px;
  }
  .ndep-mode-phase .ndep-mode-btn {
    max-height: 34vh;
  }
  .ndep-search-phase #ndep-search-title {
    font-size: clamp(16px, 5.5vh, 26px);
  }
  .ndep-search-phase .ndep-kids-cancel {
    font-size: clamp(13px, 3.4vh, 18px);
  }
  .ndep-seat-avatar {
    width: clamp(44px, 12vmin, 64px) !important;
    height: clamp(44px, 12vmin, 64px) !important;
  }
  /* Yatay telefonda dikdörtgene ezme — kutu kare kalsın */
  .ndep-seat-hero {
    --ndep-seat-hero-size: clamp(48px, 16vmin, 72px);
  }
  .ndep-search-seats.is-lobby-4 .ndep-seat-hero {
    --ndep-seat-hero-size: clamp(42px, 14vmin, 62px);
  }
  .ndep-go-count {
    font-size: clamp(48px, 18vh, 80px);
  }
}

/* Düello: dik ekranı kabul etme — yataya zorla */
body.nova-duel-land-flow #nova-portrait-lock,
html.nova-duel-land-flow #nova-portrait-lock,
body.nova-macera-land #nova-portrait-lock,
html.nova-macera-land #nova-portrait-lock,
body.birles-magara-fs #nova-portrait-lock {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* Yatay kilit: dikeyde oyun kullanılmasın */
@media (orientation: portrait) {
  body.nova-duel-land-flow::before,
  body.nova-macera-land::before,
  body.birles-magara-fs::before,
  body.birles-tepe-fs::before {
    content: "Cihazı yan çevir";
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 8, 20, 0.92);
    color: #f8fafc;
    font-family: ComfortaaOkul, Comfortaa, sans-serif;
    font-weight: 900;
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    text-align: center;
    padding: 24px;
    pointer-events: none;
  }
}
/* Lobide (epic-active ama land-flow yok) dikey uyarısı yok */
body.nova-duel-epic-active:not(.nova-duel-land-flow):not(.birles-magara-fs)::before {
  content: none !important;
  display: none !important;
}

/* Düello ilk açılış / tam ekran bekleme */
.ndep-duel-wait {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 18, 32, 0.42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
}
.ndep-duel-wait.is-on {
  display: flex;
}
.ndep-duel-wait[hidden] {
  display: none !important;
}
.ndep-duel-wait__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 28px;
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.94);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 36px rgba(8, 30, 40, 0.28);
  min-width: min(220px, 70vw);
  text-align: center;
}
.ndep-duel-wait__spin {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(40, 120, 90, 0.22);
  border-top-color: #2f9e6e;
  animation: ndep-duel-wait-spin 0.85s linear infinite;
}
.ndep-duel-wait__title {
  margin: 0;
  font-family: ComfortaaOkul, Comfortaa, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #163528;
}
.ndep-duel-wait__sub {
  margin: 0;
  font-family: ComfortaaOkul, Comfortaa, sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: #4a6b5c;
  animation: ndep-duel-wait-pulse 1.4s ease-in-out infinite;
}
@keyframes ndep-duel-wait-spin {
  to { transform: rotate(360deg); }
}
@keyframes ndep-duel-wait-pulse {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

.ndep-kids-veil,
.ndep-kids-veil--game,
.ndep-kids-bg,
#nova-duel-epic-root .ndep-backdrop,
#nova-duel-epic-root .ndep-stars {
  pointer-events: none !important;
}
.ndep-map-phase .ndep-map-btn,
.ndep-mode-phase .ndep-mode-btn,
.ndep-map-phase .ndep-game-back,
.ndep-mode-phase .ndep-game-back {
  pointer-events: auto !important;
  position: relative;
  z-index: 8;
}

/* Kapalı seçim ekranı tık yemesin; harita tıkı 2/4 kartına sızmasın */
.ndep-map-phase:not(.ndep-active),
.ndep-mode-phase:not(.ndep-active) {
  pointer-events: none !important;
}

/* Harita seçimi — tam ekran ortalı (ndep-phase 520px kilidi yok) */
.ndep-map-phase.ndep-active,
.ndep-mode-phase.ndep-active {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  box-sizing: border-box;
  z-index: 5;
}
.ndep-mode-phase.ndep-active {
  z-index: 6;
}
.ndep-map-phase .ndep-kids-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
}
.ndep-map-card {
  width: min(560px, 82vw) !important;
  max-width: 82vw !important;
  max-height: min(72vh, 440px) !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}
.ndep-kids-veil--game {
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(8, 18, 28, 0.28), rgba(8, 18, 28, 0.62)) !important;
}
.ndep-map-phase.ndep-active,
.ndep-mode-phase.ndep-active {
  overflow: visible !important;
}
.ndep-map-phase .ndep-kids-card.ndep-game-panel,
.ndep-mode-phase .ndep-kids-card.ndep-game-panel,
.ndep-game-panel.ndep-kids-card,
.ndep-map-card.ndep-game-panel {
  width: min(560px, 82vw) !important;
  max-width: 82vw !important;
  max-height: min(72vh, 440px) !important;
  height: auto !important;
  padding: clamp(10px, 1.6vh, 16px) clamp(10px, 2vw, 16px) !important;
  gap: clamp(8px, 1.2vh, 12px) !important;
  border-radius: 26px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background:
    linear-gradient(165deg, rgba(18, 32, 48, 0.82), rgba(12, 22, 36, 0.88)) !important;
  border: 2px solid rgba(255, 220, 140, 0.45) !important;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.35) !important;
  color: #f8fafc !important;
}
.ndep-game-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: ComfortaaOkul, Comfortaa, sans-serif;
  font-weight: 800;
  font-size: clamp(14px, 2.6vh, 17px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1208;
  background: linear-gradient(180deg, #ffe08a, #f0b429);
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  /* letter-spacing optik ortalama */
  padding-left: calc(22px + 0.06em);
  padding-right: 22px;
  text-align: center;
  box-sizing: border-box;
}
.ndep-map-phase .ndep-map-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(10px, 2vw, 18px);
  margin: 0;
  width: 100%;
  flex: 0 0 auto;
  min-height: auto;
  align-items: stretch;
}
.ndep-map-phase.is-solo-maps .ndep-map-grid {
  grid-template-columns: 1fr 1fr 1fr;
}
.ndep-map-phase.is-solo-maps .ndep-map-card.ndep-game-panel,
.ndep-map-phase.is-solo-maps .ndep-kids-card.ndep-game-panel {
  width: min(780px, 94vw) !important;
  max-width: 94vw !important;
}
.ndep-map-phase.is-solo-maps .ndep-map-btn-caption {
  font-size: clamp(0.72rem, 1.55vw, 1.02rem);
  padding-left: 6px;
  padding-right: 6px;
}
.ndep-map-phase .ndep-map-btn {
  appearance: none;
  cursor: pointer;
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 3px solid rgba(255, 236, 179, 0.55);
  border-radius: 20px;
  overflow: hidden;
  background: #0b1220;
  min-height: 96px;
  max-height: 140px;
  transition: transform 0.12s ease, border-color 0.12s ease;
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.ndep-map-phase .ndep-map-btn:active {
  transform: scale(0.97);
}
.ndep-map-phase .ndep-map-btn:hover,
.ndep-map-phase .ndep-map-btn:focus-visible {
  transform: translateY(-3px) scale(1.015);
  border-color: #ffe08a;
  outline: none;
}
.ndep-map-phase .ndep-map-btn-art {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 96px;
  max-height: 140px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  background-color: #0b1220;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ndep-map-btn-art--magara {
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.38)),
    url("https://duellox-cdn.b-cdn.net/v1/assets/birles/sisli-tepe/map-thumb-magara-fr10.webp?v=fr10");
}
.ndep-map-btn-art--tepe {
  background-image:
    linear-gradient(180deg, rgba(56, 189, 248, 0.08), rgba(21, 128, 61, 0.18)),
    url("https://duellox-cdn.b-cdn.net/v1/assets/birles/sisli-tepe/map-thumb-tepe-fr2.webp?v=fr2");
}
.ndep-map-btn-art--ziplama {
  background-image:
    linear-gradient(180deg, rgba(251, 191, 36, 0.08), rgba(21, 128, 61, 0.16)),
    url("https://duellox-cdn.b-cdn.net/v1/assets/birles/zipzip/board.webp?v=zip2");
  background-position: 50% 58%;
}
.ndep-map-btn-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 20px 12px 16px;
  background: linear-gradient(180deg, transparent, rgba(6, 10, 18, 0.92));
  color: #fff8e7;
  font-family: ComfortaaOkul, Comfortaa, sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 2.8vw, 1.28rem);
  letter-spacing: 0.04em;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}
.ndep-map-btn-caption strong {
  display: block;
  width: 100%;
  font-weight: 800;
  text-align: center;
  /* letter-spacing sağ kayması — optik ortalama */
  text-indent: 0.06em;
  box-sizing: border-box;
}
.ndep-map-phase .ndep-map-btn-title,
.ndep-map-phase .ndep-map-btn-hint {
  display: none !important;
}
.ndep-mode-phase .ndep-game-panel .ndep-mode-title,
.ndep-mode-phase .ndep-game-panel .ndep-kids-brand,
.ndep-mode-phase .ndep-game-panel .ndep-mode-kicker:not(.ndep-game-badge) {
  display: none !important;
}
.ndep-mode-phase .ndep-game-panel .ndep-mode-grid {
  margin-top: 2px;
}
.ndep-mode-phase .ndep-game-panel .ndep-mode-btn {
  border: 3px solid rgba(255, 236, 179, 0.5);
  border-radius: 22px;
  color: #fff8e7;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}
.ndep-mode-phase .ndep-game-panel .ndep-mode-btn--duo {
  background: linear-gradient(180deg, #2a7fd4 0%, #154a8c 100%);
}
.ndep-mode-phase .ndep-game-panel .ndep-mode-btn--quad {
  background: linear-gradient(180deg, #d97706 0%, #9a3412 100%);
}
.ndep-mode-phase .ndep-game-panel .ndep-mode-btn-n {
  color: #fff;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.28);
}
.ndep-mode-phase .ndep-game-panel .ndep-mode-btn-label {
  color: rgba(255, 248, 231, 0.95);
}
.ndep-mode-phase .ndep-game-panel .ndep-mode-btn-hint {
  display: none !important;
}
.ndep-mode-phase .ndep-game-panel .ndep-mode-btn-faces i {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.35);
}
.ndep-game-back.ndep-kids-cancel,
.ndep-game-panel .ndep-kids-cancel {
  flex-shrink: 0;
  color: #ffe08a !important;
  text-decoration: none !important;
  font-size: clamp(15px, 2.8vh, 18px) !important;
  letter-spacing: 0.04em;
  padding: 10px 18px !important;
  padding-left: calc(18px + 0.04em) !important;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 224, 138, 0.35);
  text-align: center;
}
.ndep-search-phase .ndep-kids-card {
  background:
    linear-gradient(165deg, rgba(18, 32, 48, 0.86), rgba(12, 22, 36, 0.9)) !important;
  border: 2px solid rgba(255, 220, 140, 0.4) !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42) !important;
  color: #f8fafc !important;
}
.ndep-search-phase .ndep-search-kicker,
.ndep-search-phase #ndep-search-title {
  color: #fff8e7 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.ndep-search-phase .ndep-kids-cancel {
  color: #ffe08a !important;
}

@media (max-width: 560px), (orientation: landscape) and (max-height: 420px) {
  .ndep-map-card.ndep-game-panel,
  .ndep-game-panel.ndep-kids-card {
    width: min(560px, 86vw) !important;
    max-width: 86vw !important;
    max-height: min(82dvh, 400px) !important;
    padding: 10px 12px !important;
    gap: 10px !important;
  }
  .ndep-map-phase .ndep-map-btn {
    min-height: 96px;
  }
  .ndep-map-phase .ndep-map-btn-art {
    aspect-ratio: 16 / 10;
    min-height: 88px !important;
    max-height: 128px !important;
  }
  .ndep-map-btn-caption {
    font-size: clamp(0.95rem, 2.6vw, 1.15rem);
    font-weight: 800;
    letter-spacing: 0.03em;
    padding: 16px 8px 12px;
  }
  .ndep-map-btn-caption strong {
    font-weight: 800;
    text-indent: 0.04em;
  }
}

