/* ═══════════════════════════════════════════════════════════
   IN-LAB HUD — Merkezi Stil Dosyası
   Tüm IN-LAB alt sayfaları bu dosyayı kullanır.
   Değişiklik için sadece bu dosyayı düzenle.

   Yapı:
   .inlab-hud
     ├── .inlab-hud__title   (sol — sayfa adı)
     ├── .inlab-hud__content (orta — her sayfanın kendi içeriği)
     └── .inlab-hud__actions (sağ — info butonu)
═══════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════
   KULLANIM — HUD'u TEK YERDEN yönet, sayfa-bazlı override yap
   ────────────────────────────────────────────────────────────
   1) GENEL DEĞİŞİKLİK (tüm IN-LAB sayfaları etkilenir):
      Aşağıdaki :root değişkenlerini düzenle.
        • Yükseklik    → --inlab-hud-h         (örn. 85px)
        • Etiket fontu → --inlab-hud-label-*    (boyut/ağırlık/aralık)
        • Buton yazısı → --inlab-hud-btn-lbl-*  (boyut/ağırlık)
        • Değer fontu  → --inlab-hud-val-*       (slider sayıları)

   2) SADECE BİR SAYFAYA ÖZEL DEĞİŞİKLİK:
      O sayfanın kendi <style> :root'unda değişkeni override et. Örnek:
        :root { --inlab-hud-h: 96px; }            // sadece bu sayfa 96px
        :root { --inlab-hud-label-size: 11px; }   // sadece bu sayfa daha büyük etiket
      Not: paintwall/freewall'da --hud zaten var(--inlab-hud-h)'e köprülü,
      yani canvas hesabı (readVar('--hud')) da otomatik aynı değeri alır.
   ════════════════════════════════════════════════════════════ */

/* ── HUD kök değişkenler ──
   TEK STANDART: tüm IN-LAB HUD'ları AYNI yükseklik, AYNI bg, AYNI font.
   Sayfa-içi --hud override'ları artık dikkate alınmıyor. */
:root {
  --inlab-hud-h:        85px;   /* TEK STANDART HUD yüksekliği — buradan değiştir */
  --inlab-hud-bg:       linear-gradient(180deg, rgba(8,8,8,.99) 0%, rgba(2,2,2,1) 100%);
  --inlab-hud-border:   rgba(255, 255, 255, .07);
  --inlab-hud-divider:  rgba(255, 255, 255, .07);
  --inlab-red:          #e92038;
  --inlab-hud-edge:     clamp(1.1rem, 3vw, 2rem);  /* topbar ile aynı kenar boşluğu */
  --inlab-hud-fg:       rgba(255, 255, 255, .85);
  --inlab-hud-fg-dim:   rgba(255, 255, 255, .45);

  /* ── İNCE / MİNİMAL FONT STANDARDI ──
     Tüm HUD etiket/buton yazıları için tek kaynak.
     px birimi: sayfa-içi html/body font-size override'larından bağımsız.
     Sayfalar isterse bu değişkenleri kendi :root'unda override edebilir. */
  --inlab-hud-label-size:   8.5px;   /* eyebrow / mini-label (COLOR, BG, SIZE…) */
  --inlab-hud-label-weight: 300;     /* ekstra ince — minimal HUD hissi */
  --inlab-hud-label-track:  .2em;
  --inlab-hud-btn-lbl-size: 8px;     /* buton altı yazı (UNDO, SAVE…) */
  --inlab-hud-btn-lbl-weight: 300;   /* ekstra ince */
  --inlab-hud-val-size:     18px;    /* slider değeri vb. */
  --inlab-hud-val-weight:   500;
}

