/* ==========================================================================
   Roxmedia - Kullanıcı Listeleri (pages/lists.css)
   Açık / koyu tema, mobil & masaüstü, RTL uyumlu.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1) GENEL SAYFA DÜZENİ
   -------------------------------------------------------------------------- */
.lists-page {
  min-height: 60vh;
}

.lists-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 14px 90px;
}

.lists-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.lists-title {
  font-size: clamp(1.25rem, 4.5vw, 1.7rem);
  font-weight: 800;
  margin: 0;
  color: var(--pico-color, #fff);
  display: flex;
  align-items: center;
  gap: 10px;
}

.lists-title i,
.lists-title svg {
  color: var(--pico-primary, #667eea);
}

.lists-subtitle {
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: var(--muted-color, #9aa0b4);
}

.btn-list-create {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px !important;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 6px 18px rgba(102, 126, 234, 0.35);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-list-create:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(102, 126, 234, 0.45);
}

.btn-list-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px !important;
  border: 1px solid var(--muted-border-color, rgba(255, 255, 255, 0.12));
  background: transparent;
  color: var(--pico-color, #fff);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-list-ghost:hover {
  border-color: var(--pico-primary, #667eea);
  color: var(--pico-primary, #667eea);
}

.btn-list-danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px !important;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #a3005f 0%, #ff003c 100%);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-list-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 0, 60, 0.35);
}

/* --------------------------------------------------------------------------
   2) BÖLÜM BAŞLIKLARI
   -------------------------------------------------------------------------- */
.lists-section {
  margin: 26px 0 8px;
}

.lists-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.lists-section-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: clamp(1rem, 3.6vw, 1.2rem);
  font-weight: 800;
  margin: 0;
  color: var(--pico-color, #fff);
}

.lists-section-title i,
.lists-section-title svg {
  color: var(--pico-primary, #667eea);
}

.lists-section-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pico-color, #fff);
  background: rgba(102, 126, 234, 0.18);
  background: color-mix(in srgb, var(--pico-primary, #667eea) 18%, transparent);
}

/* --------------------------------------------------------------------------
   3) LİSTE KARTLARI
   -------------------------------------------------------------------------- */
.lists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.list-card {
  display: flex;
  flex-direction: column;
  background: var(--card-background-color, #1a1c23);
  border: 1px solid var(--muted-border-color, rgba(255, 255, 255, 0.08));
  border-radius: 26px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
  position: relative;
}

.list-card:hover {
  transform: translateY(-4px);
  border-color: var(--pico-primary, #667eea);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Kapak kolajı */
.list-card-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  background: linear-gradient(135deg, #23213a 0%, #191830 100%);
}

.list-card-cover .cover-poster {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.list-card-cover .cover-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.list-card:hover .cover-poster img {
  transform: scale(1.06);
}

.list-card-cover.single {
  grid-template-columns: 1fr;
}

.list-card-cover.two {
  grid-template-columns: repeat(2, 1fr);
}

.list-card-cover.three {
  grid-template-columns: repeat(3, 1fr);
}

.list-card-cover .cover-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  background: linear-gradient(135deg, #23213a 0%, #191830 100%);
  font-size: 0.8rem;
  font-weight: 600;
}

.list-card-cover .cover-empty i {
  width: 34px;
  height: 34px;
  color: rgba(255, 255, 255, 0.6);
}

/* Kapak üzerindeki köşe rozetleri */
.list-card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.privacy-badge.public {
  background: rgba(46, 204, 113, 0.18);
  color: #2ecc71;
}

.privacy-badge.private {
  background: rgba(149, 165, 166, 0.2);
  color: #b8c0cc;
}

.privacy-badge.unlisted {
  background: rgba(241, 196, 15, 0.18);
  color: #f1c40f;
}

.list-card-body {
  padding: 14px 15px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.list-card-name {
  font-size: 1.02rem;
  font-weight: 800;
  margin: 0;
  color: var(--pico-color, #fff);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.list-card-desc {
  font-size: 0.85rem;
  color: var(--muted-color, #9aa0b4);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 1.2em;
}

.list-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted-color, #9aa0b4);
  margin-top: 2px;
}

.list-card-meta .meta-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Mini ilerleme çubuğu */
.mini-progress {
  height: 5px;
  border-radius: 999px;
  background: rgba(128, 128, 128, 0.2);
  overflow: hidden;
}

.mini-progress > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2ecc71, #27ae60);
}

/* --------------------------------------------------------------------------
   4) BOŞ DURUMLAR
   -------------------------------------------------------------------------- */
.lists-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
    padding: 48px 20px;
    border-radius: 30px;
    border: 1px dashed var(--muted-border-color, rgba(255, 255, 255, 0.14));
  color: var(--muted-color, #9aa0b4);
}

.lists-empty > i,
.lists-empty > svg {
  width: 46px;
  height: 46px;
  color: var(--pico-primary, #667eea);
}

.lists-empty h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--pico-color, #fff);
}

.lists-empty p {
  margin: 0;
  font-size: 0.9rem;
  max-width: 340px;
}

.lists-empty .lists-empty-btn {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
  transition: all 0.25s ease;
  line-height: 1;
}

.lists-empty .lists-empty-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.45);
  color: #fff !important;
}

.lists-empty .lists-empty-btn:active {
  transform: translateY(0);
}

.lists-empty .lists-empty-btn i,
.lists-empty .lists-empty-btn svg {
  width: 18px !important;
  height: 18px !important;
  color: inherit !important;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5) LİSTE DETAY SAYFASI
   -------------------------------------------------------------------------- */
.list-detail-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 30px;
  margin-bottom: 22px;
  background: var(--card-background-color, #1a1c23);
  border: 1px solid var(--muted-border-color, rgba(255, 255, 255, 0.08));
}

.list-detail-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.list-detail-name {
  margin: 0;
  font-size: clamp(1.3rem, 5vw, 1.9rem);
  font-weight: 800;
  color: var(--pico-color, #fff);
}

.list-detail-desc {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: var(--muted-color, #9aa0b4);
}

.list-detail-owner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--muted-color, #9aa0b4);
}

.list-detail-owner strong {
  color: var(--pico-color, #fff);
  font-weight: 700;
}

.list-detail-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

/* Detay üst çubuğu: Geri / Düzenle / Sil butonları tek satırda kalsın */
.lists-head.list-detail-head {
  flex-wrap: nowrap;
  gap: 12px;
}

.lists-head.list-detail-head .btn-list-ghost,
.lists-head.list-detail-head .btn-list-danger {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Çok dar ekranlarda buton etiketleri gizlenir, ikonlu hap butonlar yan yana kalır */
@media (max-width: 600px) {
  .lists-head.list-detail-head .btn-list-ghost,
  .lists-head.list-detail-head .btn-list-danger {
    padding: 10px 13px;
    font-size: 0.85rem;
  }

  .lists-head.list-detail-head .btn-list-ghost span,
  .lists-head.list-detail-head .btn-list-danger span {
    display: none;
  }
}

/* İlerleme kutusu */
.list-progress-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.list-progress-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pico-color, #fff);
}

.list-progress-labels .progress-percent {
  color: var(--pico-primary, #667eea);
}

.progress-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(128, 128, 128, 0.22);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transition: width 0.45s ease;
}

/* ------------------------------------------------------------------------
   ÖĞE KARTLARI — /series sayfasıyla aynı .media-card görünümü
   Grid (.media-grid) ve kart (.media-card/.media-poster) kuralları global
   index.css'ten geldiği için burada yalnızca liste eklentileri tanımlı.
   ------------------------------------------------------------------------ */
.list-items {
  margin-top: 6px;
}

.lists-page .media-card.list-item-card {
  position: relative;
}

.list-item-card.dragging {
  opacity: 0.45;
  z-index: 60;
  cursor: grabbing;
}

/* Bilgi alanı: dikey kart düzeni korunur, başlık–yıl üst üste binmez */
.lists-page .media-card .media-info {
  padding: 14px 14px 12px !important;
  margin-top: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: stretch !important;
  flex: 1 0 auto !important;
  min-height: 0 !important;
  gap: 0 !important;
  box-sizing: border-box !important;
}

.lists-page .media-card .media-title {
  margin: 0 0 3px 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.35 !important;
}

.lists-page .media-card .media-title .title-text {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

.lists-page .media-card .media-platform {
  margin: 0 !important;
  color: var(--muted-color, #9aa0b4) !important;
}

.lists-page .media-card .media-platform .platform-text {
  font-size: 0.78rem !important;
  color: var(--muted-color, #9aa0b4) !important;
  max-width: 100% !important;
}

/* Sürükle-bırak tutamaçsız: sahip görünümünde kartın herhangi bir yerinden
   (poster dahil) tutularak sıralama yapılır */
.list-items[data-draggable] .list-item-card {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.list-items[data-draggable] .list-item-card a,
.list-items[data-draggable] .list-item-card img,
.list-items[data-draggable] .list-item-card svg {
  cursor: grab;
}

.list-items[data-draggable] .list-item-card:active {
  cursor: grabbing;
}

/* Eylem butonları (poster sağ üst köşe, dikey) */
.list-card-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.list-card-actions .list-icon-btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: rgba(10, 12, 18, 0.55) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.list-card-actions .list-icon-btn i,
.list-card-actions .list-icon-btn svg {
  width: 16px;
  height: 16px;
}

.list-card-actions .list-icon-btn.done.active {
  color: #fff !important;
  background: rgba(46, 204, 113, 0.9) !important;
  border-color: rgba(46, 204, 113, 0.9) !important;
}

.list-card-actions .list-icon-btn.note:hover {
  background: rgba(102, 126, 234, 0.9) !important;
  color: #fff !important;
}

.list-card-actions .list-icon-btn.danger:hover {
  background: rgba(255, 0, 60, 0.9) !important;
  color: #fff !important;
}

/* Tür rozeti (poster sol alt köşe) */
.list-type-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 15;
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(10, 12, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
  line-height: 1;
  pointer-events: none;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* Not varsa rozet (poster sağ alt köşe) */
.list-note-dot {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 15;
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(241, 196, 15, 0.22);
  border: 1px solid rgba(241, 196, 15, 0.4);
  color: #f1c40f;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.list-note-dot i,
.list-note-dot svg {
  width: 14px;
  height: 14px;
}

/* Kart içi not düzenleyici (kartın altına açılır) */
.list-item-card .row-note-editor {
  margin: 0;
  padding: 12px;
  border-radius: 0 0 25px 25px;
  flex-shrink: 0;
}

/* Küçük ekranlarda kart üstü kontroller kompaktlaşır */
@media (max-width: 640px) {
  .list-card-actions {
    top: 6px;
    right: 6px;
    gap: 5px;
  }

  .list-card-actions .list-icon-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }

  .list-card-actions .list-icon-btn i,
  .list-card-actions .list-icon-btn svg {
    width: 15px;
    height: 15px;
  }

  .list-type-badge {
    left: 6px;
    bottom: 6px;
  }

  .list-note-dot {
    right: 6px;
    bottom: 6px;
  }
}

.list-icon-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50% !important;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(128, 128, 128, 0.14);
  color: var(--muted-color, #9aa0b4);
  transition: all 0.2s ease;
}

.list-icon-btn i,
.list-icon-btn svg {
  width: 17px;
  height: 17px;
}

.list-icon-btn:hover {
  color: #fff;
  background: var(--pico-primary, #667eea);
  transform: scale(1.08);
}

.list-icon-btn.danger:hover {
  background: linear-gradient(135deg, #a3005f 0%, #ff003c 100%);
}

.list-icon-btn.done.active {
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.2);
}

.list-icon-btn.done.active:hover {
  color: #fff;
  background: #2ecc71;
}

/* --------------------------------------------------------------------------
   6) OLUŞTURMA / DÜZENLEME SAYFASI
   -------------------------------------------------------------------------- */
.list-form-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 26px 22px;
  border-radius: 30px;
  background: var(--card-background-color, #1a1c23);
  border: 1px solid var(--muted-border-color, rgba(255, 255, 255, 0.08));
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.list-form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.list-form-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pico-color, #fff);
}

.list-form-field input[type="text"],
.list-form-field textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 30px !important;
  border: 1px solid var(--muted-border-color, rgba(255, 255, 255, 0.12));
  background: var(--pico-background-color, #12131a);
  color: var(--pico-color, #fff);
  padding: 12px 16px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

/* Açıklama alanı: içeriğe göre otomatik genişler */
.list-form-field textarea {
  min-height: 100px;
  resize: none;
  overflow-y: hidden;
  line-height: 1.5;
  transition: border-color 0.2s ease, height 0.12s ease;
}

.list-form-field input:focus,
.list-form-field textarea:focus {
  border-color: var(--pico-primary, #667eea);
}

.list-form-field textarea.has-limit-warning {
  border-color: #ef4444 !important;
}

.list-desc-limit-warning {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #f87171;
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: -5px;
  margin-bottom: 4px;
  padding-left: 6px;
  line-height: 1.3;
}

@keyframes descLimitShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-3px); }
  40%, 80% { transform: translateX(3px); }
}

.list-desc-limit-warning.shake-warning {
  animation: descLimitShake 0.3s ease-in-out;
}

.privacy-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.privacy-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px !important;
  border: 1px solid var(--muted-border-color, rgba(255, 255, 255, 0.12));
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pico-color, #fff);
  background: transparent;
  transition: all 0.2s ease;
  user-select: none;
}

.privacy-option input {
  display: none;
}

.privacy-option.selected {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-color: transparent;
}

.privacy-option.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.list-form-note {
  font-size: 0.82rem;
  color: var(--muted-color, #9aa0b4);
}

.list-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   7) HIZLI LİSTE EKLEME DİYALOGU (ortalanmış popup - alt panel değil)
   -------------------------------------------------------------------------- */
.quick-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 11000;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.quick-sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.quick-sheet {
  width: 100%;
  max-width: 460px;
  max-height: min(82vh, 640px);
  background: var(--card-background-color, #1a1c23);
  border: 1px solid var(--muted-border-color, rgba(255, 255, 255, 0.1));
  border-radius: 40px;
  padding: 18px 25px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.quick-sheet-backdrop.open .quick-sheet {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Alt panel tutamacı popup tasarımında gereksiz */
.quick-sheet-handle {
  display: none;
}

.quick-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.quick-sheet-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--pico-color, #fff);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quick-sheet-scroll {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px;
  -webkit-overflow-scrolling: touch;
}

.qs-list-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(128, 128, 128, 0.07);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.qs-list-row.selected {
  border-color: rgba(102, 126, 234, 0.5);
}

/* ============================================================================
   Quick-sheet onay kutusu — SAF BUTON + SVG deseni (kart köşe butonu gibi)
   ----------------------------------------------------------------------------
   DOM'da HİÇBİR <input> / native checkbox YOKTUR. Görsel, yalnızca <button>
   çerçevesi + SVG tikten oluşur; seçili durum satırın .selected sınıfıyla
   yönetilir. Eski WebView'lerin "daire içinde kare" çizmesi bu yapıda
   yapısal olarak imkânsızdır.
   ============================================================================ */
.qs-list-row .qs-check {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  margin: 0 0 0 5px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  border: 2px solid rgba(128, 128, 128, 0.5) !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  overflow: hidden !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease !important;
  color: transparent !important;
  font: inherit !important;
  text-align: center !important;
  line-height: 1 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.qs-list-row .qs-check:focus,
.qs-list-row .qs-check:active,
.qs-list-row .qs-check:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.qs-list-row .qs-check::before,
.qs-list-row .qs-check::after {
  display: none !important;
  content: none !important;
}

/* SVG yalnızca görsel tik taşır; fill/stroke hiçbir koşulda dolmaz */
.qs-list-row .qs-check svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  flex: 0 0 auto !important;
  overflow: hidden !important;
  fill: none !important;
  stroke: none !important;
  pointer-events: none !important;
  background: transparent !important;
  border-radius: 50% !important;
}
.qs-list-row .qs-check svg .check-icon {
  stroke: transparent !important;
  opacity: 1 !important;
  fill: none !important;
}

/* Seçili liste: gradient dolgu + beyaz tik (satır .selected sınıfına bağlı) */
.qs-list-row.selected .qs-check {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border: none !important;
  color: #ffffff !important;
}
.qs-list-row.selected .qs-check:focus,
.qs-list-row.selected .qs-check:active,
.qs-list-row.selected .qs-check:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
.qs-list-row.selected .qs-check svg .check-icon {
  stroke: #ffffff !important;
}

/* İşlem sırasında (busy) hafif soluk */
.qs-list-row .qs-check.is-busy,
.qs-list-row .qs-check:disabled {
  opacity: 0.55 !important;
  cursor: default !important;
}

.qs-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qs-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pico-color, #fff);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qs-meta {
  font-size: 0.78rem;
  color: var(--muted-color, #9aa0b4);
}

/* Yeni liste oluştur */
.qs-new-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--muted-border-color, rgba(255, 255, 255, 0.1));
}

.qs-new-list-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qs-new-list input {
  flex: none;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 999px !important;
  border: 1px solid var(--muted-border-color, rgba(255, 255, 255, 0.12));
  background: var(--pico-background-color, #12131a);
  color: var(--pico-color, #fff);
  padding: 11px 18px;
  font-size: 0.92rem;
  outline: none;
}

.qs-new-list input:focus {
  border-color: var(--pico-primary, #667eea);
}

.qs-create-btn {
  border-radius: 999px !important;
  border: none;
  padding: 11px 20px;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.qs-create-btn:hover {
  transform: translateY(-1px);
}

.qs-empty {
  text-align: center;
  color: var(--muted-color, #9aa0b4);
  font-size: 0.9rem;
  padding: 16px 8px;
}

.qs-loading {
  text-align: center;
  color: var(--muted-color, #9aa0b4);
  padding: 22px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Yükleniyor çarkı */
.qs-spinner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid rgba(128, 128, 128, 0.25);
  border-top-color: var(--pico-primary, #667eea);
  animation: qs-spin 0.8s linear infinite;
}

@keyframes qs-spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   8) DETAY SAYFALARINDAKİ "LISTEYE EKLE" AKSİYON BUTONU
   -------------------------------------------------------------------------- */
.list-add-action {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  border-radius: 50% !important;
  border: none !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #fff !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.35) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.list-add-action:hover {
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 7px 20px rgba(102, 126, 234, 0.5) !important;
}

.list-add-action i,
.list-add-action svg {
  width: 21px !important;
  height: 21px !important;
}

/* --------------------------------------------------------------------------
   9) IŞIK TEMA DÜZELTMELERİ
   -------------------------------------------------------------------------- */
[data-theme="light"] .list-card,
[data-theme="light"] .list-detail-hero,
[data-theme="light"] .list-form-card,
[data-theme="light"] .quick-sheet {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .quick-sheet-backdrop {
  background: rgba(30, 30, 40, 0.55);
}

[data-theme="light"] .list-form-field input,
[data-theme="light"] .list-form-field textarea,
[data-theme="light"] .qs-new-list input {
  background: #f4f5f7;
}

[data-theme="light"] .list-card-cover .cover-empty,
[data-theme="light"] .list-card-cover {
  background: linear-gradient(135deg, #e3e6f5 0%, #d3d7ea 100%);
}

[data-theme="light"] .list-card-cover .cover-empty {
  color: rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .list-card-cover .cover-empty i {
  color: rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .list-card:hover {
  box-shadow: 0 14px 32px rgba(30, 30, 60, 0.14);
}

/* --------------------------------------------------------------------------
   10) MOBİL UYARLAMALAR
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .lists-container {
    padding: 70px 12px 90px;
  }

  .lists-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }

  .list-card {
    border-radius: 22px;
  }

  .list-card-cover {
    aspect-ratio: 16 / 10;
  }

  .list-card-body {
    padding: 11px 12px 12px;
  }

  .list-card-name {
    font-size: 0.92rem;
  }

  .list-detail-hero {
    padding: 16px;
    border-radius: 26px;
  }

  .list-form-card {
    padding: 20px 16px;
    border-radius: 26px;
  }

  .quick-sheet {
    max-height: 82vh;
    border-radius: 22px 22px 0 0;
  }
}

/* 400px altındaki çok dar ekranlar için tek sütunlu kart */
@media (max-width: 400px) {
  .lists-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

/* --------------------------------------------------------------------------
   11) EK BİLEŞENLER (detay sayfası hızlı ekle + arama kartı rozetleri)
   -------------------------------------------------------------------------- */
/* Kapak kolajı üstünde köşe/oklüzyon düzeltmesi */
.list-card-cover {
  position: relative;
}

/* Detay sayfası: "Listeye Ekle" hap butonu (posterin altında) */
.list-quick-add {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
  padding: 10px 22px;
  border-radius: 999px !important;
  border: 1px solid rgba(102, 126, 234, 0.45) !important;
  background: rgba(102, 126, 234, 0.14) !important;
  color: var(--pico-primary, #a5b4fc) !important;
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  line-height: 1.2 !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

.list-quick-add i,
.list-quick-add svg {
  width: 17px !important;
  height: 17px !important;
  flex-shrink: 0;
}

.list-quick-add:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  transform: translateY(-1px);
}

/* Arama kartları: poster sağ üst köşesinde daire içinde bookmark (Listeye Ekle) */
.sonuc-karti .poster-container {
  position: relative;
}

/* Hızlı "Listeye Ekle" daire butonları (popüler + arama kartları ortak görünüm) */
.populer-kart .quick-pop-badge,
.sonuc-karti .poster-quick-add {
  position: absolute !important;
  top: 0.6rem !important;
  z-index: 110 !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(102, 126, 234, 0.92) !important;
  color: #fff !important;
  cursor: pointer !important;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.populer-kart .quick-pop-badge {
  left: 0.6rem !important;
  right: auto !important;
}

.sonuc-karti .poster-quick-add {
  right: 0.6rem !important;
  left: auto !important;
}

.populer-kart .quick-pop-badge:hover,
.sonuc-karti .poster-quick-add:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.populer-kart .quick-pop-badge svg,
.sonuc-karti .poster-quick-add svg {
  display: block !important;
  flex: 0 0 auto !important;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  max-width: 17px !important;
  min-height: 17px !important;
  max-height: 17px !important;
}

/* Öğe herhangi bir listede ise bookmark ikonunun içi dolu görünür */
[data-quick-add][data-in-list="1"] svg {
  fill: currentColor !important;
}

/* Detay satırı: satır içi not düzenleyici */
.row-note-editor {
  display: none;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(128, 128, 128, 0.09);
  flex-direction: column;
  gap: 8px;
}

.row-note-editor.open {
  display: flex;
}

.row-note-editor textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 14px !important;
  border: 1px solid var(--muted-border-color, rgba(255, 255, 255, 0.12));
  background: var(--pico-background-color, #12131a);
  color: var(--pico-color, #fff);
  padding: 10px 12px;
  font-size: 0.9rem;
  outline: none;
  resize: vertical;
  min-height: 56px;
  font-family: inherit;
}

.row-note-editor textarea:focus {
  border-color: var(--pico-primary, #667eea);
}

.row-note-editor .row-note-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.row-note-editor .row-note-actions button {
  border-radius: 999px !important;
  border: none;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.row-note-actions .rn-save {
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.row-note-actions .rn-cancel {
  color: var(--muted-color, #9aa0b4);
  background: rgba(128, 128, 128, 0.14);
}

/* Işık temada ek bileşenler */
[data-theme="light"] .row-note-editor textarea {
  background: #f4f5f7;
}

/* --------------------------------------------------------------------------
   12) FORM BAŞLIĞI + DETAY SAYFASI "LISTEYE EKLE" SARMALAYICILARI
   -------------------------------------------------------------------------- */
.list-form-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.list-form-title {
  margin: 0;
}

.list-privacy-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pico-color, #fff);
  margin-bottom: 8px;
}

/* Detay sayfası: "Listeye Ekle" artık yuvarlak ikon buton (izlendi/favori/arşivle/sil ile aynı sıradaki 5. aksiyon) */
.action-buttons .action-btn.list-add {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  border: none !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #fff !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
}

.action-buttons .action-btn.list-add svg {
  width: 20px !important;
  height: 20px !important;
  color: #fff !important;
  stroke: #fff !important;
  fill: none !important;
}

.action-buttons .action-btn.list-add:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
  filter: brightness(1.1);
}

/* Detay sayfasında posteri takip eden hızlı ekleme sarmalayıcısı */
.detail-list-add {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.detail-list-add .list-quick-add {
  margin-top: 0;
}

@media (max-width: 480px) {
  .detail-list-add .list-quick-add {
    padding: 8px 14px;
    font-size: 0.78rem !important;
    gap: 6px;
  }
}

/* --------------------------------------------------------------------------
   13) DETAY HERO: DİKEY POSTER + YATAY BANNER KAPAKLARI
   -------------------------------------------------------------------------- */
/* Hero artık içinde poster/satır taşıyabilir; varsayılan akış korunur */
.list-detail-hero {
  position: relative;
}

/* Yatay banner yüklendiğinde: hero arka plan resmine döner */
.list-detail-hero.has-banner {
  overflow: hidden;
  padding: 0;
  border: none;
}

.list-hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  z-index: 0;
}

/* Banner üzerinde okunabilirlik için yumuşak karartma */
.list-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(8, 8, 14, 0.62) 0%,
      rgba(8, 8, 14, 0.28) 38%,
      rgba(10, 10, 18, 0.55) 72%,
      rgba(10, 10, 18, 0.92) 100%);
}

/* Bannerlı modda içerikleri karartmanın üzerine al */
.has-banner .list-hero-row,
.has-banner .list-progress-panel {
  position: relative;
  z-index: 2;
}

.has-banner .list-hero-row {
  padding: clamp(26px, 5vw, 44px) clamp(18px, 4vw, 36px) 18px;
}

.has-banner .list-progress-panel {
  margin: 0 clamp(18px, 4vw, 36px) clamp(18px, 3vw, 26px);
}

/* Bannerlı modda metinler açık tonda (karartma üzerinde okunur) */
.has-banner .list-detail-name {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.has-banner .list-detail-desc {
  color: rgba(255, 255, 255, 0.88);
}

.has-banner .list-detail-owner {
  color: rgba(255, 255, 255, 0.78);
}

.has-banner .list-detail-owner strong {
  color: #fff;
}

.has-banner .privacy-badge {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* İlerleme paneli banner üzerinde yarı saydam */
.has-banner .list-progress-panel {
  background: rgba(10, 10, 18, 0.45);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.has-banner .list-progress-labels {
  color: #fff;
}

.has-banner .progress-track {
  background: rgba(255, 255, 255, 0.25);
}

/* Satır: poster solda, başlık/blok sağda */
.list-hero-row {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 26px);
}

/* Dikey poster kutusu (2:3) */
.list-hero-poster {
  position: relative;
  width: clamp(118px, 16vw, 176px);
  aspect-ratio: 2 / 3;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #23213a 0%, #191830 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}

.list-hero-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Yüklenmemiş dikey poster için yer tutucu ikon kutusu */
.list-hero-poster.empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.list-hero-poster-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
}

.list-hero-poster-ph i,
.list-hero-poster-ph svg {
  width: 40px;
  height: 40px;
}

.list-hero-content {
  flex: 1;
  min-width: 0;
}

/* Işık tema: bannersız hero kartı zaten beyazdır; poster boşken açık gradyan */
[data-theme="light"] .list-detail-hero.has-banner {
  background: transparent;
  box-shadow: none;
}

[data-theme="light"] .list-hero-poster {
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .list-hero-poster.empty {
  background: linear-gradient(135deg, #e3e6f5 0%, #d3d7ea 100%);
}

[data-theme="light"] .list-hero-poster-ph {
  color: rgba(0, 0, 0, 0.45);
}

/* --------------------------------------------------------------------------
   14) KAPAK YÖNETİCİSİ (dikey + yatay yükleme paneli)
   -------------------------------------------------------------------------- */
.cover-manager {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px 20px;
  margin-bottom: 5px;
  border-radius: 26px;
  background: var(--card-background-color, #1a1c23);
  border: 1px solid var(--muted-border-color, rgba(255, 255, 255, 0.08));
}

.cover-manager-head h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pico-color, #fff);
}

.cover-manager-head h3 i,
.cover-manager-head h3 svg {
  width: 20px;
  height: 20px;
  color: var(--pico-primary, #a5b4fc);
}

.cover-manager-head p {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--muted-color, #9aa0b4);
}

.cover-manager-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cover-slot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 35px;
  background: rgba(128, 128, 128, 0.06);
  border: 1px solid var(--muted-border-color, rgba(255, 255, 255, 0.07));
}

.cover-slot-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cover-slot-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--pico-color, #fff);
}

.cover-slot-hint {
  font-size: 0.7rem;
  color: var(--muted-color, #9aa0b4);
}

/* Önizleme kabı: slot içeriğine göre oran */
.cover-slot-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  background:
    repeating-linear-gradient(-45deg,
      rgba(128, 128, 128, 0.07) 0 10px,
      rgba(128, 128, 128, 0.03) 10px 20px);
  border: 1px dashed rgba(128, 128, 128, 0.28);
}

.cover-slot-preview.vertical {
  width: 100%;
  max-width: 210px;
  aspect-ratio: 2 / 3;
  margin: 0 auto;
}

.cover-slot-preview.horizontal {
  width: 100%;
  aspect-ratio: 21 / 9;
}

.cover-preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Görsel yokken: img gizli, yer tutucu ikon görünür */
.cover-slot[data-has="0"] .cover-preview-img {
  opacity: 0;
}

.cover-slot-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.42);
  transition: opacity 0.2s ease;
}

.cover-slot[data-has="1"] .cover-slot-empty {
  display: none;
}

.cover-slot-empty i,
.cover-slot-empty svg {
  width: 30px;
  height: 30px;
}

.cover-slot-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  /* Butonları kartın alt kenarına yasla: eşit yükseklikteki grid hücrelerinde
     buton altında kalan küçük boşluk bu şekilde kapanır */
  margin-top: auto;
}

.cover-slot-actions .btn-list-ghost,
.cover-slot-actions .btn-list-danger {
  margin: 0;
}

.cover-slot-actions .btn-list-ghost {
  flex: 1 1 0;
  justify-content: center;
  min-width: 0;
  padding: 8px 10px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.cover-slot-actions .btn-list-ghost i,
.cover-slot-actions .btn-list-ghost svg {
  width: 16px;
  height: 16px;
}

.cover-slot-actions .btn-list-danger {
  padding: 8px 16px;
  font-size: 0.82rem;
}

/* Işık tema ayarları */
[data-theme="light"] .cover-manager {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .cover-slot {
  background: #f4f5f7;
}

[data-theme="light"] .cover-slot-empty {
  color: rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   15) LİSTE KARTI: YÜKLENEN DİKEY POSTER KAPAĞI
   -------------------------------------------------------------------------- */
/* Tek posterli kapak: kolaj yerine tam kare görsel */
.list-card-cover.has-poster {
  display: block;
}

.list-card-cover.has-poster .cover-poster.main {
  position: absolute;
  inset: 0;
}

.list-card-cover.has-poster .cover-poster.main img {
  object-position: center 18%;
}

/* --------------------------------------------------------------------------
   16) COVER/HERO MOBİL UYARLAMALARI
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .list-hero-poster {
    width: 108px;
    border-radius: 16px;
  }

  .list-hero-poster-ph i,
  .list-hero-poster-ph svg {
    width: 32px;
    height: 32px;
  }

  .list-detail-hero {
    border-radius: 24px;
  }

  .cover-manager {
    padding: 16px 14px;
    border-radius: 24px;
  }

  .cover-manager-grid {
    grid-template-columns: 1fr;
  }

  .cover-slot-preview.vertical {
    max-width: 170px;
  }
}

@media (max-width: 420px) {
  .list-hero-row {
    gap: 12px;
  }

  .list-hero-poster {
    width: 96px;
  }

  .cover-slot-actions .btn-list-ghost {
    padding: 7px 12px;
    font-size: 0.78rem;
  }
}

/* --------------------------------------------------------------------------
   17) /LISTS ANA SAYFASI — /series (/games) ile birebir aynı media-wall
   Grid (.media-grid) ve kart (.media-card) kuralları global index.css'ten
   geldiği için burada yalnızca liste kapağı / link düzeltmeleri tanımlı.
   -------------------------------------------------------------------------- */
/* Kart bir <a> olduğu için link görünümünü sıfırla */
a.media-card.list-media-card {
  text-decoration: none !important;
  color: inherit !important;
}

/* Kapak kolajı: poster kutusunu (2:3) tamamen dolduran 2x2 ızgara */
.list-media-card .list-collage {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 2px !important;
  background: var(--card-background-color, #1f2d38);
  border-radius: inherit;
}

.list-collage-cell {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

.list-collage-cell.list-collage-empty {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #23213a 0%, #191830 100%);
}

.list-collage-empty i,
.list-collage-empty svg {
  width: 22px;
  height: 22px;
}

[data-theme="light"] .list-collage-cell.list-collage-empty {
  background: linear-gradient(135deg, #e3e6f5 0%, #d3d7ea 100%);
  color: rgba(0, 0, 0, 0.45);
}

/* Yer tutucu ikon boyutu (emoji yerine lucide kullanılıyor) */
.list-media-card .poster-placeholder svg {
  width: 46px;
  height: 46px;
}

/* Mobilde /series ile aynı: bölüm kutuları şeffaf, kartlar doğrudan zemin üstünde */
@media (max-width: 768px) {
  .lists-index .content-section,
  .lists-index .content-grid,
  .lists-index .media-grid,
  html body[data-theme="dark"] .lists-index .content-section,
  html body[data-theme="dark"] .lists-index .content-grid,
  html body[data-theme="dark"] .lists-index .media-grid,
  body[data-theme="light"] .lists-index .content-section,
  body[data-theme="light"] .lists-index .media-grid {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
  }
}

/* --------------------------------------------------------------------------
   18) LİSTE DETAY SAYFASI — /series duvarı görünümü
   Hero yerine kompakt üst çubuk + altında saf .media-grid öğe duvarı.
   -------------------------------------------------------------------------- */
.lists-detail .content-grid {
  align-items: stretch;
}

.list-detail-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 22px 0;
  padding: 16px 18px;
  border-radius: 26px;
  background: var(--card-background-color, #1f2d38);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

/* Geri butonu (yuvarlak) */
.list-back-btn {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(128, 128, 128, 0.12);
  color: var(--pico-color, #fff);
  text-decoration: none !important;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.list-back-btn:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: transparent;
  color: #fff;
  transform: translateY(-1px);
}

.list-back-btn i,
.list-back-btn svg {
  width: 21px;
  height: 21px;
}

/* Orta bilgi bloğu */
.list-detail-info {
  flex: 1;
  min-width: 0;
}

.list-detail-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.list-detail-name {
  margin: 0;
  font-size: clamp(1.2rem, 3.6vw, 1.6rem);
  font-weight: 800;
  color: var(--pico-color, #fff);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.list-detail-name-row .privacy-badge {
  flex-shrink: 0;
  font-size: 0.68rem;
  padding: 3px 10px;
}

.list-detail-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin: 6px 0 0;
  font-size: 0.86rem;
  color: var(--muted-color, #9aa0b4);
}

.list-detail-owner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.list-detail-owner i,
.list-detail-owner svg {
  width: 14px;
  height: 14px;
}

.list-detail-desc {
  margin: 0;
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: pre-line;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Mini ilerleme çubuğu */
.list-detail-progress {
  margin-top: 10px;
  max-width: 520px;
}

.list-detail-progress .list-progress-labels {
  font-size: 0.82rem;
  margin-bottom: 5px;
}

.list-detail-progress .progress-track {
  height: 8px;
}

/* Sağ aksiyonlar: düzenle / sil */
.list-detail-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.list-edit-btn,
.list-del-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 16px;
  border-radius: 999px !important;
  border: none;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff !important;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.list-edit-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3);
}

.list-del-btn {
  background: linear-gradient(135deg, #a3005f 0%, #ff003c 100%);
  box-shadow: 0 4px 14px rgba(255, 0, 60, 0.25);
}

.list-edit-btn:hover,
.list-del-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.list-edit-btn i,
.list-edit-btn svg,
.list-del-btn i,
.list-del-btn svg {
  width: 16px;
  height: 16px;
}

/* Işık tema */
[data-theme="light"] .list-detail-top {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .list-back-btn {
  border-color: rgba(0, 0, 0, 0.12);
  background: #f4f5f7;
  color: #222;
}

/* Mobil uyarlamalar */
@media (max-width: 768px) {
  .list-detail-top {
    padding: 13px 14px;
    border-radius: 22px;
    margin-bottom: 18px;
    gap: 11px;
  }

  .list-back-btn {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .list-detail-name-row {
    gap: 8px;
  }
}

@media (max-width: 560px) {
  /* Çok dar ekranlarda butonlar ikonlu yuvarlak olur, etiket gizlenir */
  .list-edit-btn,
  .list-del-btn {
    width: 42px;
    height: 42px;
    padding: 0 !important;
  }

  .list-edit-btn span,
  .list-del-btn span {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   19) LİSTE DETAY HERO BANNERI — üstte yatay poster (kapak)
   Görsel durumuna göre üç mod: photo (yatay kapak) / collage (2x2 kolaj)
   / plain (saf tema kartı). İçerik karartma üzerinde alt-ortada durur.
   -------------------------------------------------------------------------- */
.lists-detail .list-detail-banner {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  min-height: clamp(230px, 30vw, 360px);
  margin: 10px 0 22px 0;
  border-radius: 35px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, #23213a 0%, #191830 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

/* Yatay poster yoksa tema kart rengini kullan (açık temada beyaz) */
.lists-detail .list-detail-banner.plain {
  background: var(--card-background-color, #1f2d38);
}

[data-theme="light"] .lists-detail .list-detail-banner.plain {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

/* Katmanlar: arka plan 0, karartma 1, içerik 2, aksiyonlar 3 */
.list-detail-banner-bg,
.list-detail-banner-collage,
.list-detail-banner-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Yatay poster (kapak) tam genişlikte doldurur */
.list-detail-banner-bg {
  object-fit: cover;
  object-position: center 25%;
  display: block;
  z-index: 0;
}

/* Kapak fotoğrafı sürüklenebilirken (yalnızca sahip) */
.lists-detail .list-detail-banner.banner-draggable {
  cursor: move;
}

.lists-detail .list-detail-banner.banner-draggable .list-detail-banner-bg {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

/* Kapak yokken öğe posterlerinden 2x2 kolaj */
.list-detail-banner-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  z-index: 0;
  background: linear-gradient(135deg, #23213a 0%, #191830 100%);
}

.list-detail-banner-cell {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.list-detail-banner-cell.list-detail-banner-empty {
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #23213a 0%, #191830 100%);
}

.list-detail-banner-empty i,
.list-detail-banner-empty svg {
  width: 30px;
  height: 30px;
}

/* Fotoğraf/kolaj üzerinde okunabilirlik için karartma
   (başlık/açıklama/progress alt bölgesi daha koyu tutulur) */
.list-detail-banner.photo .list-detail-banner-shade {
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(8, 8, 14, 0.48) 0%,
    rgba(8, 8, 14, 0.16) 35%,
    rgba(8, 8, 14, 0.62) 62%,
    rgba(8, 8, 14, 0.96) 100%);
}

.list-detail-banner.collage .list-detail-banner-shade {
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(8, 8, 14, 0.62) 0%,
    rgba(8, 8, 14, 0.32) 40%,
    rgba(8, 8, 14, 0.78) 66%,
    rgba(8, 8, 14, 0.97) 100%);
}

/* İçerik bloğu (alt hizada) */
.list-detail-banner-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(18px, 3vw, 30px);
  pointer-events: none;
}

.list-detail-banner-body .list-detail-sub {
  margin: 0;
  max-width: 600px;
  width: 100%;
}

.list-detail-banner-body .list-detail-desc {
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: pre-line;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-align: start;
  align-self: flex-start;
  max-height: 150px;
  overflow-y: auto;
  pointer-events: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.list-detail-banner-body .list-detail-desc::-webkit-scrollbar {
  width: 4px;
}

.list-detail-banner-body .list-detail-desc::-webkit-scrollbar-track {
  background: transparent;
}

.list-detail-banner-body .list-detail-desc::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 4px;
}

.list-detail-banner-body .list-detail-progress {
  width: 100%;
  max-width: 600px;
  margin-top: 4px;
  align-self: flex-start;
}

/* Fotoğraf / kolaj modunda metinler açık tonda */
.list-detail-banner.photo .list-detail-name,
.list-detail-banner.collage .list-detail-name {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
  white-space: normal;
  word-break: break-word;
}

.list-detail-banner.photo .list-detail-sub,
.list-detail-banner.photo .list-detail-desc,
.list-detail-banner.photo .list-detail-owner,
.list-detail-banner.collage .list-detail-sub,
.list-detail-banner.collage .list-detail-desc,
.list-detail-banner.collage .list-detail-owner {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.list-detail-banner.plain .list-detail-desc {
  color: var(--muted-color, #9aa0b4);
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.list-detail-banner.plain .list-detail-desc::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
}

[data-theme="light"] .lists-detail .list-detail-banner.plain .list-detail-desc {
  color: #4b5563;
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}

[data-theme="light"] .lists-detail .list-detail-banner.plain .list-detail-desc::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
}

.list-detail-banner.photo .list-detail-owner strong,
.list-detail-banner.collage .list-detail-owner strong {
  color: #fff;
}

.list-detail-banner.photo .list-detail-progress .list-progress-labels,
.list-detail-banner.collage .list-detail-progress .list-progress-labels {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.list-detail-banner.photo .progress-track,
.list-detail-banner.collage .progress-track {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.list-detail-banner.photo .privacy-badge,
.list-detail-banner.collage .privacy-badge {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Sağ üst köşe: dikey ⋮ menü (Düzenle / Sil) */
.list-detail-banner-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}

/* Konumlandırmayı .list-detail-banner-actions üstlenir; içteki sarmalayıcı statiktir */
.list-detail-banner-actions .list-banner-menu {
  position: static;
  display: block;
}

/* ⋮ butonu: fotoğraf/kolaj modlarında geniş dokunma alanı; çerçeve renksiz */
.list-detail-banner-actions .list-banner-menu-btn.list-menu-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease;
}
.list-detail-banner-actions .list-banner-menu-btn.list-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}
.list-detail-banner-actions .list-banner-menu .list-banner-menu-btn i,
.list-detail-banner-actions .list-banner-menu .list-banner-menu-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Açılır menü: ⋮ butonunun altında sağa hizalı */
.list-detail-banner-actions .list-menu-dropdown {
  right: 0;
  left: auto;
}

/* Menüdeki Düzenle bağlantısı alt çizgi göstermesin */
.list-detail-banner-actions .list-menu-item {
  text-decoration: none;
}

/* Işık tema: ⋮ butonu (çerçeve renksiz) */
[data-theme="light"] .list-detail-banner-actions .list-banner-menu-btn.list-menu-btn {
  border-color: transparent;
  background: transparent;
  color: #1d2733;
  box-shadow: none;
}
[data-theme="light"] .list-detail-banner-actions .list-banner-menu-btn.list-menu-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* RTL desteği: aksiyonlar sol üst köşeye taşınır */
[dir="rtl"] .list-detail-banner-actions {
  right: auto;
  left: 14px;
}
[dir="rtl"] .list-detail-banner-actions .list-menu-dropdown {
  right: auto;
  left: 0;
}

/* Kart menüleri için eklenen .align-left, banner menüsünü yanlış hizalamasın;
   banner overflow:hidden olduğu için menü daima sağa hizalı açılmalıdır */
.list-detail-banner-actions .list-menu-dropdown.align-left {
  right: 0;
  left: auto;
  transform-origin: top right;
}

/* Işık tema: kolaj boş hücresi */
[data-theme="light"] .list-detail-banner-cell.list-detail-banner-empty {
  background: linear-gradient(135deg, #e3e6f5 0%, #d3d7ea 100%);
  color: rgba(0, 0, 0, 0.45);
}

/* Mobil uyarlamalar */
@media (max-width: 768px) {
  .lists-detail .list-detail-banner {
    min-height: 210px;
    border-radius: 25px;
    margin-bottom: 18px;
    transition: min-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .lists-detail .list-detail-banner.desc-expanded {
    min-height: calc(210px * 1.2) !important; /* %20 uzama */
  }

  .lists-detail .list-detail-banner-body .list-detail-desc,
  .lists-detail .list-detail-desc {
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
  }

  .lists-detail .list-detail-banner:not(.desc-expanded):not(.desc-collapsing) .list-detail-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-height: 1.55em;
    user-select: none;
    -webkit-user-select: none;
  }

  .lists-detail .list-detail-banner.desc-collapsing .list-detail-desc {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: hidden;
    white-space: pre-line;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-height: 1.55em;
    user-select: none;
    -webkit-user-select: none;
  }

  .lists-detail .list-detail-banner.desc-expanded .list-detail-desc {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow-y: auto;
    text-overflow: clip;
    white-space: pre-line;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-height: 180px;
    user-select: text;
    -webkit-user-select: text;
    scrollbar-width: thin;
  }

  .list-detail-banner-actions {
    top: 10px;
    right: 10px;
  }

  .list-detail-banner-actions .list-banner-menu-btn.list-menu-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .list-detail-banner-body {
    padding: 14px 16px;
    gap: 6px;
  }

  [dir="rtl"] .list-detail-banner-actions {
    right: auto;
    left: 10px;
  }
}

@media (max-width: 480px) {
  .list-detail-banner-actions .list-banner-menu-btn.list-menu-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
}

/* --------------------------------------------------------------------------
   20) LİSTE DETAY KARTLARI — MEDIA INFO 2 SATIR
   Başlık 2 satıra kadar bölünür (uzarsa fade-out ile biter), yıl sağda durur.
   Yalnızca media-info alanı değişir; poster ve kart düzeni aynı kalır.
   -------------------------------------------------------------------------- */
html body .lists-detail.main-homepage .media-card.list-item-card .media-info {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html body .lists-detail.main-homepage .media-card.list-item-card .media-info .media-title {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  margin: 0 !important;
  padding: 0 0 0 2px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  /* Küresel mobil/desktop başlık kaydırmalarını (translateY(-15px) vb.) etkisiz bırak */
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  align-self: center !important;
  /* Uzun başlıklar sağa doğru soluklaşarak (fade-out) biter */
  mask-image: linear-gradient(to right, black 75%, transparent 100%) !important;
  -webkit-mask-image: linear-gradient(to right, black 75%, transparent 100%) !important;
}

html body .lists-detail.main-homepage .media-card.list-item-card .media-info .media-title .title-text {
  flex: none !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  line-height: inherit !important;
  /* Küresel fade/mask kurallarını bu satırda etkisiz bırak */
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

html body .lists-detail.main-homepage .media-card.list-item-card .media-info .media-platform {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 50% !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: var(--muted-color, #9aa0b4) !important;
  white-space: nowrap !important;
  /* Küresel film/dizi/oyun platform kaydırmalarını (top:-21px vb.) etkisiz bırak */
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  align-self: center !important;
}

html body .lists-detail.main-homepage .media-card.list-item-card .media-info .media-platform .platform-text {
  display: inline !important;
  flex: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.78rem !important;
  color: var(--muted-color, #9aa0b4) !important;
  /* Küresel fade-out maskesini kaldır */
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

/* Yıl yoksa boş platform kutusu hiç yer kaplamasın */
html body .lists-detail.main-homepage .media-card.list-item-card .media-info .media-platform:not(:has(.platform-text)) {
  display: none !important;
}

/* RTL: başlık sağda, yıl solda — soluklaşma yönü de ters çevrilir */
[dir="rtl"] .lists-detail .media-card.list-item-card .media-info .media-title {
  padding: 0 2px 0 0 !important;
  mask-image: linear-gradient(to left, black 75%, transparent 100%) !important;
  -webkit-mask-image: linear-gradient(to left, black 75%, transparent 100%) !important;
}

/* --------------------------------------------------------------------------
   21) LİSTE DETAY — KART ⋮ MENÜSÜ (sağ üst köşe)
   Buton: beyaz ikon + hafif karartılmış arka plan. Tıklayınca açılır menü:
   "İzlendi/Oynandı olarak işaretle" (duruma göre toggle) ve "Listeden kaldır".
   Tasarım ve açılma konumu ayarlar sayfasındaki özel dropdown ile uyumludur.
   -------------------------------------------------------------------------- */
.lists-detail .list-item-card .list-card-menu {
  position: absolute;
  top: 8px;
  right: 8px;
  left: auto;
  z-index: 60;
}

.list-card-menu .list-menu-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.list-card-menu .list-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}
.list-card-menu .list-menu-btn:active {
  transform: scale(0.94);
}
.list-card-menu .list-menu-btn i,
.list-card-menu .list-menu-btn svg {
  width: 17px;
  height: 17px;
}

.list-menu-dropdown {
  position: absolute;
  top: calc(100% - 8px);
  right: 0;
  left: auto;
  z-index: 70;
  /* Genişlik metne göre daralır: max-content tek satır genişliğini esas alır,
     max-width yalnızca çok uzun metinleri iki satıra ayırır */
  width: max-content;
  min-width: 0;
  max-width: 240px;
  padding: 8px;
  background: #1e1e2f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
/* Ekran dışına taşan menüler (ilk sütundaki kartlar) sağa doğru açılır */
.list-menu-dropdown.align-left {
  right: auto;
  left: 0;
  transform-origin: top left;
}
.list-card-menu.open .list-menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Menü öğeleri: ayarlardaki .option pil tasarımıyla birebir uyumlu */
.list-menu-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 6px 14px;
  margin: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.2s ease, color 0.2s ease;
}
.list-menu-item i,
.list-menu-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: inherit;
  opacity: 0.85;
}
.list-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.list-menu-item.danger {
  color: rgba(255, 123, 123, 0.85);
}
.list-menu-item.danger:hover {
  background: rgba(255, 0, 60, 0.16);
  color: #ff9494;
}

/* Açık menü ikonlu kartta sürükleme ipucu imlecini kapat */
.lists-detail .list-item-card .list-card-menu {
  pointer-events: auto;
}

/* Açık tema (ayarlar dropdown'ı ile aynı) */
[data-theme="light"] .list-menu-dropdown {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .list-menu-item {
  color: #4a5568;
}
[data-theme="light"] .list-menu-item i,
[data-theme="light"] .list-menu-item svg {
  color: inherit;
}
[data-theme="light"] .list-menu-item:hover {
  background: #edf2f7;
  color: #2d3748;
}
[data-theme="light"] .list-menu-item.danger {
  color: #e5484d;
}
[data-theme="light"] .list-menu-item.danger:hover {
  background: rgba(229, 72, 77, 0.1);
  color: #c9353a;
}

/* Çok dar ekranlarda buton biraz küçülür */
@media (max-width: 480px) {
  .lists-detail .list-item-card .list-card-menu {
    top: 6px;
    right: 6px;
  }
  .list-card-menu .list-menu-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }
}

/* --------------------------------------------------------------------------
   LİSTE DÜZENLEME POPUP'U (detay sayfası üzerinde dialog)
   Ayrı /edit sayfası yerine detay sayfasında açılan ortalanmış popup.
   -------------------------------------------------------------------------- */
.list-edit-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.list-edit-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.2s ease;
}

.list-edit-dialog {
  width: 100%;
  max-width: 550px;
  max-height: min(88vh, 780px);
  background: var(--card-background-color, #1a1c23);
  border: 1px solid var(--muted-border-color, rgba(255, 255, 255, 0.1));
  border-radius: 40px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.list-edit-backdrop.open .list-edit-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.list-edit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 27px 4px;
  flex-shrink: 0;
}

.list-edit-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--pico-color, #fff);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.list-edit-title i,
.list-edit-title svg {
  width: 20px;
  height: 20px;
  color: var(--pico-primary, #a5b4fc);
}

.list-edit-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 27px 0px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#list-edit-form,
.list-edit-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.list-edit-scroll .cover-manager {
  margin-bottom: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

/* Save / Cancel çubuğu: form alanından ayrı, daima en altta sabit (ayraç çizgisi yok) */
.list-edit-footer {
  flex-shrink: 0;
  display: flex;
  padding: 8px 27px 10px;
}

.list-edit-footer .list-form-actions {
  width: 100%;
  margin-top: 0;
  flex-wrap: nowrap;
  gap: 10px;
}

/* Save 3/4, Cancel 1/4: iki ayrı tam pill (hap) buton */
.list-edit-footer .list-form-actions button {
  flex-basis: 0;
  justify-content: center;
  align-items: center;
  min-width: 0;
  height: 48px;
  border-radius: 999px !important;
  padding-left: 10px;
  padding-right: 10px;
  white-space: nowrap;
}

.list-edit-footer .list-form-actions .btn-list-create {
  flex-grow: 3;
}

.list-edit-footer .list-form-actions .btn-list-ghost {
  flex-grow: 1;
}

/* Açık tema */
[data-theme="light"] .list-edit-dialog {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

[data-theme="light"] .list-edit-title {
  color: #1a202c;
}

/* Dar ekranlarda kapak seçiciler tek sütuna iner */
@media (max-width: 520px) {
  .list-edit-head {
    padding: 14px 21px 2px;
  }
  .list-edit-scroll {
    padding: 12px 21px 13px;
  }
  .list-edit-footer {
    padding: 10px 21px 14px;
  }
  .list-edit-footer .list-form-actions button {
    height: 46px;
  }
  .list-edit-dialog .cover-manager-grid {
    grid-template-columns: 1fr;
  }
  .list-edit-footer .list-form-actions .btn-list-ghost {
    font-size: 0.82rem;
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* --------------------------------------------------------------------------
   /lists KARTLARI — ÖĞESİZ (BOŞ) LİSTELER (masaüstü)
   Masaüstünde .media-info 68px'e sabitlenir; içerik sığmadığında flex-shrink
   platform satırını (.media-platform: "0 öğe" + tarih) ezer. Satırda
   overflow:hidden olduğu için metin dikey olarak yalnızca ince bir bant halinde
   görünür → "yarısı yatay kesik" görüntüsü oluşur. Progress bar içermeyen
   kartlarda bilgi alanı diğer kartlarla aynı 68px'te tutulur, boşluklar
   daraltılır ve platform satırının ezilmesi/kırpılması engellenir.
   -------------------------------------------------------------------------- */
@media (min-width: 769px) {
  .lists-index .media-card.list-media-card .media-info:not(:has(.progress-container)) {
    height: 68px !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    align-content: flex-start !important;
    padding: 5px 12px 4px 12px !important;
  }

  .lists-index .media-card.list-media-card .media-info:not(:has(.progress-container)) .media-title {
    flex: 0 0 auto !important;
    margin: 0 0 2px 0 !important;
    padding-bottom: 0 !important;
  }

  .lists-index .media-card.list-media-card .media-info:not(:has(.progress-container)) .media-platform {
    position: static !important;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    top: auto !important;
    bottom: auto !important;
    margin: -4px 0 0 0 !important;
    padding: 0 !important;
  }
}

/* --------------------------------------------------------------------------
   /lists BAŞLIK ROZETİ (item-count) — "4 Liste" boşluğu
   Mobil hap ve masaüstü rozeti inline-flex olduğundan, sayı ile count-label
   arasındaki boşluk karakteri yutulur ("4Liste"). Flex gap ile arayı açıyoruz.
   -------------------------------------------------------------------------- */
.lists-index .section-header .item-count {
  gap: 0.3rem !important;
}
.lists-index .section-header .item-count .count-label {
  margin-left: 0 !important;
}

