@import url("https://fonts.googleapis.com/css2?family=Golos+Text:wght@400..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

body {
  font-family: sans-serif;
  overscroll-behavior-y: contain;
}
/*
#panel {
  position: absolute;
  font-family: "Golos Text", sans-serif;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
  margin: 10px;
  top: 0;
  background: #ffffffa4;
  z-index: 10000;
  padding: 6px;

  border-radius: 4px;
  transition: opacity 400ms;

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
*/
#panel {
  position: absolute;
  font-family: "Golos Text", sans-serif;
  margin: 10px;
  top: 0;
  background: rgba(128, 128, 128, 0.3);
  z-index: 10000;
  padding: 6px;
  border-radius: 24px;
  transition: opacity 400ms;
  box-shadow:
    2px 2px 20px 0px #00000038,
    1px 1px 6px 0px rgb(0 0 0 / 20%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
#panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 25px;
  padding: 1px;
  background: linear-gradient(
    170deg,
    rgb(255 255 255 / 50%),
    rgb(0 0 0 / 3%),
    rgb(0 0 0 / 3%),
    rgb(255 255 255 / 15%)
  );
  pointer-events: none;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

#panel input {
  cursor: pointer;
}
#panel label {
  cursor: pointer;
}
/*
#panel button {
  flex: 1;
  margin: 2px;
  font-family: "Golos Text", sans-serif;
  font-size: 0.8em;
  outline: none;
  border: 1px solid #ddd;
  background: white;
  padding: 6px;
  color: black;
  border-radius: 4px;
  cursor: pointer;
  transition: background 200ms, border 200ms;
}
#panel button:hover {
  border: 1px solid #fff;
  background: #ddd;
}*/
#panel button {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  border-radius: 12px;
  font-family: "Golos Text", sans-serif;
  font-size: 14px;
  outline: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: background-color 200ms;
  height: 36px;
  min-width: 36px;
  background-color: transparent;
}
#panel button:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.buttonLine {
  pointer-events: none;
  /*padding-left: 6px;
  padding-right: 6px;*/
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  overflow: hidden;
}

.toggleLayer {
  margin-top: 6px;
  margin-bottom: 6px;
}

.buttonPanel {
  display: flex;
  flex-direction: column;
  /*-*/
  overflow: hidden;

  background: #0000001a;
  margin: 8px;
  /*padding: 12px;*/
  border-radius: 12px;
  box-shadow:
    inset 0px -0.5px 1px hsl(0deg 0% 37% / 30%),
    inset 0 3px 3px hsl(0deg 0% 50% / 18%),
    inset 0 -0.5px 1px hsl(0deg 0% 100% / 20%);
}

#commentsPanel {
  display: flex;
  overflow: hidden;
  /* margin: 2px;
  border: 1px solid #ddd;
  background: #ddd;
  border-radius: 5px;*/
  /*padding: 0.5em;*/
  flex-direction: row;
  justify-content: space-between;
  max-width: 132px;
  /* margin: 4px;*/
  height: 0px;
  transition: height 0.3s ease-in-out;
}
#commentsPanel button {
  margin: 4px;
  margin-top: 6px;
}
#layersPanel {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  align-items: stretch;
  max-width: 132px;
  height: 0px;
  transition: height 0.3s ease-in-out;
}
#layersPanel .project-toggle {
  display: flex;
  height: 24px;
  margin-left: 4px;
  margin-right: 4px;
  flex-direction: row;
  justify-content: flex-start;
  font-size: 12px;
}
#layersPanel .project-toggle:first-child {
  margin-top: 6px;
}
#layersPanel .project-toggle:last-child {
  margin-bottom: 4px;
}
.buttonLine span {
  text-overflow: ellipsis;
  overflow: hidden;
}

#layersPanel .project-toggle.hidden {
  color: #ddd;
}
#toggleLayers.active {
  background-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 0px 1px rgb(255 255 255 / 33%);
}

/*
#toggleComments.active {
  background-color: #ddd;
  border: 1px solid white;
}
*/
#toggleComments.active {
  background-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 0px 1px rgb(255 255 255 / 33%);
}

