/* v1.0.27: money interactions — unified, touch-first, native sheet. */
.wallet-chat-card.transfer-card{box-sizing:border-box!important;text-align:left!important}
.wallet-chat-card.transfer-card .transfer-card-footer{box-sizing:border-box!important;display:block!important;width:100%!important;min-height:29px!important;padding:7px 12px!important;text-align:left!important;direction:ltr!important}
.wallet-chat-card.transfer-card .transfer-card-footer .transfer-footer-label{display:block!important;position:static!important;float:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;text-align:left!important;align-items:initial!important;justify-content:initial!important;font-size:11px!important;line-height:16px!important;letter-spacing:.1px!important}
/* Chat modal behaves as an in-app route rather than a dashboard form. */
#modal-layer .modal:has(.native-money-screen),#modal-layer .modal:has(.packet-compose-screen){padding:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;background:#f5f6fa!important;max-height:min(760px,94dvh)!important}
.native-money-head,.packet-compose-head{flex:0 0 auto;background:#f5f6fa!important;border-bottom:1px solid #e9ebf0!important;min-height:53px!important}
.native-money-screen,.packet-compose-screen{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;background:#f5f6fa!important;color:#1d293b!important;overscroll-behavior:contain}
.native-money-screen form,.packet-compose-screen form{min-height:100%!important;display:flex!important;flex-direction:column!important;max-width:520px!important;margin:0 auto!important}
.native-money-intro{padding:26px 18px 14px!important;gap:7px!important}
.native-money-stamp{width:52px!important;height:52px!important;border-radius:17px!important;background:#e7efff!important;color:#3f69cd!important}
.native-red-screen .native-money-stamp{background:#feebdf!important;color:#cd5841!important}
.native-money-intro strong{font-size:20px!important;font-weight:760!important;letter-spacing:-.5px!important}
.native-money-intro>span:last-child{font-size:12px!important;color:#929dab!important}
.native-money-recipient{margin:8px 18px 17px!important;border-radius:12px!important;padding:13px 15px!important;background:#fff!important;box-shadow:none!important}
.native-money-recipient b{font-size:14px!important}
.native-money-fields{margin:0 18px!important;border-radius:12px!important;background:white!important}
.native-money-input-row,.native-money-note-row{padding:15px 16px!important;min-height:63px!important;box-sizing:border-box!important}
.native-money-amount input{font-size:28px!important;max-width:180px!important}
.native-money-note-row input{font-size:13px!important}
.native-money-summary{margin:24px 18px 16px!important;gap:5px!important}
.native-money-summary strong{font-size:38px!important;line-height:1.18!important}
.native-money-bottom{width:100%!important;box-sizing:border-box!important;padding:14px 18px calc(22px + env(safe-area-inset-bottom))!important;gap:11px!important;margin-top:auto!important}
.native-money-submit{min-height:52px!important;border-radius:11px!important;box-shadow:none!important;background:#315fc9!important;font-weight:740!important;transition:transform .18s ease,opacity .18s ease}
.native-money-submit.is-red{background:#d65242!important}
.native-money-submit:active,.red-send-action:active{transform:scale(.985)}
.native-money-bottom p{font-size:11px!important;color:#949eae!important}
/* Group red packet: same in-app design vocabulary. */
.packet-compose-inner{padding:18px 18px 12px!important;width:100%!important;box-sizing:border-box!important}
.packet-compose-hero{margin:5px 0 22px!important;gap:7px!important}
.packet-compose-hero>span{background:#feeadf!important;color:#cd5841!important;width:52px!important;height:52px!important;border-radius:17px!important}
.packet-compose-hero b{font-size:20px!important;color:#202b3d!important}
.packet-compose-types{border-radius:11px!important;padding:4px!important}
.packet-compose-types label span{min-height:42px!important;box-sizing:border-box!important}
.packet-compose-field{border-radius:11px!important;min-height:64px!important;margin:10px 0!important;padding:15px 16px!important}
.packet-compose-note{border-radius:11px!important;min-height:51px!important;box-sizing:border-box!important}
.packet-compose-total{margin:24px 0 9px!important}
.packet-compose-bottom{width:100%!important;box-sizing:border-box!important;margin-top:auto!important;padding:12px 18px calc(22px + env(safe-area-inset-bottom))!important}
.packet-compose-bottom .red-send-action{min-height:52px!important;border-radius:11px!important;background:#d65242!important}
@media(max-width:760px){
 #modal-layer .modal:has(.native-money-screen),#modal-layer .modal:has(.packet-compose-screen){width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}
 .native-money-screen form,.packet-compose-screen form{max-width:none!important}
 .native-money-intro{padding-top:32px!important}
 .packet-compose-inner{padding-top:22px!important}
}
@media(max-height:620px){.native-money-intro{padding-top:12px!important;padding-bottom:8px!important}.native-money-summary{margin-top:12px!important}.packet-compose-hero{margin-bottom:12px!important}}
