/* ProPick R155 | reference-grade mobile headline + card text geometry.
   Loaded LAST in the approved Cloudflare frontend. Both sample and real
   cards share the same markup; do not change card art, timer, date or data. */

/* Rating is three independent optical zones, not competing nested flexboxes.
   Original markup: q-label + q-row(q-num + stars). */
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars{
  display:grid!important;
  grid-template-columns:minmax(0,43%) minmax(0,37%) minmax(0,20%)!important;
  grid-template-rows:minmax(0,1fr)!important;
  direction:rtl!important;
  align-items:center!important;
  justify-items:stretch!important;
  column-gap:0!important;
  padding:2px 1.3cqw!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .q-row{
  display:contents!important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .q-label{
  grid-column:1!important;grid-row:1!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  position:relative!important;top:0!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  height:100%!important;flex:none!important;
  margin:0!important;padding:0 3px!important;
  box-sizing:border-box!important;
  font-family:'Heebo','Rubik',Arial,sans-serif!important;
  font-size:clamp(13px,4.1cqw,19px)!important;
  font-weight:900!important;letter-spacing:-.035em!important;
  line-height:1.15!important;white-space:nowrap!important;
  text-align:center!important;overflow:visible!important;
  transform:none!important;translate:none!important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .stars{
  grid-column:2!important;grid-row:1!important;
  display:flex!important;position:relative!important;
  align-items:center!important;justify-content:center!important;
  width:100%!important;height:100%!important;
  min-width:0!important;gap:.09cqw!important;
  padding:0!important;margin:0!important;
  overflow:visible!important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .star{
  flex:0 0 auto!important;
  width:clamp(16px,4.55cqw,22px)!important;
  height:clamp(16px,4.55cqw,22px)!important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .q-num{
  grid-column:3!important;grid-row:1!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;
  font-size:clamp(20px,5.5cqw,27px)!important;
  line-height:1!important;white-space:nowrap!important;
}
/* Preserve the two slim dividers, fixed on their actual column boundaries. */
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .q-label::after,
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .stars::before{
  content:""!important;display:block!important;
  position:absolute!important;
  top:50%!important;left:0!important;right:auto!important;
  width:1px!important;height:5.5cqw!important;
  min-height:18px!important;max-height:24px!important;
  transform:translateY(-50%)!important;
  border:0!important;
  background:linear-gradient(180deg,transparent,rgba(235,247,255,.75) 22%,rgba(235,247,255,.75) 78%,transparent)!important;
  pointer-events:none!important;
}
/* The CTA caption is centered in the ENTIRE button. Its animated arrow
   stays absolutely positioned at the left and does not affect its center. */
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .flip-btn{
  position:absolute!important;display:grid!important;
  place-items:center!important;padding:0!important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .flip-btn > .pp-flip-label{
  position:absolute!important;
  inset:0!important;top:0!important;right:0!important;bottom:0!important;left:0!important;
  width:100%!important;height:100%!important;min-height:0!important;max-width:100%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;
  padding:0 clamp(34px,9cqw,45px)!important;margin:0!important;
  color:#fff!important;font-family:'Heebo','Rubik',Arial,sans-serif!important;
  font-size:clamp(15px,4.6cqw,21px)!important;
  font-weight:900!important;line-height:1.15!important;
  direction:rtl!important;text-align:center!important;text-align-last:center!important;
  white-space:nowrap!important;overflow:visible!important;
  transform:none!important;translate:none!important;
}
/* Match the earlier ProPick hero: two white headline lines and two red lines. */
@media(max-width:719px){
  #heroTitle,.hero #heroTitle{
    font-size:clamp(54px,17.3vw,79px)!important;
    line-height:.93!important;letter-spacing:-.055em!important;
    padding:0 3px!important;margin:0 auto 14px!important;
    max-width:100%!important;box-sizing:border-box!important;
    overflow:visible!important;text-align:center!important;
    word-break:keep-all!important;overflow-wrap:normal!important;
  }
  #heroTitle > .hero-line-white,#heroTitle > .acc{
    display:block!important;
    width:100%!important;max-width:100%!important;
    white-space:normal!important;
    text-wrap:wrap!important;word-break:keep-all!important;
    line-height:inherit!important;overflow:visible!important;
  }
}
@media(max-width:355px){
  :is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars{
    grid-template-columns:minmax(0,44%) minmax(0,36%) minmax(0,20%)!important;
  }
  :is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .q-label{
    font-size:clamp(12px,3.8cqw,15px)!important;
  }
  :is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .star{
    width:clamp(15px,4.5cqw,18px)!important;
    height:clamp(15px,4.5cqw,18px)!important;
  }
  :is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .flip-btn > .pp-flip-label{
    font-size:clamp(13px,4cqw,17px)!important;
  }
}

/* R156 | Owner-approved optical micro-tuning: same three-column geometry.
   Increase the quality heading + stars; reduce numeric grade. Shift only the
   visible CTA caption upward by ~1 mm (3.8 CSS px), leaving the button and
   animated arrow exactly in place. Shared by demo and all real picks. */
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .q-label{
  font-size:clamp(14px,4.7cqw,21px)!important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .star{
  width:clamp(18px,5.12cqw,24px)!important;
  height:clamp(18px,5.12cqw,24px)!important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .q-num{
  font-size:clamp(18px,4.8cqw,24px)!important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .flip-btn > .pp-flip-label{
  transform:translateY(-3.8px)!important;
}
@media(max-width:355px){
  :is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .q-label{
    font-size:clamp(13px,4.1cqw,16px)!important;
  }
  :is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .star{
    width:clamp(16px,4.9cqw,19px)!important;
    height:clamp(16px,4.9cqw,19px)!important;
  }
  :is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .q-num{
    font-size:clamp(17px,4.7cqw,20px)!important;
  }
}

/* R157 | Refined reference proportions (demo and every real pick).
   Keep quality heading unchanged; make stars and numeric 4.2 equally
   prominent, and move the enlarged analysis caption into the right-hand
   text stage. Preserve arrow, timer, colors and all shell geometry. */
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .star{
  width:clamp(19px,5.65cqw,26px)!important;
  height:clamp(19px,5.65cqw,26px)!important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .q-num{
  font-size:clamp(22px,5.95cqw,29px)!important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .flip-btn > .pp-flip-label{
  inset:auto 0 auto auto!important;
  top:0!important;
  right:0!important;
  left:auto!important;
  bottom:auto!important;
  width:88%!important;
  height:100%!important;
  padding:0 clamp(10px,2.5cqw,16px)!important;
  font-size:clamp(17px,5.3cqw,24px)!important;
  transform:translateY(-3.8px)!important;
  white-space:nowrap!important;
}
@media(max-width:355px){
  :is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .star{
    width:clamp(16px,5.1cqw,19px)!important;
    height:clamp(16px,5.1cqw,19px)!important;
  }
  :is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .q-num{
    font-size:clamp(18px,5.5cqw,22px)!important;
  }
  :is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .flip-btn > .pp-flip-label{
    width:90%!important;
    font-size:clamp(14px,4.75cqw,18px)!important;
    padding-inline:5px!important;
  }
}
