/* MORE & CHISMES V7 — Shared homepage / Fan Arena finalists.
   The voting page is the visual reference: horizontal cards, left photo,
   right name/country. No changes to any voting input or state logic. */
#mc26-track .mc5-final-feature-portraits.mc7-ballot-faces,
#mc5-final-home-banner .mc5-final-lower-portraits.mc7-ballot-faces {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 14px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 330px !important;
  min-height: 0 !important;
}
#mc26-track .mc7-ballot-faces .mc7-face,
#mc5-final-home-banner .mc7-ballot-faces .mc7-face {
  position: relative !important;
  display: flex !important;
  align-items: stretch !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(183,169,146,.50) !important;
  border-radius: 13px !important;
  background: linear-gradient(140deg,#0b1724,#030c17) !important;
  box-shadow: inset 0 1px 0 rgba(238,196,117,.045),0 8px 23px rgba(0,0,0,.27) !important;
  color: #fcf5eb !important;
  text-align: left !important;
}
#mc26-track .mc7-ballot-faces .mc7-face-photo,
#mc5-final-home-banner .mc7-ballot-faces .mc7-face-photo {
  position: relative !important;
  display: block !important;
  flex: 0 0 43% !important;
  width: 43% !important;
  align-self: stretch !important;
  min-width: 0 !important;
  overflow: hidden !important;
  background: #091521 url('/round2-media/assets/cardbackground.webp') left center/cover no-repeat !important;
}
#mc26-track .mc7-ballot-faces .mc7-face-photo::before,
#mc5-final-home-banner .mc7-ballot-faces .mc7-face-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 45%,rgba(236,185,96,.26),transparent 40%),
              linear-gradient(90deg,rgba(4,10,18,.08),transparent 45%,rgba(4,10,18,.18) 80%);
  z-index: 0;
  pointer-events: none;
}
#mc26-track .mc7-ballot-faces .mc7-face-photo::after,
#mc5-final-home-banner .mc7-ballot-faces .mc7-face-photo::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: -1px;
  width: 36%;
  background: linear-gradient(90deg,transparent,rgba(6,17,31,.95));
  z-index: 2;
  pointer-events: none;
}
#mc26-track .mc7-ballot-faces .mc7-face-photo > img,
#mc5-final-home-banner .mc7-ballot-faces .mc7-face-photo > img {
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  inset: auto auto -16px -12% !important;
  width: 124% !important;
  height: calc(100% + 34px) !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  object-fit: contain !important;
  object-position: bottom center !important;
  transform: none !important;
  opacity: 1 !important;
  filter: drop-shadow(0 0 3px rgba(245,190,94,.9)) drop-shadow(0 0 12px rgba(205,139,65,.33)) !important;
}
#mc26-track .mc7-ballot-faces .mc7-face-meta,
#mc5-final-home-banner .mc7-ballot-faces .mc7-face-meta {
  position: relative !important;
  z-index: 3 !important;
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 12px 12px 12px 3px !important;
}
#mc26-track .mc7-ballot-faces .mc7-face-name,
#mc5-final-home-banner .mc7-ballot-faces .mc7-face-name {
  display: block !important;
  color: #fcf5eb !important;
  font: 750 clamp(15px,1.45vw,21px)/1.13 'Inter',system-ui,sans-serif !important;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
#mc26-track .mc7-ballot-faces .mc7-face-country,
#mc5-final-home-banner .mc7-ballot-faces .mc7-face-country {
  position: relative;
  display: block;
  margin-top: 13px;
  padding-top: 10px;
  color: #d5d9de !important;
  font: 500 12px/1.3 'Inter',system-ui,sans-serif !important;
}
#mc26-track .mc7-ballot-faces .mc7-face-country::before,
#mc5-final-home-banner .mc7-ballot-faces .mc7-face-country::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg,#dfb26d,rgba(223,178,109,.42),transparent);
}
@media(max-width:920px){
  #mc26-track .mc5-final-feature-portraits.mc7-ballot-faces,
  #mc5-final-home-banner .mc5-final-lower-portraits.mc7-ballot-faces {
    width: min(100%,600px) !important;
    height: 315px !important;
    margin: 0 auto !important;
  }
}
@media(max-width:600px){
  #mc26-track .mc5-final-feature-portraits.mc7-ballot-faces,
  #mc5-final-home-banner .mc5-final-lower-portraits.mc7-ballot-faces {
    height: 260px !important;
    gap: 9px !important;
  }
  #mc26-track .mc7-ballot-faces .mc7-face-name,
  #mc5-final-home-banner .mc7-ballot-faces .mc7-face-name {
    font-size: clamp(14px,4.2vw,18px) !important;
  }
  #mc26-track .mc7-ballot-faces .mc7-face-country,
  #mc5-final-home-banner .mc7-ballot-faces .mc7-face-country {
    font-size: 11px !important;
    margin-top: 9px;
    padding-top: 8px;
  }
}
@media(max-width:360px){
  #mc26-track .mc5-final-feature-portraits.mc7-ballot-faces,
  #mc5-final-home-banner .mc5-final-lower-portraits.mc7-ballot-faces {height:236px!important;}
}

/* MC7_2_FOCUS_PORTRAITS — visual-only crop correction, no ballot changes.
   The transparent actor image retains its own proportions. Scale from a
   point near the head so hair remains inside the horizontal photo window. */
#mc26-track .mc7-ballot-faces .mc7-face:first-child .mc7-face-photo > img,
#mc5-final-home-banner .mc7-ballot-faces .mc7-face:first-child .mc7-face-photo > img {
  transform: scale(1.34) !important;
  transform-origin: 49% 20% !important;
}
#mc26-track .mc7-ballot-faces .mc7-face:nth-child(2) .mc7-face-photo > img,
#mc5-final-home-banner .mc7-ballot-faces .mc7-face:nth-child(2) .mc7-face-photo > img {
  transform: scale(1.27) !important;
  transform-origin: 50% 18% !important;
}
@media (max-width:600px) {
  #mc26-track .mc7-ballot-faces .mc7-face:first-child .mc7-face-photo > img,
  #mc5-final-home-banner .mc7-ballot-faces .mc7-face:first-child .mc7-face-photo > img {
    transform: scale(1.24) !important;
  }
  #mc26-track .mc7-ballot-faces .mc7-face:nth-child(2) .mc7-face-photo > img,
  #mc5-final-home-banner .mc7-ballot-faces .mc7-face:nth-child(2) .mc7-face-photo > img {
    transform: scale(1.19) !important;
  }
}
