/*
 * content-pages.css — içerik sayfaları: Emojiler, Radio, TFT, Skin Database,
 * Bileşenler, Setup. Üstte yükleme kiti (upk-) ve yükleme sırası
 * (upq-); her sayfa kendi bölümünde. Liste kalıbı (.usr) ve pencere sistemi
 * (.dlg) üstüne kurulur. Döngü yok; GIF'ler ilk karede durur.
 * Tasarım: docs/design-system.md §7.46
 */

#view-button-icons,
#view-radio,
#view-tft,
#view-skin-database,
#view-components,
#view-setup {
  font-family: var(--wf-font-text);
  color: var(--wf-text-1);
}
#view-button-icons button:focus-visible,
#view-radio button:focus-visible,
#view-tft button:focus-visible,
#view-skin-database button:focus-visible,
#view-components button:focus-visible,
#view-setup button:focus-visible {
  outline: 2px solid rgba(244, 236, 234, 0.6);
  outline-offset: -2px;
}
.usr-btn.is-danger svg { color: #fb7185; }
.usr-btn.is-danger { color: #fda4af; }

/* ============================================================
   [YÜKLEME KİTİ] dosya alanı · ilerleme · sayfa bırakma katmanı
   ============================================================ */
.upk-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: background-color var(--wf-dur-hover) ease, box-shadow var(--wf-dur-hover) ease;
}
.upk-field + .upk-field { margin-top: 8px; }
.upk-field.is-drag { background: rgba(124, 196, 255, 0.07); box-shadow: inset 0 0 0 1.5px rgba(124, 196, 255, 0.6); }
.upk-field.has-file { box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.35); }
.upk-field.is-error { box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.5); }
.upk-field-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--wf-text-3);
}
.upk-field-ico svg { width: 18px; height: 18px; }
.upk-field.has-file .upk-field-ico { background: rgba(52, 211, 153, 0.13); color: #34d399; }
.upk-field.is-error .upk-field-ico { background: rgba(251, 113, 133, 0.12); color: #fb7185; }
.upk-field-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.upk-field-text b { font-size: 0.88rem; font-weight: 700; color: var(--wf-text-1); }
.upk-field-text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.78rem; color: var(--wf-text-4); }
.upk-field.has-file .upk-field-text span { color: var(--wf-text-2); }
.upk-field.is-error .upk-field-text span { color: #fda4af; }
.upk-field-clear {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--wf-text-4);
  cursor: pointer;
}
.upk-field-clear svg { width: 14px; height: 14px; }
.upk-field-clear[hidden] { display: none; }
.upk-field-pick { cursor: pointer; }

.upk-prog {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.upk-prog[hidden] { display: none; }
.upk-prog-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 0.84rem; }
.upk-prog-top b { font-weight: 700; color: var(--wf-text-1); }
.upk-prog-top span { font-family: var(--wf-font-display); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--wf-text-2); }
.upk-bar { height: 6px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.07); }
.upk-bar i { display: block; height: 100%; border-radius: inherit; background: #7cc4ff; transform: scaleX(0); transform-origin: left; transition: transform 200ms linear; }
.upk-prog.is-process .upk-bar i { background: #b18cff; }
.upk-prog.is-done .upk-bar i { background: #34d399; }
.upk-prog.is-error .upk-bar i { background: #fb7185; }
.upk-prog-meta { display: block; margin-top: 7px; font-size: 0.76rem; font-variant-numeric: tabular-nums; color: var(--wf-text-4); }
.upk-prog.is-error .upk-prog-meta { color: #fda4af; }

.upk-drop-host { position: relative; }
.upk-drop-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(10, 6, 8, 0.78);
  box-shadow: inset 0 0 0 2px rgba(124, 196, 255, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}
.upk-drop-host.is-dropping .upk-drop-layer { opacity: 1; }
.upk-drop-card { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.upk-drop-card svg { width: 34px; height: 34px; margin-bottom: 4px; color: #7cc4ff; }
.upk-drop-card b { font-family: var(--wf-font-display); font-size: 1.25rem; font-weight: 600; color: var(--wf-text-1); }
.upk-drop-card span { font-size: 0.84rem; color: var(--wf-text-3); }

/* Görsel seçici: sunucunun kırptığı oranda (--ratio) önizleme */
.upk-shot {
  position: relative;
  aspect-ratio: var(--ratio, 16 / 9);
  overflow: hidden;
  border: 1.5px dashed rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: border-color var(--wf-dur-hover) ease, background-color var(--wf-dur-hover) ease;
}
.upk-shot.has-img { border-style: solid; border-color: rgba(255, 255, 255, 0.08); }
.upk-shot.is-new { border-color: rgba(52, 211, 153, 0.55); }
.upk-shot.is-drag { border-color: rgba(124, 196, 255, 0.75); background: rgba(124, 196, 255, 0.07); }
.upk-shot.is-error { border-color: rgba(251, 113, 133, 0.6); }
.upk-shot-img { position: absolute; inset: 0; }
.upk-shot-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.upk-shot-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--wf-text-4);
}
.upk-shot-empty svg { width: 28px; height: 28px; margin-bottom: 6px; color: #7cc4ff; }
.upk-shot-empty b { font-size: 0.92rem; font-weight: 700; color: var(--wf-text-1); }
.upk-shot.has-img .upk-shot-empty { display: none; }
.upk-shot-change {
  position: absolute;
  bottom: 12px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 9px;
  background: rgba(12, 8, 10, 0.8);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--wf-text-1);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity var(--wf-dur-hover) ease;
  pointer-events: none;
}
.upk-shot-change svg { width: 14px; height: 14px; }
.upk-shot.has-img:focus-visible .upk-shot-change { opacity: 1; }
.upk-shot:focus-visible { outline: 2px solid rgba(244, 236, 234, 0.6); outline-offset: 2px; }
.upk-shot-clear {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(12, 8, 10, 0.8);
  color: var(--wf-text-2);
  cursor: pointer;
}
.upk-shot-clear svg { width: 14px; height: 14px; }
.upk-shot-clear[hidden] { display: none; }
.upk-shot-msg { margin: 8px 2px 14px; font-size: 0.76rem; line-height: 1.4; color: var(--wf-text-4); }
.upk-shot-msg.is-error { color: #fda4af; }
@media (hover: hover) and (pointer: fine) {
  .upk-shot:hover { border-color: rgba(124, 196, 255, 0.5); }
  .upk-shot.has-img:hover .upk-shot-change { opacity: 1; }
  .upk-shot-clear:hover { color: var(--wf-text-1); }
}

/* Medya kartı (TFT): görsel = düzenle · sağ üstte sil · anahtar = yayın.
   Oran --ratio ile sayfadan gelir; hover'da büyüme yok, yalnız çerçeve ışır. */
.mc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(214px, 1fr));
  grid-auto-rows: max-content;
  align-content: start;
  gap: 14px;
}
.mc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: box-shadow var(--wf-dur-hover) ease;
}
.mc-shot {
  display: grid;
  place-items: center;
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: var(--ratio, 16 / 9);
  padding: 0;
  border: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--c) 8%, rgba(255, 255, 255, 0.02));
  color: var(--c);
  cursor: pointer;
}
.mc-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mc-shot > svg { width: 30px; height: 30px; opacity: 0.55; }
.mc-card.is-off .mc-shot img { opacity: 0.42; filter: grayscale(0.7); }
.mc-hidden {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 8px;
  border-radius: 7px;
  background: rgba(12, 8, 10, 0.8);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--wf-text-2);
  pointer-events: none;
}
.mc-hidden svg { width: 12px; height: 12px; }
.mc-del {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(12, 8, 10, 0.78);
  opacity: 0;
  transition: opacity var(--wf-dur-hover) ease, color var(--wf-dur-hover) ease, background-color var(--wf-dur-hover) ease, transform var(--wf-dur-press) var(--wf-ease-out);
}
.mc-card:focus-within .mc-del { opacity: 1; }
.mc-body { display: flex; align-items: center; gap: 10px; padding: 12px 10px 2px 14px; }
.mc-names { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.mc-names b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.9rem; font-weight: 700; color: var(--wf-text-1); }
.mc-names > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.76rem; color: var(--wf-text-3); }
.mc-names i { font-style: normal; color: var(--wf-text-4); }
.mc-names mark { border-radius: 3px; background: color-mix(in srgb, var(--c) 30%, transparent); color: inherit; }
.mc-card.is-off .mc-names b { color: var(--wf-text-2); }
.mc-toggle { display: grid; flex-shrink: 0; padding: 6px 4px; border: 0; border-radius: 99px; background: none; cursor: pointer; }
.mc-toggle:disabled { opacity: 0.55; cursor: progress; }
.mc-toggle.is-on .rl-switch { background: #34d399; }
.mc-toggle.is-on .rl-switch::after { transform: translateX(14px); background: #ffffff; }
.mc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 6px 14px 13px;
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
  color: var(--wf-text-4);
}

@media (hover: hover) and (pointer: fine) {
  .mc-card:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
  .mc-card:hover .mc-del { opacity: 1; }
}
@media (hover: none) {
  .mc-del { opacity: 1; }
}
@media (max-width: 760px) {
  .mc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mc-body { padding: 10px 6px 2px 10px; }
  .mc-meta { padding: 4px 10px 10px; }
}

/* Yükleme sırası: dosya başına satır + durum */
.upq { display: flex; flex-direction: column; gap: 6px; max-height: 46vh; overflow-y: auto; scrollbar-width: thin; }
.upq-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
}
.upq-thumb {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--wf-text-3);
}
.upq-thumb img { width: 100%; height: 100%; object-fit: contain; }
.upq-thumb svg { width: 18px; height: 18px; }
.upq-text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.upq-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.86rem; font-weight: 600; color: var(--wf-text-1); }
.upq-text span { font-size: 0.76rem; color: var(--wf-text-4); }
.upq-state { flex-shrink: 0; max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.78rem; font-weight: 600; color: var(--wf-text-3); }
.upq-row.is-busy .upq-state { color: #7cc4ff; }
.upq-row.is-done .upq-state { color: #6ee7b7; }
.upq-row.is-skip .upq-state { color: #f6c98a; }
.upq-row.is-error .upq-state { color: #fda4af; }

/* ============================================================
   [EMOJİLER] ızgara · seçim · GIF dondurma
   ============================================================ */
.bic-hint { flex: 1; min-width: 220px; margin: 0; font-size: 0.82rem; line-height: 1.45; color: var(--wf-text-3); }
.bic-hint b { font-weight: 600; color: var(--wf-text-2); }
.bic-up { height: 40px; cursor: pointer; }
.bic-up svg { width: 15px; height: 15px; }
.bic-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  align-content: start;
  gap: 8px;
  padding: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: auto;
  scrollbar-color: auto;
}
.bic-grid::-webkit-scrollbar { width: 12px; }
.bic-grid::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.bic-grid::-webkit-scrollbar-thumb { border: 4px solid transparent; border-radius: 99px; background: rgba(255, 255, 255, 0.1) padding-box; }
.bic-grid > .usr-empty { grid-column: 1 / -1; }
.bic-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 10px 8px 9px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background-color var(--wf-dur-hover) ease, box-shadow var(--wf-dur-hover) ease;
}
.bic-tile.is-sel { background: rgba(124, 196, 255, 0.08); box-shadow: inset 0 0 0 1.5px #7cc4ff; }
.bic-thumb { position: relative; display: grid; place-items: center; width: 64px; height: 64px; }
.bic-thumb img,
.bic-thumb canvas { max-width: 64px; max-height: 64px; object-fit: contain; }
.bic-thumb canvas { opacity: 0; transition: opacity 160ms ease; }
.bic-tile.is-ready .bic-thumb canvas { opacity: 1; }
.bic-thumb img.bic-live { position: absolute; inset: 0; margin: auto; }
.bic-name { width: 100%; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; font-size: 0.72rem; font-weight: 500; color: var(--wf-text-3); }
.bic-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(177, 140, 255, 0.18);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #c4b0ff;
}
.bic-check {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #7cc4ff;
  color: #06121c;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--wf-dur-hover) ease, transform var(--wf-dur-hover) var(--wf-ease-out);
}
.bic-check svg { width: 12px; height: 12px; stroke-width: 3; }
.bic-tile.is-sel .bic-check { opacity: 1; transform: none; }
.bic-del {
  position: absolute;
  right: 6px;
  bottom: 30px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(20, 13, 16, 0.9);
  box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.35);
  color: #fda4af;
  opacity: 0;
  cursor: pointer;
  transition: opacity var(--wf-dur-hover) ease;
}
.bic-del svg { width: 13px; height: 13px; }
.bic-tile:focus-visible .bic-del,
.bic-tile.is-sel .bic-del { opacity: 1; }
.bic-skel { height: 110px; border-radius: 13px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015) 70%); }

