/* nova-build 260830live8 */
/* Bitiş kürsüsü — kapatmak için localStorage.novaRacePodium = "0" */
.nova-podium {
  width: 100%;
  margin: 0 0 8px;
  font-family: ComfortaaOkul, Comfortaa, "Segoe UI", sans-serif;
}
.nova-podium__stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: end;
  gap: 0 2px;
  min-height: 0;
  padding: 8px 2px 12px;
}
.nova-podium__stage::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 4px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45), transparent 70%);
  pointer-events: none;
}
.nova-podium--n1 .nova-podium__stage {
  grid-template-columns: minmax(150px, 240px);
  justify-content: center;
}
.nova-podium--n2 .nova-podium__stage {
  grid-template-columns: 1fr 1.12fr;
  max-width: 360px;
  margin: 0 auto;
  gap: 0 4px;
}
.nova-podium__slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  animation: nova-podium-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.nova-podium__slot.is-r2 { animation-delay: 0.08s; margin-right: -12px; }
.nova-podium__slot.is-r1 { animation-delay: 0.18s; z-index: 3; }
.nova-podium__slot.is-r3 { animation-delay: 0.02s; margin-left: -12px; }
@keyframes nova-podium-up {
  from { transform: translateY(28px) scale(0.96); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.nova-podium__nameplate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  margin-bottom: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(8, 14, 28, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
.nova-podium__nameplate strong {
  font-size: clamp(13px, 2.6vw, 16px);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 0 #000, 0 3px 8px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 9.8em;
}
.nova-podium__nameplate em {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ecfccb;
  background: #166534;
  border-radius: 999px;
  padding: 2px 7px;
  flex-shrink: 0;
}
.nova-podium__hero {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 108px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  overflow: visible;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.42));
}
.nova-podium__slot.is-r1 .nova-podium__hero {
  height: 126px;
}
.nova-podium__hero-mount {
  position: relative;
  width: min(118px, 100%);
  height: 100%;
  overflow: visible;
  container-type: size;
}
.nova-podium__hero img,
.nova-podium__hero-mount > img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
  transform: none;
}
.nova-podium__hero .nova-kosucu-host,
.nova-podium__hero .nova-kosucu-stage,
.nova-podium__hero .nova-kosucu-rig,
.nova-podium__hero .nova-kosucu-alive,
.nova-podium__hero .nova-kosucu-frame {
  overflow: visible;
}
.nova-podium__hero .nova-kosucu-stage {
  --kosucu-zoom: 1;
}
.nova-podium__hero::before,
.nova-podium__hero::after {
  content: none !important;
  display: none !important;
}
.nova-podium__crown {
  display: none !important;
}
.nova-podium__plinth {
  position: relative;
  z-index: 1;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.35));
}
.nova-podium__cap,
.nova-podium__foot {
  display: block;
  height: 16px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}
.nova-podium__col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: -8px 5px;
  border-radius: 14px / 10px;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.22),
    inset 10px 0 14px rgba(255, 255, 255, 0.18),
    inset -10px 0 16px rgba(0, 0, 0, 0.28),
    inset 0 -8px 10px rgba(0, 0, 0, 0.16);
}
.nova-podium__col::before,
.nova-podium__col::after {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 14%;
  width: 11%;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}
.nova-podium__col::before {
  left: 9%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
}
.nova-podium__col::after {
  right: 9%;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
}
.nova-podium__shine {
  display: none;
}
.nova-podium__cap,
.nova-podium__col,
.nova-podium__foot,
.nova-podium__col b {
  font-style: normal !important;
}
.nova-podium__col b {
  position: relative;
  z-index: 1;
  display: block;
  font-family: Comfortaa, ComfortaaOkul, sans-serif;
  font-weight: 700;
  font-style: normal !important;
  font-synthesis: none;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fffef8;
  -webkit-text-stroke: 2.4px #1c1008;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.38);
}
.nova-podium__slot.is-r1 .nova-podium__col b { font-size: 44px; }
.nova-podium__slot.is-r2 .nova-podium__col b { font-size: 36px; }
.nova-podium__slot.is-r3 .nova-podium__col b { font-size: 30px; }
.nova-podium__slot.is-r1 .nova-podium__col { height: 96px; }
.nova-podium__slot.is-r2 .nova-podium__col { height: 70px; }
.nova-podium__slot.is-r3 .nova-podium__col { height: 54px; }
.nova-podium--n1 .nova-podium__slot.is-r1 .nova-podium__col { height: 100px; }

