/* ============================================================ ma?aza (shop worker entegrasyonu) */
.shop-connect {
  max-width: 560px; margin: 40px auto;
  background: var(--glass-2); border: 1px solid var(--border);
  border-radius: 20px; padding: 30px; text-align: center;
}
.shop-connect .ph-ico { margin: 0 auto 16px; }
.shop-connect h3 { font-size: 17px; margin-bottom: 8px; }
.shop-connect p { color: var(--muted); font-size: 12.5px; line-height: 1.6; margin-bottom: 20px; }
.shop-connect .lf-field { text-align: left; }
.shop-connect .lg-submit { margin-top: 4px; padding: 13px; }

.shop-tools { display: flex; gap: 10px; margin-bottom: 14px; align-items: center; flex-wrap: wrap; }
.shop-catbar { display: flex; gap: 6px; flex-wrap: wrap; }
.shop-cat-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(20, 10, 12, .5); border: 1px solid var(--border-soft);
  color: var(--muted); border-radius: 99px; padding: 6px 13px;
  font: inherit; font-size: 11px; font-weight: 700; cursor: pointer;
  transition: all .15s;
}
.shop-cat-btn:hover { border-color: var(--border); color: var(--text); }
.shop-cat-btn.active {
  background: rgba(214, 59, 54, .12); border-color: rgba(214, 59, 54, .35); color: var(--peach);
}