#modal button {
  margin: 2px;
  outline: none;
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: white;
  padding: 4px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 200ms;
  width: 70px;
}
#modal button:hover {
  background: #ddd;
}
.tip {
  display: inline-block;
  width: 66px;
}
.rangeValue {
  display: inline-block;
  width: 26px;
}
#animate {
  float: right;
}
#stops {
  width: calc(100% + 6px);
  margin-left: -6px;
  margin-top: 6px;
  padding-left: 6px;
  padding-top: 6px;
  border-top: 2px solid #ddd;
}
.stop {
  margin: 2px;
  margin-right: 8px;
  padding: 4px;
  background: #ddd;
  /* width: 100%; */
  border-radius: 4px;
}
#modal {
  background: #fff;
  left: 250px;
  display: none;
  position: absolute;
  z-index: 100;
  margin: 10px;
  padding: 6px;
  border-radius: 4px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}
#colorPicker {
  height: 20px;
  border: none;
  margin: 0;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: none;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  border-radius: 4px;
  width: 34px;
  transform: translate(0, 4px);
}
::-webkit-color-swatch-wrapper {
  padding: 0;
}

::-webkit-color-swatch {
  border: 0;
  border-radius: 0;
}

::-moz-color-swatch,
::-moz-focus-inner {
  border: 0;
}

::-moz-focus-inner {
  padding: 0;
}

@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
  #date {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.5);
  }
}

#timeSlider {
  outline: 0;
  border: 0;
  border-radius: 500px;
  width: 100%;
  max-width: 100%;

  transition: box-shadow 0.2s ease-in-out;

  @media screen and (-webkit-min-device-pixel-ratio: 0) {
    & {
      overflow: hidden;
      height: 16px;
      -webkit-appearance: none;
      background-color: #ddd;
    }
    &::-webkit-slider-runnable-track {
      height: 16px;
      -webkit-appearance: none;
      color: #444;
      margin-top: -1px;
      transition: box-shadow 0.2s ease-in-out;
    }
    &::-webkit-slider-thumb {
      width: 16px;
      -webkit-appearance: none;
      height: 16px;
      cursor: ew-resize;
      background: #5474d4;
      box-shadow:
        -828px 0 0 820px #5474d4,
        inset 0 0 0 16px #5474d4;
      border-radius: 50%;
      transition:
        box-shadow 0.2s ease-in-out,
        background 0.2s ease-in-out;
      position: relative;
      top: 1px;
    }
    &:active::-webkit-slider-thumb {
      background: #fff;
      box-shadow:
        -828px 0 0 820px #5474d4,
        inset 0 0 0 3px #5474d4;
    }
  }
}

::-moz-range-progress {
  background-color: #43e5f7;
}
::-moz-range-track {
  background-color: #9a905d;
}

::-ms-fill-lower {
  background-color: #43e5f7;
}
::-ms-fill-upper {
  background-color: #9a905d;
}
/*
.maplibregl-popup.comment-popup {
  max-width: 200px;
  font-size: 12px;
  background-color: blue;
  border: 1px solid #ccc;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}
*/
.maplibregl-popup {
  z-index: 10000;
}
.maplibregl-popup.comment-popup {
  max-width: 340px !important;
}
.maplibregl-popup.comment-popup.resolved-comment .maplibregl-popup-content {
  background-color: rgba(80, 80, 80, 0.5);
}
.resolve-comment.resolved-active {
  background-color: rgba(120, 120, 120, 1);
  color: white;
}
.maplibregl-popup.techPopup {
  max-width: 340px !important;
}
.techPopup .maplibregl-popup-content {
  max-width: 340px !important;
  background: rgba(0, 0, 0, 0.6);

  padding: 0;
  outline: 2px solid rgb(255 255 255 / 40%);
  border-radius: 14px;

  font-family: "Golos Text", sans-serif;
  color: white;
  transform-origin: bottom center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:
    2px 2px 20px 0px #00000038,
    1px 1px 6px 0px rgb(0 0 0 / 20%);
}