.nova-podium__slot.is-r1 .nova-podium__cap,
.nova-podium__slot.is-r1 .nova-podium__foot,
.nova-podium__slot.is-r1 .nova-podium__col {
  background:
    linear-gradient(90deg,
      rgba(92, 40, 10, 0.35) 0%,
      rgba(255, 248, 220, 0.28) 16%,
      transparent 30%,
      transparent 70%,
      rgba(255, 237, 180, 0.16) 84%,
      rgba(69, 26, 3, 0.42) 100%),
    linear-gradient(180deg, #f5c542 0%, #eab308 38%, #b45309 78%, #7c2d12 100%);
}
.nova-podium__slot.is-r1 .nova-podium__plinth {
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.4));
}
.nova-podium__slot.is-r1 .nova-podium__cap {
  background:
    linear-gradient(90deg,
      rgba(92, 40, 10, 0.3) 0%,
      rgba(255, 248, 220, 0.22) 18%,
      transparent 32%,
      transparent 68%,
      rgba(255, 237, 180, 0.14) 82%,
      rgba(69, 26, 3, 0.38) 100%),
    linear-gradient(180deg, #eab308 0%, #ca8a04 55%, #a16207 100%);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
}
.nova-podium__slot.is-r2 .nova-podium__cap,
.nova-podium__slot.is-r2 .nova-podium__foot,
.nova-podium__slot.is-r2 .nova-podium__col {
  background:
    linear-gradient(90deg,
      rgba(15, 23, 42, 0.38) 0%,
      rgba(255, 255, 255, 0.32) 16%,
      transparent 30%,
      transparent 70%,
      rgba(255, 255, 255, 0.16) 84%,
      rgba(15, 23, 42, 0.42) 100%),
    linear-gradient(180deg, #e2e8f0 0%, #94a3b8 42%, #64748b 78%, #334155 100%);
}
.nova-podium__slot.is-r3 .nova-podium__cap,
.nova-podium__slot.is-r3 .nova-podium__foot,
.nova-podium__slot.is-r3 .nova-podium__col {
  background:
    linear-gradient(90deg,
      rgba(67, 20, 7, 0.38) 0%,
      rgba(255, 237, 213, 0.28) 16%,
      transparent 30%,
      transparent 70%,
      rgba(255, 237, 213, 0.14) 84%,
      rgba(67, 20, 7, 0.42) 100%),
    linear-gradient(180deg, #fdba74 0%, #f97316 42%, #c2410c 78%, #7c2d12 100%);
}
.nova-podium__cap {
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.28), 0 3px 0 rgba(0, 0, 0, 0.16);
  opacity: 0.98;
}
.nova-podium__foot {
  margin-top: -8px;
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.32), inset 0 -2px 4px rgba(0, 0, 0, 0.25);
}

.nova-podium__chip {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}
.nova-duel-payout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 10px;
  margin: 0 0 4px;
  font-weight: 900;
  font-size: clamp(13px, 2.6vw, 16px);
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-shadow: 0 2px 0 #000, 0 0 8px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}
.nova-podium__prize {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  margin: 2px 0 4px;
  position: relative;
  z-index: 6;
}
.nova-podium__prize .nova-duel-payout,
.nova-podium__prize .nova-podium__chests {
  margin: 0;
}
.nova-podium__chests {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  margin: -6px 0 2px;
  min-height: 0;
  position: relative;
  z-index: 5;
  max-width: 100%;
}
.nova-podium__chest {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px 2px 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(8, 14, 28, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.32);
}
.nova-podium__chest b {
  font-size: 14px;
  font-weight: 900;
  color: #fff7d6;
  text-shadow: 0 1px 0 #000;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.nova-podium__chest img {
  width: 36px;
  height: 42px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.4));
}
.nova-podium__chest--fire {
  border-color: rgba(251, 191, 36, 0.45);
}
.nova-podium__chest--ice {
  border-color: rgba(56, 189, 248, 0.45);
}
.nova-podium__chest--night {
  border-color: rgba(167, 139, 250, 0.5);
}
.nova-podium__card-stats .nova-podium__chests {
  justify-content: flex-end;
  margin: 0;
}
.nova-podium__card-stats .nova-podium__chest img {
  width: 26px;
  height: 30px;
}
.nova-duel-payout__delta.is-plus { color: #4ade80; }
.nova-duel-payout__delta.is-minus { color: #f87171; }
.nova-duel-payout__delta.is-zero { color: #e2e8f0; }
.nova-podium__card-stats .nova-duel-payout {
  justify-content: flex-end;
  margin: 0 0 2px;
  font-size: 13px;
}
.nova-podium__stat {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  min-width: 86%;
  padding: 5px 8px;
  border-radius: 12px;
  background: rgba(8, 14, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.nova-podium__stat b {
  font-variant-numeric: tabular-nums;
  font-size: clamp(16px, 3.4vw, 22px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 0 #000;
}
.nova-podium__stat i {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fde68a;
}
.nova-podium__stat--time b {
  font-size: clamp(14px, 2.8vw, 17px);
  color: #e2e8f0;
}

.nova-podium__rest {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
}
.nova-podium__rest-title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fbbf24;
  text-align: left;
}
.nova-podium__card {
  display: grid;
  grid-template-columns: auto 52px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.7));
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-align: left;
}
.nova-podium__card.is-you {
  border-color: #34d399;
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.35);
}
.nova-podium__card-rank {
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
  background: #cbd5e1;
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
}
.nova-podium__card-hero {
  width: 72px;
  height: 88px;
  border-radius: 12px;
  overflow: visible;
  background: transparent;
  display: grid;
  place-items: end center;
  container-type: size;
}
.nova-podium__card-hero .nova-podium__hero-mount {
  width: 72px;
  height: 88px;
}
.nova-podium__card-hero img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
}
.nova-podium__card-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nova-podium__card-meta strong {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nova-podium__card-meta em {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ecfccb;
  background: #166534;
  border-radius: 999px;
  padding: 2px 6px;
}
.nova-podium__card-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  white-space: nowrap;
}
.nova-podium__card-stats b {
  font-size: 18px;
  font-weight: 900;
  color: #fde68a;
}
.nova-podium__card-stats span {
  font-size: 13px;
  font-weight: 800;
  color: #cbd5e1;
}

.birles-magara__end--race .birles-magara__end-card:has(.nova-podium),
.birles-tepe__end-card:has(.nova-podium) {
  width: min(680px, calc(100% - 16px));
  max-width: calc(100dvw - 16px);
  max-height: calc(100dvh - 16px);
  overflow: visible;
  padding: 16px 16px 14px;
  background:
    radial-gradient(ellipse 80% 45% at 50% 12%, rgba(250, 204, 21, 0.16), transparent 58%),
    rgba(8, 16, 32, 0.82);
}

.birles-magara__end,
.birles-tepe__end {
  overflow: hidden;
  box-sizing: border-box;
}

@media (max-width: 700px) {
  .nova-podium__card {
    grid-template-columns: auto 44px minmax(0, 1fr);
    grid-template-areas:
      "rank hero meta"
      "stats stats stats";
  }
  .nova-podium__card-rank { grid-area: rank; }
  .nova-podium__card-hero { grid-area: hero; width: 44px; height: 44px; }
  .nova-podium__card-meta { grid-area: meta; }
  .nova-podium__card-stats {
    grid-area: stats;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 4px;
  }
}

/* Masaüstü kürsü oranları korunur; dar/yatay ekranda JS tek scale ile sığdırır */
.birles-magara__end--race,
.birles-tepe__end:has(.nova-podium) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(4px, env(safe-area-inset-top)) 8px max(6px, env(safe-area-inset-bottom));
}
.birles-magara__end--race .birles-magara__end-card,
.birles-tepe__end:has(.nova-podium) .birles-tepe__end-card {
  width: min(680px, calc(100% - 8px)) !important;
  max-width: calc(100dvw - 8px) !important;
  height: auto !important;
  max-height: calc(100dvh - 8px) !important;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  padding: 12px 14px 10px !important;
  box-sizing: border-box;
}
.birles-magara__end--race .birles-magara__end-card [data-mg-end-title],
.birles-tepe__end:has(.nova-podium) .birles-tepe__end-card [data-tp-end-title] {
  font-size: 1.35rem !important;
  line-height: 1.15;
  margin: 0;
  flex-shrink: 0;
}
.birles-magara__end--race .birles-magara__end-card [data-mg-end-sub],
.birles-tepe__end:has(.nova-podium) .birles-tepe__end-card [data-tp-end-sub] {
  font-size: 0.85rem !important;
  margin: 0 !important;
  flex-shrink: 0;
}
.birles-magara__end--race .birles-magara__race-results,
.birles-tepe__end:has(.nova-podium) .birles-tepe__race-results {
  flex: 0 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 !important;
}
.birles-magara__end--race .birles-magara__end-actions,
.birles-tepe__end:has(.nova-podium) .birles-tepe__end-actions {
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  z-index: 3;
}
.birles-magara__end--race .nova-podium,
.birles-tepe__end:has(.nova-podium) .nova-podium {
  flex: 0 0 auto;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  transform-origin: center center;
}

