/* Windy embed lock - padlock on the map; keeps pan/zoom when relocking */
.wx-windy-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.wx-windy-stage {
  position: relative;
  width: 100%;
  line-height: 0;
}
.wx-windy-wrap iframe {
  display: block;
  width: 100%;
  max-width: 100%;
}
.wx-windy-wrap.is-locked iframe {
  pointer-events: none !important;
}
/* Scroll shield covers only the Windy map while locked */
.wx-windy-scroll-shield {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: transparent;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.wx-windy-wrap.is-locked .wx-windy-scroll-shield {
  display: block;
  pointer-events: auto;
}
/* Padlock on the radar image (not a separate bar) */
.wx-windy-lock-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a3344;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  pointer-events: auto;
}
.wx-windy-lock-btn:hover,
.wx-windy-lock-btn:focus {
  background: #fff;
  color: #0d6e63;
}
.wx-windy-lock-btn:focus {
  outline: 2px solid #0d6e63;
  outline-offset: 2px;
}
.wx-windy-lock-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}
.wx-windy-wrap:not(.is-locked) .wx-windy-lock-btn {
  background: #fff3cd;
  border-color: #e0a800;
  color: #856404;
}
