/* APD 733 — final profile, session and photo-crop safeguards. */

/* The direct POST logout is visually identical to every premium menu row. */
body.apd733-release.apd271-screen-profile .apd261-profile-list > .apd733-direct-logout {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
body.apd733-release.apd271-screen-profile .apd733-direct-logout > input {
  display: none !important;
}
body.apd733-release.apd271-screen-profile .apd733-direct-logout > button {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: 64px minmax(0,1fr) 22px !important;
  gap: 13px !important;
  align-items: center !important;
  min-height: 86px !important;
  margin: 0 !important;
  padding: 0 5px !important;
  border: 0 !important;
  background: #fff !important;
  color: #1d2025 !important;
  font: inherit !important;
  text-align: left !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
}
body.apd733-release.apd271-screen-profile .apd733-direct-logout > button > span:not(.apd719-menu-icon) {
  font-size: clamp(20px,4.8vw,23px) !important;
  font-weight: 590 !important;
  line-height: 1.18 !important;
  letter-spacing: -.027em !important;
}
body.apd733-release.apd271-screen-profile .apd733-direct-logout > button:active .apd719-menu-icon {
  filter: drop-shadow(0 9px 14px rgba(13,75,153,.32)) brightness(1.1) saturate(1.08) !important;
  transform: translateZ(0) scale(1.14) rotate(-2deg) !important;
}

/* Safety against stale cached front-card markup: never leak a badge through
   the 3D card. The canonical profile-avatar badge remains untouched. */
body.apd733-release .apd466-verified-card .apd466-mini-shield {
  display: none !important;
}

/* The crop frame stays circular, while its internal thirds are revealed only
   during a real two-pointer pinch gesture. */
body.apd733-release .apd466-crop-grid {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity .14s ease, visibility 0s linear .14s !important;
}
body.apd733-release .apd466-crop-stage.is-pinching .apd466-crop-grid {
  opacity: .82 !important;
  visibility: visible !important;
  transition-delay: 0s !important;
}

@media (max-width: 420px) {
  body.apd733-release.apd271-screen-profile .apd733-direct-logout > button {
    grid-template-columns: 58px minmax(0,1fr) 19px !important;
    gap: 10px !important;
    min-height: 80px !important;
  }
}