@media (orientation: landscape) {
  .nova-podium__rest {
    display: block;
    margin-top: 4px;
    padding-top: 6px;
  }
  .nova-podium__rest-title { display: none; }
  .nova-podium__card {
    grid-template-columns: auto 76px minmax(0, 1fr) auto;
    padding: 6px 10px;
    gap: 8px;
  }
  .nova-podium__hero {
    height: 132px;
  }
  .nova-podium__slot.is-r1 .nova-podium__hero {
    height: 152px;
  }
  .nova-podium__stage {
    min-height: 210px;
    padding: 4px 2px 8px;
    gap: 6px;
  }
}

/* Telefon yatay tam ekran — kürsü + yazı + kutular taşmasın */
@media (orientation: landscape) and (max-height: 520px) {
  .birles-magara__end--race,
  .birles-tepe__end:has(.nova-podium) {
    padding: max(2px, env(safe-area-inset-top)) 6px max(4px, env(safe-area-inset-bottom));
  }
  .birles-magara__end--race .birles-magara__end-card,
  .birles-tepe__end:has(.nova-podium) .birles-tepe__end-card {
    width: min(760px, calc(100% - 6px)) !important;
    max-width: calc(100dvw - 6px) !important;
    max-height: calc(100dvh - 6px) !important;
    padding: 6px 10px 6px !important;
    gap: 4px;
    overflow: hidden !important;
  }
  .birles-magara__end--race .birles-magara__end-card [data-mg-end-title],
  .birles-tepe__end:has(.nova-podium) .birles-tepe__end-card [data-tp-end-title] {
    font-size: 1.05rem !important;
    line-height: 1.1;
  }
  .birles-magara__end--race .birles-magara__end-card [data-mg-end-sub],
  .birles-tepe__end:has(.nova-podium) .birles-tepe__end-card [data-tp-end-sub] {
    display: none !important;
  }
  .nova-podium__stage {
    min-height: 0;
    padding: 0 2px 4px;
    gap: 4px;
  }
  .nova-podium__nameplate {
    padding: 2px 8px;
    margin-bottom: 2px;
  }
  .nova-podium__nameplate strong {
    font-size: 12px;
    max-width: 8.2em;
  }
  .nova-podium__hero {
    height: 70px;
  }
  .nova-podium__slot.is-r1 .nova-podium__hero {
    height: 84px;
  }
  .nova-podium__hero-mount {
    width: min(86px, 100%);
  }
  .nova-podium__slot.is-r1 .nova-podium__col { height: 42px; }
  .nova-podium__slot.is-r2 .nova-podium__col { height: 32px; }
  .nova-podium__slot.is-r3 .nova-podium__col { height: 26px; }
  .nova-podium__slot.is-r1 .nova-podium__col b { font-size: 24px; }
  .nova-podium__slot.is-r2 .nova-podium__col b { font-size: 20px; }
  .nova-podium__slot.is-r3 .nova-podium__col b { font-size: 18px; }
  .nova-podium__cap,
  .nova-podium__foot {
    height: 10px;
  }
  .nova-duel-payout {
    font-size: 12px;
    margin: 0 0 2px;
    gap: 2px 8px;
  }
  .nova-podium__chests {
    margin: -2px 0 2px;
    gap: 3px;
  }
  .nova-podium__chest {
    padding: 1px 4px 1px 3px;
    border-radius: 999px;
  }
  .nova-podium__chest b {
    font-size: 12px;
  }
  .nova-podium__chest img {
    width: 24px;
    height: 28px;
  }
  .nova-podium__chip {
    margin-top: 6px;
    gap: 2px;
  }
  .nova-podium__stat {
    padding: 2px 6px;
    min-width: 78%;
  }
  .nova-podium__stat b {
    font-size: 12px !important;
  }
  .nova-podium__stat i,
  .nova-podium__stat--time b {
    font-size: 10px !important;
  }
  .birles-magara__end--race .birles-magara__end-actions,
  .birles-tepe__end:has(.nova-podium) .birles-tepe__end-actions {
    margin-top: 2px;
  }
  .birles-magara.is-phone .birles-magara__end .birles-magara__chipbtn,
  .birles-tepe.is-phone .birles-tepe__end .birles-tepe__chipbtn {
    font-size: 1rem !important;
    padding: 8px 18px !important;
  }
  .nova-podium__stage::after {
    height: 10px;
    bottom: 0;
  }
}

