#section-07 .section07-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
  margin: 40px 0 34px;
}

#section-07 .section07-social-card,
#section-07 .section07-watch-frame {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

#section-07 .section07-frame-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.94);
}

#section-07 .section07-frame-shell,
#section-07 .section07-watch-viewport {
  background: #111;
}

#section-07 .section07-frame-viewport,
#section-07 .section07-story-shell,
#section-07 .section07-watch-viewport {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

#section-07 .section07-frame-viewport {
  aspect-ratio: 9 / 15.4;
}

#section-07 .section07-frame-track,
#section-07 .section07-watch-track {
  display: flex;
  height: 100%;
  transition: transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

#section-07 .section07-frame-track > *,
#section-07 .section07-watch-track > * {
  flex: 0 0 100%;
}

#section-07 .section07-frame-track img,
#section-07 .section07-watch-track video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#section-07 .section07-reel-ui {
  position: absolute;
  inset: auto 16px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  color: #f0dcdc;
  z-index: 2;
}

#section-07 .section07-kalshi-chip {
  position: relative;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
}

#section-07 .section07-kalshi-wordmark {
  display: block;
  color: #f0dcdc;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

#section-07 .section07-kalshi-sn {
  position: absolute;
  right: -8px;
  top: -8px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #f0dcdc;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

#section-07 .section07-reel-meta {
  display: grid;
  gap: 2px;
  justify-items: end;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#section-07 .section07-marquee {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  overflow: hidden;
}

#section-07 .section07-marquee--reel {
  bottom: 24%;
}

#section-07 .section07-marquee--story {
  bottom: 9%;
}

#section-07 .section07-marquee-track {
  display: flex;
  width: max-content;
  animation: section07Marquee 15s linear infinite;
}

#section-07 .section07-marquee-track img {
  height: 156px;
  width: auto;
  flex: 0 0 auto;
  margin-right: 20px;
}

#section-07 .section07-story-shell {
  width: 100%;
  max-width: none;
  aspect-ratio: 9 / 15.4;
  margin: 0 auto;
  background: #141414;
  border-radius: 0 0 18px 18px;
}

#section-07 .section07-story-bars {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
  z-index: 3;
}

#section-07 .section07-story-bars span {
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

#section-07 .section07-story-bars span.is-active {
  background: rgba(255, 255, 255, 0.95);
}

#section-07 .section07-story-topline,
#section-07 .section07-story-footer {
  position: absolute;
  left: 16px;
  right: 16px;
  z-index: 3;
  color: #fff;
}

#section-07 .section07-story-topline {
  top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

#section-07 .section07-story-profile {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(135deg, #717171, #313131);
}

#section-07 .section07-story-cta-stack {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 56px;
  z-index: 3;
  display: grid;
  gap: 8px;
}

#section-07 .section07-story-link,
#section-07 .section07-story-voucher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

#section-07 .section07-story-link {
  position: static;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
}

#section-07 .section07-story-voucher {
  position: static;
  background: rgba(4, 186, 117, 0.94);
  color: #fff;
}

#section-07 .section07-story-footer {
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

#section-07 .section07-story-footer span:first-child {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.84);
}

#section-07 .section07-copy {
  max-width: min(1000px, 75vw);
  margin-left: auto;
  margin-right: auto;
}

#section-07 .section07-watch-frame {
  margin: 34px 0 26px;
}

#section-07 .section07-close {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

#section-07 .section07-watch-viewport {
  aspect-ratio: 16 / 8.2;
  background: #111;
}

#section-07 .section07-watch-frame.is-hidden {
  display: none;
}

#section-07 .section07-concept {
  margin: 36px 0 0;
}

#section-07 .section07-concept img,
#section-07 .section07-concept__fallback {
  width: 100%;
  border-radius: 14px;
}

#section-07 .section07-concept img {
  display: block;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.1);
}

#section-07 .section07-concept__fallback {
  min-height: 320px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, rgba(4, 186, 117, 0.16), rgba(255, 255, 255, 0.82));
  border: 1px dashed rgba(0, 0, 0, 0.16);
  color: #111;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  text-align: center;
  padding: 24px;
}

#section-07 .section07-concept figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.68);
}

@keyframes section07Marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 960px) {
  #section-07 .section07-social-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  #section-07 .section07-social-card {
    flex: 0 0 min(72vw, 300px);
    scroll-snap-align: start;
  }

  #section-07 .section07-social-card--story {
    width: auto;
  }

  #section-07 .section07-story-cta-stack {
    bottom: 58px;
  }
}

@media (max-width: 768px) {
  #section-07 .section07-social-card {
    flex: 0 0 min(72vw, 280px);
  }

  #section-07 .section07-marquee-track img {
    height: 88px;
  }

  #section-07 .section07-story-cta-stack {
    bottom: 60px;
  }

  #section-07 .section07-marquee--story {
    bottom: 8%;
  }

  #section-07 .section07-watch-viewport {
    aspect-ratio: 16 / 12;
  }

  #section-07 .section07-copy {
    max-width: 100%;
  }
}
