.stage {padding: 0;}
.easy-scroll-container {
    position: relative;
    overflow: hidden; width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
	border-top: 1px solid navy; border-bottom: 2px solid navy;
    border-radius: 8px;
      /*background:
        linear-gradient(135deg, rgba(214, 162, 75, 0.08), transparent 38%),
        linear-gradient(180deg, var(--surface-2), #10120e);*/
}

.easy-scroll-clip {
	position: relative; overflow: hidden;
	width: 100%; height: 100%;
}

.showcase-horizontal::before, .showcase-horizontal::after,
.manual-end::before, .manual-end::after,
.showcase-vertical::before,
.showcase-vertical::after {
    content: "";
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.showcase-horizontal::before,
.manual-end::before {
    top: 0; bottom: 0; left: 0;
     /* background: linear-gradient(90deg, #12140f 0%, #12140f 66%, transparent 100%);*/
}

.showcase-horizontal::after,
.manual-end::after {
    top: 0; bottom: 0; right: 0;
     /* background: linear-gradient(270deg, #12140f 0%, #12140f 66%, transparent 100%);*/
}
.showcase-horizontal::before,
.manual-end::before {
     /* background: linear-gradient(90deg, #12140f 0%, #12140f 66%, transparent 100%);*/
}
    .showcase-horizontal::after,
    .manual-end::after {
      /*background: linear-gradient(270deg, #12140f 0%, #12140f 66%, transparent 100%);*/
    }

    .showcase-horizontal::before,
    .manual-end::before,
    .showcase-horizontal::after,
    .manual-end::after {width: 150px;}
    .manual-end::before,
    .manual-end::after {width: 92px;}

    .showcase-vertical::before,
    .showcase-vertical::after {
      left: 0; right: 0;
      width: auto; height: 58px;
    }

    .showcase-vertical::before {
      top: 0; bottom: auto;
     /* background: linear-gradient(180deg, #12140f, transparent);*/
    }

    .showcase-vertical::after {
      top: auto;
      bottom: 0;
     /* background: linear-gradient(0deg, #12140f, transparent);*/
    }

    .easy-scroll-list {
      overflow: hidden;
      margin: 0; padding: 0;
      list-style: none;
    }
    .easy-scroll-list li {
      margin: 0; padding: 0;
      list-style: none;
    }
    .showcase-horizontal {height: 184px;}
    .showcase-horizontal .easy-scroll-clip {height: 184px;}
    .showcase-horizontal .easy-scroll-list li {
      float: left;
      width: 292px; height: 184px;
      padding: 14px 18px;
    }
    .showcase-vertical {height: 420px;}
    .showcase-vertical .easy-scroll-clip {height: 420px;}
    .showcase-vertical .easy-scroll-list li {
      width: 100%; height: 140px;
      padding: 12px 70px 12px 14px;
    }
    .manual-end {height: 174px;}
    .manual-end .easy-scroll-clip {height: 174px;}
    .manual-end .easy-scroll-list li {
      float: left;
      width: 264px; height: 174px;
      padding: 14px 18px;
    }

    .tile {
      display: flex; height: 100%;
      min-height: 0;
      flex-direction: column;
      justify-content: space-between;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 8px;
      padding: 15px;
      background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent),
        #202419;
    }

    .showcase-horizontal .tile,
    .manual-end .tile {
      align-items: center;
      justify-content: center;
      padding-inline: 58px;
      text-align: center;
    }

    .showcase-horizontal .tile-copy,
    .manual-end .tile-copy {
      display: none;
    }

    .eyebrow {
      color: var(--soft);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .tile-title {
      margin-top: 8px;
      color: var(--text);
      font-size: 1rem;
      font-weight: 720;
      line-height: 1.22;
      overflow-wrap: anywhere;
    }

    .tile-copy {
      margin-top: 8px;
      color: var(--muted);
      font-size: 0.86rem;
      line-height: 1.42;
      overflow-wrap: anywhere;
    }

    .metric {
      display: inline-flex;
      width: fit-content;
      max-width: 100%; margin-top: 12px;
      border: 1px solid rgba(239, 226, 200, 0.18);
      border-radius: 999px;
      padding: 5px 10px;
      color: var(--paper);
      font-size: 0.78rem;
      font-weight: 700;
      white-space: nowrap;
    }

    .easy-scroll-btn {
      position: absolute;
      z-index: 3; display: grid;
      width: 42px; height: 42px;
      place-items: center;
      border: 1px solid rgba(239, 226, 200, 0.18);
      border-radius: 999px;
      background: rgba(13, 14, 11, 0.82) !important;
      background-image: none !important;
      color: #fff; cursor: pointer;
      transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, opacity 160ms ease;
      user-select: none;
    }

    .easy-scroll-btn:hover,
    .easy-scroll-btn:focus {
      border-color: rgba(214, 162, 75, 0.72);
      background: rgba(31, 34, 24, 0.96) !important;
    }

    .easy-scroll-btn.disabled {
      opacity: 0.38;
      cursor: default;
      transform: none;
    }

    .easy-scroll-btn-left {
      left: 12px;
      bottom: 12px;
    }

    .easy-scroll-btn-right {
      right: 12px;
      bottom: 12px;
    }

    .easy-scroll-btn-up {
      right: 12px;
      top: 12px;
    }

    .easy-scroll-btn-down {
      right: 12px;
      bottom: 12px;
    }

    .easy-scroll-btn-left::before {
      content: "<";
      font-size: 1.2rem;
      font-weight: 800;
    }

    .easy-scroll-btn-right::before {
      content: ">";
      font-size: 1.2rem;
      font-weight: 800;
    }

    .easy-scroll-btn-up::before {
      content: "^";
      font-size: 1.1rem;
      font-weight: 800;
    }

    .easy-scroll-btn-down::before {
      content: "v";
      font-size: 1.1rem;
      font-weight: 800;
    }

    .easy-scroll-btn-pause {
      right: 12px;
      bottom: 12px;
    }

    .easy-scroll-btn-pause::before {
      content: "||";
      font-size: 0.92rem;
      font-weight: 800;
      letter-spacing: 0.04em;
    }

    .easy-scroll-btn-pause.active::before {
      content: ">";
    }

    .manual-end .easy-scroll-btn-left,
    .manual-end .easy-scroll-btn-right {
      top: 50%;
      bottom: auto;
      transform: translateY(-50%);
    }

    @media (max-width: 860px) {
      main {
        width: min(100% - 28px, 640px);
        padding-top: 42px;
      }

      .demo-grid {
        grid-template-columns: 1fr;
      }

      .showcase-horizontal .easy-scroll-list li,
      .manual-end .easy-scroll-list li {
        width: 420px;
      }

      .showcase-horizontal::before,
      .manual-end::before,
      .showcase-horizontal::after,
      .manual-end::after {
        width: 58px;
      }

      .manual-end .easy-scroll-list li {
        padding-right: 46px;
      }

      .panel-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
      }
    }

    @media (max-width: 480px) {
      main {
        width: min(100% - 24px, 420px);
      }

      h1 {
        font-size: 2.35rem;
      }

      .description {
        font-size: 1rem;
      }

      .stage {
        padding: 14px;
      }

      .showcase-horizontal {
        height: 204px;
      }

      .showcase-horizontal .easy-scroll-clip {
        height: 204px;
      }

      .showcase-horizontal .easy-scroll-list li,
      .manual-end .easy-scroll-list li {
        width: 338px;
      }

      .showcase-horizontal .easy-scroll-list li {
        height: 204px;
        padding: 16px 28px;
      }

      .manual-end {
        height: 214px;
      }

      .manual-end .easy-scroll-clip {
        height: 214px;
      }

      .manual-end .easy-scroll-list li {
        height: 214px;
        padding: 16px 64px;
      }

      .showcase-vertical {
        height: 456px;
      }

      .showcase-vertical .easy-scroll-clip {
        height: 456px;
      }

      .showcase-vertical .easy-scroll-list li {
        height: 152px;
        padding: 14px 58px 14px 14px;
      }

      .tile {
        padding: 15px;
      }

      .tile-title {
        font-size: 0.98rem;
      }

      .tile-copy {
        font-size: 0.84rem;
      }

      .easy-scroll-btn {
        width: 36px;
        height: 36px;
      }

      .easy-scroll-btn-left {
        left: 8px;
      }

      .easy-scroll-btn-right,
      .easy-scroll-btn-down,
      .easy-scroll-btn-pause {
        right: 8px;
      }

      .easy-scroll-btn-up {
        right: 8px;
        top: 12px;
      }

      .showcase-horizontal::before,
      .manual-end::before,
      .showcase-horizontal::after,
      .manual-end::after {
        width: 58px;
      }
    }