/* Çizilmiş kürsü + okunur ganimet — bilgisayar ve telefon yatay */
.nova-podium__stage {
  background:
    linear-gradient(180deg, rgba(8, 16, 32, 0.08) 0%, rgba(8, 16, 32, 0.42) 100%),
    var(--podium-stage) center 42% / cover no-repeat;
  border-radius: 18px;
  border: 1px solid rgba(253, 230, 138, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  min-height: 0;
  padding: 6px 2px 8px;
  gap: 0 2px;
  overflow: visible;
}
.nova-podium__stage::after {
  display: none;
}
.nova-podium__figure {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
}
.nova-podium__plinth-art {
  position: relative;
  z-index: 1;
  display: block;
  width: min(108px, 86%);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.42));
  user-select: none;
}
.nova-podium__slot.is-r1 .nova-podium__plinth-art { width: min(124px, 94%); }
.nova-podium__slot.is-r2 .nova-podium__plinth-art,
.nova-podium__slot.is-r3 .nova-podium__plinth-art { width: min(96px, 80%); }
.nova-podium__hero {
  height: 78px;
  margin-bottom: -16px;
  z-index: 4;
}
.nova-podium__slot.is-r1 .nova-podium__hero { height: 92px; margin-bottom: -18px; }
.nova-podium__hero-mount { width: min(78px, 100%); }
.nova-podium__slot.is-you .nova-podium__figure {
  filter: drop-shadow(0 0 16px rgba(250, 204, 21, 0.45));
}
.nova-podium__loot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  margin-top: 2px;
  margin-bottom: 4px;
  position: relative;
  z-index: 8;
}
.nova-podium__loot-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 24px;
  padding: 2px 8px 2px 3px;
  border-radius: 999px;
  border: 1px solid #fde68a;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, #fff1b8 0%, #f6c63a 46%, #e39612 78%, #c2780a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -2px 0 rgba(146, 64, 14, 0.42),
    0 2px 0 #92400e,
    0 5px 10px rgba(120, 53, 15, 0.38);
  color: #3f2a0a;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nova-podium__loot-btn:hover,
