/* =========================================================
   PGP v234 — final route lock for Liket/Saved
   Fixes the remaining 3-4 second dark flash by using a server-side html class.
   ========================================================= */

html.pgp-route-liked-firstpaint,
html.pgp-route-liked-firstpaint body,
html.pgp-route-liked-server,
html.pgp-route-liked-server body{
  background:#ffffff!important;
  background-color:#ffffff!important;
  background-image:none!important;
  color:#141414!important;
  color-scheme:light!important;
}

html.pgp-route-liked-firstpaint body,
html.pgp-route-liked-firstpaint main,
html.pgp-route-liked-firstpaint :is(
  .pgp-app-header,
  .pgp-app-header-inner,
  .pgp-header-shell,
  .pgp-header-main,
  .pgp-header-row,
  .pgp-header-tabs,
  .saved-wrap,
  .saved-shell,
  .saved-hero,
  .wishlist-panel
){
  background:#ffffff!important;
  background-color:#ffffff!important;
  background-image:none!important;
}

html.pgp-route-liked-firstpaint :is(.saved-hero,.saved-card.empty-card){
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  border-radius:0!important;
}

html.pgp-route-liked-firstpaint :is(.saved-hero h1,.saved-hero p,.saved-count,#savedCount,#savedCountMobile,.wishlist-panel h1,.wishlist-panel h2,.wishlist-panel h3,.wishlist-panel p){
  color:#141414!important;
  text-shadow:none!important;
}

html.pgp-route-liked-firstpaint :is(#savedNumber,#savedNumberMobile,.saved-count strong){
  color:#c4a800!important;
  text-shadow:none!important;
}

html.pgp-route-liked-firstpaint .tc-bottom-bar,
html.pgp-route-liked-firstpaint .pgp-bottom-nav{
  border-color:rgba(0,0,0,.60)!important;
  border:1px solid rgba(0,0,0,.60)!important;
}