/* ═══════════════════════════════════════════════════════════
   HUD ANA KAPSAYICI — Topbar gibi tek görünüm
   Tüm IN-LAB HUD id'lerine ZORLAYICI standart.
═══════════════════════════════════════════════════════════ */
.inlab-hud,
#bbHud, #mcHud, #pbHud, #il2Hud, #zipHud, #heapHud, #orHud, #iniverseHud,
#bbHud.inlab-hud, #mcHud.inlab-hud, #pbHud.inlab-hud,
#il2Hud.inlab-hud, #zipHud.inlab-hud, #heapHud.inlab-hud, #orHud.inlab-hud, #iniverseHud.inlab-hud {
  position: fixed !important;
  bottom: 0 !important; left: 0 !important; right: 0 !important;
  height: var(--inlab-hud-h) !important;
  min-height: var(--inlab-hud-h) !important;
  max-height: var(--inlab-hud-h) !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: stretch !important;
  padding: 0 !important;
  background: var(--inlab-hud-bg) !important;
  border: none !important;
  border-top: 1px solid var(--inlab-hud-border) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  z-index: 9100 !important;
  overflow: visible !important;
  font-size: 16px !important;       /* HUD içinde rem/em hesaplamaları için sabit baz */
}

/* PAINT WALL / FREEWALL — FLEX tabanlı HUD (kendi .hud-spacer mantığı için).
   Yükseklik/bg/font yine merkezi değişkenlerden; sadece layout flex kalır. */
#nmHud, #nmHud.inlab-hud {
  position: fixed !important;
  bottom: 0 !important; left: 0 !important; right: 0 !important;
  height: var(--inlab-hud-h) !important;
  min-height: var(--inlab-hud-h) !important;
  max-height: var(--inlab-hud-h) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  /* Container padding YOK — sol başlık (.inlab-hud__title) ve sağ aksiyon grubu
     kendi edge padding'lerini taşır. Böylece paintwall/freewall başlığı diğer
     tüm IN-LAB sayfaları (grid tabanlı) ile TAM aynı x koordinatında hizalanır. */
  padding: 0 !important;
  background: var(--inlab-hud-bg) !important;
  border: none !important;
  border-top: 1px solid var(--inlab-hud-border) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  z-index: 9100 !important;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
#nmHud::-webkit-scrollbar { display: none; }

/* ═══════════════════════════════════════════════════════════
   HUD INTRO DURUMU — intro açıkken HUD bulanık + soluk (Brief Breaker hissi).
   FLASH-FREE: HUD VARSAYILAN olarak bulanık başlar (ilk boyamada blur),
   intro kapanınca inlab-hud.js `.inlab-hud--ready` ekler → netleşir.
   İntro'su olmayan sayfalarda JS init'te hemen `--ready` eklenir.
═══════════════════════════════════════════════════════════ */
.inlab-hud {
  filter: blur(3px) saturate(.6);
  opacity: .5;
  pointer-events: none;
  transition: filter .5s ease, opacity .5s ease;
}
/* Intro kapandı / sayfada intro yok → net + etkileşimli */
.inlab-hud.inlab-hud--ready {
  filter: none;
  opacity: 1;
  pointer-events: auto;
}
/* Geriye dönük uyum: eski idle sınıfı da bulanık tutsun */
.inlab-hud.inlab-hud--idle {
  filter: blur(3px) saturate(.6) !important;
  opacity: .5 !important;
  pointer-events: none !important;
}

/* HUD üst kenarındaki dekoratif çizgileri tamamen susturuyoruz */
#bbHud::before, #bbHud::after,
#nmHud::before, #nmHud::after,
#mcHud::before, #mcHud::after,
#pbHud::before, #pbHud::after,
#il2Hud::before, #il2Hud::after,
#zipHud::before, #zipHud::after,
#heapHud::before, #heapHud::after,
#orHud::before, #orHud::after {
  content: none !important;
}

/* ═══════════════════════════════════════════════════════════
   SOL — Sayfa başlığı (Steelfish, 1.38rem, beyaz + kırmızı em)
═══════════════════════════════════════════════════════════ */
.inlab-hud__title,
#bbHud .inlab-hud__title,
#nmHud .inlab-hud__title,
#mcHud .inlab-hud__title,
#pbHud .inlab-hud__title,
#il2Hud .inlab-hud__title,
#zipHud .inlab-hud__title,
#rxHud .inlab-hud__title,
#heapHud .inlab-hud__title,
#orHud .inlab-hud__title {
  display: flex !important;
  align-items: center !important;
  padding: 0 1.1rem 0 var(--inlab-hud-edge) !important;
  border-right: 1px solid var(--inlab-hud-divider) !important;
  border-left: none !important;
  flex-shrink: 0 !important;
  gap: .55rem !important;
  height: 100% !important;
  background: transparent !important;
}

