/* Optional color studies on the isolated Meet preview. */
#meet.spine-review {
  --ice:#195672;
  background:#d0dfe6 linear-gradient(109deg,#dfe9ed 3%,#d3e1e8 43%,#adc4d1 88%,#b5cbd6);
}
#meet.spine-review .optical-glow {
  background:radial-gradient(ellipse closest-side at 50% 48%,#446b81 0%,#64859a 45%,#7395a899 74%,transparent 120%);
}
#meet.spine-review .spine-intro h2 {color:#10364f;}
#meet.spine-review .spine-intro h2 em {color:#235e74!important;-webkit-text-fill-color:#235e74;}
#meet.spine-review .spine-intro p:not(.eyebrow,.spine-hint) {color:#304e60;}
#meet.spine-review .spine-intro :is(.eyebrow,.spine-hint),#meet.spine-review .spine-hint::before {color:#315a6d;}
#meet.spine-review .spine-intro .eyebrow::before {background:#52798e;}
#meet.spine-review .spine-caption,#meet.spine-review .spine-controls button,#meet.spine-review .spine-facts .fact {color:#24485c;}
#meet.spine-review .spine-controls button[aria-pressed=true],#meet.spine-review .spine-controls button:hover {color:#092f45;}
#meet.spine-review .zoom-track {background:#718c9c;}
#meet.spine-review .zoom-track i,#meet.spine-review .zoom-track::before,#meet.spine-review .zoom-track::after {background:#25586e;}
#meet.spine-review .spine-facts,#meet.spine-review .spine-facts .fact + .fact {border-color:#7f9baa;}
#meet.spine-review .spine-facts svg {color:#276075;}
html:has(link[data-surface=pearl]) #meet.spine-review {background:linear-gradient(110deg,#f8fafb,#f1f5f6 60%,#e5edf0);}
html:has(link[data-surface=pearl]) #meet.spine-review .optical-glow {background:radial-gradient(ellipse closest-side,#a9bfca88,transparent 110%);}

html:has(link[data-surface=satin]) #meet.spine-review {
  background:#e4ebee linear-gradient(100deg,#e4ebee 0%,#e4ebee 27%,#d2dfe4 51%,#acbfca 78%,#a8bec9 100%);
}
html:has(link[data-surface=satin]) #meet .optical-glow {display:none;}
html:has(link[data-surface=satin]) #meet .objective {
  background:#173d52 linear-gradient(135deg,#21495d,#173d52 62%,#15374b);
}

/* Stationary studio light behind the specimen, registered to the figure at every width. */
html:has(link[data-surface=studio]) #meet.spine-review {
  background:linear-gradient(108deg,#f1f4f5 0%,#e7edef 40%,#cbd7de 77%,#e0e7eb 100%);
}
html:has(link[data-surface=studio]) #meet .anatomy-plate::before {
  content:"";
  position:absolute;
  inset:0;
  height:var(--frame);
  pointer-events:none;
  mask-image:linear-gradient(transparent,#000 13%,#000 80%,transparent),linear-gradient(90deg,transparent,#000 12%,#000 84%,transparent);
  mask-composite:intersect;
  background:radial-gradient(ellipse 51% var(--light-height,61%) at 54% 45%,
    #355369 0%,#4c6b7e 29%,#7792a2db 56%,#96acb968 78%,transparent 100%);
}
html:has(link[data-surface=studio]) #meet .optical-glow {display:none;}
html:has(link[data-surface=studio]) #meet .objective {
  background:linear-gradient(122deg,#264b61,#112f43 76%);
}
html:has(link[data-refined-lens=soft]) #meet .objective {
  background:linear-gradient(122deg,#93a8b5,#708999);
}
#meet .lens-navy {
  position:absolute;
  inset:0;
  opacity:0;
  background:linear-gradient(122deg,#264b61,#112f43 76%);
}
@media(max-width:760px) {
  html:has(link[data-surface=satin]) #meet.spine-review {
    background:#a8bec9 linear-gradient(180deg,#e4ebee 0%,#e4ebee 105px,#d5e1e6 340px,#a8bec9 770px);
  }
  html:has(link[data-surface=studio]) #meet.spine-review {
    background:linear-gradient(110deg,#ecf1f3,#d8e2e7 78%,#e1e8eb);
  }
  html:has(link[data-surface=studio]) #meet .anatomy-plate::before {
    --light-height:min(44%,58vw);
  }
}

/* Size the pool of light to the anatomy, even in a tall, narrow figure. */
#meet.refined-lens .anatomy-plate {container-type:inline-size;}
html:has(link[data-refined-lens]) #meet .anatomy-plate::before {
  top:calc(var(--frame) * .51);
  bottom:auto;
  height:min(var(--frame),82cqw);
  transform:translateY(-50%);
  background:radial-gradient(ellipse 61% 52% at 56% 50%,
    #4c687b 0%,#748c9c 32%,#92a9b6c9 59%,#bac9d252 81%,transparent 100%);
}
#meet.refined-lens :is(.objective,.lens-rim) {opacity:0;}
#meet.refined-lens .lens-rim {box-shadow:inset 0 0 0 1px #e0eff4ba;}
#meet.refined-lens .lens-rim::before,#meet.refined-lens .lens-rim::after {content:none;}
#meet.polished-layout .spine-facts .fact svg {
  width:28px;height:28px;flex:0 0 28px;
  stroke-width:1.65;
  transform:none;
}
@media (min-width:761px) and (max-width:1100px) {
  #meet.polished-layout .spine-track {
    grid-template-columns:minmax(0,.90fr) minmax(0,1.10fr);
  }
  #meet.polished-layout .spine-caption {margin-top:-16px;position:relative;}
}
@media (max-width:760px) {
  #meet.polished-layout .spine-facts {padding-bottom:14px;}
  #meet.polished-layout .spine-facts .fact {align-items:center;justify-content:flex-start;gap:8px;}
}
@media(max-width:760px) {
  html:has(link[data-refined-lens]) #meet.spine-review {
    --frame:min(clamp(244px,57svh,510px),100vw);
  }
  #meet.refined-lens .spine-caption {margin-bottom:3px;}
}
