/* PT layout P1–P5 — strat CSS unic pentru toate viewport-urile. */
#PW {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0;
  box-sizing: border-box;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* Fundal comun PT: fante grid (gap), zone transparente, scrollbar track */
  background-color: #141a22;
}

body.page-pt #main_content {
  background-color: #141a22 !important;
}

/* Donație PT („Ajuta un Suflet”): ROGVAIV ~1,5s / culoare, culori saturate */
@keyframes pt-rogvaiv-step {
  0%,
  14.285% {
    background-color: #d32f2f;
    color: #fff;
  }
  14.286%,
  28.571% {
    background-color: #ef6c00;
    color: #fff;
  }
  28.572%,
  42.857% {
    background-color: #ffc400;
    color: #212121;
  }
  42.858%,
  57.143% {
    background-color: #2e7d32;
    color: #fff;
  }
  57.144%,
  71.429% {
    background-color: #1565c0;
    color: #fff;
  }
  71.43%,
  85.715% {
    background-color: #283593;
    color: #fff;
  }
  85.716%,
  100% {
    background-color: #6a1b9a;
    color: #fff;
  }
}

#PW .pt-grid {
  display: grid;
  /* P4 și P5 aceeași lățime (0.75fr); P2 la mijloc. Trei coloane explicite – fără coloană implicită „auto” care lățea P5. */
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 4.5fr) minmax(0, 0.75fr);
  /* P1 72px; mijloc P4|P2|P5; jos P3 (54px min) */
  grid-template-rows: minmax(72px, 0.28125fr) minmax(0, 2.5078125fr) minmax(54px, 0.2109375fr);
  column-gap: 0;
  row-gap: 2px;
  height: 100%;
  min-height: 0;
  flex: 1 1 0;
  background-color: #141a22;
}

#PW .pt-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
}

#PW .pt-strip-wrap {
  width: 100%;
  height: 100%;
  min-height: 72px;
  overflow: hidden;
  position: relative;
  display: block;
}

/* P1 = bandă cursivă (poze defilante): sub navbar, deasupra butoanelor mov + P2 (și desktop, și mobil) */
#PW .pt-cell-1 {
  display: flex !important;
  grid-row: 1;
  grid-column: 1 / -1;
  background: #2e7d32;
  border: 2px solid #000;
  overflow: hidden;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  min-height: 72px;
  cursor: default;
}

#PW .pt-strip-wrap.pt-strip-p1 {
  background: #2e7d32;
}

#PW .pt-strip-wrap.pt-strip-p3 {
  background: #2e7d32;
  min-height: 54px; /* P3 redus cu 25% */
}

#PW .pt-strip-track {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  width: max-content;
  box-sizing: border-box;
}

#PW .pt-strip-track:hover {
  animation-play-state: paused;
}

#PW .pt-strip-track--p1 {
  animation: pt-strip-p1 80s linear infinite;
}

@keyframes pt-strip-p1 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Casete P1 și P3: aceeași lățime fixă */
#PW .pt-strip-item--p1,
#PW .pt-strip-item--p3 {
  flex: 0 0 200px;
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  height: 100%;
  min-height: 72px;
  display: block;
  margin: 0 2px 0 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  background: rgba(255,255,255,0.2);
  position: relative;
}

/* P3 redus cu 25% – casetele din bandă pot fi 54px */
#PW .pt-strip-item--p3 {
  min-height: 54px !important;
}

#PW .pt-strip-item--p1.pt-strip-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.25rem;
  background: #ffeb3b;
  color: #b71c1c;
  font-size: 0.6rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  word-break: break-word;
}

#PW .pt-strip-item--p1 img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  vertical-align: top;
}

/* P3: disclaimer galben */
#PW .pt-strip-item--p3.pt-strip-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.25rem;
  background: #ffeb3b;
  color: #b71c1c;
  font-size: 0.6rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  word-break: break-word;
}

#PW .pt-strip-no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 72px;
  background: #e0e0e0;
  font-size: 0.75rem;
  color: #333;
  text-align: center;
}

