/* footer-ref-top — [n] markers top-aligned with footnote body */
body.friso-signature .friso-section-container.footer .super li {
  display: grid !important;
  grid-template-columns: 2.35em minmax(0, 1fr) !important;
  align-items: start !important;
  column-gap: 0 !important;
  flex-direction: unset !important;
  flex-wrap: unset !important;
  justify-content: unset !important;
  gap: 0 !important;
}
body.friso-signature .friso-section-container.footer .super li:before,
body.friso-signature .friso-section-container.footer .super li::before {
  display: block !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: start !important;
  justify-self: start !important;
  position: static !important;
  left: auto !important;
  top: 0 !important;
  transform: none !important;
  translate: none !important;
  vertical-align: top !important;
  padding: 0 0.35em 0 0 !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  height: auto !important;
  flex: none !important;
  width: 2.35em !important;
  min-width: 2.35em !important;
  max-width: 2.35em !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
  font-size: inherit !important;
}
body.friso-signature .friso-section-container.footer .super li .footer-ref-body {
  display: block !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: start !important;
  flex: none !important;
  min-width: 0 !important;
  width: auto !important;
  line-height: 1.35 !important;
}
body.friso-signature .friso-section-container.footer .super li.is-multiline,
body.friso-signature .friso-section-container.footer .super li.is-multiline:before,
body.friso-signature .friso-section-container.footer .super li.is-multiline::before,
body.friso-signature .friso-section-container.footer .super li.is-multiline .footer-ref-body {
  display: block !important;
  vertical-align: top !important;
  table-layout: unset !important;
  align-self: start !important;
}
body.friso-signature .friso-section-container.footer .super li.is-multiline {
  display: grid !important;
  align-items: start !important;
}

/* superscript-top-align — CF sizes; top: flush mark top with parent text top
   brand 1em → top:0; ref 0.5em → top:-1em (= (1-0.5)/0.5 in own-em) */
body.friso-signature .sup-brand,
body.friso-signature:not(.education) .sup-brand,
body.friso-signature.education .sup-brand,
body.friso-signature .friso-section-container.footer .super li .footer-ref-body .sup-brand,
body.friso-signature .navbar .friso-rect-button .sup-brand {
  font-size: 1em !important;
  top: 0 !important;
  line-height: 1 !important;
  overflow: visible !important;
  position: relative !important;
  display: inline !important;
  vertical-align: baseline !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-variant-position: normal !important;
  font-feature-settings: "sups" 0, "subs" 0 !important;
  font-family: "Noto Sans HK", "Noto Sans SC", "Arial", sans-serif !important;
}
body.friso-signature:not(.education) sup:not(.sup-brand),
body.friso-signature.education sup:not(.sup-brand),
body.friso-signature .friso-section-container.footer .super li .footer-ref-body sup:not(.sup-brand),
body.friso-signature .navbar .friso-rect-button sup:not(.sup-brand) {
  font-size: 0.5em !important;
  top: -1em !important;
  line-height: 1 !important;
  position: relative !important;
  display: inline !important;
  vertical-align: baseline !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-variant-position: normal !important;
  font-feature-settings: "sups" 0, "subs" 0 !important;
}

/* Windows: ® sits low vs CJK (YaHei/JhengHei metrics), esp. tin-carousel CTA.
   0.7em + top:-0.43em (= -(1-0.7)/0.7) — larger than footnote 0.5em, still
   top-flush. Mac keeps .sup-brand 1em / top:0. */
html.is-windows body.friso-signature .sup-brand,
html.is-windows body.friso-signature:not(.education) .sup-brand,
html.is-windows body.friso-signature.education .sup-brand,
html.is-windows body.friso-signature .friso-rect-button .sup-brand,
html.is-windows body.friso-signature .product-btn-container .sup-brand,
html.is-windows body.friso-signature .product-btn-container .friso-rect-button .sup-brand,
html.is-windows body.friso-signature #product .product-btn-container .friso-rect-button .sup-brand,
html.is-windows body.friso-signature .navbar .friso-rect-button .sup-brand {
  font-size: 0.7em !important;
  top: -0.43em !important;
  line-height: 1 !important;
  position: relative !important;
  display: inline !important;
  vertical-align: baseline !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-variant-position: normal !important;
  font-feature-settings: "sups" 0, "subs" 0 !important;
}

