.component-lab-section > .section-heading-row > p {
  max-width: 470px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.component-lab-mount {
  min-height: 690px;
}

.component-lab-loading {
  display: grid;
  min-height: 690px;
  margin: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 32px;
  color: var(--ink-soft);
  background: rgba(11, 8, 17, .76);
}

.component-lab {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(205, 176, 240, .22);
  border-radius: 32px;
  background: rgba(8, 7, 13, .9);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
  backdrop-filter: blur(22px);
}

.component-lab-tabs {
  display: grid;
  align-content: start;
  gap: 4px;
  max-height: 610px;
  padding: 14px;
  overflow: auto;
  border-right: 1px solid rgba(205, 176, 240, .14);
  scrollbar-color: rgba(168, 85, 247, .46) transparent;
  scrollbar-width: thin;
}

.component-lab-tabs button {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #b9b1c7;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 680;
  text-align: left;
  transition: color .18s, background .18s, border-color .18s, transform .18s;
}

.component-lab-tabs button:hover {
  color: #fff;
  background: rgba(168, 85, 247, .09);
  transform: translateX(2px);
}

.component-lab-tabs button[aria-selected="true"] {
  border-color: rgba(111, 232, 225, .24);
  color: #fff;
  background: linear-gradient(100deg, rgba(168, 85, 247, .2), rgba(111, 232, 225, .08));
}

.component-lab-tabs button span {
  color: #7b718b;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 8px;
}

.component-lab-tabs button[aria-selected="true"] span { color: var(--cyan); }

.component-lab-stage {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 610px;
  overflow: hidden;
  place-items: stretch;
  background: #0b0a10;
  isolation: isolate;
}

.component-lab-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 72% 18%, rgba(123, 72, 210, .18), transparent 34%), radial-gradient(circle at 18% 82%, rgba(49, 186, 191, .1), transparent 30%);
}

.component-lab-source {
  grid-column: 1 / -1;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
  border-top: 1px solid rgba(205, 176, 240, .14);
  background: rgba(13, 10, 20, .96);
}