/* P4 = coloană stânga la mijloc; fără cursor pointer (aceeași lățime de track ca P5) */
#PW .pt-cell-4 {
  grid-row: 2;
  grid-column: 1;
  background: #141a22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  align-items: stretch;
  font-size: 1rem; /* resetează font-size mare de pe .pt-cell pentru caseta de filtre */
  cursor: default;
  min-width: 0;
  max-width: 100%;
}

/* Interior P4: 3 casete orizontale (filtru, buton, publi) */
#PW .pt-p4-inner {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px;
  box-sizing: border-box;
}

/* P4.2 + P4.3: pe desktop umple coloana; pe mobil → fixed permanent sub navbar + placeholder (JS măsoară înălțimea) */
#PW .pt-p4-mobile-sticky {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Casetă stack: match : sustine = 2 : 3 (sustine −50% față de cota 3/4); înălțime totală ×5/8; spațiul eliberat → P4.3 (mobil) */
#PW .pt-p4-match-sustine-stack.pt-p4-box {
  flex: 0 0 auto !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  margin: 0;
  padding: 0 !important;
  min-height: 0;
  /* ×5/8 față de stack-ul anterior (păstrează match la S/4, sustine jumătate din 3S/4) */
  height: clamp(3.45rem, 13.3vw, 5.25rem);
  /* Același limbaj ca .pt-p5-slot (ex. P5.3) */
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.45rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  box-sizing: border-box;
}
#PW .pt-p4-match-sustine-stack > .pt-p4-box-match {
  flex: 2 1 0;
  min-height: 0;
  padding: 0 !important;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-sizing: border-box;
}
#PW .pt-p4-match-sustine-stack > .pt-p4-box-sustine {
  flex: 3 1 0;
  min-height: 0;
  padding: 0 !important;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-sizing: border-box;
}
#PW .pt-p4-match-sustine-stack .pt-p4-box-match .pt-p4-actions {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
}
#PW .pt-p4-match-sustine-stack .pt-p4-box-match .pt-p4-btn-match,
#PW .pt-p4-match-sustine-stack .pt-p4-box-match .pt-p4-btn-filters {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  max-width: none;
  border-radius: 0 !important;
  box-sizing: border-box;
}
#PW .pt-p4-match-sustine-stack .pt-p4-box-sustine .pt-p4-btn-sustine {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  width: 100%;
  border-radius: 0 !important;
  align-self: stretch;
}

#PW .pt-p4-box {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #e2e8f0;
  background: transparent;
  border-radius: 0;
  box-sizing: border-box;
}

#PW .pt-p4-box-filters {
  /* P4.1 — același limbaj ca .pt-p5-slot (P5.3): fundal slot pe coloană #141a22 */
  flex: 0 1 auto;
  min-height: 0;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 6px 5px 8px;
  border-radius: 0.45rem;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-sizing: border-box;
}
/* P4.1: conținutul centrat în casetă */
#PW .pt-p4-box-filters #P3,
#PW .pt-p4-box-filters .pet-filters-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  padding-top: 0;
  margin-top: 0;
}
#PW .pt-p4-box-filters .p3-title {
  text-align: center;
  width: 100%;
  margin: 0 0 0.25rem 0;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(0.81rem, 3.58vw, 1.14rem);
  line-height: 1.2;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.02em;
}
/* P4.1: butoane pe un singur rând, încap în casetă */
#PW .pt-p4-box-filters .p3-tip-butoane {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 0.35rem 0 !important;
  padding: 0 !important;
  gap: 2px !important;
  list-style: none !important;
  box-sizing: border-box !important;
}
#PW .pt-p4-box-filters .p3-tip-butoane li {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
}
#PW .pt-p4-box-filters .p3-tip-butoane a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  /* Același limbaj tipografic ca linkurile din navbar A0 (#main_menu) */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif !important;
  font-size: clamp(10px, 2.15vw, 13px) !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  padding: 0.2rem 0.06rem !important;
  min-height: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  color: rgba(255, 255, 255, 0.92) !important;
  background: rgba(15, 23, 42, 0.42) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0.45rem !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