/* cf-no-additive-icons — last win; match d14j587mdy11hp.cloudfront.net */
@media screen and (max-width: 768px) {
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt .natural-container {
    max-width: 220px !important;
    width: 220px !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: flex-start !important;
    gap: 0 !important;
    margin-top: 2em !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt .natural-container > div {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    text-align: center !important;
  }
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt .natural-container > div > div:first-child {
    width: auto !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt .natural-container img.no-additive-icon,
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt .natural-container img[src*="vanilla"],
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt .natural-container img[src*="sugar"],
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt .natural-container > div > div:first-child img,
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt .natural-container img {
    /* CF: 66% of 220px container (~145px). Was 50% — icons read smaller. */
    width: 66% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    object-fit: contain !important;
  }
}
/* desktop: 「全系列不添加」+ icons/labels page H-center (mobile-like),
   not L/R flush to title edges. */
@media screen and (min-width: 769px) {
  body.friso-signature:not(.education) {
    --no-added-title-w: calc(672px * 256 / 652);
    /* asset 782×97 → rendered H from locked W */
    --no-added-title-h: calc(var(--no-added-title-w) * 97 / 782);
    --no-added-icon-w: 99.18px; /* 104.4 × 0.95 */
  }
  /* tin-girl +10% vs tin-girl-cf-align 44vh */
  body.friso-signature:not(.education) .baby,
  body.friso-signature:not(.education) .baby-container {
    --baby-sticky-height: 48.4vh !important; /* 44vh × 1.1 */
  }
  body.friso-signature:not(.education) .baby-container-btm .baby-container {
    height: calc(var(--baby-sticky-height) * 1.18) !important;
  }
  body.friso-signature:not(.education) .baby-container-btm .baby-container img,
  body.friso-signature:not(.education) .baby-container-btm .baby-container picture img {
    height: calc(var(--baby-sticky-height) * 1.18) !important;
    width: auto !important;
    max-width: none !important;
  }
  body.friso-signature:not(.education) .baby-slide-2 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    max-width: min(92vw, var(--no-added-title-w)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    /* move headline + icons + labels up by 1 headline height */
    margin-top: calc(-1 * var(--no-added-title-h)) !important;
  }
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt > picture,
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt > img,
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt img[src*="013-no-added-sugar"],
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt picture img[src*="013-no-added-sugar"] {
    display: block !important;
    width: var(--no-added-title-w) !important;
    max-width: min(92vw, var(--no-added-title-w)) !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt .natural-container {
    width: auto !important;
    max-width: 100% !important;
    margin-top: 2em !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 2.2rem !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
  }
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt .natural-container > div,
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt .natural-container > div:first-child,
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt .natural-container > div:last-child {
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    flex-basis: auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: var(--no-added-icon-w) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt .natural-container > div > div:first-child {
    width: var(--no-added-icon-w) !important;
    max-width: var(--no-added-icon-w) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    justify-content: center !important;
  }
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt .natural-container img,
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt .natural-container > div > div:first-child img,
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt .natural-container img.no-additive-icon {
    width: var(--no-added-icon-w) !important;
    max-width: var(--no-added-icon-w) !important;
    min-width: var(--no-added-icon-w) !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    object-fit: contain !important;
  }
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt .natural-container .txt-semibold {
    text-align: center !important;
    white-space: nowrap !important;
    width: max-content !important;
    max-width: none !important;
    margin-top: 0.55em !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* natural-container [12]: same treatment as compare Y-結構[6]; Windows 0.57em. */
body.friso-signature:not(.education) .natural-container .txt-semibold > sup,
body.friso-signature:not(.education) .natural-container .txt-semibold sup {
  font-size: 0.5em !important;
  font-weight: 400 !important;
  font-family: "Baufra", "Noto Sans HK", "Noto Sans SC", "Arial", sans-serif !important;
  top: -1em !important;
  line-height: 1 !important;
  position: relative !important;
  display: inline !important;
  vertical-align: baseline !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-variant-position: normal !important;
  font-feature-settings: "sups" 0, "subs" 0 !important;
letter-spacing: 2px !important;
  }
html.is-windows body.friso-signature:not(.education) .natural-container .txt-semibold > sup,
html.is-windows body.friso-signature:not(.education) .natural-container .txt-semibold sup {
  font-size: 0.57em !important;
  top: -0.7544em !important;
}
/* footer [n] markers: same letter-spacing as compare Y-結構[6] */
body.friso-signature .friso-section-container.footer .super li:before,
body.friso-signature .friso-section-container.footer .super li::before {
  letter-spacing: 2px !important;
}








/* trackeasy-mobile-unwrap — nowrap was overflowing 86vw and skewing L/R gutters.
   Desktop keeps exact <br>+nowrap line breaks. */
@media screen and (max-width: 768px) {
  body.friso-signature:not(.education) #product .track-easy-container-inner-left.mobile-only .track-easy-text .txt-normal.trackeasy-p1 .nowrap,
  body.friso-signature:not(.education) #product .track-easy-container-inner-left.mobile-only .track-easy-text .txt-normal.trackeasy-p2 .nowrap,
  body.friso-signature:not(.education) #product .track-easy-container-inner-left.mobile-only .track-easy-text .txt-normal .nowrap,
  body.friso-signature:not(.education) #product .track-easy-container-inner-left.mobile-only .nowrap {
    white-space: normal !important;
  }
}



/* farm-title-screen-full-m — mobile step0 title area locked to 393×852 ref; headline up */
@media screen and (max-width: 768px) {
  body.friso-signature:not(.education) .farm-animation-pin {
    --farm-ref-w: 393px;
    --farm-ref-h: 852px;
    /* same 4/5 × top-third as before, but fixed to 852 so all phones match */
    --farm-title-band: calc(var(--farm-ref-h) / 3 * 4 / 5); /* 227.2px */
    --farm-pin-title-side: calc(var(--farm-ref-w) * 0.02); /* 2% of 393 ≈ 7.86px */
    --farm-pin-title-w: calc(100% - 2 * var(--farm-pin-title-side));
    --farm-pin-title-h: calc(50 / 368.3 * (var(--farm-ref-w) - 2 * var(--farm-pin-title-side)));
  }
  body.friso-signature:not(.education) .farm-animation-pin .farm-pin-title,
  body.friso-signature:not(.education) .farm-pin-title,
  body.friso-signature:not(.education) .patented-technology-title.farm-pin-title {
    flex: 0 0 var(--farm-title-band) !important;
    height: var(--farm-title-band) !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: var(--farm-pin-title-side) !important;
    padding-right: var(--farm-pin-title-side) !important;
    /* more bottom pad + less top → headline sits higher (flex-end) */
    padding-bottom: calc(var(--farm-pin-title-h) * 0.75) !important;
    padding-top: 40px !important; /* was 52px */
    box-sizing: border-box !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }
  body.friso-signature:not(.education) .farm-animation-pin .farm-pin-title h2,
  body.friso-signature:not(.education) .farm-pin-title h2,
  body.friso-signature:not(.education) .farm-pin-title picture {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: block !important;
  }
  body.friso-signature:not(.education) .farm-animation-pin .farm-pin-title .patented-technology-title__img,
  body.friso-signature:not(.education) .farm-pin-title .patented-technology-title__img,
  body.friso-signature:not(.education) .farm-pin-title picture .patented-technology-title__img,
  body.friso-signature:not(.education) img.patented-technology-title__img,
  body.friso-signature:not(.education) img[src*="009-patented-technology-title"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    aspect-ratio: 368.3 / 50 !important;
    display: block !important;
    margin: 0 !important;
    object-fit: contain !important;
    transform: none !important;
  }
}






/* signature-content-before-stronger — only ::before bg (user gradient) */
@media screen and (min-width: 769px) {
  body.friso-signature:not(.education) .signature-content::before {
    background: linear-gradient(
      to bottom,
      rgba(12, 5, 1, 0.0) 0%,
      rgba(12, 5, 1, 0.85) 22%,
      rgba(12, 5, 1, 0.8) 48%,
      rgba(12, 5, 1, 0.8) 80%,
      rgba(11, 5, 1, 0.12) 88%,
      transparent 100%
    ) !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
}



/* fala-img-revealed-after — wrapper::after user gradient (desktop) */
@media screen and (min-width: 769px) {
  body.friso-signature:not(.education) .fala-signature-container-img-wrapper::after {
    content: "" !important;
    display: block !important;
    background: linear-gradient(to bottom, rgba(31, 12, 6, 0) 0%, rgba(31, 12, 6, 0.12) 28%, rgba(31, 12, 6, 0.4) 52%, rgba(31, 12, 6, 0.72) 74%, rgba(31, 12, 6, 0.72) 90%, rgba(31, 12, 6, 0) 100%) !important;
  }
}

/* baby-slide-txt-hcenter-1024 — ipad-pro-13 / 1024×1080: content-box + 4vw
   pad on absolute width:100% slides shifts flex mid ~+4vw. Keep pad, box-sizing
   border-box so title + icons sit on viewport H-center. */
@media screen and (min-width: 769px) and (max-width: 1180px) {
  body.friso-signature:not(.education) .baby-slide-1,
  body.friso-signature:not(.education) .baby-slide-2 {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }
  body.friso-signature:not(.education) .baby-slide-2 .baby-slide-txt {
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
  }
}

/* ==========================================================================
   tablet-lt1024-1080 — width < 1024 @ ~1080 tall
   1) DYK chart + headline: H-center (match 1024; was top-right)
   2) KV soft-ground: start under feet (not mid-shin dark bar)
   3) BL ball: shrink 40.5vw → 28vw
   ========================================================================== */
@media screen and (min-width: 769px) and (max-width: 1023px) {
  /* DYK — H-center stack; wider chart for clear labels (680 remains exact-1024) */
  body.friso-signature:not(.education) #did-you-know {
    justify-content: center !important;
  }
  body.friso-signature:not(.education) #did-you-know .did-you-know-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  body.friso-signature:not(.education) #did-you-know .did-you-know-container .did-you-know-video,
  body.friso-signature:not(.education) #did-you-know .did-you-know-video {
    width: min(88vw, 640px) !important;
    max-width: min(88vw, 640px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    align-self: center !important;
  }
  body.friso-signature:not(.education) #did-you-know .did-you-know-content {
    width: min(88%, 560px) !important;
    max-width: min(88%, 560px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    align-self: center !important;
  }
  body.friso-signature:not(.education) #did-you-know .did-you-know-content .dyk-title-seq,
  body.friso-signature:not(.education) #did-you-know .did-you-know-content .dyk-title-seq h2,
  body.friso-signature:not(.education) #did-you-know .did-you-know-content .dyk-title-seq picture,
  body.friso-signature:not(.education) #did-you-know .did-you-know-content .did-you-know-title__img,
  body.friso-signature:not(.education) #did-you-know .did-you-know-title__img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    transform: none !important;
    transform-origin: center center !important;
  }
  body.friso-signature:not(.education) #did-you-know .did-you-know-video .hd-video-container,
  body.friso-signature:not(.education) #did-you-know .did-you-know-video canvas {
    /* Do not height-cap — squash blurred chart axis/labels */
    max-height: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
  }

  /* BL ball — was 40.5vw (~365@900); too large on tall tablets */
  body.friso-signature:not(.education) .key-visual {
    --kv-ball-container-width: 28vw !important;
    --kv-ball-container-min-width: 28vw !important;
  }
  body.friso-signature:not(.education) .key-visual-ball-container-wrapper {
    width: 28vw !important;
    height: 28vw !important;
    min-width: 28vw !important;
    min-height: 28vw !important;
    left: -6vw !important;
    right: auto !important;
    bottom: auto !important;
    top: calc(100vh - 32vw) !important;
    top: calc(100lvh - 32vw) !important;
    transform: none !important;
  }
}

/* kv-tablet-soft-ground — <1024: wash under fala/tin/girl feet.
   Trimmed mobile plates ≤900; desktop plates 901–1023 (re-enable wash —
   kv-band-shadow-desktop turns sequence::after off from 901). */
@media screen and (min-width: 769px) and (max-width: 900px) {
  body.friso-signature:not(.education) .key-visual {
    /* Match kv-plate-alpha-trim mobile seats (not legacy 100vw×2100/1170). */
    --kv-m-fala-feet: calc(45.3286vh + 55.8974vw * 722 / 654);
    --kv-m-girl-feet: calc(52vh + 31.0154vw * 580 / 336);
    /* Soft start just above the higher foot so ankles ground, not mid-shin. */
    --kv-m-shadow-top: calc(
      min(var(--kv-m-fala-feet), var(--kv-m-girl-feet), 100vh, 100lvh) - 3vh
    );
  }
  body.friso-signature:not(.education) .key-visual-sequence {
    isolation: isolate;
  }
  body.friso-signature:not(.education) .key-visual-sequence::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    top: var(--kv-m-shadow-top) !important;
    bottom: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    background: linear-gradient(
      180deg,
      rgba(33, 15, 3, 0) 0%,
      rgba(33, 15, 3, 0.28) 28%,
      rgba(33, 15, 3, 0.65) 55%,
      #210f03 78%,
      #210f03 100%
    ) !important;
    opacity: 1 !important;
    z-index: 7 !important;
    pointer-events: none !important;
  }
}
@media screen and (min-width: 769px) and (max-width: 900px) and (min-height: 900px) {
  /* BR orb beside girl — 80vw×1.1 overwhelms tall tablet */
  body.friso-signature:not(.education) .key-visual-ball-container .key-visual-sequence-video.kv-seq-fadein-4 .kv-ball-video.mobile-only,
  html.is-safari body.friso-signature:not(.education) .key-visual-ball-container .key-visual-sequence-video.kv-seq-fadein-4 .kv-ball-canvas.mobile-only {
    width: 52vw !important;
    transform: scale(1) !important;
    bottom: -10px !important;
    right: calc(-1 * 52vw * 0.35 / 6 + 1.5vw) !important;
  }
}

/* kv-lt810-shadow-br — width < 810 tablet: soft-ground under feet (not mid-shin);
   BR orange ball was still ~52vw/416px @800 — larger than phone ~343px. */
@media screen and (min-width: 769px) and (max-width: 809px) {
  body.friso-signature:not(.education) .key-visual {
    --kv-m-fala-feet: calc(45.3286vh + 55.8974vw * 722 / 654);
    --kv-m-girl-feet: calc(52vh + 31.0154vw * 580 / 336);
    /* Closer under feet than general tablet (−3vh) — less shin dark bar @narrow. */
    --kv-m-shadow-top: calc(
      min(var(--kv-m-fala-feet), var(--kv-m-girl-feet), 100vh, 100lvh) - 1.25vh
    );
  }
  body.friso-signature:not(.education) .key-visual-sequence {
    isolation: isolate;
  }
  body.friso-signature:not(.education) .key-visual-sequence::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    top: var(--kv-m-shadow-top) !important;
    bottom: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    background: linear-gradient(
      180deg,
      rgba(33, 15, 3, 0) 0%,
      rgba(33, 15, 3, 0.22) 22%,
      rgba(33, 15, 3, 0.55) 48%,
      #210f03 72%,
      #210f03 100%
    ) !important;
    opacity: 1 !important;
    z-index: 7 !important;
    pointer-events: none !important;
  }
  /* BR orb ~phone visual (~40vw, no 1.1 scale) */
  body.friso-signature:not(.education) .key-visual-ball-container .key-visual-sequence-video.kv-seq-fadein-4 .kv-ball-video.mobile-only,
  html.is-safari body.friso-signature:not(.education) .key-visual-ball-container .key-visual-sequence-video.kv-seq-fadein-4 .kv-ball-canvas.mobile-only {
    width: 40vw !important;
    max-width: 40vw !important;
    transform: scale(1) !important;
    transform-origin: right bottom !important;
    bottom: -8px !important;
    right: calc(-1 * 40vw * 0.35 / 6 + 1.25vw) !important;
  }
}
/* 901–1023: desktop plates; fala feet ≈99vh (girl often below fold). */
@media screen and (min-width: 901px) and (max-width: 1023px) {
  body.friso-signature:not(.education) .key-visual-sequence {
    isolation: isolate;
  }
  body.friso-signature:not(.education) .key-visual-sequence::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    /* Soft into lower legs; solid under feet → section edge */
    top: 92vh !important;
    top: 92lvh !important;
    bottom: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    background: linear-gradient(
      180deg,
      rgba(33, 15, 3, 0) 0%,
      rgba(33, 15, 3, 0.28) 28%,
      rgba(33, 15, 3, 0.65) 55%,
      #210f03 78%,
      #210f03 100%
    ) !important;
    opacity: 1 !important;
    z-index: 7 !important;
    pointer-events: none !important;
  }
}

/* kv-tablet-hide-br-ball — tablet <1024: remove 1st-section bottom-right orange ball
   (mobile BR plate ≤900; desktop hero-br overlay 901–1023). Phone ≤768 unchanged. */
@media screen and (min-width: 769px) and (max-width: 1023px) {
  body.friso-signature:not(.education) .key-visual-ball-container > .key-visual-sequence-video.kv-seq-fadein-4,
  body.friso-signature:not(.education) .key-visual-ball-container .key-visual-sequence-video.kv-seq-fadein-4 .kv-ball-video.mobile-only,
  body.friso-signature:not(.education) .key-visual-ball-container .key-visual-sequence-video.kv-seq-fadein-4 .kv-ball-canvas.mobile-only,
  html.is-safari body.friso-signature:not(.education) .key-visual-ball-container .key-visual-sequence-video.kv-seq-fadein-4 .kv-ball-canvas.mobile-only,
  body.friso-signature:not(.education) .key-visual-sequence-video.kv-seq-fadein-4 .kv-ball-video.mobile-only,
  body.friso-signature:not(.education) .key-visual-sequence-video.kv-seq-fadein-4 .key-visual-sequence-video-canvas.desktop-only.kv-hero-ball-br,
  body.friso-signature:not(.education) .key-visual-sequence-video.kv-seq-fadein-4 .kv-ball-video.kv-hero-ball-br,
  body.friso-signature:not(.education) .key-visual-sequence-video.kv-seq-fadein-4 .kv-ball-canvas.kv-hero-ball-br {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* dyk-1024-hcenter — exact 1024×1080: stack + H-center chart & headline
   (desktop row @≥1024 was flex-start / left). Keep 680 enlarge. */
@media screen and (min-width: 1024px) and (max-width: 1024px) {
  body.friso-signature:not(.education) #did-you-know {
    justify-content: center !important;
  }
  body.friso-signature:not(.education) #did-you-know .did-you-know-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.friso-signature:not(.education) #did-you-know .did-you-know-content {
    flex: none !important;
    width: min(88vw, 680px) !important;
    max-width: min(88vw, 680px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    text-align: center !important;
    align-self: center !important;
  }
  body.friso-signature:not(.education) #did-you-know .did-you-know-content .dyk-title-seq,
  body.friso-signature:not(.education) #did-you-know .did-you-know-content .dyk-title-seq h2,
  body.friso-signature:not(.education) #did-you-know .did-you-know-content .dyk-title-seq picture,
  body.friso-signature:not(.education) #did-you-know .did-you-know-content .did-you-know-title__img,
  body.friso-signature:not(.education) #did-you-know .did-you-know-title__img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    transform: none !important;
    transform-origin: center center !important;
  }
  body.friso-signature:not(.education) #did-you-know .did-you-know-container .did-you-know-video,
  body.friso-signature:not(.education) #did-you-know .did-you-know-video {
    --chart-image-width: 100% !important;
    flex: none !important;
    width: min(88vw, 680px) !important;
    max-width: min(88vw, 680px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
    overflow: visible !important;
  }
  body.friso-signature:not(.education) #did-you-know .did-you-know-video .hd-video-container,
  body.friso-signature:not(.education) #did-you-know .did-you-know-video canvas {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    display: block !important;
  }
}