@media (hover: hover) and (pointer: fine) {
  .upk-field-clear:hover { background: rgba(255, 255, 255, 0.07); color: var(--wf-text-1); }
  .bic-tile:not(.is-sel):hover { background: rgba(255, 255, 255, 0.06); }
  .bic-tile:hover .bic-del { opacity: 1; }
  .bic-del:hover { background: rgba(251, 113, 133, 0.18); }
}
@media (hover: none) {
  .bic-del { opacity: 1; }
}
@media (max-width: 760px) {
  .bic-hint { display: none; }
  .bic .usr-tools { flex: 0 0 auto; margin-left: auto; }
  .bic-grid { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); padding: 10px; }
  .bic-thumb { width: 52px; height: 52px; }
}
.dlg-btn[hidden] { display: none; }

/* ============================================================
   [RADIO] playlist listesi + parça listesi · canlı · yükleme sırası
   ============================================================ */
.rl-ico.rdo-cover img,
.rdo-head-cover img,
.rdo-thumb img,
.rdo-cover-prev img { width: 100%; height: 100%; object-fit: cover; }
.rdo-live-dot { width: 7px; height: 7px; margin-right: 2px; border-radius: 50%; background: #4a4245; }
.rdo-live-dot.is-on { background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.16); }
.rdo [hidden] { display: none !important; }
.rdo-head { align-items: center; }
.rdo-head-cover,
.rdo-thumb {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: var(--c);
  cursor: pointer;
}
.rdo-head-cover { width: 64px; height: 64px; border-radius: 16px; }
.rdo-head-cover > svg { width: 26px; height: 26px; }
.rdo-thumb { width: 40px; height: 40px; border-radius: 10px; }
.rdo-thumb > svg { width: 17px; height: 17px; }
.rdo-head-cover > span,
.rdo-thumb > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 6, 8, 0.6);
  color: #ffffff;
  opacity: 0;
  transition: opacity var(--wf-dur-hover) ease;
}
.rdo-head-cover > span svg { width: 20px; height: 20px; }
.rdo-thumb > span svg { width: 15px; height: 15px; }
.rdo-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; flex-shrink: 0; padding: 14px 22px 4px; }
.rdo-search { flex: 0 1 320px; height: 36px; }
.rdo-tools-note { font-size: 0.78rem; color: var(--wf-text-4); }
.rdo-tracks {
  flex: 1;
  min-height: 0;
  padding: 8px 14px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: auto;
  scrollbar-color: auto;
}
.rdo-tracks::-webkit-scrollbar,
.rdo-live::-webkit-scrollbar,
.rdo-queue::-webkit-scrollbar { width: 12px; }
.rdo-tracks::-webkit-scrollbar-button,
.rdo-live::-webkit-scrollbar-button,
.rdo-queue::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.rdo-tracks::-webkit-scrollbar-thumb,
.rdo-live::-webkit-scrollbar-thumb,
.rdo-queue::-webkit-scrollbar-thumb { border: 4px solid transparent; border-radius: 99px; background: rgba(255, 255, 255, 0.1) padding-box; }
.rdo-track {
  display: grid;
  grid-template-columns: 28px 40px minmax(0, 1fr) 56px auto;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
  border-radius: 11px;
  transition: background-color var(--wf-dur-hover) ease;
}
.rdo-no { font-size: 0.78rem; font-variant-numeric: tabular-nums; text-align: right; color: var(--wf-text-4); }
.rdo-track-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rdo-track-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.88rem; font-weight: 600; color: var(--wf-text-1); }
.rdo-track-text b em { margin-left: 4px; font-style: normal; font-weight: 500; color: var(--wf-text-4); }
.rdo-track-text > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.78rem; color: var(--wf-text-4); }
.rdo-dur { font-size: 0.82rem; font-variant-numeric: tabular-nums; text-align: right; color: var(--wf-text-3); }
.rdo-acts { display: flex; gap: 2px; opacity: 0; transition: opacity var(--wf-dur-hover) ease; }
.rdo-track:focus-within .rdo-acts { opacity: 1; }
.rdo-cover-pick { display: flex; align-items: center; gap: 12px; }
.rdo-cover-prev {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(76, 214, 184, 0.12);
  color: #4cd6b8;
}
.rdo-cover-prev > svg { width: 24px; height: 24px; }

