.resume-return {
  position: fixed;
  top: 88px;
  left: max(16px, env(safe-area-inset-left));
  z-index: 1050;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 11px;
  border: 1px solid rgba(245, 244, 242, 0.18);
  border-radius: 999px;
  background: rgba(10, 9, 8, 0.7);
  color: #f5f4f2;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  transition:
    transform 240ms cubic-bezier(0.2, 0, 0, 1),
    border-color 180ms ease,
    background 180ms ease;
}

.resume-return svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform 240ms cubic-bezier(0.2, 0, 0, 1);
}

.resume-return:hover,
.resume-return:focus-visible {
  border-color: rgba(255, 103, 20, 0.72);
  background: rgba(10, 9, 8, 0.88);
  transform: translateY(-1px);
  outline: none;
}

.resume-return:hover svg,
.resume-return:focus-visible svg {
  transform: translateX(-2px);
}

.resume-return:focus-visible {
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.2),
    0 0 0 3px rgba(255, 103, 20, 0.26);
}

@media (max-width: 860px) {
  .resume-return {
    top: 86px;
    left: max(12px, env(safe-area-inset-left));
    padding-right: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .resume-return,
  .resume-return svg {
    transition: none;
  }
}