#PW .pt-p4-box-filters .p3-tip-butoane a:hover {
  color: #f1f5f9 !important;
  border-color: rgba(6, 182, 212, 0.35) !important;
}
#PW .pt-p4-box-filters .p3-tip-butoane a.active {
  color: rgba(255, 255, 255, 0.98) !important;
  font-weight: 700 !important;
  background: rgba(15, 23, 42, 0.62) !important;
  border-color: rgba(6, 182, 212, 0.55) !important;
  box-shadow:
    0 0 0 1px rgba(6, 182, 212, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
/* Etichetă: „Altele” și restul — text complet (înălțime pe 2 rânduri dacă e nevoie) */
#PW .pt-p4-box-filters .p3-tip-butoane .p3-btn-label {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: 100% !important;
  line-height: 1.15 !important;
  text-align: center !important;
  word-break: break-word;
  hyphens: manual;
}
#PW .pt-p4-box-filters .p3-tip-butoane .p3-btn-count {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  font-size: 0.92em !important;
  font-weight: 700 !important;
  margin-top: 0.05rem !important;
  opacity: 0.95;
}
#PW .pt-p4-box-filters .pt-p4-filtre-form,
#PW .pt-p4-box-filters form#filtre-animale {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin-top: 0.15rem;
  margin-bottom: 0;
}
#PW .pt-p4-box-filters .p3-filters-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.25rem 0.3rem !important;
  margin: 0 auto !important;
  width: 100% !important;
  transform: none !important;
}
#PW .pt-p4-box-filters .p3-filter-cell {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}
#PW .pt-p4-box-filters .p3-filter-cell label {
  margin: 0;
  font-size: clamp(0.5rem, 1.6vw, 0.65rem);
  line-height: 1.2;
  text-align: center;
  font-weight: 600;
  color: #e2e8f0;
}
#PW .pt-p4-box-filters .p3-filter-cell select {
  font-size: clamp(0.5rem, 1.6vw, 0.65rem);
  padding: 0.18rem 0.28rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.5);
  color: #f8fafc;
  font-family: inherit;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 1px 4px rgba(0, 0, 0, 0.18);
}
#PW .pt-p4-box-filters .p3-filter-cell select:focus {
  outline: none;
  border-color: rgba(6, 182, 212, 0.65);
  box-shadow:
    0 0 0 1px rgba(6, 182, 212, 0.25),
    0 0 0 3px rgba(6, 182, 212, 0.12);
}
#PW .pt-p4-box-filters .p3-reset-link {
  margin-top: 0.2rem;
  margin-bottom: 0;
  font-size: clamp(0.5rem, 1.5vw, 0.62rem);
  text-align: center;
  display: block;
  font-weight: 600;
  color: #22d3ee;
  text-decoration: none;
}
#PW .pt-p4-box-filters .p3-reset-link:hover {
  color: #67e8f9;
  text-decoration: underline;
}

#PW .pt-p4-box-match {
  /* Găsește-mi: roșu inițial; Filtre albastru separat */
  flex: 0 0 auto;
  min-height: 2.5rem;
  background: transparent;
  color: #fff;
  padding: 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* „Găsește-mi perechea” / CTA — același limbaj ca butoanele principale signup/login (cyan) */
#PW .pt-p4-box-match .pt-p4-btn-match {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.25rem;
  padding: 0.35rem 0.5rem;
  background: linear-gradient(175deg, #5ee9f3 0%, #22d3ee 28%, #06b6d4 52%, #0e7490 100%) !important;
  background-image: linear-gradient(175deg, #5ee9f3 0%, #22d3ee 28%, #06b6d4 52%, #0e7490 100%) !important;
  animation: none !important;
  color: #fff !important;
  font-weight: 700;
  font-size: clamp(0.6rem, 2vw, 0.8rem);
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.5rem;
  box-sizing: border-box;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 3px 14px rgba(6, 182, 212, 0.35),
    0 6px 18px rgba(0, 0, 0, 0.22);
}
#PW .pt-p4-box-match .pt-p4-btn-match:hover {
  filter: brightness(1.06);
  color: #fff !important;
}

