/* Mağaza + Sezon Sıralaması — akıcı mod: boyut aynı, alt kesik yok (counter-zoom YOK)
   Body zoom (ör. 0.74) altında layout yüksekliği telafi edilir; görsel ölçek değişmez. */

body.nova-perf-ultra:not(.nova-perf-hq-active) #profileChangeOverlay.nova-perf-fullscreen-scope,
body.nova-perf-performance:not(.nova-perf-hq-active) #profileChangeOverlay.nova-perf-fullscreen-scope,
body.nova-perf-ultra:not(.nova-perf-hq-active) #rankingPanel.nova-perf-fullscreen-scope,
body.nova-perf-performance:not(.nova-perf-hq-active) #rankingPanel.nova-perf-fullscreen-scope{
  /* zoom yok — içerik diğer ekranlarla aynı ölçekte kalır */
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  height: calc(100dvh / var(--nova-perf-scale, 1)) !important;
  height: calc(100svh / var(--nova-perf-scale, 1)) !important;
  min-height: calc(100dvh / var(--nova-perf-scale, 1)) !important;
  min-height: calc(100svh / var(--nova-perf-scale, 1)) !important;
  max-height: none !important;
  overflow: hidden !important;
}

body.nova-perf-ultra:not(.nova-perf-hq-active) #profileChangeOverlay.nova-perf-fullscreen-scope,
body.nova-perf-performance:not(.nova-perf-hq-active) #profileChangeOverlay.nova-perf-fullscreen-scope{
  position: fixed !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  padding: 0 !important;
}

body.nova-perf-ultra:not(.nova-perf-hq-active) #rankingPanel.nova-perf-fullscreen-scope,
body.nova-perf-performance:not(.nova-perf-hq-active) #rankingPanel.nova-perf-fullscreen-scope{
  position: fixed !important;
  display: flex !important;
  flex-direction: column !important;
  padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)) !important;
}

body.nova-perf-ultra:not(.nova-perf-hq-active) .profile-change-content.nova-store-shell,
body.nova-perf-performance:not(.nova-perf-hq-active) .profile-change-content.nova-store-shell{
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
}

body.nova-perf-ultra:not(.nova-perf-hq-active) .profile-change-content .nova-store-products,
body.nova-perf-performance:not(.nova-perf-hq-active) .profile-change-content .nova-store-products,
body.nova-perf-ultra:not(.nova-perf-hq-active) .profile-change-content .profile-photos-container.nova-store-products,
body.nova-perf-performance:not(.nova-perf-hq-active) .profile-change-content .profile-photos-container.nova-store-products{
  max-height: none !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
}

@media (max-width: 768px){
  #rankingPanel.nova-season-rank .ranking-table-container{
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 6px 0 4px !important;
  }

  #rankingPanel.nova-season-rank h2{
    margin-bottom: 8px !important;
    padding: 4px 4px 8px !important;
  }

  #rankingPanel.nova-season-rank .user-ranking-stats{
    padding: 10px 12px !important;
    margin-top: 4px !important;
    flex-shrink: 0 !important;
  }

  #rankingPanel.nova-season-rank .ranking-back-button{
    flex-shrink: 0 !important;
    margin-top: 6px !important;
  }
}
