/*
 * One shared soft header surface above the rounded companion cells.
 *
 * The previous full-width black strip ended in a hard divider while the
 * scrolling content used rounded cards. Keeping the header footprint at
 * 48px lets the existing feed geometry remain unchanged.
 */
.certain-panel .panel-title,
.asset-panel .panel-title {
  box-sizing: border-box;
  min-height: 42px;
  height: 42px;
  margin: 6px 7px 0;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background:
    linear-gradient(108deg, rgba(255, 255, 255, 0.018), transparent 72%),
    #191f21;
  overflow: hidden;
}

/* Keep the certainty and horizon metadata inside the same header surface. */
.certain-panel .panel-horizon,
.asset-panel .panel-horizon {
  top: 4px;
  right: 4px;
  bottom: 4px;
  height: auto;
}

.certain-panel .panel-horizon {
  width: 67px;
}

.asset-panel .panel-horizon {
  width: calc(52.5% - 27px);
}

@media (max-width: 760px) {
  .certain-panel .panel-title,
  .asset-panel .panel-title {
    min-height: 38px;
    height: 38px;
    margin: 5px 6px 0;
    padding: 0 10px;
    border-radius: 9px;
  }

  .certain-panel .panel-horizon {
    top: 4px;
    right: 4px;
    bottom: 4px;
    width: 56px;
  }

  .asset-panel .panel-horizon {
    top: 4px;
    right: 4px;
    bottom: 4px;
    width: calc(52.5% - 24px);
  }
}