/* Canlı */
.rdo-live { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.rdo-live-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rdo-live-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.rdo-live-list > .dlg-sec-title { margin: 6px 4px 2px; }
.rdo-party { display: flex; flex-direction: column; gap: 2px; padding: 4px; border-radius: 13px; background: rgba(177, 140, 255, 0.05); box-shadow: inset 3px 0 0 #b18cff; }
.rdo-live-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(200px, 280px); align-items: center; gap: 12px; padding: 6px 10px 6px 8px; border-radius: 11px; }
.rdo-live-row.is-member { padding-left: 28px; }
.rdo-live-row .rdo-thumb { cursor: default; }
.rdo-tag { margin-left: 8px; padding: 2px 6px; border-radius: 6px; background: rgba(177, 140, 255, 0.16); font-style: normal; font-size: 0.68rem; font-weight: 700; color: #c4b0ff; }
.rdo-live-pos { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.rdo-live-state { display: inline-flex; align-items: center; gap: 5px; font-size: 0.74rem; font-weight: 600; color: var(--wf-text-4); }
.rdo-live-state svg { width: 11px; height: 11px; }
.rdo-live-state.is-on { color: #6ee7b7; }
.rdo-bar { display: block; height: 4px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.07); }
.rdo-bar i { display: block; height: 100%; background: #4cd6b8; transform-origin: left; }
.rdo-live-time { font-size: 0.74rem; font-variant-numeric: tabular-nums; color: var(--wf-text-3); }

/* Yükleme sırası */
.rdo-q-tools { display: flex; gap: 12px; margin-bottom: 12px; }
.rdo-queue { display: flex; flex-direction: column; gap: 6px; max-height: 52vh; overflow-y: auto; scrollbar-width: thin; }
.rdo-q {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 150px 32px;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 10px 8px 12px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.rdo-q-fields { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 6px; min-width: 0; }
.dlg .rdo-q-fields .dlg-input { height: 34px; padding: 0 10px; border-radius: 8px; font-size: 0.84rem; }
.rdo-q-meta { grid-column: 1 / -1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.74rem; color: var(--wf-text-4); }
.rdo-q-meta b { font-weight: 600; color: var(--wf-text-3); }
.rdo-q-state { font-size: 0.78rem; font-weight: 600; text-align: right; color: var(--wf-text-3); }
.rdo-q.is-busy .rdo-q-state { color: #7cc4ff; }
.rdo-q.is-done .rdo-q-state { color: #6ee7b7; }
.rdo-q.is-error .rdo-q-state { color: #fda4af; }
.rdo-q-bar { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: rgba(255, 255, 255, 0.04); }
.rdo-q-bar i { display: block; height: 100%; background: #7cc4ff; transform: scaleX(0); transform-origin: left; transition: transform 200ms linear; }
.rdo-q.is-done .rdo-q-bar i { background: #34d399; }

@media (hover: hover) and (pointer: fine) {
  .rdo-head-cover:hover > span,
  button.rdo-thumb:hover > span { opacity: 1; }
  .rdo-track:hover { background: rgba(255, 255, 255, 0.035); }
  .rdo-track:hover .rdo-acts { opacity: 1; }
}
@media (hover: none) {
  .rdo-acts { opacity: 1; }
}
@media (max-width: 760px) {
  .rdo-track { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .rdo-no, .rdo-dur { display: none; }
  .rdo-tools-note { display: none; }
  .rdo-tools { padding: 12px 16px 2px; }
  .rdo-tracks { padding: 6px 8px 12px; }
  .rdo-live-stats { grid-template-columns: minmax(0, 1fr); }
  .rdo-live-row { grid-template-columns: 40px minmax(0, 1fr); }
  .rdo-live-pos { grid-column: 1 / -1; }
  .rdo-q { grid-template-columns: 40px minmax(0, 1fr) 32px; }
  .rdo-q-state { grid-column: 2; text-align: left; }
  .rdo-q-fields { grid-template-columns: minmax(0, 1fr); }
}
.rdo-q.is-done [data-remove],
.rdo-q.is-busy [data-remove] { visibility: hidden; }

/* ============================================================
   [TFT] kategoriler (sol) · skin kartları (sağ) · skin / kategori pencereleri
   ============================================================ */
.tfs { --ratio: 512 / 344; }
.tfs .rl-body { grid-template-columns: 280px minmax(0, 1fr); }
.tfs-search { flex: 0 1 300px; }
.tfs .rl-ico img,
.tfs .rl-head-ico img { width: 100%; height: 100%; object-fit: cover; }
.tfs .rl-item-count.is-zero { color: var(--wf-text-4); }
.tfs-list-sep { margin: 12px 12px 4px; font-size: 0.74rem; font-weight: 600; color: var(--wf-text-4); }
.tfs-list-empty { margin: 4px 12px; font-size: 0.78rem; line-height: 1.45; color: var(--wf-text-4); }
.tfs-list-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.74rem;
  color: var(--wf-text-4);
}
.tfs-list-foot .usr-btn { justify-content: center; width: 100%; }
.tfs-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; flex-shrink: 0; padding: 2px 22px 12px; }
.tfs-tools-note { margin-left: auto; font-size: 0.78rem; color: var(--wf-text-4); }
.tfs-grid {
  flex: 1;
  min-height: 0;
  padding: 2px 22px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: auto;
  scrollbar-color: auto;
}
.tfs-grid::-webkit-scrollbar { width: 12px; }
.tfs-grid::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.tfs-grid::-webkit-scrollbar-thumb { border: 4px solid transparent; border-radius: 99px; background: rgba(255, 255, 255, 0.1) padding-box; }
.tfs-empty { grid-column: 1 / -1; }
.tfs-skel {
  aspect-ratio: 512 / 420;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 70%);
}

.tfs-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  height: 22px;
  padding: 0 8px 0 3px;
  overflow: hidden;
  border-radius: 7px;
  background: color-mix(in srgb, var(--c) 13%, transparent);
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #f1d29a;
}
.tfs-chip i {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 5px;
}
.tfs-chip i svg { width: 12px; height: 12px; }
.tfs-chip i img { width: 100%; height: 100%; object-fit: cover; }
.tfs-chip.is-none { background: rgba(255, 255, 255, 0.05); color: var(--wf-text-3); }

/* Silme onayı: skin kartının küçük kopyası */
.tfs-del-card { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); }
.tfs-del-card > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tfs-del-card b { font-size: 0.9rem; color: var(--wf-text-1); }
.tfs-del-card > span:last-child > span { font-size: 0.76rem; color: var(--wf-text-4); }
.tfs-del-shot {
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 512 / 344;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(231, 183, 95, 0.1);
  color: #e7b75f;
}
.tfs-del-shot img { width: 100%; height: 100%; object-fit: cover; }
.tfs-del-shot svg { width: 20px; height: 20px; }

/* Skin penceresi: solda önizleme (sunucunun kırptığı oranda) + arşiv, sağda bilgiler */
.modal.xl:has(.tfe) { width: min(920px, 96vw); }
.tfe { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 22px; }
.dlg.is-locked .tfe,
.dlg.is-locked .tfc { opacity: 0.6; pointer-events: none; transition: opacity var(--wf-dur-state) ease; }
.tfe-sha { margin: 10px 2px 0; font-size: 0.74rem; color: var(--wf-text-4); }
.tfe-sha code { margin-left: 4px; font-family: ui-monospace, 'Cascadia Code', monospace; font-size: 0.74rem; color: var(--wf-text-3); }
.tfe-form { display: flex; flex-direction: column; min-width: 0; }
.tfe-names { display: grid; gap: 12px; }
.tfe-lang {
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--wf-text-3);
}
.tfe-msg,
.tfc-msg { display: block; margin-top: 6px; color: var(--wf-text-4); }
.tfe-msg.is-error,
.tfc-msg.is-error { color: #fda4af; }
.tfe-cats-field { margin-top: 18px; }
.tfe-cat { display: inline-flex; align-items: center; gap: 7px; padding-left: 6px; }
.tfe-cat i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(231, 183, 95, 0.14);
  color: #e7b75f;
}
.tfe-cat i svg { width: 12px; height: 12px; }
.tfe-cat i img { width: 100%; height: 100%; object-fit: cover; }
.tfe-live { margin-top: 18px; }
.tfe-bg-note { margin: 8px 2px 0; font-size: 0.76rem; color: var(--wf-text-4); }
.tfe-bg-note[hidden] { display: none; }

/* Kategori penceresi: büyük ikon seçici + iki ad */
.tfc { display: flex; align-items: flex-start; gap: 18px; }
.tfc-icon-col { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.tfc-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  padding: 0;
  overflow: hidden;
  border: 1.5px dashed rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(231, 183, 95, 0.07);
  color: #e7b75f;
  cursor: pointer;
}
.tfc-icon.has-img { border-style: solid; border-color: rgba(255, 255, 255, 0.08); }
.tfc-icon [data-ico] { position: absolute; inset: 0; display: grid; place-items: center; }
.tfc-icon [data-ico] svg { width: 30px; height: 30px; }
.tfc-icon [data-ico] img { width: 100%; height: 100%; object-fit: cover; }
.tfc-icon-edit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 6, 8, 0.6);
  color: #ffffff;
  opacity: 0;
  transition: opacity var(--wf-dur-hover) ease;
}
.tfc-icon-edit svg { width: 20px; height: 20px; }
.tfc-icon:focus-visible .tfc-icon-edit { opacity: 1; }
.tfc-icon-clear { padding: 2px 6px; border: 0; border-radius: 6px; background: none; font: inherit; font-size: 0.76rem; font-weight: 600; color: var(--wf-text-3); cursor: pointer; }
.tfc-icon-clear[hidden] { display: none; }
.tfc-fields { display: grid; gap: 12px; flex: 1; min-width: 0; }
.tfc-msg { margin-top: 14px; }

@media (hover: hover) and (pointer: fine) {
  .tfc-icon:hover .tfc-icon-edit { opacity: 1; }
  .tfc-icon-clear:hover { color: var(--wf-text-1); }
}
@media (hover: none) {
}
@media (max-width: 1100px) {
  .tfs .rl-body { grid-template-columns: 250px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .tfs .rl-body { grid-template-columns: minmax(0, 1fr); }
  .tfs-search { flex: 1 1 100%; }
  .tfs-list-foot { padding: 8px 0 0; border: 0; }
  .tfs-list-foot > span, .tfs-list-sep, .tfs-list-empty { display: none; }
  .tfs-list-foot .usr-btn span { display: inline; }
  .tfs .rl-head-acts { flex-wrap: wrap; width: 100%; }
  .tfs-tools { padding: 0 16px 12px; }
  .tfs-tools-note { display: none; }
  .tfs-grid { padding: 0 12px 14px; overflow: visible; }
  .tfe { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tfc { flex-direction: column; align-items: stretch; }
}

/* ============================================================
   [SKIN DATABASE] depo + arşiv durumu · toplu iş şeridi · şampiyonlar ·
   skin bölümleri · yükleme / taşıma / içe aktarma pencereleri
   ============================================================ */
/* Görsel kutusu (skin-database-assets.js): görsel yüklenemezse altındaki ikon kalır */
.skindb-art { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; color: inherit; }
.skindb-art > svg { width: 50%; height: 50%; opacity: 0.6; }
.skindb-art:not(.is-missing) > svg { opacity: 0; }
.skindb-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.sdb .rl-body { grid-template-columns: 280px minmax(0, 1fr); }
.sdb-search { flex: 0 1 300px; }
.sdb .rl-bar .usr-tools { display: flex; align-items: center; gap: 8px; }
.sdb-stats { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.35fr); }
.sdb-stats .usr-stat-text span { overflow: hidden; text-overflow: ellipsis; }
.sdb-arch { position: relative; }
.sdb-arch.is-stale { background: rgba(240, 180, 90, 0.07); box-shadow: inset 0 0 0 1px rgba(240, 180, 90, 0.28); }
.sdb-arch.is-missing { background: rgba(251, 113, 133, 0.06); box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.26); }
.sdb-arch .usr-stat-text b { color: var(--c); }
.sdb-rebuild { flex-shrink: 0; margin-left: auto; }
.sdb-rebuild svg { width: 15px; height: 15px; }

/* Toplu iş: sayfada şerit, pencerede kutu — aynı durum */
.sdj {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(124, 196, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(124, 196, 255, 0.22);
}
.sdj[hidden] { display: none; }
.sdj.is-box { margin-top: 14px; }
.sdj.is-process { background: rgba(177, 140, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(177, 140, 255, 0.24); }
.sdj.is-done { background: rgba(52, 211, 153, 0.06); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.26); }
.sdj.is-error,
.sdj.is-cancelled { background: rgba(251, 113, 133, 0.06); box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.24); }
.sdj-ico { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: rgba(124, 196, 255, 0.14); color: #7cc4ff; }
.sdj-ico svg { width: 17px; height: 17px; }
.sdj.is-process .sdj-ico { background: rgba(177, 140, 255, 0.14); color: #b18cff; }
.sdj.is-done .sdj-ico { background: rgba(52, 211, 153, 0.14); color: #34d399; }
.sdj.is-error .sdj-ico,
.sdj.is-cancelled .sdj-ico { background: rgba(251, 113, 133, 0.14); color: #fb7185; }
.sdj-main { flex: 1; min-width: 0; }
.sdj-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; font-size: 0.86rem; }
.sdj-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--wf-text-1); }
.sdj-top span { font-family: var(--wf-font-display); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--wf-text-2); }
.sdj .upk-bar i { background: #7cc4ff; }
.sdj.is-process .upk-bar i { background: #b18cff; }
.sdj.is-done .upk-bar i { background: #34d399; }
.sdj-meta { display: block; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.76rem; font-variant-numeric: tabular-nums; color: var(--wf-text-3); }
.sdj [data-sdj-stop][hidden],
.sdj [data-sdj-dismiss][hidden] { display: none; }

/* Şampiyon listesi */
.sdb-cico { border-radius: 50%; background: rgba(255, 255, 255, 0.05); color: var(--wf-text-4); }
.sdb-cid { flex-shrink: 0; font-size: 0.74rem; font-variant-numeric: tabular-nums; color: var(--wf-text-4); }
.sdb mark { border-radius: 3px; background: rgba(91, 200, 245, 0.25); color: inherit; }
.sdb-list-empty { min-height: 200px; font-size: 0.82rem; }

/* Detay */
.sdb-hero { border-radius: 50%; }
.sdb-detail-empty { flex: 1; }
.sdb-empty-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 15px; background: rgba(91, 200, 245, 0.12); color: #5bc8f5; }
.sdb-empty-ico svg { width: 24px; height: 24px; }
.sdb-empty-acts { display: flex; gap: 8px; margin-top: 12px; }
.sdb-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; flex-shrink: 0; padding: 2px 22px 12px; }
.sdb-sq { flex: 0 1 280px; height: 36px; }
.sdb-tools .usr-btn svg { width: 15px; height: 15px; }
.sdb-tools-note { margin-left: auto; font-size: 0.78rem; color: var(--wf-text-4); }
.sdb-skins {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 22px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: auto;
  scrollbar-color: auto;
}
.sdb-skins::-webkit-scrollbar { width: 12px; }
.sdb-skins::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.sdb-skins::-webkit-scrollbar-thumb { border: 4px solid transparent; border-radius: 99px; background: rgba(255, 255, 255, 0.1) padding-box; }
.sdb-skin { flex-shrink: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055); }
.sdb-skin.is-open { background: rgba(255, 255, 255, 0.035); }
.sdb-skin-head { display: flex; align-items: center; gap: 8px; padding-right: 10px; }
.sdb-skin-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 14px;
  background: none;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.sdb-tile { width: 46px; height: 46px; flex-shrink: 0; overflow: hidden; border-radius: 11px; background: rgba(91, 200, 245, 0.1); color: #5bc8f5; }
.sdb-skin-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.sdb-skin-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.92rem; font-weight: 700; color: var(--wf-text-1); }
.sdb-skin-text > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.78rem; color: var(--wf-text-3); }
.sdb-skin-text code,
.sdb-file-text code,
.sdb-code,
.sdu-row-text code,
.sdm-path code,
.sdb-del-list code,
.sdb-tree code { font-family: ui-monospace, 'Cascadia Code', monospace; font-size: 0.78em; }
.sdb-chev { display: grid; flex-shrink: 0; color: var(--wf-text-4); transition: transform var(--wf-dur-state) var(--wf-ease-out); }
.sdb-chev svg { width: 16px; height: 16px; }
.sdb-skin.is-open .sdb-chev { transform: rotate(180deg); }
.sdb-skin-acts { display: flex; gap: 2px; flex-shrink: 0; opacity: 0; transition: opacity var(--wf-dur-hover) ease; }
.sdb-skin:focus-within .sdb-skin-acts,
.sdb-skin.is-open .sdb-skin-acts { opacity: 1; }
.sdb-files { display: flex; flex-direction: column; gap: 2px; padding: 0 8px 8px 66px; }
.sdb-file {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 7px 8px;
  border-radius: 10px;
  transition: background-color var(--wf-dur-hover) ease;
}
.sdb-file-ico { display: grid; place-items: center; width: 30px; height: 30px; overflow: hidden; border-radius: 9px; background: rgba(255, 255, 255, 0.05); color: var(--wf-text-3); }
.sdb-file-ico > svg { width: 15px; height: 15px; }
.sdb-file.is-variant .sdb-file-ico { border-radius: 50%; color: #b18cff; background: rgba(177, 140, 255, 0.12); }
.sdb-file-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sdb-file-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.84rem; font-weight: 600; color: var(--wf-text-1); }
.sdb-file-text b em { margin-left: 4px; font-style: normal; font-weight: 500; font-size: 0.76rem; color: var(--wf-text-4); }
.sdb-file-text code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--wf-text-4); }
.sdb-file-meta { display: flex; gap: 12px; font-size: 0.76rem; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--wf-text-3); }
.sdb-file-meta span:last-child { min-width: 70px; text-align: right; color: var(--wf-text-4); }
.sdb-file-acts { display: flex; gap: 2px; opacity: 0; transition: opacity var(--wf-dur-hover) ease; }
.sdb-file:focus-within .sdb-file-acts { opacity: 1; }