/* sig-exp-lt1024-icon-spread — match 1024×1080 icon separation (~324px gap).
   Cap so 2 columns still fit; last-win over prior 2.75rem tablet crush. */
@media screen and (min-width: 769px) and (max-width: 1023px) {
  body.friso-signature:not(.education) {
    --sig-exp-col-w: 240px;
    --sig-exp-icon-w: 116.64px;
    --sig-exp-icon-gap-ratio: 0.9;
    --sig-exp-icon-gap: min(
      calc(
        var(--sig-exp-title-w, calc(672px * 512 / 652)) * var(--sig-exp-icon-gap-ratio)
        - (var(--sig-exp-col-w) - var(--sig-exp-icon-w))
      ),
      calc(100vw - 2 * var(--sig-exp-col-w) - 48px)
    );
  }
  body.friso-signature:not(.education) #signature-experience .contact-container {
    gap: max(3rem, var(--sig-exp-icon-gap)) !important;
    justify-content: center !important;
    width: auto !important;
    max-width: none !important;
  }
  body.friso-signature:not(.education) #signature-experience .contact-container > div {
    width: var(--sig-exp-col-w) !important;
    max-width: var(--sig-exp-col-w) !important;
  }
}

/* compare-lt810-mobile-stack — width below 810×1080 (and through <1024):
   stacked mobile Compare Y like 1024×1080. Last-win vs restore-2col. */
@media screen and (min-width: 769px) and (max-width: 1023px) {
  body.friso-signature:not(.education) .compare .friso-section-content {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.friso-signature:not(.education) .compare .friso-section-content > div {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.friso-signature:not(.education) .compare .y-shape-canvas-container,
  body.friso-signature:not(.education) .compare .steps-num,
  body.friso-signature:not(.education) .compare .compare-text {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  body.friso-signature:not(.education) .compare br.desktop-only {
    display: none !important;
  }
  body.friso-signature:not(.education) .compare br.mobile-only {
    display: inline !important;
  }
}

/* farm-step-title-lt810 — milktruck「1」/「2」gold subtitles below 810×1080:
   same 19.5px as other tablet. Size only — do not retarget padding/park. */
@media screen and (min-width: 769px) and (max-width: 809px) {
  body.friso-signature:not(.education) {
    --farm-d-step-title-h: 19.5px;
  }
  body.friso-signature:not(.education) .farm-animation-overlay .patented-technology-step-title,
  body.friso-signature:not(.education) .farm-animation-content-1 .patented-technology-step-title,
  body.friso-signature:not(.education) .farm-animation-overlay picture .patented-technology-step-title {
    height: var(--farm-d-step-title-h) !important;
    max-height: var(--farm-d-step-title-h) !important;
    min-height: 0 !important;
  }
}

/* milktruck-step-park-restore — tablet+desktop step park at 15%. Last-win. */
@media screen and (min-width: 769px) {
  body.friso-signature:not(.education) .farm-animation-overlay,
  body.friso-signature:not(.education) .farm-animation-overlay.farm-animation-content-1,
  body.friso-signature:not(.education) .farm-video-stage .farm-animation-overlay.farm-animation-content-1,
  body.friso-signature:not(.education) .farm-animation-overlay.farm-animation-content-2,
  body.friso-signature:not(.education) .farm-video-stage .farm-animation-overlay.farm-animation-content-2 {
    top: 15% !important;
  }
}

/* signature-content-800-1080 — @800×1080: margin-top -3vh (beats tablet -8vh). */
@media screen and (min-width: 769px) and (max-width: 809px) and (min-height: 1000px) {
  body.friso-signature:not(.education) .signature-content {
    margin-top: -3vh !important;
  }
}

/* nav-tablet-sizes — 769–991 (hamburger layout): phone kept 160/34/90@crush;
   scale logo + hamburger up and restore readable Signature Experience CTA
   (overrides nav-cta-tablet-narrow 10px / 7.75rem). */
@media screen and (min-width: 769px) and (max-width: 991.98px) {
  body.friso-signature:not(.education) .navbar__logo img {
    width: 175px !important;
    max-width: 175px !important;
    height: auto !important;
  }
  body.friso-signature:not(.education) .navbar__btn-toggler img,
  body.friso-signature:not(.education) .navbar__btn-toggler .navbar-menu-humburger-signature,
  body.friso-signature:not(.education) .navbar-menu-humburger-signature {
    width: 42px !important;
    max-width: 42px !important;
    height: auto !important;
  }
  /* V-center hamburger with Signature Experience CTA (was flex-start / top-aligned). */
  body.friso-signature:not(.education) .navbar__header {
    align-items: center !important;
  }
  body.friso-signature:not(.education) .navbar__header .navbar__btn-toggler {
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    margin-top: calc(8px + env(safe-area-inset-top, 0px)) !important;
  }
  body.friso-signature:not(.education) .navbar__header .navbar__btn-cta-wrapper,
  body.friso-signature:not(.education) .navbar__header .navbar__btn-cta-wrapper.mobile,
  body.friso-signature:not(.education) .navbar__header .navbar__btn-cta-wrapper.desktop {
    max-width: none !important;
    flex-shrink: 0 !important;
    margin-left: 0.35rem !important;
    align-self: center !important;
    margin-top: calc(8px + env(safe-area-inset-top, 0px)) !important;
  }
  body.friso-signature:not(.education) .navbar__header .friso-rect-button,
  body.friso-signature:not(.education) .navbar__header .navbar__btn-cta-wrapper .friso-rect-button,
  body.friso-signature:not(.education) .navbar .friso-rect-button {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    padding: 0.5rem 0.65rem !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }
  body.friso-signature:not(.education) .navbar__header .friso-rect-button .nav-cta-line {
    display: block !important;
    text-align: center !important;
    line-height: 1.15 !important;
  }
  body.friso-signature:not(.education) .navbar__header .friso-rect-button br {
    display: none !important;
  }
}

/* 992–1023: desktop nav row still on tablet widths — bump logo + CTA
   (nav-cta-no-crop-1152 used 154px / 11px). */
@media screen and (min-width: 992px) and (max-width: 1023px) {
  body.friso-signature:not(.education) .navbar__logo img {
    width: 170px !important;
    max-width: 170px !important;
    height: auto !important;
  }
  body.friso-signature:not(.education) .navbar .friso-rect-button,
  body.friso-signature:not(.education) .navbar__btn-cta-wrapper .friso-rect-button {
    width: auto !important;
    min-width: 9.5rem !important;
    max-width: 11.5rem !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    padding: 0.5rem 0.75rem !important;
  }
}

/* ==========================================================================
   simplify-mobile-orange-ball-stills — mobile (≤768): restore KV + DYK orange
   balls as still images (no webm / sprite-sheet loop). Desktop unchanged.
   ========================================================================== */
@media screen and (max-width: 768px) {
  /* Legacy off-screen heroball packs stay parked. */
  body.friso-signature:not(.education) .heroball-container,
  body.friso-signature:not(.education) .heroball-container .heroball {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Show KV ball hosts again (was no-balls display:none). */
  body.friso-signature:not(.education) .key-visual-ball-container,
  body.friso-signature:not(.education) .key-visual-ball-container-wrapper,
  body.friso-signature:not(.education) .key-visual-ball-container-wrapper-inner,
  body.friso-signature:not(.education) .key-visual-ball-container > .key-visual-sequence-video.kv-seq-fadein-4,
  body.friso-signature:not(.education) .key-visual-sequence-video.kv-seq-fadein-4,
  body.friso-signature:not(.education) .key-visual-mobile-ball {
    display: block !important;
    visibility: visible !important;
    pointer-events: none !important;
  }

  /* Hide animated surfaces — still <img.kv-ball-still> is the paint. */
  body.friso-signature:not(.education) .key-visual-sequence-video.kv-seq-fadein-4 .kv-ball-video,
  body.friso-signature:not(.education) .key-visual-sequence-video.kv-seq-fadein-4 .kv-ball-canvas,
  body.friso-signature:not(.education) .key-visual-ball-container-wrapper-inner > canvas.canvas-ani,
  body.friso-signature:not(.education) .key-visual-ball-container-wrapper-inner > canvas.canvas-loader,
  body.friso-signature:not(.education) .key-visual-mobile-ball > canvas#canvas-kv-mobile-ball {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.friso-signature:not(.education) .key-visual img.kv-ball-still {
    display: block !important;
    visibility: visible !important;
    pointer-events: none !important;
  }

  /* BL — square a2 orb in the bottom-left wrapper. */
  body.friso-signature:not(.education) .key-visual-ball-container-wrapper-inner > img.kv-ball-still-bl {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    z-index: 2 !important;
  }

  /* BR — same seat as former mobile webm (screen-blend plate). */
  body.friso-signature:not(.education) .key-visual-sequence-video.kv-seq-fadein-4 > img.kv-ball-still-br {
    position: absolute !important;
    left: auto !important;
    right: calc(-1 * 80vw * 0.35 * 1.1 / 6 + 2.5vw) !important;
    top: auto !important;
    bottom: -24px !important;
    width: 80vw !important;
    height: auto !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: right bottom !important;
    transform: scale(1.1) !important;
    transform-origin: right bottom !important;
    mix-blend-mode: screen !important;
    z-index: 14 !important;
    -webkit-mask-image: radial-gradient(
      circle 52% at 90% 90%,
      #000 0%,
      #000 58%,
      rgba(0, 0, 0, 0.5) 78%,
      transparent 100%
    ) !important;
    mask-image: radial-gradient(
      circle 52% at 90% 90%,
      #000 0%,
      #000 58%,
      rgba(0, 0, 0, 0.5) 78%,
      transparent 100%
    ) !important;
  }

  /* TR — small a2 orb. */
  body.friso-signature:not(.education) .key-visual-mobile-ball > img.kv-ball-still-tr {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  /* DYK chart orange orbs — keep poster, never hand off to canvas loop. */
  body.friso-signature:not(.education) #did-you-know .did-you-know-ball-container > div > canvas.canvas-ani,
  body.friso-signature:not(.education) #did-you-know .did-you-know-ball-container > div > canvas.canvas-loader,
  body.friso-signature:not(.education) #igg-dyk-orb-peek .did-you-know-ball-container > div > canvas.canvas-ani,
  body.friso-signature:not(.education) #igg-dyk-orb-peek .did-you-know-ball-container > div > canvas.canvas-loader {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  body.friso-signature:not(.education) #did-you-know .did-you-know-ball-container .friso-media-poster,
  body.friso-signature:not(.education) #did-you-know .did-you-know-ball-container.is-ready .friso-media-poster,
  body.friso-signature:not(.education) #igg-dyk-orb-peek .did-you-know-ball-container .friso-media-poster,
  body.friso-signature:not(.education) #igg-dyk-orb-peek .did-you-know-ball-container.is-ready .friso-media-poster {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media screen and (min-width: 769px) {
  body.friso-signature:not(.education) .key-visual img.kv-ball-still {
    display: none !important;
  }
}


/* compare-y-mobile-still — phone: static frame, no canvas loop */
@media screen and (max-width: 768px) {
  body.friso-signature:not(.education) .compare .y-shape-canvas-container #canvas-y-shape,
  body.friso-signature:not(.education) .compare .y-shape-canvas-container video.y-shape-video {
    display: none !important;
  }
  body.friso-signature:not(.education) .compare .y-shape-canvas-container img.y-shape-still {
    display: block !important;
    width: 118.8% !important;
    margin-left: -9.4% !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 1920 / 1080;
    object-fit: contain;
    position: relative !important;
    left: 0 !important;
    box-sizing: border-box !important;
  }
}
@media screen and (min-width: 769px) {
  body.friso-signature:not(.education) .compare .y-shape-canvas-container img.y-shape-still {
    display: none !important;
  }
}


/* simplify mobile: IgG ball-loop only — hide girl posters, no pin-hold chrome */
@media screen and (max-width: 768px) {
  body.igg-simplify-ball-only .girl-zoom-poster,
  body.friso-signature.igg-simplify-ball-only .girl-zoom-poster {
    display: none !important;
  }
  body.igg-simplify-ball-only.igg-pin-hold,
  html.igg-simplify-ball-only.igg-pin-hold {
    overscroll-behavior-y: auto;
  }
}


/* simplify docflow ≤768: DYK stays one viewport, content mid (dot 2).
   Was height:auto + flex-start — landed top-heavy after side-nav. */
@media screen and (max-width: 768px) {
  html.friso-simplify-docflow #did-you-know,
  body.friso-simplify-docflow #did-you-know,
  body.friso-signature.friso-simplify-docflow #did-you-know {
    min-height: 100svh !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  /* Never collapse CG after IgG — keep it a real following section */
  body.friso-signature.friso-simplify-docflow.igg-cg-consumed .friso-section-container.cg,
  body.friso-signature.igg-simplify-ball-only.igg-cg-consumed .friso-section-container.cg,
  body.friso-signature.friso-simplify-docflow .friso-section-container.cg {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: revert !important;
    padding: revert !important;
    overflow: visible !important;
    visibility: visible !important;
    pointer-events: auto !important;
    opacity: 1 !important;
  }

  /* Neutralize split/free-leave fixed chrome on simplify */
  body.friso-simplify-docflow .girl-zoom-canvas-container.igg-cg-split-layer,
  body.friso-simplify-docflow .igg-title-seq.igg-cg-split-layer {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
  }
}


/* simplify: transparent Part3 ball — no dark plate gradients (would float over Y-bg) */
@media screen and (max-width: 768px) {
  body.friso-simplify-docflow .igg .girl-zoom-canvas-container::before,
  body.friso-simplify-docflow .igg .girl-zoom-canvas-container::after,
  body.igg-simplify-ball-only .igg .girl-zoom-canvas-container::before,
  body.igg-simplify-ball-only .igg .girl-zoom-canvas-container::after {
    display: none !important;
    background: none !important;
  }
  body.friso-simplify-docflow #IgG,
  body.igg-simplify-ball-only #IgG,
  body.friso-simplify-docflow .friso-section-container.igg#IgG,
  body.igg-simplify-ball-only .friso-section-container.igg#IgG {
    background: transparent !important;
    background-color: transparent !important;
  }
}


/* simplify: IgG as ONE viewport composition (match pinned /dev).
   Markup has two .igg-girl-video siblings — earlier relative+100svh on both
   stacked an empty first viewport above the canvas, so the headline sat alone
   and the looping ball fell a full screen below (and looked tiny). */
@media screen and (max-width: 768px) {
  body.friso-simplify-docflow .friso-section-container.igg#IgG,
  body.igg-simplify-ball-only .friso-section-container.igg#IgG {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  body.friso-simplify-docflow #IgG .igg-girl-container,
  body.igg-simplify-ball-only #IgG .igg-girl-container {
    position: relative !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100svh !important;
    overflow: visible !important;
  }

  /* Headline overlays the ball stage — same pin seat as revamp/dev. */
  body.friso-simplify-docflow #IgG .igg-girl-content,
  body.igg-simplify-ball-only #IgG .igg-girl-content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 12 !important;
    padding: 0 !important;
    pointer-events: none !important;
  }
  body.friso-simplify-docflow #IgG .igg-title-seq,
  body.igg-simplify-ball-only #IgG .igg-title-seq {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    /* Match frozen simplify — Pin uses calc(32vh - 22%); without pin park, sit at 32vh. */
    top: 32vh !important;
    top: 32dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 13 !important;
  }
  body.friso-simplify-docflow #IgG .igg-girl-content h2,
  body.igg-simplify-ball-only #IgG .igg-girl-content h2 {
    padding-top: 0 !important;
    margin: 0 !important;
  }

  /* Markup: .igg-girl-content + empty .igg-girl-video + canvas .igg-girl-video.
     Collapse the empty sibling; pin the real one to the single 100svh stage. */
  body.friso-simplify-docflow #IgG .igg-girl-container > .igg-girl-content + .igg-girl-video,
  body.igg-simplify-ball-only #IgG .igg-girl-container > .igg-girl-content + .igg-girl-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }
  body.friso-simplify-docflow #IgG .within-the-margin-wrapepr,
  body.igg-simplify-ball-only #IgG .within-the-margin-wrapepr {
    display: none !important;
  }

  /* Real ball video + stage fill the single container. */
  body.friso-simplify-docflow #IgG .igg-girl-container > .igg-girl-content + .igg-girl-video + .igg-girl-video,
  body.igg-simplify-ball-only #IgG .igg-girl-container > .igg-girl-content + .igg-girl-video + .igg-girl-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
  }
  body.friso-simplify-docflow .igg .girl-zoom-canvas-container,
  body.igg-simplify-ball-only .igg .girl-zoom-canvas-container {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: auto;
  }
  body.friso-simplify-docflow .igg .girl-zoom-canvas-container.seq-container > div,
  body.igg-simplify-ball-only .igg .girl-zoom-canvas-container.seq-container > div {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
    width: 100% !important;
    padding-bottom: 0 !important;
  }
  /* Looping-ball seat — match frozen simplify (36% / 61.2% under 32vh headline). */
  body.friso-simplify-docflow #girl-zoom-canvas,
  body.igg-simplify-ball-only #girl-zoom-canvas {
    position: absolute !important;
    top: 36% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    transform-origin: 50% 42% !important;
    width: auto !important;
    height: 61.2% !important;
    max-width: none !important;
    max-height: 61.2vh !important;
    max-height: 61.2svh !important;
    display: block !important;
    -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 100%) !important;
    mask-image: linear-gradient(to bottom, #000 66%, transparent 100%) !important;
  }
  /* Full-screen Y seat (svh) — auto/0 fought ios 100lvh and made compare→farm slide. */
  body.friso-simplify-docflow .compare,
  body.friso-simplify-docflow .friso-section-container.compare,
  body.igg-simplify-ball-only .compare,
  body.igg-simplify-ball-only .friso-section-container.compare {
    min-height: 100svh !important;
    height: auto !important;
    max-height: none !important;
  }
  body.friso-simplify-docflow.igg-cg-leave-lift .friso-section-container.compare,
  body.friso-simplify-docflow.igg-ball-free-leave .girl-zoom-canvas-container {
    position: relative !important;
    transform: none !important;
  }
  /* Milktruck: pin/stage 100lvh (not +pad — taller lock did not fix bottom brown). */
  body.friso-simplify-docflow .farm-animation-pin,
  body.friso-signature.friso-simplify-docflow .farm-animation-pin,
  body.igg-simplify-ball-only .farm-animation-pin {
    height: 100lvh !important;
    min-height: 100lvh !important;
    max-height: none !important;
    --farm-title-band: calc(33.333lvh * 4 / 5);
  }
  body.friso-simplify-docflow .farm-video-stage,
  body.friso-signature.friso-simplify-docflow .farm-video-stage,
  body.igg-simplify-ball-only .farm-video-stage {
    flex: 0 0 100lvh !important;
    flex-basis: 100lvh !important;
    height: 100lvh !important;
    min-height: 100lvh !important;
    max-height: none !important;
  }
  /* Title-hold: stacked title + stage (Factor 「1」 seats from stage top). */
  body.friso-simplify-docflow .farm-animation-pin.is-title-hold,
  body.friso-signature.friso-simplify-docflow .farm-animation-pin.is-title-hold,
  body.igg-simplify-ball-only .farm-animation-pin.is-title-hold {
    overflow: hidden !important;
  }
  body.friso-simplify-docflow .farm-animation-pin.is-title-hold .farm-scroll-track,
  body.friso-signature.friso-simplify-docflow .farm-animation-pin.is-title-hold .farm-scroll-track,
  body.igg-simplify-ball-only .farm-animation-pin.is-title-hold .farm-scroll-track {
    transform: none !important;
  }
  body.friso-simplify-docflow .farm-animation-pin.is-title-hold .farm-video-stage,
  body.friso-signature.friso-simplify-docflow .farm-animation-pin.is-title-hold .farm-video-stage,
  body.igg-simplify-ball-only .farm-animation-pin.is-title-hold .farm-video-stage {
    flex: 1 1 auto !important;
    flex-basis: auto !important;
    height: auto !important;
    min-height: calc(100% - var(--farm-title-band, calc(33.333lvh * 4 / 5))) !important;
    max-height: none !important;
    margin-top: 0 !important;
  }
  /* Instant expand/revert — 0.55s track tween felt like page sliding off Y. */
  body.friso-simplify-docflow .farm-scroll-track,
  body.friso-signature.friso-simplify-docflow .farm-scroll-track,
  body.igg-simplify-ball-only .farm-scroll-track {
    transition: none !important;
  }
}

