/* Delta-Sierra Mars core V13 — single-owner controls + contrast */
.ds-floating-actions[data-ds-owner="v13"]{position:fixed;right:max(14px,env(safe-area-inset-right));bottom:22px;z-index:190;display:flex;flex-direction:column;gap:10px;align-items:center}
.ds-floating-actions[data-ds-owner="v13"]>button,.ds-floating-actions[data-ds-owner="v13"]>a{width:48px;height:48px;border-radius:14px;border:1px solid rgba(255,255,255,.35);display:grid;place-items:center;background:#17356f;color:#fff!important;-webkit-text-fill-color:#fff!important;font:700 22px/1 system-ui;text-decoration:none;box-shadow:0 6px 22px rgba(0,0,0,.26);cursor:pointer}
.ds-floating-actions[data-ds-owner="v13"]>.ds-floating-support{background:#c7352c}
.ds-page-toc{right:max(76px,calc(env(safe-area-inset-right) + 76px))!important;max-width:min(360px,calc(100vw - 100px))!important;max-height:min(70vh,760px)!important;overflow:auto!important;z-index:175!important}
.ds-page-toc__panel{max-height:min(66vh,720px)!important;overflow:auto!important;overscroll-behavior:contain}
.ds-page-toc a{white-space:normal!important;overflow-wrap:anywhere}
.mars-hero h1,.mars-bible-hero h1,.mars-hero__title{color:#f8fbff!important;-webkit-text-fill-color:#f8fbff!important;text-shadow:0 2px 8px rgba(0,0,0,.78)!important;background:none!important;background-clip:border-box!important;-webkit-background-clip:border-box!important}
body[data-content-id="mars-architecture-systeme-vaisseau-interplanetaire-mars"] .mars-hero h1{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;mix-blend-mode:normal!important}
.ds-figure-zoom-button{display:inline-flex!important;align-items:center;gap:.4rem;max-width:100%;white-space:normal}
@media(max-width:900px){.ds-page-toc{right:72px!important;left:auto!important;bottom:82px!important;top:auto!important;max-width:calc(100vw - 86px)!important;max-height:62vh!important}.ds-floating-actions[data-ds-owner="v13"]{right:10px;bottom:14px}.ds-floating-actions[data-ds-owner="v13"]>button,.ds-floating-actions[data-ds-owner="v13"]>a{width:44px;height:44px}}
@media(max-width:430px){.ds-page-toc{right:62px!important;max-width:calc(100vw - 72px)!important}.ds-floating-actions[data-ds-owner="v13"]>button,.ds-floating-actions[data-ds-owner="v13"]>a{width:42px;height:42px}}


/* DELTA-SIERRA MARS V14 CLOSEOUT — 2026-09-18
   Final dark-surface interaction recovery. Prevents INFO/links from becoming
   dark-on-dark on hover/focus/visited states after the layered legacy cascade. */
html#ds-mars-root body.mars-site :is(.mars-hero,.mars-system-hero,.mars-bible-hero,.mars-dark,.mars-bible-dark,.mars-technical-layer,[class*="technical-layer"]) .ds-core-info-trigger,
html#ds-mars-root body.mars-page :is(.mars-hero,.mars-system-hero,.mars-bible-hero,.mars-dark,.mars-bible-dark,.mars-technical-layer,[class*="technical-layer"]) .ds-core-info-trigger{
  color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;
  text-decoration-color:#f2c261!important;background:transparent!important;
  border-radius:4px!important;
}
html#ds-mars-root body.mars-site :is(.mars-hero,.mars-system-hero,.mars-bible-hero,.mars-dark,.mars-bible-dark,.mars-technical-layer,[class*="technical-layer"]) .ds-core-info-trigger:hover,
html#ds-mars-root body.mars-site :is(.mars-hero,.mars-system-hero,.mars-bible-hero,.mars-dark,.mars-bible-dark,.mars-technical-layer,[class*="technical-layer"]) .ds-core-info-trigger:focus-visible,
html#ds-mars-root body.mars-page :is(.mars-hero,.mars-system-hero,.mars-bible-hero,.mars-dark,.mars-bible-dark,.mars-technical-layer,[class*="technical-layer"]) .ds-core-info-trigger:hover,
html#ds-mars-root body.mars-page :is(.mars-hero,.mars-system-hero,.mars-bible-hero,.mars-dark,.mars-bible-dark,.mars-technical-layer,[class*="technical-layer"]) .ds-core-info-trigger:focus-visible{
  color:#fff4cf!important;-webkit-text-fill-color:#fff4cf!important;
  background:#5b291b!important;text-decoration-color:#ffe08a!important;
  outline:3px solid #ffe08a!important;outline-offset:2px!important;
}
html#ds-mars-root body.mars-site :is(.mars-hero,.mars-system-hero,.mars-bible-hero,.mars-dark,.mars-bible-dark,.mars-technical-layer,[class*="technical-layer"]) a[href]:not(.mars-btn):not(.mars-button):not(.btn-soutien):not([class*="button"]),
html#ds-mars-root body.mars-page :is(.mars-hero,.mars-system-hero,.mars-bible-hero,.mars-dark,.mars-bible-dark,.mars-technical-layer,[class*="technical-layer"]) a[href]:not(.mars-btn):not(.mars-button):not(.btn-soutien):not([class*="button"]){
  color:#c9e8ff!important;-webkit-text-fill-color:#c9e8ff!important;
  text-decoration-color:currentColor!important;
}
html#ds-mars-root body.mars-site :is(.mars-hero,.mars-system-hero,.mars-bible-hero,.mars-dark,.mars-bible-dark,.mars-technical-layer,[class*="technical-layer"]) a[href]:not(.mars-btn):not(.mars-button):not(.btn-soutien):not([class*="button"]):is(:hover,:focus-visible),
html#ds-mars-root body.mars-page :is(.mars-hero,.mars-system-hero,.mars-bible-hero,.mars-dark,.mars-bible-dark,.mars-technical-layer,[class*="technical-layer"]) a[href]:not(.mars-btn):not(.mars-button):not(.btn-soutien):not([class*="button"]):is(:hover,:focus-visible){
  color:#fff4cf!important;-webkit-text-fill-color:#fff4cf!important;
  background:#5b291b!important;text-decoration-color:#ffe08a!important;
  outline:3px solid #ffe08a!important;outline-offset:2px!important;border-radius:4px!important;
}
/* On light reading surfaces, hover remains clearly darker than the pale hover background. */
html#ds-mars-root body.mars-site .mars-portal-main [data-ds-text-surface="light"] a[href]:not(.mars-btn):not(.mars-button):not([class*="button"]):is(:hover,:focus-visible),
html#ds-mars-root body.mars-page .mars-portal-main [data-ds-text-surface="light"] a[href]:not(.mars-btn):not(.mars-button):not([class*="button"]):is(:hover,:focus-visible){
  color:#00294f!important;-webkit-text-fill-color:#00294f!important;background:#dceeff!important;
}
