/* live1: isolated opt-in preview; existing site files are not modified. */
@view-transition { navigation: auto; }
html { background-color: #eceff1; }
.struct-header { view-transition-name: live-header; }
[data-live-hero] { view-transition-name: product-hero; }
::view-transition-group(root),
::view-transition-group(live-header),
::view-transition-group(product-hero) {
  animation-duration: 280ms;
  animation-timing-function: cubic-bezier(.2,.7,.25,1);
}
::view-transition-old(root) { animation: live-fade-out 280ms ease both; }
::view-transition-new(root) { animation: live-fade-in 280ms ease both; }
::view-transition-old(live-header) { animation: none; opacity: 0; }
::view-transition-new(live-header) { animation: none; }
::view-transition-old(product-hero), ::view-transition-new(product-hero) {
  height: 100%; object-fit: contain; mix-blend-mode: normal;
  animation-duration: 280ms;
}
@keyframes live-fade-out { to { opacity: 0; } }
@keyframes live-fade-in { from { opacity: 0; } }

/* Above opaque sections; multiply preserves dark text instead of washing it out. */
.live-light {
 position:fixed; left:0; top:0; width:140px; height:140px; z-index:2147483000;
 pointer-events:none; border-radius:50%; opacity:0; mix-blend-mode:multiply;
 background:radial-gradient(circle,rgba(255,255,255,.55) 0%,rgba(0,189,162,.38) 15%,rgba(0,184,222,.32) 35%,rgba(0,189,162,.16) 55%,transparent 72%);
 will-change:transform,opacity;
}
.live-light.is-releasing { transition:opacity 1.2s linear; }
@media (pointer:coarse) { .live-light { width:110px;height:110px; } }
/* Keep normal reading text above 4.5:1 even under the strongest tint. */
body :is(p,small,figcaption,.struct-note,.wb-price-note,.wb-type) { color:#263942; }
[data-live-tilt] { position: relative; }
.live-glare-clip {
  position: absolute; inset: 0; overflow: hidden; border-radius: inherit;
  pointer-events: none; z-index: 1;
}
.live-glare {
  position: absolute; left: 0; top: 0; width: 320px; height: 320px;
  border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.40), rgba(255,255,255,.10) 40%, transparent 70%);
}
[data-live-counter] { font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-live-magnet] { transform: translate3d(0,0,0); transition: none !important; }
  [data-live-tilt] { transition: none !important; }
}
@media (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  [data-live-magnet], [data-live-tilt] { transition: transform 120ms ease !important; }
  [data-live-pressed] { transform: scale(.98) !important; }
  .live-glare-clip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .struct-header, [data-live-hero] { view-transition-name: none !important; }
  .live-light, .live-glare-clip { display: none !important; }
  [data-live-magnet], [data-live-tilt] { transform: none !important; transition: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* Standalone preview uses the original product dialog's unedited content. */
.live-product { margin-top: 24px; padding: clamp(18px,3vw,40px); border-radius: 24px; background: #fff; }
.live-product h1 { font-size: clamp(24px,3vw,40px); line-height: 1.15; margin: 12px 0 24px; }
.live-product .v7-product-visual { margin: 0; }
.live-product .v7-product-visual img { display: block; width: 100%; height: auto; border-radius: 16px; }
.live-product .wb-description-source { white-space: pre-line; }
.live-product .wb-dialog-copy { min-width: 0; }
.live-product .wb-specs { overflow-wrap: anywhere; }
