/* Bottom-right dock: gallery + chat on top, up/down arrows underneath. */
.yg-corner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.yg-corner-actions,
.yg-corner-jumps {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.yg-jump {
  box-sizing: border-box;
  width: 47px;
  height: 47px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #417586;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.yg-jump:hover,
.yg-jump:focus-visible {
  background: #4c889b;
  outline: none;
}

.yg-jump:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #417586;
}

.yg-jump-gallery {
  width: auto;
  min-width: 47px;
  padding: 0 12px;
  border-radius: 999px;
  font: 700 12px/1 system-ui, Helvetica, sans-serif;
  letter-spacing: 0.02em;
}

.yg-jump svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: #fff;
  pointer-events: none;
}

.yg-jump-bottom svg {
  transform: rotate(180deg);
}

@media (max-width: 640px) {
  .yg-corner {
    right: 12px;
    bottom: 14px;
  }

  .yg-jump {
    width: 42px;
    height: 42px;
  }

  .yg-jump-gallery {
    width: auto;
    min-width: 42px;
    padding: 0 10px;
    font-size: 11px;
  }

  .yg-jump svg {
    width: 22px;
    height: 22px;
  }
}