.shopm-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  align-items: stretch;
}
.shopm-card {
  background: var(--glass-2); border: 1px solid var(--border-soft);
  border-radius: 16px; overflow: hidden;
  transition: transform .16s, border-color .16s, box-shadow .16s;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.shopm-card:hover { border-color: var(--border); box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
.shopm-card.selected { border-color: var(--ember); box-shadow: 0 0 0 2px rgba(214, 59, 54, .3); }
.shopm-check {
  position: absolute; top: 9px; left: 9px; z-index: 2;
  width: 24px; height: 24px; border-radius: 8px;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(16, 9, 11, .8); border: 1.5px solid var(--border);
  color: transparent; transition: all .15s;
}
.shopm-check svg { width: 13px; height: 13px; }
.shopm-card.selected .shopm-check { background: var(--grad); border-color: transparent; color: #fff; }
.shopm-prev { position: relative; aspect-ratio: 16/9; background: rgba(20, 10, 12, .6); }
.shopm-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shopm-noprev {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--dim); font-size: 11px;
}
.shopm-cat {
  position: absolute; bottom: 8px; left: 8px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 99px;
  background: rgba(16, 9, 11, .85); border: 1px solid var(--cat-c, var(--border));
  color: var(--cat-c, var(--text)); font-size: 9.5px; font-weight: 800; letter-spacing: .8px;
  text-transform: uppercase;
}
.shopm-cat svg { width: 11px; height: 11px; }
.shopm-upd {
  position: absolute; top: 8px; right: 8px;
  padding: 3px 9px; border-radius: 99px;
  background: rgba(126, 226, 160, .15); border: 1px solid rgba(126, 226, 160, .35);
  color: var(--green); font-size: 9.5px; font-weight: 800;
}
.shopm-body { padding: 0; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.shopm-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px 6px;
  min-height: 72px;
  overflow: hidden;
}
.shopm-name { font-size: 13px; font-weight: 700; margin-bottom: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shopm-sub { color: var(--dim); font-size: 11px; margin-bottom: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shopm-tags { display: flex; gap: 4px; flex-wrap: nowrap; overflow: hidden; margin-bottom: 0; max-height: 22px; }
.shopm-tag {
  padding: 2px 8px; border-radius: 99px; font-size: 9.5px; font-weight: 700;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--border-soft); color: var(--muted);
}
.shopm-stats { display: flex; gap: 6px; color: var(--dim); font-size: 10.5px; margin-bottom: 0; flex: 1; min-width: 0; flex-wrap: wrap; align-items: center; }
.shopm-stat { display: inline-flex; align-items: center; gap: 4px; }
.shopm-stat svg { width: 11px; height: 11px; }
.shopm-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  flex-shrink: 0; flex-wrap: nowrap;
  padding: 8px 10px 10px;
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
}
.shopm-date { color: var(--dim); font-size: 10px; }
.shopm-acts { display: flex; gap: 6px; flex-shrink: 0; margin-left: auto; }
.shopm-act {
  width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--border-soft);
  color: var(--muted); transition: all .15s;
}
.shopm-act svg { width: 13px; height: 13px; }
.shopm-act:hover { color: var(--text); border-color: var(--border); }
.shopm-act.del:hover { color: var(--red); border-color: rgba(255, 138, 112, .4); background: rgba(255, 138, 112, .08); }

/* bulk bar */
.shop-bulkbar {
  position: sticky; bottom: 10px; z-index: 5;
  display: none; align-items: center; gap: 12px;
  background: rgba(16, 10, 7, .97); border: 1px solid var(--border);
  border-radius: 15px; padding: 11px 16px; margin-top: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
}
.shop-bulkbar.on { display: flex; }
.shop-bulkbar b { font-size: 12.5px; }

/* upload */
.shop-up-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; align-items: start; }
@media (max-width: 980px) { .shop-up-grid { grid-template-columns: 1fr; } }
.shop-up-card { background: var(--glass-2); border: 1px solid var(--border-soft); border-radius: 18px; padding: 20px; }
.shop-up-card h4 {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .3px; margin-bottom: 14px; color: var(--peach);
  text-transform: uppercase; font-size: 11px; letter-spacing: 1.6px;
}
.shop-up-card h4 svg { width: 14px; height: 14px; }
.shop-drop {
  border: 1.5px dashed var(--border); border-radius: 14px;
  padding: 22px; text-align: center; cursor: pointer;
  transition: all .18s; margin-bottom: 12px;
}
.shop-drop:hover, .shop-drop.over { border-color: var(--ember); background: rgba(214, 59, 54, .05); }
.shop-drop.ok { border-color: rgba(126, 226, 160, .45); background: rgba(126, 226, 160, .05); }
.shop-drop svg { width: 22px; height: 22px; color: var(--dim); margin-bottom: 8px; }
.shop-drop.ok svg { color: var(--green); }
.shop-drop b { display: block; font-size: 12.5px; margin-bottom: 3px; }
.shop-drop span { color: var(--dim); font-size: 11px; }
.shop-tagwrap {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  background: rgba(20, 10, 12, .6); border: 1px solid var(--border);
  border-radius: 13px; padding: 8px 10px; cursor: text;
}
.shop-tagwrap input {
  flex: 1; min-width: 120px; background: none; border: none; outline: none;
  color: var(--text); font: inherit; font-size: 12.5px; padding: 4px;
}
.shop-tagchip {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(214, 59, 54, .1); border: 1px solid rgba(214, 59, 54, .25);
  color: var(--peach); border-radius: 99px; padding: 3px 5px 3px 10px;
  font-size: 11px; font-weight: 700;
}
.shop-tagchip button {
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(214, 59, 54, .18); border: none; color: var(--peach);
  font-size: 11px; line-height: 1; cursor: pointer;
}
.shop-prevbox {
  aspect-ratio: 16/9; border-radius: 13px; overflow: hidden;
  background: rgba(20, 10, 12, .6); border: 1px solid var(--border-soft);
  display: grid; place-items: center; color: var(--dim); font-size: 11.5px;
}
.shop-prevbox img { width: 100%; height: 100%; object-fit: cover; }
.shop-up-prog { height: 5px; background: rgba(255, 255, 255, .06); border-radius: 99px; overflow: hidden; margin-top: 12px; display: none; }
.shop-up-prog.on { display: block; }
.shop-up-prog i { display: block; height: 100%; background: var(--grad); border-radius: 99px; width: 0; transition: width .3s; }

/* shopier & backup */
.shop-note { color: var(--dim); font-size: 11.5px; margin-top: 10px; }
.backup-files {
  max-height: 380px; overflow: auto;
  display: flex; flex-direction: column; gap: 4px; margin-top: 14px;
}
.backup-file {
  display: flex; align-items: center; gap: 10px;
  background: rgba(20, 10, 12, .45); border: 1px solid var(--border-soft);
  border-radius: 10px; padding: 7px 12px; font-size: 11.5px;
}
.backup-file .bf-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.backup-file .bf-size { color: var(--dim); font-size: 10.5px; flex-shrink: 0; }

/* ============================================================ magaza v2 ? toolbar */
.shop-toolbar {
  background: var(--glass-2); border: 1px solid var(--border-soft);
  border-radius: 16px; padding: 13px 14px; margin-bottom: 16px;
  display: flex; flex-direction: column; gap: 11px;
}
.shop-toolbar-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.shop-toolbar .searchbox.grow { flex: 1; }
.shop-toolbar .searchbox.grow input { width: 100%; }
.shop-toolbar .searchbox.grow input:focus { width: 100%; }
.shop-cat-btn i {
  font-style: normal; margin-left: 6px;
  padding: 1px 7px; border-radius: 99px; font-size: 9.5px;
  background: rgba(255, 255, 255, .07); color: var(--dim);
}
.shop-cat-btn.active i { background: rgba(214, 59, 54, .22); color: var(--peach); }

