/* R-DTR Personal Feed Desktop v0.2.7 */

.rdtr-pfd-thumb-wrap,
.rdtr-pfd-heart-host,
.rdtr-thumb {
  position: relative;
}

.rdtr-pfd-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 40;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(9, 14, 24, 0.82);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.24);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  backdrop-filter: blur(6px);
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  margin: 0;
}

.rdtr-pfd-heart:hover,
.rdtr-pfd-heart:focus-visible {
  transform: scale(1.08);
  background: rgba(22, 30, 46, 0.96);
  border-color: rgba(255,255,255,.34);
  box-shadow: 0 12px 30px rgba(0,0,0,.32);
  outline: none;
}

.rdtr-pfd-heart.is-saved {
  background: linear-gradient(135deg, rgba(177, 20, 68, .98), rgba(241, 69, 86, .98));
  border-color: rgba(255,255,255,.26);
}

.rdtr-pfd-heart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rdtr-pfd-heart-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.rdtr-card .rdtr-pfd-heart {
  top: 12px;
  right: 12px;
}

.rdtr-pfd-single-host {
  position: relative;
}

.rdtr-pfd-heart--single {
  position: static;
  margin: 14px 0 0;
  width: 44px;
  height: 44px;
}

.rdtr-pfd-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  white-space: nowrap;
  background: #111927;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  padding: 9px 12px;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(-4px);
  transition: all .28s ease;
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.rdtr-pfd-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rdtr-pfd-section {
  position: relative;
  margin: 24px 0 32px;
  z-index: 8;
}

.rdtr-pfd-shell {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(18,27,44,.98) 0%, rgba(27,35,58,.96) 56%, rgba(45,16,36,.94) 100%);
  box-shadow: 0 18px 42px rgba(8, 12, 20, .28);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .22s ease;
}

.rdtr-pfd-section.is-highlighted .rdtr-pfd-shell {
  box-shadow: 0 0 0 2px rgba(255,82,112,.45), 0 18px 42px rgba(8, 12, 20, .28);
}

.rdtr-pfd-panel {
  padding: 20px 18px 18px;
}

.rdtr-pfd-section-header {
  margin-bottom: 14px;
  color: #fff;
}

.rdtr-pfd-section-title {
  margin: 0 0 6px;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.1;
  color: #fff;
}

.rdtr-pfd-section-subtitle {
  margin: 0;
  color: rgba(255,255,255,.78);
  max-width: 780px;
}

.rdtr-pfd-status-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.rdtr-pfd-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-size: 13px;
}

.rdtr-pfd-toggle,
.rdtr-pfd-pin {
  display: none;
}

.rdtr-pfd-feedback {
  font-size: 13px;
  color: #ff8ba0;
  min-height: 18px;
  opacity: 0;
  transition: opacity .2s ease;
  margin-bottom: 8px;
}

.rdtr-pfd-feedback.is-visible {
  opacity: 1;
}

.rdtr-pfd-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rdtr-pfd-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 28px rgba(5,10,18,.16);
}

.rdtr-pfd-card-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ddd;
}

.rdtr-pfd-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rdtr-pfd-card-body {
  padding: 14px;
}

.rdtr-pfd-card-title {
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.rdtr-pfd-card-title a {
  color: #14151a;
  text-decoration: none;
}

.rdtr-pfd-card-title a:hover {
  text-decoration: underline;
}

.rdtr-pfd-card-meta,
.rdtr-pfd-empty {
  font-size: 13px;
  color: #666b75;
}

.rdtr-pfd-empty {
  grid-column: 1 / -1;
  padding: 14px 0 4px;
  color: rgba(255,255,255,.82);
}

.rdtr-pfd-card-remove {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 16, 27, 0.78);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.rdtr-pfd-card-remove:hover,
.rdtr-pfd-card-remove:focus-visible {
  transform: scale(1.06);
  background: rgba(169, 22, 55, 0.92);
  outline: none;
}

@media (max-width: 1360px) {
  .rdtr-pfd-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


.rdtr-pfd-heart.is-pop {
  animation: rdtrPfdPop .28s ease;
}

@keyframes rdtrPfdPop {
  0% { transform: scale(.92); }
  50% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.rdtr-pfd-sidebar {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18,27,44,.98) 0%, rgba(24,33,54,.97) 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 42px rgba(8,12,20,.22);
  color: #fff;
  overflow: hidden;
}

.rdtr-pfd-sidebar-header {
  padding: 16px 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.rdtr-pfd-sidebar-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.1;
  color: #fff;
}

.rdtr-pfd-status-row--sidebar {
  margin-top: 0;
}

.rdtr-pfd-feedback--sidebar {
  padding: 6px 14px 0;
  margin-bottom: 0;
}

.rdtr-pfd-sidebar-scroll {
  height: var(--rdtr-pfd-sidebar-height, 520px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px;
}

.rdtr-pfd-sidebar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.rdtr-pfd-sidebar-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
}

.rdtr-pfd-sidebar-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(255,255,255,.06);
}

.rdtr-pfd-sidebar-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .22s ease;
}

.rdtr-pfd-sidebar-card:hover .rdtr-pfd-sidebar-link img {
  transform: scale(1.03);
}

.rdtr-pfd-sidebar-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(10,14,23,.82);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.rdtr-pfd-sidebar-remove:hover,
.rdtr-pfd-sidebar-remove:focus-visible {
  transform: scale(1.06);
  background: rgba(169,22,55,.92);
  outline: none;
}

.rdtr-pfd-sidebar-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}

.rdtr-pfd-empty--sidebar {
  padding: 8px 4px;
  color: rgba(255,255,255,.78);
}
