/* R180 Golden Card parity.
 * The approved demo's appearance is immutable. The same featCardHtml()
 * renders demo, real and history. Visual-regression browser measurements
 * at 360/393/440px found one inherited real-only discrepancy:
 * real quality strip y = demo y - 0.25cqw.
 * Apply that tiny correction ONLY to non-VIP real cards.
 * VIP cards retain their intentionally taller investment section.
 * No other geometry, typography, art, league colors, bookmaker logo offsets,
 * arrow or green timer is touched.
 */
.pp-card:not(:has(.vip-unit)) .pp-card-front.pp-r132-real.pp-golden-front .feat-stars {
  translate:0 .25cqw !important;
}

/* Extremely long REAL team names must never push outside their fixed logo/name
 * stage. Preserve demo/ordinary team typography and explicitly chosen per-team
 * administrator font sizes. This is content-fitting, not a new card design. */
.pp-card .pp-card-front.pp-r132-real.pp-golden-front .feat-vs .circ
 .tm-name.tm-oversize:not([data-pp-team-size]){
  font-size:clamp(11px,3.35cqw,16px) !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow-wrap:anywhere !important;
  word-break:normal !important;
  white-space:normal !important;
}

/* R184 | Restore the approved Vercel screenshot's ORIGINAL gold plate geometry.
 * The source art is ucl-selection-gold.webp at 96% x 84%, anchored center bottom.
 * R182/R183 overrides (78%/94% and flex selection copy) altered that approved
 * reference. Remove them, letting pp-ucl-demo-exact.css supply the original
 * plate dimensions and original pick typography/line wrapping.
 * The bookmaker logo offsets and horizontal front CTA position remain untouched.
 * Retain only the previously approved vertical CTA caption offset.
 */
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .flip-btn > .pp-flip-label {
  translate:0 -2px !important;
}