/* ============================================================ magaza v2 — kartlar */
.shopm-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; align-items: stretch; }
.shopm-card.v2 {
  display: flex; flex-direction: column;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  min-height: 268px;
}
.shopm-card.v2:hover {
  border-color: color-mix(in srgb, var(--ember, #d63b36) 55%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 12px 28px rgba(0, 0, 0, .4),
    0 0 18px -6px color-mix(in srgb, var(--ember, #d63b36) 45%, transparent);
}
.shopm-card.v2 .shopm-prev {
  height: 128px;
  aspect-ratio: unset;
  overflow: hidden;
  flex-shrink: 0;
}
.shopm-card.v2 .shopm-prev img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.shopm-card.v2 .shopm-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
  padding: 0;
  min-height: 0;
}
.shopm-card.v2 .shopm-main {
  flex: 1;
  padding: 10px 12px 6px;
  min-height: 78px;
}
.shopm-card.v2 .shopm-name { font-size: 13px; margin-bottom: 0; }
.shopm-card.v2 .shopm-sub { font-size: 11px; color: var(--peach); margin-bottom: 0; }
.shopm-desc {
  color: var(--muted); font-size: 11px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 0; min-height: 0; max-height: 2.85em;
  flex-shrink: 1;
}
.shopm-size {
  position: absolute; top: 8px; right: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 99px;
  background: rgba(12, 6, 8, .78); border: 1px solid rgba(255, 255, 255, .12);
  color: #fff; font-size: 10px; font-weight: 700;
}
.shopm-size svg { width: 10px; height: 10px; }
.shopm-card.v2 .shopm-foot {
  margin-top: auto;
  flex-shrink: 0;
  padding: 8px 10px 10px;
  border-top: 1px solid var(--border-soft);
}
.shopm-card.v2 .shopm-stats { margin-bottom: 0; align-items: center; gap: 6px; }
.shopm-card.v2 .shopm-date { margin-left: 0; font-size: 9.5px; white-space: nowrap; }

/* [STATS v3] İndirme / beğeni sayaçları — büyük, renkli, ikonlu rozetler.
   İndirme: yeşil, Beğeni: pembe-kırmızı. Demode minik gri yazı yerine
   profesyonel chip görünümü. */
.shopm-card.v2 .shopm-stat {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 99px;
  font-size: 11px; font-weight: 800; letter-spacing: .2px;
  white-space: nowrap;
}
.shopm-card.v2 .shopm-stat svg { width: 12px; height: 12px; flex-shrink: 0; }
.shopm-card.v2 .shopm-stat b { font-weight: 800; font-size: 11px; }
.shopm-card.v2 .shopm-stat.dl {
  color: #7ee2a0; background: rgba(126, 226, 160, .1);
  border: 1px solid rgba(126, 226, 160, .28);
}
.shopm-card.v2 .shopm-stat.lk {
  color: #ff7d9c; background: rgba(255, 125, 156, .1);
  border: 1px solid rgba(255, 125, 156, .28);
}

/* [FILTER ICONS] Kategori filtre butonlarındaki ikonlar — kategori renginde */
.shop-cat-btn .sc-ico { display: inline-flex; align-items: center; }
.shop-cat-btn .sc-ico svg { width: 13px; height: 13px; color: var(--cat-c, var(--muted)); }
.shop-cat-btn.active { border-color: color-mix(in srgb, var(--cat-c, #d63b36) 45%, transparent); }
.shop-cat-btn.active .sc-ico svg { filter: drop-shadow(0 0 6px var(--cat-c, transparent)); }

/* ============================================================ mod yukle v2 */
.upc-step { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.upc-step i {
  width: 30px; height: 30px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-style: normal;
  background: var(--grad); color: #fff; font-size: 13px; font-weight: 800;
  box-shadow: 0 6px 16px rgba(178, 42, 34, .35);
}
.upc-step b { display: block; font-size: 13.5px; }
.upc-step span { display: block; color: var(--dim); font-size: 11px; margin-top: 1px; }
.upc-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 760px) { .upc-2col { grid-template-columns: 1fr; } }

.upc-catpick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.upc-cat {
  display: flex; align-items: center; gap: 11px; text-align: left;
  background: rgba(20, 10, 12, .5); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 13px;
  font: inherit; color: var(--muted); cursor: pointer; transition: all .15s;
}
.upc-cat > svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--dim); }
.upc-cat b { display: block; font-size: 12.5px; color: var(--text); }
.upc-cat span:not(.tick) { display: block; font-size: 10.5px; color: var(--dim); margin-top: 1px; }
.upc-cat .tick { margin-left: auto; flex-shrink: 0; opacity: 0; transition: opacity .15s; }
.upc-cat .tick svg { width: 14px; height: 14px; color: var(--ember); }
.upc-cat.active {
  border-color: var(--ember);
  background: rgba(214, 59, 54, .08);
  box-shadow: 0 0 0 3px rgba(214, 59, 54, .13);
}
.upc-cat.active > svg { color: var(--ember); }
.upc-cat.active .tick { opacity: 1; }
.upc-cat.nsfw.active { border-color: var(--red); background: rgba(255, 138, 112, .07); box-shadow: 0 0 0 3px rgba(255, 138, 112, .12); }
.upc-cat.nsfw.active > svg, .upc-cat.nsfw.active .tick svg { color: var(--red); }

.shop-drop.slim {
  display: flex; align-items: center; gap: 13px; text-align: left;
  padding: 14px 16px;
}
.shop-drop.slim > svg { margin-bottom: 0; flex-shrink: 0; }
.shop-drop.slim .sd-text b { margin-bottom: 2px; }
.shop-prevbox.v2 {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 150px; border-radius: 14px; overflow: hidden;
  background: rgba(20, 10, 12, .5); border: 1px solid var(--border-soft);
  color: var(--dim); font-size: 11.5px;
}
.shop-prevbox.v2 svg { width: 26px; height: 26px; }
.shop-prevbox.v2 img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================ modu duzenle v2 */
.em-head { display: flex; gap: 16px; margin-bottom: 18px; }
.em-prev {
  position: relative; width: 220px; aspect-ratio: 16/9; flex-shrink: 0;
  border-radius: 14px; overflow: hidden;
  background: rgba(20, 10, 12, .6); border: 1px solid var(--border-soft);
}
.em-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.em-prev-empty {
  position: absolute; inset: 0; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--dim); font-size: 10.5px;
}
.em-prev-empty i { font-style: normal; }
.em-prev-empty svg { width: 22px; height: 22px; }
.em-prev.noimg .em-prev-empty { display: flex; }
.em-head-info { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.em-head-info h3 { margin: 0 0 4px; font-size: 18px; }
.em-id {
  display: block; color: var(--dim); font-size: 10.5px; font-family: 'Consolas', monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 320px;
  margin-bottom: 10px;
}
.em-head-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.em-head-stats span { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11.5px; }
.em-head-stats svg { width: 12px; height: 12px; color: var(--dim); }

/* ============================================================ modu sil (delete) */
.delm-head {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 4px 0 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border-soft);
}
.delm-prev {
  position: relative;
  width: 150px;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(20, 10, 12, .6);
  border: 1px solid var(--border-soft);
}
.delm-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.delm-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.delm-info h3 {
  margin: 0;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
}
.delm-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  word-break: break-word;
}
.delm-sub { font-size: 12px; color: var(--muted); }
.delm-sub i { font-style: normal; font-weight: 700; }
.delm-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.delm-stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 11.5px;
}
.delm-stats svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--dim);
}