/* fala-born-still — original landscape Fala under mobile text sequence.
   Scale/offset matched to DEV 840 born-vertical → 820×1562 art:
   scale 0.352 → 2112×1369; DX -668 DY -23. */
body.friso-signature:not(.education) .fala-born-still {
  display: none;
}
@media screen and (max-width: 768px) {
  body.friso-signature:not(.education) .fala-signature-container-img {
    position: relative;
  }
  body.friso-signature:not(.education) .fala-born-still {
    display: block;
    position: absolute;
    /* art: scale 0.352 → 2112×1369 inside 820×1562; DX -668 DEV match */
    inset: auto;
    width: 257.5609756097561%;
    height: auto;
    max-width: none;
    left: -81.46341463414634%;
    top: -1.47247119078105%;
    object-fit: fill;
    object-position: center center;
    z-index: 1;
    pointer-events: none;
    user-select: none;
  }
  body.friso-signature:not(.education) .fala-signature-container-img > #fala-canvas,
  body.friso-signature:not(.education) .fala-signature-container-img > canvas {
    position: relative;
    z-index: 2;
  }
}
/* Match #fala-canvas 110vw / -5vw bleed so still+text share one art box */
@media screen and (max-width: 640px) {
  body.friso-signature:not(.education) .fala-born-still {
    width: 283.3170731707317vw; /* 257.5609756097561% of 110vw */
    left: calc(-5vw - 89.60975609756097vw); /* DX -668 seat */
    top: -1.47247119078105%;
  }
}

