.zamochi-gadov-wrap {
  width: 100%;
  max-width: 100%;
  margin: 1.25rem auto;
  background: #1e2e10;
  border: 1px solid #c5d39a;
  position: relative;
}

.zamochi-gadov-bar {
  display: none;
}

.zamochi-gadov-fs {
  display: none;
}

.zamochi-gadov-frame {
  display: block;
  width: 100%;
  height: 720px;
  max-height: 90vh;
  border: 0;
  background: #e7f0c8;
}

.zamochi-gadov-wrap:fullscreen,
.zamochi-gadov-wrap:-webkit-full-screen {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  background: #1a2118;
  display: flex;
  flex-direction: column;
}

.zamochi-gadov-wrap:fullscreen .zamochi-gadov-bar,
.zamochi-gadov-wrap:-webkit-full-screen .zamochi-gadov-bar {
  display: block;
}

.zamochi-gadov-wrap:fullscreen .zamochi-gadov-frame,
.zamochi-gadov-wrap:-webkit-full-screen .zamochi-gadov-frame {
  flex: 1;
  height: auto !important;
  max-height: none;
  min-height: 0;
}

html.zamochi-gadov-lock,
body.zamochi-gadov-lock {
  overflow: hidden !important;
  touch-action: none;
}

.zamochi-gadov-wrap.is-fs {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  z-index: 2147483646 !important;
  height: 100% !important;
  height: 100dvh !important;
  display: flex !important;
  flex-direction: column;
  background: #1a2118;
  transform: none !important;
}

.zamochi-gadov-wrap.is-fs .zamochi-gadov-bar {
  display: block;
  flex: 0 0 auto;
}

.zamochi-gadov-wrap.is-fs .zamochi-gadov-frame {
  flex: 1 1 auto;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
}

@media (max-width: 900px) {
  .zamochi-gadov-wrap {
    width: 100vw !important;
    max-width: 100vw;
    margin: 0 calc(50% - 50vw);
    border-left: 0;
    border-right: 0;
  }

  .zamochi-gadov-bar {
    display: block;
    background: #1e2e10;
    padding: 8px 10px;
  }

  .zamochi-gadov-fs {
    display: block;
    width: 100%;
    border: 0;
    background: #5a9a18;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 12px 10px;
    min-height: 48px;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    z-index: 4;
  }

  .zamochi-gadov-frame {
    height: 100svh;
    max-height: none;
    min-height: 380px;
  }
}
