/* Snap lander (experiment, 11/1), QUARANTINED: see app/snap_lander.py.
   The Discord review stories, COPIED AS-IS from static/vb/vb.css (lines 1960-2321 on 11/1)
   with the :root tokens they use. The homepage's copy is the source; this one is frozen. */
.sl-page {
  --vb-ink-0: #07080c;
  --vb-ink-1: #0d0f16;
  --vb-ink-2: #141824;
  --vb-ink-3: #1c2130;
  --vb-line: rgba(255, 255, 255, .07);
  --vb-line-2: rgba(255, 255, 255, .13);
  --vb-text: #f2f4f9;
  --vb-dim: #99a1b5;
  --vb-dimmer: #626b80;
  --vb-gold: #e9cd97;
  --vb-gold-2: #d8b57a;
  --vb-gold-deep: #a9834a;
  --vb-mint: #6fe3b0;
  --vb-rose: #ff8fa5;
  --vb-holo: linear-gradient(115deg, #8ee9ff 0%, #c9a6ff 22%, #ffd9a8 45%, #9dffd2 68%, #a9c8ff 88%);
  --vb-ease: cubic-bezier(.2, .9, .25, 1);
  /* active pack accent as an r,g,b triple — set live from vb.js */
  --vb-acc: 158, 212, 255;
  --vb-gutter: 20px;
  --vb-max-width: 72rem;
}

.vb-reviews {
  width: 100%;
  max-width: 640px;
  margin: 14px auto 0;
  padding: 14px var(--vb-gutter) 8px;
}

.vb-reviews-head {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}
.vb-reviews-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #eef3fb;
  font-size: clamp(1.35rem, 5.6vw, 1.9rem);
  font-weight: 850;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.vb-reviews-eyebrow-icon { width: 1.3em; height: 1.3em; fill: #5865F2; flex: 0 0 auto; }
.vb-reviews-eyebrow a {
  color: #8b96ff;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid rgba(139, 150, 255, .45);
  transition: color 180ms ease, border-color 180ms ease;
}
.vb-reviews-eyebrow a:hover,
.vb-reviews-eyebrow a:focus-visible { color: #aab3ff; border-bottom-color: #8b96ff; }
.vb-reviews-head p {
  color: var(--vb-dim);
  font-size: 12.5px;
  font-weight: 600;
}

/* ---- Review stories player: header over a fading blur, then the hit
        photo edge-to-edge from one shared top line, then the Discord
        bubble typing itself out, then transport controls. The whole
        thing flows — taller photos simply push the bubble down. ---- */
/* the stories player: a standard header band, then the photo at one
   fixed top line, the bubble floating below. The blur runs behind it
   all and dissolves to nothing at the top — no frame edge, the player
   grows out of the page. */
.vb-story {
  --vb-story-head-h: 108px; /* the standard header band above the photo */
  position: relative;
  margin-top: 16px;
  margin-inline: calc(-1 * var(--vb-gutter)); /* full-bleed past the gutter */
  /* svh, not dvh: dvh tracks the browser chrome collapsing during scroll,
     which made the photo box resize mid-view. svh is stable. */
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  user-select: none;
  -webkit-user-select: none;
}
/* blurred echo behind everything: extends up past the header but fades
   to full transparency at the top; softens out again at the foot */
.vb-story-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: blur(42px) brightness(.45) saturate(1.1);
  -webkit-mask-image: linear-gradient(180deg,
    transparent 0%, rgba(0, 0, 0, .55) 8%, #000 15%,
    #000 85%, rgba(0, 0, 0, .55) 92%, transparent 100%);
  mask-image: linear-gradient(180deg,
    transparent 0%, rgba(0, 0, 0, .55) 8%, #000 15%,
    #000 85%, rgba(0, 0, 0, .55) 92%, transparent 100%);
  transition: opacity .3s ease;
}
/* the header: a standard, compact band directly above the photo */
.vb-story .vb-reviews-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--vb-story-head-h);
  z-index: 3;
  align-content: center;
  padding: 10px var(--vb-gutter) 0;
}
.vb-story .vb-reviews-eyebrow {
  font-size: clamp(1.7rem, 7.4vw, 2.4rem);
  gap: .6rem;
}
.vb-story .vb-reviews-head p {
  font-size: 13.5px;
  font-weight: 650;
}

/* the photo: exactly frame-width, its top pinned to the same line just
   under the header for every review; crops into a standard box whose
   height JS flexes within a small tolerance (see applyFit). Its edges
   melt into the blur — no hard cut lines. */
.vb-story-img {
  position: absolute;
  top: var(--vb-story-head-h);
  left: 0;
  width: 100%;
  height: 62%;
  object-fit: cover;
  object-position: center 28%;
  z-index: 1;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 92%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 92%, transparent 100%);
  transition: opacity .3s ease;
}
/* ---- review-to-review transition: directional, cinematic ----
   Leave: the photo drifts toward where you came from, softening away.
   Enter: the next one glides in from where you're going, settling from
   blur to sharp; the bubble follows a beat behind. --dir = 1 or -1. */
.vb-story { --dir: 1; }
.vb-story-img {
  transition:
    opacity .42s cubic-bezier(.22, 1, .36, 1),
    transform .42s cubic-bezier(.22, 1, .36, 1),
    filter .42s ease;
}
.vb-story.is-leave .vb-story-img {
  opacity: 0;
  transform: translateX(calc(-30px * var(--dir))) scale(.975);
  filter: blur(6px);
  transition: opacity .28s ease-in, transform .28s ease-in, filter .28s ease-in;
}
.vb-story.is-leave .vb-story-bg { opacity: 0; transition: opacity .28s ease-in; }
.vb-story.is-enter-set .vb-story-img {
  transition: none;
  opacity: 0;
  transform: translateX(calc(40px * var(--dir))) scale(1.02);
  filter: blur(12px);
}
.vb-story.is-enter-set .vb-story-bg { transition: none; opacity: 0; }

/* no scrims: the blur itself fades to transparency at both ends, and
   the bubble/controls carry their own backgrounds */
.vb-story-scrim { display: none; }

/* quiet position marker, riding the photo's top-right corner */
.vb-story-count {
  position: absolute;
  z-index: 5;
  top: calc(var(--vb-story-head-h) + 10px);
  right: 12px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  color: rgba(255, 255, 255, .62);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .75);
  font-variant-numeric: tabular-nums;
}

