/* player.css — player bar, stage overlay, theater mode, queue, and speed menu */
/* ---------- player bar ---------- */
.playerbar {
  position: fixed; left: 0; right: 0; bottom: 0; height: var(--player); z-index: 80;
  display: flex; align-items: center; gap: 10px; padding: 0 12px;
  background: color-mix(in srgb, var(--bg2) 90%, transparent); backdrop-filter: blur(16px);
  border-top: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  box-shadow: 0 -4px 20px rgba(0,0,0,.18);
}
.pb-info { display: flex; align-items: center; gap: 9px; min-width: 0; flex: 1; cursor: pointer; }
.pb-thumb { width: 72px; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; flex: none; }
.pb-meta { min-width: 0; }
.pb-title { font-size: 12.8px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-sub { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 5px; overflow: hidden; }
.pb-ctl { display: flex; align-items: center; gap: 3px; flex: none; }
.pb-b {
  width: 32px; height: 32px; border-radius: 8px; border: 0; background: transparent; color: var(--tx2);
  cursor: pointer; font-size: 14px; display: grid; place-items: center; flex: none;
  transition: background .14s ease, color .14s ease, transform .1s ease, box-shadow .14s ease;
}
.pb-b:hover { background: var(--panel2); color: var(--tx); transform: translateY(-1px); }
.pb-b:active { transform: translateY(0); }
.pb-b.on {
  background: color-mix(in srgb, var(--accent) 22%, var(--panel2));
  color: var(--accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 30%, transparent);
}
.pb-b.play { background: var(--accent); color: #fff; width: 36px; height: 36px; font-size: 16px; border-radius: 50%; box-shadow: 0 2px 10px rgba(99,102,241,.35); }
.pb-b.play:hover { background: color-mix(in srgb, var(--accent) 85%, #fff); transform: scale(1.05); }
.pb-b.close:hover { background: color-mix(in srgb, var(--err) 25%, transparent); color: #fff; }


/* ---------- Up Next / Queue Dialog ---------- */
.queue-dlg { display: flex; flex-direction: column; gap: 12px; }
.queue-header-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.queue-header-stats {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tx2);
}
.q-count { font-weight: 700; color: var(--tx); }
.q-upnext-tag {
  background: rgba(34, 211, 238, 0.12); color: #22d3ee;
  padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600;
}
.q-total-time { color: var(--muted); font-size: 12px; }
.q-clear-btn {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 4px 10px;
  border-radius: 6px; background: transparent; border: 1px solid var(--line); color: var(--tx2);
  cursor: pointer; transition: all .15s ease;
}
.q-clear-btn:hover { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.4); color: #ef4444; }
.queue-list {
  display: flex; flex-direction: column; gap: 6px;
  max-height: 58vh; overflow-y: auto; padding-right: 4px;
}
.queue-list::-webkit-scrollbar { width: 6px; }
.queue-list::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 3px; }

.q-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border-radius: 8px; background: var(--panel); border: 1px solid var(--line);
  cursor: pointer; transition: background .14s ease, border-color .14s ease, transform .1s ease;
  position: relative;
}
.q-row:hover {
  background: var(--panel2); border-color: rgba(34, 211, 238, 0.3); transform: translateY(-1px);
}
.q-row.on {
  background: rgba(34, 211, 238, 0.08); border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.1);
}
.q-row.past { opacity: 0.6; }
.q-row.past:hover { opacity: 0.9; }

.q-idx-col {
  width: 20px; display: flex; align-items: center; justify-content: center; flex: none;
}
.q-playing-dot {
  color: #22d3ee; font-size: 11px; animation: pulsePlay 1.5s infinite ease-in-out;
}
.q-idx-num { font-size: 12px; font-weight: 600; color: var(--muted); }

.q-thumb-wrap {
  width: 88px; height: 50px; aspect-ratio: 16/9; border-radius: 6px;
  overflow: hidden; position: relative; flex: none; background: #000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.q-thumb {
  width: 100% !important; height: 100% !important; object-fit: cover !important;
  display: block; pointer-events: none;
}
.q-dur {
  position: absolute; right: 4px; bottom: 3px; background: rgba(0, 0, 0, 0.82);
  color: #fff; font-size: 10px; font-weight: 600; padding: 1px 4px;
  border-radius: 3px; font-variant-numeric: tabular-nums;
}

.q-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.q-title {
  font-size: 13px; font-weight: 600; color: var(--tx); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.q-row:hover .q-title { color: #22d3ee; }
.q-sub {
  font-size: 11.5px; color: var(--muted); display: flex; align-items: center;
  gap: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.q-author { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-chip {
  background: rgba(34, 211, 238, 0.15); color: #22d3ee; font-size: 9.5px;
  padding: 1px 6px; border-radius: 4px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; flex: none;
}

.q-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.q-remove-btn {
  width: 28px; height: 28px; border-radius: 6px; border: 0; background: transparent;
  color: var(--muted); display: grid; place-items: center; cursor: pointer;
  transition: all .12s ease;
}
.q-remove-btn:hover {
  background: rgba(239, 68, 68, 0.15); color: #ef4444;
}

.q-empty {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 36px 16px; color: var(--muted); gap: 10px;
}
.q-empty-ico { opacity: 0.45; color: var(--tx3); }
.q-empty-title { font-size: 15px; font-weight: 650; color: var(--tx); }
.q-empty-sub { font-size: 12.5px; max-width: 320px; line-height: 1.45; }

/* ---------- Playback Speed & Options Dropup ---------- */
.speed-popover {
  position: fixed; z-index: 1700 !important;
  background: color-mix(in srgb, var(--panel) 96%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line2); border-radius: 12px; padding: 12px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--line2);
  animation: popoverSlideUp .16s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column; gap: 10px;
}
.speed-popover-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.speed-popover-title {
  font-size: 11.5px; font-weight: 700; color: var(--tx);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.speed-rate-pill {
  font-size: 11px; font-weight: 700; color: #22d3ee;
  background: rgba(34, 211, 238, 0.12); padding: 2px 7px; border-radius: 999px;
}
.speed-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px;
}
.speed-chip {
  padding: 6px 2px; font-size: 11.5px; font-weight: 600; text-align: center;
  border-radius: 6px; border: 1px solid var(--line); background: var(--panel2);
  color: var(--tx2); cursor: pointer; transition: all .12s ease;
}
.speed-chip:hover {
  background: var(--panel3); color: var(--tx); border-color: rgba(34, 211, 238, 0.3);
}
.speed-chip.active {
  background: rgba(34, 211, 238, 0.18); border-color: #22d3ee; color: #22d3ee;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.2); font-weight: 700;
}
.speed-adjust-row {
  display: flex; gap: 6px; justify-content: space-between;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.speed-step-btn {
  flex: 1; text-align: center; font-size: 11.5px; font-weight: 600; padding: 5px 0;
  border-radius: 6px; background: var(--panel2); border: 1px solid var(--line);
  color: var(--tx2); cursor: pointer; transition: all .12s ease;
}
.speed-step-btn:hover {
  background: var(--panel3); color: var(--tx); border-color: rgba(34, 211, 238, 0.3);
}
.speed-options-sec { display: flex; flex-direction: column; gap: 4px; }
.speed-opt-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 8px; border-radius: 7px; cursor: pointer;
  transition: background .12s ease;
}
.speed-opt-item:hover { background: var(--panel2); }
.speed-opt-lbl {
  display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--tx);
}
.speed-opt-toggle {
  font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px;
  background: var(--panel3); color: var(--muted); transition: all .15s ease;
}
.speed-opt-toggle.on {
  background: #10b981; color: #fff; box-shadow: 0 0 8px rgba(16, 185, 129, 0.35);
}
.speed-opt-sub { font-size: 11px; color: var(--tx3); font-weight: 500; }

@keyframes popoverSlideUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulsePlay {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.9); }
}


/* ==========================================================================
   FEED & SUBSCRIPTION NOTIFICATIONS
   ========================================================================== */
.feed-bell-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.feed-bell-btn {
  position: relative;
}
.feed-unread-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--accent, #4f7cff);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  border-radius: 999px;
  border: 1.5px solid #0b0e17;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(79, 124, 255, 0.6);
  animation: pulse-badge 2.4s infinite ease-in-out;
}
.feed-unread-badge.hidden {
  display: none !important;
}
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.feed-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  max-width: 90vw;
  background: rgba(15, 20, 32, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(79, 124, 255, 0.15);
  display: none;
  flex-direction: column;
  z-index: 1200 !important;
  overflow: hidden;
  animation: dropdown-fade-in 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.feed-bell-wrap.open .feed-dropdown-menu {
  display: flex;
}
.feed-dropdown-header {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}
.feed-dropdown-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feed-dropdown-item {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.15s ease;
  cursor: pointer;
  text-align: left;
  position: relative;
}
.feed-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}
.feed-dropdown-item.unread {
  background: rgba(79, 124, 255, 0.07);
  border-color: rgba(79, 124, 255, 0.2);
}
.feed-item-thumb {
  width: 68px;
  height: 42px;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
  background: #151a28;
}
.feed-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  flex: 1;
}
.feed-item-title {
  font-size: 12px;
  font-weight: 500;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.feed-item-meta {
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}
.feed-item-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  background: #4f7cff;
  color: #fff;
  text-transform: uppercase;
}
.feed-dropdown-footer {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.25);
  justify-content: space-between;
}
.feed-dropdown-btn {
  background: none;
  border: none;
  font-size: 11.5px;
  color: var(--accent, #4f7cff);
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.feed-dropdown-btn:hover {
  background: rgba(79, 124, 255, 0.15);
}

/* ==========================================================================
   FEED VIEW — MODERN POLISHED CREATOR RELEASES
   ========================================================================== */
.feed-page {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

/* 1-Line Compact Hero Banner */
.feed-hero-card.compact-line {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 14px !important;
  background: rgba(21, 26, 40, 0.78) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  gap: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

.feed-hero-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.feed-hero-icon-pill {
  width: 26px !important;
  height: 26px !important;
  border-radius: 7px !important;
  background: rgba(79, 124, 255, 0.14) !important;
  border: 1px solid rgba(79, 124, 255, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  position: relative !important;
  flex-shrink: 0 !important;
}

.feed-pulse-dot {
  position: absolute !important;
  top: -2px !important;
  right: -2px !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: #22c55e !important;
  box-shadow: 0 0 8px #22c55e !important;
  animation: pulse-dot 2s infinite ease-in-out !important;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.feed-hero-main-title {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  letter-spacing: -0.2px !important;
  white-space: nowrap !important;
}

.feed-hero-badge {
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  padding: 1.5px 6px !important;
  border-radius: 4px !important;
  background: rgba(79, 124, 255, 0.16) !important;
  color: #4f7cff !important;
  border: 1px solid rgba(79, 124, 255, 0.28) !important;
  white-space: nowrap !important;
}

.feed-hero-stat-pill {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 11.5px !important;
  color: #94a3b8 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}
.feed-stat-num {
  font-weight: 700 !important;
  color: #f1f5f9 !important;
}

.feed-hero-unread-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: rgba(79, 124, 255, 0.22) !important;
  border: 1px solid rgba(79, 124, 255, 0.4) !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}
.feed-unread-pulse {
  width: 5px !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: #4f7cff !important;
  box-shadow: 0 0 6px #4f7cff !important;
  animation: pulse-dot 1.6s infinite ease-in-out !important;
}

.feed-hero-right {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.feed-search-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  background: rgba(11, 14, 23, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 7px !important;
  padding: 0 8px !important;
  height: 28px !important;
  gap: 6px !important;
  transition: all 0.15s ease !important;
}
.feed-search-wrap:focus-within {
  border-color: rgba(79, 124, 255, 0.5) !important;
  box-shadow: 0 0 10px rgba(79, 124, 255, 0.2) !important;
}
.feed-search-input {
  background: transparent !important;
  border: none !important;
  color: #f8fafc !important;
  font-size: 11.5px !important;
  width: 140px !important;
  outline: none !important;
}
.feed-search-clear {
  background: none !important;
  border: none !important;
  color: #64748b !important;
  font-size: 10px !important;
  cursor: pointer !important;
  padding: 0 !important;
}

.feed-act-btn {
  height: 28px !important;
  line-height: 26px !important;
  padding: 0 10px !important;
  font-size: 11.5px !important;
  border-radius: 7px !important;
}

/* Followed Creators Horizontal Rail */
.feed-creators-rail {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  overflow-x: auto !important;
  padding: 2px 0 6px !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent !important;
}
.feed-creators-rail::-webkit-scrollbar {
  height: 4px !important;
}
.feed-creators-rail::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px !important;
}

.feed-creator-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  height: 42px !important;
  padding: 0 12px 0 6px !important;
  background: rgba(21, 26, 40, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 999px !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  text-align: left !important;
}
.feed-creator-chip:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  transform: translateY(-1px) !important;
}
.feed-creator-chip.active {
  background: rgba(79, 124, 255, 0.18) !important;
  border-color: rgba(79, 124, 255, 0.5) !important;
  color: #fff !important;
  box-shadow: 0 0 14px rgba(79, 124, 255, 0.18) !important;
}
.feed-creator-avatar-wrap {
  width: 30px !important;
  height: 30px !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #0b0e17 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
  position: relative !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  font-size: 13px !important;
}
.feed-creator-chip.active .feed-creator-avatar-wrap {
  border-color: #4f7cff !important;
}
.feed-creator-avatar-wrap.all-ring {
  background: rgba(79, 124, 255, 0.15) !important;
  border-color: rgba(79, 124, 255, 0.4) !important;
}
.feed-creator-avatar-wrap.unread-ring {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}
.feed-creator-avatar-wrap.add-ring {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1.5px dashed rgba(255, 255, 255, 0.25) !important;
  font-weight: 700 !important;
}
.feed-creator-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.feed-creator-initial {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #cbd5e1 !important;
}
.feed-creator-dot {
  position: absolute !important;
  top: 1px !important;
  right: 1px !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: #4f7cff !important;
  border: 1px solid #0b0e17 !important;
  box-shadow: 0 0 6px #4f7cff !important;
}
.feed-creator-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
  line-height: 1.1 !important;
}
.feed-creator-name {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #f1f5f9 !important;
  max-width: 120px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.feed-creator-meta {
  font-size: 10px !important;
  color: #64748b !important;
}
.feed-creator-chip.active .feed-creator-meta {
  color: #94a3b8 !important;
}

/* Feed Toolbar Controls */
.feed-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  padding: 4px 0 !important;
}
.feed-toolbar-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.feed-pill-filter {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
  font-size: 11.5px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}
.feed-pill-filter:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f1f5f9 !important;
}
.feed-pill-filter.active {
  background: rgba(79, 124, 255, 0.16) !important;
  border-color: rgba(79, 124, 255, 0.4) !important;
  color: #fff !important;
  font-weight: 600 !important;
}
.feed-toolbar-right {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.feed-count-display {
  font-size: 11px !important;
  color: #64748b !important;
}

/* Feed Video Cards — Perfect match for .vgrid and .vcard */
.feed-vcard {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  background: #151a28 !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.feed-vcard:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45) !important;
}
.feed-vcard.unread {
  border-color: rgba(79, 124, 255, 0.32) !important;
  box-shadow: 0 0 14px rgba(79, 124, 255, 0.07) !important;
}

.feed-vcard-thumb-wrap {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  background: #0b0e17 !important;
  overflow: hidden !important;
  cursor: pointer !important;
}
.feed-vcard-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}
.feed-vcard:hover .feed-vcard-img {
  transform: scale(1.03) !important;
}

.feed-vcard-play-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.3) !important;
  opacity: 0 !important;
  transition: opacity 0.2s ease !important;
  pointer-events: none !important;
}
.feed-vcard:hover .feed-vcard-play-overlay {
  opacity: 1 !important;
}
.feed-play-ico-circle {
  width: 38px !important;
  height: 38px !important;
  border-radius: 999px !important;
  background: rgba(79, 124, 255, 0.9) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  padding-left: 2px !important;
  box-shadow: 0 4px 16px rgba(79, 124, 255, 0.6) !important;
}

.feed-vcard-new-badge {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  background: #4f7cff !important;
  color: #fff !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  padding: 1.5px 6px !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 2px 8px rgba(79, 124, 255, 0.5) !important;
}

.feed-vcard-time-badge {
  position: absolute !important;
  bottom: 8px !important;
  right: 8px !important;
  background: rgba(0, 0, 0, 0.82) !important;
  backdrop-filter: blur(8px) !important;
  color: #cbd5e1 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  letter-spacing: 0.2px !important;
}

.feed-vcard-body {
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  flex: 1 !important;
}

.feed-vcard-channel-row {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
}
.feed-vcard-author-avatar {
  width: 18px !important;
  height: 18px !important;
  border-radius: 999px !important;
  object-fit: cover !important;
  background: #1e2638 !important;
}
.feed-vcard-author-initial {
  width: 18px !important;
  height: 18px !important;
  border-radius: 999px !important;
  background: #2a3449 !important;
  color: #cbd5e1 !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.feed-vcard-channel-name {
  font-size: 11.5px !important;
  color: #94a3b8 !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: color 0.15s ease !important;
}
.feed-vcard-channel-name:hover {
  color: #4f7cff !important;
}

.feed-vcard-title {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #f8fafc !important;
  line-height: 1.35 !important;
  cursor: pointer !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  transition: color 0.15s ease !important;
}
.feed-vcard-title:hover {
  color: #4f7cff !important;
}

.feed-vcard-foot {
  margin-top: auto !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.feed-vcard-actions {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: 100% !important;
}

.feed-vcard-btn-watch {
  flex: 1 !important;
  height: 28px !important;
  line-height: 26px !important;
  padding: 0 10px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  background: rgba(79, 124, 255, 0.18) !important;
  color: #4f7cff !important;
  border: 1px solid rgba(79, 124, 255, 0.35) !important;
  transition: all 0.15s ease !important;
}
.feed-vcard-btn-watch:hover {
  background: #4f7cff !important;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(79, 124, 255, 0.4) !important;
}

.feed-vcard-btn-shelf {
  height: 28px !important;
  padding: 0 9px !important;
  font-size: 11.5px !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
  transition: all 0.15s ease !important;
}
.feed-vcard-btn-shelf:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  color: #fff !important;
}

.feed-vcard-btn-read {
  height: 28px !important;
  width: 28px !important;
  padding: 0 !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  color: #64748b !important;
  transition: all 0.15s ease !important;
}
.feed-vcard-btn-read:hover {
  background: rgba(34, 197, 94, 0.12) !important;
  color: #22c55e !important;
  border-color: rgba(34, 197, 94, 0.25) !important;
}

/* 1-Click Suggestions Hero in Empty State */
.feed-suggestions-hero {
  background: rgba(21, 26, 40, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 36px 32px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 22px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 8px 0 28px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3) !important;
}
.feed-suggestions-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  margin: 0 !important;
}
.feed-suggestions-sub {
  font-size: 13.5px !important;
  color: #94a3b8 !important;
  max-width: 650px !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}