/* Yükleme penceresi */
.modal.xl:has(.sdu) { width: min(1100px, 96vw); }
.sdu { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 22px; }
.dlg.is-locked .sdu-target { opacity: 0.55; pointer-events: none; }
.sdu-target { display: flex; flex-direction: column; min-width: 0; transition: opacity var(--wf-dur-state) ease; }
.sdu-champ {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.sdu-champ-ico { width: 42px; height: 42px; flex-shrink: 0; overflow: hidden; border-radius: 50%; background: rgba(91, 200, 245, 0.12); color: #5bc8f5; }
.sdu-champ-ico > svg { display: block; width: 20px; height: 20px; margin: 11px; }
.sdu-champ-text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.sdu-champ-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.94rem; font-weight: 700; color: var(--wf-text-1); }
.sdu-champ-text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.76rem; color: var(--wf-text-4); }
.sdu-champ-find { display: flex; align-items: center; gap: 6px; width: 132px; height: 34px; padding: 0 10px; border-radius: 9px; background: rgba(0, 0, 0, 0.25); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); color: var(--wf-text-4); }
.sdu-champ-find svg { width: 14px; height: 14px; flex-shrink: 0; }
/* Eski .modal input kuralı (dolgu, alt boşluk, gölge) buraya sızmasın */
.modal .sdu-champ-find input { width: 100%; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: inherit; font-size: 0.82rem; color: var(--wf-text-1); outline: none; }
.modal .sdu-champ-find input:focus { border: 0; background: none; box-shadow: none; }
.sdu-champ-find:focus-within { box-shadow: inset 0 0 0 1px rgba(244, 236, 234, 0.4); }
.sdu-sugg {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  border-radius: 12px;
  background: #1b1418;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.sdu-sugg[hidden] { display: none; }
.sdu-sugg button { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border: 0; border-radius: 8px; background: none; font: inherit; text-align: left; color: inherit; cursor: pointer; }
.sdu-sugg button:first-child { background: rgba(255, 255, 255, 0.05); }
.sdu-sugg b { flex: 1; min-width: 0; font-size: 0.86rem; font-weight: 600; color: var(--wf-text-1); }
.sdu-sugg span:last-child { font-size: 0.74rem; color: var(--wf-text-4); }
.sdu-sugg p { margin: 6px 8px; font-size: 0.8rem; color: var(--wf-text-4); }
.sdu-sugg-ico { width: 26px; height: 26px; flex-shrink: 0; overflow: hidden; border-radius: 50%; color: var(--wf-text-4); }
.sdu-skin-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 10px; }
.sdu-skin-head .dlg-sec-title { margin: 0; }
.sdu-idin { display: flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 600; color: var(--wf-text-4); }
.dlg .sdu-idin .dlg-input { width: 110px; height: 32px; padding: 0 10px; font-variant-numeric: tabular-nums; }
.sdu-skins {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
  max-height: 340px;
  padding: 2px 4px 2px 2px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.sdu-skins-note { grid-column: 1 / -1; margin: 6px 2px; font-size: 0.8rem; line-height: 1.45; color: var(--wf-text-4); }
.sdu-skin-skel { aspect-ratio: 1 / 1.28; border-radius: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); }
.sdu-skin {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 5px 5px 8px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: background-color var(--wf-dur-hover) ease, box-shadow var(--wf-dur-hover) ease;
}
.sdu-skin.is-sel { background: rgba(91, 200, 245, 0.1); box-shadow: inset 0 0 0 1.5px #5bc8f5; }
.sdu-skin-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: rgba(91, 200, 245, 0.08); color: #5bc8f5; }
.sdu-skin-tile i {
  position: absolute;
  top: 5px;
  right: 5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 6px;
  background: rgba(12, 8, 10, 0.82);
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  color: #6ee7b7;
}
.sdu-skin-name { margin: 6px 3px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.76rem; font-weight: 600; color: var(--wf-text-1); }
.sdu-skin-id { margin: 1px 3px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.68rem; font-variant-numeric: tabular-nums; color: var(--wf-text-4); }
.sdu-files { display: flex; flex-direction: column; min-width: 0; }
.sdu-files-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sdu-files-head .dlg-sec-title { margin: 0; }
.sdu-files-head .dlg-btn { cursor: pointer; }
.sdu-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 220px;
  max-height: 400px;
  padding: 2px;
  overflow-y: auto;
  border-radius: 14px;
  scrollbar-width: thin;
  transition: background-color var(--wf-dur-hover) ease, box-shadow var(--wf-dur-hover) ease;
}
.sdu-list.is-drag { background: rgba(124, 196, 255, 0.06); box-shadow: inset 0 0 0 1.5px rgba(124, 196, 255, 0.6); }
.sdu-drop {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 214px;
  border: 1.5px dashed rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  font-size: 0.8rem;
  color: var(--wf-text-4);
  cursor: pointer;
}
.sdu-drop svg { width: 28px; height: 28px; margin-bottom: 6px; color: #5bc8f5; }
.sdu-drop b { font-size: 0.92rem; color: var(--wf-text-1); }
.sdu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 8px 8px 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 3px 0 0 transparent;
}
.sdu-row.is-warn,
.sdu-row.is-over { box-shadow: inset 3px 0 0 #f0b45a; }
.sdu-row.is-error,
.sdu-row.is-failed { box-shadow: inset 3px 0 0 #fb7185; }
.sdu-row.is-done,
.sdu-row.is-replaced { box-shadow: inset 3px 0 0 #34d399; }
.sdu-row-ico { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; overflow: hidden; border-radius: 10px; background: rgba(255, 255, 255, 0.05); color: var(--wf-text-3); }
.sdu-row-ico > svg { width: 16px; height: 16px; }
.sdu-row-text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.sdu-row-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.86rem; font-weight: 600; color: var(--wf-text-1); }
.sdu-row-text b em { margin-left: 4px; font-style: normal; font-weight: 500; font-size: 0.76rem; color: var(--wf-text-4); }
.sdu-row-text code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--wf-text-3); }
.sdu-row-note { font-size: 0.74rem; line-height: 1.35; color: #f6c98a; }
.sdu-row.is-error .sdu-row-note,
.sdu-row.is-failed .sdu-row-note { color: #fda4af; }
.sdu-mode {
  flex-shrink: 0;
  max-width: 150px;
  height: 26px;
  padding: 0 9px;
  overflow: hidden;
  border: 0;
  border-radius: 7px;
  background: rgba(177, 140, 255, 0.12);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #c4b0ff;
  cursor: pointer;
}
.sdu-mode:disabled { cursor: default; }
.sdu-row-state { flex-shrink: 0; min-width: 84px; font-size: 0.76rem; font-weight: 600; text-align: right; color: var(--wf-text-3); }
.sdu-row.is-over .sdu-row-state { color: #f6c98a; }
.sdu-row.is-busy .sdu-row-state { color: #7cc4ff; }
.sdu-row.is-done .sdu-row-state,
.sdu-row.is-replaced .sdu-row-state { color: #6ee7b7; }
.sdu-row.is-error .sdu-row-state,
.sdu-row.is-failed .sdu-row-state { color: #fda4af; }
.sdu-rm[hidden] { display: none; }
.sdu-rule { margin: 10px 2px 0; font-size: 0.76rem; line-height: 1.5; color: var(--wf-text-4); }
.sdu-rule code { padding: 1px 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); font-family: ui-monospace, 'Cascadia Code', monospace; font-size: 0.74rem; color: var(--wf-text-2); }
.sdu-sum { margin-right: auto; font-size: 0.82rem; color: var(--wf-text-3); }
.sdu-sum b { font-weight: 700; color: var(--wf-text-1); }
.sdu-sum .is-warn { color: #f6c98a; }
.sdu-sum .is-err { color: #fda4af; }

/* Toplu ZIP: beklenen yapı */
.sdb-tree { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.sdb-tree-row { display: flex; align-items: baseline; gap: 12px; padding-left: calc(var(--d) * 18px); font-size: 0.8rem; }
.sdb-tree-row code { flex-shrink: 0; color: #9fd8f7; }
.sdb-tree-row.is-file code { color: var(--wf-text-1); }
.sdb-tree-row.is-dim code { color: var(--wf-text-4); }
.sdb-tree-row span { color: var(--wf-text-4); }

/* index.json özeti */
.sdb-idx { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); font-size: 0.82rem; color: var(--wf-text-3); }
.sdb-idx[hidden] { display: none; }
.sdb-idx.is-ok { box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.3); }
.sdb-idx.is-error { gap: 8px; box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.35); color: #fda4af; }
.sdb-idx.is-error svg { width: 16px; height: 16px; flex-shrink: 0; }
.sdb-idx-cell { display: flex; flex-direction: column; gap: 2px; }
.sdb-idx-cell span { font-size: 0.72rem; color: var(--wf-text-4); }
.sdb-idx-cell b { font-family: var(--wf-font-display); font-size: 1.02rem; font-weight: 600; color: var(--wf-text-1); }
.sdb-idx-cell s { color: var(--wf-text-4); }
.sdb-idx-same { flex-basis: 100%; margin: 0; font-size: 0.76rem; color: #f6c98a; }

/* Önizleme */
.sdb-splash { aspect-ratio: 1215 / 717; max-height: 46vh; overflow: hidden; border-radius: 14px; background: rgba(91, 200, 245, 0.06); color: #5bc8f5; }
.sdb-splash .skindb-art > svg { width: 48px; height: 48px; }
.sdb-variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.sdb-variant { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); }
.sdb-variant > span { width: 34px; height: 34px; flex-shrink: 0; overflow: hidden; border-radius: 50%; background: rgba(177, 140, 255, 0.12); color: #b18cff; }
.sdb-variant b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.84rem; font-weight: 600; color: var(--wf-text-1); }
.sdb-variant em { font-style: normal; font-size: 0.72rem; color: var(--wf-text-4); }

/* Taşı */
.sdm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dlg .sdm .dlg-input { font-variant-numeric: tabular-nums; }
.dlg .sdm .dlg-input.is-error { box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.7); }
.sdm-name { position: relative; display: block; }
.sdm-name i { position: absolute; top: 50%; right: 12px; font-style: normal; font-size: 0.82rem; color: var(--wf-text-4); transform: translateY(-50%); pointer-events: none; }
.sdm-path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.22); }
.sdm-path code { color: var(--wf-text-3); }
.sdm-path code[data-to] { color: var(--wf-text-1); }
.sdm-arrow { display: grid; color: var(--wf-text-4); }
.sdm-arrow svg { width: 15px; height: 15px; }
.sdm-msg { margin: 10px 2px 0; font-size: 0.8rem; color: #6ee7b7; }
.sdm-msg.is-warn { color: #f6c98a; }
.sdm-msg.is-error { color: #fda4af; }

/* Silme */
.sdb-code { padding: 1px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); color: var(--wf-text-1); }
.sdb-del-list { display: flex; flex-direction: column; gap: 3px; max-height: 150px; margin-top: 12px; padding: 10px 12px; overflow-y: auto; border-radius: 10px; background: rgba(0, 0, 0, 0.22); scrollbar-width: thin; }
.sdb-del-list code { color: var(--wf-text-3); }

@media (hover: hover) and (pointer: fine) {
  .sdb-skin-toggle:hover .sdb-skin-text b { color: #ffffff; }
  .sdb-skin:hover .sdb-skin-acts { opacity: 1; }
  .sdb-file:hover { background: rgba(255, 255, 255, 0.04); }
  .sdb-file:hover .sdb-file-acts { opacity: 1; }
  .sdu-skin:not(.is-sel):hover { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
  .sdu-sugg button:hover { background: rgba(255, 255, 255, 0.07); }
  .sdu-drop:hover { border-color: rgba(91, 200, 245, 0.5); }
  .sdu-mode:not(:disabled):hover { background: rgba(177, 140, 255, 0.2); }
}
@media (hover: none) {
  .sdb-skin-acts, .sdb-file-acts { opacity: 1; }
}
@media (max-width: 1280px) {
  .sdb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sdb-file-meta span:last-child { display: none; }
}
@media (max-width: 1100px) {
  .sdb .rl-body { grid-template-columns: 250px minmax(0, 1fr); }
  .sdu { grid-template-columns: minmax(0, 1fr); }
  .sdu-skins { grid-template-columns: repeat(4, minmax(0, 1fr)); max-height: 250px; }
}
@media (max-width: 760px) {
  .sdb .rl-body { grid-template-columns: minmax(0, 1fr); }
  .sdb-search { flex: 1 1 100%; }
  .sdb .rl-bar .usr-tools { flex: 1 1 100%; }
  .sdb .rl-bar .rl-new { flex: 1; }
  .sdb .usr-tools .usr-btn span { display: inline; }
  .sdb .usr-tools .usr-btn { width: auto; padding: 0 12px; }
  .sdb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sdb-arch { grid-column: 1 / -1; }
  .sdb-tools .usr-btn span { display: inline; }
  .sdb-tools .usr-btn { width: auto; padding: 0 12px; }
  .sdb-sq { flex: 1 1 160px; }
  .sdb-cid, .sdb .rl-list-note { display: none; }
  .sdb-tools { padding: 0 16px 12px; }
  .sdb-tools-note { display: none; }
  .sdb-skins { padding: 0 10px 14px; overflow: visible; }
  .sdb-files { padding: 0 4px 8px; }
  .sdb-file { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .sdb-file-meta { display: none; }
  .sdj { flex-wrap: wrap; }
  .sdu-skins { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sdu-champ { flex-wrap: wrap; }
  .sdu-champ-find { width: 100%; }
  .sdu-row { flex-wrap: wrap; }
  .sdu-row-text { flex-basis: calc(100% - 100px); }
  .sdm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   [BİLEŞENLER] solda yayındaki sürüm · sağda yayın paneli
   ============================================================ */
.cmp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 14px; max-width: 1240px; }
.cmp-skel { height: 420px; border-radius: 18px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015) 70%); }
.cmp-live,
.cmp-pub { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 22px; border-radius: 18px; }
.cmp-live:has(.cmp-skel),
.cmp-pub:has(.cmp-skel) { padding: 0; }
.cmp-live { background: linear-gradient(160deg, rgba(177, 140, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 60%); box-shadow: inset 0 0 0 1px rgba(177, 140, 255, 0.2); }
.cmp-live.is-empty { background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.cmp-pub { gap: 14px; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.cmp-ver { display: flex; align-items: center; gap: 16px; min-width: 0; }
.cmp-ver-ico { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; background: rgba(177, 140, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(177, 140, 255, 0.32); color: #b18cff; }
.cmp-ver-ico svg { width: 26px; height: 26px; }
.cmp-ver > div { display: flex; flex-direction: column; min-width: 0; }
.cmp-ver-label { font-size: 0.78rem; font-weight: 600; color: var(--wf-text-3); }
.cmp-ver b { font-family: var(--wf-font-display); font-size: 2.2rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--wf-text-1); }
.cmp-ver-date { margin-top: 2px; font-size: 0.8rem; color: var(--wf-text-4); }
.cmp-files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cmp-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-width: 0; padding: 12px; border-radius: 14px; background: rgba(0, 0, 0, 0.22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.cmp-file.is-empty { opacity: 0.55; }
.cmp-file-ico { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; background: rgba(255, 255, 255, 0.06); color: var(--wf-text-2); }
.cmp-file-ico svg { width: 18px; height: 18px; }
.cmp-file-text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.cmp-file-text b { font-size: 0.9rem; font-weight: 700; color: var(--wf-text-1); }
.cmp-file-text b em { margin-left: 3px; font-style: normal; font-weight: 500; color: var(--wf-text-4); }
.cmp-file-text span { font-size: 0.76rem; color: var(--wf-text-3); }
.cmp-sha {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-basis: 100%;
  min-width: 0;
  height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  color: var(--wf-text-3);
  cursor: pointer;
  transition: background-color var(--wf-dur-hover) ease, color var(--wf-dur-hover) ease;
}
.cmp-sha code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, 'Cascadia Code', monospace; font-size: 0.74rem; }
.cmp-sha svg { width: 13px; height: 13px; flex-shrink: 0; margin-left: auto; }
.cmp-flow { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.06); list-style: none; }
.cmp-step { display: grid; grid-template-columns: 26px 1fr; gap: 1px 12px; }
.cmp-step i { grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(177, 140, 255, 0.14); font-style: normal; font-family: var(--wf-font-display); font-size: 0.82rem; font-weight: 600; color: #c4b0ff; }
.cmp-step b { font-size: 0.88rem; font-weight: 700; color: var(--wf-text-1); }
.cmp-step span { font-size: 0.78rem; line-height: 1.45; color: var(--wf-text-3); }
.cmp-note { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 0.78rem; line-height: 1.5; color: var(--wf-text-4); }
.cmp-note svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.cmp-pub-head h3 { margin: 0; font-family: var(--wf-font-display); font-size: 1.25rem; font-weight: 600; color: var(--wf-text-1); }
.cmp-pub-head h3 em { margin-left: 4px; font-style: normal; color: #c4b0ff; }
.cmp-pub-head p { margin: 4px 0 0; font-size: 0.82rem; line-height: 1.45; color: var(--wf-text-3); }
.cmp-pub > .upk-field { min-height: 76px; padding: 16px; }
.cmp-pub > .upk-field + .upk-field { margin-top: 0; }
.cmp-pub .upk-prog { margin-top: 0; }
.cmp-pub.is-locked > .upk-field { opacity: 0.55; pointer-events: none; }
.cmp-pub-foot { display: flex; justify-content: flex-end; gap: 8px; }
.dlg.is-locked .upk-field { opacity: 0.55; pointer-events: none; }
/* Izgaradaki alanlar arası boşluğu ızgara verir */
:is(.sdm, .stp-grid, .tfe-names, .tfc-fields) > .dlg-field + .dlg-field { margin-top: 0; }

/* ============================================================
   [SETUP] yayındaki sürüm · sürüm listesi + ayrıntı · durum seçimi
   ============================================================ */
.stp .rl-body { grid-template-columns: 300px minmax(0, 1fr); }
.stp .rl-hint b { font-weight: 600; color: var(--wf-text-2); }
.stp-live { background: rgba(52, 211, 153, 0.07); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.28); }
.stp-live.is-none { background: rgba(251, 113, 133, 0.06); box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.26); }
.stp-live .usr-stat-text b { color: var(--c); }
.stp-stats .usr-stat-text span { overflow: hidden; text-overflow: ellipsis; }
.stp-item .rl-item-text b { font-variant-numeric: tabular-nums; }
.stp-miss { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 4px; border-radius: 50%; background: #fb7185; font-style: normal; font-size: 0.66rem; font-weight: 800; color: #1a0b0f; vertical-align: 1px; }
.stp-pill { flex-shrink: 0; padding: 3px 8px; border-radius: 7px; font-size: 0.7rem; font-weight: 700; white-space: nowrap; }
.stp-pill.is-live { background: rgba(52, 211, 153, 0.15); color: #6ee7b7; }
.stp-pill.is-draft { background: rgba(240, 180, 90, 0.15); color: #f6c98a; }
.stp-pill.is-pre { background: rgba(177, 140, 255, 0.15); color: #c4b0ff; }
.stp-pill.is-old { background: rgba(255, 255, 255, 0.06); color: var(--wf-text-3); }
.stp-head .rl-head-name h2 { font-variant-numeric: tabular-nums; }
.stp-pane { padding: 4px 22px 22px; }
.stp-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.stp-file-ico { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px; background: rgba(126, 226, 160, 0.13); color: #7ee2a0; }
.stp-file-ico svg { width: 21px; height: 21px; }
.stp-file-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 200px; }
.stp-file-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.92rem; font-weight: 700; color: var(--wf-text-1); }
.stp-file-text span { font-size: 0.78rem; font-variant-numeric: tabular-nums; color: var(--wf-text-3); }
.stp-file-acts { display: flex; gap: 6px; }
.stp-sha {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-basis: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.22);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: left;
  color: var(--wf-text-4);
  cursor: pointer;
}
.stp-sha code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, 'Cascadia Code', monospace; font-weight: 400; color: var(--wf-text-3); }
.stp-sha svg { width: 13px; height: 13px; flex-shrink: 0; }
.stp-sec { margin-top: 20px; }
.stp-notes { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.025); font-size: 0.86rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--wf-text-2); }
.stp-notes.is-empty { margin: 0; color: var(--wf-text-4); }
.stp-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; color: var(--wf-text-2); cursor: pointer; }
.stp-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; font-size: 0.8rem; font-variant-numeric: tabular-nums; color: var(--wf-text-2); }
.stp-facts em { display: block; margin-bottom: 2px; font-style: normal; font-size: 0.72rem; color: var(--wf-text-4); }
.stp-empty { flex: 1; }
.stp-empty-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 15px; background: rgba(126, 226, 160, 0.13); color: #7ee2a0; }
.stp-empty-ico svg { width: 24px; height: 24px; }
.stp-empty code { font-family: ui-monospace, 'Cascadia Code', monospace; font-size: 0.8rem; color: var(--wf-text-2); }
.stp-empty .dlg-btn { margin-top: 10px; }
.stp-list-empty { min-height: 200px; font-size: 0.82rem; }
.stp-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px; margin-top: 14px; }
.stp-msg { display: block; min-height: 1em; margin-top: 4px; font-size: 0.74rem; color: var(--wf-text-4); }
.stp-msg:empty { display: none; }
.stp-msg.is-ok { color: #6ee7b7; }
.stp-msg.is-warn { color: #f6c98a; }
.stp-msg.is-error { color: #fda4af; }
.dlg .dlg-input.is-error { box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.7); }
.stp-notes-field { margin-top: 14px; }
.stp-notes-field .dlg-label { display: flex; align-items: baseline; }
.stp-count { margin-left: auto; font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--wf-text-4); }
.dlg .stp-ta { height: auto; min-height: 88px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.stp-mode-field { margin-top: 14px; }
.stp-mode { align-self: flex-start; }
.stp-effect { margin: 8px 2px 0; font-size: 0.78rem; line-height: 1.45; color: var(--wf-text-3); }
.stp-effect.is-ok { color: #6ee7b7; }
.stp-effect.is-warn { color: #f6c98a; }


@media (hover: hover) and (pointer: fine) {
  .cmp-sha:not(:disabled):hover,
  .stp-sha:hover { background: rgba(255, 255, 255, 0.07); color: var(--wf-text-1); }
  .stp-link:hover { color: var(--wf-text-1); }
}
@media (max-width: 1180px) {
  .cmp { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
}
@media (max-width: 1100px) {
  .stp .rl-body { grid-template-columns: 250px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .cmp-live, .cmp-pub { padding: 18px; }
  .cmp-files { grid-template-columns: minmax(0, 1fr); }
  .stp .rl-body { grid-template-columns: minmax(0, 1fr); }
  .stp-item .stp-pill { display: none; }
  .stp .rl-head-acts { flex-wrap: wrap; width: 100%; }
  .stp-pane { padding: 4px 16px 16px; }
  .stp-file-acts { width: 100%; }
  .stp-file-acts .usr-btn span { display: inline; }
  .stp-file-acts .usr-btn { width: auto; flex: 1; justify-content: center; padding: 0 10px; }
  .stp-grid { grid-template-columns: minmax(0, 1fr); }
}