/* Potrivire activă sau bife selectate în modal: „Renunță la potrivire” — roșu intermitent */
@keyframes pt-match-renunta-pulse {
  0%,
  100% {
    filter: brightness(1);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.22) inset,
      0 0 16px rgba(239, 68, 68, 0.42),
      0 4px 14px rgba(0, 0, 0, 0.24);
  }
  50% {
    filter: brightness(1.12);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.32) inset,
      0 0 26px rgba(239, 68, 68, 0.72),
      0 4px 18px rgba(0, 0, 0, 0.3);
  }
}
#PW .pt-p4-box-match .pt-p4-btn-match.pt-match-btn--active,
#PW .pt-p4-match-sustine-stack .pt-p4-box-match .pt-p4-btn-match.pt-match-btn--active,
#PW .pt-p4-box-match .pt-p4-btn-match.pt-match-btn--active:hover {
  color: #fff !important;
}
/* „Ajuta un Suflet !” — același tip CTA (fără animație ROGVAIV; text neschimbat în template) */
#PW .pt-p4-box-sustine .pt-p4-btn-sustine {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.25rem;
  padding: 0.15rem 0.35rem;
  background: linear-gradient(175deg, #5ee9f3 0%, #22d3ee 28%, #06b6d4 52%, #0e7490 100%) !important;
  background-image: linear-gradient(175deg, #5ee9f3 0%, #22d3ee 28%, #06b6d4 52%, #0e7490 100%) !important;
  animation: none !important;
  font-weight: 700;
  font-size: clamp(0.88rem, 4.25vw, 1.14rem);
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.5rem;
  box-sizing: border-box;
  line-height: 1.1;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  color: #fff !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.32) inset,
    0 3px 14px rgba(6, 182, 212, 0.32),
    0 6px 18px rgba(0, 0, 0, 0.22);
}
#PW .pt-p4-box-sustine .pt-p4-btn-sustine:hover {
  filter: brightness(1.06);
}

@media (prefers-reduced-motion: reduce) {
  #PW .pt-p4-box-match .pt-p4-btn-match {
    animation: none !important;
    background: linear-gradient(175deg, #22d3ee 0%, #06b6d4 45%, #0e7490 100%) !important;
  }
  #PW .pt-p4-box-match .pt-p4-btn-match.pt-match-btn--active,
  #PW .pt-p4-match-sustine-stack .pt-p4-box-match .pt-p4-btn-match.pt-match-btn--active,
  #PW .pt-p4-box-sustine .pt-p4-btn-sustine {
    animation: none !important;
    background: linear-gradient(175deg, #22d3ee 0%, #06b6d4 45%, #0e7490 100%) !important;
  }
}

/* Rând Susține între P4.2 și P4.3: același stil ca „Găsește-mi perechea”; P4.3 rămâne flex:1 → pierde înălțimea acestui rând */
#PW .pt-p4-box-sustine {
  flex: 0 0 auto;
  min-height: 2.5rem;
  background: transparent;
  color: #fff;
  padding: 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#PW .pt-p4-box-match .pt-p4-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 0;
  box-sizing: border-box;
}
#PW .pt-p4-box-match .pt-p4-btn-filters {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.35rem 0.5rem;
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0 !important;
  font-weight: 700;
  font-size: clamp(0.6rem, 2vw, 0.8rem);
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(6, 182, 212, 0.45);
  border-radius: 0.5rem;
  box-sizing: border-box;
  line-height: 1.2;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}
#PW .pt-p4-box-match .pt-p4-btn-filters:hover {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(6, 182, 212, 0.65);
  color: #f1f5f9 !important;
}
@keyframes ptMatchBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.25;
  }
}
#PW .pt-p4-box-match .pt-p4-btn-filters.pt-filters-btn--active {
  animation: ptMatchBlink 0.9s steps(2, end) infinite;
}
#PW .pt-mobile-filters-head,
#PW .pt-mobile-filters-actions {
  display: none;
}

#PW .pt-p4-box-ads {
  /* P4.3 — același limbaj ca .pt-p5-slot (P5.3) */
  flex: 1 1 0;
  min-height: 2rem;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.45rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  box-sizing: border-box;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}
/* Desktop: umple zona P4.3; mobil: ascuns (vezi .pt-p43-mobil-row) */
#PW .pt-p43-desktop-wrap {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  align-items: stretch;
}
#PW .pt-p43-desktop-wrap > .pt-p43-desktop-slot {
  flex: 1 1 0;
  min-height: 0;
}

