/* ProPick R115 — optical corrections requested after R114.
   Scoped to the existing Champions League example only. Preserve editors,
   data, existing card artwork, other league cards and all flip behaviour. */

/* Use the original sapphire streak from the commissioned card background,
   physically relocated inside the artwork. R114's imitation CSS line must
   never paint on top of that artwork. */
.pp-card .pp-card-front.pp-ucl-demo-exact::before {
  background-image:url('./ucl-shell-neon-relocated.webp') !important;
  background-position:center 51.0% !important;
  background-size:100% 100% !important;
  background-repeat:no-repeat !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-meta::before {
  content:none !important;
  display:none !important;
  background:none !important;
  box-shadow:none !important;
}

/* The glossy plate should be substantial, not a stretched red lozenge.
   Restoring the source art's ~1.56:1 aspect ratio retains rounded ends. */
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-vs .vs {
  width:26.3cqw !important;
  height:19.0cqw !important;
  top:52.0% !important;
  left:50% !important;
  margin:0 !important;
  padding:0 !important;
  transform:translate(-50%,-50%) !important;
  font-size:8.45cqw !important;
  font-weight:900 !important;
  line-height:1 !important;
  background:url('./ucl-vs-red.webp') center/100% 100% no-repeat !important;
  border:0 !important;
  box-shadow:none !important;
  filter:none !important;
}

/* Rebalance the recommendation-quality row: replace the harsh hairlines
   with premium glowing micro-pills and keep all three groups optically aligned. */
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars {
  align-items:center !important;
  justify-content:center !important;
  gap:1.85cqw !important;
  padding-block:2px !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .q-row {
  gap:1.95cqw !important;
  align-items:center !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .q-label {
  font-family:'Rubik','Heebo',Arial,sans-serif !important;
  font-size:4.92cqw !important;
  font-weight:800 !important;
  padding:0 !important;
  line-height:1.02 !important;
  align-self:center !important;
  position:relative !important;
  transform:none !important;
  white-space:nowrap !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .q-num {
  font-size:6.16cqw !important;
  line-height:1 !important;
  position:relative !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .stars {
  position:relative !important;
  margin:0 !important;
  gap:.08cqw !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .star {
  width:5.16cqw !important;
  height:5.16cqw !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .q-num::after,
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .stars::after {
  content:'' !important;
  display:block !important;
  position:absolute !important;
  top:50% !important;
  inset-inline-end:-1.06cqw !important;
  width:1.34cqw !important;
  height:.46cqw !important;
  min-width:7px !important;
  min-height:2px !important;
  max-width:11px !important;
  max-height:4px !important;
  transform:translate(50%,-50%) !important;
  border-radius:999px !important;
  background:linear-gradient(90deg,rgba(255,255,255,.12) 0%,rgba(220,241,255,.95) 50%,rgba(255,255,255,.12) 100%) !important;
  box-shadow:0 0 7px rgba(125,205,255,.16) !important;
  opacity:.8 !important;
  pointer-events:none !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .q-label::after,
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .stars::before,
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .q-row::before,
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .q-row::after {content:none !important;display:none !important;}

/* Refine the timer pill so the internal rhythm feels premium and even.
   Use a structured grid instead of uneven flex spacing, and tighten label↔dot. */
:is(#featPick,.pp-card) .pp-ucl-demo-exact .buy-status {
  display:grid !important;
  grid-template-columns:auto auto 1fr auto !important;
  direction:ltr !important;
  align-items:center !important;
  column-gap:.92cqw !important;
  padding:0 2.18cqw 0 2.34cqw !important;
  border:1px solid rgba(107,237,171,.54) !important;
  border-radius:999px !important;
  background:
    linear-gradient(180deg,rgba(197,255,220,.15) 0%,rgba(118,223,167,.05) 29%,transparent 44%),
    linear-gradient(180deg,#0b5a42 0%,#074230 34%,#032c25 70%,#021f1d 100%) !important;
  box-shadow:
    0 0 0 1px rgba(0,29,23,.22),
    0 2px 8px rgba(0,0,0,.32),
    0 0 9px rgba(14,187,104,.1),
    inset 0 1px 0 rgba(231,255,239,.34),
    inset 0 -2px 0 rgba(18,135,88,.14),
    inset 0 -5px 8px rgba(0,17,18,.46) !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .buy-status .timer {
  flex:initial !important;
  font-family:'Rubik',Arial,sans-serif !important;
  font-size:5.56cqw !important;
  font-weight:800 !important;
  letter-spacing:.005em !important;
  color:#49f4a4 !important;
  -webkit-text-fill-color:#49f4a4 !important;
  text-shadow:0 0 5px rgba(17,245,125,.24),0 1px 1px #00251d !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .buy-status .buy-status-sep {
  width:1px !important;
  height:42% !important;
  min-height:12px !important;
  align-self:center !important;
  background:linear-gradient(180deg,transparent 0%,rgba(180,246,206,.52) 20%,rgba(180,246,206,.52) 80%,transparent 100%) !important;
  margin-inline:.9cqw 1.15cqw !important;
  font-size:0 !important;
  text-shadow:none !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .buy-status .buy-status-label {
  flex:initial !important;
  min-width:0 !important;
  margin-left:0 !important;
  justify-self:end !important;
  text-align:right !important;
  font-family:'Rubik','Heebo',Arial,sans-serif !important;
  font-size:4.52cqw !important;
  font-weight:800 !important;
  line-height:1 !important;
  color:#b6ffd8 !important;
  -webkit-text-fill-color:#b6ffd8 !important;
  text-shadow:0 1px 2px rgba(0,22,17,.92),0 0 4px rgba(10,221,112,.1) !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .buy-status .dot {
  flex:initial !important;
  margin:0 0 0 .12cqw !important;
  width:2.48cqw !important;
  height:2.48cqw !important;
  min-width:7px !important;
  min-height:7px !important;
  max-width:11px !important;
  max-height:11px !important;
  background:#38f59a !important;
  box-shadow:0 0 5px rgba(29,251,117,.56),0 0 2px rgba(191,255,212,.38),inset 0 1px 1px rgba(249,255,249,.36) !important;
}
@media(max-width:355px) {
  :is(#featPick,.pp-card) .pp-ucl-demo-exact .buy-status .timer {font-size:5.3cqw !important;}
  :is(#featPick,.pp-card) .pp-ucl-demo-exact .buy-status .buy-status-label {font-size:4.35cqw !important;}
  :is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .q-label {font-size:4.72cqw !important;}
  :is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .q-row {gap:1.72cqw !important;}
}

/* === R117 final mockup lock === */
/* Attach the demo badge to the card edge so it feels integrated, not floating. */
.pp-card .pp-ucl-demo-exact .pp-card-status-tag {
  top:1.95% !important;
  right:1.65% !important;
  font-family:'Rubik','Heebo',Arial,sans-serif !important;
  font-weight:800 !important;
  font-size:3.55cqw !important;
  line-height:1 !important;
  padding:.82cqw 2.35cqw !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,#ffd866 0%,#efc847 100%) !important;
  border:1px solid rgba(255,236,162,.65) !important;
  box-shadow:0 2px 4px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.4) !important;
}

/* Font language closer to the approved mockup: strong premium sans with
   unified weights across the front of the card. */
:is(#featPick,.pp-card) .pp-ucl-demo-exact :is(.pp-card-meta-line,.pp-card-league-name,.feat-vs .circ .tm-name,.feat-meta,.buy-status,.feat-odds-row .lbl,.feat-odds-row .val.pick-val,.feat-odds-row .ob-val,.feat-stars .q-label,.feat-stars .q-num,.flip-btn) {
  font-family:'Rubik','Heebo',Arial,sans-serif !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-vs .circ .tm-name {font-weight:800 !important; letter-spacing:-.02em !important;}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-meta {font-weight:800 !important; letter-spacing:-.02em !important;}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .q-label {font-weight:800 !important;}

/* Restore the mockup timer look and spacing. */
.pp-card:has(.pp-ucl-demo-exact) {--ucl-green:#00ff88;}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .buy-status {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:nowrap !important;
  gap:1.05cqw !important;
  top:50.95% !important;
  left:6.48% !important;
  width:87.05% !important;
  min-height:0 !important;
  padding:.9cqw 2.25cqw .95cqw 2.35cqw !important;
  border:1.6px solid rgba(0,255,140,.72) !important;
  border-radius:999px !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.12) 0%,rgba(255,255,255,0) 42%),
    linear-gradient(180deg,#0a6b3f 0%,#075530 55%,#043a22 100%) !important;
  box-shadow:
    0 0 14px rgba(0,230,120,.4),
    0 2px 5px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(180,255,210,.3),
    inset 0 -5px 8px rgba(0,25,12,.4) !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .buy-status .timer {
  color:#00ff9a !important;
  -webkit-text-fill-color:#00ff9a !important;
  font-weight:900 !important;
  font-size:6.05cqw !important;
  letter-spacing:.015em !important;
  line-height:1 !important;
  text-shadow:0 0 8px rgba(0,255,140,.85), 0 1px 1px rgba(0,20,10,.9) !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .buy-status .buy-status-label {
  color:#a8ffd0 !important;
  -webkit-text-fill-color:#a8ffd0 !important;
  font-weight:800 !important;
  font-size:4.58cqw !important;
  line-height:1 !important;
  text-shadow:0 1px 2px rgba(0,20,10,.8) !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .buy-status .buy-status-sep {
  width:1px !important;
  height:48% !important;
  min-height:14px !important;
  flex:0 0 1px !important;
  background:rgba(160,255,200,.55) !important;
  margin-inline:1.45cqw 1.3cqw !important;
  font-size:0 !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .buy-status .dot {
  width:2.48cqw !important;
  height:2.48cqw !important;
  min-width:8px !important;
  min-height:8px !important;
  max-width:12px !important;
  max-height:12px !important;
  margin:0 0 0 .75cqw !important;
  background:#00ff9a !important;
  box-shadow:0 0 8px rgba(0,255,154,.95) !important;
}

/* Bring back the mockup-style vertical separators, but align them precisely. */
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars {
  gap:2.45cqw !important;
  padding:2px 2.6cqw !important;
  justify-content:center !important;
  align-items:center !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .q-row {
  gap:.18cqw !important;
  align-items:center !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .q-num {
  font-size:6.08cqw !important;
  line-height:1 !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .star {
  width:5.45cqw !important;
  height:5.45cqw !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .q-label {
  position:relative !important;
  font-size:4.82cqw !important;
  line-height:1.02 !important;
  white-space:nowrap !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .stars {
  position:relative !important;
  margin-left:2.85cqw !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .q-label::after,
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .stars::before {
  content:"" !important;
  position:absolute !important;
  top:50% !important;
  width:1.3px !important;
  height:6.7cqw !important;
  min-height:24px !important;
  max-height:30px !important;
  transform:translateY(-50%) !important;
  background:linear-gradient(180deg,rgba(190,225,255,0),rgba(200,230,255,.82) 24%,rgba(200,230,255,.82) 76%,rgba(190,225,255,0)) !important;
  pointer-events:none !important;
}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .q-label::after {left:-1.55cqw !important;}
:is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .stars::before {left:-1.7cqw !important;}

@media(max-width:355px){
  :is(#featPick,.pp-card) .pp-ucl-demo-exact .buy-status .timer {font-size:5.8cqw !important;}
  :is(#featPick,.pp-card) .pp-ucl-demo-exact .buy-status .buy-status-label {font-size:4.4cqw !important;}
  :is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .q-label {font-size:4.62cqw !important;}
  :is(#featPick,.pp-card) .pp-ucl-demo-exact .feat-stars .q-num {font-size:5.9cqw !important;}
}
