/* Device review is driven only by the pair's data-device-review state.
   The native rear face is separate artwork, so its text never mirrors. */
.app-wallet-pair .wallet-device-rear{display:none;position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:5;backface-visibility:hidden;transform:rotateY(180deg) translateZ(.5px);transform-style:preserve-3d}
.app-showcase .app-wallet-pair .wallet-composite.enhanced-wallet-composite.has-transaction-fallback:not(.has-secondary-3d){
  transform:translateX(-50%) perspective(650px) rotateX(3deg) rotateY(-14deg);
  transform-style:preserve-3d;isolation:auto;filter:none;transition:transform .68s cubic-bezier(.3,.65,.2,1);
}
.app-showcase .app-wallet-pair .wallet-composite.enhanced-wallet-composite.has-transaction-fallback.is-device-flipped:not(.has-secondary-3d){
  transform:translateX(-50%) perspective(650px) rotateX(3deg) rotateY(166deg);
}
.app-wallet-pair .has-transaction-fallback:not(.has-secondary-3d)>.wallet-device-rear{display:block}
.app-wallet-pair .has-transaction-fallback:not(.has-secondary-3d)>.wallet-base,
.app-wallet-pair .has-transaction-fallback:not(.has-secondary-3d)>.wallet-cover,
.app-wallet-pair .has-transaction-fallback:not(.has-secondary-3d):before{backface-visibility:hidden;visibility:visible;transition:visibility 0s .34s}
.app-wallet-pair .has-transaction-fallback.is-device-flipped:not(.has-secondary-3d)>.wallet-base,
.app-wallet-pair .has-transaction-fallback.is-device-flipped:not(.has-secondary-3d)>.wallet-cover,
.app-wallet-pair .has-transaction-fallback.is-device-flipped:not(.has-secondary-3d):before{visibility:hidden}
.app-wallet-pair .has-transaction-fallback:not(.has-secondary-3d)>.wallet-cover{
  transform:translateY(0);transform-style:preserve-3d;transition:transform .34s ease,visibility 0s .34s;
}
.wallet-device-slide{transform:translateY(0);transform-box:view-box;transition:transform .72s cubic-bezier(.22,.72,.2,1)}
.app-wallet-pair .is-device-open .wallet-device-slide{transform:translateY(-62%)}
.app-wallet-pair .is-device-approved .wallet-device-status{fill:#b9ddad}
.app-wallet-pair .has-secondary-3d>.wallet-device-rear{display:none!important}
@media(prefers-reduced-motion:reduce){
  .app-showcase .app-wallet-pair .wallet-composite.enhanced-wallet-composite.has-transaction-fallback:not(.has-secondary-3d),
  .app-wallet-pair .has-transaction-fallback:not(.has-secondary-3d)>.wallet-cover,
  .app-wallet-pair .has-transaction-fallback:not(.has-secondary-3d)>.wallet-base,
  .app-wallet-pair .has-transaction-fallback:not(.has-secondary-3d):before,
  .wallet-device-slide{transition:none}
}
