/* ProPick R105 - FINAL mobile optical refinement of the UCL example card.
   Scoped strictly to the existing showcase. Nothing here changes the admin,
   live-pick data, business logic, other leagues or the flip contract. */

/* A few extra millimetres of vertical breathing room. Keep the same original
   commissioned artwork, glossy sapphire panels and metallic source images. */
.pp-card:has(> .pp-card-inner > .pp-ucl-demo-exact) > .pp-card-inner {
  aspect-ratio:941 / 1568 !important;
}

/* Slightly wider and more substantial red VS, while preserving crest space. */
.pp-card .pp-ucl-demo-exact .feat-vs {
  top:18.9% !important;
  height:23.9% !important;
  column-gap:1cqw !important;
}
.pp-card .pp-ucl-demo-exact .feat-vs .vs {
  width:27.2cqw !important;
  height:15.8cqw !important;
  margin-top:1.35cqw !important;
  min-width:0 !important;
  max-width:none !important;
  background:url('./ucl-vs-red.webp') center / 100% 100% no-repeat !important;
  filter:drop-shadow(0 0 4px rgba(248,24,58,.52)) !important;
  font-size:8.8cqw !important;
  line-height:1 !important;
}

/* Lower both kickoff time and the timer about 5-6 visual px on a modern phone,
   keeping the exact calendar + clock icon supplied in the source. */
