/* 麵日子 語音點餐 */
.voice{--v-red:var(--red,#a85037);--v-ink:var(--ink,#3d372e);--v-muted:var(--muted,#797568);--v-line:var(--line,#e7dfcf);--v-bg:#fffdf6;--v-yellow:var(--yellow,#f3d983)}
.vfab{position:fixed;right:24px;bottom:24px;z-index:20;display:flex;align-items:center;gap:10px;padding:14px 22px;border:0;border-radius:40px;background:var(--v-red);color:#fff;font-weight:700;font-size:15px;box-shadow:0 8px 24px #7a3a2540}
.vfab:hover{filter:brightness(1.05)}
.vfab-dot{width:10px;height:10px;border-radius:50%;background:#fff;opacity:.9}
.voice[data-state="connecting"] .vfab-dot{animation:vpulse 1s infinite}
.voice[data-state="live"] .vfab{background:var(--v-ink)}
.voice[data-state="live"] .vfab-dot{background:#7bd88f;animation:vpulse 1.4s infinite}
@keyframes vpulse{0%,100%{transform:scale(1);opacity:.9}50%{transform:scale(1.5);opacity:.4}}

.vp{position:fixed;right:24px;bottom:88px;z-index:20;width:min(380px,calc(100vw - 32px));max-height:min(560px,calc(100vh - 120px));display:flex;flex-direction:column;background:var(--v-bg);border:1px solid var(--v-line);border-radius:22px;box-shadow:0 18px 50px #3d372e33;overflow:hidden;color:var(--v-ink)}
.vp[hidden]{display:none}
.vp-head{display:flex;justify-content:space-between;align-items:flex-start;padding:16px 18px 12px;border-bottom:1px solid var(--v-line)}
.vp-head strong{display:block;font-size:16px;letter-spacing:.04em}
.vp-status{display:block;font-size:13px;color:var(--v-red);margin-top:3px;min-height:1.2em}
.vp-close{border:0;background:none;font-size:24px;line-height:1;color:var(--v-muted);padding:0 4px}
.vp-log{flex:1;overflow-y:auto;padding:14px 16px;display:flex;flex-direction:column;gap:8px;min-height:140px}
.vb{margin:0;padding:9px 13px;border-radius:16px;font-size:14px;line-height:1.6;max-width:86%}
.vb-ai{background:#f3ead6;align-self:flex-start;border-bottom-left-radius:4px}
.vb-me{background:var(--v-red);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.vb-sys{background:none;color:var(--v-muted);align-self:center;text-align:center;font-size:13px}
.vp-order{margin:0 16px 12px;padding:14px 16px;border:1.5px dashed var(--v-red);border-radius:14px;background:#fff}
.vp-order[hidden]{display:none}
.vp-order strong{color:var(--v-red)}
.vp-order p{margin:4px 0;font-size:13px;color:var(--v-muted)}
.vp-order ul{margin:8px 0;padding-left:18px;font-size:14px;line-height:1.7}
.vp-order .vo-total{font-size:15px;font-weight:700;color:var(--v-ink)}
.vp-foot{display:flex;align-items:center;gap:10px;padding:10px 16px;border-top:1px solid var(--v-line)}
.vp-timer{flex:1;font-size:12px;color:var(--v-muted)}
.vp-end{border:0;background:var(--v-ink);color:#fff;border-radius:20px;padding:7px 16px;font-weight:700;font-size:13px}
.vp-end[hidden]{display:none}
.vp-tel{font-size:13px;color:var(--v-red);font-weight:700}
.vp-note{margin:0;padding:0 16px 12px;font-size:11px;color:var(--v-muted)}

@media(max-width:760px){
  .vfab{bottom:62px;right:14px;padding:12px 18px;font-size:14px}
  .vp{right:12px;left:12px;width:auto;bottom:118px;max-height:calc(100vh - 150px)}
}