/* Mobil: 4 casete într-un rând (P4.3 + P5.1–P5.3); desktop: ascuns */
#PW .pt-p43-mobil-row {
  display: none;
  width: 100%;
  box-sizing: border-box;
  gap: 2px;
}

/* P4.3 desktop: o casetă; P5.x în coloana #P5 */

/* Wrapper fallback (dacă e folosit în șablon) */
#PW .pt-p43-desktop-ads {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  gap: 2px;
}
#PW .pt-p43-desktop-slot {
  flex: 1 1 auto;
  min-height: 2rem;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: none;
}
#PW .pt-p43-desktop-slot .pt-p43-partner-fill,
#PW .pt-p43-desktop-slot .pt-p43-creative-link {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}
#PW .pt-p43-desktop-slot .pt-p5-user-card {
  width: 100%;
  height: 100%;
  min-height: 0;
}
#PW .pt-p43-desktop-slot .pt-p5-user-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#PW .pt-p43-desktop-slot .pt-p5-user-avatar img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* P5 coloană dreaptă: același track ca P4 (coloana 3 = 0.75fr) */
#PW .pt-cell-5 {
  grid-row: 1;
  grid-column: 3;
  background: #141a22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  font-size: 1rem;
  cursor: default;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
#PW .pt-p5-grid {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  width: 100%;
  min-height: 0;
  gap: 2px;
  box-sizing: border-box;
  padding: 2px;
}
#PW .pt-p5-slot {
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.45rem;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
#PW .pt-p5-slot .pt-p43-label {
  font-size: clamp(0.45rem, 1.1vw, 0.65rem);
  color: #94a3b8;
  text-align: center;
  padding: 2px;
  font-weight: 600;
}
#PW .pt-p5-slot .pt-p5-user-card {
  width: 100%;
  height: 100%;
  min-height: 0;
}
#PW .pt-p5-slot .pt-p5-user-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#PW .pt-p5-slot .pt-p5-user-avatar img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
#PW .pt-p5-slot.pt-p5-slot-user .pt-p5-user-avatar img {
  object-fit: contain;
}
#PW .pt-p43-slot {
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.45rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
#PW .pt-p43-label {
  font-size: clamp(0.5rem, 1.5vw, 0.72rem);
  color: #94a3b8;
  text-align: center;
  font-weight: 600;
}

/* P5.2 în grila P4.3: link partener */
#PW .pt-p43-slot--p52 {
  padding: 1px;
  overflow: hidden;
}
#PW .pt-p43-partner-fill {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}
#PW .pt-p43-partner-card {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 4px;
}
#PW .pt-p43-slot--p52 .pt-p5-user-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#PW .pt-p43-slot--p52 .pt-p5-user-avatar img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
#PW .pt-p43-slot--p52 .pt-p5-partner-badge {
  bottom: 2px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  padding: 1px 4px;
  font-size: clamp(0.45rem, 2.8vw, 0.55rem);
}

/* Reclamă din DB (aceleași reguli desktop + mobil) */
#PW .pt-p43-creative-card .pt-p5-user-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#PW .pt-p43-creative-card img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
#PW .pt-p43-creative-card video,
#PW .pt-p5-user-avatar video {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Tabs filtre: Toate / Câini / Pisici / Altele */
#PW .pt-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

#PW .pt-filter-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #c62828;
  background: #ffffff;
  color: #c62828;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

#PW .pt-filter-tab.is-active {
  background: #c62828;
  color: #ffffff;
}

/* P2 – zona centrală: grid 4×3 vizibil, restul la scroll; înălțime rând = 1/3 din zona P2 */
#PW .pt-cell-2 {
  --p2-row-h: calc((100vh - var(--nav-h, 64px) - 72px - 54px) / 3); /* P1 72px + P3 54px (redus) */
  grid-row: 2;
  grid-column: 2;
  background: transparent;
  padding: 0;
  min-height: 0;
  min-width: 0;
  width: 100%;
  position: relative;
  height: 100%;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  justify-content: flex-start;
  align-items: stretch;
  /* .pt-cell are font-size: 3rem — spațiul/alinierea din HTML devine nod text = flex item cu line-height uriaș = bandă „albă” deasupra grilei */
  font-size: 0;
  line-height: 0;
}