.pp-card .pp-ucl-demo-exact .feat-meta {
  top:42.2% !important;
  height:4.9% !important;
}
.pp-card .pp-ucl-demo-exact .buy-status {
  top:47.8% !important;
  left:6.9% !important;
  width:86.2% !important;
  height:6.05% !important;
  display:flex !important;
  flex-direction:row !important;
  direction:ltr !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:1.3cqw !important;
  padding:0 2.6cqw !important;
  border:1.5px solid #0ea96a !important;
  border-radius:999px !important;
  background:
    linear-gradient(180deg,rgba(100,255,180,.19) 0%,rgba(46,198,117,.07) 30%,transparent 52%),
    linear-gradient(180deg,#0b6447 0%,#043d32 34%,#032a27 68%,#031e22 100%) !important;
  box-shadow:
    0 0 0 1px rgba(2,66,48,.24),
    0 2px 10px rgba(0,226,100,.17),
    0 5px 9px rgba(0,0,0,.42),
    inset 0 1.3px 0 rgba(184,255,215,.31),
    inset 0 -3px 6px rgba(0,13,17,.73) !important;
}
.pp-card .pp-ucl-demo-exact .buy-status .timer {
  order:1 !important;
  flex:0 1 auto !important;
  font-size:5.95cqw !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:0 !important;
  font-variant-numeric:tabular-nums !important;
  color:#17ff8b !important;
  -webkit-text-fill-color:#17ff8b !important;
  text-shadow:0 0 7px rgba(4,255,110,.46),0 1px 1px #032616 !important;
}
.pp-card .pp-ucl-demo-exact .buy-status .buy-status-sep {
  order:2 !important;
  flex:0 0 auto !important;
  color:#b3f8d3 !important;
  opacity:.7 !important;
  font-size:4.45cqw !important;
  font-weight:400 !important;
  margin-inline:.1cqw !important;
}
.pp-card .pp-ucl-demo-exact .buy-status .buy-status-label {
  order:3 !important;
  flex:0 1 auto !important;
  min-width:0 !important;
  font-size:4.95cqw !important;
  font-weight:900 !important;
  line-height:1 !important;
  color:#3dfc9d !important;
  -webkit-text-fill-color:#3dfc9d !important;
  text-shadow:0 1px 2px rgba(0,19,13,.92) !important;
  white-space:nowrap !important;
}
.pp-card .pp-ucl-demo-exact .buy-status .dot {
  order:4 !important;
  flex:0 0 auto !important;
  width:2.9cqw !important;
  height:2.9cqw !important;
  min-width:8px !important;
  min-height:8px !important;
  max-width:13px !important;
  max-height:13px !important;
  background:#0aff81 !important;
  box-shadow:0 0 7px rgba(0,255,108,.8),0 0 2px rgba(190,255,202,.9) !important;
}
/* Non-countdown states retain normal text/colour meaning. */
.pp-card .pp-ucl-demo-exact .buy-status:not([data-close]) {
  justify-content:center !important;
}

/* R107: keep the gold selection plate the same optical height as the two
   bookmakers' odds cells combined, while leaving the header breathing room. */
.pp-card .pp-ucl-demo-exact .feat-odds-row {
  top:54.3% !important;
  height:23.9% !important;
}
.pp-card .pp-ucl-demo-exact .feat-odds-row > div:last-child {
  background-image:url('./ucl-selection-gold.webp') !important;
  background-size:103% 80% !important;
  background-position:center bottom !important;
  background-repeat:no-repeat !important;
}
.pp-card .pp-ucl-demo-exact .feat-odds-row .lbl {
  font-size:5.95cqw !important;
  font-weight:900 !important;
  line-height:1.06 !important;
  min-height:0 !important;
  flex-basis:20% !important;
  padding-top:0 !important;
}
.pp-card .pp-ucl-demo-exact .feat-odds-row .val.pick-val {
  font-size:7.6cqw !important;
  font-weight:900 !important;
  line-height:1.055 !important;
  letter-spacing:-.013em !important;
  width:92% !important;
  max-width:92% !important;
  padding:1.25cqw .35cqw .18cqw !important;
  color:#030200 !important;
  -webkit-text-fill-color:#030200 !important;
  text-shadow:0 .4px 0 rgba(255,244,180,.5) !important;
}

/* The bookmaker marks should fill their slots without touching the odds. */
.pp-card .pp-ucl-demo-exact .feat-odds-row .odds-book {
  padding:0 2.9cqw 0 2.3cqw !important;
  gap:1cqw !important;
}
.pp-card .pp-ucl-demo-exact .feat-odds-row .odds-book .ob-brand {
  width:12.35cqw !important;
  height:12.35cqw !important;
  min-width:0 !important;
  flex:0 0 12.35cqw !important;
  padding:0 !important;
  background:none !important;
  overflow:visible !important;
}
.pp-card .pp-ucl-demo-exact .feat-odds-row .odds-book .ob-logo {
  width:100% !important;
  height:100% !important;
  display:block !important;
  object-fit:contain !important;
  border-radius:1.5cqw !important;
}

/* No vertical separators. Harmonise the size and centre-line of all three
   quality elements, even at 320px and with a five-star rating. */
.pp-card .pp-ucl-demo-exact .feat-stars {
  gap:2cqw !important;
  padding-inline:2cqw !important;
  justify-content:center !important;
  align-items:center !important;
}
.pp-card .pp-ucl-demo-exact .feat-stars .q-label {
  position:relative !important;
  font-size:4.45cqw !important;
  font-weight:900 !important;
  line-height:1.05 !important;
  white-space:nowrap !important;
}
.pp-card .pp-ucl-demo-exact .feat-stars .q-num {
  font-size:6.55cqw !important;
  font-weight:900 !important;
  line-height:1 !important;
}
.pp-card .pp-ucl-demo-exact .feat-stars .q-row {gap:.7cqw !important;}
.pp-card .pp-ucl-demo-exact .feat-stars .stars {
  gap:.1cqw !important;
  margin:0 !important;
  padding:0 !important;
  position:relative !important;
}
.pp-card .pp-ucl-demo-exact .feat-stars .star {
  width:5.35cqw !important;
  height:5.35cqw !important;
}
.pp-card .pp-ucl-demo-exact .feat-stars .q-label::after,
.pp-card .pp-ucl-demo-exact .feat-stars .stars::before,
.pp-card .pp-ucl-demo-exact .feat-stars .q-row::before,
.pp-card .pp-ucl-demo-exact .feat-stars .q-row::after {
  content:none !important;
  display:none !important;
  background:none !important;
  border:0 !important;
}

/* Exactly the same real arrow on both faces. Never animate its parent: there
   are historical editable inline transforms; move the actual SVG to keep the
   motion visible on phones and preserve the full clickable button. */
.pp-card:has(.pp-ucl-demo-exact) .flip-btn .arr {
  display:grid !important;
  place-items:center !important;
  position:absolute !important;
  left:3.6cqw !important;
  right:auto !important;
  top:0 !important;
  bottom:0 !important;
  margin:auto 0 !important;
  width:6.0cqw !important;
  height:6.0cqw !important;
  transform:none !important;
  animation:none !important;
  background:none !important;
  filter:none !important;
  opacity:1 !important;
  visibility:visible !important;
}
.pp-card:has(.pp-ucl-demo-exact) .flip-btn .arr::before,
.pp-card:has(.pp-ucl-demo-exact) .flip-btn .arr::after {
  content:none !important;
  display:none !important;
  background:none !important;
  animation:none !important;
}
.pp-card:has(.pp-ucl-demo-exact) .flip-btn .arr svg {
  display:block !important;
  width:100% !important;
  height:100% !important;
  stroke:#fff !important;
  stroke-width:3.4 !important;
  opacity:1 !important;
  overflow:visible !important;
  transform:translateY(0);
  animation:ppR104Chevron 1.22s ease-in-out infinite !important;
  filter:drop-shadow(0 0 3px rgba(255,255,255,.5));
  will-change:transform,filter;
}
@keyframes ppR104Chevron {
  0%,100% {transform:translateY(0);filter:drop-shadow(0 0 3px rgba(255,255,255,.5));}
  50% {transform:translateY(5px);filter:drop-shadow(0 0 7px rgba(255,255,255,.85));}
}
@media(max-width:355px) {
  .pp-card .pp-ucl-demo-exact .feat-odds-row .lbl {font-size:5.7cqw !important;}
  .pp-card .pp-ucl-demo-exact .buy-status .timer {font-size:5.75cqw !important;}
  .pp-card .pp-ucl-demo-exact .buy-status .buy-status-label {font-size:4.55cqw !important;}
  .pp-card .pp-ucl-demo-exact .feat-stars .q-label {font-size:4.5cqw !important;}
  .pp-card .pp-ucl-demo-exact .feat-stars .star {width:5.1cqw !important;height:5.1cqw !important;}
}
@media(prefers-reduced-motion:reduce) {
  .pp-card:has(.pp-ucl-demo-exact) .flip-btn .arr svg {animation:none !important;}
}