/* sayi giris ? demode spin oklari yerine buton stepper */
.em-stepper {
  display: flex; align-items: stretch; gap: 6px;
}
.em-stepper input {
  flex: 1; min-width: 0; margin: 0; text-align: center;
  background: rgba(20, 10, 12, .6); border: 1px solid var(--border);
  color: var(--text); border-radius: 11px; padding: 11px 8px;
  font: inherit; font-size: 14px; font-weight: 700; outline: none;
  -moz-appearance: textfield; appearance: textfield;
}
.em-stepper input::-webkit-outer-spin-button,
.em-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.em-stepper input:focus { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(214, 59, 54, .12); }
.em-stepper button {
  flex-shrink: 0; min-width: 40px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--border);
  color: var(--muted); border-radius: 11px; padding: 0 10px;
  font: inherit; font-size: 13px; font-weight: 800; cursor: pointer;
  transition: all .13s;
}
.em-stepper button:hover { border-color: var(--ember); color: var(--peach); background: rgba(214, 59, 54, .08); }
.em-stepper button:active { transform: scale(.94); }

/* guncellendi rozeti ? anahtarli aciklama karti */
.em-upd-row {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(20, 10, 12, .5); border: 1px solid var(--border);
  border-radius: 13px; padding: 12px 13px; cursor: pointer;
  transition: all .15s;
}
.em-upd-row:hover { border-color: var(--border); background: rgba(214, 59, 54, .04); }
.em-upd-row.on { border-color: rgba(214, 59, 54, .4); background: rgba(214, 59, 54, .07); }
.em-upd-row .switch { flex-shrink: 0; margin-top: 2px; pointer-events: none; }
.em-upd-text b { display: block; font-size: 12px; margin-bottom: 3px; }
.em-upd-text span { display: block; color: var(--dim); font-size: 10.5px; line-height: 1.55; }