.inlab-hud__title-text,
#bbHud .inlab-hud__title-text,
#nmHud .inlab-hud__title-text,
#mcHud .inlab-hud__title-text,
#pbHud .inlab-hud__title-text,
#il2Hud .inlab-hud__title-text,
#zipHud .inlab-hud__title-text,
#rxHud .inlab-hud__title-text,
#heapHud .inlab-hud__title-text,
#orHud .inlab-hud__title-text {
  font-family: 'Steelfish', sans-serif !important;
  font-size: 25px !important;       /* px — sayfa-içi html/body font-size override'larından bağımsız */
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .01em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  color: #fff !important;
}
.inlab-hud__title-text em {
  font-style: normal !important;
  color: var(--inlab-red) !important;
}

/* ═══════════════════════════════════════════════════════════
   ORTA — Sayfa içeriği (her sayfa kendi doldurur)
   Yalnız genel davranış: yatay scroll, dikey ortalı.
═══════════════════════════════════════════════════════════ */
.inlab-hud__content,
#bbHud .hud-center,
#nmHud .hud-tools,
#mcHud .inlab-hud__content,
#pbHud .hud-center,
#il2Hud .hud-center,
#zipHud .hud-center,
#rxHud .hud-center,
#heapHud .heap-hud__center,
#orHud .hud-center {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.inlab-hud__content::-webkit-scrollbar,
.hud-center::-webkit-scrollbar,
.heap-hud__center::-webkit-scrollbar { display: none; }

/* ═══════════════════════════════════════════════════════════
   ORTA SEGMENTLERİ — tüm sayfalarda AYNI yapı
   .hud-seg / .heap-seg → AYNI padding, AYNI label fontu, AYNI değer fontu
═══════════════════════════════════════════════════════════ */
#bbHud .hud-seg,
#pbHud .hud-seg,
#il2Hud .hud-seg,
#zipHud .hud-seg,
#orHud .hud-seg,
#heapHud .heap-seg,
.inlab-hud .hud-seg {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: .22rem !important;
  padding: 0 1rem !important;
  border-right: 1px solid var(--inlab-hud-divider) !important;
  height: 100% !important;
  flex-shrink: 0 !important;
}
#bbHud .hud-seg:last-of-type,
#pbHud .hud-seg:last-of-type,
#zipHud .hud-seg:last-of-type,
#heapHud .heap-seg:last-of-type { border-right: none !important; }

/* Label (üst eyebrow) — küçük, monospace-ish */
#bbHud .hud-lbl,
#pbHud .hud-lbl,
#il2Hud .hud-lbl,
#zipHud .hud-lbl,
#orHud .hud-lbl,
#heapHud .heap-lbl,
.inlab-hud .hud-lbl,
.inlab-hud .heap-lbl {
  font-family: 'Poppins', sans-serif !important;
  font-size: 8px !important;        /* px — rem-bağımsız tek standart (daha ufak) */
  font-weight: 300 !important;      /* ekstra ince — minimal HUD */
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  color: var(--inlab-hud-fg-dim) !important;
  line-height: 1 !important;
}

/* Değer (alt — büyük rakam/yazı) — Steelfish, kompakt */
#bbHud .hud-stat__val,
#pbHud .hud-stat__val,
#il2Hud .hud-stat__val,
#zipHud .hud-stat__val,
.inlab-hud .hud-stat__val,
#heapHud .heap-val {
  font-family: 'Steelfish', sans-serif !important;
  font-size: 22px !important;       /* px — rem-bağımsız tek standart */
  font-weight: 700 !important;
  letter-spacing: .01em !important;
  line-height: 1 !important;
  color: #fff !important;
}
#heapHud .heap-val--red { color: var(--inlab-red) !important; }