/* the Discord message bubble, floating over the photo's lower third.
   Bottom-anchored: with the ghost pre-sizing (JS), it appears at its
   final size instantly — nothing grows or shifts while text types. */
.vb-story-bubble-zone {
  position: absolute;
  z-index: 4;
  left: 14px;
  right: 14px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 108px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.vb-story-bubble {
  width: 100%;
  max-width: 34rem;
  border-radius: 18px;
  background: rgba(43, 45, 49, .94);
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: .85rem 1rem .9rem;
  font-family: "gg sans", "Noto Sans", "Helvetica Neue", system-ui, sans-serif;
  /* enters a beat behind the photo */
  transition: opacity .38s ease .1s, transform .38s var(--vb-ease) .1s;
}
.vb-story.is-leave .vb-story-bubble {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .24s ease-in, transform .24s ease-in;
}
.vb-story.is-enter-set .vb-story-bubble {
  transition: none;
  opacity: 0;
  transform: translateY(16px);
}

.vb-story-head { display: flex; align-items: center; gap: .7rem; }
.vb-story-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: #1e2024;
}
.vb-story-id { display: flex; align-items: baseline; gap: .55rem; min-width: 0; flex-wrap: wrap; }
.vb-story-id strong {
  font-size: 1.08rem;
  font-weight: 600;
  color: #f2f3f5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vb-story-id span { font-size: .74rem; font-weight: 500; color: #949ba4; }

.vb-story-body {
  position: relative;
  margin: .45rem 0 0 calc(40px + .7rem);
  color: #dbdee1;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: anywhere;
  min-height: 1.42em;
}
.vb-story-body p { margin: 0; }
.vb-story-body p + p { margin-top: .4rem; }
.vb-story-body p:empty { display: none; }
/* the ghost holds the message's FINAL height from the first frame, so
   the bubble — and everything under it — never moves while text types */
.vb-story-ghost { visibility: hidden; }
.vb-story-live { position: absolute; inset: 0; }

/* blinking type caret */
.vb-story-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: #dbdee1;
  animation: vb-story-blink 1s steps(1) infinite;
}
@keyframes vb-story-blink { 50% { opacity: 0; } }

