/* ProPick R113 — approved-mockup balance pass
   Reference: user-supplied approved UCL mockup (the second screenshot).
   Keeps the current readable, larger logos/gold typography while refining
   optical spacing, restrained neon depth and icon hierarchy.
   Intentionally scoped to the UCL showcase: do not reflow other leagues,
   admin tools, client data or live-pick logic. */

/* A modest +1.3% in height, not a wholesale card re-layout. */
.pp-card:has(> .pp-card-inner > .pp-ucl-demo-exact) > .pp-card-inner {
  aspect-ratio:941 / 1588 !important;
}

/* More even hierarchy in the top rows. The league name is not squeezed into
   the white star-ball: its own line and a guaranteed optical gap. */
.pp-card .pp-ucl-demo-exact .pp-card-meta-line {
  font-size:5.28cqw !important;
  letter-spacing:.005em !important;
  gap:1.75cqw !important;
}
.pp-card .pp-ucl-demo-exact .pp-card-league-title-inner {
  display:flex !important;
  direction:ltr !important;
  gap:2.75cqw !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:0 !important;
  max-width:100% !important;
}
.pp-card .pp-ucl-demo-exact .pp-card-league-crest-wrap {
  flex:0 0 12.6cqw !important;
  width:12.6cqw !important;
  height:12.6cqw !important;
}
.pp-card .pp-ucl-demo-exact .pp-card-league-name {
  display:block !important;
  width:max-content !important;
  max-width:calc(100% - 15.35cqw) !important;
  font-size:5.18cqw !important;
  letter-spacing:-.008em !important;
  word-spacing:.065em !important;
  line-height:1.12 !important;
  white-space:nowrap !important;
}

/* The team names should not seem glued to the calendar. Preserve the team
   crests (and their admin-updatable sources), add a modest quiet gap below. */
.pp-card .pp-ucl-demo-exact .feat-vs {
  top:18.95% !important;
  height:23.8% !important;
}
.pp-card .pp-ucl-demo-exact .feat-vs .circ {
  gap:1.65cqw !important;
}
.pp-card .pp-ucl-demo-exact .feat-vs .circ .tm-name {
  line-height:1.14 !important;
  letter-spacing:-.012em !important;
}

/* A fuller, glossy VS with the correct rounded proportions, but no dirty
   red rectangle/outer halo on the royal-blue background. Keep the original
   commissioned metallic asset and R112's clean outer falloff. */
.pp-card .pp-ucl-demo-exact .feat-vs .vs {
  width:23.4cqw !important;
  height:14.25cqw !important;
  margin-top:2.3cqw !important;
  font-size:8.0cqw !important;
  font-style:normal !important;
  font-weight:900 !important;
  border:0 !important;
  outline:none !important;
  box-shadow:none !important;
  background:url('./ucl-vs-red.webp') center / 100% 100% no-repeat !important;
  filter:none !important;
  text-shadow:0 2px 2px rgba(65,0,8,.75), 0 0 5px rgba(255,241,241,.38) !important;
}

/* Keep the illustrated clock glyph and date/time legible at phone widths. */
.pp-card .pp-ucl-demo-exact .feat-meta {
  top:42.85% !important;
  height:4.65% !important;
  font-size:5.48cqw !important;
}
.pp-card .pp-ucl-demo-exact .pp-ucl-date-time {
  gap:2.2cqw !important;
}
.pp-card .pp-ucl-demo-exact .pp-ucl-meta-part {
  gap:1.35cqw !important;
}
.pp-card .pp-ucl-demo-exact .pp-ucl-meta-icon {
  width:5.55cqw !important;
  height:5.55cqw !important;
}

/* Deep emerald rather than neon-green slab; readable label, calmer digits,
   subtle lacquer finish, measured clearance before the glowing dot. */