/* ═══════════════════════════════════════════════════════════
   SAĞ — Aksiyon alanı (info, ek butonlar)
═══════════════════════════════════════════════════════════ */
.inlab-hud__actions,
#bbHud .hud-btn-group,
#nmHud .hud-btn-group,
#mcHud .hud-actions,
#pbHud .hud-btn-group,
#il2Hud .hud-actions,
#zipHud .hud-btn-group,
#heapHud .inlab-hud__actions {
  display: flex !important;
  align-items: center !important;
  gap: .4rem !important;
  padding: 0 var(--inlab-hud-edge) 0 1.1rem !important;
  border-left: 1px solid var(--inlab-hud-divider) !important;
  border-right: none !important;
  height: 100% !important;
  flex-shrink: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   SAĞ — Aksiyon butonları (info, mute, reset, vb.)
   Tüm sayfalarda AYNI: 38×38 ikon, hover'da kırmızı
═══════════════════════════════════════════════════════════ */
.inlab-hud__info-btn,
.inlab-hud .nm-btn,
.inlab-hud .hud-btn,
.inlab-hud .heap-btn,
#bbHud .nm-btn,
#nmHud .nm-btn,
#pbHud .nm-btn,
#zipHud .nm-btn,
#il2Hud .hud-btn,
#heapHud .heap-btn,
#mcHud .hud-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 38px !important;
  width: 38px !important;          /* TEK TİP — tüm butonlar kare ikon */
  min-width: 38px !important;
  padding: 0 !important;           /* yazı yok → padding yok */
  background: rgba(20, 20, 22, .92) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 10px !important;   /* REFLEXIN standardı — hafif yuvarlak köşe */
  color: #fff !important;
  font-family: 'Poppins', sans-serif !important;
  cursor: pointer !important;
  transition: background .2s, border-color .2s, color .2s !important;
  flex-shrink: 0 !important;
  gap: 0 !important;
}

/* Ana menüye dön butonu — <a> olduğu için altı çizili olmasın + hover */
.inlab-hud .inlab-hud__home-btn {
  text-decoration: none !important;
}
.inlab-hud .inlab-hud__home-btn:hover {
  background: rgba(255, 255, 255, .12) !important;
  border-color: rgba(255, 255, 255, .35) !important;
  color: #fff !important;
}

/* TEK TİP HUD: tüm buton yazılarını gizle — sadece ikon kalsın
   (tooltip title= attribute'ları zaten mevcut) */
.inlab-hud .nm-btn-lbl,
.inlab-hud .hud-btn .lbl,
.inlab-hud .heap-btn__lbl {
  display: none !important;
}

/* INFO butonu — KIRMIZI, kare, aynı yükseklik (REFLEXIN görseli standardı) */
.inlab-hud__info-btn,
.inlab-hud .hud-btn.primary,
.inlab-hud .nm-btn.primary {
  background: var(--inlab-red) !important;
  border-color: var(--inlab-red) !important;
  color: #fff !important;
}
.inlab-hud__info-btn:hover,
.inlab-hud .hud-btn.primary:hover,
.inlab-hud .nm-btn.primary:hover {
  background: #ff5060 !important;
  border-color: #ff5060 !important;
  color: #fff !important;
}

/* Tüm HUD ikonları — tek standart boyut */
.inlab-hud__info-btn i,
.inlab-hud .nm-btn i,
.inlab-hud .hud-btn i,
.inlab-hud .heap-btn i,
#bbHud .nm-btn i,
#nmHud .nm-btn i,
#pbHud .nm-btn i,
#zipHud .nm-btn i,
#il2Hud .hud-btn i,
#heapHud .heap-btn i,
#mcHud .hud-btn i {
  font-size: 14px !important;       /* px — rem-bağımsız tek standart */
  line-height: 1 !important;
  color: inherit !important;
}

/* Hover state — REFLEXIN standardı: hafif açılan koyu zemin, beyaz kalır */
.inlab-hud .nm-btn:hover,
.inlab-hud .hud-btn:hover,
.inlab-hud .heap-btn:hover,
#bbHud .nm-btn:hover,
#nmHud .nm-btn:hover,
#pbHud .nm-btn:hover,
#zipHud .nm-btn:hover,
#il2Hud .hud-btn:hover,
#heapHud .heap-btn:hover,
#mcHud .hud-btn:hover {
  background: rgba(34, 34, 38, .96) !important;
  border-color: rgba(255, 255, 255, .28) !important;
  color: #fff !important;
}