/* Still poster ↔ canvas crossfade (no display:none snap — that flashed Born). */
@media screen and (max-width: 768px) {
  body.friso-signature:not(.education) .fala-signature-container-img {
    min-height: min(72vh, calc(100vw * 1562 / 820)) !important;
    /* Letterbox only before media — once revealed/painted keep transparent so
       Born-to-be text alpha sits on Fala / site bg, not solid brown. */
    background: #1f0c06 !important;
    /* Kill revamp 800ms opacity+translateY — first load / Signature dot
       read that ease-in as Born-to-be flashing. */
    transition: none !important;
  }
  body.friso-signature:not(.education) .fala-signature-container-img.revealed,
  body.friso-signature:not(.education) .fala-signature-container-img.fala-painted {
    background: transparent !important;
    background-color: transparent !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  body.friso-signature:not(.education) .fala-title-fadein.fadein-ele,
  body.friso-signature:not(.education) .fala-title-fadein.fadein-ele.scrolled {
    transition: none !important;
  }
  body.friso-signature:not(.education) .fala-signature-container-img .fala-born-still {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    left: 0 !important;
    top: 0 !important;
    object-fit: cover !important;
    object-position: center top !important;
    z-index: 3 !important;
    pointer-events: none !important;
    opacity: 1 !important;
    /* Instant handoff — 0.55s still/canvas crossfade read as Born flash
       on cold load + Signature dot (poster↔composite mid-blend). */
    transition: none !important;
  }
  body.friso-signature:not(.education) .fala-signature-container-img.fala-painted .fala-born-still {
    /* Keep in layout — display:none + canvas opacity:0 = brown flash. */
    display: block !important;
    opacity: 0 !important;
    visibility: visible !important;
  }
  body.friso-signature:not(.education) .fala-signature-container-img > #fala-canvas,
  body.friso-signature:not(.education) .fala-signature-container-img > canvas {
    position: relative !important;
    z-index: 2 !important;
    opacity: 0 !important;
    transition: none !important;
  }
  body.friso-signature:not(.education) .fala-signature-container-img.fala-painted > #fala-canvas,
  body.friso-signature:not(.education) .fala-signature-container-img.fala-painted > canvas {
    opacity: 1 !important;
  }
}

/* kv-cf-soft-ground-final — real .kv-soft-ground PNG (Safari-safe alpha).
   ::after disabled on ≤900 (mask/gradient looked hard on iPhone). */
@media screen and (max-width: 900px) {
  body.friso-signature:not(.education) .key-visual-sequence {
    isolation: auto !important;
  }
  body.friso-signature:not(.education) .key-visual-sequence::after {
    content: none !important;
    display: none !important;
    background: none !important;
    opacity: 0 !important;
  }
  body.friso-signature:not(.education) .key-visual {
    /* Fallback before JS — sit under mid plates (old vh+vw formula was too low) */
    --kv-m-shadow-top: 58%;
  }
  body.friso-signature:not(.education) .key-visual-sequence > .kv-soft-ground {
    content: none;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: none !important;
    top: var(--kv-soft-ground-top, var(--kv-m-shadow-top)) !important;
    height: 12vh !important;
    background-image: none !important;
    opacity: 0 !important;
    z-index: 4 !important;
    pointer-events: none !important;
  }
  body.friso-signature:not(.education) .friso-bg-container.base.kv-site {
    /* Dark base; pattern lives on child .friso-background-container @0.33 */
    background-color: #210804 !important;
    background-image: none !important;
    z-index: 0 !important;
  }
  body.friso-signature:not(.education) .friso-bg-container.base.kv-site > .friso-background-container {
    background-image: url("../img/home-background-m.webp?v=1795028000") !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: cover !important;
    opacity: 0.33 !important;
  }
  body.friso-signature:not(.education) .key-visual > .friso-bg-container.kv-site:not(.base):not(.kv) {
    background-color: transparent !important;
    background-image: none !important;
    z-index: 3 !important;
  }
  /* TR light — CF revamp geometry (not the nudged 120%/360% seat) */
  body.friso-signature:not(.education) .friso-bg-container.kv-site .friso-light-container,
  body.friso-signature:not(.education) .friso-light-container {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    background-image: url("../img/home-background-light-warm.png?v=1795683900") !important;
    background-repeat: no-repeat !important;
    background-position: right top !important;
    background-size: contain !important;
    mix-blend-mode: screen !important;
    width: 110% !important;
    height: 350% !important;
    top: -20% !important;
    left: 16% !important;
    right: auto !important;
    transform-origin: 75% 19.2% !important;
    animation: ani-rotate-a 7s linear 1.3s infinite alternate forwards !important;
    pointer-events: none !important;
    z-index: 5 !important;
  }
  body.friso-signature:not(.education) .kv-tr-shadow {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}
@media screen and (min-width: 901px) {
  body.friso-signature:not(.education) .key-visual-sequence > .kv-soft-ground {
    display: none !important;
  }
}

/* kv-tin-tip-wash — mask on video/canvas (wrapper mask fails with mix-blend:screen) */
@media screen and (max-width: 900px) {
  body.friso-signature:not(.education) .key-visual-sequence-video.kv-seq-fadein-3 {
    /* Below soft-ground so feet shadow covers tin tip */
    z-index: 7 !important;
  }
  body.friso-signature:not(.education) .key-visual-sequence-video.kv-seq-fadein-3 .kv-tin-video.mobile-only,
  body.friso-signature:not(.education) .key-visual-sequence-video.kv-seq-fadein-3 .kv-tin-canvas.mobile-only,
  body.friso-signature:not(.education) .key-visual-sequence-video.kv-seq-fadein-3 .key-visual-sequence-video-canvas.mobile-only {
    z-index: 6 !important;
    /* Tip-only wash like fala/girl (~bottom 15% of can; frame can sits ~47–76%) */
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 74%,
      rgba(0, 0, 0, 0.75) 82%,
      rgba(0, 0, 0, 0.35) 90%,
      rgba(0, 0, 0, 0.08) 96%,
      transparent 100%
    ) !important;
    mask-image: linear-gradient(
      to bottom,
      #000 74%,
      rgba(0, 0, 0, 0.75) 82%,
      rgba(0, 0, 0, 0.35) 90%,
      rgba(0, 0, 0, 0.08) 96%,
      transparent 100%
    ) !important;
    -webkit-mask-size: 100% 100% !important;
    mask-size: 100% 100% !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
  }
}

/* kv-feet-shadow-cover — soft PNG shadow under fala/tin/girl feet */
body.friso-signature:not(.education) .key-visual-sequence::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  background: none !important;
  background-image: none !important;
}
@media screen and (max-width: 900px) {
  body.friso-signature:not(.education) .key-visual-sequence > .kv-soft-ground {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: none !important;
    /* Tracks fala/tin/girl feet via --kv-soft-ground-top (JS) / --kv-m-shadow-top */
    top: var(--kv-soft-ground-top, var(--kv-m-shadow-top, 78%)) !important;
    /* Short band: peak sits on tin tip, not mid-can */
    height: 9vh !important;
    background-image: linear-gradient(
      180deg,
      rgba(33, 15, 3, 0) 0%,
      rgba(33, 15, 3, 0.12) 18%,
      rgba(33, 15, 3, 0.55) 34%,
      rgba(33, 15, 3, 0.98) 48%,
      rgba(33, 15, 3, 1) 58%,
      rgba(33, 15, 3, 0.75) 78%,
      rgba(33, 15, 3, 0.28) 92%,
      rgba(33, 15, 3, 0) 100%
    ) !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: 100% 100% !important;
    background-color: transparent !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    /* Appear with little (girl): same fade as kv-seq-fadein-2 */
    opacity: 0 !important;
    transition: opacity 0.8s ease !important;
    transition-delay: 0.6s !important;
    z-index: 10 !important;
    pointer-events: none !important;
    visibility: visible !important;
  }
  body.friso-signature:not(.education).init .key-visual-sequence > .kv-soft-ground,
  body.init.friso-signature:not(.education) .key-visual-sequence > .kv-soft-ground {
    opacity: 1 !important;
  }
}
/* Mobile beat: girl/fala/tin delay 0 — shadow with little together */
@media screen and (max-width: 768px) {
  body.friso-signature:not(.education) .key-visual-sequence > .kv-soft-ground {
    transition-delay: 0ms !important;
  }
}
@media screen and (min-width: 901px) {
  body.friso-signature:not(.education) .key-visual-sequence > .kv-soft-ground {
    display: none !important;
  }
}


/* kv-bg-bottom-soft-alpha — stop new-m-crop covering bottom; dim site pattern shows through */
@media screen and (max-width: 900px) {
  body.friso-signature:not(.education) .friso-bg-container.base.kv-site {
    background-color: #210804 !important;
    background-image: none !important;
    z-index: 0 !important;
  }
  body.friso-signature:not(.education) .friso-bg-container.base.kv-site > .friso-background-container {
    background-image: url("../img/home-background-m.webp?v=1795028000") !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: cover !important;
    opacity: 0.33 !important;
  }
  /* Crop plate ends at soft-ground — don't rely on mask alone (bundle forces mask:none) */
  body.friso-signature:not(.education) .key-visual,
  body.friso-signature:not(.education).friso-signature .key-visual {
    --kv-bg-height: 78% !important;
    --kv-bg-bottom: auto !important;
  }
  body.friso-signature:not(.education) .key-visual-bg {
    background-color: transparent !important;
    top: 0 !important;
    bottom: auto !important;
    height: 78% !important;
    max-height: 78% !important;
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 70%,
      rgba(0, 0, 0, 0.45) 88%,
      transparent 100%
    ) !important;
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 70%,
      rgba(0, 0, 0, 0.45) 88%,
      transparent 100%
    ) !important;
    -webkit-mask-size: 100% 100% !important;
    mask-size: 100% 100% !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
  }
}


/* kv-fala-align-tin-feet — image filled to plate bottom; width so foot Y matches tin */
@media screen and (max-width: 900px) {
  body.friso-signature:not(.education) .key-visual-sequence-img-fala.mobile-only,
  body.friso-signature:not(.education) .key-visual .key-visual-sequence-img-fala.mobile-only,
  body.friso-signature:not(.education) .key-visual-hero-group .key-visual-sequence-img-fala.mobile-only {
    width: 57.2vw !important;
  }
}

/* kv-girl-align-tin-top — shorter 336×580 + tip wash; nudge down to tin lid */
@media screen and (max-width: 1023px) {
  body.friso-signature:not(.education) .key-visual-sequence-img-girl.mobile-only,
  body.friso-signature:not(.education) .key-visual .key-visual-sequence-img-girl.mobile-only,
  body.friso-signature:not(.education) .key-visual-hero-group .key-visual-sequence-img-girl.mobile-only {
    top: 52vh !important;
    aspect-ratio: 336 / 580 !important;
  }
  body.friso-signature:not(.education) .key-visual {
    --kv-m-girl-feet: calc(52vh + 31.0154vw * 580 / 336);
  }
}