.nova-podium__loot.is-open .nova-podium__loot-btn {
  filter: brightness(1.07);
  border-color: #fff6cc;
}
.nova-podium__loot-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.nova-podium__loot-ico img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 1px 1px rgba(120, 53, 15, 0.45));
}
.nova-podium__loot-lab {
  padding-right: 2px;
  color: #3f2a0a;
  text-shadow: 0 1px 0 rgba(255, 248, 220, 0.9);
}
.nova-podium__loot-gem {
  display: none;
}
.nova-podium__loot-pop {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  z-index: 24;
  min-width: 148px;
  max-width: min(220px, 72vw);
  padding: 10px 10px 8px;
  border-radius: 16px;
  border: 1px solid rgba(253, 230, 138, 0.45);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(250, 204, 21, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(24, 32, 54, 0.98), rgba(8, 12, 24, 0.98));
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.nova-podium__loot-pop[hidden] { display: none !important; }
.nova-podium__loot-pop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  transform: rotate(45deg);
  background: #0c1220;
  border-right: 1px solid rgba(253, 230, 138, 0.35);
  border-bottom: 1px solid rgba(253, 230, 138, 0.35);
}
.nova-podium__loot-empty {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  text-align: center;
}
.nova-podium__loot-pop .nova-duel-payout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 0 6px;
  white-space: normal;
}
.nova-duel-payout__delta {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(8, 14, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
  text-shadow: none;
}
.nova-duel-payout__delta b {
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}
.nova-duel-payout__delta i {
  font-style: normal;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  opacity: 1;
}
.nova-podium__loot-pop .nova-podium__chests {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
}
.nova-podium__chest {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px 2px 2px;
  border-radius: 14px;
  background: rgba(8, 14, 28, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.32);
}
.nova-podium__chest img {
  width: 36px;
  height: 42px;
}
.nova-podium__chest-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  min-width: 0;
}
.nova-podium__chest-copy b {
  font-size: 14px;
  font-weight: 900;
  color: #fff7d6;
  text-shadow: 0 1px 0 #000;
}
.nova-podium__chest-copy i {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #fde68a;
}
.nova-podium__card-stats .nova-podium__loot {
  align-items: flex-end;
  margin: 0 0 4px;
}
.nova-podium__card-stats .nova-podium__loot-pop {
  left: auto;
  right: 0;
  transform: none;
}
.nova-podium__card-stats .nova-podium__loot-pop::after {
  left: auto;
  right: 22px;
  margin-left: 0;
}
.nova-podium__chip {
  margin-top: 8px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}