/* Scroll doar în P2; înălțime între navbar și P3 */
#PW .pt-p2-scroll {
  flex: 1 1 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  width: 100% !important;
  -webkit-overflow-scrolling: touch;
  background-color: #141a22;
  scrollbar-color: rgba(148, 163, 184, 0.55) #141a22;
  scrollbar-width: thin;
  /* Ca .pt-cell-2 / .pt-p2-grid: altfel nod text/spațiu înainte de grid = strut line-height 1rem = bandă #FCFCFC pe toată lățimea */
  font-size: 0 !important;
  line-height: 0 !important;
}

#PW .pt-p2-scroll::-webkit-scrollbar {
  width: 8px;
}
#PW .pt-p2-scroll::-webkit-scrollbar-track {
  background: #141a22;
}
#PW .pt-p2-scroll::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.45);
  border-radius: 4px;
}
#PW .pt-p2-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(203, 213, 225, 0.55);
}

/* Grid 4×3: 3 rânduri egale (--p2-row-h), restul la scroll */
#PW .pt-p2-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  grid-template-rows: repeat(3, minmax(0, var(--p2-row-h, 180px))) !important;
  grid-auto-rows: minmax(80px, var(--p2-row-h, 180px)) !important;
  gap: 2px !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  align-content: start !important;
  justify-items: stretch !important;
  background-color: #141a22;
  /* Spații/newline din șablon = noduri text = rând fantomă în grid = bandă #FCFCFC sub marginea de sus a P2 */
  font-size: 0 !important;
  line-height: 0 !important;
}

/* Celulă: umple rândul; fără aspect-ratio fix */
/* Sentinel pentru încărcare progresivă P2 (IntersectionObserver, root = .pt-p2-scroll) */
#PW .pt-p2-load-sentinel {
  width: 100%;
  min-height: 8px;
  flex-shrink: 0;
  pointer-events: none;
}

#PW .pt-p2-grid .pt-p2-cell,
#PW .pt-p2-grid .pt-p2-20cell {
  aspect-ratio: auto !important;
}
#PW .pt-p2-cell,
#PW .pt-p2-20cell {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.55);
  border: none;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  line-height: normal;
}

#PW .pt-p2-20cell--empty-msg {
  grid-column: 1 / -1;
  padding: 1rem;
  text-align: center;
  color: #94a3b8;
}

/* Celule padding: identice cu restul – chenar, fundal, border-radius */
#PW .pt-p2-20cell.pt-p2-20cell--pad {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 2px !important;
  background: rgba(15, 23, 42, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  pointer-events: none;
}

#PW .pt-p2-20cifra {
  display: none !important; /* scos: ramane doar badge-ul negru (pt-p2-20num) */
}

#PW .pt-p2-20num {
  position: absolute;
  top: 2px;
  left: 2px;
  font-size: 0.65rem;
  color: #666;
  z-index: 2;
  pointer-events: none;
}

#PW .pt-p2-20bg-link {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

#PW .pt-p2-20bg {
  position: absolute;
  inset: 0;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#PW .pt-p2-20bg--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #333;
  background: #ffe082;
}

/* P2 card PT */
#PW .pt-p2-card-cell {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  /* Include-ul putea lăsa \n înainte de <a> = primul flex item = gol deasupra pozei */
  font-size: 0;
  line-height: 0;
}
#PW .pt-p2-card-cell .pt-p2-card-photo-wrap {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  /* Copil: .pt-p2-card-link (poză) + .pt-p2-card-bottom-bar — acțiuni în afara linkului */
  font-size: 1rem;
  line-height: normal;
}