/* kv-png-tip-wash — fala/girl tip fade in PNG alpha; tin tip via wrapper mask above */
@media screen and (max-width: 900px) {
  body.friso-signature:not(.education) .key-visual-sequence-img-fala.mobile-only,
  body.friso-signature:not(.education) .key-visual-sequence-img-girl.mobile-only {
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  body.friso-signature:not(.education) .kv-seq-picture:has(> .key-visual-sequence-img-fala.mobile-only)::after,
  body.friso-signature:not(.education) .kv-seq-picture:has(> .key-visual-sequence-img-girl.mobile-only)::after {
    content: none !important;
    display: none !important;
    background: none !important;
  }
}

/* kv-bg-scale-light — TL bright in crop plate (not TR light overlay) */
@media screen and (max-width: 900px) {
  body.friso-signature:not(.education) .key-visual-bg {
    background-image: url("../img/home/section1/home-background-new-m-crop.webp?v=1795763817") !important;
    /* Keep plate scale (auto 100%) — slide only, no zoom */
    background-size: auto 100% !important;
    /* More right (↑X); ↓Y push = bright sits a bit higher */
    background-position: 55% 11vh !important;
    background-repeat: no-repeat !important;
  }
  body.friso-signature:not(.education) .friso-bg-container.kv-site .friso-light-container,
  body.friso-signature:not(.education) .friso-light-container {
    background-image: url("../img/home-background-light-warm.png?v=1795683900") !important;
    background-position: right top !important;
    background-size: contain !important;
    width: 110% !important;
    height: 350% !important;
    /* TR light seat restored — crop plate owns the “bright down” nudge */
    top: -20% !important;
    left: 16% !important;
    right: auto !important;
    opacity: 1 !important;
    transform-origin: 75% 19.2% !important;
  }
}

/* kv-bg-mobile-lite — never fetch 3.5MB desktop png on phone */
@media screen and (max-width: 900px) {
  body.friso-signature:not(.education) .key-visual-bg {
    background-image: url("../img/home/section1/home-background-new-m-crop.webp?v=1795763817") !important;
    background-size: auto 100% !important;
    background-position: 55% 11vh !important;
    background-repeat: no-repeat !important;
  }
}




/* kv-tin-match-simplify — video+canvas only (same as simplify frozen) */
@media screen and (max-width: 900px) {
  body.friso-signature:not(.education) .key-visual-sequence-img-tin,
  body.friso-signature:not(.education) .kv-tin-still-picture,
  body.friso-signature:not(.education) .kv-tin-webp {
    display: none !important;
  }
}

/* kv-tin-fade-with-fala — wrapper fades with Beat 1 (do NOT force opacity:1) */
@media screen and (max-width: 900px) {
  body.friso-signature:not(.education) .key-visual .key-visual-sequence-img-fala.mobile-only.kv-seq-fadein,
  body.friso-signature:not(.education) .key-visual .key-visual-sequence-img-girl.mobile-only.kv-seq-fadein,
  body.friso-signature:not(.education) .key-visual .key-visual-sequence-video.kv-seq-fadein-3 {
    transition: opacity 0.8s ease !important;
    transition-delay: 0ms !important;
  }
  body.friso-signature:not(.education) .key-visual-sequence-video.kv-seq-fadein-3 {
    z-index: 7 !important; /* under soft-ground (10) */
    /* inherit .kv-seq-fadein: opacity 0 → body.init opacity 1 */
    visibility: visible !important;
  }
  html:not(.is-safari) body.friso-signature:not(.education) .key-visual-sequence-video.kv-seq-fadein-3 .kv-tin-video.mobile-only {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    mix-blend-mode: screen !important;
  }
  html.is-safari body.friso-signature:not(.education) .key-visual-sequence-video.kv-seq-fadein-3 .kv-tin-canvas.mobile-only {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    mix-blend-mode: screen !important;
  }
}

/* kv-crop-stop-cover-m — last wins: new-m-crop must not paint over home-background-m */
@media screen and (max-width: 900px) {
  body.friso-signature:not(.education) .key-visual-bg {
    top: 0 !important;
    bottom: auto !important;
    height: 78% !important;
    max-height: 78% !important;
    /* Match crop top edge RGB(31,9,7) — fills 16vh push gap (better than regen strip) */
    background-color: #1f0907 !important;
  }
}

/* farm-gesture-no-overflow — do not touch overflow (hidden→§01; visible→
   scrollbar vanishes → logo shifts right / hamburger peeks). touch-action only. */
html.friso-farm-gesture,
html.friso-farm-gesture body,
html.friso-immu-holding,
html.friso-immu-holding body {
  touch-action: pinch-zoom !important;
  overscroll-behavior: none !important;
}
/* touch-action is NOT inherited — descendants stayed auto/pan-y and iPhone
   Safari stole the finger before the IMMU deck router could commit. */
html.friso-farm-holding body *,
html.friso-immu-holding body *,
html.friso-farm-gesture body *,
html.friso-immu-holding .attack-defence,
html.friso-immu-holding .attack-defence *,
html.friso-immu-holding #smart-immu,
html.friso-immu-holding #smart-immu *,
html.friso-immu-holding .friso-smart-immu-pin-media,
html.friso-immu-holding .friso-smart-immu-pin-media *,
html.friso-immu-holding .friso-smart-immu-pin-copy,
html.friso-immu-holding .friso-smart-immu-pin-copy *,
html.friso-immu-holding .friso-smart-immu-pin-atk,
html.friso-immu-holding .friso-smart-immu-pin-atk * {
  touch-action: pinch-zoom !important;
}
body.friso-signature:not(.education) .farm-animation-pin.is-farm-holding {
  background-color: #240b08 !important;
}

/* Farm owns the viewport — never paint SMART IMMU under milktruck steps
   (dump: expand unlock ST remap → bottomHit smart-immu / gallery). */
html.friso-farm-holding body.friso-signature:not(.education) .attack-defence .small-immu-no-added-sugar-slider-inner,
html.friso-farm-holding body.friso-signature:not(.education) .attack-defence .slide-01,
html.friso-farm-holding body.friso-signature:not(.education) .attack-defence .slide-02,
html.friso-farm-holding body.friso-signature:not(.education) .attack-defence .slide-03,
html.friso-farm-holding body.friso-signature:not(.education) .attack-defence .smart-head-title,
html.friso-farm-holding body.friso-signature:not(.education) .attack-defence .smart-immu-container,
html.friso-farm-holding body.friso-signature:not(.education) .attack-defence .gallery-canvas-container,
html.friso-farm-holding body.friso-signature:not(.education) .friso-smart-immu-pin-media,
html.friso-farm-holding body.friso-signature:not(.education) .friso-smart-immu-pin-copy,
html.friso-farm-holding body.friso-signature:not(.education) .friso-smart-immu-pin-atk {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* dyk-hide-until-ready — no first-frame flash; show when sparse/playback unlocks.
   Home markup uses .did-you-know-video (education may use -chart-video). */
body.friso-signature:not(.education) #did-you-know .did-you-know-video:not(.dyk-chart-ready),
body.friso-signature:not(.education) #did-you-know .did-you-know-chart-video:not(.dyk-chart-ready) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body.friso-signature:not(.education) #did-you-know .did-you-know-video.dyk-chart-ready,
body.friso-signature:not(.education) #did-you-know .did-you-know-chart-video.dyk-chart-ready {
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.4s ease;
}
body.friso-signature:not(.education) #did-you-know .did-you-know-video.dyk-chart-ready .friso-media-poster,
body.friso-signature:not(.education) #did-you-know .did-you-know-chart-video.dyk-chart-ready .friso-media-poster {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* dyk-title-chart-gap — undo title→chart tuck (-0.35rem) that overlapped 「抗體脆弱期」 */
@media screen and (max-width: 768px) {
  body.friso-signature:not(.education) #did-you-know > .did-you-know-container {
    gap: 0 !important;
    row-gap: 0 !important;
  }
  body.friso-signature:not(.education) #did-you-know > .did-you-know-container > .dyk-title-seq.mobile-only {
    margin-bottom: 0.55rem !important;
    position: relative !important;
    z-index: 2 !important;
  }
  body.friso-signature:not(.education) #did-you-know > .did-you-know-container > .dyk-title-seq.mobile-only h2,
  body.friso-signature:not(.education) #did-you-know > .did-you-know-container > .dyk-title-seq.mobile-only picture,
  body.friso-signature:not(.education) #did-you-know > .did-you-know-container > .dyk-title-seq.mobile-only .did-you-know-title__img {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  body.friso-signature:not(.education) #did-you-know .did-you-know-video {
    margin-top: 0.35rem !important;
    position: relative !important;
    z-index: 1 !important;
  }
}

/* dyk-mobile-title-copy-align — H-center headline + chart + copy together.
   Kill optical-center left:-3.5vw (shifted chart ~14px). Size Text-2 by
   artboard H 24.34@420 (same as frozen simplify) — width:288 shrunk glyphs. */
@media screen and (max-width: 768px) {
  body.friso-signature:not(.education) #did-you-know > .did-you-know-container {
    align-items: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  body.friso-signature:not(.education) #did-you-know > .did-you-know-container > .dyk-title-seq.mobile-only,
  body.friso-signature:not(.education) #did-you-know > .did-you-know-container > .dyk-title-seq.mobile-only h2,
  body.friso-signature:not(.education) #did-you-know > .did-you-know-container > .dyk-title-seq.mobile-only picture {
    width: min(88vw, 680px) !important;
    max-width: min(88vw, 680px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  body.friso-signature:not(.education) #did-you-know > .did-you-know-container > .dyk-title-seq.mobile-only .did-you-know-title__img,
  body.friso-signature:not(.education) #did-you-know .did-you-know-title__img {
    /* Mobile Text-2 · artboard H 24.34@420 — match frozen simplify scale */
    width: auto !important;
    max-width: min(100vw, 680px) !important;
    height: calc(24.34 / 420 * 100vw) !important;
    max-height: 24.34px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    object-fit: contain !important;
    left: auto !important;
    transform: none !important;
    position: relative !important;
  }
  body.friso-signature:not(.education) #did-you-know .did-you-know-content {
    width: min(88vw, 680px) !important;
    max-width: min(88vw, 680px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
    align-self: center !important;
  }
  body.friso-signature:not(.education) #did-you-know .did-you-know-container .did-you-know-video,
  body.friso-signature:not(.education) #did-you-know .did-you-know-video {
    width: min(88vw, 680px) !important;
    max-width: min(88vw, 680px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    align-self: center !important;
    /* Undo dyk-chart-optical-center-left (-3.5vw) — true H-center with column */
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
  }
}

/* dyk-chart-true-hcenter — ≤1024: no optical left nudge once column is centered */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  body.friso-signature:not(.education) #did-you-know .did-you-know-container .did-you-know-video,
  body.friso-signature:not(.education) #did-you-know .did-you-know-video {
    left: 0 !important;
    right: auto !important;
  }
}

