/* Skin88 chat widget — uses the website theme variables */
.s88c{--c-p:var(--primary,#a8803f);--c-bg:var(--surface,#fffaf6);--c-ink:var(--ink,#3b2d27);--c-soft:var(--soft,#7b6a60);font-family:var(--font-body,system-ui,sans-serif)}
.s88c [hidden]{display:none!important}
.s88c-fab{position:fixed;right:18px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:70;display:flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:14px 20px;background:var(--c-p);color:#fff;font:500 15px inherit;font-family:inherit;cursor:pointer;box-shadow:0 14px 30px -12px rgba(0,0,0,.45)}
.s88c-fab svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.s88c-fab.nudge{animation:s88pulse 1.6s ease 3}
@keyframes s88pulse{50%{transform:scale(1.08)}}
.s88c.open .s88c-fab{display:none}
.s88c-box{position:fixed;right:18px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:71;width:min(380px,calc(100vw - 24px));height:min(560px,calc(100vh - 110px));display:flex;flex-direction:column;background:var(--c-bg);color:var(--c-ink);border-radius:20px;overflow:hidden;box-shadow:0 30px 70px -25px rgba(0,0,0,.5);border:1px solid rgba(0,0,0,.06)}
.s88c-box header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:var(--c-p);color:#fff}
.s88c-box header b{display:block;font-size:16px}
.s88c-box header small{font-size:12px;opacity:.9;display:flex;align-items:center;gap:6px}
.s88c-box header small i{width:8px;height:8px;border-radius:50%;background:#7CF29A;display:inline-block}
.s88c-x{background:none;border:0;color:#fff;font-size:28px;line-height:1;cursor:pointer;padding:0 4px}
.s88c-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}
.s88c-m{max-width:85%;padding:10px 14px;border-radius:16px;font-size:14.5px;line-height:1.5;word-wrap:break-word}
.s88c-m.bot{background:color-mix(in srgb,var(--c-p) 10%,var(--c-bg));border-bottom-left-radius:4px;align-self:flex-start}
.s88c-m.me{background:var(--c-p);color:#fff;border-bottom-right-radius:4px;align-self:flex-end}
.s88c-m a{color:inherit;text-decoration:underline;word-break:break-all}
.s88c-m.typing{display:flex;gap:4px}
.s88c-m.typing i{width:7px;height:7px;border-radius:50%;background:var(--c-soft);animation:s88dot 1s infinite}
.s88c-m.typing i:nth-child(2){animation-delay:.15s}.s88c-m.typing i:nth-child(3){animation-delay:.3s}
@keyframes s88dot{50%{opacity:.25;transform:translateY(-3px)}}
.s88c-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 10px}
.s88c-chips button{border:1px solid color-mix(in srgb,var(--c-p) 40%,transparent);background:transparent;color:var(--c-p);border-radius:999px;padding:6px 12px;font-size:13px;cursor:pointer;font-family:inherit}
.s88c-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid rgba(0,0,0,.07)}
.s88c-form input{flex:1;border:1px solid rgba(0,0,0,.12);border-radius:999px;padding:10px 14px;font:inherit;font-size:16px;background:#fff;color:#222}
.s88c-form input:focus{outline:2px solid var(--c-p);outline-offset:1px}
.s88c-form button{width:44px;height:44px;border-radius:50%;border:0;background:var(--c-p);color:#fff;cursor:pointer;display:grid;place-items:center}
.s88c-form svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.s88c-note{margin:0;padding:0 14px 10px;font-size:11px;color:var(--c-soft);text-align:center}
@media(max-width:760px){
  .s88c-fab{bottom:calc(86px + env(safe-area-inset-bottom,0px));padding:12px 16px}
  .s88c-fab span{display:none}
  .s88c-box{right:0;bottom:0;width:100vw;height:100%;max-height:100dvh;border-radius:0}
}
@media(prefers-reduced-motion:reduce){.s88c *{animation:none!important}}
