.report-bug-link {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  max-width: calc(100vw - 2rem);
  min-height: 2.55rem;
  padding: 0.66rem 0.88rem;
  border: 1px solid rgba(22, 119, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(14, 44, 82, 0.16);
  color: #145f71;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.report-bug-link::before {
  content: "";
  flex: 0 0 auto;
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b74ff 0%, #21a77a 100%);
  box-shadow: 0 0 0 3px rgba(33, 167, 122, 0.13);
}

.report-bug-link:hover,
.report-bug-link:focus-visible {
  border-color: rgba(33, 167, 122, 0.46);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(14, 44, 82, 0.2);
  color: #0d5264;
  transform: translateY(-1px);
}

.report-bug-link:focus-visible {
  outline: 3px solid rgba(11, 116, 255, 0.34);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .report-bug-link {
    right: max(0.8rem, env(safe-area-inset-right));
    bottom: max(4.65rem, calc(env(safe-area-inset-bottom) + 4.65rem));
    min-height: 2.3rem;
    padding: 0.56rem 0.72rem;
    font-size: 0.75rem;
    box-shadow: 0 10px 26px rgba(14, 44, 82, 0.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .report-bug-link {
    transition: none;
  }

  .report-bug-link:hover,
  .report-bug-link:focus-visible {
    transform: none;
  }
}
