#jin-chat-launcher{box-sizing:border-box;position:fixed;right:24px;bottom:144px;bottom:calc(144px + env(safe-area-inset-bottom,0px));z-index:12070;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:160px;height:56px;padding:0 18px;border:1px solid #d8bcfb;border-radius:16px;background:linear-gradient(180deg,#fff 0%,#f1e7ff 45%,#ceb0fb 100%);color:#5f22ce;font-family:inherit;font-size:17px;font-weight:800;cursor:pointer;box-shadow:0 4px 8px #7432d726;touch-action:manipulation;transition:filter .15s ease}
#jin-chat-launcher:hover{filter:brightness(1.04)}
#jin-chat-launcher[data-draggable="true"]{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab;max-width:calc(100vw - 24px)}
#jin-chat-launcher[data-dragging="true"]{cursor:grabbing;filter:brightness(1.04)}
#jin-chat-launcher svg{pointer-events:none}
#jin-chat-launcher .jin-chat-icon{display:inline-flex;align-items:center}
#jin-chat-launcher .jin-chat-arrow{font-size:24px;line-height:1;font-weight:500}
#jin-chat-launcher[data-chat-state="shown"]{display:none}
#jin-chat-launcher:focus-visible,#jin-chat-status button:focus-visible,#jin-chat-status a:focus-visible{outline:3px solid #9672ff;outline-offset:3px}
#jin-footer-reset:disabled{opacity:.45;cursor:default}
#jin-footer-bar{grid-template-columns:minmax(0,1fr) auto}
#jin-footer-chat-slot{width:160px;height:56px}
#jin-footer-actions{grid-column:1/-1;min-width:0}
@media(min-width:1200px){#jin-footer-bar{grid-template-columns:minmax(0,1fr) auto auto}#jin-footer-actions{grid-column:auto}}
@media(max-width:639px){#jin-footer-chat-slot{width:136px;height:48px}#jin-footer-bar{column-gap:10px}#jin-footer-bar>div:first-child>div:first-child{display:none}#jin-footer-bar [data-jin-footer-total]{font-size:26px}#jin-footer-bar [data-jin-mobile-cart-hint]{white-space:normal!important;font-size:10px!important}}
@media(max-width:639px){#jin-chat-launcher{right:14px;bottom:184px;bottom:calc(184px + env(safe-area-inset-bottom,0px));min-width:136px;height:48px;padding:0 14px;gap:8px;font-size:15px}}
#jin-chat-status{box-sizing:border-box;position:fixed;right:16px;bottom:178px;bottom:calc(178px + env(safe-area-inset-bottom,0px));z-index:10000010;width:360px;max-width:calc(100vw - 32px);max-height:calc(100vh - 210px);max-height:calc(100dvh - 210px);overflow:auto;background:#fff;color:#172033;border:1px solid #d7cced;border-radius:8px;padding:18px;box-shadow:0 2px 8px #0002;font-size:14px;line-height:1.6;overscroll-behavior:contain}
#jin-chat-status strong{display:block;padding-right:34px;font-size:16px}
#jin-chat-status p{margin:12px 0}
#jin-chat-status button{min-height:42px;padding:8px 12px;margin:4px 6px 4px 0;background:#fff;color:#5630bc;border:1px solid #d7cced;border-radius:6px;cursor:pointer;font:inherit}
#jin-chat-status .jin-chat-close{position:absolute;top:8px;right:8px;padding:4px;font-size:12px;border:0;margin:0}
#jin-chat-status a{display:block;background:#fff2bd;color:#403715;padding:10px 12px;margin-top:10px;border-radius:6px;text-align:center;text-decoration:underline;font-weight:700}
#jin-chat-status textarea{box-sizing:border-box;width:100%;height:96px;resize:vertical;padding:8px;color:#172033;background:#faf8ff;border:1px solid #d7cced;font:inherit}
@media(max-height:500px){#jin-chat-status{bottom:12px;max-height:calc(100dvh - 24px);right:88px;max-width:calc(100vw - 104px)}}
/* The desktop SDK keeps a 430px minimum width and the channel's 135px offset.
   Keep its real messenger inside narrow desktop windows, without forcing it open. */
@media(max-width:640px){#ch-plugin #ch-plugin-script.ch-desk-messenger{left:8px!important;top:12px!important;width:calc(100vw - 16px)!important;min-width:0!important;max-width:430px!important;min-height:0!important;height:calc(100vh - 190px)!important;height:calc(100dvh - 190px)!important;max-height:calc(100vh - 190px)!important;max-height:calc(100dvh - 190px)!important}}

.jin-payment-completion{position:fixed;z-index:10000;left:max(16px,calc((100vw - 1080px)/2));top:50%;transform:translateY(-50%);width:min(640px,calc(100vw - 460px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;padding:28px;background:#fff;color:#21172e;border:1px solid #e0cff9;border-radius:12px;box-shadow:0 2px 8px #21172e30;font-size:16px;line-height:1.5;outline:none}
.jin-payment-completion *{box-sizing:border-box}.jin-payment-completion button{cursor:pointer;font:inherit}.jin-payment-completion button:focus-visible,.jin-payment-completion summary:focus-visible{outline:2px solid #6d2fe0;outline-offset:3px}.jin-payment-close{position:absolute;right:14px;top:10px;border:0;background:#fff;color:#8a799c;width:36px;height:36px;font-size:30px!important}.jin-payment-brand{text-align:center;padding:0 24px 20px;border-bottom:1px solid #eee3ff}.jin-payment-signature{display:flex;align-items:center;justify-content:center;gap:10px;color:#9b60da;font:italic 30px Georgia,serif}.jin-payment-signature img{width:30px;height:40px;object-fit:cover}.jin-payment-brand h3{margin:14px 0 6px;font-size:28px;font-weight:800}.jin-payment-brand p,.jin-payment-order-id{color:#8a799c;margin:0}.jin-payment-order-id{text-align:right;font-size:13px;padding:12px 0;overflow-wrap:anywhere}.jin-payment-summary{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:4px 0 20px}.jin-payment-summary>div+div{border-left:1px solid #eee3ff;padding-left:20px}.jin-payment-summary span{display:block;color:#8a799c}.jin-payment-summary strong{display:block;font-size:28px;overflow-wrap:anywhere}.jin-payment-summary .jin-payment-total{color:#00876c}.jin-payment-account{padding:16px 0;border-block:1px solid #eee3ff}.jin-payment-greeting{display:flex;justify-content:space-between;margin-bottom:12px}.jin-payment-greeting span{color:#8a799c}.jin-payment-number{width:100%;padding:12px 4px;border:0;border-radius:8px;background:#f1e8fd;color:#502286;font-size:36px!important;font-weight:800!important;white-space:nowrap}.jin-payment-owner{text-align:center;font-weight:700;margin:8px 0 18px}.jin-payment-copy{width:100%;min-height:48px;border:1px solid #d9c3fb;border-radius:8px;background:linear-gradient(#fff,#e8d8fb);color:#792df5;font-weight:700!important}.jin-payment-copy-status{margin:8px 0 0;font-size:13px;color:#287363}.jin-payment-account input{width:100%;padding:8px;margin-top:8px;border:1px solid #d9c3fb;font:inherit}.jin-payment-materials{padding:16px 0;border-bottom:1px solid #eee3ff}.jin-payment-completion h4{margin:0 0 8px;color:#9949ef;font-weight:700;font-size:18px}.jin-payment-materials p{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.jin-payment-battle-tag{font-size:13px;color:#8a799c}.jin-payment-guide{padding:16px 0;color:#8a799c}.jin-payment-guide p{margin:4px 0}.jin-payment-guide summary{cursor:pointer;margin-top:8px}.jin-payment-guide ul{padding-left:20px;font-size:14px}.jin-payment-actions{display:flex;gap:8px;border-top:1px solid #eee3ff;padding-top:12px}.jin-payment-actions button{flex:1;padding:9px 4px;background:#fff;border:1px solid #d9c3fb;border-radius:6px;color:#65368e;font-size:14px}.jin-payment-actions button:last-child{background:#6d2fe0;border-color:#6d2fe0;color:#fff}.jin-payment-delivery{padding:8px;background:#fff8e7;color:#765218;font-size:14px}
@media(max-width:900px){.jin-payment-completion{left:16px;width:min(560px,calc(100vw - 32px));padding:24px}}
@media(max-width:540px){.jin-payment-completion{left:10px;width:calc(100vw - 20px);padding:20px 16px;max-height:calc(100dvh - 20px)}.jin-payment-brand{padding:0 18px 14px}.jin-payment-brand h3{font-size:24px}.jin-payment-signature{font-size:25px}.jin-payment-summary{gap:12px;padding-bottom:14px}.jin-payment-summary>div+div{padding-left:12px}.jin-payment-summary strong{font-size:24px}.jin-payment-number{font-size:30px!important}.jin-payment-completion{font-size:14px}.jin-payment-guide{padding:12px 0}}