/* Active state */
.inlab-hud__info-btn.active,
.inlab-hud .nm-btn.active,
.inlab-hud .hud-btn.active,
.inlab-hud .hud-btn[aria-pressed="true"] {
  background: rgba(233, 32, 56, .18) !important;
  border-color: var(--inlab-red) !important;
  color: var(--inlab-red) !important;
}

/* ═══════════════════════════════════════════════════════════
   TOOLTIP — JS ile <body>'ye eklenen FIXED kutu (#inlabHudTip)
   HUD'ların overflow:hidden kırpmasından ETKİLENMEZ (pix-drop fix).
   inlab-hud.js hover'da konumlar (üst/alt otomatik), metin data-tip/
   data-tooltip/aria-label'dan gelir.
═══════════════════════════════════════════════════════════ */
#inlabHudTip {
  position: fixed;
  z-index: 99999;
  background: rgba(10, 10, 12, .97);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* yatay ortalama transform'u JS'te değil burada sabit; dikey konum top ile */
  transform: translateX(-50%);
  transition: opacity .16s ease;
}
#inlabHudTip.show {
  opacity: 1;
  visibility: visible;
}
/* küçük ok */
#inlabHudTip::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
}
#inlabHudTip[data-dir="top"]::after {
  top: 100%;
  border-top-color: rgba(10, 10, 12, .97);
}
#inlabHudTip[data-dir="bottom"]::after {
  bottom: 100%;
  border-bottom-color: rgba(10, 10, 12, .97);
}

/* ═══════════════════════════════════════════════════════════
   INFO POP-UP — Brief Breaker #infoModal mirrored
   Full-screen centred overlay, dark card, rows with icons
═══════════════════════════════════════════════════════════ */

/* Backdrop */
.inlab-info-overlay {
  position: fixed; inset: 0; z-index: 9200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .76);
  backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.inlab-info-overlay.open {
  opacity: 1; visibility: visible;
}

/* Card */
.inlab-info-popup {
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, .1);
  max-width: 620px; width: calc(100% - 2rem);
  padding: 2.6rem 2.8rem;
  position: relative;
  max-height: 88vh; overflow-y: auto;
  /* Remove old positioning */
  bottom: unset; right: unset;
  transform: none;
  pointer-events: auto;
  opacity: 1;
  box-shadow: 0 40px 80px rgba(0,0,0,.6);
}
.inlab-info-popup::-webkit-scrollbar { width: 4px; }
.inlab-info-popup::-webkit-scrollbar-track { background: rgba(255,255,255,.03); }
.inlab-info-popup::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 2px; }

/* Title */
.inlab-info-popup__head {
  margin-bottom: 1.4rem;
}
.inlab-info-popup__title {
  font-family: 'Steelfish', sans-serif;
  font-size: 1.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  color: #fff; line-height: 1.1;
}
.inlab-info-popup__title em {
  font-style: normal; color: var(--inlab-red);
}

