/* VERCEL DEMO ONLY — one approved 941x1672 card shell for ALL homepage
 * collections. The card artwork is generated from the exact approved PNG;
 * the first model keeps its untouched original SVG.
 * No double-drawn decorative text, no per-model layout drift. */
#freeGrid>.mw-approved-home-card,
#orientalGrid>.mw-approved-home-card,
#grid>.mw-approved-home-card,
#portraits .portrait-grid>.mw-approved-home-card,
.mw-six-gallery-grid>.mw-approved-home-card{
  position:relative!important;display:block!important;
  width:100%!important;min-width:0!important;max-width:none!important;
  height:auto!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  transform:none!important;filter:none!important;
  align-self:start!important;container-type:inline-size;
}
/* The approved 941×1672 art contains a pale screenshot border.
 * The actual gold card starts around x=70..876, y=30..1627.
 * Crop the original as ONE layer, including all actionable hotspots,
 * instead of shrinking image-only CSS or adding a second white wrapper.
 * Values measured against the user-provided gallery screenshot. */
.mw-home-artwork{
  position:relative;display:block;width:100%;height:auto;
  aspect-ratio:806/1597;overflow:hidden;isolation:isolate;
  background:transparent;border-radius:clamp(12px,5cqi,24px);
  box-shadow:0 9px 22px rgba(99,59,27,.13);
}
.mw-home-canvas{
  position:absolute;
  left:-8.6849%;top:-1.8785%;
  width:116.7494%;height:104.6963%;
  container-type:inline-size;
}
.mw-home-canvas>img{
  display:block!important;width:100%!important;height:100%!important;
  object-fit:fill!important;object-position:center!important;
  aspect-ratio:941/1672;max-width:100%;
  transform:none!important;filter:none!important;
  border:0!important;border-radius:0!important;
  pointer-events:none;
}
.mw-home-title{
  position:absolute;z-index:2;
  left:14.9%;top:59.6%;height:4.25%;width:57.5%;
  display:flex;align-items:center;margin:0;padding:0;
  color:#4a2917;
  font:700 5.25cqi/1.08 Georgia,"Times New Roman",serif;
  text-shadow:0 1px rgba(255,249,238,.8);
  letter-spacing:-.02em;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;pointer-events:none;
}
.mw-home-title.long{font-size:4.25cqi}
.mw-home-title.very-long{font-size:3.6cqi}
.mw-home-title.sr-only{
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;
}
.mw-home-hotspot{
  position:absolute;z-index:4;display:block;
  margin:0;padding:0;border:0;background:transparent;
  color:transparent;font-size:0;
  border-radius:17px;cursor:pointer;
  appearance:none;isolation:isolate;overflow:hidden;
  touch-action:manipulation;-webkit-tap-highlight-color:transparent;
}
.mw-home-hotspot:focus-visible{
  outline:2px solid #694020!important;outline-offset:-3px!important;
}
/* Same Éclat d'Or single-pass shimmer on all available controls. */
.mw-home-hotspot:not(.favorite)::before{
  content:"";position:absolute;inset:-4% 0;pointer-events:none;
  border-radius:inherit;opacity:0;
  background:linear-gradient(105deg,transparent 27%,
    rgba(255,247,213,.03) 35%,rgba(255,249,226,.14) 42%,
    rgba(255,255,245,.38) 48%,rgba(255,237,178,.26) 52%,
    rgba(255,231,171,.07) 61%,transparent 70%);
  transform:translateX(-130%);will-change:transform,opacity;
}
.mw-home-hotspot:not(.favorite)::after{
  content:"";position:absolute;inset:3% 1.5%;border-radius:inherit;
  pointer-events:none;opacity:0;
  background:radial-gradient(ellipse at 50% 55%,rgba(255,239,196,.085),transparent 75%);
  box-shadow:inset 0 0 0 1px rgba(255,226,158,.24),inset 0 0 16px rgba(255,222,157,.16);
  transition:opacity .3s ease;
}
.mw-home-hotspot:not(.favorite):is(:hover,:focus-visible,:active)::after{opacity:1}
.mw-home-hotspot:not(.favorite):active::after{
  background:radial-gradient(ellipse,rgba(255,236,181,.19),transparent 75%);
}
@media(prefers-reduced-motion:no-preference){
  .mw-home-hotspot:not(.favorite):is(:hover,:focus-visible)::before{
    animation:gold-glint .88s cubic-bezier(.22,.62,.29,1) 1 both;
  }
}
@keyframes gold-glint{
  0%{transform:translateX(-130%);opacity:0}
  16%{opacity:.72}62%{opacity:.86}
  100%{transform:translateX(130%);opacity:0}
}
/* Measured on the *original 941 × 1672 reference*, not guessed per image. */
.mw-home-hotspot.preview{left:12.1%;top:67.25%;width:75.6%;height:5.65%;border-radius:100px}
.mw-home-hotspot.preview::after{inset:4% 1.1%;border-radius:100px}
.mw-home-hotspot.phone{left:12.2%;top:74.55%;width:36.9%;height:11.85%;border-radius:20px}
.mw-home-hotspot.desktop{left:50.9%;top:74.55%;width:36.9%;height:11.85%;border-radius:20px}
.mw-home-hotspot.phone::after,.mw-home-hotspot.desktop::after{inset:4% 2.5% 6%;border-radius:17px}
.mw-home-hotspot.favorite{
  left:75.7%;top:58.55%;width:12.6%;height:6.4%;
  border-radius:50%;overflow:visible;
}
.mw-home-hotspot.favorite::before{
  content:"";position:absolute;inset:8%;pointer-events:none;
  border-radius:50%;opacity:0;transform:scale(.86);
  background:radial-gradient(circle,rgba(255,242,197,.35) 0%,
    rgba(255,212,115,.18) 52%,transparent 75%);
  box-shadow:0 0 12px rgba(181,116,33,.08);
  transition:opacity .25s ease,transform .35s cubic-bezier(.16,.75,.24,1.12);
}
.mw-home-hotspot.favorite:is(:hover,:focus-visible,[aria-pressed="true"])::before{
  opacity:1;transform:scale(1.07);
}
.mw-home-hotspot.favorite[aria-pressed=true]::after{
  content:"♥";position:absolute;inset:0;display:grid;place-items:center;
  color:#9c472b;font:700 4.1cqi/1 Georgia,serif;
  text-shadow:0 1px 1px rgba(255,250,230,.91);pointer-events:none;
}
@media(prefers-reduced-motion:no-preference){
 .mw-home-hotspot.favorite[aria-pressed=true]::after{
   animation:gold-heart .46s cubic-bezier(.2,.7,.24,1.3) both;
 }
}
@keyframes gold-heart{
 0%{opacity:0;transform:scale(.58)}
 60%{opacity:1;transform:scale(1.17)}
 100%{opacity:1;transform:scale(1)}
}
.mw-home-hotspot.desktop[aria-disabled="true"]{
  color:#7b5c3d;font-size:3.2cqi;cursor:not-allowed;
  display:grid;place-items:center;
  text-align:center;line-height:1.2;padding:5%;
  background:linear-gradient(135deg,#fffbf3 0%,#efdcc0 100%);
  box-shadow:inset 0 0 0 1px #ddaf6f;
  border-radius:13px;
}
.mw-home-hotspot.desktop[aria-disabled="true"]::before,
.mw-home-hotspot.desktop[aria-disabled="true"]::after{display:none!important}
@media(prefers-reduced-motion:reduce){
 .mw-home-hotspot::before,.mw-home-hotspot::after{animation:none!important;transition:none!important}
}

/* Unified approved art-card shell: keep the original DOM and the existing
 * filter/favorite/preview handlers. Only replace the visual presentation. */
.mw-art-grid>.mw-art-card.mw-art-approved{
  position:relative!important;padding:0!important;margin:0!important;
  min-width:0!important;max-width:none!important;height:auto!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;transform:none!important;filter:none!important;
  overflow:visible!important;container-type:inline-size;
}
.mw-art-grid>.mw-art-card.mw-art-approved[hidden]{display:none!important}
.mw-art-grid>.mw-art-card.mw-art-approved>:not(.mw-home-artwork){
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:0!important;overflow:hidden!important;
  clip:rect(0 0 0 0)!important;white-space:nowrap!important;
  opacity:0!important;pointer-events:none!important;
}
.mw-art-grid>.mw-art-card.mw-art-approved>.mw-home-artwork{display:block!important}

/* The English galleries share the approved gold shell, but text masks
 * cover the screenshot's French baked captions. They do not shift hotspots. */
.mw-home-en-free{
  position:absolute;z-index:6;left:9.4%;top:3.1%;width:15.4%;height:2.9%;
  display:grid;place-items:center;border-radius:7px;
  background:#fff3df;color:#874511;font:bold 2.8cqi/1 Arial,sans-serif;
  pointer-events:none;
}
.mw-home-hotspot>.mw-home-en-button-copy{
  position:absolute;z-index:5;display:flex;align-items:center;justify-content:center;
  color:#f9e6c8;font:700 5.0cqi/1.15 Georgia,serif;
  inset:12% 8%;border-radius:inherit;
  background:linear-gradient(180deg,#7a3f13,#5e2b0b);
  pointer-events:none;
}
.mw-home-hotspot.phone>.mw-home-en-button-copy,
.mw-home-hotspot.desktop>.mw-home-en-button-copy{
  inset:42% 6% 6%;border-radius:0 0 12px 12px;
  background:linear-gradient(180deg,#fff0d8,#ffefda);
  color:#633d22;flex-direction:column;gap:1px;
  font:700 3.6cqi/1.15 Georgia,serif;
}
.mw-home-hotspot>.mw-home-en-button-copy strong{font-weight:700}
.mw-home-hotspot>.mw-home-en-button-copy small{font:600 2.0cqi/1.2 Georgia,serif}
