/* Actual resource artwork only. Featured Collections' portrait carousel is excluded. */
html body.brand-shop,
html body:has(.product-detail),
html body:has(.scene-detail),
html body:has(.scenes-background) {
  --vxcious-background:#251726;
  --vxcious-surface:#291629;
  --vxcious-text:#FFF4FC;
  --vxcious-pink:#EDA0CE;
  --paper:var(--vxcious-background);
  --ink:var(--vxcious-text);
  --white:var(--vxcious-surface);
}
html body .product-image,
html body .studio-product-art,
html body.brand-preview .studio-product-art,
html body .brand-feature-art > a {
  display:block;
  aspect-ratio:1 / 1;
  overflow:hidden;
  border-radius:8px;
  background:#291629;
}
html body .product-card img.photo,
html body .collection-card img.photo,
html body #gallery > img.photo,
html body .thumbnails img.photo,
html body .cart-item img.photo,
html body .studio-product-art > img,
html body.brand-preview .studio-product-art > img,
html body .brand-feature-art img,
html body .studio-gift-art > img,
html body .scene-card-media img.scene-cover,
html body .scene-detail-media > img.scene-cover,
html body .coming-next-card > img.scene-cover,
html body.brand-preview .studio-scene-cut img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  object-fit:var(--product-cover-fit,contain);
  object-position:center;
  background-color:#291629;
  background-image:none;
  transform:none;
  filter:none;
}
html body img[data-cover-format="square"] { --product-cover-fit:cover; }
html body img[data-cover-format="legacy"] { --product-cover-fit:contain; }
/* Keep the finished artwork free of website badges and hover cropping. */
html body .product-image .badge,
html body .studio-product-art .studio-product-badge { display:none; }
html body .product-image:hover img.photo,
html body .studio-product-art:hover img { transform:none; filter:none; }
html body .brand-feature-art { aspect-ratio:auto; }
html body.brand-preview .brand-feature-art .brand-feature-play { position:static; margin:12px 0 0; min-height:44px; }
html body .product-card,
html body.brand-preview .product-card,
html body.studio-home .studio-product,
html body.brand-preview .studio-product { background:#291629; }
html body #gallery { width:100%; min-width:0; }
html body .thumbnails { flex-wrap:wrap; }
html body .thumbnails button { flex:0 0 80px; }
html body .scene-card-media img.scene-cover,
html body .scene-detail-media > img.scene-cover { border-radius:8px; }
/* These compact upcoming-pack covers retain their existing layout, now square. */
html body .coming-next-card > img.scene-cover { width:100px; flex:none; }
html body.brand-preview .studio-scenes-art { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; }
html body.brand-preview .studio-scene-cut { display:block; }
html body.brand-preview .studio-scene-cut span { padding:12px 3px 4px; }
html body.brand-preview .studio-scenes-label { grid-column:1/-1; }
@media(max-width:900px) {
  html body.brand-preview .studio-scenes-art { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:500px) {
  html body.brand-preview .studio-scenes-art { grid-template-columns:minmax(0,1fr); }
  html body .thumbnails button { flex-basis:64px; }
}
/* Collection and individual scenepack covers use square frames for all upload URLs. */
html body .scene-collection-tile > img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  object-fit:var(--product-cover-fit,contain);
}
html body .scene-card-media > a { display:block; }
/* Let the existing corner sparkle/heart sit outside the card, not outside its photo. */
html body.brand-preview .product-card { overflow:visible; isolation:isolate; }
