.fpd-phone{background:#0B1F3A;border-radius:38px;padding:12px;box-shadow:0 30px 60px rgba(11,31,58,.28),0 10px 0 #061325;transform:perspective(1200px) rotateY(-6deg) rotateX(3deg);transition:transform .4s}
.fpd-phone:hover{transform:perspective(1200px) rotateY(0) rotateX(0)}
.fpd-head{display:flex;align-items:center;gap:12px;background:#075E54;color:#fff;padding:14px 16px;border-radius:28px 28px 0 0}
.fpd-avatar{width:40px;height:40px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;flex:none}
.fpd-chat{height:460px;overflow-y:auto;background:#ECE5DD;padding:16px 12px;display:flex;flex-direction:column;gap:8px;scroll-behavior:smooth}
.fpd-msg{max-width:84%;padding:7px 10px 6px;border-radius:12px;font-size:14.5px;line-height:1.45;color:#111B21;box-shadow:0 1px 1px rgba(0,0,0,.12);word-wrap:break-word;overflow-wrap:anywhere;animation:fpdIn .3s ease-out;display:flex;flex-wrap:wrap;align-items:flex-end;column-gap:10px;box-sizing:border-box}
.fpd-msg .fpd-txt{white-space:pre-line;flex:1 1 auto;min-width:0}
.fpd-msg time{flex:0 0 auto;margin-left:auto;font-size:10.5px;line-height:1;color:#667781;white-space:nowrap;position:relative;top:2px}
.fpd-in{align-self:flex-start;background:#fff;border-top-left-radius:4px}
.fpd-out{align-self:flex-end;background:#D9FDD3;border-top-right-radius:4px}
.fpd-sys{align-self:center;background:#FFF4C2;color:#54656F;font-size:12.5px;padding:6px 12px;border-radius:8px;animation:fpdIn .3s ease-out}
.fpd-typing{align-self:flex-start;background:#fff;border-radius:12px;padding:12px 14px;display:flex;gap:4px}
.fpd-typing i{width:7px;height:7px;border-radius:50%;background:#8696A0;animation:fpdDot 1s infinite}
.fpd-typing i:nth-child(2){animation-delay:.15s}.fpd-typing i:nth-child(3){animation-delay:.3s}
.fpd-input{display:flex;align-items:center;justify-content:space-between;background:#F0F2F5;padding:10px 14px;border-radius:0 0 28px 28px;color:#8696A0;font-size:14px}
.fpd-send{width:36px;height:36px;border-radius:50%;background:#00A884;color:#fff;display:flex;align-items:center;justify-content:center}
.fpd-chip{min-height:44px;padding:0 16px;border-radius:12px;border:1px solid #DCE4EE;background:#F4F7FB;color:#0B1F3A;font:600 14.5px Inter,system-ui,sans-serif;cursor:pointer;box-shadow:0 4px 0 #DCE4EE;transition:transform .1s}
.fpd-chip:active{transform:translateY(3px);box-shadow:0 1px 0 #DCE4EE}
.fpd-chip[aria-pressed="true"]{background:#0B1F3A;color:#fff;border-color:#0B1F3A;box-shadow:0 4px 0 #061325}
.fpd-btn{min-height:40px;padding:0 14px;border-radius:10px;border:1px solid #DCE4EE;background:#fff;color:#33475F;font:600 14px Inter,system-ui,sans-serif;cursor:pointer}
.fpd-btn[aria-pressed="true"]{background:#DDF5F1;border-color:#99E2D7;color:#0F766E}
.fpd-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;counter-reset:s}
.fpd-steps li{counter-increment:s;display:grid;grid-template-columns:34px 1fr;column-gap:12px;padding:12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);transition:all .35s}
.fpd-steps li::before{content:counter(s);grid-row:span 2;width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.08);color:#9FB3C8;display:flex;align-items:center;justify-content:center;font-weight:700}
.fpd-steps b{color:#fff;font-size:15px}.fpd-steps span{font-size:13.5px;color:#9FB3C8;line-height:1.5}
.fpd-steps li.on{background:rgba(45,212,191,.12);border-color:rgba(45,212,191,.5);transform:translateX(4px)}
.fpd-steps li.on::before{background:#14B8A6;color:#04211E}
.fpd-alert{margin-top:14px;padding:12px 14px;border-radius:12px;background:#FFF4C2;color:#3D3200;font-size:14px;line-height:1.5;white-space:pre-line;animation:fpdIn .3s ease-out}
@keyframes fpdIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes fpdDot{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@media (max-width:560px){.fpd-chat{height:400px}.fpd-phone{transform:none}}
@media (prefers-reduced-motion:reduce){.fpd-phone{transform:none}.fpd-msg,.fpd-sys,.fpd-alert{animation:none}.fpd-chat{scroll-behavior:auto}}
.fpd-rich{display:block;padding-bottom:0;min-width:72%}
.fpd-rich>div:first-child{white-space:pre-line}
.fpd-rich>time{display:block;text-align:right;margin:4px 0 7px;top:0}
.fpd-listbtn{border-top:1px solid #E9EDEF;margin:0 -10px;padding:10px;text-align:center;color:#00A884;font-weight:600}
.fpd-qr{display:flex;flex-direction:column;margin:0 -10px}
.fpd-qr span{border-top:1px solid #E9EDEF;padding:9px;text-align:center;color:#00A884;font-weight:600}
.fpd-sheet{align-self:stretch;background:#fff;border-radius:16px;padding:6px 0;box-shadow:0 -6px 24px rgba(0,0,0,.15);animation:fpdIn .3s ease-out}
.fpd-sheet-h{font-weight:700;text-align:center;padding:8px;color:#111B21;border-bottom:1px solid #E9EDEF}
.fpd-opt{padding:11px 16px;font-size:14.5px;color:#111B21;border-bottom:1px solid #F0F2F5}
.fpd-opt.fpd-pick{background:#D9FDD3;font-weight:600}
.fpd-chat>*{flex-shrink:0}
.fpd-sys{max-width:90%;text-align:center}
.fpd-qr span,.fpd-listbtn{font-size:14px}
.fpd-head strong,.fpd-head span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