.techPopup .maplibregl-popup-content button {
  width: fit-content;
  /*color: white;
  background: transparent;*/
  padding: 6px 10px;
  font-family: "Golos Text", sans-serif;
  border-radius: 8px;
  /* border: rgb(255 255 255 / 30%) 1px solid;
  
  cursor: pointer;*/
}
.maplibregl-popup-anchor-bottom .maplibregl-popup-tip {
  border-top-color: rgba(0, 0, 0, 0.6);
}
.maplibregl-popup.comment-popup .maplibregl-popup-content {
  padding: 0;
  outline: 2px solid rgb(255 255 255 / 40%);
  border-radius: 14px;
  background-color: rgba(37, 147, 110, 0.6);
  font-family: "Golos Text", sans-serif;
  color: white;
  transform-origin: bottom center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:
    2px 2px 20px 0px #00000038,
    1px 1px 6px 0px rgb(0 0 0 / 20%);
}

.comment-popup .move-popup {
  cursor: grab;
}

.maplibregl-popup.comment-popup .maplibregl-popup-tip {
  display: none;
}
#commentInput {
  width: 300px;

  box-sizing: border-box;

  font-size: 14px;

  border-radius: 8px;
  padding: 6px;
  resize: none;
  outline: none;
  border: none;
  background-color: rgb(208 208 208 / 30%);
  color: white;
  font-family: "Golos Text", sans-serif;
  box-shadow:
    inset 0 -1px 2px 0px rgba(255, 255, 255, 0.3),
    inset 0 1.5px 4px 0px rgb(0 0 0 / 30%);
}
.comment-text {
  padding: 2px 4px;
  font-size: 14px;
}
.reply {
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 8px;
  /*padding: 4px 6px;*/
  margin-top: 4px;
  font-size: 12px;
  position: relative;
}

.hidden {
  display: none;
}

.reply-input {
  margin-top: 6px;
  display: flex;
  flex-direction: row;
  column-gap: 0.5em;
  /*background: rgb(37, 147, 110);*/
  padding: 0.5em;
  border-radius: 0.5em;
}

.comment-popup .reply-text {
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;

  font-family: "Golos Text", sans-serif;
}
.reply-form {
  width: 100%;
}
.reply textarea,
.comment-edit {
  /*
  width: 300px;
  margin: 4px;
  box-sizing: border-box;
  */
  font-size: 14px;
  width: 300px;
  margin: 4px;
  box-sizing: border-box;
  border-radius: 8px;
  padding: 6px;
  resize: none;
  outline: none;
  border: none;
  background-color: rgb(208 208 208 / 30%);
  color: white;
  font-family: "Golos Text", sans-serif;
  box-shadow:
    inset 0 -1px 2px 0px rgba(255, 255, 255, 0.3),
    inset 0 1.5px 4px 0px rgb(0 0 0 / 30%);
}

.popup-main {
  padding: 8px;
}
.popup-main i {
  pointer-events: none;
}

.popup-main button {
  display: flex;
  position: relative;
  background: rgba(255, 255, 255, 0);
  outline: none;
  /*border: 1px solid rgba(0, 0, 0, 0.3);*/
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  color: white;
  cursor: pointer;
  /*transition: background 0.2s;*/
  overflow: hidden;
  transition: background 0.5s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  align-items: center;
  align-content: center;
  justify-content: center;
}
/*
.popup-main button:hover {

  background: rgba(255, 255, 255, 0.2);
}*/

.popup-main button::before {
  content: "";
  position: absolute;
  top: var(--y);
  left: var(--x);
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.05),
    transparent 70%
  );
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s;
  mix-blend-mode: screen;
  filter: blur(10px);
}

.popup-main button:hover::before {
  opacity: 1;
}

.reply-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  /*margin-bottom: 4px;*/
}

.reply-text {
  flex-grow: 1;
  font-size: 12px;
  margin: 0;
  padding: 6px;
  color: white;
  background: transparent;
  border: none;
}

.reply-text::placeholder {
  color: white;
}
.reply-edit {
  background: white;
  border: 1 px solid white;
}

.reply-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 60px;
  margin-left: 4px;
  margin-right: 4px;
}

.reply-actions button {
  background: transparent;
  outline: none;
  border: none;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  font-size: 14px;
}

.reply-actions.hidden-inactive {
  display: none;
}

.popup-main .reply-input ~ .reply-block .reply-actions {
  display: flex;
}

