/* Stage 2: distinct selection-card art for the two Qyz uzatu adaptations.
   This stylesheet also applies to the public catalogue and category picker.
   An admin-configured demo photo remains visible beneath the design layers. */

/* Sakura Mist: blossom-pink paper, translucent petals and centered calligraphy. */
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-qyz-uzatu-sakura-mist {
  background: #f5dfde;
  color: #674b52;
}
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-photo {
  inset: 0;
  width: 100%;
  height: 100%;
  filter: saturate(.67) sepia(.11) brightness(1.09);
  object-fit: cover;
}
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-art {
  background:
    radial-gradient(ellipse 29% 12% at 18% 13%, rgba(255,232,239,.84), transparent 83%),
    radial-gradient(ellipse 16% 12% at 83% 26%, rgba(255,221,234,.75), transparent 88%),
    radial-gradient(ellipse 27% 18% at 11% 66%, rgba(250,193,211,.46), transparent 86%),
    linear-gradient(180deg, rgba(255,243,240,.91), rgba(245,221,221,.08) 34%, rgba(246,220,228,.24) 54%, rgba(255,241,235,.96) 100%);
}
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-art::before {
  content: "";
  position: absolute;
  inset: 4.7%;
  border: 1px solid rgba(190,124,140,.56);
  border-radius: 49% 49% 2% 2% / 21% 21% 2% 2%;
  box-shadow: inset 0 0 0 4px rgba(255,246,243,.19);
}
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-art::after {
  content: "✿";
  position: absolute;
  top: 16%;
  right: 7%;
  color: #c9869e;
  font-family: Georgia, serif;
  font-size: clamp(27px, 3vw, 42px);
  opacity: .85;
  text-shadow: -23px -18px 0 rgba(198,112,143,.52), -34px 15px 0 rgba(246,202,215,.84), -11px 39px 0 rgba(222,145,166,.47);
  transform: rotate(-22deg);
}
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-copy {
  inset: 9% 9% 9%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  color: #63464e;
  text-shadow: 0 1px 13px rgba(255,240,236,.88);
}
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-copy span {
  font: 600 9px/1.4 "Noto Sans", sans-serif;
  letter-spacing: .25em;
  color: #956876;
}
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-copy strong {
  margin-top: auto;
  margin-bottom: 7px;
  max-width: 100%;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(43px, 5.2vw, 75px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-copy small { display: none; }
.template-card-qyz-uzatu-sakura-mist .qyz-thumb-copy em {
  font: 500 10px/1.4 "Noto Sans", sans-serif;
  letter-spacing: .12em;
  color: #845c6b;
}

/* Aurelia: sculpted ivory portrait, double golden orbit and fine print. */
.template-card-qyz-uzatu-aurelia .qyz-thumb-qyz-uzatu-aurelia {
  background: linear-gradient(135deg, #f8f1e6, #e9d9bf);
  color: #66533d;
}
.template-card-qyz-uzatu-aurelia .qyz-thumb-photo {
  left: 13%;
  top: 14%;
  width: 74%;
  height: 63%;
  border-radius: 48% 48% 45% 45% / 38% 38% 55% 55%;
  object-fit: cover;
  filter: saturate(.60) sepia(.13) brightness(1.04);
  box-shadow: 0 15px 35px rgba(103,74,49,.17);
}
.template-card-qyz-uzatu-aurelia .qyz-thumb-art {
  background:
    radial-gradient(ellipse 83% 59% at 50% 42%, transparent 46%, rgba(248,241,228,.48) 89%),
    linear-gradient(180deg, rgba(251,245,235,.46), transparent 29%, rgba(247,238,222,.03) 53%, rgba(245,235,217,.96) 91%);
}
.template-card-qyz-uzatu-aurelia .qyz-thumb-art::before,
.template-card-qyz-uzatu-aurelia .qyz-thumb-art::after {
  content: "";
  position: absolute;
  inset: 5.5% 8%;
  border: 1px solid rgba(164,129,77,.69);
  border-radius: 50%;
  transform: rotate(-13deg);
}
.template-card-qyz-uzatu-aurelia .qyz-thumb-art::after {
  inset: 7% 6%;
  border-color: rgba(186,152,98,.43);
  transform: rotate(13deg);
}
.template-card-qyz-uzatu-aurelia .qyz-thumb-copy {
  inset: 9% 8% 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #5c4936;
  text-shadow: 0 1px 13px rgba(249,242,229,.94);
}
.template-card-qyz-uzatu-aurelia .qyz-thumb-copy span {
  font: 600 8px/1.4 "Noto Sans", sans-serif;
  letter-spacing: .26em;
  color: #977543;
}
.template-card-qyz-uzatu-aurelia .qyz-thumb-copy strong {
  margin-top: auto;
  margin-bottom: 9px;
  max-width: 100%;
  font: italic 500 clamp(42px, 5.3vw, 73px)/1.04 "Cormorant Garamond", "Playfair Display", Georgia, serif;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.template-card-qyz-uzatu-aurelia .qyz-thumb-copy small { display: none; }
.template-card-qyz-uzatu-aurelia .qyz-thumb-copy em {
  font: 500 10px/1.4 "Noto Sans", sans-serif;
  letter-spacing: .13em;
  color: #8d6c42;
}

@media (prefers-reduced-motion: reduce) {
  .template-card-qyz-uzatu-sakura-mist .qyz-thumb-photo,
  .template-card-qyz-uzatu-aurelia .qyz-thumb-photo {
    transition: none;
    transform: none !important;
  }
}
