/* V7.5 — two independent zoom systems:
 * existing Estate/Valley/Region/Realm and this 1%-increment fine camera.
 * Desktop is centered below the level selector, clear of the right compass;
 * phone slider stays within the existing Zoom tray.
 */
.jw-micro-desktop[hidden],.jw-micro-mobile[hidden]{display:none!important;}
.jw-micro-desktop{
  position:absolute;z-index:63;top:151px;left:50%;right:auto;
  transform:translateX(-50%);
  width:min(344px,calc(100% - 48px));min-height:44px;
  display:grid;grid-template-columns:32px minmax(70px,1fr) 32px 44px 33px;
  align-items:center;column-gap:5px;row-gap:4px;padding:8px 9px;
  background:#0c281de8;border:1px solid #d5c28e9d;
  box-shadow:0 5px 18px #05150ebf;backdrop-filter:blur(12px);
  color:#f1e8cd;
}
.jw-micro-desktop label{
  grid-column:1/-1;display:block;text-align:center;
  font:700 9px/1.1 system-ui,sans-serif;letter-spacing:.10em;
  text-transform:uppercase;color:#f4e1aa;
}
.jw-micro-desktop button{
  min-height:29px;padding:3px 4px;color:#f1e9cc;background:#214332;
  border:1px solid #d4c58d83;cursor:pointer;font:700 12px system-ui,sans-serif;
}
.jw-micro-desktop button:disabled{opacity:.45;cursor:not-allowed;}
.jw-micro-desktop output{font:700 10px/1 system-ui,sans-serif;text-align:center;font-variant-numeric:tabular-nums;}
.jw-micro-desktop input[type="range"],.jw-micro-mobile input[type="range"]{
  width:100%;min-width:0;accent-color:#e8db9e;cursor:pointer;
}
.jw-micro-desktop input:focus-visible,.jw-micro-desktop button:focus-visible,
.jw-micro-mobile input:focus-visible{outline:2px solid #fff0b4;outline-offset:3px;}
.jw-micro-mobile{display:none;}
@media (max-width:650px), (max-width:900px) and (max-height:540px) and (orientation:landscape){
  .jw-micro-desktop{display:none!important;}
  body.jw-mobile-atlas-ready .jw-detail-tray.is-open .jw-micro-mobile{
    display:grid;grid-column:1/-1;grid-template-columns:minmax(0,1fr);
    align-items:center;gap:5px;padding:4px 8px 3px;
    border-top:1px solid #dac9944d;
  }
  .jw-micro-mobile label{
    font:700 10px/1.25 system-ui,sans-serif;letter-spacing:.01em;
    color:#e7debb;text-align:center;
  }
  body.jw-mobile-atlas-ready .jw-micro-mobile input[type="range"]{
    height:27px;min-height:27px;touch-action:pan-x;
  }
  /* Allow the taller Zoom tray to coexist with six-place directory. */
  body.jw-mobile-estate:has(.jw-detail-tray.is-open) #cineDistrictRail{
    bottom:183px!important;
  }
  body.jw-mobile-estate.jw-estate-details-open:has(.jw-detail-tray.is-open) #terrainWorld.cinematic-active .world-facts {
    bottom:195px!important;
  }
  body.jw-mobile-estate.jw-estate-details-open:has(.jw-detail-tray.is-open) .jw-estate-details-dismiss {
    bottom:342px!important;
  }
}
@media (max-width:900px) and (max-height:540px) and (orientation:landscape){
  body.jw-mobile-estate:has(.jw-detail-tray.is-open) #cineDistrictRail{bottom:180px!important;}
}
@media(prefers-reduced-motion:reduce){
  .jw-micro-desktop,.jw-micro-mobile{scroll-behavior:auto;}
}