/*
.reply-input button {
  margin-right: 4px;
}
*/
.reply-form textarea {
  width: 100%;
  margin-top: 4px;
  margin-bottom: 4px;
}

#map-toast {
  pointer-events: none;
  position: absolute;
  z-index: 90000;
  bottom: 38px;
  left: 50%;
  font-family: "Golos Text", sans-serif;
  transform: translateX(-50%);
  background: rgb(0 0 0 / 40%);
  color: white;
  padding: 14px 22px;
  border-radius: 32px;
  opacity: 0;
  box-shadow:
    0px 0px 20px 0px #00000038,
    0px 0px 8px 2px rgb(0 0 0 / 20%);
  transition: opacity 0.3s ease;

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

#map-toast::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 33px;
  padding: 1px;
  background: linear-gradient(
    170deg,
    rgb(255 255 255 / 50%),
    rgb(0 0 0 / 3%),
    rgb(0 0 0 / 3%),
    rgb(255 255 255 / 15%)
  );
  pointer-events: none;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

#screenOutline {
  /*
  pointer-events: none;
  position: fixed;
  top: 4px;
  left: 4px;
  bottom: 4px;
  right: 4px;
  z-index: 10;
  border: 2px black dashed;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
  */
  position: absolute;
  inset: 6px;
  border: black dashed 3px;
  box-shadow: rgba(0, 0, 0, 0.6) 0px 0px 0px 30px;
  border-radius: 36px;
  display: flex;
  opacity: 0;
  pointer-events: none;
  z-index: 10000;
}
#addCommentBtn.active {
  background-color: rgba(37, 147, 110, 0.5);
  color: white;
}
#drawFreehandBtn.active {
  background-color: rgba(37, 147, 110, 0.5);
  color: white;
}

#colorPalette {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Golos Text", sans-serif;
  background: rgb(0 0 0 / 40%);
  border-radius: 32px;
  padding: 14px;
  display: none;
  color: white;
  gap: 8px;
  z-index: 999;
  box-shadow:
    0px 0px 20px 0px #00000038,
    0px 0px 8px 2px rgb(0 0 0 / 20%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  flex-direction: row;
  align-items: center;
  align-content: center;
  justify-content: space-evenly;
}

#colorPalette::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 33px;
  padding: 1px;
  background: linear-gradient(
    170deg,
    rgb(255 255 255 / 50%),
    rgb(0 0 0 / 3%),
    rgb(0 0 0 / 3%),
    rgb(255 255 255 / 15%)
  );
  pointer-events: none;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

#colorPalette button:hover {
  filter: brightness(1.2);
  cursor: pointer;
}

.color-swatch {
  appearance: none;
  -webkit-appearance: none; /* для Safari */
  padding: 0;
  margin: 0;
  flex: 0 0 auto; /* ← фиксирует размер */
  width: 24px !important;
  height: 24px !important;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 30%);
  cursor: pointer;
  flex-shrink: 0;
  flex-grow: 0;
  filter: brightness(1);
  transition: filter 0.4s;
}
.color-swatch.selected {
  border: white double 3px;
}

#exitDraw {
  background: rgb(0 0 0 / 20%);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 30%);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: brightness(1);
  transition: filter 0.4s;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
  -webkit-tap-highlight-color: transparent;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
/*
.slider {
  background-color: #ddd;
  border-radius: 10px;
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: background-color 0.3s;
}
*/
.slider {
  background-color: #0000001a;
  border-radius: 23px;
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: background-color 0.3s;
  box-shadow:
    inset 0px -0.5px 1px hsl(0deg 0% 37% / 30%),
    inset 0 3px 3px hsl(0deg 0% 50% / 18%),
    inset 0 -0.5px 1px hsl(0deg 0% 100% / 20%);
}
/*
.slider .icon {
  position: absolute;
  height: 24px;
  width: 24px;
  left: 4px;
  top: 4px;
  background-color: white;
  border-radius: 6px;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: black;
}
*/
.slider .icon {
  position: absolute;
  height: 24px;
  width: 24px;
  left: 4px;
  top: 4px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: black;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.toggle input:checked + .slider {
  background-color: rgba(37, 147, 110, 0.5);
}
#panel * {
  -webkit-tap-highlight-color: transparent;
}

