/* Two horizontal trading rows adapted from the supplied card-feed reference. */
.remote-story .remote-visual {
  width: 100%;
  max-width: 520px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.remote-snipes-label {
  margin: 0 10px 9px;
  color: #8fa2bd;
  font-size: 10px;
  line-height: 1.4;
  text-align: right;
}
.remote-snipes {
  /* Three 205px cards, two 14px gaps, and one 14px seam between repeats. */
  --sequence-width: 657px;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  height: 430px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.remote-snipes-row { min-width: 0; overflow: hidden; }
.remote-snipes-track { display: flex; width: max-content; height: 100%; will-change: transform; }
.remote-snipes-sequence { display: grid; grid-template-columns: repeat(3, 205px); flex: 0 0 var(--sequence-width); gap: 14px; width: var(--sequence-width); height: 100%; padding-right: 14px; }
.remote-snipes.is-looping .remote-snipes-row:first-child .remote-snipes-track { animation: remote-snipes-left 27s linear infinite; }
.remote-snipes.is-looping .remote-snipes-row:last-child .remote-snipes-track { animation: remote-snipes-left 31s linear infinite reverse; }
.remote-snipes.is-looping:not(.is-visible) .remote-snipes-track,
.remote-snipes:hover .remote-snipes-track { animation-play-state: paused; }
@keyframes remote-snipes-left { to { transform: translateX(calc(-1 * var(--sequence-width))); } }

.remote-story .remote-visual img { position: static; z-index: auto; mix-blend-mode: normal; }
.remote-snipe { width: 205px; overflow: hidden; border: 1px solid #395677; border-radius: 15px; background: #101b2f; box-shadow: inset 0 1px #8cb9ff26, 0 12px 28px #0007; }
.remote-snipe-head {
  position: relative;
  display: flex;
  min-height: 137px;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  padding: 12px 10px 8px;
  background: radial-gradient(ellipse at 50% 10%, #246bfd24, transparent 75%), linear-gradient(180deg, #1a2b44, #121e33);
  text-align: center;
}
.remote-snipe-head > * { position: relative; z-index: 1; }
.remote-snipe-date { position: absolute; top: 8px; right: 9px; z-index: 2; border: 1px solid #799bca30; border-radius: 5px; background: #0d1a2fcb; padding: 2px 6px; color: #b8cbea; font-size: 10px; line-height: 1.1; }
.remote-snipe-avatar { width: 80px; height: 80px; flex: 0 0 80px; overflow: hidden; border: 2px solid #e9cd7a; border-radius: 50%; background: url("assets/0_gold.webp") center 39% / cover no-repeat, #d8ad4b; box-shadow: 0 0 0 4px #d7b35b20, 0 8px 18px #0008; }
.remote-story .remote-snipe-avatar img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.remote-snipe-head strong { max-width: 100%; margin-top: 7px; overflow: hidden; color: #f5f7fa; font-size: 12px; line-height: 1.2; text-overflow: ellipsis; text-shadow: 0 1px 5px #07101d; white-space: nowrap; }
.remote-snipe-head small { color: #b4c9e5; font-size: 10px; line-height: 1.4; }
.remote-snipe-footer { display: flex; min-height: 65px; align-items: center; justify-content: space-between; gap: 5px; border-top: 1px solid #34517c; padding: 8px 9px; background: #111e33; }
.remote-snipe-footer dl { display: grid; gap: 1px; margin: 0; }
.remote-snipe-footer dl > div { display: flex; align-items: center; gap: 4px; }
.remote-snipe-footer dt { width: 25px; color: #8a98ac; font-size: 9px; line-height: 1.2; text-transform: uppercase; }
.remote-snipe-footer dd { display: inline-flex; align-items: center; gap: 3px; margin: 0; color: #dce3ed; font-size: 10px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.remote-story .remote-snipe-footer img { width: 10px; height: 10px; flex: 0 0 10px; object-fit: contain; }
.remote-snipe-profit { display: inline-flex; align-items: center; gap: 3px; color: #8bf46a; font-size: 16px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.remote-story-copy { position: relative; }
.remote-story-copy .eyebrow { margin-bottom: 18px; }
.remote-highlight { position: relative; display: inline-block; }
.remote-highlight::after { content: ""; position: absolute; inset: -8px -14px -5px; border: 2px solid #5aaeff; border-radius: 50%; transform: rotate(-8deg); opacity: .7; pointer-events: none; }
.trade-flow { display: inline-flex; align-items: center; gap: 10px; margin: 25px 0 22px; color: #95bfff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.trade-flow span { padding: 7px 12px; border: 1px solid #34557f; border-radius: 6px; background: #142744; }
.trade-flow i { color: #649de6; font-size: 16px; font-style: normal; }
.remote-story-copy .dependency { margin-bottom: 21px; }

@media (max-width: 820px) {
  .remote-story .remote-visual { max-width: 480px; }
  .remote-story-copy h2 br { display: initial; }
}
@media (max-width: 560px) {
  .remote-story .remote-visual { width: 100%; max-width: 300px; padding: 0; }
  .remote-snipes { width: 100%; height: 430px; margin: 0 auto; }
  .trade-flow { gap: 5px; }
  .trade-flow span { padding: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .remote-snipes.is-looping .remote-snipes-track { animation: none !important; transform: none; }
}