/* baby-to-fala-scroll-leave — tin fades; Born show-up is GSAP (playFalaEnterFromBaby). */
@media screen and (max-width: 960px) {
  body.friso-signature:not(.education) .baby-slider-wrapper.baby-tin-leaving .baby-container-btm,
  body.friso-signature:not(.education) .baby-slider-wrapper.baby-tin-leaving .baby-slide-1,
  body.friso-signature:not(.education) .baby-slider-wrapper.baby-tin-leaving .baby-slide-2,
  body.friso-signature:not(.education) .baby-slider-wrapper.baby-tin-leaving .baby-slide-txt {
    pointer-events: none !important;
    will-change: opacity, transform;
  }
  /* While GSAP drives the entrance, kill CSS !important transform fights. */
  body.friso-signature:not(.education) .signature-section.fala-enter-from-baby .fala-title-fadein.fadein-ele,
  body.friso-signature:not(.education) .signature-section.fala-enter-from-baby .fala-title-fadein.fadein-ele.scrolled,
  body.friso-signature:not(.education) .signature-section.fala-enter-from-baby .fala-signature-container-img,
  body.friso-signature:not(.education) .signature-section.fala-enter-from-baby .fala-signature-container-img.revealed {
    transition: none !important;
  }
  /* Park with final .scrolled layout but keep headline invisible — otherwise
     opacity:1 !important flashes title at top then snap drops it to nav.
     Once .fala-seq-ready, never keep seating opacity:0 (headline stayed gone). */
  body.friso-signature:not(.education) .signature-section.fala-seating .fala-title-fadein.fadein-ele:not(.fala-seq-ready),
  body.friso-signature:not(.education) .signature-section.fala-seating .fala-title-fadein.fadein-ele.scrolled:not(.fala-seq-ready) {
    opacity: 0 !important;
    visibility: visible !important;
    pointer-events: none !important;
    transition: none !important;
  }
  body.friso-signature:not(.education) .signature-section.fala-seating .fala-title-fadein.fala-seq-ready,
  body.friso-signature:not(.education) .signature-section.fala-seating .fala-title-fadein.fadein-ele.fala-seq-ready,
  body.friso-signature:not(.education) .signature-section.fala-seating .fala-title-fadein.fadein-ele.scrolled.fala-seq-ready {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* fala-born-safari-toolbar — Signature used 100dvh + flex center; toolbar
   expand/collapse reflowed the pack (client 16 Pro jumpy; 13 looked OK).
   Lock to 100lvh like Farm/DYK; JS px-lock in home.head.bundle.js. */
@media screen and (max-width: 768px) {
  body.friso-signature:not(.education) .fala-born-viewport {
    min-height: 100lvh !important;
    height: auto !important;
  }
  body.friso-signature:not(.education) .friso-section-container.signature-section {
    min-height: 100lvh !important;
  }
}

/* smart-immu-step1-safari-toolbar — pin/slides were 100dvh; toolbar collapse
   left a brown gap under step-1 gallery/canvas (same class of bug as Farm).
   Prefer 100lvh; JS px-lock grows with visualViewport and never shrinks. */
@media screen and (max-width: 768px) {
  body.friso-signature:not(.education) .attack-defence .small-immu-no-added-sugar-slider-inner,
  body.friso-signature:not(.education) .small-immu-no-added-sugar-slider.attack-defence .small-immu-no-added-sugar-slider-inner {
    height: 100lvh !important;
    min-height: 100lvh !important;
    max-height: none !important;
  }
  body.friso-signature:not(.education) .attack-defence #smart-immu,
  body.friso-signature:not(.education) .attack-defence [name='smart-immu'],
  body.friso-signature:not(.education) #smart-immu.friso-section-container.smart {
    height: 100lvh !important;
    min-height: 100lvh !important;
    max-height: none !important;
  }
  body.friso-signature:not(.education) .attack-defence .smart-immu-slide,
  body.friso-signature:not(.education) .attack-defence .smart-immu-slide.slide-01,
  body.friso-signature:not(.education) .attack-defence .slide-01 {
    height: 100lvh !important;
    min-height: 100lvh !important;
    max-height: none !important;
  }
}

/* farm-step1 — pin was forced transparent on iOS (home.bundle/revamp
   html.is-touch-ios … background-color:transparent !important) so the fixed
   site plate showed through. Dump: pin rgba(0,0,0,0) + html/body brown =
   the “gap under video”. Beat that with equal/higher specificity. */
@media screen and (max-width: 768px) {
  html.is-touch-ios body.friso-signature:not(.education) .farm-animation-pin,
  html.is-safari body.friso-signature:not(.education) .farm-animation-pin,
  body.friso-signature:not(.education) .farm-animation-pin {
    height: 100lvh !important;
    min-height: 100lvh !important;
    max-height: none !important;
    --farm-title-band: calc(33.333lvh * 4 / 5);
    background-color: #240b08 !important;
    background-image: none !important;
  }
  html.is-touch-ios body.friso-signature:not(.education) .farm-animation-pin .farm-scroll-track,
  html.is-safari body.friso-signature:not(.education) .farm-animation-pin .farm-scroll-track,
  body.friso-signature:not(.education) .farm-animation-pin .farm-scroll-track {
    background-color: #240b08 !important;
    min-height: 100% !important;
    height: 100% !important;
    /* Expand: slide title band off (revamp 0.55s) — do not kill on iOS. */
    transition: transform 0.55s ease !important;
    will-change: transform;
  }
  html.is-touch-ios body.friso-signature:not(.education) .farm-animation-pin.is-track-instant .farm-scroll-track,
  html.is-safari body.friso-signature:not(.education) .farm-animation-pin.is-track-instant .farm-scroll-track,
  body.friso-signature:not(.education) .farm-animation-pin.is-track-instant .farm-scroll-track {
    transition: none !important;
  }
  html.is-touch-ios body.friso-signature:not(.education) .farm-video-stage,
  html.is-safari body.friso-signature:not(.education) .farm-video-stage,
  body.friso-signature:not(.education) .farm-video-stage {
    flex: 0 0 100lvh !important;
    flex-basis: 100lvh !important;
    height: 100lvh !important;
    min-height: 100lvh !important;
    max-height: none !important;
    overflow: hidden !important;
    background-color: #240b08 !important;
    background-image: none !important;
  }
  /* Top shadow wash — must sit above still/video (expand set video z:2
     !important and covered ::before). Keep CSS gradient (not webp tip). */
  html.is-touch-ios body.friso-signature:not(.education) .farm-video-stage::before,
  html.is-safari body.friso-signature:not(.education) .farm-video-stage::before,
  body.friso-signature:not(.education) .farm-video-stage::before,
  html.is-touch-ios body.friso-signature:not(.education) .farm-animation-pin.is-title-hold .farm-video-stage::before,
  html.is-safari body.friso-signature:not(.education) .farm-animation-pin.is-title-hold .farm-video-stage::before,
  body.friso-signature:not(.education) .farm-animation-pin.is-title-hold .farm-video-stage::before,
  html.is-touch-ios body.friso-signature:not(.education) .farm-animation-pin:not(.is-title-hold) .farm-video-stage::before,
  html.is-safari body.friso-signature:not(.education) .farm-animation-pin:not(.is-title-hold) .farm-video-stage::before,
  body.friso-signature:not(.education) .farm-animation-pin:not(.is-title-hold) .farm-video-stage::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 4 !important;
    pointer-events: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background-image: linear-gradient(
      180deg,
      rgba(32, 8, 4, 1) 0%,
      rgba(32, 8, 4, 0.95) 8%,
      rgba(32, 8, 4, 0.82) 18%,
      rgba(32, 8, 4, 0.58) 32%,
      rgba(32, 8, 4, 0.32) 46%,
      rgba(32, 8, 4, 0.14) 58%,
      rgba(32, 8, 4, 0.05) 70%,
      rgba(32, 8, 4, 0) 86%,
      transparent 100%
    ) !important;
    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
    background-position: center top !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  /* Video: cover fill. On title-hold fully hidden (visibility) — opacity:0 alone
     still left VIDEO in the hit path over the still (dump bottomHit VIDEO). */
  html.is-touch-ios body.friso-signature:not(.education) .farm-animation-pin #farm-animation-video,
  html.is-safari body.friso-signature:not(.education) .farm-animation-pin #farm-animation-video,
  body.friso-signature:not(.education) .farm-animation-pin #farm-animation-video {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center top !important;
    background-color: #240b08 !important;
    background-image: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    opacity: 0 !important;
    z-index: 0 !important;
  }
  html.is-touch-ios body.friso-signature:not(.education) .farm-animation-pin.is-title-hold #farm-animation-video,
  html.is-safari body.friso-signature:not(.education) .farm-animation-pin.is-title-hold #farm-animation-video,
  body.friso-signature:not(.education) .farm-animation-pin.is-title-hold #farm-animation-video {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 0 !important;
  }
  /* Expanded / reverse Factor「1」stop — must show video (was blank “nothing”). */
  html.is-touch-ios body.friso-signature:not(.education) .farm-animation-pin:not(.is-title-hold) #farm-animation-video.farm-vid-has-frame,
  html.is-safari body.friso-signature:not(.education) .farm-animation-pin:not(.is-title-hold) #farm-animation-video.farm-vid-has-frame,
  body.friso-signature:not(.education) .farm-animation-pin:not(.is-title-hold) #farm-animation-video.farm-vid-has-frame {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    /* Below stage ::before top shadow (z4). */
    z-index: 1 !important;
  }
  /* Step1 still: lives in .farm-video-stage only (image bottom). */
  html.is-touch-ios body.friso-signature:not(.education) .farm-animation-pin .farm-vid-still,
  html.is-safari body.friso-signature:not(.education) .farm-animation-pin .farm-vid-still,
  body.friso-signature:not(.education) .farm-animation-pin .farm-vid-still {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center top !important;
    z-index: 1 !important;
  }
  html.is-touch-ios body.friso-signature:not(.education) .farm-animation-pin.is-title-hold .farm-video-stage > .farm-vid-still,
  html.is-safari body.friso-signature:not(.education) .farm-animation-pin.is-title-hold .farm-video-stage > .farm-vid-still,
  body.friso-signature:not(.education) .farm-animation-pin.is-title-hold .farm-video-stage > .farm-vid-still,
  body.friso-signature:not(.education) .farm-animation-pin.is-title-hold .farm-video-stage > .farm-vid-still.is-active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  /* Step1: headline band on top (solid), image only in stage below. */
  html.is-touch-ios body.friso-signature:not(.education) .farm-animation-pin.is-title-hold,
  html.is-safari body.friso-signature:not(.education) .farm-animation-pin.is-title-hold,
  body.friso-signature:not(.education) .farm-animation-pin.is-title-hold {
    overflow: hidden !important;
    background-color: #240b08 !important;
    background-image: none !important;
  }
  html.is-touch-ios body.friso-signature:not(.education) .farm-animation-pin.is-title-hold .farm-scroll-track,
  html.is-safari body.friso-signature:not(.education) .farm-animation-pin.is-title-hold .farm-scroll-track,
  body.friso-signature:not(.education) .farm-animation-pin.is-title-hold .farm-scroll-track {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 100% !important;
    transform: none !important;
    position: relative !important;
    z-index: 2 !important;
    background-color: transparent !important;
    background-image: none !important;
  }
  html.is-touch-ios body.friso-signature:not(.education) .farm-animation-pin.is-title-hold .farm-pin-title,
  html.is-safari body.friso-signature:not(.education) .farm-animation-pin.is-title-hold .farm-pin-title,
  body.friso-signature:not(.education) .farm-animation-pin.is-title-hold .farm-pin-title,
  body.friso-signature:not(.education) .farm-animation-pin.is-title-hold .patented-technology-title.farm-pin-title {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    flex: 0 0 var(--farm-title-band) !important;
    height: var(--farm-title-band) !important;
    width: 100% !important;
    z-index: 3 !important;
    /* Opaque headline plate — milktruck must not show through. */
    background-color: #240b08 !important;
    background-image: none !important;
  }
  html.is-touch-ios body.friso-signature:not(.education) .farm-animation-pin.is-title-hold .farm-video-stage,
  html.is-safari body.friso-signature:not(.education) .farm-animation-pin.is-title-hold .farm-video-stage,
  body.friso-signature:not(.education) .farm-animation-pin.is-title-hold .farm-video-stage {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    flex: 1 1 auto !important;
    flex-basis: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: calc(100% - var(--farm-title-band, 33.333lvh)) !important;
    max-height: none !important;
    margin-top: 0 !important;
    overflow: hidden !important;
    background-color: #240b08 !important;
    background-image: none !important;
  }
}

/* Docflow title-hold: stage under title band. */
@media screen and (max-width: 768px) {
  body.friso-simplify-docflow .farm-animation-pin.is-title-hold .farm-video-stage,
  body.friso-signature.friso-simplify-docflow .farm-animation-pin.is-title-hold .farm-video-stage,
  body.igg-simplify-ball-only .farm-animation-pin.is-title-hold .farm-video-stage {
    flex: 1 1 auto !important;
    flex-basis: auto !important;
    height: auto !important;
    min-height: calc(100% - var(--farm-title-band, calc(33.333lvh * 4 / 5))) !important;
    max-height: none !important;
  }
}

/* Title-hold: body.fixed freezes scroll. Height/top come from JS (vvH +
   vvTop). Do NOT overflow:hidden or force 100lvh here — that clipped the
   fixed pin when visualViewport.offsetTop ≠ 0 (step0 / parked content gone). */
