/* 1.0.18 - compact native swipe actions, channel management and gift composer. */
.conversation-swipe{position:relative;display:block;overflow:hidden;min-height:0;isolation:isolate}
.conversation-swipe .conversation{position:relative;z-index:2;width:100%;max-width:100%;transition:transform .2s cubic-bezier(.2,.8,.2,1);background:var(--surface,#fff);touch-action:pan-y}
.conversation-swipe.is-open .conversation{transform:translateX(-80px)}
.conversation-swipe-delete{position:absolute;inset:0 0 0 auto;width:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:#dc4b52;color:#fff;border:0;font-size:12px;font-weight:600;cursor:pointer}
.conversation-swipe-delete .ico{width:18px;height:18px}
.conversation-swipe:not(.is-open):not(:hover):not(:focus-within) .conversation-swipe-delete{visibility:hidden}
.conversation-swipe .conversation:focus-visible,.conversation-swipe-delete:focus-visible{outline:2px solid #4a78d9;outline-offset:-2px}
.qy-official-contact{display:flex;align-items:center;gap:12px}
.qy-following-caption{font-size:13px;color:#778398;margin:10px 0 18px}
.qy-following-list{display:flex;flex-direction:column;gap:0;overflow:auto;max-height:calc(100dvh - 150px);scrollbar-width:none}
.qy-following-list::-webkit-scrollbar{display:none}
.qy-following-row{display:flex;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid #ecedf1}
.qy-following-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.qy-following-info b{font-size:14px;font-weight:650;color:#182239;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qy-following-info small{font-size:12px;color:#778398}
.qy-following-info p{font-size:12px;color:#8d96a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
.qy-following-actions{display:flex;gap:7px;flex-direction:column;align-items:flex-end}
.qy-following-actions .small-pill{font-size:12px}
.qy-unfollow-btn{border:0;background:transparent;color:#9c6970;font-size:11px;padding:4px 0;cursor:pointer}
.qy-following-empty{padding:80px 10px;text-align:center;display:flex;flex-direction:column;gap:14px;align-items:center;color:#6b768b}
.qy-following-empty .ico{width:36px;height:36px;color:#6387bb}
.qy-following-empty b{font-size:15px;color:#1f2940}
.qy-following-empty p{margin:0;font-size:13px}
.red-compose{--gift:#d45344;--gift-bg:#fff3ed;max-width:560px;margin:auto;color:#222c40}
.red-compose-banner{display:flex;align-items:center;gap:14px;margin:10px 0 22px;padding:17px 16px;border-radius:15px;background:linear-gradient(115deg,#fff2e8,#fff6f2)}
.red-compose-banner b{display:block;font-size:16px;font-weight:670}.red-compose-banner small{font-size:12px;color:#9b7069;margin-top:4px;display:block}
.red-compose-emblem{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;background:#e46c56;color:white;border-radius:14px}.red-compose-emblem .ico{width:23px;height:23px}
.red-compose-section{padding:16px;margin:10px 0;background:white;border:1px solid #f0eef0;border-radius:13px}
.red-compose-label,.red-compose-section>label{font-size:14px;font-weight:600;display:block;margin-bottom:12px}
.red-compose-section>small{display:block;color:#8993a4;font-size:11px;margin-top:10px}
.red-mode-switch{display:flex;gap:10px}.red-mode-switch label{flex:1;cursor:pointer;position:relative}
.red-mode-switch input{position:absolute;opacity:0;inset:0;pointer-events:none}
.red-mode-switch span{display:block;border:1px solid #e9eaf0;background:#f6f7f9;border-radius:9px;text-align:center;font-size:13px;padding:11px 4px;color:#6b7485}
.red-mode-switch input:checked+span{border-color:#d97768;background:#fff1ea;color:#b34e3e;font-weight:650}
.red-mode-switch input:focus-visible+span{outline:2px solid #d97768}
.red-money-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:70px}
.red-money-row>label{margin:0;flex:0 0 auto}
.red-compose-amount,.red-compose-count{display:flex;align-items:center;gap:7px;font-size:19px;font-weight:650}
.red-compose-amount input,.red-compose-count input{background:transparent!important;border:0!important;box-shadow:none!important;text-align:right;min-width:0;max-width:140px;width:100%;font-size:25px!important;font-weight:700!important;color:#19243c!important;padding:0!important;outline:0!important}
.red-compose-count input{font-size:21px!important;width:70px}.red-compose-count span{font-size:13px;color:#8791a2}
.red-note-input{width:100%;font-size:14px;border:0!important;outline:0!important;padding:4px 0!important;background:transparent!important;box-shadow:none!important}
.red-compose-summary{text-align:center;margin:30px 0 13px}.red-compose-summary small{display:block;color:#8d96a8;font-size:12px}.red-compose-summary strong{font-size:36px;line-height:1.5;font-weight:750;letter-spacing:-1px;color:#1b263b}.red-compose-summary p{display:flex;align-items:center;justify-content:center;gap:4px;color:#8a95a5;font-size:11px;margin:9px 0}.red-compose-summary .ico{width:13px;height:13px}
.red-compose .modal-footer{padding:0;margin-top:20px}.red-send-action{display:flex;justify-content:center;align-items:center;gap:9px;width:100%;border:0;border-radius:12px;background:#d95345;color:#fff;font-size:15px;font-weight:700;padding:14px;cursor:pointer}.red-send-action:disabled{opacity:.45}
@media(max-width:760px){.red-compose{padding-bottom:env(safe-area-inset-bottom)}.red-compose .modal-footer{position:relative;bottom:auto;background:transparent}.red-compose-section{margin:9px 0}.qy-following-row{padding:13px 0}}
@media(hover:none){.conversation-swipe:not(.is-open) .conversation-swipe-delete{visibility:hidden}}
/* Toasts must not block the native back button or other app controls. */
.toast-region,.toast-region .toast{pointer-events:none!important}
