/* Yinghuochong white and gold site assistant */
.yhc-fab{position:fixed;right:24px;bottom:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:880;height:52px;padding:0 20px 0 14px;display:flex;align-items:center;gap:10px;background:#766242;color:#fff;border:none;border-radius:26px;box-shadow:0 10px 28px rgba(21,18,16,.28);cursor:pointer;font-family:'Noto Sans SC',sans-serif;font-size:.8rem;font-weight:500;letter-spacing:.06em;-webkit-tap-highlight-color:transparent;transition:transform .15s,background .2s}
.yhc-fab:hover{background:#66563c;transform:translateY(-2px)}
.yhc-fab img{width:26px;height:26px;display:block;background:#fff;border-radius:50%;padding:3px}
.yhc-fab i{position:absolute;top:10px;left:34px;width:8px;height:8px;border-radius:50%;background:#a38a5d;border:2px solid #766242}
.yhc-open .yhc-fab,.yhc-fab.yhc-hide{display:none}
.yhc-panel{position:fixed;right:24px;bottom:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:9000;width:370px;height:560px;max-height:calc(100vh - 110px);display:none;flex-direction:column;background:#fffefb;border:1px solid rgba(21,18,16,.14);box-shadow:0 24px 60px rgba(21,18,16,.25);font-family:'Noto Sans SC',sans-serif;color:#766242}
.yhc-open .yhc-panel{display:flex}
.yhc-head{display:flex;align-items:center;gap:10px;padding:14px 16px;background:#766242;color:#fff;flex-shrink:0}
.yhc-head img{width:30px;height:30px;background:#fff;padding:4px;display:block}
.yhc-head b{display:block;font-family:Georgia,'Noto Serif SC',serif;font-size:.72rem;letter-spacing:.14em;font-weight:700}
.yhc-head b span{color:#a38a5d}
.yhc-head small{display:block;font-family:'DM Mono',monospace;font-size:.58rem;letter-spacing:.12em;color:rgba(255,255,255,.5);margin-top:2px}
.yhc-x{margin-left:auto;background:none;border:none;color:#fff;font-size:1.3rem;line-height:1;cursor:pointer;padding:6px 4px;opacity:.75}
.yhc-x:hover{opacity:1}
.yhc-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:16px;background:#faf8f2}
.yhc-m{max-width:86%;margin:0 0 10px;padding:10px 13px;font-size:.88rem;line-height:1.65;white-space:pre-wrap;word-break:break-word}
.yhc-bot{background:#fff;border:1px solid rgba(21,18,16,.08)}
.yhc-me{margin-left:auto;background:#766242;color:#fff}
.yhc-m.yhc-wait:after{content:'···';letter-spacing:2px;color:#a38a5d;animation:yhcB 1s infinite}
@keyframes yhcB{50%{opacity:.2}}
.yhc-chips{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px}
.yhc-chips button{background:transparent;border:1px solid rgba(21,18,16,.18);color:#66563c;font:inherit;font-size:.76rem;padding:6px 10px;cursor:pointer}
.yhc-chips button:hover{border-color:#a38a5d;color:#a38a5d}
.yhc-foot{flex-shrink:0;border-top:1px solid rgba(21,18,16,.1);background:#fffefb;padding:10px 12px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}
.yhc-form{display:flex;gap:8px}
.yhc-form input{flex:1;min-width:0;border:1px solid rgba(21,18,16,.18);background:#fff;padding:10px 12px;font:inherit;font-size:16px;color:#766242;border-radius:0;-webkit-appearance:none;outline:none}
.yhc-form input:focus{border-color:#a38a5d}
.yhc-form button{background:#a38a5d;color:#fff;border:none;padding:0 16px;font-family:'DM Mono','Noto Sans SC',monospace;font-size:.74rem;letter-spacing:.1em;cursor:pointer}
.yhc-form button:disabled{opacity:.5;cursor:wait}
.yhc-note{font-size:.66rem;color:#5C564E;margin-top:6px;letter-spacing:.02em}
.yhc-note a{color:#a38a5d;text-decoration:underline;cursor:pointer}
/* homepage entry */
.yhc-entry{display:inline-flex;align-self:flex-start;width:auto;align-items:center;gap:10px;margin-top:14px;background:none;border:none;padding:6px 0;cursor:pointer;color:#766242;font-family:'Noto Sans SC',sans-serif;font-size:.84rem;font-weight:500;letter-spacing:.06em;border-bottom:1px solid rgba(21,18,16,.25);transition:color .2s,border-color .2s}
.yhc-entry:before{content:'';width:8px;height:8px;border-radius:50%;background:#a38a5d;box-shadow:0 0 0 4px rgba(163,138,93,.15)}
.yhc-entry:hover{color:#a38a5d;border-color:#a38a5d}
@media(max-width:600px){
  .yhc-fab{right:14px;bottom:14px;bottom:calc(14px + env(safe-area-inset-bottom));height:46px;padding:0 14px 0 10px;font-size:.7rem}
  .yhc-fab i{top:8px;left:30px}
  .yhc-panel{left:0;right:0;bottom:0;width:auto;height:78vh;max-height:none;border:none;border-radius:14px 14px 0 0;overflow:hidden}
  .yhc-open .yhc-mask{display:block}
  .yhc-entry{display:flex;align-self:stretch;width:100%;justify-content:center;margin-top:12px;padding:12px 0;border:1px solid rgba(21,18,16,.18)}
}
.yhc-mask{display:none;position:fixed;inset:0;z-index:8999;background:rgba(21,18,16,.45)}

.yhc,.yhc *{box-sizing:border-box}.yhc button,.yhc input{margin:0}.yhc-fab{background:#fffefb;color:#766242;border:1px solid #b8a078}.yhc-fab:hover{background:#f5f0e5}.yhc-head{background:#fffefb;color:#766242;border-bottom:1px solid #ded4bf}.yhc-head small{color:#887756}.yhc-x{color:#766242}.yhc-head img,.yhc-fab img{object-fit:contain;background:#fff}.yhc-panel{border-radius:12px;overflow:hidden}.yhc-form button{border-radius:3px}.yhc button:focus-visible,.yhc a:focus-visible{outline:2px solid #a38a5d;outline-offset:3px}.yhc-body{min-height:0}.yhc-fab{z-index:8998}@media(max-width:600px){.yhc-panel{height:78vh;height:78dvh;max-height:calc(100dvh - 12px);border-radius:14px 14px 0 0}.yhc-head small{font-size:.5rem}}

.yhc-form{width:100%;max-width:none;margin:0}
