/* "Back to Home" — one small link sitting above each Account/Auth screen.
   It is positioned over the existing layout so no approved design changes. */
.lc-home {
  position: fixed;
  z-index: 40;
  top: 22px;
  inset-inline-start: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 18px 0 14px;
  border: 1px solid rgba(22, 112, 240, 0.18);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(22, 76, 150, 0.12);
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #1670f0;
  text-decoration: none;
  transition: background-color 240ms ease, box-shadow 240ms ease, transform 240ms ease, color 240ms ease;
}

.lc-home svg {
  width: 18px;
  height: 18px;
  transition: transform 260ms ease;
}

.lc-home:hover {
  background: #fff;
  color: #0c58c4;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(22, 76, 150, 0.18);
}

.lc-home:hover svg { transform: translateX(-3px); }
.lc-home:focus-visible { outline: 2px solid rgba(22, 112, 240, 0.55); outline-offset: 2px; }
.lc-home:active { transform: translateY(0) scale(0.98); }

@media (max-width: 760px) {
  .lc-home { top: 12px; inset-inline-start: 12px; height: 36px; padding: 0 14px 0 10px; font-size: 13.5px; }
  .lc-home svg { width: 16px; height: 16px; }
}

@media (max-width: 480px) {
  .acc-body,
  .dr-body {
    height: auto;
    min-height: 100dvh;
    align-items: flex-start;
  }

  .acc-wrap,
  .dr-wrap {
    align-items: flex-start;
    padding-top: 62px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lc-home, .lc-home svg { transition: none !important; }
}