.nova-podium__stat { min-width: 0; }
.birles-magara__end--race .birles-magara__end-card [data-mg-end-sub],
.birles-tepe__end:has(.nova-podium) .birles-tepe__end-card [data-tp-end-sub] {
  display: none !important;
}
.birles-magara__end--race .birles-magara__end-card:has(.nova-podium),
.birles-tepe__end-card:has(.nova-podium),
.birles-magara__end--race .birles-magara__end-card,
.birles-tepe__end:has(.nova-podium) .birles-tepe__end-card {
  width: min(860px, calc(100% - 8px)) !important;
  overflow: visible !important;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(250, 204, 21, 0.18), transparent 60%),
    rgba(8, 16, 32, 0.88);
}

@media (orientation: landscape) and (max-height: 520px) {
  .birles-magara__end--race .birles-magara__end-card,
  .birles-tepe__end:has(.nova-podium) .birles-tepe__end-card {
    width: min(980px, calc(100dvw - 8px)) !important;
    padding: 4px 8px 4px !important;
    gap: 2px;
  }
  .nova-podium {
    max-width: none;
  }
  .nova-podium__stage {
    padding: 4px 2px 4px;
    gap: 0 2px;
    border-radius: 14px;
  }
  .nova-podium__nameplate {
    padding: 1px 7px;
    margin-bottom: 1px;
  }
  .nova-podium__nameplate strong { font-size: 11px; }
  .nova-podium__hero,
  .nova-podium__slot.is-r1 .nova-podium__hero {
    height: 52px;
    margin-bottom: -10px;
  }
  .nova-podium__hero-mount { width: min(52px, 100%); }
  .nova-podium__plinth-art,
  .nova-podium__slot.is-r1 .nova-podium__plinth-art,
  .nova-podium__slot.is-r2 .nova-podium__plinth-art,
  .nova-podium__slot.is-r3 .nova-podium__plinth-art {
    width: min(78px, 100%);
  }
  .nova-podium__loot { margin-top: 1px; margin-bottom: 3px; }
  .nova-podium__loot-btn {
    min-height: 22px;
    padding: 1px 7px 1px 2px;
    font-size: 9px;
    gap: 4px;
  }
  .nova-podium__loot-ico { width: 18px; height: 18px; }
  .nova-podium__loot-ico img { width: 13px; height: 13px; }
  .nova-podium__loot-pop { min-width: 124px; padding: 8px; }
  .nova-duel-payout__delta { padding: 1px 6px; }
  .nova-duel-payout__delta b { font-size: 12px; }
  .nova-duel-payout__delta i { font-size: 14px; }
  .nova-podium__chest { padding: 1px 6px 1px 1px; gap: 3px; }
  .nova-podium__chest img { width: 28px; height: 32px; }
  .nova-podium__chest-copy b { font-size: 12px; }
  .nova-podium__chest-copy i { font-size: 9px; }
  .nova-podium__chip { margin-top: 5px; }
  .nova-podium__stat { padding: 1px 6px; }
  .nova-podium__rest { margin-top: 2px; padding-top: 4px; }
}