.component-lab-source > div { display: grid; gap: 3px; min-width: 0; }
.component-lab-source span { font-size: 12px; font-weight: 760; }
.component-lab-source code { overflow: hidden; color: #776f84; font-family: "Cascadia Code", Consolas, monospace; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.component-lab-source a { flex: 0 0 auto; padding: 10px 13px; border: 1px solid rgba(205, 176, 240, .2); border-radius: 11px; color: #d5cae3; background: rgba(255, 255, 255, .035); font-size: 10px; font-weight: 720; }
.component-lab-source a:hover { border-color: rgba(111, 232, 225, .4); color: #fff; }

.lab-center {
  display: grid;
  width: 100%;
  min-height: 610px;
  padding: 30px;
  place-items: center;
}

.lab-atc-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  align-items: center;
  gap: 18px;
  width: min(100% - 48px, 620px);
  min-height: 610px;
  margin: auto;
}

.lab-atc-status > span { width: 18px; height: 18px; border-radius: 50%; background: #5b5662; }
.lab-atc-status > span.is-live { background: #52e3bd; box-shadow: 0 0 0 7px rgba(82, 227, 189, .1), 0 0 28px rgba(82, 227, 189, .55); }
.lab-atc-status p { display: grid; gap: 7px; margin: 0; }
.lab-atc-status b { font-size: clamp(25px, 4vw, 42px); letter-spacing: -.045em; }
.lab-atc-status small { color: var(--ink-soft); font-size: 12px; }
.lab-atc-status code { grid-column: 2; width: max-content; padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; color: #b99ae0; background: rgba(168, 85, 247, .08); font-family: "Cascadia Code", Consolas, monospace; font-size: 8px; }

.lab-tilt-card {
  position: relative;
  overflow: hidden;
  will-change: transform;
  transform-style: preserve-3d;
}
.lab-tilt-demo { width: min(100%, 340px); min-height: 398px; padding: 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: #17141e; box-shadow: 0 32px 64px rgba(0,0,0,.46); }
.lab-tilt-copy { position: relative; z-index: 20; }
.lab-tilt-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 64px; }
.lab-tilt-meta span { padding: 4px 12px; border-radius: 999px; color: #151219; background: #f5f3f7; font-size: 12px; font-weight: 500; }
.lab-tilt-meta small { color: #928b9a; font-size: 14px; }
.lab-tilt-copy h3 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.025em; }
.lab-tilt-copy p { margin: 12px 0 0; color: #928b9a; font-size: 14px; line-height: 1.5rem; }
.lab-tilt-spotlight { position: absolute; inset: 0; z-index: 10; overflow: hidden; pointer-events: none; transition: opacity .3s; }
.lab-tilt-spotlight > div { position: absolute; width: 200%; height: 200%; border-radius: 50%; opacity: .5; background: radial-gradient(circle,rgba(255,255,255,.15) 0%,transparent 40%); transform: translate(-50%,-50%); }

@property --lab-search-glow-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.lab-search {
  --lab-search-glow-angle: 0deg;
  --lab-search-glow-pink-rgb: 244,72,196;
  --lab-search-glow-violet-rgb: 115,92,255;
  --lab-search-glow-blue-rgb: 50,151,255;
  --lab-search-glow-duration: 3.8s;
  --lab-search-glow-composing-duration: 2.35s;
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: min(100%, 520px);
  min-height: 62px;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid rgba(205, 176, 240, .17);
  border-radius: 18px;
  color: #bdb4c9;
  background: #121017;
  isolation: isolate;
}

.lab-search-glow {
  position: absolute;
  inset: -2px;
  z-index: 1;
  overflow: hidden;
  border-radius: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  filter: none;
  transition: none;
  contain: paint;
}

.lab-search-glow::before,
.lab-search-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from var(--lab-search-glow-angle),rgba(var(--lab-search-glow-pink-rgb),.10) 0deg,rgba(var(--lab-search-glow-pink-rgb),.96) 22deg,rgba(var(--lab-search-glow-pink-rgb),.12) 58deg,rgba(var(--lab-search-glow-violet-rgb),.10) 118deg,rgba(var(--lab-search-glow-violet-rgb),.96) 156deg,rgba(var(--lab-search-glow-violet-rgb),.12) 202deg,rgba(var(--lab-search-glow-blue-rgb),.10) 252deg,rgba(var(--lab-search-glow-blue-rgb),.92) 286deg,rgba(var(--lab-search-glow-blue-rgb),.10) 326deg,rgba(var(--lab-search-glow-pink-rgb),.10) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: lab-search-spin var(--lab-search-glow-duration) linear infinite;
  animation-play-state: paused;
}

.lab-search-glow::after { inset: 1px; opacity: .68; filter: blur(6px); }
.lab-search::after { content: ""; position: absolute; inset: 1px; z-index: 1; border-radius: 16px; background: #121017; }
.lab-search:hover .lab-search-glow, .lab-search.is-hovered .lab-search-glow { opacity: .92; visibility: visible; filter: drop-shadow(0 0 7px rgba(var(--lab-search-glow-violet-rgb),.26)) drop-shadow(0 0 10px rgba(var(--lab-search-glow-pink-rgb),.15)); }
.lab-search:hover .lab-search-glow::before, .lab-search:hover .lab-search-glow::after, .lab-search.is-hovered .lab-search-glow::before, .lab-search.is-hovered .lab-search-glow::after { animation-play-state: running; }
.lab-search[data-composing="true"]:hover .lab-search-glow { opacity: 1; }
.lab-search[data-composing="true"] .lab-search-glow::before, .lab-search[data-composing="true"] .lab-search-glow::after { animation-duration: var(--lab-search-glow-composing-duration); }
.lab-search > svg, .lab-search > input, .lab-search > button { position: relative; z-index: 2; }
.lab-search > svg { width: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }
.lab-search input { min-width: 0; padding: 19px 0; border: 0; outline: 0; caret-color: #f2edff; color: #fff; background: transparent; }
.lab-search input::placeholder { color: #706979; }
.lab-search button { display: grid; width: 28px; height: 28px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: #bcb2c9; background: rgba(255,255,255,.07); cursor: pointer; }

.lab-animated-radio { position: relative; display: flex; flex-direction: column; padding-left: 12px; transform: scale(1.5); }
.lab-animated-radio-option { position: relative; z-index: 20; padding-block: 4px; }
.lab-animated-radio-option input { position: absolute; z-index: 30; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; appearance: none; }
.lab-animated-radio-option label { display: block; padding: 8px 4px; color: #6b6871; cursor: pointer; font-size: 20px; transition: all .3s ease-in-out; }
.lab-animated-radio-option input:checked + label { color: #c4a6ff; }
.lab-animated-radio-track { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: linear-gradient(to bottom,transparent,#252229,transparent); }
.lab-animated-radio-glider { position: relative; width: 100%; height: 33.333333%; background: linear-gradient(to bottom,transparent,#a855f7,transparent); transition: transform .5s cubic-bezier(.37,1.95,.66,.56); }
.lab-animated-radio-glow { position: absolute; top: 50%; width: 300%; height: 60%; background: #a855f7; filter: blur(10px); transform: translateY(-50%); }
.lab-animated-radio-trail { position: absolute; left: 0; width: 144px; height: 100%; background: linear-gradient(to right,rgba(168,85,247,.1),transparent); }

.lab-gradient-menu { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.lab-gradient-menu li { position: relative; display: flex; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: 999px; color: #6b7280; background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.22); cursor: pointer; outline: none; transition: all .5s; }
.lab-gradient-bg,.lab-gradient-glow { position: absolute; inset: 0; border-radius: 999px; opacity: 0; background: linear-gradient(45deg,var(--gradient-from),var(--gradient-to)); transition: all .5s; }
.lab-gradient-glow { top: 10px; height: 100%; z-index: -1; filter: blur(15px); }
.lab-gradient-icon { position: relative; z-index: 10; color: #6b7280; font-size: 24px; transition: all .5s; transition-delay: 0s; }
.lab-gradient-title { position: absolute; color: #fff; font-size: 14px; letter-spacing: .025em; text-transform: uppercase; transform: scale(0); transition: all .5s; transition-delay: .15s; }
.lab-gradient-menu li:hover,.lab-gradient-menu li:focus-visible { width: 180px; box-shadow: none; }
.lab-gradient-menu li:hover .lab-gradient-bg,.lab-gradient-menu li:focus-visible .lab-gradient-bg { opacity: 1; }
.lab-gradient-menu li:hover .lab-gradient-glow,.lab-gradient-menu li:focus-visible .lab-gradient-glow { opacity: .5; }
.lab-gradient-menu li:hover .lab-gradient-icon,.lab-gradient-menu li:focus-visible .lab-gradient-icon { transform: scale(0); }
.lab-gradient-menu li:hover .lab-gradient-title,.lab-gradient-menu li:focus-visible .lab-gradient-title { transform: scale(1); }

.lab-spotlight-demo { display: flex; min-height: 610px; align-items: center; justify-content: center; gap: 40px; padding: 24px; }
.lab-glow-card { position: relative; display: grid; grid-template-rows: 1fr auto; gap: 16px; padding: 16px; border-radius: 16px; box-shadow: 0 1rem 2rem -1rem #000; backdrop-filter: blur(5px); }
.lab-glow-sm { width: 192px; height: 256px; }
.lab-glow-md { width: 256px; height: 320px; }
.lab-glow-lg { width: 320px; height: 384px; }

.lab-grid-glow-stage { display: grid; min-height: 610px; place-items: center; padding: 20px; background: #08080c; }
.lab-grid-glow { display: grid; grid-template-columns: 1fr 1fr .1fr 1fr 1fr; grid-template-rows: 1fr 1fr .1fr 1fr 1fr; gap: 0; width: 100%; max-width: 72rem; height: min(38rem, 570px); margin: 0; padding: 0; list-style: none; }
.lab-grid-glow-item { min-height: 12rem; list-style: none; }
.lab-grid-glow-item.area-build { grid-column: 4 / 6; grid-row: 1 / 3; }
.lab-grid-glow-item.area-editor { grid-column: 1 / 3; grid-row: 1 / 3; }
.lab-grid-glow-item.area-security { grid-column: 1 / 3; grid-row: 4 / 6; }
.lab-grid-glow-item.area-speed { grid-column: 4 / 6; grid-row: 4 / 6; }
.lab-grid-glow-shell { position: relative; height: 100%; padding: 16px; border: 1px solid rgba(51,65,85,.4); border-radius: 24px; background: #000; box-shadow: 0 10px 28px rgba(0,0,0,.32); backdrop-filter: blur(4px); }
.lab-grid-glow-inner { position: relative; display: flex; height: 100%; overflow: hidden; padding: 28px; border: 1px solid rgba(51,65,85,.3); border-radius: 12px; background: #000; box-shadow: 0 4px 20px rgba(0,0,0,.3); backdrop-filter: blur(4px); }
.lab-grid-glow-copy { position: relative; display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 16px; }
.lab-grid-glow-icon { display: grid; width: fit-content; padding: 10px; place-items: center; border: 1px solid rgba(71,85,105,.4); border-radius: 8px; color: #60a5fa; background: linear-gradient(135deg,rgba(30,58,138,.3),rgba(88,28,135,.3)); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.lab-grid-glow-icon svg { width: 16px; height: 16px; }
.lab-grid-glow h3 { margin: 0 0 12px; color: #f1f5f9; font-size: 20px; font-weight: 600; }
.lab-grid-glow p { margin: 0; color: #cbd5e1; font-size: 14px; font-weight: 500; line-height: 1.45; }
.lab-grid-glow-center { display: flex; grid-column: 3 / 4; grid-row: 3 / 4; align-items: center; justify-content: center; }
.lab-grid-glow-center > div { position: relative; width: 32px; height: 32px; border: 1px solid rgba(51,65,85,.4); border-radius: 50%; background: #000; box-shadow: 0 8px 20px rgba(30,64,175,.5); }
.lab-grid-glow-center span { position: absolute; inset: 4px; border-radius: 50%; background: rgba(0,0,0,.8); }
.lab-glowing-effect { position: absolute; inset: 0; border: var(--glowingeffect-border-width) solid transparent; border-radius: inherit; opacity: var(--active); pointer-events: none; filter: blur(var(--blur)); transition: opacity .18s ease; mask: linear-gradient(#0000,#0000),conic-gradient(from calc((var(--start) - var(--spread)) * 1deg),#0000 0deg,#fff,#0000 calc(var(--spread) * 2deg)); mask-clip: padding-box,border-box; mask-composite: intersect; }
.lab-glowing-effect::after { content: ""; position: absolute; inset: calc(var(--glowingeffect-border-width) * -1); border: var(--glowingeffect-border-width) solid transparent; border-radius: inherit; background: conic-gradient(from calc((var(--start) - var(--spread)) * 1deg),transparent 0deg,#3b82f6 38deg,#8b5cf6 74deg,#3b82f6 108deg,transparent calc(var(--spread) * 2deg)) border-box; mask: linear-gradient(#000 0 0) padding-box,linear-gradient(#000 0 0); mask-composite: exclude; }
.lab-glowing-effect.is-glowing { box-shadow: 0 0 24px rgba(99,102,241,.16); }

.lab-vortex, .lab-kinetic { position: relative; width: 100%; min-height: 610px; overflow: hidden; background: #08080c; }
.lab-vortex canvas, .lab-kinetic canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.lab-vortex-hero { position: relative; z-index: 10; display: flex; width: 100%; min-height: 610px; flex: 1; align-items: center; justify-content: center; padding: 64px 24px 24px; }
.lab-vortex-outline { width: 100%; max-width: 672px; padding: 56px 32px; border: 2px solid rgba(255,255,255,.1); border-radius: 24px; color: #fff; background: transparent; box-shadow: none; text-align: center; backdrop-filter: none; }
.lab-vortex-outline h1 { margin: 0 0 .5em; color: #fff; font-family: Geist,ui-sans-serif,system-ui,sans-serif; font-size: 48px; font-weight: 300; line-height: 1.05; letter-spacing: -.02em; }
.lab-vortex-outline p { margin: 0 0 36px; color: rgba(255,255,255,.6); font-family: Geist,ui-sans-serif,system-ui,sans-serif; font-size: 20px; font-weight: 300; line-height: 1.2; letter-spacing: -.02em; }
.lab-vortex-outline a { display: inline-block; padding: 16px 32px; border: 2px solid rgba(255,255,255,.1); border-radius: 12px; color: #fff; background: transparent; font-weight: 600; text-decoration: none; }
.lab-vortex-animate { animation: lab-vortex-slide-in .8s both; }
.lab-kinetic-content { position: relative; z-index: 10; display: grid; width: 100%; min-height: 610px; place-items: center; pointer-events: none; }
.lab-kinetic-demo { display: flex; max-width: 672px; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; }
.lab-kinetic-demo span { margin-bottom: 20px; padding: 4px 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 500; letter-spacing: .025em; }
.lab-kinetic-demo h3 { margin: 0; max-width: 672px; color: #fff; font-size: clamp(36px,6vw,60px); font-weight: 600; line-height: 1; letter-spacing: -.025em; }
.lab-kinetic-demo p { max-width: 448px; margin: 16px 0 0; color: rgba(255,255,255,.5); font-size: 16px; }

.lab-shader-svg { width: 185px; color: #fff; filter: drop-shadow(0 24px 32px rgba(0,0,0,.34)); }
.lab-shader-svg svg { display: block; width: 100%; height: auto; }
.lab-mesh-gradient { display: block; width: 231px; height: 289px; }
.lab-blink { animation: lab-blink 3s infinite ease-in-out; }

.lab-weather { display: grid; grid-template-columns: repeat(4, 1fr); align-content: center; gap: 12px; width: 100%; min-height: 610px; padding: 42px; }
.lab-weather > div { display: grid; min-height: 116px; place-items: center; padding: 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: rgba(21,18,27,.78); transition: border-color .2s, transform .2s; }
.lab-weather > div:hover { border-color: rgba(168,85,247,.32); transform: translateY(-3px); }
.lab-weather span { display: grid; width: 54px; height: 54px; place-items: center; }
.lab-weather small { color: #91899d; font-family: "Cascadia Code", monospace; font-size: 8px; }
.lf-animated-weather-icon { display: block; width: 1.14em; height: 1.14em; overflow: hidden; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; font-size: 48px; }
.lf-animated-weather-icon [data-lf-weather-part] { transform-box: fill-box; transform-origin: center; }
.lf-animated-weather-icon .lf-wi-sun,.lf-animated-weather-icon .lf-wi-partly-sun,.lf-animated-weather-icon .lf-wi-sunrise { color: #ffd454; }
.lf-animated-weather-icon .lf-wi-sun-core,.lf-animated-weather-icon .lf-wi-partly-sun circle { fill: rgba(255,212,84,.18); }
.lf-animated-weather-icon .lf-wi-moon,.lf-animated-weather-icon .lf-wi-partly-moon { color: #a695ff; }
.lf-animated-weather-icon .lf-wi-cloud,.lf-animated-weather-icon .lf-wi-rainbow-clouds { color: #9fc9df; fill: rgba(116,172,205,.08); }
.lf-animated-weather-icon .lf-wi-drops { color: #55b6ff; }
.lf-animated-weather-icon .lf-wi-heavy-drops { color: #398cff; stroke-width: 2.35; }
.lf-animated-weather-icon .lf-wi-snow { color: #dff7ff; stroke-width: 1.55; }
.lf-animated-weather-icon .lf-wi-bolt { color: #ffd44e; fill: rgba(255,212,78,.22); }
.lf-animated-weather-icon .lf-wi-wind,.lf-animated-weather-icon .lf-wi-fog { color: #9fcce1; }
.lf-animated-weather-icon .lf-wi-rainbow-a { color: #ff759c; }.lf-animated-weather-icon .lf-wi-rainbow-b { color: #ffd25e; }.lf-animated-weather-icon .lf-wi-rainbow-c { color: #62c9ff; }
.lf-animated-weather-icon[data-lf-weather-kind="sun"] .lf-wi-rays,.lf-animated-weather-icon[data-lf-weather-kind="sunrise"] .lf-wi-rays { animation: lf-weather-spin 12s linear infinite; }
.lf-animated-weather-icon[data-lf-weather-kind="sun"] .lf-wi-sun-core { animation: lf-weather-pulse 2.4s ease-in-out infinite; }
.lf-animated-weather-icon[data-lf-weather-kind="moon"] .lf-wi-moon { animation: lf-weather-float 3.4s ease-in-out infinite; }
.lf-animated-weather-icon[data-lf-weather-kind="moon"] .lf-wi-stars { animation: lf-weather-star 1.9s ease-in-out infinite alternate; }
.lf-animated-weather-icon[data-lf-weather-kind="cloud"] .lf-wi-cloud { animation: lf-weather-cloud 3.8s ease-in-out infinite; }
.lf-animated-weather-icon[data-lf-weather-kind="partly-cloudy"] .lf-wi-partly-light { animation: lf-weather-pulse 3s ease-in-out infinite; }
.lf-animated-weather-icon[data-lf-weather-kind="partly-cloudy"] .lf-wi-cloud { animation: lf-weather-cloud 3.4s ease-in-out infinite; }
.lf-animated-weather-icon .lf-wi-drops path { animation: lf-weather-rain 1.05s ease-in infinite; }
.lf-animated-weather-icon .lf-wi-drops path:nth-child(2) { animation-delay: -.35s; }.lf-animated-weather-icon .lf-wi-drops path:nth-child(3) { animation-delay: -.7s; }.lf-animated-weather-icon .lf-wi-heavy-drops path:nth-child(4) { animation-delay: -.52s; }
.lf-animated-weather-icon .lf-wi-snow path { animation: lf-weather-snow 2.4s ease-in-out infinite; }
.lf-animated-weather-icon .lf-wi-bolt { animation: lf-weather-flash 2.25s ease-in-out infinite; }
.lf-animated-weather-icon .lf-wi-wind path { stroke-dasharray: 19 9; animation: lf-weather-wind 2.2s linear infinite; }
.lf-animated-weather-icon .lf-wi-wind path:nth-child(2) { animation-delay: -.75s; }.lf-animated-weather-icon .lf-wi-wind path:nth-child(3) { animation-delay: -1.35s; }
.lf-animated-weather-icon .lf-wi-fog path { animation: lf-weather-fog 3s ease-in-out infinite; }.lf-animated-weather-icon .lf-wi-fog path:nth-child(2) { animation-delay: -1s; }.lf-animated-weather-icon .lf-wi-fog path:nth-child(3) { animation-delay: -2s; }
.lf-animated-weather-icon .lf-wi-rising-sun { animation: lf-weather-rise 3.6s ease-in-out infinite; }
.lf-animated-weather-icon .lf-wi-rainbow path { animation: lf-weather-rainbow 3s ease-in-out infinite; }.lf-animated-weather-icon .lf-wi-rainbow-b { animation-delay: -1s !important; }.lf-animated-weather-icon .lf-wi-rainbow-c { animation-delay: -2s !important; }

.lab-vapour { position: relative; width: 100%; min-height: 610px; overflow: hidden; background: #08080c; }
.lab-vapour-cycle { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lab-vapour canvas { display: block; min-width: 30px; min-height: 20px; pointer-events: none; }

@keyframes lab-search-spin { to { --lab-search-glow-angle: 360deg; } }
@keyframes lab-blink { 0%,90%,100% { ry: 30px; } 95% { ry: 3px; } }
@keyframes lab-vortex-slide-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lf-weather-spin { to { transform: rotate(360deg); } }
@keyframes lf-weather-pulse { 0%,100% { opacity: .78; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes lf-weather-float { 0%,100% { transform: translateY(1px) rotate(-2deg); } 50% { transform: translateY(-1.5px) rotate(2deg); } }
@keyframes lf-weather-star { from { opacity: .35; transform: scale(.8); } to { opacity: 1; transform: scale(1.12); } }
@keyframes lf-weather-cloud { 0%,100% { transform: translateX(-1px); } 50% { transform: translateX(1.5px); } }
@keyframes lf-weather-rain { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(4px); } }
@keyframes lf-weather-snow { 0%,100% { opacity: .45; transform: translateY(-1px) rotate(-6deg); } 50% { opacity: 1; transform: translateY(2px) rotate(6deg); } }
@keyframes lf-weather-flash { 0%,45%,100% { opacity: .45; transform: translateY(-1px) scale(.94); } 50%,62% { opacity: 1; transform: translateY(1px) scale(1.06); } }
@keyframes lf-weather-wind { to { stroke-dashoffset: -28; } }
@keyframes lf-weather-fog { 0%,100% { opacity: .42; transform: translateX(-2px); } 50% { opacity: 1; transform: translateX(2px); } }
@keyframes lf-weather-rise { 0%,100% { opacity: .72; transform: translateY(2px); } 50% { opacity: 1; transform: translateY(-1px); } }
@keyframes lf-weather-rainbow { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

@media (min-width: 768px) {
  .lab-vortex-outline h1 { font-size: 64px; }
}

@media (max-width: 900px) {
  .component-lab { grid-template-columns: 1fr; }
  .component-lab-tabs { grid-auto-columns: max-content; grid-auto-flow: column; max-height: none; padding: 10px; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(205,176,240,.14); }
  .component-lab-tabs button { grid-template-columns: auto 1fr; width: max-content; min-height: 40px; padding-inline: 12px; }
  .component-lab-stage, .lab-center, .lab-atc-status, .lab-grid-glow-stage, .lab-vortex, .lab-kinetic, .lab-weather, .lab-vapour { min-height: 520px; }
  .component-lab-source { grid-column: 1; }
  .lab-spotlight-demo { min-height: 520px; gap: 12px; }
  .lab-glow-card.lab-glow-md { width: min(30%, 210px); height: 280px; }
  .lab-grid-glow-stage { padding: 12px; }
  .lab-grid-glow { height: 496px; }
  .lab-grid-glow-shell { padding: 10px; border-radius: 18px; }
  .lab-grid-glow-inner { padding: 16px; }
  .lab-vortex-hero,.lab-kinetic-content { min-height: 520px; }
}

@media (max-width: 560px) {
  .component-lab-mount, .component-lab-loading { min-height: 570px; }
  .component-lab { border-radius: 24px; }
  .component-lab-stage, .lab-center, .lab-atc-status, .lab-grid-glow-stage, .lab-vortex, .lab-kinetic, .lab-weather, .lab-vapour { min-height: 440px; }
  .lab-center { padding: 18px; }
  .component-lab-source { align-items: stretch; flex-direction: column; gap: 10px; }
  .component-lab-source a { text-align: center; }
  .component-lab-source code { max-width: 100%; }
  .lab-atc-status { width: calc(100% - 32px); }
  .lab-atc-status code { width: auto; }
  .lab-tilt-demo { min-height: 350px; }
  .lab-gradient-menu { gap: 4px; transform: scale(.72); }
  .lab-spotlight-demo { min-height: 440px; gap: 6px; padding: 8px; }
  .lab-glow-card.lab-glow-md { width: calc((100% - 12px) / 3); height: 180px; padding: 6px; }
  .lab-grid-glow-stage { padding: 5px; }
  .lab-grid-glow { height: 430px; }
  .lab-grid-glow-item { min-height: 0; }
  .lab-grid-glow-shell { padding: 4px; border-radius: 10px; }
  .lab-grid-glow-inner { padding: 7px; border-radius: 7px; }
  .lab-grid-glow-icon { padding: 5px; }
  .lab-grid-glow h3 { margin: 0; font-size: 10px; line-height: 1.15; }
  .lab-grid-glow p { display: none; }
  .lab-grid-glow-center > div { width: 22px; height: 22px; }
  .lab-vortex-hero,.lab-kinetic-content { min-height: 440px; padding: 28px 14px 14px; }
  .lab-vortex-outline { padding: 34px 18px; border-radius: 18px; }
  .lab-vortex-outline h1 { font-size: 34px; }
  .lab-vortex-outline p { margin-bottom: 24px; font-size: 14px; }
  .lab-kinetic-demo h3 { font-size: 34px; }
  .lab-kinetic-demo p { font-size: 13px; }
  .lab-weather { grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 12px; }
  .lab-weather > div { min-height: 94px; padding: 8px; border-radius: 14px; }
  .lab-weather span { width: 46px; height: 46px; }
  .lab-shader-svg { width: 154px; }
}

@media (prefers-reduced-motion: reduce) {
  .lab-search-glow::before, .lab-search-glow::after, .lab-blink, .lf-animated-weather-icon * { animation: none !important; }
  .lab-tilt-card { transform: none !important; }
}

@media (forced-colors: active) {
  .component-lab, .component-lab-tabs button, .component-lab-stage, .lab-search, .lab-tilt-card { border: 1px solid CanvasText; }
}
