/* Oda dolunca konu kartı — 5 sn, sonra yükleme */
#nova-duel-search-phase {
  position: relative;
}
.ndep-topic-reveal {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 2vh, 22px);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.32s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
#nova-duel-epic-root > .ndep-topic-reveal {
  position: absolute;
  inset: 0;
  z-index: 90;
}
.ndep-topic-reveal__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(251, 191, 36, 0.28), transparent 62%),
    radial-gradient(ellipse 90% 80% at 50% 100%, rgba(15, 118, 110, 0.35), transparent 55%),
    rgba(6, 16, 14, 0.82);
}
.ndep-topic-reveal[hidden] {
  display: none !important;
}
.ndep-topic-reveal.is-on {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.ndep-topic-reveal__panel {
  --ndtr-c: #fbbf24;
  position: relative;
  z-index: 1;
  width: min(460px, 94%);
  text-align: center;
  padding: clamp(18px, 3vh, 34px) clamp(18px, 3.4vw, 32px) clamp(16px, 2.8vh, 26px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--ndtr-c) 28%, white), transparent 46%),
    linear-gradient(165deg, #fffef8, #fff7e0 55%, #ecfccb);
  border: 3px solid rgba(255, 255, 255, 0.98);
  box-shadow:
    0 22px 48px rgba(20, 50, 40, 0.32),
    0 0 0 6px color-mix(in srgb, var(--ndtr-c) 42%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.ndep-topic-reveal__eyebrow {
  margin: 0 0 8px;
  font-size: clamp(12px, 2vh, 14px);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(30, 70, 50, 0.72);
}
.ndep-topic-reveal__art {
  width: min(168px, 38vw, 36vh);
  height: min(168px, 38vw, 36vh);
  margin: 4px auto 12px;
  border-radius: 32px;
  overflow: hidden;
  background: color-mix(in srgb, var(--ndtr-c) 28%, #fff);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--ndtr-c) 45%, transparent);
  display: grid;
  place-items: center;
  position: relative;
}
.ndep-topic-reveal__art.is-missing::after {
  content: attr(data-letter);
  font-size: 72px;
  font-weight: 900;
  color: var(--ndtr-c);
}
.ndep-topic-reveal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ndep-topic-reveal__lesson {
  margin: 0;
  font-size: clamp(14px, 2.3vh, 17px);
  font-weight: 800;
  color: #b45309;
}
.ndep-topic-reveal__title {
  margin: 6px 0 10px;
  font-size: clamp(24px, 5vh, 38px);
  line-height: 1.12;
  font-weight: 900;
  color: #14532d;
  text-wrap: balance;
}
.ndep-topic-reveal__hint {
  margin: 0 0 12px;
  font-size: clamp(13px, 2.2vh, 16px);
  font-weight: 800;
  color: rgba(20, 53, 40, 0.78);
}
.ndep-topic-reveal__timer {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  min-width: 92px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #14532d;
  color: #ecfccb;
  box-shadow: 0 6px 0 #052e16;
}
.ndep-topic-reveal__timer b {
  font-size: clamp(22px, 4vh, 30px);
  font-weight: 900;
  line-height: 1;
}
.ndep-topic-reveal__timer span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.ndep-search-card.is-topic-reveal .ndep-kids-cancel {
  visibility: hidden;
  pointer-events: none;
}
.ndep-search-card.is-topic-reveal .ndep-search-seats {
  filter: saturate(0.85) brightness(0.92);
}
body.ndep-topic-reveal-on #nova-duel-epic-root,
body.ndep-topic-reveal-on #nova-duel-epic-root.ndep-open {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 2147483646 !important;
}
body.ndep-topic-reveal-on #nova-duel-search-phase.ndep-active {
  display: flex !important;
  visibility: visible !important;
}
@media (orientation: landscape) and (max-height: 430px) {
  .ndep-topic-reveal__art {
    width: min(88px, 22vh);
    height: min(88px, 22vh);
    margin-bottom: 6px;
    border-radius: 20px;
  }
  .ndep-topic-reveal__title {
    font-size: clamp(18px, 6vh, 26px);
    margin: 2px 0 6px;
  }
  .ndep-topic-reveal__panel {
    padding: 10px 16px 12px;
  }
}