/* ============================================================ toplu mod y�kle */
.bulk-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; margin-bottom: 16px; }
@media (max-width: 1100px) { .bulk-grid { grid-template-columns: 1fr; } }
.bulk-glob-foot { display: flex; align-items: center; gap: 12px; margin-top: 4px; flex-wrap: wrap; }
.bulk-glob-foot .upc-catpick.slim { flex: 1; min-width: 260px; }
.upc-catpick.slim .upc-cat { padding: 9px 12px; }
.upc-catpick.slim .upc-cat span { font-size: 9.5px; }

.bulk-list-head {
  display: flex; align-items: center; gap: 12px;
  background: var(--glass); border: 1px solid var(--border-soft);
  border-radius: 14px; padding: 11px 16px; margin-bottom: 10px;
}
.bulk-list-head b { font-size: 13px; }
.bulk-list-head .muted { font-size: 11.5px; flex: 1; }
.bulk-prog-text { font-size: 11.5px; padding: 4px 2px 8px; }

.bulk-list { display: flex; flex-direction: column; gap: 8px; }
.bulk-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--glass); border: 1px solid var(--border-soft);
  border-radius: 12px; padding: 8px 10px;
  transition: border-color .15s, background .15s;
}
.bulk-item:hover { border-color: var(--border); }
.bulk-item.uploading { border-color: rgba(255, 196, 107, .4); background: rgba(255, 196, 107, .04); }
.bulk-item.done { border-color: rgba(126, 226, 160, .35); background: rgba(126, 226, 160, .04); }
.bulk-item.error { border-color: rgba(255, 107, 107, .4); background: rgba(255, 107, 107, .05); }
.bulk-prev {
  width: 56px; height: 38px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center; position: relative; overflow: hidden;
  background: rgba(20, 10, 12, .6); border: 1px solid var(--border);
  color: var(--dim); cursor: pointer; padding: 0;
  transition: border-color .15s;
}
.bulk-prev:hover { border-color: var(--ember); color: var(--peach); }
.bulk-prev svg { width: 17px; height: 17px; }
.bulk-prev img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bulk-num {
  position: absolute; right: 3px; bottom: 3px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center;
  background: rgba(10, 5, 7, .85); border: 1px solid var(--border);
  border-radius: 6px; color: var(--muted);
  font-size: 9.5px; font-weight: 800;
}
.bulk-item.done .bulk-num { color: var(--green); border-color: rgba(126, 226, 160, .4); }
.bulk-item.error .bulk-num { color: var(--red); border-color: rgba(255, 107, 107, .4); }
.bulk-num svg { width: 10px; height: 10px; }
.bulk-fields { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bulk-row { display: flex; gap: 6px; align-items: center; }
.bulk-row input {
  background: rgba(20, 10, 12, .55); border: 1px solid var(--border-soft);
  color: var(--text); border-radius: 8px; padding: 5px 9px;
  font: inherit; font-size: 11.5px; outline: none; min-width: 0;
  transition: border-color .14s;
}
.bulk-row input:focus { border-color: var(--ember); }
.bulk-row input::placeholder { color: var(--dim); }
.bulk-row .bi-name { flex: 1.1; font-weight: 700; }
.bulk-row .bi-title { flex: 1; }
.bulk-row .bi-tags { flex: .9; }
.bulk-row .bi-desc { flex: 1.4; }
.bulk-meta { flex-shrink: 0; color: var(--dim); font-size: 10.5px; white-space: nowrap; }
.bulk-meta i { font-style: normal; font-weight: 800; color: var(--peach); }
.bulk-meta i.nsfw { color: #ff6b9d; }