/* Close button — top-right absolute */
.inlab-info-popup__close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none;
  color: rgba(255, 255, 255, .36);
  font-size: 1rem; cursor: pointer;
  padding: .35rem .55rem;
  transition: color .2s;
  width: auto; height: auto;
}
.inlab-info-popup__close:hover { color: #fff; }

/* Body */
.inlab-info-popup__body {
  padding: 0;
  display: flex; flex-direction: column; gap: 0;
}

/* Info rows — BB style */
.inlab-info-row {
  display: flex; align-items: flex-start; gap: .9rem;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: transparent;
  border-left: none;
}
.inlab-info-row:last-child { border-bottom: none; }

.inlab-info-row__icon {
  font-size: 1.05rem;
  flex-shrink: 0; margin-top: .04rem;
  width: auto; text-align: left;
  color: rgba(255,255,255,.55);
}

.inlab-info-row__text {
  display: flex; flex-direction: column; gap: .18rem;
}
.inlab-info-row__label {
  font-family: 'Poppins', sans-serif;
  font-size: .54rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: #fff; line-height: 1; display: block;
}
.inlab-info-row__desc {
  font-family: 'Poppins', sans-serif;
  font-size: .5rem; letter-spacing: .01em;
  color: rgba(255, 255, 255, .44); line-height: 1.65;
}

/* Section header */
.inlab-info-section {
  font-family: 'Poppins', sans-serif;
  font-size: .38rem; letter-spacing: .32em; text-transform: uppercase;
  color: rgba(255, 255, 255, .22);
  padding: .55rem 0 .15rem;
  margin-top: .3rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

/* Highlight row — gift style */
.inlab-info-row--highlight {
  padding: .9rem;
  margin-top: .6rem;
  background: linear-gradient(135deg, rgba(233,32,56,.1) 0%, rgba(180,10,30,.06) 100%);
  border: 1px solid rgba(233,32,56,.28) !important;
  animation: inlabHighlightGlow 3s ease-in-out infinite;
}
@keyframes inlabHighlightGlow {
  0%,100% { border-color: rgba(233,32,56,.28) !important; box-shadow: none; }
  50%      { border-color: rgba(233,32,56,.55) !important; box-shadow: 0 0 16px rgba(233,32,56,.12); }
}
.inlab-info-row--highlight .inlab-info-row__icon { font-size: 1.4rem; color: var(--inlab-red); }
.inlab-info-row--highlight .inlab-info-row__label { font-size: .58rem; color: var(--inlab-red) !important; }
.inlab-info-row--highlight .inlab-info-row__desc  { font-size: .52rem; color: rgba(255,255,255,.6) !important; }

/* ═══════════════════════════════════════════════════════════
   PAINT WALL / FREEWALL HUD SINIFLARI — ince & minimal standart
   Bu sayfalar #nmHud içinde kendi sınıflarını kullanıyor
   (.hud-mini-label, .nm-btn-lbl, .ns-val, .nm-tool).
   Görünümü TEK YERDEN (bu blok) yönet.
═══════════════════════════════════════════════════════════ */

/* Mini etiketler (COLOR · BG · SIZE · OPA) — ince, ferah harf aralığı */
#nmHud .hud-mini-label,
.inlab-hud .hud-mini-label {
  font-family: 'Poppins', sans-serif !important;
  font-size: var(--inlab-hud-label-size) !important;
  font-weight: var(--inlab-hud-label-weight) !important;
  letter-spacing: var(--inlab-hud-label-track) !important;
  text-transform: uppercase !important;
  color: var(--inlab-hud-fg-dim) !important;
  line-height: 1 !important;
}

/* Buton altı yazılar (UNDO · REDO · CLEAR · SAVE · ARCHIVE · INFO) — ince, minimal */
#nmHud .nm-btn-lbl,
.inlab-hud .nm-btn-lbl {
  font-family: 'Poppins', sans-serif !important;
  font-size: var(--inlab-hud-btn-lbl-size) !important;
  font-weight: var(--inlab-hud-btn-lbl-weight) !important;
  letter-spacing: var(--inlab-hud-label-track) !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  opacity: .7 !important;
}

/* Slider değerleri (Size / Opacity sayıları) */
#nmHud .ns-val,
.inlab-hud .ns-val {
  font-family: 'Steelfish', sans-serif !important;
  font-size: var(--inlab-hud-val-size) !important;
  font-weight: var(--inlab-hud-val-weight) !important;
  line-height: 1 !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — tüm HUD'lar aynı şekilde küçülür
═══════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
  :root { --inlab-hud-h: 58px; }
  .inlab-hud__title,
  #bbHud .inlab-hud__title,
  #nmHud .inlab-hud__title,
  #mcHud .inlab-hud__title,
  #pbHud .inlab-hud__title,
  #il2Hud .inlab-hud__title,
  #zipHud .inlab-hud__title,
  #heapHud .inlab-hud__title,
  #orHud .inlab-hud__title {
    padding: 0 .8rem 0 var(--inlab-hud-edge) !important;
  }
  .inlab-hud__title-text,
  #bbHud .inlab-hud__title-text,
  #nmHud .inlab-hud__title-text,
  #mcHud .inlab-hud__title-text,
  #pbHud .inlab-hud__title-text,
  #il2Hud .inlab-hud__title-text,
  #zipHud .inlab-hud__title-text,
  #heapHud .inlab-hud__title-text,
  #orHud .inlab-hud__title-text {
    font-size: 19px !important;
  }
  /* Buton label'ları mobilde gizlenir, sadece ikon kalır */
  .inlab-hud .nm-btn-lbl,
  .inlab-hud .hud-btn .lbl,
  .inlab-hud .heap-btn__lbl { display: none !important; }
  .inlab-hud .nm-btn,
  .inlab-hud .hud-btn,
  .inlab-hud .heap-btn {
    width: 38px !important;
    padding: 0 !important;
  }
  /* Orta segmentlerde padding daralt */
  #bbHud .hud-seg,
  #pbHud .hud-seg,
  #il2Hud .hud-seg,
  #zipHud .hud-seg,
  #orHud .hud-seg,
  #heapHud .heap-seg {
    padding: 0 .65rem !important;
  }
  /* Sol/sağ kenar boşluğunu daralt (topbar paralelliği için) */
  .inlab-hud__actions,
  #bbHud .hud-btn-group,
  #nmHud .hud-btn-group,
  #mcHud .hud-actions,
  #pbHud .hud-btn-group,
  #il2Hud .hud-actions,
  #zipHud .hud-btn-group,
  #heapHud .inlab-hud__actions {
    padding: 0 .8rem 0 .8rem !important;
    gap: .3rem !important;
  }
}