/* Bară jos: ♥ plic | nume | megafon LED + localitate / M·vârstă */
#PW .pt-p2-card-cell .pt-p2-card-bottom-stack {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  pointer-events: auto;
  max-width: 100%;
}
#PW .pt-p2-card-cell .pt-p2-card-bottom-bar {
  position: static;
  bottom: auto;
  left: auto;
  right: auto;
  z-index: 30;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 3px;
  min-height: 28px;
  max-height: 30px;
  padding: 3px 4px;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.92);
  border-top: 1px solid rgba(6, 182, 212, 0.22);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: visible;
}
#PW .pt-p2-card-cell .pt-p2-card-bottom-bar__side {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
#PW .pt-p2-card-cell .pt-p2-card-bottom-bar__side--left {
  justify-content: flex-start;
}
#PW .pt-p2-card-cell .pt-p2-card-bottom-bar__side--right {
  justify-content: flex-end;
}
#PW .pt-p2-card-cell .pt-p2-card-bottom-bar__name {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 0 2px;
  font-size: clamp(0.58rem, 1.9vw, 0.72rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  color: #f1f5f9;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#PW .pt-p2-card-cell .pt-p2-card-bottom-bar__name:hover {
  color: #a5f3fc;
}
#PW .pt-p2-card-cell .pt-p2-ask-plic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #e2e8f0;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}
#PW .pt-p2-card-cell .pt-p2-ask-plic-btn:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
}
#PW .pt-p2-card-cell .pt-p2-ask-plic-btn__svg {
  display: block;
}
#PW .pt-p2-card-cell .pt-p2-wish-btn {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0;
}
#PW .pt-p2-card-cell .pt-p2-wish-btn svg {
  width: 13px !important;
  height: 13px !important;
}
/* P2 inimă: același SVG ca restul site-ului, fără cerc — cyan / roșu pe bară închisă */
#PW .pt-p2-card-cell .pt-p2-wish-btn.wish-btn {
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #67e8f9 !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#PW .pt-p2-card-cell .pt-p2-wish-btn.wish-btn:hover {
  color: #a5f3fc !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
}
#PW .pt-p2-card-cell .pt-p2-wish-btn.wish-btn.is-active {
  color: #f87171 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
}
#PW .pt-p2-card-cell .pt-p2-wish-btn.wish-btn.is-active:hover {
  color: #fecaca !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
}
/* LED stare adopție + tooltip la hover */
#PW .pt-p2-card-cell .pt-p2-adoption-led-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  cursor: default;
  outline: none;
}
#PW .pt-p2-card-cell .pt-p2-adoption-led {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 6px currentColor;
}
#PW .pt-p2-card-cell .pt-p2-adoption-led--green {
  background: #22c55e;
  color: #22c55e;
}
#PW .pt-p2-card-cell .pt-p2-adoption-led--yellow {
  background: #eab308;
  color: #eab308;
}
#PW .pt-p2-card-cell .pt-p2-adoption-led--red {
  background: #ef4444;
  color: #ef4444;
}
#PW .pt-p2-card-cell .pt-p2-adoption-led-wrap::after {
  content: attr(data-state-label);
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  left: auto;
  transform: none;
  padding: 3px 8px;
  font-size: clamp(0.48rem, 1.2vw, 0.58rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #f1f5f9;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease, visibility 0.12s ease;
  z-index: 40;
}
#PW .pt-p2-card-cell .pt-p2-adoption-led-wrap:hover::after,
#PW .pt-p2-card-cell .pt-p2-adoption-led-wrap:focus-visible::after {
  opacity: 1;
  visibility: visible;
}
#PW .pt-p2-card-cell .pt-p2-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#PW .pt-p2-card-cell .pt-p2-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#PW .pt-p2-card-cell .pt-p2-card-link {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  /* 0 = fără strut la orice nod text rămas între taguri în interiorul <a> */
  font-size: 0;
  line-height: 0;
}
#PW .pt-p2-card-cell .pt-p2-card-tags {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  pointer-events: none;
}
#PW .pt-p2-card-cell .pt-p2-tag {
  display: inline-block;
  padding: 2px 6px;
  font-size: 0.55rem;
  line-height: 1.2;
  font-weight: 600;
  background: rgba(0,0,0,0.65);
  color: #fff;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
#PW .pt-p2-card-cell .pt-p2-card-name {
  flex-shrink: 0;
  padding: 4px 4px 6px;
  font-size: clamp(0.55rem, 1.8vw, 0.7rem);
  font-weight: 700;
  text-align: center;
  color: #333;
  line-height: 1.2;
  background: #fff;
}

