  :root{
    --card-width: 100%;
    --img-height: 360px;
    --visible-count: 1.5;
    --transition-time: 450ms;
    --radius: 12px;
  }



  .gallery-card{
    width: var(--card-width);
    border-radius: var(--radius);
    overflow: visible;
    box-shadow: 0px 0px 18px rgba(12,18,31,0.25);
    /*background: linear-gradient(to bottom, #e6f3ff 0%, #ffffff 100%);*/
    padding: 12px;
  }

  .stack-viewport{
    position: relative;
    width: 100%;
    height: calc(var(--img-height) * var(--visible-count));
    overflow: hidden;
    border-radius: calc(var(--radius) - 2px);
    transition: height var(--transition-time) cubic-bezier(.2,.9,.3,1);
    cursor: pointer;
  }

  .stack-viewport.expanded{
    height: auto;
    cursor: default;
  }

  .stack{
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
  }

  .stack img{
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
  }

  /* Remove or comment out the hover effect */
  /*.stack-viewport:not(.expanded) .stack img:hover {
    transform: scale(1.02);
  }*/

  .fade-overlay{
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 20;
    /* Top/height/background are set dynamically by JS */
    display: none;
    transition: opacity var(--transition-time) ease;
  }

  .cta {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    pointer-events: auto;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    cursor: pointer; /* 基础鼠标样式 */
}

.cta:hover {
    transform: translateX(-50%) scale(1.1);
    cursor: zoom-in; /* 鼠标悬停时变为放大镜样式 */
}

  /*.meta{*/
  /*  margin-top: 10px;*/
  /*  color:#475569;*/
  /*  font-size: 13px;*/
  /*  display:flex;*/
  /*  justify-content:space-between;*/
  /*  align-items:center;*/
  /*}*/

  /*.meta .hint{*/
  /*  font-size:12px;*/
  /*  color:#64748b;*/
  /*}*/