/* Telefon yatay: 1–4 kürsü + kutular ekrana sığsın */
.birles-magara__end--race .birles-magara__end-card,
.birles-tepe__end:has(.nova-podium) .birles-tepe__end-card {
  transform-origin: center center;
}
@media (orientation: landscape) and (max-height: 480px) {
  .birles-magara__end--race,
  .birles-tepe__end:has(.nova-podium) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: 100dvh;
    overflow: hidden !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: max(2px, env(safe-area-inset-top)) 4px max(2px, env(safe-area-inset-bottom));
  }
  .birles-magara__end--race .birles-magara__end-card,
  .birles-tepe__end:has(.nova-podium) .birles-tepe__end-card {
    width: min(980px, calc(100dvw - 8px)) !important;
    max-width: calc(100dvw - 8px) !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 4px 8px 4px !important;
    gap: 2px;
  }
  .nova-podium__hero,
  .nova-podium__slot.is-r1 .nova-podium__hero {
    height: 52px;
  }
  .nova-podium__hero-mount { width: min(54px, 100%); }
  .nova-podium__slot.is-r1 .nova-podium__col { height: 34px; }
  .nova-podium__slot.is-r2 .nova-podium__col { height: 26px; }
  .nova-podium__slot.is-r3 .nova-podium__col { height: 22px; }
  .nova-podium__rest {
    margin-top: 0;
    padding-top: 2px;
  }
  .nova-podium__card {
    grid-template-columns: auto 36px minmax(0, 1fr) auto;
    padding: 3px 8px;
    gap: 6px;
  }
  .nova-podium__card-hero,
  .nova-podium__card-hero .nova-podium__hero-mount {
    width: 36px;
    height: 40px;
  }
  .birles-magara.is-phone .birles-magara__end .birles-magara__chipbtn,
  .birles-tepe.is-phone .birles-tepe__end .birles-tepe__chipbtn {
    font-size: 0.92rem !important;
    padding: 6px 14px !important;
  }
}