.toggle input:checked + .slider .icon {
  transform: translateX(28px);
  /*color: #fff;*/
}

#togglePanel {
  /*background: #fff;**/
  background: none;
  margin: 2px;
  width: 132px;
  /*border-radius: 16px;*/
  border-radius: 22px;
  /*border: 1px #ddd solid;*/
  padding: 6px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 6px;
  /* width: 126px;*/
}
/*PDF georeferencer*/

.pdfPanel {
  position: absolute;
  display: flex;
  gap: 12px;
  z-index: 10001;
  font-family: "Golos Text", sans-serif;

  margin: 10px;
  top: 0;
  background: rgba(128, 128, 128, 0.3);
  padding: 12px;
  border-radius: 32px;
  transition: opacity 400ms;
  box-shadow:
    2px 2px 20px 0px #00000038,
    1px 1px 6px 0px rgb(0 0 0 / 20%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.pdfPanel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 33px;
  padding: 1px;
  background: linear-gradient(
    170deg,
    rgb(255 255 255 / 50%),
    rgb(0 0 0 / 3%),
    rgb(0 0 0 / 3%),
    rgb(255 255 255 / 15%)
  );
  pointer-events: none;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.pdfPanel button {
  position: relative;
  padding: 10px 18px;
  font-size: 16px;
  color: white;
  border: none;
  border-radius: 20px;
  font-family: "Golos Text", sans-serif;
  cursor: pointer;
  box-shadow:
    inset 0px -0.5px 1px hsl(0deg 0% 37% / 30%),
    inset 0 3px 3px hsl(0deg 0% 50% / 18%),
    inset 0 -0.5px 1px hsl(0deg 0% 100% / 20%);

  overflow: hidden;
  background: rgb(0 0 0 / 20%);
}

.pdfPanel button::before {
  content: "";
  position: absolute;
  top: var(--y);
  left: var(--x);
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.05),
    transparent 70%
  );
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s;
  mix-blend-mode: screen;
  filter: blur(10px);
}

.pdfPanel button:hover::before {
  opacity: 1;
}

#tileLoadingOverlay {
  position: absolute;
  pointer-events: none;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border: 3px solid #000;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  box-shadow:
    2px 2px 20px 0px #00000038,
    1px 1px 6px 0px rgb(0 0 0 / 20%);
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseShadow {
  0% {
    text-shadow: 0 0 0px rgb(37, 147, 110);
  }
  50% {
    text-shadow: 0 0 10px rgb(37, 147, 110);
  }
  100% {
    text-shadow: 0 0 0px rgb(37, 147, 110);
  }
}

#yPano {
  display: none;
  position: absolute;
  z-index: 50000;
  top: 10px;
  /*left: 10px;*/
  border-radius: 24px;
  /*border: 1px solid rgba(80, 80, 80, 1);*/
  width: calc(50% - 20px);
  height: calc(100% - 50px);
  background: white;
  box-shadow:
    2px 2px 20px 0px #00000038,
    1px 1px 6px 0px rgb(0 0 0 / 20%);
  overflow: hidden;
  transition:
    opacity 1s,
    width 0.2s ease-in-out;
}
#yPano::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 25px;
  padding: 1px;
  background: linear-gradient(
    170deg,
    rgb(255 255 255 / 50%),
    rgb(0 0 0 / 3%),
    rgb(0 0 0 / 3%),
    rgb(255 255 255 / 15%)
  );
  pointer-events: none;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
#yPano.is-expanded {
  width: calc(100% - 20px);
}

#panoExpandBtn {
  position: absolute;
  height: 38px;
  width: 38px;
  border-radius: 38px;
  background-color: #fff;
  font-size: 15px;
  cursor: pointer;
  line-height: 38px;
  top: 62px;
  right: 20px;
  z-index: 100;
  pointer-events: auto;
  border: none;
  box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.2);
}
.player {
  height: 100%;
}

.panoMarker {
  background-image: url("./utils/icon-pano.svg");
  background-size: contain;
  width: 64px;
  height: 64px;
  z-index: 100;
}
