.h5-chat{position:fixed;inset:0;width:100%;height:100dvh;min-height:0;margin:auto;overflow:hidden;background:#f7cf4b;color:#251c13;display:flex;flex-direction:column;box-sizing:border-box}.h5-chat .paper-grain{position:absolute;inset:0;opacity:.1;background-image:radial-gradient(#251c13 1px,transparent 1px);background-size:10px 10px;pointer-events:none}.hc-nav{position:relative;z-index:6;flex:0 0 auto;height:calc(54px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 18px 0;border-bottom:1px solid rgba(37,28,19,.18);background:rgba(247,207,75,.96);display:grid;grid-template-columns:44px 1fr 44px;align-items:center;box-sizing:border-box}.hc-nav button{width:44px;height:44px;padding:0;border:0;background:transparent;color:#251c13;font:900 43px/38px Georgia,serif;text-align:left}.hc-nav strong{text-align:center;font:900 19px/1.2 "PingFang SC","Microsoft YaHei",sans-serif}.hc-toolbar{position:relative;z-index:5;flex:0 0 auto;min-height:54px;padding:5px 13px;border-bottom:1px solid rgba(37,28,19,.16);background:rgba(247,207,75,.94);display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box}.hc-toolbar>div{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.hc-toolbar b{padding:2px 7px;border:1.5px solid #251c13;border-radius:99px;background:#d9f0f7;font-size:11px}.hc-toolbar span{color:#594b3d;font-size:12px;font-weight:760}.hc-toolbar button,.hc-status button,.hc-retry{border:2px solid #251c13;background:#fff7df;color:#251c13;font-weight:850}.hc-toolbar>button{min-width:82px;height:38px;padding:0 12px;border-radius:20px;font-size:13px}.hc-toolbar button:disabled{opacity:.45}.hc-status{position:absolute;z-index:8;top:calc(112px + env(safe-area-inset-top));left:13px;right:13px;margin:0;padding:10px 12px;border:2px solid #251c13;border-radius:12px;font-size:14px;font-weight:760;line-height:1.4;display:flex;align-items:center;justify-content:space-between;gap:10px}.hc-status.info{background:#fff7df}.hc-status.success{background:#cce3c2}.hc-status.error{background:#ffe5dc}.hc-status button{height:38px;padding:0 11px;border-radius:20px}.hc-scroll{position:relative;z-index:2;flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding-bottom:calc(76px + env(safe-area-inset-bottom));scrollbar-width:none}.hc-scroll::-webkit-scrollbar{display:none}.hc-list{padding:16px 14px 8px}.hc-row{width:100%;margin-bottom:12px;display:flex;align-items:flex-start;gap:9px;box-sizing:border-box;animation:hc-in .2s ease-out both}.hc-row.user{justify-content:flex-end}.hc-row.continuation{margin-top:-5px}.hc-avatar{flex:0 0 auto;width:40px;height:40px;border:1.5px solid #251c13;border-radius:5px;background:#9c5a6f;box-shadow:none;object-fit:cover}.hc-stack{max-width:72%;display:flex;flex-direction:column;gap:5px}.hc-row.user .hc-stack{align-items:flex-end}.hc-bubble{position:relative;max-width:100%;padding:10px 13px;border:1.5px solid #251c13;font-size:16px;font-weight:650;line-height:1.45;word-break:break-word;box-sizing:border-box;box-shadow:none}.hc-bubble.assistant{border-radius:6px;background:#fff7df}.hc-bubble.user{border-radius:6px;background:#6bb6d6}.hc-bubble.assistant:before,.hc-bubble.user:before{content:"";position:absolute;top:13px;width:9px;height:9px;background:inherit;border-style:solid;transform:rotate(45deg)}.hc-bubble.assistant:before{left:-6px;border-width:0 0 1.5px 1.5px;border-color:#251c13}.hc-bubble.user:before{right:-6px;border-width:1.5px 1.5px 0 0;border-color:#251c13}.hc-sticker{display:block;width:155px;max-width:100%;height:auto}.hc-delivery{color:#8a2d20;font-size:12px;font-weight:760}.hc-retry{margin-left:5px;height:30px;padding:0 9px;border-color:#8a2d20;border-radius:16px;color:#8a2d20}.hc-typing{min-width:68px;display:flex;align-items:center;justify-content:center;gap:6px}.hc-typing i{width:7px;height:7px;border-radius:50%;background:#ef6b55;animation:hc-dot .8s ease-in-out infinite alternate}.hc-typing i:nth-child(2){animation-delay:.15s}.hc-typing i:nth-child(3){animation-delay:.3s}.hc-space{display:block;height:8px}.hc-composer{position:absolute;z-index:10;left:-10px!important;right:auto!important;bottom:0;width:calc(100% + 20px)!important;min-height:68px;margin:0!important;padding:9px 20px calc(10px + env(safe-area-inset-bottom));border-top:2px solid #251c13;background:#f7cf4b;display:flex;align-items:flex-end;gap:9px;flex-wrap:nowrap;box-sizing:border-box}.hc-composer label{position:relative;flex:1;min-width:0;min-height:50px;padding:11px 12px;border:2px solid #251c13;border-radius:18px;background:#fff7df;box-sizing:border-box}.hc-composer textarea{display:block;width:100%;height:24px;max-height:72px;padding:0 38px 0 0;border:0;outline:0;resize:none;background:transparent;color:#251c13;font:700 16px/24px "PingFang SC","Microsoft YaHei",sans-serif}.hc-composer label span{position:absolute;right:10px;bottom:5px;color:#67594a;font-size:9px;font-weight:700}.hc-composer>button{flex:0 0 auto;width:68px;height:46px;border:2px solid #251c13;border-radius:23px;background:#251c13;color:#fff7df;box-shadow:3px 4px 0 #ef6b55;font-size:15px;font-weight:900}.hc-composer>button:disabled{background:#8f887d;color:#fff7df;opacity:.58}.hc-composer small{display:none}@keyframes hc-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes hc-dot{from{transform:translateY(2px);opacity:.35}to{transform:translateY(-3px);opacity:1}}@media(min-width:700px){.h5-chat{max-width:430px}}
.h5-chat:after{content:"";position:absolute;z-index:9;left:0;right:0;bottom:0;height:calc(68px + env(safe-area-inset-bottom));border-top:2px solid #251c13;background:#f7cf4b;box-sizing:border-box}.hc-composer{border-top:0!important;background:transparent!important}