html.blackeye-apk-efficient .be-virtual-placeholder {
  background: #12151b; border-radius: 12px; pointer-events: none;
  contain: strict; animation: none !important; transition: none !important;
}
html.blackeye-apk-efficient .home-card-expanded { display: none !important; }
html.blackeye-apk-efficient .home-curation-card,
html.blackeye-apk-efficient .content-card { transition: none !important; }
html.blackeye-apk-efficient .home-curation-scroller,
html.blackeye-apk-efficient .movie-genre-scroller { scroll-behavior: auto !important; scroll-snap-type: none !important; }
/* TV APK only: compact rails, with no blank height inherited from offscreen
   virtual placeholders. A real card must keep its natural measurable height. */
html.blackeye-apk-efficient.blackeye-fire-tv .movie-genre-scroller,
html.blackeye-apk-efficient.blackeye-fire-tv .home-curation-scroller {
  gap: 10px !important;
  align-items: flex-start !important;
}
html.blackeye-apk-efficient.blackeye-fire-tv .live-category-rail .movie-genre-scroller {
  gap: 8px !important;
}
/* Search is a horizontal result row, not a 112px carousel poster. */
html.blackeye-apk-efficient.blackeye-fire-tv .search-result-card {
  grid-template-columns: 64px minmax(0, 1fr) !important;
}
html.blackeye-apk-efficient.blackeye-fire-tv .search-result-card .poster {
  width: 64px !important;
  height: 96px !important;
  aspect-ratio: auto !important;
}
html.blackeye-apk-efficient.blackeye-fire-tv .search-result-card.is-live-card .poster {
  height: 64px !important;
}
/* Only APK 601+, including its standard-memory profile. Video is unchanged. */
html.blackeye-apk-efficient.be-art-300 .content-card,
html.blackeye-apk-efficient.be-art-300 .home-curation-card,
html.blackeye-apk-efficient.be-art-300 .nav-item,
html.blackeye-apk-efficient.be-art-300 dialog,
html.blackeye-apk-efficient.be-art-300 button {
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  transition: none !important; box-shadow: none !important;
}
html.blackeye-apk-efficient.be-art-300 *:focus { box-shadow: none !important; }
/* The constrained APK avoids persistent compositor layers on older Fire GPUs. */
html.blackeye-apk-efficient.blackeye-lite-mode *,
html.blackeye-apk-efficient.blackeye-lite-mode *::before,
html.blackeye-apk-efficient.blackeye-lite-mode *::after {
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  box-shadow: none !important; animation: none !important; transition: none !important;
  will-change: auto !important; scroll-behavior: auto !important;
}

/* APK detail text/icon fix 20260920: start */
/* The compact episode panel has no inset: inherited rounded corners clip the
   first letters. Keep its rectangular text area and existing height limits. */
html body #detailDialog.apk-detail-layout #episodeMetadata {
  border-radius: 0 !important;
}
/* Same 24x24 heart path as the top-bar favorite, independent of the TV font.
   Extra specificity also overrides styles bundled in already installed APKs. */
html body #detailDialog.apk-detail-layout.apk-detail-landscape #detailFavorite::before {
  content: '' !important;
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  font: 0/0 sans-serif !important;
  /* Keep the accessible button text from creating an extra grid row. */
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  margin: auto !important;
  transform: none !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E") center / 20px 20px no-repeat !important;
}
html body #detailDialog.apk-detail-layout.apk-detail-landscape #detailFavorite.is-favorite::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f5d878' stroke='%23f5d878' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E") !important;
}
/* APK detail text/icon fix 20260920: end */
