/* social-proof toast (sample, see TOAST_SAMPLE in script.js) */
.toast{position:fixed;left:clamp(16px,4vw,40px);bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:41;display:flex;align-items:center;gap:10px;width:min(340px,calc(100% - 2*clamp(16px,4vw,40px)));padding:10px 6px 10px 14px;background:var(--surface);border:1px solid var(--rule-gold);border-left:3px solid var(--gold);border-radius:2px;box-shadow:0 6px 20px rgba(0,0,0,.45);opacity:0;transform:translateY(12px);transition:opacity 280ms var(--ease),transform 280ms var(--ease)}
.toast[hidden]{display:none}
.toast.is-in{opacity:1;transform:none}
body.has-sticky .toast{bottom:calc(92px + env(safe-area-inset-bottom,0px))}
.toast__tag{flex:none;align-self:flex-start;margin-top:2px;padding:1px 6px;border:1px solid var(--rule-gold);border-radius:2px;color:var(--gold);font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;line-height:1.5}
.toast__txt{flex:1;min-width:0;margin:0;font-size:14px;line-height:1.4;color:var(--ivory)}
.toast__x{flex:none;display:grid;place-items:center;width:44px;height:44px;margin:-10px 0;background:none;border:0;color:var(--muted);cursor:pointer}
.toast__x:hover{color:var(--gold)}
.toast__x svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
@media(prefers-reduced-motion:reduce){.toast{transition:none;transform:none}}

/* toast: light card, no left stripe */
.toast{background:#FFFDF8;border:1px solid #D2B26A;border-radius:16px;box-shadow:0 14px 34px -14px rgba(33,24,11,.5)}
.toast__txt{color:#21180B}
.toast__tag{color:#6F4700;border-color:#D2B26A;background:#FFF3D0;border-radius:999px;padding:1px 8px}
.toast__x{color:#594A2F;border-radius:12px}
.toast__x:hover{color:#6F4700}
/* bahasa: toast berada di luar .bbw */
.toast .en{display:none}
html[data-lang="en"] .toast .id{display:none}
html[data-lang="en"] .toast .en{display:inline}
.toast{font-family:"Instrument Sans",ui-sans-serif,system-ui,sans-serif;color-scheme:light;--ease:cubic-bezier(.16,1,.3,1)}
.toast b{font-weight:600}
.toast,.toast *{box-sizing:border-box}
.toast p{margin:0}
.toast button{font:inherit}

.toast__av{flex:none;width:40px;height:40px;border-radius:50%;overflow:hidden;background:#FFF3D0;border:1px solid #D2B26A}
.toast__av img{display:block;width:100%;height:100%;object-fit:cover}
.toast__av img:not([src]){display:none}