.pp-card .pp-ucl-demo-exact .buy-status {
  top:48.18% !important;
  left:6.9% !important;
  width:86.2% !important;
  height:5.75% !important;
  padding:0 2.65cqw !important;
  gap:1.45cqw !important;
  border:1.25px solid rgba(56,235,137,.66) !important;
  background:
    linear-gradient(180deg,rgba(175,255,213,.16) 0%,transparent 42%),
    linear-gradient(180deg,#0a6342 0%,#074831 41%,#043428 75%,#03241f 100%) !important;
  box-shadow:0 1px 7px rgba(0,0,0,.48),0 0 8px rgba(30,221,114,.16),
    inset 0 1px 0 rgba(203,255,227,.35),inset 0 -3px 6px rgba(0,20,17,.55) !important;
}
.pp-card .pp-ucl-demo-exact .buy-status .timer {
  font-size:5.80cqw !important;
  color:#3dff96 !important;
  -webkit-text-fill-color:#3dff96 !important;
  text-shadow:0 0 6px rgba(24,239,121,.38),0 1px 1px #00251b !important;
}
.pp-card .pp-ucl-demo-exact .buy-status .buy-status-label {
  font-size:4.60cqw !important;
  font-weight:900 !important;
  color:#81f8b8 !important;
  -webkit-text-fill-color:#81f8b8 !important;
  text-shadow:0 1px 2px rgba(0,15,12,.9) !important;
}
.pp-card .pp-ucl-demo-exact .buy-status .buy-status-sep {
  opacity:.63 !important;
  color:#a8f7ce !important;
}
.pp-card .pp-ucl-demo-exact .buy-status .dot {
  margin-left:1.15cqw !important;
  width:2.8cqw !important;
  height:2.8cqw !important;
  background:#36f58b !important;
  box-shadow:0 0 7px rgba(33,253,119,.65),inset 0 1px 1px rgba(255,255,255,.38) !important;
}

/* Keep the two bookmaker logos substantial. Let the selection lettering
   breathe inside its gold plate without making it small or losing contrast. */
.pp-card .pp-ucl-demo-exact .feat-odds-row {
  top:54.58% !important;
  height:23.75% !important;
}
.pp-card .pp-ucl-demo-exact .feat-odds-row > div:last-child {
  background-size:103% 80% !important;
  background-position:center bottom !important;
}
.pp-card .pp-ucl-demo-exact .feat-odds-row .lbl {
  font-size:5.78cqw !important;
  line-height:1.1 !important;
}
.pp-card .pp-ucl-demo-exact .feat-odds-row .val.pick-val {
  font-size:7.03cqw !important;
  line-height:1.095 !important;
  width:90% !important;
  max-width:90% !important;
  padding:1.45cqw 1.05cqw .6cqw !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
  text-wrap:balance !important;
}
.pp-card .pp-ucl-demo-exact .feat-odds-row .odds-book .ob-val {
  font-size:6.75cqw !important;
}
.pp-card .pp-ucl-demo-exact .feat-odds-row .odds-book .ob-brand {
  width:12.1cqw !important;
  height:12.1cqw !important;
  flex:0 0 12.1cqw !important;
}

/* The quality strip is one coherent, centered baseline, not three competing
   labels. Avoid reinstating the dividers removed at the user's request. */
.pp-card .pp-ucl-demo-exact .feat-stars {
  top:79.05% !important;
  height:6.45% !important;
  gap:2.35cqw !important;
  padding-inline:1.7cqw !important;
  align-items:center !important;
}
.pp-card .pp-ucl-demo-exact .feat-stars .q-label {
  font-size:4.48cqw !important;
  line-height:1 !important;
}
.pp-card .pp-ucl-demo-exact .feat-stars .q-num {
  font-size:6.25cqw !important;
}
.pp-card .pp-ucl-demo-exact .feat-stars .q-row {
  gap:.55cqw !important;
}
.pp-card .pp-ucl-demo-exact .feat-stars .star {
  width:5.46cqw !important;
  height:5.46cqw !important;
  filter:drop-shadow(0 0 2.7px rgba(255,194,66,.28)) brightness(1.07) !important;
}
.pp-card .pp-ucl-demo-exact .feat-stars :is(.q-label,.stars,.q-row)::before,
.pp-card .pp-ucl-demo-exact .feat-stars :is(.q-label,.stars,.q-row)::after {
  content:none !important;
  display:none !important;
}

/* Symmetrical bottom call to action: explicit text and arrow are separately
   editable, but visually centered like the approved mockup. */
.pp-card:has(.pp-ucl-demo-exact) {
  --ucl-cta-top:87.50%;
  --ucl-cta-height:6.50%;
}
.pp-card .pp-ucl-demo-exact .flip-btn,
.pp-card:has(.pp-ucl-demo-exact) .pp-card-back .flip-btn {
  font-size:5.00cqw !important;
  text-align:center !important;
}

/* A real open/close chevron is the correct mental model for a two-face card.
   Animate the SVG only; the editor must retain independent label/arrow moves. */
.pp-card .flip-btn .arr:has(svg.pp-real-flip-arrow) {
  background:none !important;
  border:0 !important;
  box-shadow:none !important;
}
.pp-card .pp-card-face .flip-btn .arr svg.pp-real-flip-arrow,
.pp-card:has(.pp-ucl-demo-exact) .pp-card-face .flip-btn .arr svg.pp-real-flip-arrow {
  width:90% !important;
  height:90% !important;
  stroke:#fff !important;
  stroke-width:4 !important;
  filter:drop-shadow(0 0 2px rgba(255,255,255,.4)) !important;
  animation:ppR113FlipOpen 1.65s ease-in-out infinite !important;
}
.pp-card .pp-card-back .flip-btn .arr svg.pp-real-flip-arrow,
.pp-card:has(.pp-ucl-demo-exact) .pp-card-back .flip-btn .arr svg.pp-real-flip-arrow {
  animation:ppR113FlipClose 1.65s ease-in-out infinite !important;
}
@keyframes ppR113FlipOpen {
  0%,100% { transform:translateY(-2px); }
  50% { transform:translateY(3px); }
}
@keyframes ppR113FlipClose {
  0%,100% { transform:rotate(180deg) translateY(2px); }
  50% { transform:rotate(180deg) translateY(-3px); }
}
@media (max-width:355px) {
  .pp-card .pp-ucl-demo-exact .pp-card-league-name {font-size:5.0cqw !important;}
  .pp-card .pp-ucl-demo-exact .feat-stars .q-label {font-size:4.30cqw !important;}
  .pp-card .pp-ucl-demo-exact .feat-stars .star {width:5.18cqw !important;height:5.18cqw !important;}
  .pp-card .pp-ucl-demo-exact .buy-status .timer {font-size:5.55cqw !important;}
  .pp-card .pp-ucl-demo-exact .buy-status .buy-status-label {font-size:4.39cqw !important;}
}
@media (prefers-reduced-motion:reduce) {
  .pp-card .pp-card-face .flip-btn .arr svg.pp-real-flip-arrow,
  .pp-card:has(.pp-ucl-demo-exact) .pp-card-face .flip-btn .arr svg.pp-real-flip-arrow {
    animation:none !important;
    transform:none !important;
  }
  .pp-card .pp-card-back .flip-btn .arr svg.pp-real-flip-arrow,
  .pp-card:has(.pp-ucl-demo-exact) .pp-card-back .flip-btn .arr svg.pp-real-flip-arrow {
    transform:rotate(180deg) !important;
  }
}