@media (max-width: 480px) {
  /* Çok dar ekranda başlığı tamamen gizle (topbar zaten "IN-LAB / NAME" gösteriyor) */
  .inlab-hud__title,
  #bbHud .inlab-hud__title,
  #nmHud .inlab-hud__title,
  #mcHud .inlab-hud__title,
  #pbHud .inlab-hud__title,
  #il2Hud .inlab-hud__title,
  #zipHud .inlab-hud__title,
  #heapHud .inlab-hud__title,
  #orHud .inlab-hud__title { display: none !important; }
  .inlab-info-popup { padding: 1.8rem 1.4rem; }
}

/* ═══════════════════════════════════════════════════════════
   ONAY POP-UP (Ana Menüye dön vb.) — alert/confirm yerine
═══════════════════════════════════════════════════════════ */
.inlab-confirm-overlay {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4, 4, 6, .82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.inlab-confirm-overlay.open { opacity: 1; visibility: visible; }
.inlab-confirm-card {
  width: min(90vw, 380px);
  background: linear-gradient(160deg, #1a1a1d, #121214);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  padding: 2rem 1.9rem 1.6rem;
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
  transform: translateY(16px) scale(.97);
  transition: transform .3s cubic-bezier(.2, 1, .3, 1);
}
.inlab-confirm-overlay.open .inlab-confirm-card { transform: none; }
.inlab-confirm-title {
  font-family: 'Steelfish', sans-serif; font-size: 1.7rem; letter-spacing: .04em;
  color: #fff; line-height: 1.05; margin: 0 0 .6rem;
}
.inlab-confirm-msg {
  font-family: 'Poppins', sans-serif; font-size: .8rem; line-height: 1.5;
  color: rgba(255, 255, 255, .6); margin: 0 0 1.6rem;
}
.inlab-confirm-actions { display: flex; gap: .7rem; }
.inlab-confirm-btn {
  flex: 1; appearance: none; cursor: pointer;
  font-family: 'Poppins', sans-serif; font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .9rem 1rem; border-radius: 11px;
  transition: background .18s, border-color .18s, filter .18s;
}
.inlab-confirm-btn--no {
  background: rgba(255, 255, 255, .05); color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
}
.inlab-confirm-btn--no:hover {
  background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .32);
}
.inlab-confirm-btn--yes {
  background: var(--inlab-red, #e92038); color: #fff;
  border: 1px solid var(--inlab-red, #e92038);
}
.inlab-confirm-btn--yes:hover { filter: brightness(1.1); }
