/* v1.0.19: channel management and red packet native surfaces. */
.bubble.business-bubble,.message-line .bubble.business-bubble,.message-line.out .bubble.business-bubble,.message-line.in .bubble.business-bubble{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;color:inherit!important;overflow:visible!important}
.wallet-chat-card.packet-message{width:min(252px,70vw);border:0!important;border-radius:11px!important;overflow:hidden;background:#e86d42!important;box-shadow:0 3px 8px #763b2914!important;text-align:left;color:white!important;transition:filter .2s ease,transform .2s ease;display:block;padding:0}
.wallet-chat-card.packet-message .business-card-main{background:linear-gradient(135deg,#f07a45,#d9543d)!important;min-height:75px!important;padding:14px!important;gap:12px;filter:none!important;display:flex;align-items:center}
.wallet-chat-card.packet-message.completed .business-card-main{filter:saturate(.55)!important;opacity:.88}
.wallet-chat-card.packet-message .business-card-copy b{font-size:13.5px!important;color:white!important;max-width:174px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wallet-chat-card.packet-message .business-card-copy small{font-size:11px!important;color:#fff8eacb!important}
.wallet-chat-card.packet-message .business-card-foot{padding:7px 12px!important;background:#fff!important;color:#948e8a!important;border:1px solid #f0e8e2!important;border-top:0!important;font-size:10.5px!important;display:flex;justify-content:space-between}
.packet-icon{width:39px;height:39px;flex:0 0 39px;border-radius:9px;background:#ffffff24;display:grid;place-items:center;color:white;box-shadow:inset 0 0 0 1px #ffffff50}.packet-icon .ico{width:25px;height:25px}.packet-corner{color:#ffebdc;opacity:.8}.packet-corner .ico{width:15px;height:15px}
.channel-page{min-height:0;overflow:auto;padding:10px 0 50px;background:#f6f7fa;flex:1}.channel-page-head{position:relative!important;background:white!important;border-bottom:1px solid #edf0f4!important}.channel-page-head h2{font-size:16px!important;letter-spacing:0}.channel-header-add{margin-left:auto;position:absolute;right:8px;top:50%;transform:translateY(-50%);height:38px;width:38px;border:none;border-radius:10px;background:#edf3ff;color:#336ade;display:grid;place-items:center}
.channel-section-title{padding:19px 20px 12px;display:flex;align-items:center;justify-content:space-between;color:#3b465b}.channel-section-title span{font-size:13px;font-weight:700}.channel-section-title small{font-size:12px;color:#98a2b2}.channel-follow-list{background:white;border-top:1px solid #eff1f5;border-bottom:1px solid #eff1f5}
.channel-follow-row{display:flex;align-items:center;gap:10px;min-height:75px;padding:10px 16px;position:relative}.channel-follow-row:not(:last-child):after{content:"";position:absolute;height:1px;background:#eef0f4;bottom:0;left:69px;right:14px}.channel-follow-open{min-width:0;flex:1;display:flex;align-items:center;gap:12px;min-height:52px;background:none;border:0;padding:0;text-align:left;color:#24314a}.channel-follow-open .avatar,.channel-directory-row .avatar{width:42px!important;height:42px!important;flex:0 0 42px;border-radius:13px!important;background:#e5edff!important;color:#3766c8!important}.channel-follow-open>.ico{color:#b4bbc9;width:17px;height:17px}.channel-follow-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.channel-follow-copy b{font-size:14px;line-height:1.2;font-weight:680;color:#1c2a43}.channel-follow-copy small{color:#4972b4;font-size:11px}.channel-follow-description{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#99a3b1;font-size:11.5px}.channel-unfollow{border:0;background:none;color:#ac7370;font-size:11px;white-space:nowrap;padding:10px 1px}.channel-empty{text-align:center;padding:75px 25px;color:#8592a6}.channel-empty>.ico{width:40px;height:40px;margin:0 auto 15px;color:#7194d7}.channel-empty h3{font-size:16px;color:#34405b;margin:12px 0}.channel-empty p{font-size:12px;line-height:1.7;margin-bottom:20px}.channel-search-cta,.channel-bottom-discover{border:0;background:none;color:#3e6fe1;display:flex;justify-content:center;align-items:center;gap:7px;font-size:13px;margin:auto;padding:12px}.channel-bottom-discover{margin:24px auto}.channel-search-box{display:flex;align-items:center;gap:8px;height:40px;margin:13px 15px 0;padding:0 13px;background:white;border-radius:11px;color:#78879e;border:1px solid #e9edf4}.channel-search-box input{flex:1;min-width:0;border:0;outline:0;box-shadow:none;background:transparent;font-size:13px}.channel-directory-row{background:white}.channel-follow-button{border:0;background:#ebf2ff;color:#3b68d3;font-size:12px;border-radius:9px;padding:8px 13px;font-weight:650}
.packet-compose-screen{--packet-accent:#dc5944;background:#f5f5f7;color:#222c3c;min-height:0;overflow:auto;flex:1}.packet-compose-inner{padding:18px 16px 10px;max-width:560px;margin:auto}.packet-compose-head{background:#fff!important;border:0!important}.packet-compose-types{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:2px 0 9px}.packet-compose-types label{position:relative;cursor:pointer}.packet-compose-types input{position:absolute;opacity:0;pointer-events:none}.packet-compose-types label span{display:flex;gap:6px;align-items:center;justify-content:center;border-radius:12px;border:1px solid #e8e9ee;background:white;color:#657085;padding:12px 6px;font-size:13px;font-weight:600}.packet-compose-types input:checked+span{background:#fff0e9;border-color:#ecac9e;color:#c1513c}.packet-compose-types input:focus-visible+span{outline:2px solid #c1513c}.packet-compose-tip{font-size:11.5px;color:#999eaa;margin:0 0 19px}.packet-compose-field{display:flex;align-items:center;justify-content:space-between;background:white;border-radius:12px;min-height:68px;padding:15px;margin:11px 0;gap:10px}.packet-compose-field>label{font-size:14px;font-weight:600;white-space:nowrap}.packet-compose-field>div{display:flex;align-items:center;gap:5px;min-width:0;justify-content:end}.packet-compose-field input{width:min(40vw,140px);text-align:right;border:0!important;outline:0!important;background:none!important;font-size:22px!important;font-weight:700!important;min-width:0;box-shadow:none!important;color:#29344a!important;padding:0!important}.packet-compose-field #red-count{font-size:18px!important}.packet-compose-field span,.packet-compose-field strong{color:#a4aab5;font-size:13px}.packet-compose-help{font-size:11px;color:#a2a5b0;margin:10px 3px 19px}.packet-compose-note-label{display:block;font-size:12px;color:#8f96a2;margin:0 3px 8px}.packet-compose-note{width:100%;border:0;border-radius:12px;background:#fff;font-size:14px;padding:17px;color:#36455a;outline:0}.packet-compose-total{text-align:center;margin:34px 0 12px}.packet-compose-total span{display:block;font-size:12px;color:#9499a8}.packet-compose-total strong{display:block;font-size:37px;letter-spacing:-1px;margin-top:5px;font-weight:750;color:#232d40}.packet-compose-bottom{max-width:560px;margin:0 auto;padding:0 16px calc(18px + env(safe-area-inset-bottom))}.packet-compose-bottom .red-send-action{height:48px;border-radius:12px;background:#da5c48;box-shadow:none}.packet-compose-bottom p{display:flex;justify-content:center;align-items:center;gap:5px;color:#a1a6b1;font-size:10px}.packet-compose-bottom .ico{height:13px;width:13px}
.packet-detail-screen{flex:1;min-height:0;overflow:auto;background:#fff;text-align:center}.packet-detail-head{background:#d75842!important;color:#fff!important;border-bottom:0!important}.packet-detail-head .icon-btn{color:#fff}.packet-detail-cover{height:253px;position:relative;overflow:hidden;background:linear-gradient(152deg,#ef7550,#ce493a);color:#fff;padding:35px 20px 25px;border-radius:0 0 48% 48% / 0 0 22% 22%;display:flex;flex-direction:column;align-items:center;gap:12px}.packet-cover-pattern{position:absolute;border:1px solid #ffffff18;width:350px;height:350px;transform:rotate(40deg);top:-265px;border-radius:70px}.packet-detail-seal{height:58px;width:58px;border-radius:50%;display:grid;place-items:center;background:#ffe1b3;color:#b64d37;box-shadow:0 6px 18px #843b313b}.packet-detail-seal .ico{height:30px;width:30px}.packet-detail-note{font-size:17px;font-weight:680;line-height:1.45;max-width:80%;overflow-wrap:anywhere}.packet-detail-from{font-size:11px;color:#ffdfd3}.packet-detail-content{max-width:560px;margin:30px auto;padding:0 20px}.packet-detail-kicker{display:block;color:#929baa;font-size:13px}.packet-detail-amount{display:block;color:#252e3d;font-size:39px;margin:10px 0 30px;font-weight:750}.packet-detail-question{color:#737f93;font-size:13px;margin:8px auto 20px}.packet-open-btn{height:82px;width:82px;border-radius:50%;background:linear-gradient(135deg,#ffde9d,#f5b66a);border:0;box-shadow:0 10px 25px #cf9c6c45;font-size:30px;color:#aa5f32;font-weight:700;cursor:pointer;margin:8px 0 25px}.packet-open-btn:active{transform:scale(.94)}.packet-detail-progress{border-top:1px solid #eef0f3;padding-top:22px;display:flex;justify-content:space-between;font-size:12px;color:#9099aa}.packet-detail-progress b{color:#59667c}.packet-detail-track{height:5px;border-radius:6px;background:#f3f4f7;margin:11px 0 20px;overflow:hidden}.packet-detail-track span{display:block;height:100%;background:#e4a075;border-radius:6px}.packet-detail-footnote{color:#b1b5bc;font-size:10.5px;line-height:1.7}
@media(min-width:761px){.channel-page{max-height:68vh}.packet-compose-screen{max-height:68vh}.packet-detail-screen{max-height:69vh}.channel-page-head{min-width:440px}}
@media(max-width:760px){#modal-layer .modal:has(.channel-page),#modal-layer .modal:has(.packet-compose-screen),#modal-layer .modal:has(.packet-detail-screen){padding:0!important;background:#fff!important;display:flex!important;flex-direction:column!important;max-height:100dvh!important;overflow:hidden!important}#modal-layer .modal:has(.packet-compose-screen){background:#f5f5f7!important}.channel-page{max-height:none}.packet-compose-screen{max-height:none}.packet-detail-screen{max-height:none}}

.packet-transfer-detail{display:flex;flex-direction:column;align-items:center;gap:15px;padding:45px 25px;color:#6e7990}.packet-transfer-detail small{font-size:13px}.packet-transfer-detail strong{font-size:34px;color:#25334f}.packet-transfer-detail p{font-size:12px;color:#9ca6b5}
