/* Mancınık Avı — yeni tam sahne; telefonda yatay video tam ekranı */
.birles-mancinik {
  position: fixed !important;
  inset: 0 !important;
  z-index: 14100 !important;
  display: none;
  background: #050b14;
  pointer-events: none;
}

.birles-mancinik.is-open {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto;
}

.birles-mancinik__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.birles-mancinik__boot {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    radial-gradient(circle at 50% 40%, rgba(34, 211, 238, 0.18), transparent 52%),
    rgba(5, 11, 20, 0.88);
  color: #ecfeff;
  text-align: center;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  transition: background 0.35s ease;
}

.birles-mancinik.is-ready .birles-mancinik__boot {
  background:
    radial-gradient(circle at 50% 42%, rgba(251, 191, 36, 0.22), transparent 55%),
    rgba(5, 11, 20, 0.42);
}

.birles-mancinik__boot[hidden] {
  display: none !important;
}

.birles-mancinik__boot-orb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 5px solid rgba(103, 232, 249, 0.25);
  border-top-color: #67e8f9;
  animation: mnBootSpin 0.85s linear infinite;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.35);
}

.birles-mancinik__boot-orb[hidden] {
  display: none !important;
}

.birles-mancinik__boot p {
  margin: 0;
}

.birles-mancinik__boot p:first-of-type {
  font-size: clamp(1.7rem, 5.5vw, 2.4rem);
  font-weight: 900;
}

.birles-mancinik__boot p + p {
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 700;
  opacity: 0.82;
}

.birles-mancinik__startbtn {
  margin-top: 8px;
  min-width: min(240px, 72vw);
  min-height: 58px;
  padding: 12px 28px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #fef3c7 0%, #fbbf24 55%, #f59e0b 100%);
  color: #422006;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: clamp(1.45rem, 4.8vw, 2rem);
  font-weight: 900;
  box-shadow: 0 7px 0 #b45309, 0 12px 28px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.birles-mancinik__startbtn:active {
  transform: translateY(3px);
  box-shadow: 0 4px 0 #b45309, 0 8px 18px rgba(0, 0, 0, 0.3);
}

.birles-mancinik__startbtn[hidden] {
  display: none !important;
}

.birles-mancinik__chip--gold {
  background: linear-gradient(180deg, #fde68a 0%, #f59e0b 100%);
  color: #422006;
  box-shadow: 0 5px 0 #b45309;
}

@keyframes mnBootSpin {
  to {
    transform: rotate(360deg);
  }
}

.birles-mancinik.is-booting .birles-mancinik__hint,
.birles-mancinik.is-booting .birles-mancinik__bar {
  visibility: hidden;
}

.birles-mancinik__panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #050b14;
  overflow: hidden;
}

.birles-mancinik__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: max(10px, env(safe-area-inset-top)) 12px 10px;
  color: #fff7ed;
  background: linear-gradient(180deg, rgba(5, 11, 20, 0.78) 0%, rgba(5, 11, 20, 0) 100%);
  pointer-events: none;
}

.birles-mancinik__bar > * {
  pointer-events: auto;
}

.birles-mancinik__titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
}

.birles-mancinik__titles strong {
  font-size: 1.18rem;
  font-weight: 900;
}

.birles-mancinik__titles span {
  font-size: 0.82rem;
  opacity: 0.8;
  font-weight: 700;
}

.birles-mancinik__stats {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
}

.birles-mancinik__stats [data-mn-lives] {
  color: #fb7185;
  letter-spacing: 1px;
}

.birles-mancinik__iconbtn,
.birles-mancinik__chip {
  border: 0;
  cursor: pointer;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-weight: 800;
  -webkit-tap-highlight-color: transparent;
}

.birles-mancinik__iconbtn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.birles-mancinik__chip {
  border-radius: 999px;
  padding: 10px 16px;
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  color: #1c1917;
  font-size: 1rem;
  box-shadow: 0 4px 0 #b45309;
  flex-shrink: 0;
}

.birles-mancinik__chip:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #b45309;
}

.birles-mancinik__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: #050b14;
  display: flex;
  align-items: center;
  justify-content: center;
}

.birles-mancinik__world {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  background: #07140f center / cover no-repeat;
}

.birles-mancinik.is-phone .birles-mancinik__stage {
  align-items: stretch;
  justify-content: stretch;
}

.birles-mancinik.is-phone .birles-mancinik__world {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  flex: none;
}

.birles-mancinik.is-phone .birles-mancinik__bar {
  top: 0;
  padding: max(2px, env(safe-area-inset-top, 0px)) 8px 4px;
  gap: 5px;
  align-items: center;
}

.birles-mancinik.is-phone .birles-mancinik__hint {
  bottom: max(8px, env(safe-area-inset-bottom));
  font-size: clamp(0.7rem, 2.4vh, 0.85rem);
}

.birles-mancinik__bgvid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
}

.birles-mancinik__canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
  background: transparent;
}

.birles-mancinik__hint {
  position: absolute;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.5);
  color: #fffbeb;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.birles-mancinik__end {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(5, 11, 20, 0.78);
  color: #fffbeb;
  font-family: "ComfortaaOkul", "Comfortaa", "Baloo 2", sans-serif;
  text-align: center;
  z-index: 6;
  pointer-events: auto;
  padding: 24px;
}

.birles-mancinik__end[hidden] {
  display: none !important;
}

.birles-mancinik__end p:first-child {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  font-weight: 900;
  line-height: 1.05;
}

.birles-mancinik__end p + p {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 3.4vw, 1.7rem);
  font-weight: 700;
  max-width: 28rem;
  line-height: 1.35;
}

.birles-mancinik__end .birles-mancinik__chip {
  font-size: 1.25rem;
  padding: 12px 24px;
}

body.birles-mancinik-fs {
  overflow: hidden !important;
}

body.birles-mancinik-fs #birles-zoom-mask {
  display: none !important;
}

.birles-mancinik.is-phone .birles-mancinik__titles strong {
  font-size: clamp(0.92rem, 2.8vw, 1.15rem);
}

.birles-mancinik.is-phone .birles-mancinik__titles span {
  font-size: clamp(0.66rem, 2vw, 0.82rem);
}

.birles-mancinik.is-phone .birles-mancinik__stats {
  font-size: clamp(0.85rem, 2.6vw, 1.05rem);
  gap: 9px;
}

.birles-mancinik.is-phone .birles-mancinik__chip {
  font-size: clamp(0.85rem, 2.6vw, 1.05rem);
  padding: 7px 12px;
}

.birles-mancinik.is-phone .birles-mancinik__iconbtn {
  width: 34px;
  height: 34px;
  font-size: 1rem;
  border-radius: 10px;
}

.birles-mancinik.is-phone .birles-mancinik__end p:first-child {
  font-size: clamp(2.8rem, 10vw, 4.8rem);
}

.birles-mancinik.is-phone .birles-mancinik__end p + p {
  font-size: clamp(1.25rem, 4.2vw, 1.9rem);
}

.birles-mancinik.is-phone .birles-mancinik__end .birles-mancinik__chip {
  font-size: 1.45rem;
  padding: 14px 28px;
}

@media (max-height: 430px), (max-width: 700px) {
  .birles-mancinik__hint {
    display: none;
  }
}