.feed-suggestions-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
}
.feed-sugg-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 14px !important;
  background: rgba(11, 14, 23, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 10px !important;
  transition: all 0.15s ease !important;
}
.feed-sugg-card:hover {
  background: rgba(79, 124, 255, 0.08) !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
}
.feed-sugg-left {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  overflow: hidden !important;
}
.feed-sugg-avatar {
  width: 26px !important;
  height: 26px !important;
  border-radius: 999px !important;
  object-fit: cover !important;
}
.feed-sugg-initial {
  width: 26px !important;
  height: 26px !important;
  border-radius: 999px !important;
  background: #1e2638 !important;
  color: #cbd5e1 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.feed-sugg-info {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.2 !important;
  overflow: hidden !important;
}
.feed-sugg-name {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #f1f5f9 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.feed-sugg-meta {
  font-size: 10px !important;
  color: #64748b !important;
}

@media (max-width: 820px) {
  .feed-hero-card.compact-line {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    flex-wrap: wrap !important;
    padding: 10px 12px !important;
    gap: 10px !important;
  }
}

/* All Shelves View */
.shelves-page {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}
.shelves-head-compact {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  padding: 4px 0 !important;
}
.shelves-head-meta {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.shelves-title {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  margin: 0 !important;
}
.shelves-count-pill,
.shelves-total-vids-pill {
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}
.shelves-head-controls {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.shelves-tb-search {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  background: #151a28 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  padding: 0 10px !important;
  height: 32px !important;
  gap: 6px !important;
}
.shelves-search-input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  font-size: 12px !important;
  color: #f8fafc !important;
  width: 180px !important;
}
.shelves-search-clear {
  background: none !important;
  border: none !important;
  color: #64748b !important;
  font-size: 11px !important;
  cursor: pointer !important;
  padding: 0 !important;
}

.shelves-grid-modern {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
}
.shelf-card-modern {
  background: #151a28 !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 12px !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  cursor: pointer !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease !important;
  position: relative !important;
  overflow: hidden !important;
}
.shelf-card-modern::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: var(--c, #4f7cff) !important;
}
.shelf-card-modern:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(79, 124, 255, 0.35) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}
.scm-top {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.scm-icon-wrap {
  width: 42px !important;
  height: 42px !important;
  border-radius: 10px !important;
  display: grid !important;
  place-items: center !important;
  font-size: 20px !important;
  border: 1px solid !important;
  flex-shrink: 0 !important;
}
.scm-info {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}
.scm-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.scm-meta {
  font-size: 11.5px !important;
  color: #94a3b8 !important;
}
.scm-actions {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.scm-thumbs-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 6px !important;
  height: 52px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
}
.scm-thumb-box {
  width: 100% !important;
  height: 100% !important;
  background: #0b0e17 !important;
  overflow: hidden !important;
  border-radius: 4px !important;
}
.scm-thumb-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.scm-empty-hint {
  height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11.5px !important;
  color: #64748b !important;
  background: rgba(11, 14, 23, 0.4) !important;
  border-radius: 6px !important;
  border: 1px dashed rgba(255, 255, 255, 0.08) !important;
}
.scm-prog-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.scm-prog-bar {
  width: 100% !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  overflow: hidden !important;
}
.scm-prog-fill {
  height: 100% !important;
  border-radius: 999px !important;
  transition: width 0.3s ease !important;
}
.scm-prog-text {
  font-size: 10.5px !important;
  color: #64748b !important;
}
.scm-foot {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: auto !important;
  padding-top: 4px !important;
}
.scm-open-btn {
  flex: 1 !important;
}

