/* Reusable birthday_gift navigation; the arrow follows dayout's geometry. */
.birthday-header.mobile-header {
  --birthday-header-height: clamp(52px, 13vw, 60px);
  margin-top: clamp(12px, 4vw, 20px);
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: calc(var(--birthday-header-height) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 0 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.birthday-header .mobile-header-back {
  left: max(16px, env(safe-area-inset-left, 0px));
  top: calc(env(safe-area-inset-top, 0px) + var(--birthday-header-height) / 2);
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  background: rgba(255, 255, 255, .42);
  color: var(--birthday-primary, #81454a);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 3px 12px rgba(115, 65, 48, .10);
  font-size: 0;
  -webkit-tap-highlight-color: transparent;
}
.birthday-header .mobile-header-back::before {
  --back-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12H4m7-7-7 7 7 7' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 19px;
  height: 19px;
  background: currentColor;
  -webkit-mask: var(--back-icon) center / contain no-repeat;
  mask: var(--back-icon) center / contain no-repeat;
}
/* 46px touch area around the compact visual button. */
.birthday-header .mobile-header-back::after { content: ""; position: absolute; inset: -7px; }
.birthday-header .mobile-header-back:focus-visible { outline: 2px solid var(--birthday-primary, #81454a); outline-offset: 5px; }
.birthday-header .mobile-header-back:active { background: rgba(255, 255, 255, .7); }
.birthday-header .mobile-header-center { width: 100%; height: 100%; padding: 11px 64px; }
.birthday-header .mobile-header-logo { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.birthday-header .mobile-header-spacer { display: none; }
