/*
 * The continuation area follows the hero's card language: one framed header
 * per window and five separated story slots beneath it. Empty slots are
 * deliberately visual only, so they never alter the editorial feed.
 */
.continuation-stream {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.window-continuation {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.continuation-window-head {
  min-height: 60px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.028), transparent 62%),
    rgba(20, 25, 28, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 7px 20px rgba(0, 0, 0, 0.12);
}

.continuation-window-head .window-label {
  gap: 1px;
}

.continuation-window-head .window-label b {
  font-size: 15px;
  font-weight: 680;
}

.continuation-window-head .window-label span {
  font-size: 9px;
}

.continuation-window-head .window-label em {
  font-size: 8px;
}

.continuation-window-head .view-all {
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 8px;
}

.card-list-more,
.card-list-more.count-1,
.card-list-more.count-2,
.card-list-more.count-3,
.card-list-more.count-4,
.card-list-more.count-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.card-list-more .market-card,
.card-list-more .market-card:last-child {
  min-height: 174px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.035), transparent 58%),
    rgba(20, 25, 28, 0.94);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.12);
}

.card-list-more .market-card:hover {
  border-color: rgba(241, 201, 40, 0.34);
  background:
    linear-gradient(140deg, rgba(241, 201, 40, 0.07), transparent 62%),
    rgba(23, 28, 31, 0.98);
}

.continuation-empty-card {
  position: relative;
  min-height: 174px;
  pointer-events: none;
  border-style: dashed !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(20, 25, 28, 0.45) !important;
  box-shadow: none !important;
}

.continuation-empty-card::before {
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.045);
  border-radius: 10px;
  content: "";
}

@media (max-width: 1180px) {
  .card-list-more,
  .card-list-more.count-1,
  .card-list-more.count-2,
  .card-list-more.count-3,
  .card-list-more.count-4,
  .card-list-more.count-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .continuation-stream {
    gap: 16px;
    margin-top: 16px;
  }

  .continuation-window-head {
    min-height: 54px;
    padding: 0 12px;
    border-radius: 13px;
  }

  .card-list-more,
  .card-list-more.count-1,
  .card-list-more.count-2,
  .card-list-more.count-3,
  .card-list-more.count-4,
  .card-list-more.count-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
  }

  .card-list-more .market-card,
  .card-list-more .market-card:last-child,
  .continuation-empty-card {
    min-height: 164px;
    padding: 11px;
    border-radius: 13px;
  }
}

@media (max-width: 470px) {
  .card-list-more,
  .card-list-more.count-1,
  .card-list-more.count-2,
  .card-list-more.count-3,
  .card-list-more.count-4,
  .card-list-more.count-5 {
    grid-template-columns: 1fr;
  }
}