html.friso-farm-title-lock {
  overscroll-behavior: none;
  overflow: visible !important;
  background-color: var(--farm-chrome-bg, #5e5618) !important;
  background-image: none !important;
}
html.friso-farm-title-lock body,
html.friso-farm-title-lock body.friso-signature {
  width: 100% !important;
  min-height: 100% !important;
  min-height: -webkit-fill-available !important;
  max-height: none !important;
  overflow: visible !important;
  background-color: var(--farm-chrome-bg, #5e5618) !important;
  background-image: none !important;
}
@media screen and (max-width: 768px) {
  html.friso-farm-title-lock .farm-animation-pin,
  html.friso-farm-title-lock .farm-animation-pin.friso-farm-title-lock-pin,
  .farm-animation-pin.friso-farm-title-lock-pin {
    position: fixed !important;
    /* top/height set in px by JS to visualViewport (offsetTop + height) —
       do not force top:0 / 100lvh (dump vvTop:942 hid step1). */
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    max-height: none !important;
  }
  html.friso-farm-title-lock .farm-animation-pin .farm-pin-title,
  html.friso-farm-title-lock .farm-pin-title {
    /* Keep headline near the top after toolbar-collapse + side-nav land
       (was 28/40px — felt too low with vv-sized pin). */
    padding-top: calc(8px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: calc(var(--farm-pin-title-h) * 0.75) !important;
  }
}

/* tin-girl-seat-reassert — loads LAST (after home.bundle bottom/safe-bottom
   / headline-seat fights). Farm toolbar work pushed lvh/screen locks; older
   bottom: / --friso-vv-bottom seats then drop the figure when chrome shows.
   Keep stage on svh; seat from TOP with headline-unit gap (not bottom/dvh). */
@media screen and (max-width: 768px) {
  body.friso-signature:not(.education) .baby-slider-wrapper .small-immu-no-added-sugar-slider-inner,
  body.friso-signature:not(.education) .baby .friso-section-container-inner-full,
  body.friso-signature:not(.education) .baby-slide {
    height: 100svh !important;
    min-height: 100svh !important;
    max-height: 100svh !important;
  }
  body.friso-signature:not(.education) .baby,
  body.friso-signature:not(.education) .baby-container {
    --baby-sticky-height: 33svh !important;
    --baby-figure-h: calc(var(--baby-sticky-height) * 1.18);
    /* 3× Mobile Text-16 — same lift as tin-girl-headline-seat-m / simplify */
    --baby-seat-gap: calc(3 * (24.34 / 420 * 100vw));
  }
  body.friso-signature:not(.education) .baby-container-btm {
    top: calc(100% - var(--baby-figure-h) - var(--baby-seat-gap)) !important;
    bottom: auto !important;
    left: 50% !important;
    right: auto !important;
    /* Dump: left:50% + no width + lazy img width:auto → host w=0 while
       100vw feet/plate shadows still paint (tin/girl “image not show”).
       Reserve width from basic-girl-m 694×678 before decode. */
    width: calc(var(--baby-figure-h) * 694 / 678) !important;
    max-width: 92vw !important;
    transform: translateX(-50%) !important;
  }
  body.friso-signature:not(.education) .baby-container-btm .baby-container {
    transform-origin: center top !important;
    width: 100% !important;
  }
  body.friso-signature:not(.education) .baby-container-btm .baby-container picture,
  body.friso-signature:not(.education) .baby-container-btm .baby-container img {
    transform: none !important;
    aspect-ratio: 694 / 678 !important;
    width: auto !important;
    max-width: 100% !important;
    height: var(--baby-figure-h, calc(33svh * 1.18)) !important;
  }
}
@media screen and (max-width: 768px) and (max-height: 700px) {
  body.friso-signature:not(.education) .baby,
  body.friso-signature:not(.education) .baby-container {
    --baby-sticky-height: 36.3svh !important;
    --baby-seat-gap: calc(2.5 * (24.34 / 420 * 100vw));
  }
}

/* tin-girl shadow — match simplify `baby-mobile-shadow-far-after`:
   figure ::before feet wash (28%) + host soft fade. Do NOT use the black
   tip/ellipse (that read as a different look). Keep overflow visible so
   the soft plate is not clipped; freeLeave rules below hide the tall
   host plate so it cannot wipe Signature. */
@media screen and (max-width: 768px) {
  body.friso-signature:not(.education) .friso-section-container.baby,
  body.friso-signature:not(.education) .baby,
  body.friso-signature:not(.education) .baby-container-sticky,
  body.friso-signature:not(.education) .baby-container-btm {
    overflow: visible !important;
  }
  body.friso-signature:not(.education) .baby-container-btm {
    z-index: 1 !important;
  }
  body.friso-signature:not(.education) .baby-container-btm .funny-gradient-container.radial,
  body.friso-signature:not(.education) .baby-container-btm .funny-gradient-container {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    background: none !important;
  }
  body.friso-signature:not(.education) .baby-container-btm .baby-container {
    position: relative !important;
    overflow: visible !important;
    z-index: 2 !important;
    height: var(--baby-figure-h, calc(33svh * 1.18)) !important;
    max-height: var(--baby-figure-h, calc(33svh * 1.18)) !important;
  }
  body.friso-signature:not(.education) .baby-container-btm .baby-container picture,
  body.friso-signature:not(.education) .baby-container-btm .baby-container img {
    position: relative !important;
    z-index: 3 !important;
    height: var(--baby-figure-h, calc(33svh * 1.18)) !important;
  }
  /* simplify: kill stacked ::after wash on the figure */
  body.friso-signature:not(.education) .baby-container-btm .baby-container::after {
    display: none !important;
    content: none !important;
    background: none !important;
    opacity: 0 !important;
  }
  /* simplify: under feet — dark at girl bottom, clear up into the figure */
  body.friso-signature:not(.education) .baby-container-btm .baby-container::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    bottom: 0% !important;
    top: auto !important;
    width: 140% !important;
    height: 28% !important;
    z-index: 5 !important;
    opacity: 1 !important;
    pointer-events: none !important;
    background: linear-gradient(
      to top,
      rgba(18, 8, 2, 1) 0%,
      rgba(18, 8, 2, 1) 10%,
      rgba(32, 7, 4, 0.28) 70%,
      transparent 100%
    ) !important;
  }
  /* simplify: soft band just under the figure */
  body.friso-signature:not(.education) .baby-container-btm::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
    top: 95% !important;
    bottom: auto !important;
    height: 10vh !important;
    z-index: 2 !important;
    opacity: 1 !important;
    pointer-events: none !important;
    background: linear-gradient(
      to bottom,
      rgba(18, 8, 2, 0.95) 0%,
      rgba(18, 8, 2, 0.7) 35%,
      rgba(32, 7, 4, 0.28) 70%,
      transparent 100%
    ) !important;
  }
  /* simplify: tall soft fade under tin/girl (hori plate replaced by wash) */
  body.friso-signature:not(.education) .baby-container-btm::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
    top: auto !important;
    bottom: -8% !important;
    height: 100vh !important;
    z-index: 3 !important;
    opacity: 1 !important;
    pointer-events: none !important;
    background: linear-gradient(
      to bottom,
      rgba(18, 8, 2, 0.35) 0%,
      rgba(14, 6, 2, 0.14) 12%,
      rgba(12, 5, 1, 0.05) 30%,
      transparent 55%
    ) !important;
    background-image: linear-gradient(
      to bottom,
      rgba(18, 8, 2, 0.35) 0%,
      rgba(14, 6, 2, 0.14) 12%,
      rgba(12, 5, 1, 0.05) 30%,
      transparent 55%
    ) !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
}

/* tin→fala free-leave — keep tin visible, but stop feet wash wiping Fala.
   .baby-container-btm::after was height:100vh and painted over Signature.
   CRITICAL: friso-baby-over-immu sets baby pin z-index:40 (above Signature
   z:3) — that brown pin plate covered Fala still/bg (dump pin op1). */
@media screen and (max-width: 768px) {
  body.friso-signature:not(.education) .baby-slider-wrapper.baby-free-leave,
  body.friso-signature.friso-fala-over-baby:not(.education) .baby-slider-wrapper {
    z-index: 1 !important; /* under .signature-section z-index:3 */
    pointer-events: none !important;
  }
  /* Beat .friso-baby-over-immu … pin-inner { z-index:40 } */
  body.friso-signature:not(.education) .baby-slider-wrapper.baby-free-leave .small-immu-no-added-sugar-slider-inner,
  body.friso-signature.friso-baby-over-immu:not(.education) .baby-slider-wrapper.baby-free-leave .small-immu-no-added-sugar-slider-inner,
  body.friso-signature.friso-fala-over-baby:not(.education) .baby-slider-wrapper .small-immu-no-added-sugar-slider-inner,
  body.friso-signature.friso-fala-over-baby.friso-baby-over-immu:not(.education) .baby-slider-wrapper .small-immu-no-added-sugar-slider-inner {
    z-index: 1 !important;
    background-color: transparent !important;
    background-image: none !important;
  }
  body.friso-signature:not(.education) .baby-slider-wrapper.baby-free-leave .small-immu-no-added-sugar-slider-inner,
  body.friso-signature:not(.education) .baby-slider-wrapper.baby-free-leave .baby,
  body.friso-signature:not(.education) .baby-slider-wrapper.baby-free-leave .friso-section-container-inner-full,
  body.friso-signature:not(.education) .baby-slider-wrapper.baby-free-leave .baby-container-btm,
  body.friso-signature.friso-fala-over-baby:not(.education) .baby-slider-wrapper .small-immu-no-added-sugar-slider-inner,
  body.friso-signature.friso-fala-over-baby:not(.education) .baby-slider-wrapper .baby,
  body.friso-signature.friso-fala-over-baby:not(.education) .baby-slider-wrapper .friso-section-container-inner-full,
  body.friso-signature.friso-fala-over-baby:not(.education) .baby-slider-wrapper .baby-container-btm {
    overflow: visible !important;
  }
  /* Keep tin/girl shadow visible during freeLeave / fala handoff (user:
     don’t hide on scroll). Signature stays above via z-index:50 below. */
  /* Fala media must sit above girl pin (z:40) AND stuck farm pin (z:5) */
  body.friso-signature.friso-fala-over-baby:not(.education) .friso-section-container.signature-section,
  body.friso-signature.friso-fala-over-baby:not(.education) .fala-born-viewport,
  body.friso-signature:not(.education) .baby-slider-wrapper.baby-free-leave ~ .section-nav .friso-section-container.signature-section,
  body.friso-signature:not(.education) .baby-slider-wrapper.baby-free-leave ~ * .friso-section-container.signature-section {
    position: relative !important;
    z-index: 50 !important;
  }
  /* Base .fala-signature-container-img { opacity:0 } — force show on handoff.
     Transparent plate so Born-to-be text alpha composites over site bg / Fala,
     not solid #1f0c06 brown. */
  body.friso-signature.friso-fala-over-baby:not(.education) .fala-signature-container-img,
  body.friso-signature.friso-fala-over-baby:not(.education) .fala-signature-container-img.revealed {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
    background-color: transparent !important;
  }
  /* Poster only until canvas has Fala+text composite (.fala-painted). */
  body.friso-signature.friso-fala-over-baby:not(.education) .fala-signature-container-img:not(.fala-painted) .fala-born-still {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 3 !important;
  }
  body.friso-signature.friso-fala-over-baby:not(.education) .fala-signature-container-img.fala-painted .fala-born-still {
    opacity: 0 !important;
  }
  body.friso-signature.friso-fala-over-baby:not(.education) .fala-signature-container-img.fala-painted > #fala-canvas,
  body.friso-signature.friso-fala-over-baby:not(.education) .fala-signature-container-img.fala-painted > canvas {
    opacity: 1 !important;
  }
}



/* Stuck farm pin (title-lock OR leftover ST fixed) must not paint over Signature.
   Live repro: farm-animation-pin stayed position:fixed;z-index:5 at Signature. */
body.friso-signature.friso-fala-over-baby:not(.education) .farm-animation-pin,
body.friso-signature.friso-fala-over-baby:not(.education) .farm-animation-pin.friso-farm-title-lock-pin,
html.friso-farm-title-lock body.friso-signature.friso-fala-over-baby:not(.education) .farm-animation-pin,
body.friso-signature:not(.education) .baby-slider-wrapper.baby-free-leave ~ * .farm-animation-pin {
  z-index: 0 !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
html.friso-farm-title-lock body.friso-signature.friso-fala-over-baby {
  position: static !important;
  top: auto !important;
}

/* fala-headline-first — old order: 天生突破 fades in, THEN Born sequence.
   .fala-seq-ready = headline armed (not “wait for film”). Seating stays hidden. */
@media screen and (max-width: 768px) {
  body.friso-signature:not(.education) h2.fala-title-fadein.fala-signature__title:not(.fala-seq-ready),
  body.friso-signature:not(.education) h2.fala-title-fadein:not(.fala-seq-ready),
  body.friso-signature:not(.education) .signature-section.fala-seating h2.fala-title-fadein.fadein-ele,
  body.friso-signature:not(.education) .signature-section.fala-seating h2.fala-title-fadein.fadein-ele.scrolled {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: none !important;
  }
  body.friso-signature:not(.education) h2.fala-title-fadein.fala-signature__title.fala-seq-ready,
  body.friso-signature:not(.education) h2.fala-title-fadein.fala-seq-ready,
  body.friso-signature:not(.education) h2.fala-title-fadein.fadein-ele.scrolled.fala-seq-ready,
  body.friso-signature:not(.education) .signature-section.fala-enter-from-baby h2.fala-title-fadein.fala-seq-ready,
  body.friso-signature.friso-fala-over-baby:not(.education) h2.fala-title-fadein.fala-seq-ready {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: none !important;
    /* Fade in when .fala-seq-ready is armed (before film). */
    transition: opacity 0.55s ease !important;
  }
  body.friso-signature:not(.education) h2.fala-title-fadein.fala-seq-ready picture,
  body.friso-signature:not(.education) h2.fala-title-fadein.fala-seq-ready .fala-signature-title__img,
  body.friso-signature:not(.education) h2.fala-title-fadein.fala-seq-ready img {
    opacity: 1 !important;
    visibility: visible !important;
  }
}
