.fcs-wrap{position:fixed;top:var(--fcs-top,50%);transform:translateY(-50%);z-index:9999;background:var(--fcs-bg,#e9e9e9);padding:8px;border-radius:14px;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.fcs-pos-right.fcs-wrap{right:var(--fcs-edge,20px)}
.fcs-pos-left.fcs-wrap{left:var(--fcs-edge,20px)}
.fcs-list{display:flex;flex-direction:column;gap:8px}
.fcs-item{display:flex;flex-direction:column;align-items:center;justify-content:center;width:80px;padding:12px 0;background:#fff;border-radius:10px;text-decoration:none!important;color:var(--fcs-text,#333);font-size:12px;transition:background .2s,color .2s}
.fcs-item:hover,.fcs-item:focus,.fcs-item:active{text-decoration:none!important;background:var(--fcs-color,#629a43);color:#fff}
.fcs-icon{display:flex;align-items:center;justify-content:center;margin-bottom:4px}
.fcs-text{white-space:nowrap}

.fcs-toggle{display:none;width:52px;height:52px;border:none;border-radius:50%;background:var(--fcs-color,#629a43);color:#fff;cursor:pointer;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(0,0,0,.18);padding:0}
.fcs-toggle-open,.fcs-toggle-close{display:flex;align-items:center;justify-content:center}
@keyframes fcs-fade{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}

.fcs-modal[hidden],.fcs-tip[hidden]{display:none!important}
.fcs-modal{position:fixed;inset:0;z-index:10001;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:20px;background:rgba(0,0,0,.48)}
.fcs-modal-panel{position:relative;width:100%;max-width:400px;box-sizing:border-box;padding:28px 24px 24px;background:#fff;color:#333;text-align:center;border-radius:12px;box-shadow:0 12px 36px rgba(0,0,0,.18)}
.fcs-modal-panel #fcs-modal-title{margin:0 24px 18px;color:#222;font-size:21px;line-height:1.3;font-weight:600}
.fcs-modal-panel .fcs-modal-qr{display:block;width:auto;height:auto;max-width:100%;max-height:62vh;margin:0 auto 14px;object-fit:contain}
.fcs-modal-panel p{margin:0;color:#555;font-size:14px;line-height:1.5}
.fcs-modal-panel .fcs-modal-close{position:absolute;top:6px;right:8px;border:0;background:transparent;color:#444;padding:5px 9px;font-size:26px;line-height:1;cursor:pointer}

.fcs-tip{position:fixed;z-index:10000;top:var(--fcs-top,50%);transform:translateY(-50%);width:min(340px,calc(100vw - 32px));box-sizing:border-box;padding:20px;border:1px solid #e5e5e5;border-radius:12px;background:#fff;color:#333;box-shadow:0 8px 28px rgba(0,0,0,.14);font-size:14px;line-height:1.5}
.fcs-tip.fcs-pos-right{right:calc(var(--fcs-edge,20px) + 98px)}
.fcs-tip.fcs-pos-left{left:calc(var(--fcs-edge,20px) + 98px)}
.fcs-tip p{margin:0 22px 12px 0;color:#333}
.fcs-tip-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.fcs-tip-address{overflow-wrap:anywhere;user-select:text}
.fcs-tip .fcs-tip-copy{border:0;border-radius:6px;background:var(--fcs-color,#629a43);color:#fff;cursor:pointer;padding:8px 12px;font-size:13px;line-height:1.3}
.fcs-tip .fcs-tip-close{position:absolute;top:8px;right:9px;border:0;background:transparent;color:#555;cursor:pointer;padding:4px 8px;font-size:24px;line-height:1}
.fcs-tip-status{display:block;font-size:12px;margin-top:8px}
.fcs-tip-status:empty{display:none}
