/* KS-only presentation refinement. No forms, consent or medical copy changed. */
html body .hero[data-full-header-brand="krebs-scan"] .price{flex:0 0 auto!important;min-width:max-content!important}
html body .hero[data-full-header-brand="krebs-scan"] .price>strong,
html body .ks-price-card>strong{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
html body .hero[data-full-header-brand="krebs-scan"] .hero-actions{min-width:0}
html body .ks-biomarker-rail57{position:absolute;z-index:5;left:44%;top:25%;display:grid;gap:24px;width:clamp(96px,7.4vw,142px);pointer-events:none}
html body .ks-biomarker-rail57 .ks-analysis-readout{position:relative;inset:auto;box-sizing:border-box;min-width:0;width:100%;padding:12px 10px;opacity:1;transform:none;animation:none;background:linear-gradient(135deg,#062c43f5,#063950e8);border:1px solid #55dce78c;border-left:3px solid #39e3f0;border-radius:8px;box-shadow:0 12px 32px #0004;color:#e8fbff}
html body .ks-biomarker-rail57 .ks-analysis-readout span{font-size:18px;line-height:1.15;letter-spacing:.02em;color:#67f1f5}
html body .ks-biomarker-rail57 .ks-analysis-readout strong{font-size:9px;line-height:1.5;letter-spacing:.035em;overflow-wrap:normal}
html body .ks-biomarker-rail57 .ks-analysis-readout::after{content:"";position:absolute;top:50%;right:-18px;width:18px;height:1px;background:linear-gradient(90deg,#69f1ef99,transparent)}
html body .ks-analysis-stage .ks-analysis-scan{animation-duration:8s}
html body .ks-analysis-stage .ks-curve-nodes circle{transform-box:fill-box;transform-origin:center}

/* A light, local vector animation complements the existing explanation. */
.ks-lab57{position:relative;isolation:isolate;margin:0 0 24px;padding:20px 18px 12px;overflow:hidden;border:1px solid #39bbd052;border-radius:10px;background:radial-gradient(ellipse at 30% 80%,#0e637d88,transparent 65%),linear-gradient(120deg,#04283e,#061c34);color:#dffcff;box-shadow:0 14px 32px #032d4317}
.ks-lab57::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.17;background-image:linear-gradient(#48e6e41f 1px,transparent 1px),linear-gradient(90deg,#48e6e41f 1px,transparent 1px);background-size:22px 22px;transform:perspective(400px) rotateX(18deg) scale(1.12);transform-origin:center bottom}
.ks-lab57-label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#70e9ee;font:800 10px/1.3 var(--font-manrope,Arial,sans-serif);letter-spacing:.12em;text-transform:uppercase}
.ks-lab57-label i{height:5px;width:5px;background:#5beaee;box-shadow:0 0 10px #67f7ed;border-radius:50%}
.ks-lab57 svg{display:block;width:100%;height:auto;overflow:visible;margin:15px 0 5px}
.ks-lab57 svg text{fill:#ddfcff;font:700 13px Arial,sans-serif;text-anchor:middle}
.ks-lab57 .ks-lab57-ring{fill:#124a60;stroke:#70e9ee;stroke-width:1.4}
.ks-lab57 .ks-lab57-cell{fill:#1b8b9c;stroke:#7df7e9;stroke-width:.8;transform-box:fill-box;transform-origin:center}
.ks-lab57 .ks-lab57-cell-core{fill:#a9fce5}
.ks-lab57 .ks-lab57-channel{fill:none;stroke:#4cd5e1;stroke-width:1.6;opacity:.25}
.ks-lab57 .ks-lab57-pulse{fill:none;stroke:#91fff1;stroke-width:2;stroke-dasharray:1;stroke-dashoffset:1}
.ks-lab57 .ks-lab57-chip{fill:#0d4159;stroke:#38c1d4;stroke-width:1}
.ks-lab57 .ks-lab57-grid{fill:none;stroke:#70e9ee;stroke-width:.6;opacity:.16}
.ks-lab57 .ks-lab57-trace{fill:none;stroke:#78f2d1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1}
.ks-lab57 .ks-lab57-scanner{fill:#5ef2ee;opacity:.5}
.ks-lab57 figcaption{margin:8px 0 0;color:#b6d5df;font:500 10px/1.5 var(--font-manrope,Arial,sans-serif);text-align:center}
.ks-lab57 .ks-lab57-cell{animation:ks57-cell 8s ease-in-out infinite;animation-play-state:paused}
.ks-lab57 .ks-lab57-pulse{animation:ks57-signal 8s ease-in-out infinite;animation-play-state:paused}
.ks-lab57 .ks-lab57-trace{animation:ks57-trace 8s ease-in-out infinite;animation-play-state:paused}
.ks-lab57 .ks-lab57-scanner{animation:ks57-scan 8s ease-in-out infinite;animation-play-state:paused}
.ks-lab57.is-active57 :is(.ks-lab57-cell,.ks-lab57-pulse,.ks-lab57-trace,.ks-lab57-scanner){animation-play-state:running}
@keyframes ks57-cell{0%,100%{transform:scale(1)}18%,32%{transform:scale(1.16)}60%{transform:scale(.96)}}
@keyframes ks57-signal{0%,18%{stroke-dashoffset:1;opacity:.2}50%,85%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:.2}}
@keyframes ks57-trace{0%,43%{stroke-dashoffset:1;opacity:.35}72%,90%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:.35}}
@keyframes ks57-scan{0%,10%{transform:translateX(0);opacity:0}16%{opacity:.7}42%{transform:translateX(80px);opacity:.7}50%,100%{transform:translateX(80px);opacity:0}}

/* Self-hosted poster files remain visible without loading YouTube. */
html body .ks-video-stage{isolation:isolate;aspect-ratio:16/9;min-height:0}
html body .ks-video-stage>img.ks-video-poster57{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;display:block;opacity:1}
html body .ks-video-stage:has(>img.ks-video-poster57)::before{inset:0;width:auto;height:auto;border:0;border-radius:0;box-shadow:none;z-index:1;background:linear-gradient(180deg,transparent 55%,#02294448);pointer-events:none}
html body .ks-video-stage .ks-video-play{z-index:2;background:linear-gradient(135deg,#f4fffff5,#e1f8fff0);border:2px solid #29c7de;box-shadow:0 8px 24px #012e4d66;width:68px;height:68px;transition:transform .2s ease,box-shadow .2s ease}
html body .ks-video-stage .ks-video-play::after{border-left-color:#059abf;filter:drop-shadow(1px 1px 0 #fff)}
html body .ks-video-stage .ks-video-play:hover,
html body .ks-video-stage .ks-video-play:focus-visible{transform:translateY(-2px) scale(1.04);background:#fff;box-shadow:0 12px 30px #03aac077}
html body .ks-video-stage iframe{position:absolute;inset:0;width:100%;height:100%;z-index:4}
html body .ks-video-stage:has(iframe) .ks-video-play,
html body .ks-video-stage:has(.ks-video-consent.is-visible) .ks-video-play{display:none}
html body .ks-video-stage:has(.ks-video-consent.is-visible){min-height:190px}
html body .ks-video-stage .ks-video-consent{position:relative;z-index:5;background:#042a40f5;border-radius:8px;margin:10px;color:#fff;font-size:13px}

@media(max-width:1180px) and (min-width:1001px){html body .ks-biomarker-rail57{left:44%;width:105px;top:24%;gap:18px}html body .ks-biomarker-rail57 .ks-analysis-readout{padding:10px 8px}}
@media(max-width:1000px){
 html body section.hero.kp-full-header[data-full-header-brand="krebs-scan"] .kp-full-portraits{--kp-person-h:min(calc((var(--kp-full-height) - 66px)*1.04),210vw)}
 html body .ks-biomarker-rail57{left:12px;right:12px;top:10px;width:auto;grid-template-columns: minmax(0,100px) minmax(0,100px);justify-content:space-between;gap:10px}
 html body .ks-biomarker-rail57 .ks-analysis-readout{padding:9px 8px}
 html body .ks-biomarker-rail57 .ks-analysis-readout span{font-size:16px}
 html body .ks-biomarker-rail57 .ks-analysis-readout strong{font-size:8px}
 html body .ks-biomarker-rail57 .ks-analysis-readout::after{display:none}
}
@media(max-width:480px){html body .ks-biomarker-rail57{left:8px;right:8px;grid-template-columns: minmax(0,82px) minmax(0,82px)}html body .ks-biomarker-rail57 .ks-analysis-readout{padding:8px 6px}.ks-lab57{padding:16px 10px 10px}.ks-lab57-label{font-size:9px}}
@media(prefers-reduced-motion:reduce){
 html body .ks-analysis-stage .ks-curve-path{animation:none!important;stroke-dashoffset:0!important;opacity:1!important}
 html body .ks-analysis-stage .ks-curve-nodes circle{animation:none!important;transform:none!important;opacity:1!important}
 html body .ks-lab57 *{animation:none!important;transition:none!important}
 html body .ks-lab57 :is(.ks-lab57-pulse,.ks-lab57-trace){stroke-dashoffset:0;opacity:1}
 html body .ks-lab57 .ks-lab57-scanner{display:none}
 html body .ks-video-stage .ks-video-play{transition:none}
}