/* R185 | Unified headings for both halves of the odds/selection row.
 * Both labels share the same height, font, padding, baseline and alignment.
 * Only typography within the gold pick area is adjusted; preserve the
 * approved 96% x 84% plate, bookmaker rows/logos and the card's box geometry.
 */
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-odds-row > div:first-child > .lbl,
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-odds-row > div:last-child > .lbl {
  flex:0 0 20% !important;
  height:20% !important;
  min-height:0 !important;
  box-sizing:border-box !important;
  padding:0 !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:clamp(17px,4.75cqw,22px) !important;
  font-weight:900 !important;
  line-height:1.1 !important;
  white-space:nowrap !important;
  text-align:center !important;
  transform:none !important;
  translate:none !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-odds-row > div:last-child > .val.pick-val {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
  text-align-last:center !important;
  align-self:center !important;
  width:88% !important;
  max-width:88% !important;
  min-height:0 !important;
  box-sizing:border-box !important;
  margin:0 auto !important;
  padding:0 4px 2px !important;
  font-size:clamp(22px,6.1cqw,29px) !important;
  font-weight:900 !important;
  line-height:1.12 !important;
  overflow-wrap:anywhere !important;
  white-space:normal !important;
}
/* Respect the existing progressively smaller fonts for exceptionally
 * long real recommendations instead of overflowing the fixed gold plate. */
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact .feat-odds-row .val.pick-val.pp-card-pick-fit-1 {
  font-size:clamp(18px,4.7cqw,23px) !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact .feat-odds-row .val.pick-val.pp-card-pick-fit-2 {
  font-size:clamp(16px,4.0cqw,20px) !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact .feat-odds-row .val.pick-val.pp-card-pick-fit-3 {
  font-size:clamp(14px,3.45cqw,18px) !important;
}

/* R186 | Larger gold insert and owner-approved centered typography.
 * Scope: gold selection cell ONLY. Keep the two heading baselines from R185,
 * card height, odds column and bookmaker logos completely unchanged.
 * Restore metallic prominence without changing the underlying artwork.
 */
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-odds-row > div:last-child {
  background-size:96% 86% !important;
  padding:0 6px 6px !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-odds-row > div:last-child > .val.pick-val {
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  align-self:center !important;
  text-align:center !important;
  text-align-last:center !important;
  box-sizing:border-box !important;
  width:90% !important;
  max-width:90% !important;
  min-height:0 !important;
  margin:0 auto !important;
  padding:0 4px !important;
  font-size:clamp(24px,6.7cqw,32px) !important;
  font-weight:900 !important;
  line-height:1.08 !important;
  color:#251300 !important;
  -webkit-text-fill-color:#251300 !important;
  text-shadow:0 1px 1px #ffec9d !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact .feat-odds-row .val.pick-val.pp-card-pick-fit-1 {
  font-size:clamp(20px,5.1cqw,25px) !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact .feat-odds-row .val.pick-val.pp-card-pick-fit-2 {
  font-size:clamp(17px,4.3cqw,21px) !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact .feat-odds-row .val.pick-val.pp-card-pick-fit-3 {
  font-size:clamp(15px,3.7cqw,18px) !important;
}

/* R187 | Owner adjustment: slightly less gold, same approved text size.
 * The plate remains bottom-anchored; shift the copy optically upward within
 * its existing cell, without moving either heading or bookmaker artwork.
 */
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-odds-row > div:last-child > .val.pick-val {
  translate:0 -1px !important;
}

/* R188 | Restore the screenshot's restrained gold inset proportions.
 * Gold-only artwork 96% x 86%, original bottom anchor; keep the approved
 * large R186 selection font and R185 equal-height headings unchanged.
 * Optical 1px upward text correction avoids excess upward bias from R187.
 * Bookmaker logos, timer, arrow, card size and VIP access are unaffected.
 */

/* R189 | TEXT ONLY: approved R188 gold geometry stays 96% x 86%.
 * The artwork, its background sizing, padding, odds title, bookmakers and
 * adjacent card slots are deliberately not modified.
 * Center the visible three-line selection against the gold artwork rather
 * than the taller overall cell (the heading occupies the upper fifth).
 */
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-odds-row > div:last-child > .val.pick-val {
  font-size:clamp(26px,7.05cqw,34px) !important;
  line-height:1.08 !important;
  font-weight:900 !important;
  letter-spacing:-.025em !important;
  text-align:center !important;
  text-align-last:center !important;
  justify-content:center !important;
  align-items:center !important;
  translate:0 -5px !important;
}
/* Keep long recommendations comfortably inside the immutable gold plate. */
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact .feat-odds-row .val.pick-val.pp-card-pick-fit-1 {
  font-size:clamp(20px,5.1cqw,25px) !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact .feat-odds-row .val.pick-val.pp-card-pick-fit-2 {
  font-size:clamp(17px,4.3cqw,21px) !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact .feat-odds-row .val.pick-val.pp-card-pick-fit-3 {
  font-size:clamp(15px,3.7cqw,18px) !important;
}

/* R190 | Subtle text-only optical adjustment requested by owner.
 * R188 gold plate dimensions remain untouched (96% x 86%).
 * A tiny size increase and 2px upward shift, preserving centered alignment,
 * bookmaker logos, headings and long-pick fit variants.
 */
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-odds-row > div:last-child > .val.pick-val {
  font-size:clamp(26.5px,7.15cqw,34.5px) !important;
  translate:0 -5px !important; /* R192: down ~0.5 mm (2 CSS px) */
}

/* R191 | Rating strip: slightly larger heading and stars, balanced score.
 * Keep the entire bar's original dimensions, golden artwork and dividers.
 * Single three-column plane prevents the score and five stars from crowding.
 * Shared by approved demonstration and published real recommendations.
 */
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars {
  display:grid !important;
  direction:rtl !important;
  grid-template-columns:minmax(0,43%) minmax(0,42%) minmax(0,15%) !important;
  grid-template-rows:minmax(0,1fr) !important;
  align-items:center !important;
  justify-items:center !important;
  column-gap:0 !important;
  padding:2px 1.25cqw !important;
  box-sizing:border-box !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;
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 2px !important;
  box-sizing:border-box !important;
  font-size:clamp(15px,4.95cqw,22px) !important;
  line-height:1.1 !important;
  white-space:nowrap !important;
  text-align:center !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;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:nowrap !important;
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  gap:.06cqw !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .star {
  flex:0 1 auto !important;
  width:clamp(19px,5.85cqw,27px) !important;
  height:clamp(19px,5.85cqw,27px) !important;
  min-width:0 !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;
  height:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  font-size:clamp(21px,5.85cqw,28px) !important;
  line-height:1 !important;
  white-space:nowrap !important;
  font-variant-numeric:tabular-nums !important;
}

/* R193 | Match the owner's cropped section reference (selection + odds + rating).
 * Gold PLATE HEIGHT stays exactly as approved in R188: 86%.
 * The reference gold artwork fills more of the blue cell horizontally, so only
 * the painted image width is adjusted. The betting odds column, logos, title
 * baselines, entire card and rating rail frame remain unchanged.
 */
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-odds-row > div:last-child {
  background-size:96% 86% !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-odds-row > div:last-child > .val.pick-val {
  width:94% !important;
  max-width:94% !important;
  padding-inline:2px !important;
  font-size:clamp(28px,7.8cqw,37px) !important;
  line-height:1.075 !important;
  letter-spacing:-.025em !important;
  translate:0 -5px !important;
}
/* Dynamic long real-pick typography retains its existing fit classes; never
 * allow a long recommendation to overflow this fixed-height gold slot. */
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact .feat-odds-row .val.pick-val.pp-card-pick-fit-1 {
  font-size:clamp(20px,5.1cqw,25px) !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact .feat-odds-row .val.pick-val.pp-card-pick-fit-2 {
  font-size:clamp(17px,4.3cqw,21px) !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact .feat-odds-row .val.pick-val.pp-card-pick-fit-3 {
  font-size:clamp(15px,3.7cqw,18px) !important;
}
/* Keep five stars and numeric rating on the same line at narrow mobile sizes;
 * R191's approved sizes and split lines are intentionally unchanged. */
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-stars .stars {
  gap:0 !important;
}

/* R194 | Odds figures only. Keep Winner and Bet365 logo geometry untouched.
 * Both values are tabular, identical in size and share an optical baseline.
 * Use the existing left number column, without moving either bookmaker row.
 */
:is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-odds-row .odds-books .odds-book .ob-val {
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  justify-self:stretch !important;
  align-self:center !important;
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  margin:0 !important;
  padding-inline-start:clamp(5px,1.2cqw,7px) !important;
  font-family:'Heebo','Rubik',Arial,sans-serif !important;
  font-size:clamp(22px,6.5cqw,31px) !important;
  font-weight:900 !important;
  font-variant-numeric:tabular-nums lining-nums !important;
  line-height:1 !important;
  letter-spacing:0 !important;
  white-space:nowrap !important;
  translate:0 -1px !important;
}
/* At small mobile widths keep space for 4 digits without touching logos. */
@media (max-width:365px) {
  :is(#featPick,.pp-card) .pp-card-front.pp-ucl-demo-exact .feat-odds-row .odds-books .odds-book .ob-val {
    font-size:clamp(19px,6.1cqw,23px) !important;
    padding-inline-start:2px !important;
  }
}

/* R195 | Real cards use the same single pre-rendered bookmaker plate as demo.
 * R170 originally added a second border/background only to .pp-r132-real,
 * producing a measurable +1px offset and -2px width in real odds numerals.
 * Remove ONLY that duplicate layer; keep approved original blue artwork,
 * bookmaker logo offsets, numeric styles, and VIP expansion untouched.
 */
.pp-card .pp-card-front.pp-r132-real.pp-ucl-demo-exact .feat-odds-row .odds-books .odds-book {
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

/* R202 | Only real recommendation cards. Never matches the locked demo.
   Pending items without a public kickoff use a no-data-close status.
   Earlier R103 !important rules erroneously put a glossy green 5.5%-high
   pill at 51%, covering the odds/selection headings at 54.1%.
   The proper [data-close] timer already uses the quiet 47.4% track.
   Make both states occupy that same track without modifying any artwork,
   bookmaker plate, odds values, league skins, or approved demo geometry. */
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact
 .buy-status:not([data-close]) {
  top:47.4% !important;
  left:6.5% !important;
  width:87% !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:none !important;
  box-shadow:none !important;
  outline:0 !important;
  text-shadow:none !important;
  gap:clamp(4px,1.4cqw,7px) !important;
  line-height:1.15 !important;
  white-space:nowrap !important;
  transform:none !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact
 .buy-status:not([data-close])::before,
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact
 .buy-status:not([data-close])::after {
  content:none !important;
  display:none !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact
 .buy-status:not([data-close]) > span:not(.dot) {
  color:#39ff14 !important;
  -webkit-text-fill-color:#39ff14 !important;
  font-weight:850 !important;
  font-size:clamp(13px,3.75cqw,17px) !important;
  line-height:1.15 !important;
  letter-spacing:0 !important;
  text-shadow:0 1px 3px #001d0c !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact
 .buy-status:not([data-close]) .dot {
  width:8px !important;
  height:8px !important;
  flex:0 0 8px !important;
  background:#39ff14 !important;
  box-shadow:none !important;
}
/* The original 54.1% odds and gold selection panel coordinates are unchanged. */


/* R203 | Only actual locked picks. Demo and unlocked selections untouched.
   Center the lock and precisely two caption lines within the existing gold
   inset. Do not change the plate artwork or its position/dimensions. */
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact
 .feat-odds-row > div:last-child > .val.pick-val.pp-locked-selection {
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:clamp(4px,.95cqw,8px) !important;
  width:88% !important;
  max-width:88% !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 auto !important;
  padding:0 2px 4px !important;
  transform:none !important;
  translate:0 0 !important;
  font-size:clamp(16px,4.7cqw,25px) !important;
  line-height:1.08 !important;
  font-weight:900 !important;
  letter-spacing:-.025em !important;
  text-align:center !important;
  text-align-last:center !important;
  white-space:normal !important;
  overflow-wrap:normal !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact
 .feat-odds-row .pp-locked-selection .pp-locked-selection-icon {
  display:block !important;
  flex:0 0 auto !important;
  font-size:clamp(18px,4.9cqw,26px) !important;
  line-height:1 !important;
  text-align:center !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact
 .feat-odds-row .pp-locked-selection .pp-locked-selection-caption {
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:0 !important;
  width:100% !important;
  min-width:0 !important;
  text-align:center !important;
}
:is(#featPick,.pp-card) .pp-card-front.pp-r132-real.pp-ucl-demo-exact
 .feat-odds-row .pp-locked-selection .pp-locked-selection-caption > span {
  display:block !important;
  width:100% !important;
  white-space:nowrap !important;
  line-height:1.1 !important;
  text-align:center !important;
}
