.lc-tool {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: none;
  align-self: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8b95a5;
  cursor: pointer;
}

@keyframes lc-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-3px); opacity: 1; }
}

@keyframes lc-row-in {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lc-sys,
.lc-a-sys {
  margin: 14px 0;
  color: #98a2b3;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  animation: lc-row-in .24s cubic-bezier(.22, 1, .36, 1) backwards;
}

.lc-tool:hover {
  background: #f1f3f6;
  color: var(--lc-brand, #2563eb);
}

.lc-file {
  display: none;
}

.lc-pop {
  position: absolute;
  left: 12px;
  bottom: 62px;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  width: min(300px, calc(100% - 24px));
  max-height: 212px;
  padding: 8px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .16);
}

.lc-pop[hidden] {
  display: none;
}

.lc-pop button {
  width: 33px;
  height: 33px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.lc-pop button:hover {
  background: #f1f3f6;
}

.lc-pending {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px 0;
}

.lc-pending[hidden] {
  display: none;
}

.lc-pending-item {
  position: relative;
  width: 56px;
  height: 56px;
  overflow: hidden;
  background: #f6f7f9;
  border: 1px solid #e8ebf0;
  border-radius: 8px;
}

.lc-pending-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lc-pending-del {
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 0 0 0 8px;
  background: rgba(15, 23, 42, .55);
  color: #fff;
  font-size: 14px;
  line-height: 16px;
  cursor: pointer;
}

.lc-pending-spin {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .62);
}

.lc-pending-spin::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(37, 99, 235, .2);
  border-top-color: var(--lc-brand, #2563eb);
  border-radius: 50%;
  animation: lc-spin .7s linear infinite;
}

@keyframes lc-spin {
  to { transform: rotate(360deg); }
}

.lc-imgs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lc-imgs img {
  display: block;
  max-width: 100%;
  max-height: 170px;
  border-radius: 8px;
  background: #eef1f5;
  cursor: zoom-in;
}

.lc-text {
  white-space: pre-line;
  word-break: break-word;
}

.lc-text.is-clamp {
  max-height: 200px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent);
  mask-image: linear-gradient(to bottom, #000 76%, transparent);
}

.lc-more {
  display: block;
  margin-top: 3px;
  padding: 2px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 12.5px;
  opacity: .75;
  text-decoration: underline;
  cursor: pointer;
}

.lc-more:hover {
  opacity: 1;
}

.lc-imgs + .lc-text {
  margin-top: 7px;
}

.lc-files {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lc-file-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 196px;
  max-width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(15, 23, 42, .04);
  color: inherit;
  text-decoration: none;
}

.lc-file-card:hover {
  background: rgba(15, 23, 42, .08);
}

.lc-file-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 7px;
  background: #fff;
  color: #43506b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2px;
}

.lc-file-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lc-file-info b {
  font-size: 13.5px;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lc-file-info i {
  margin-top: 2px;
  color: #8b95a5;
  font-size: 11.5px;
  font-style: normal;
}

.lc-row.lc-me .lc-file-card,
.lc-a-row.is-agent .lc-file-card {
  background: rgba(255, 255, 255, .18);
}

.lc-row.lc-me .lc-file-card:hover,
.lc-a-row.is-agent .lc-file-card:hover {
  background: rgba(255, 255, 255, .28);
}

.lc-row.lc-me .lc-file-ico,
.lc-a-row.is-agent .lc-file-ico {
  background: rgba(255, 255, 255, .92);
  color: #2563eb;
}

.lc-row.lc-me .lc-file-info i,
.lc-a-row.is-agent .lc-file-info i {
  color: rgba(255, 255, 255, .78);
}

.lc-pending-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2px;
  text-align: center;
  word-break: break-all;
}

.lc-pending-item.is-file {
  background: #eef1f5;
}

.lc-note-warn {
  background: #fff7ed;
  color: #b45309;
}

.lc-lightbox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, .8);
  cursor: zoom-out;
}

.lc-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}

.lc-card {
  display: block;
  width: 274px;
  max-width: 100%;
  padding: 14px;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .07);
  box-sizing: border-box;
  overflow: hidden;
}

.lc-card-top {
  display: flex;
  align-items: center;
  gap: 11px;
}

.lc-card-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  color: #fff;
}

.lc-card-ico svg {
  display: block;
  width: 24px;
  height: 24px;
}

.lc-card-body {
  flex: 1;
  min-width: 0;
}

.lc-card-body b {
  display: block;
  color: #98a2b3;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .3px;
}

.lc-card-body i {
  display: block;
  margin-top: 1px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #101828;
  font-size: 15px;
  font-weight: 600;
  font-style: normal;
}

.lc-card-act {
  flex: none;
  max-width: 108px;
  padding: 7px 12px;
  border: 0;
  border-radius: 9px;
  background: #f2f4f7;
  color: #344054;
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.lc-card-act:hover {
  background: #e6eaf1;
}

.lc-card-act.is-copied {
  background: #e8f7ee;
  color: #0f9d58;
}

.lc-card-qrbox {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 11px;
  background: #f7f8fa;
}

.lc-card-qr {
  display: block;
  width: 104px;
  height: 104px;
  flex: none;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  cursor: zoom-in;
}

.lc-card-qrinfo {
  flex: 1;
  min-width: 0;
}

.lc-card-qrinfo b {
  display: block;
  color: #101828;
  font-size: 13.5px;
  font-weight: 600;
}

.lc-card-qrinfo em {
  display: block;
  margin-top: 3px;
  color: #98a2b3;
  font-size: 11.5px;
  font-style: normal;
  line-height: 1.65;
}

.lc-a-row.is-agent .lc-card {
  border-color: rgba(255, 255, 255, .6);
}
