.cap-corner-image {
  position: absolute;
  right: -12px;
  bottom: -18px;
  width: 116px;
  height: 145px;
  border: 5px solid #fff;
  box-shadow: 0 12px 30px rgba(23, 22, 43, .12);
  object-fit: cover;
  object-position: top;
  transform: rotate(3deg);
}

.cap.dark .cap-corner-image { border-color: #28282f; opacity: .82; }
.cap .mini-chart,.cap .avatars,.cap .settle { max-width: calc(100% - 105px); }

.merchant-gallery {
  display: grid;
  grid-template-columns: 1.08fr .92fr 1fr;
  height: 470px;
  overflow: hidden;
  background: #16161b;
}

.merchant-gallery article {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.merchant-gallery article + article { border-left: 1px solid rgba(255,255,255,.2); }
.merchant-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.merchant-gallery article:hover img { transform: scale(1.035); }

.merchant-gallery article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 11, 16, .86));
}

.merchant-gallery article div {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 32px;
  left: 30px;
  color: #fff;
}

.merchant-gallery span,.merchant-gallery b { display: block; }
.merchant-gallery span { margin-bottom: 9px; color: #b3aaff; font-size: 11px; letter-spacing: 1px; }
.merchant-gallery b { font-size: 20px; line-height: 1.45; }

@media (max-width: 850px) {
  .cap-corner-image { width: 96px; height: 120px; }
  .merchant-gallery { grid-template-columns: 1fr; height: auto; }
  .merchant-gallery article { height: 290px; }
  .merchant-gallery article + article { border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
}

@media (max-width: 430px) {
  .cap .mini-chart,.cap .avatars,.cap .settle { max-width: calc(100% - 80px); }
  .merchant-gallery article { height: 250px; }
  .merchant-gallery article div { right: 24px; bottom: 25px; left: 24px; }
}
