/* Scoped receiving tools and public share actions; no global layout overrides. */
.public-rate-share { display:flex; justify-content:center; margin:0 0 12px; }
.public-rate-share .btn,.public-order-share { min-height:44px; white-space:normal; line-height:1.5; }
.order-payment-recipient[data-payment-help] { display:grid; gap:8px; }
.order-payment-recipient[data-payment-help] > b { margin:0; line-height:1.5; }
.order-payment-recipient[data-payment-help] > span { margin:0; font-size:12px; line-height:1.65; }
.order-payment-recipient[data-payment-help] > a[data-payment-support-whatsapp] {
  display:flex; position:static; align-items:center; justify-content:center;
  width:fit-content; max-width:100%; min-height:44px; height:auto; margin:2px 0 0;
  padding:10px 16px; line-height:1.45; white-space:normal; text-align:center;
  text-decoration:none; overflow-wrap:anywhere; box-sizing:border-box;
}
.payment-qr-tools[hidden], .payment-qr-tools img[hidden] { display:none !important; }
.payment-qr-tools { display:grid; gap:8px; justify-items:center; margin-top:10px; }
.order-payment-recipient .payment-qr-tools img { width:min(240px,100%); height:auto; aspect-ratio:auto; margin:0; cursor:zoom-in; -webkit-touch-callout:default; user-select:auto; }
.payment-qr-tools > small { font-size:12px; color:var(--muted); text-align:center; line-height:1.6; }
.payment-qr-tools > button { min-height:44px; white-space:normal; line-height:1.5; }
#paymentQrViewer {
  box-sizing:border-box; position:fixed; inset:0; z-index:99999; width:100%; height:100%; height:100dvh;
  max-width:none; max-height:none; border:0; margin:0; color:#182028; background:#f7f7f5;
  padding:max(14px,env(safe-area-inset-top),var(--native-shell-top-inset,0px)) 16px max(14px,env(safe-area-inset-bottom),var(--native-shell-bottom-inset,0px));
}
#paymentQrViewer[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:12px; }
#paymentQrViewer::backdrop { background:rgba(15,19,23,.7); }
#paymentQrViewer .payment-qr-viewer-head { position:static; inset:auto; width:auto; height:auto; min-height:44px; padding:0; margin:0; background:transparent; border:0; box-shadow:none; backdrop-filter:none; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.payment-qr-viewer-head h3 { margin:0; font:700 18px/1.5 system-ui,sans-serif; }
#paymentQrViewer button { min-height:44px; border-radius:14px; padding:10px 16px; line-height:1.5; cursor:pointer; }
.payment-qr-viewer-close { min-width:44px; border:1px solid #ddd; background:#fff; font-size:22px; }
.payment-qr-viewer-stage { min-height:0; overflow:auto; display:grid; place-items:center; touch-action:pan-x pan-y pinch-zoom; }
.payment-qr-viewer-stage img { display:block; width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; -webkit-touch-callout:default; user-select:auto; border-radius:8px; background:#fff; }
.payment-qr-viewer-footer { display:grid; gap:10px; max-width:560px; width:100%; margin:auto; }
.payment-qr-viewer-footer p { margin:0; font:400 13px/1.65 system-ui,sans-serif; color:#626974; }
.payment-qr-viewer-save { width:100%; color:#fff; border:0; font-weight:700; background:linear-gradient(110deg,#311218,#d9001e); }
.payment-qr-viewer-save:disabled { opacity:.6; }
#paymentQrViewer :focus-visible,.payment-qr-tools :focus-visible { outline:3px solid #a6283e; outline-offset:3px; }
/* Feedback lives inside the active modal (including the QR dialog top layer),
   so neither the poster backdrop nor a native safe area can hide a body toast. */
/* Keep one native scrolling surface for the whole poster. A second contained
   scroller on the image traps a swipe at its edge before the links/buttons. */
#newsShareModal .news-poster-preview { max-height:none; overflow:visible; }
#newsShareHint.nf-image-save-status[data-save-status],
#paymentQrViewer .nf-image-save-status[data-save-status] {
  padding:12px 14px; border:1px solid #c7d5e4; border-radius:12px;
  background:#eef4fa; color:#233c55; font-size:14px; font-weight:650; line-height:1.6;
  text-align:start; overflow-wrap:anywhere;
}
#newsShareHint.nf-image-save-status[data-save-status] { position:sticky; bottom:0; z-index:3; }
#newsShareHint.nf-image-save-status[data-save-status="saved"],
#paymentQrViewer .nf-image-save-status[data-save-status="saved"] { background:#e7f6eb; border-color:#95c9a6; color:#145d31; }
#newsShareHint.nf-image-save-status[data-save-status="failed"],
#paymentQrViewer .nf-image-save-status[data-save-status="failed"] { background:#fff0f0; border-color:#e3a7aa; color:#8b1823; }
