/* Compact Atlas 36.8 approximate source label and optional coverage layer.
 * The normal illustrated map, credit strip and dense terrain mode remain intact. */
body[data-start-world="6"] .j368-preview-explanation{font-size:11px;color:#e3d5be;margin:4px 0 8px}
body[data-start-world="6"] #j368UseApproximate{background:linear-gradient(125deg,#ffdfa0,#e2a05e);color:#281438;border:1px solid #ffdcab}
body[data-start-world="6"] #j368CoverageToggle[hidden],
body[data-start-world="6"] #j368CoverageLegend[hidden]{display:none!important}
body.j368-approximate .jura-nav-bar #juraNavDimension{
 display:inline-block!important;white-space:nowrap;font-weight:800;color:#ffdea2;
 font-size:10px;max-width:none;padding:4px 5px
}
body.j368-approximate .jura-3d-tools{max-width:calc(100% - 16px);flex-wrap:wrap}
body.j368-approximate #j368CoverageToggle{min-height:32px;color:#ffdc9f}
body.j368-approximate #j368CoverageToggle[aria-pressed="true"]{background:#7f4a96}
body.j368-approximate #j368CoverageLegend{
 width:100%;max-width:270px;padding:5px 7px;color:#f7e7d6;
 font:10px/1.4 system-ui;display:flex;flex-wrap:wrap;gap:3px 8px
}
#j368CoverageLegend strong{width:100%;font-size:10px}
#j368CoverageLegend span{white-space:nowrap}
#j368CoverageLegend i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:3px}
.j368-near{background:#45ad7a}.j368-mid{background:#e0963b}.j368-far{background:#636b7a}.j368-water{background:#306ea6}
body.j368-approximate #jura3dCanvas{opacity:1!important;pointer-events:auto!important}
body.j368-approximate #jura3dMarkerOverlay{display:block}
@media(max-width:700px){
 body[data-start-world="6"] #j368UseApproximate{min-width:124px}
 body.j368-approximate .jura-nav-bar #juraNavDimension{font-size:9px;padding:3px}
 body.j368-approximate .jura-3d-tools{max-width:calc(100% - 16px);justify-content:flex-end}
 body.j368-approximate #j368CoverageLegend{background:#20142aee;border-radius:7px}
}

/* Atlas 36.8: coverage lives in the primary navigation bar, not the
   legacy 3D tools hidden by the mobile clarity rules. One accessible owner. */
body[data-start-world="6"].j368-approximate .jura-nav-bar{
 max-width:calc(100% - 16px);flex-wrap:wrap;box-sizing:border-box
}
body[data-start-world="6"] #j368CoverageToggle{
 flex:0 0 auto;white-space:nowrap
}
body[data-start-world="6"].j368-approximate #j368CoverageLegend{
 position:absolute;right:0;top:calc(100% + 5px);
 box-sizing:border-box;width:min(270px,calc(100vw - 24px));
 border:1px solid #9a839f;border-radius:8px;
 background:#20142af5;box-shadow:0 5px 15px #0005;
}
body[data-start-world="6"].j368-approximate #j368CoverageLegend span{
 display:inline-block!important;padding:0!important;font-size:10px;
 color:#f7e7d6;white-space:nowrap
}
@media(max-width:700px){
 body[data-start-world="6"].j368-approximate #j368CoverageToggle{
  min-height:42px;font-size:10px;padding:5px 6px
 }
}
