*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#1f2937;background:#f5f7fa;-webkit-text-size-adjust:100%;font-size:14px}button{font-family:inherit;cursor:pointer}.kf-attach-strip{display:flex;flex-wrap:wrap;gap:8px;padding:4px 0 0}.kf-attach-item{position:relative;width:68px;height:68px;border-radius:10px;overflow:hidden;border:1px solid #e2e8f0;background:#fff}.kf-attach-item img{width:100%;height:100%;object-fit:cover;display:block}.kf-attach-mask{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#1118278c;color:#fff;font-size:11px}.kf-attach-mask.is-error{background:#b91c1cad}.kf-attach-item .kf-attach-remove{position:absolute;top:4px;right:4px;width:18px;height:18px;display:grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.9);border-radius:50%;line-height:1;font-size:13px;color:#fff;background:#1118278c;box-shadow:0 1px 2px #0003;transition:background .15s}.kf-attach-item .kf-attach-remove:hover{background:#ef4444}.kf-msg-images{display:grid;gap:6px;margin-bottom:6px;width:fit-content;max-width:100%}.kf-msg-images.count-1{grid-template-columns:160px}.kf-msg-images.count-2{grid-template-columns:repeat(2,96px)}.kf-msg-images.count-3{grid-template-columns:repeat(3,76px)}.kf-msg-image{padding:0;border:none;border-radius:8px;overflow:hidden;background:#eef2f7;cursor:zoom-in;aspect-ratio:1 / 1}.kf-msg-image img{width:100%;height:100%;object-fit:cover;display:block}.kf-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;display:grid;place-items:center;padding:24px;background:#090d14c7}.kf-lightbox img{max-width:min(92vw,1100px);max-height:86vh;object-fit:contain;border-radius:8px;background:#fff;box-shadow:0 20px 60px #0006;cursor:default}.kf-lightbox-close{position:absolute;top:18px;right:20px;width:36px;height:36px;display:grid;place-items:center;padding:0;border:none;border-radius:50%;background:#ffffff2e;color:#fff;font-size:24px;line-height:1}.kf-lightbox-close:hover{background:#ffffff52}