/* discord typing indicator (pre-roll) */
.vb-story-typing { display: inline-flex; align-items: center; gap: 5px; padding: .15em 0; }
.vb-story-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #949ba4;
  animation: vb-story-bounce 1.2s ease-in-out infinite;
}
.vb-story-typing i:nth-child(2) { animation-delay: .15s; }
.vb-story-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes vb-story-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .55; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* transport controls */
.vb-story-controls {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
}
.vb-story-btn {
  appearance: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(12, 9, 20, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  transition: transform .18s cubic-bezier(.22, 1, .36, 1), background .18s, border-color .18s;
}
.vb-story-btn svg { width: 20px; height: 20px; fill: currentColor; }
.vb-story-btn:hover { background: rgba(30, 24, 48, .75); border-color: rgba(255, 255, 255, .4); transform: translateY(-1px); }
.vb-story-btn:active { transform: scale(.94); }
.vb-story-btn:focus-visible { outline: 2px solid rgba(var(--vb-acc), .9); outline-offset: 3px; }
.vb-story-btn--main {
  width: 60px;
  height: 60px;
  border-color: rgba(255, 255, 255, .5);
  box-shadow: 0 0 22px rgba(var(--vb-acc), .4), inset 0 0 14px rgba(var(--vb-acc), .12);
}
.vb-story-btn--main svg { width: 24px; height: 24px; }

/* ---- desktop: a full-width cinematic band. The blur field spans the
        whole viewport; inside it the photo sits left as a large framed
        card and the Discord bubble types beside it on the right. ---- */
@media (min-width: 900px) {
  .vb-story {
    --vb-story-head-h: 132px;
    /* the photo column's geometry, shared by photo + counter */
    --vb-story-photo-l: max(7vw, calc(50vw - 560px));
    --vb-story-photo-w: min(42vw, 500px);
    margin-inline: calc(50% - 50vw); /* break out to the full viewport */
    height: min(82vh, 780px);
    min-height: 620px;
  }
  .vb-story .vb-reviews-head { padding-top: 26px; }
  .vb-story .vb-reviews-eyebrow { font-size: clamp(2rem, 2.6vw, 2.7rem); }
  .vb-story .vb-reviews-head p { font-size: 15px; }

  .vb-story-img {
    left: var(--vb-story-photo-l);
    width: var(--vb-story-photo-w);
    border-radius: 18px;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8);
    /* a framed card wants crisp edges — the fade masks come off */
    -webkit-mask-image: none;
    mask-image: none;
  }
  /* desktop backdrop: not a heavy blur wall — a translucent ghost of the
     photo, barely softened, dissolving into the page at both ends */
  .vb-story-bg {
    filter: blur(7px) brightness(.55) saturate(1.05);
    opacity: .28;
  }
  .vb-story-count {
    left: calc(var(--vb-story-photo-l) + var(--vb-story-photo-w) - 12px);
    right: auto;
    transform: translateX(-100%);
    top: calc(var(--vb-story-head-h) + 14px);
  }

  /* the bubble becomes the right column, centered beside the photo */
  .vb-story-bubble-zone {
    left: calc(var(--vb-story-photo-l) + var(--vb-story-photo-w) + clamp(28px, 4vw, 64px));
    right: var(--vb-story-photo-l);
    bottom: auto;
    top: 46%;
    transform: translateY(-50%);
  }
  .vb-story-bubble { max-width: 32rem; padding: 1.05rem 1.2rem 1.1rem; }
  .vb-story-body { font-size: 1.3rem; }

  .vb-story-controls { bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .vb-story-caret { animation: none; }
  .vb-story-typing i { animation: none; }
  .vb-story-img, .vb-story-bubble { transition: none; }
}

