html,body{
  /* BodLab is a long-form page; allow scrolling (base.css disables it globally). */
  height:auto;
  overflow-y:auto;
}

body{
  overflow-y:auto !important;
}

.page{
  padding: 28px 26px 60px;
}

.pageHeader{
  max-width: 1200px;
  margin: 0 auto 18px;
}

.pageTitle{
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .01em;
}

.pageSub{
  margin-top: 6px;
  opacity: .78;
}

.pageActions{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lab{
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.labGrid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
}

.labCard{
  padding: 16px;
  border-radius: 18px;
}

.labCardTitle{
  font-weight: 900;
  letter-spacing: .04em;
  opacity: .88;
  margin-bottom: 12px;
}

.labCard--kits{
  grid-column: 1 / -1;
}

.labCard--preview{
  grid-column: 2;
}

/* Ambient FX layer */
.labFX{
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 22px;
}

.bubbles{
  position: absolute;
  inset: 0;
  opacity: .22;
}

.bubbles span{
  position: absolute;
  bottom: -120px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.04);
  filter: blur(.2px);
  animation: bubbleUp 12s linear infinite;
}

.bubbles span:nth-child(1){ left: 8%;  width: 10px; height: 10px; animation-duration: 10s; animation-delay: -2s; }
.bubbles span:nth-child(2){ left: 16%; width: 22px; height: 22px; animation-duration: 14s; animation-delay: -7s; }
.bubbles span:nth-child(3){ left: 26%; width: 14px; height: 14px; animation-duration: 11s; animation-delay: -4s; }
.bubbles span:nth-child(4){ left: 38%; width: 28px; height: 28px; animation-duration: 16s; animation-delay: -9s; }
.bubbles span:nth-child(5){ left: 52%; width: 12px; height: 12px; animation-duration: 12s; animation-delay: -6s; }
.bubbles span:nth-child(6){ left: 64%; width: 20px; height: 20px; animation-duration: 15s; animation-delay: -11s; }
.bubbles span:nth-child(7){ left: 72%; width: 14px; height: 14px; animation-duration: 12s; animation-delay: -8s; }
.bubbles span:nth-child(8){ left: 80%; width: 30px; height: 30px; animation-duration: 18s; animation-delay: -13s; }
.bubbles span:nth-child(9){ left: 88%; width: 16px; height: 16px; animation-duration: 13s; animation-delay: -5s; }
.bubbles span:nth-child(10){left: 94%; width: 12px; height: 12px; animation-duration: 11s; animation-delay: -10s; }
.bubbles span:nth-child(11){left: 46%; width: 24px; height: 24px; animation-duration: 17s; animation-delay: -14s; }
.bubbles span:nth-child(12){left: 6%;  width: 18px; height: 18px; animation-duration: 13s; animation-delay: -12s; }

@keyframes bubbleUp{
  0%{ transform: translateY(0) translateX(0) scale(1); opacity: .0; }
  10%{ opacity: .35; }
  80%{ opacity: .18; }
  100%{ transform: translateY(-980px) translateX(18px) scale(1.15); opacity: 0; }
}

.dnaHelix{
  position: absolute;
  right: 10px;
  top: 18px;
  width: 140px;
  opacity: .32;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.25));
}

.dnaHelix path{
  fill: none;
  stroke: rgba(255,255,255,.55);
  stroke-width: 2.2;
}

.dnaHelix .h1{ stroke-dasharray: 560; animation: helix 6s linear infinite; }
.dnaHelix .h2{ stroke-dasharray: 560; animation: helix 6s linear infinite reverse; opacity: .75; }
.dnaHelix .rungs path{ opacity: .65; stroke-width: 1.6; }

@keyframes helix{
  0%{ stroke-dashoffset: 560; }
  100%{ stroke-dashoffset: 0; }
}

.heartbeat{
  position: absolute;
  left: 16px;
  bottom: 10px;
  width: 360px;
  opacity: .26;
}

.heartbeat .hb{
  fill: none;
  stroke: rgba(255,255,255,.55);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  animation: heartbeatDash 2.4s linear infinite;
}

@keyframes heartbeatDash{
  0%{ stroke-dashoffset: 900; opacity: .0; }
  20%{ opacity: .65; }
  100%{ stroke-dashoffset: 0; opacity: .18; }
}

.squadRow{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.squadBod{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  overflow: hidden;
}

.squadMedia{
  height: 220px;
  background: rgba(0,0,0,.25);
}

.squadMedia img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .28s ease, filter .28s ease;
}

.squadBod{
  transition: transform .22s ease, box-shadow .22s ease;
}

.squadBod:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0,0,0,.28);
}

.squadBod:hover .squadMedia img{
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.35));
}

/* Preview */
.previewWrap{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  height: 260px;
}

.previewVideo{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.previewFallback{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
}

.previewGlyph{ font-size: 34px; opacity: .9; }
.previewText{ opacity: .78; font-size: 13px; max-width: 240px; }

.previewCaption{
  margin-top: 10px;
  opacity: .78;
  font-size: 12.5px;
}

@media (prefers-reduced-motion: reduce){
  .bubbles span, .dnaHelix .h1, .dnaHelix .h2, .heartbeat .hb{ animation: none !important; }
  .squadBod, .squadMedia img{ transition: none !important; }
}

.squadMeta{
  padding: 10px 10px 12px;
}

.squadName{
  font-weight: 900;
  margin-bottom: 4px;
}

.squadTags{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  opacity: .85;
  font-size: 12px;
}

.tag{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  padding: 4px 8px;
  border-radius: 999px;
}

.fusionTop{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.fusionBadge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-weight: 900;
}

.fusionBadge .dnaIcon{ transform: translateY(-1px); }

.fusionHint{
  opacity: .72;
  font-size: 12px;
}

.fusionMeta{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}

.chip--tag{ opacity: .92; }

.fusionKVs{
  display: grid;
  gap: 8px;
}

.kv{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: start;
}

.k{ opacity: .72; font-weight: 900; letter-spacing: .04em; font-size: 12px; }
.v{ opacity: .9; }

.fusionBody{
  display: grid;
  gap: 10px;
}

.fusionRow{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  padding: 12px;
}

.fusionRowTitle{
  font-weight: 900;
  margin-bottom: 6px;
}

.fusionRowText{ opacity: .86; }

.kitList{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.kitSnap{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  padding: 12px;
}

.kitHead{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.kitName{ font-weight: 900; }

.kitDNA{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  opacity: .92;
}

.kitLine{
  margin: 6px 0;
  opacity: .86;
  font-size: 13px;
}

.kitBullets{
  margin-top: 8px;
  padding-left: 16px;
  opacity: .85;
  font-size: 12.5px;
}

.kitFeels{
  margin-top: 8px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-size: 12.5px;
  opacity: .9;
}

.labNotice{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,.04);
}

.labNoticeTitle{ font-weight: 900; margin-bottom: 6px; }
.labNoticeText{ opacity: .8; margin-bottom: 12px; }

@media (max-width: 980px){
  .labGrid{ grid-template-columns: 1fr; }
  .kitList{ grid-template-columns: 1fr; }
  .squadRow{ grid-template-columns: 1fr; }
}
