/* The catalog keeps its approved layout; only its surrounding material changes. */
html body.materials301.materials303.editorial-site.page-materials.material-library254 {
  background: radial-gradient(ellipse at 91% 4%, #21495b 0%, #112e40 24%, #081e30 51%, #061525 82%) !important;
}

html body.materials301.materials303.editorial-site.page-materials.material-library254 main#home {
  position: relative;
  isolation: isolate;
  background: transparent !important;
}

/* The former diagonal wash and hidden category-art surface are not the scene host. */
html body.materials301.materials303.editorial-site.page-materials.material-library254 main#home::before {
  content: none !important;
}

html body.materials301.materials303.editorial-site.page-materials.material-library254 #catalog.catalog-section {
  position: relative;
  z-index: 1;
}

.materials-atmosphere309 {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: clamp(620px, 55vw, 780px);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 680' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='800' y1='360' x2='1500' y2='50' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23749aaf' stop-opacity='.03'/%3E%3Cstop offset='.7' stop-color='%23749aaf' stop-opacity='.17'/%3E%3Cstop offset='1' stop-color='%23d0e8f2' stop-opacity='.25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='url(%23s)' stroke='%23badbe9' stroke-opacity='.18'%3E%3Cpath d='M820 255Q1110 340 1740 190L1480 20Q1120 80 900 50Z'/%3E%3Cpath d='M800 222Q1100 307 1720 157L1460-13Q1100 47 880 17Z'/%3E%3Cpath d='M780 185Q1080 270 1700 120L1440-50Q1080 10 860-20Z'/%3E%3C/g%3E%3C/svg%3E") right top / auto 100% no-repeat;
}

.materials-atmosphere309[data-ready="true"] { background-image: none; }
.materials-atmosphere309 canvas { display: block; width: 100%; height: 100%; }

@media (max-width: 800px) {
  .materials-atmosphere309 { height: 690px; }
}