/* Promovare A2: icon megafon compact în bara de jos */
#PW .pt-p2-card-cell .pt-p2-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #22d3ee;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}
#PW .pt-p2-card-cell .pt-p2-promo-btn:hover {
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.15);
}
#PW .pt-p2-card-cell .pt-p2-promo-btn__svg {
  display: block;
}

/* Card partener (P5.2 în grila P4.3) */
#PW .pt-p5-user-card {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #ccc;
}

#PW .pt-p5-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#PW .pt-p5-user-badge {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

#PW .pt-p5-user-badge-text {
  white-space: nowrap;
}

/* P5.2 – card PARTENER: link peste toată caseta, text mic, nu modificăm layout-ul */
#PW .pt-p5-partener-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

#PW .pt-p5-partener-badge {
  bottom: 6px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  padding-inline: 10px;
  font-size: 0.7rem;
}

/* P3 = bandă cursivă jos; pe mobil vine imediat după P2 în grilă (P5 ascuns) */
#PW .pt-cell-3 {
  grid-row: 3;
  grid-column: 1 / -1;
  background: #2e7d32;
  border: 2px solid #000;
  overflow: hidden;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  min-height: 54px; /* redus cu 25% (72→54), spațiul merge la P2 */
  cursor: default;
}
/* ≥768px: 3 rânduri — sus P1; mijloc P4|P2|P5; jos P3 */
@media (min-width: 768px) and (min-height: 521px) {
  #PW .pt-cell-4 {
    grid-row: 2;
    grid-column: 1;
    order: 0;
    background: #141a22;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  #PW .pt-cell-2 {
    grid-row: 2;
    grid-column: 2;
    order: 0;
  }
  #PW .pt-cell-5 {
    grid-row: 2;
    grid-column: 3;
    order: 0;
    display: flex !important;
  }
  #PW .pt-mob-main .pt-cell-1 {
    grid-row: 1;
    grid-column: 1 / -1;
    order: 0;
  }
  #PW .pt-mob-main .pt-cell-2 {
    grid-row: 2;
    grid-column: 2;
    order: 0;
  }
  #PW .pt-mob-main .pt-cell-3--footer {
    grid-row: 3;
    grid-column: 1 / -1;
    order: 0;
    margin-top: 0 !important;
  }
  /* P2+P3 în .pt-mob-main: pe desktop wrapper-ele dispar din layout */
  #PW .pt-mob-main {
    display: contents;
  }
}

/* P3: mișcare dreapta → stânga (track se deplasează la dreapta) */
#PW .pt-strip-track--p3 {
  animation: pt-strip-p3 90s linear infinite;
}

@keyframes pt-strip-p3 {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* P3: poza umple caseta (suprascrie body.page-animale img height:auto din style.css) */
#PW .pt-strip-item--p3 img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  vertical-align: top;
}

#PW .pt-strip-item--p3 .pt-strip-no-img {
  min-height: 54px; /* P3 redus cu 25% */
}

/* P3: scoatem scala gradată de pe poze (rămâne doar caseta/numărul) */
#PW .pt-strip-item--p3 .pt-strip-scale {
  display: none !important;
}

/* Cifră mare pe fiecare poză din banda P3 */
#PW .pt-strip-item--p3 .pt-strip-num {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.75rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8), 0 0 8px rgba(0,0,0,0.6);
  pointer-events: none;
}

/* Scară gradată în mm pe stânga pozelor (bandă P3) */
#PW .pt-strip-item .pt-strip-scale {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 16px;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  align-items: flex-end;
  padding: 3px 0;
  background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.2) 70%, transparent 100%);
  border-right: 1px solid rgba(255,255,255,0.5);
  pointer-events: none;
  z-index: 2;
}
#PW .pt-strip-item .pt-scale-mark {
  position: relative;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 2px #000, 0 1px 2px rgba(0,0,0,0.9);
  padding-right: 2px;
}
#PW .pt-strip-item .pt-scale-mark::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1px;
  background: rgba(255,255,255,0.9);
  margin-right: 2px;
}

