:root {
  --nvs-accent: #ff2b55;
  --nvs-overlay-bg: rgba(10, 10, 18, 0.74);
  --nvs-surface: #11131a;
  --nvs-text: #ffffff;
  --nvs-radius: 20px;
  --nvs-reel-overlay-header-height: 10%;
  --nvs-reel-overlay-footer-height: 10%;
  --nvs-reel-overlay-header-bg: #fffd;
  --nvs-reel-overlay-footer-bg: #fffc;
  --nvs-reel-overlay-delay: 5s;
  --nvs-reel-overlay-fade-duration: 360ms;
}

.nvs-overlay-open,
.nvs-overlay-open body {
  overflow: hidden;
}

.nvs-instance {
  color: var(--nvs-text);
  display: block;
  height: calc(100dvh - 52px);
  background: var(--bbg);
}

.nvs-instance button,
.nvs-overlay button,
.nvs-article-stories button,
.nvs-rail button,
.nvs-player__controls button,
.nvs-reel-item__controls button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.is_video .main {
  padding-bottom: 0;
}

.is_video .header {
    padding: 0.666em 0;
}

.is_video .header .main_logo {
    height: 26px;
}

.is_video .header-top,
.is_video .header-bottom {
    display: none;
}

.nvs-instance--single.is_video {
  position: relative;
  overflow: hidden;
}

.nvs-reel-shell {
  position: relative;
  height: 100%;
}

.nvs-reel-track {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nvs-reel-track::-webkit-scrollbar {
  display: none;
}

.nvs-reel-item {
  min-height: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.nvs-reel-item__stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nvs-reel-item__media {
  position: relative;
  height: calc(100dvh - var(--from-top) - 32px);
  width: auto;
  max-width: calc(100vw - 120px);
  aspect-ratio: var(--nvs-media-ratio);
  max-height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #000 center center / cover no-repeat;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

.nvs-reel-item__poster,
.nvs-reel-item__mount,
.nvs-reel-item__iframe,
.nvs-reel-item__video {
  position: absolute;
  inset: 0;
}

.nvs-reel-item__poster {
  background: #000 center center / cover no-repeat;
}

.nvs-reel-item__mount {
  overflow: hidden;
}

.nvs-reel-item__iframe,
.nvs-reel-item__video {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  pointer-events: none;
}

.nvs-reel-item__mount iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nvs-reel-item__overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: auto;
  touch-action: pan-y;
}

.nvs-reel-item__overlay-header,
.nvs-reel-item__overlay-footer {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
}

.nvs-reel-item__overlay-header {
  display: none;
}

.nvs-reel-item__overlay-footer {
  bottom: 0;
  height: var(--nvs-reel-overlay-footer-height);
  background: var(--loop_bg)!important;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
}

.nvs-reel-item__overlay-end {
  position: absolute;
  top: 66%;
  left: 50%;
  right: auto;
  z-index: 3;
  display: grid;
  gap: 16px;
  justify-items: center;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  width: min(760px, calc(100vw - 32px));
}

.nvs-reel-item__end-copy {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
  color: #fff;
}

.nvs-reel-item__end-title {
  font-size: 16px;
  line-height: 1.2;
}

.nvs-reel-item__end-countdown {
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
}

.nvs-reel-item__end-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.nvs-reel-item__end-related {
  display: grid;
  gap: 10px;
  width: 100%;
  pointer-events: auto;
}

.nvs-reel-item__end-related .inline_related {
  width: 100%;
}

.nvs-reel-item__end-related .inline_related_inner {
  width: 100%;
}

.nvs-reel-item--popular {
  padding-top: 16px;
  padding-bottom: 16px;
}

.nvs-reel-item--popular .nvs-reel-item__stage {
  align-items: center;
  justify-content: center;
}

.nvs-popular-stories-slider {
  position: relative;
  display: block;
  padding: 0;
  width: auto;
  height: 100%;
  max-height: calc(100dvh - var(--from-top));
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: var(--loop_bg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  aspect-ratio: 9 / 16;
}

.stories-slider {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nvs-popular-stories-slider .swiper,
.nvs-popular-stories-slider .swiper-wrapper,
.nvs-popular-stories-slider .swiper-slide {
  width: 100%;
  height: 100%;
}

.nvs-popular-story-slide {
  background: #111;
}

.nvs-popular-story {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #111;
}

.stories-slider-user {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.stories-slider-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  margin: 6px 0 0 6px !important;
}

.stories-slider-user-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.stories-slider-user-avatar--fallback {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.stories-slider-user-name {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.stories-slider-user-date {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 700;
}

.stories-slider-story-link {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.nvs-popular-story .stories-slider-content {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.nvs-popular-story .stories-slider-content > img,
.nvs-popular-story .stories-slider-content > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.nvs-popular-story .stories-slider-content::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.38));
  pointer-events: none;
}

.nvs-popular-story .stories-slider-content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 24%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 6;
}

.nvs-popular-story-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 3;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #101114;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.nvs-popular-story-caption__kicker {
  color: var(--nvs-accent);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nvs-popular-story-caption__title {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
}

.nvs-popular-story-caption__excerpt {
  color: rgba(16, 17, 20, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.nvs-popular-story__meta {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 62px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.nvs-popular-story__meta-label,
.nvs-popular-story__meta-age {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nvs-popular-story-nav {
  position: absolute;
  top: 50%;
  z-index: 60;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.54);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  cursor: pointer;
}

.nvs-popular-story-nav:hover,
.nvs-popular-story-nav:focus-visible {
  background: rgba(0, 0, 0, 0.72);
}

.nvs-popular-story-nav--prev {
  left: 10px;
}

.nvs-popular-story-nav--next {
  right: 10px;
}

.nvs-popular-story-nav span {
  font-size: 22px;
  line-height: 1;
  transform: translateY(-1px);
}

.stories-slider-tap {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 12;
  width: 56px;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  touch-action: manipulation;
}

.stories-slider-tap--prev {
  left: 0;
}

.stories-slider-tap--next {
  right: 0;
}

.nvs-popular-stories-slider .stories-slider-pagination {
  left: 16px;
  right: 16px;
  top: 12px;
}

.nvs-popular-stories-slider .stories-slider-pagination-bullet {
  height: 3px;
  background: rgba(255, 255, 255, 0.24);
}

.nvs-popular-stories-slider .stories-slider-pagination-bullet span {
  display: block;
  width: 0% !important;
  height: 100%;
  background: #fff;
  transition: width 80ms linear;
  transform: none !important;
}

.nvs-popular-story-caption {
  z-index: 4;
}

@media (max-width: 767px) {
  .nvs-popular-stories-slider {
    width: auto;
    max-height: calc(100dvh - var(--from-top));
    border-radius: 18px;
  }

  .nvs-popular-story-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
  }

  .nvs-popular-story-caption__title {
    font-size: 16px;
  }

  .nvs-popular-story-caption__excerpt {
    font-size: 13px;
  }

  .stories-slider-tap {
    width: 48px;
  }

  .nvs-popular-story-nav {
    width: 38px;
    height: 38px;
    left: auto;
    right: auto;
  }

  .nvs-popular-story-nav--prev {
    left: 6px;
  }

  .nvs-popular-story-nav--next {
    right: 6px;
  }
}

.nvs-reel-item__controls {
  display: grid;
  grid-template-columns: 46px 62px 46px;
  align-items: center;
  justify-items: center;
  justify-content: center;
  gap: 16px;
  width: min(178px, calc(100vw - 32px));
}

.nvs-reel-item__control {
  border: 0;
  border-radius: 999px;
  min-height: 40px;
  padding: 0;
  background: rgba(255, 255, 255, 0.66);
  color: #111;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.nvs-reel-item__control:hover,
.nvs-reel-item__control:focus-visible {
  background: rgba(255, 255, 255, 0.84);
}

.nvs-reel-item__control-label {
  display: none;
}

.nvs-reel-item__control--share,
.nvs-reel-item__control--mute {
  width: 46px;
  height: 46px;
}

.nvs-reel-item__control--playpause {
  width: 62px;
  height: 62px;
  background: rgba(255, 255, 255, 0.72);
}

.nvs-reel-item__control--playpause:hover,
.nvs-reel-item__control--playpause:focus-visible {
  background: rgba(255, 255, 255, 0.9);
}

.nvs-reel-item__control--playpause .nvs-reel-item__control-icon {
  width: 36px;
  height: 36px;
}

button.nvs-reel-item__control.nvs-reel-item__control--playpause svg{
	 width: 36px;
  height: 42px;
}

.nvs-reel-item__control--share .nvs-reel-item__control-icon,
.nvs-reel-item__control--mute .nvs-reel-item__control-icon {
  width: 24px;
  height: 24px;
}
.nvs-reel-item__control-icon{
  width: 100%;
  height: 100%;
  display:flex;
  align-items: center;
  justify-content: center;
}
.nvs-reel-item__control--playpause[data-state="playing"] .nvs-reel-item__control-icon--play,
.nvs-reel-item__control--playpause[data-state="playing"] .nvs-reel-item__control-icon--replay,
.nvs-reel-item__control--playpause:not([data-state="playing"]):not([data-state="ended"]) .nvs-reel-item__control-icon--pause,
.nvs-reel-item__control--playpause:not([data-state="playing"]):not([data-state="ended"]) .nvs-reel-item__control-icon--replay,
.nvs-reel-item__control--playpause[data-state="ended"] .nvs-reel-item__control-icon--play,
.nvs-reel-item__control--playpause[data-state="ended"] .nvs-reel-item__control-icon--pause {
  display: none;
}

.nvs-reel-item__control--mute[data-muted="1"] .nvs-reel-item__control-icon--mute,
.nvs-reel-item__control--mute[data-muted="0"] .nvs-reel-item__control-icon--unmute {
  display: none;
}

.nvs-reel-item__caption {
  display: grid;
  gap: 8px;
}

.nvs-reel-item__header-title {
  font-size: 15px;
  line-height: 1.35;
  max-width: 42ch;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.nvs-reel-item.is-chrome-visible:not(.is-chrome-timeout) .nvs-reel-item__overlay-footer {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nvs-reel-item.paused .nvs-reel-item__overlay-footer {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nvs-reel-item.is-hovering .nvs-reel-item__overlay-footer,
.nvs-reel-item.is-touch-visible .nvs-reel-item__overlay-footer {
  background: rgba(0, 0, 0, 0.24);
}

.nvs-reel-item.is-playing-chrome .nvs-reel-item__overlay-footer {
  animation: none;
  background: transparent;
  align-items: center;
  opacity: 0;
  visibility: hidden;
}

.nvs-reel-item.paused .nvs-reel-item__overlay-footer {
  animation: none;
}

.nvs-reel-item.ended .nvs-reel-item__overlay-footer {
  opacity: 1;
  visibility: visible;
  transform: none;
  animation: none;
}

.nvs-reel-item.ended .nvs-reel-item__overlay-footer {
  background: transparent;
}

.nvs-reel-item.ended .nvs-reel-item__overlay-end {
  opacity: 1;
  visibility: visible;
}

.nvs-reel-item.ended .nvs-reel-item__controls {
  opacity: 0;
  visibility: hidden;
}

.nvs-reel-item.ended .nvs-reel-item__end-actions {
  margin-top: 2px;
}

@keyframes nvs-reel-header-fade {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes nvs-reel-footer-bg {
  from {
    background: #000;
  }

  to {
    background: transparent;
  }
}

.nvs-share-notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 99999;
  max-width: min(92vw, 360px);
  transform: translate(-50%, 12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(10, 10, 18, 0.96);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nvs-share-notice[data-visible="1"] {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nvs-reel-item__title {
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  color: #ffffff;
}

.nvs-reel-item__excerpt {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.nvs-reel-nav {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.nvs-reel-nav__button {
  pointer-events: auto;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.nvs-reel-nav__button:hover,
.nvs-reel-nav__button:focus-visible {
  background: rgba(0, 0, 0, 0.74);
}

.nvs-reel-nav__button:disabled,
.nvs-reel-nav__button[aria-disabled="true"] {
  opacity: 0.32;
  cursor: not-allowed;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.34);
}

@media (max-width: 1023px) {
  .nvs-reel-nav {
    display: none;
  }
}

.nvs-embed-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.nvs-embed-card,
.nvs-recommendation {
  background: var(--nvs-surface);
  color: var(--nvs-text);
  text-decoration: none;
  border-radius: var(--nvs-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.nvs-embed-card__media,
.nvs-recommendation__media {
  position: relative;
  background: #1e2230 center center / cover no-repeat;
  min-height: 220px;
}

.nvs-embed-card__media--short {
  aspect-ratio: 9 / 16;
}

.nvs-embed-card__media--standard {
  aspect-ratio: 16 / 9;
}

.nvs-embed-card__play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.6);
  font-size: 18px;
}

.nvs-embed-card__body,
.nvs-recommendation__body {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.nvs-embed-card__title,
.nvs-item__title {
  line-height: 1.2;
  margin: 0;
}

.nvs-embed-card__excerpt,
.nvs-recommendation__body span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.nvs-article-rail {
  display: grid;
  gap: 14px;
}

.nvs-article-stories {
  display: grid;
  gap: 14px;
}

.nvs-article-stories__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nvs-article-stories__title {
  color: var(--nvs-text);
  font-size: 20px;
  line-height: 1.2;
}

.nvs-article-stories__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(200px, 58vw, 260px);
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 10px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 2px;
  -webkit-overflow-scrolling: touch;
}

.nvs-article-stories[data-story-count="1"] .nvs-article-stories__track {
  grid-auto-columns: clamp(280px, 82vw, 420px);
  justify-content: center;
}

.nvs-article-stories[data-story-count="2"] .nvs-article-stories__track {
  grid-auto-columns: clamp(240px, 46vw, 360px);
  justify-content: center;
}

.nvs-article-stories[data-story-count="3"] .nvs-article-stories__track {
  grid-auto-columns: clamp(220px, 54vw, 300px);
}

.nvs-article-stories__track::-webkit-scrollbar {
  height: 8px;
}

.nvs-article-stories__track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.nvs-article-story-card {
  all: unset;
  display: block;
  cursor: pointer;
  scroll-snap-align: start;
  min-width: 0;
  position: relative;
}

.nvs-article-story-card__media {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  background: #1e2230 center center / cover no-repeat;
  border-radius: var(--nvs-radius);
  overflow: hidden;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.06);
}

.nvs-article-story-card__play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 20px;
  z-index: 2;
}

.nvs-article-story-card__shade {
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.78));
  z-index: 1;
}

.nvs-article-story-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 14px;
}

.nvs-article-story-card__title {
  display: block;
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.nvs-rail__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nvs-rail__title {
  color: var(--nvs-text);
  font-size: 20px;
  line-height: 1.2;
}

.nvs-rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 72vw, 270px);
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 10px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 2px;
  -webkit-overflow-scrolling: touch;
}

.nvs-rail__track::-webkit-scrollbar {
  height: 8px;
}

.nvs-rail__track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.nvs-rail-card {
  position: relative;
  scroll-snap-align: start;
  background: var(--nvs-surface);
  color: var(--nvs-text);
  text-decoration: none;
  border-radius: var(--nvs-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  min-width: 0;
}

.nvs-rail-card__media {
  position: relative;
  background: #1e2230 center center / cover no-repeat;
  aspect-ratio: 9 / 16;
}

.nvs-rail--single {
  display: grid;
  justify-items: center;
  gap: 0;
}

.nvs-rail--single .nvs-rail__track {
  grid-auto-columns: minmax(280px, 100%);
  justify-content: center;
  width: 100%;
}

.nvs-rail--single .nvs-rail-card {
  width: min(100%, 760px);
  margin: 0 auto;
}

.nvs-rail--single .nvs-rail-card__media {
  max-height: 70dvh;
}

.nvs-rail--single .nvs-rail-card__media,
.nvs-rail--single .nvs-rail-card {
  max-width: 100%;
}

.nvs-rail--single .nvs-rail__header {
  display: none;
}

.nvs-rail-card__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nvs-rail-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 14px;
  display: grid;
  gap: 6px;
}

.nvs-rail-card__meta {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nvs-rail-card__title {
  line-height: 1.25;
  font-size: 18px;
}

.nvs-rail-card__excerpt {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.nvs-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.nvs-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: var(--nvs-overlay-bg);
  z-index: 1;
}

.nvs-overlay__dialog,
.nvs-single-shell {
  position: relative;
  z-index: 10;
  width: min(940px, calc(100vw - 20px));
  margin: 10px auto;
  height: calc(100vh - 20px);
  background: #000;
  border-radius: calc(var(--nvs-radius) + 8px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.nvs-single-shell {
  margin: 18px auto;
  height: min(92vh, 980px);
}

.nvs-overlay .nvs-instance--overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: #000;
  display: flex;
  flex-direction: column;
}

.nvs-overlay .nvs-instance--overlay .nvs-reel-shell {
  width: 100%;
  height: 100%;
}

.nvs-overlay__header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0));
}

.nvs-overlay__close {
  border: 0;
  background: transparent;
  color: var(--nvs-text);
  cursor: pointer;
  font-weight: 600;
}

.nvs-overlay__close--single {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 70;
}

.nvs-overlay__close-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.nvs-overlay__close-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.nvs-overlay__title {
  flex: 1 1 auto;
  text-align: center;
}

.nvs-overlay__chrome {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.nvs-overlay__nav {
  display: none;
}

.nvs-overlay__chrome .nvs-overlay__close,
.nvs-overlay__chrome .nvs-hit-area {
  pointer-events: auto;
}

.nvs-overlay__stories,
.nvs-story,
.nvs-story__items {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

.nvs-overlay__stories {
  overflow: hidden;
}

.nvs-story,
.nvs-story__items {
  height: 100%;
}

.nvs-shell--reels .nvs-story__progress {
  display: none;
}

.nvs-shell--reels .nvs-story,
.nvs-shell--reels .nvs-story__items,
.nvs-shell--reels .nvs-item {
  padding-top: 0;
}

.nvs-story__progress {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 5;
  display: flex;
  gap: 6px;
}

.nvs-progress-segment {
  flex: 1 1 auto;
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.nvs-progress-segment span {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  transform-origin: left center;
  transform: scaleX(0);
}

.nvs-item {
  position: absolute;
  inset: 0;
  height: 100%;
  padding: 0;
  box-sizing: border-box;
}

.nvs-item.is-active {
  z-index: 2;
}

.nvs-item__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.nvs-item__body--video {
  background: #000;
}

.nvs-player,
.nvs-player__poster,
.nvs-player__mount {
  position: absolute;
  inset: 0;
}

.nvs-player__mount {
  overflow: hidden;
}

.nvs-player__poster {
  background: #000 center center / cover no-repeat;
}

.nvs-player,
.nvs-story,
.nvs-overlay__dialog {
  touch-action: pan-y;
}

.nvs-player iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  transform: translate(-50%, -50%);
  border: 0;
}

.nvs-player__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  transform: translate(-50%, -50%);
  border: 0;
  object-fit: contain;
  object-position: center center;
  background: #000;
}

.nvs-player__controls {
  position: absolute;
  top: auto;
  left: 50%;
  right: auto;
  bottom: 122px;
  width: min(178px, calc(100vw - 32px));
  height: auto;
  z-index: 12;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  display: grid;
  grid-template-columns: 46px 62px 46px;
  align-items: center;
  justify-items: center;
  gap: 12px;
  padding: 0;
  background: transparent;
  transform: translateX(-50%);
  transition: opacity 160ms ease, visibility 160ms ease;
}

.nvs-player[data-controls-visible="1"] .nvs-player__controls,
.nvs-player[data-player-state="paused"] .nvs-player__controls,
.nvs-player[data-player-state="ended"] .nvs-player__controls,
.nvs-player[data-player-state="unstarted"] .nvs-player__controls,
.nvs-player[data-player-state="cued"] .nvs-player__controls {
  opacity: 1;
  visibility: visible;
}

.nvs-player__controls {
  opacity: 1;
  visibility: visible;
}

.nvs-player__control {
  position: relative;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: #111;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  transition: transform 160ms ease, background-color 160ms ease, opacity 160ms ease;
  pointer-events: auto;
}

.nvs-player__control:hover,
.nvs-player__control:focus-visible {
  background: rgba(255, 255, 255, 0.88);
  transform: scale(1.04);
}

.nvs-player__control:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.nvs-player__control--mute,
.nvs-player__control--share {
  width: 50px;
  height: 50px;
}

.nvs-player__control--playpause {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.76);
}

.nvs-player__control--playpause:hover,
.nvs-player__control--playpause:focus-visible {
  background: rgba(255, 255, 255, 0.94);
}

.nvs-player__control--playpause .nvs-player__icon {
  width: 30px;
  height: 30px;
}

.nvs-player__control--playpause[data-state="playing"] .nvs-player__icon--play,
.nvs-player__control--playpause:not([data-state="playing"]) .nvs-player__icon--pause {
  display: none;
}

.nvs-player__control--playpause[data-state="playing"] {
  background: rgba(255, 255, 255, 0.82);
}

.nvs-player__control--mute .nvs-player__icon,
.nvs-player__control--share .nvs-player__icon {
  width: 24px;
  height: 24px;
}

.nvs-reel-item__control-label {
  display: none;
}

.nvs-player__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nvs-player__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nvs-player__control--playpause[data-state="playing"] .nvs-player__icon--play,
.nvs-player__control--playpause:not([data-state="playing"]) .nvs-player__icon--pause,
.nvs-player__control--mute[data-muted="1"] .nvs-player__icon--unmute,
.nvs-player__control--mute[data-muted="0"] .nvs-player__icon--mute {
  display: none;
}

.nvs-player__control--mute[data-muted="1"] {
  background: rgba(0, 0, 0, 0.64);
}

.nvs-player__control--mute[data-muted="1"] .nvs-player__icon--mute,
.nvs-player__control--mute[data-muted="0"] .nvs-player__icon--unmute {
  display: none;
}

.nvs-player__control--mute,
.nvs-player__control--share,
.nvs-player__control--replay {
  flex: 0 0 auto;
}

.nvs-item__caption {
  position: absolute;
  left: 0;
  right: 92px;
  bottom: 0;
  z-index: 6;
  padding: 24px 18px 24px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.88));
}

.nvs-item__excerpt,
.nvs-item__content {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.nvs-item__body--content,
.nvs-item__body--recommendations,
.nvs-item__body--html {
  justify-content: center;
  padding: 28px 22px 30px;
  overflow: auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
  z-index: 6;
}

.nvs-item__body--content .nvs-item__title,
.nvs-item__body--recommendations .nvs-item__title,
.nvs-item__body--html .nvs-item__title {
  margin-bottom: 10px;
}

.nvs-recommendations {
  display: grid;
  gap: 12px;
}

.nvs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--nvs-accent);
  color: #fff;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.nvs-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--nvs-text);
  cursor: pointer;
  font-weight: 700;
}

.nvs-button--secondary {
  background: rgba(255, 255, 255, 0.12);
}

.nvs-item__actions {
  margin-top: 18px;
}

.nvs-story__nav {
  display: none;
}

.nvs-overlay__nav {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr min(940px, calc(100vw - 20px)) 1fr;
  pointer-events: none;
}

.nvs-hit-area {
  pointer-events: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nvs-hit-area--prev {
  grid-column: 1;
}

.nvs-hit-area--next {
  grid-column: 3;
}

.nvs-hit-area:focus {
  outline: none;
}

.nvs-scrollbox-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nvs-scrollbox-nav__button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--nvs-text);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nvs-scrollbox-nav__button::before {
  font-size: 18px;
  line-height: 1;
}

.nvs-scrollbox-nav__button--prev::before {
  content: '←';
}

.nvs-scrollbox-nav__button--next::before {
  content: '→';
}

.nvs-article-stories__track,
.nvs-rail__track {
  touch-action: pan-y;
  cursor: grab;
}

.nvs-article-stories__track.is-dragging,
.nvs-rail__track.is-dragging,
html.nvs-dragging body {
  cursor: grabbing;
  user-select: none;
}

.nvs-article-stories__track[data-scroll-end="1"] ~ .nvs-scrollbox-nav .nvs-scrollbox-nav__button--next,
.nvs-article-stories__track[data-scroll-start="0"] ~ .nvs-scrollbox-nav .nvs-scrollbox-nav__button--prev,
.nvs-rail__track[data-scroll-end="1"] ~ .nvs-scrollbox-nav .nvs-scrollbox-nav__button--next,
.nvs-rail__track[data-scroll-start="0"] ~ .nvs-scrollbox-nav .nvs-scrollbox-nav__button--prev {
  opacity: 0.35;
}

@media (min-width: 641px) {
  .nvs-overlay__header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 21;
    padding: 16px 16px 0;
    background: transparent;
    align-items: flex-start;
  }

  .nvs-overlay__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 70;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    display: grid;
    place-items: center;
    font-size: 0;
  }

  .nvs-overlay__close::before {
    content: none;
  }

  .nvs-overlay__title {
    display: none;
  }

  .nvs-overlay__chrome {
    position: fixed;
    inset: 0;
  }

  .nvs-overlay__chrome .nvs-overlay__close {
    top: 14px;
    right: 14px;
  }

  .nvs-overlay__nav .nvs-hit-area {
    width: 100%;
    height: 100%;
    display: block;
  }

  .nvs-story__nav {
    display: none;
  }

  .nvs-overlay__dialog,
  .nvs-story {
    cursor: grab;
  }

  .nvs-overlay__dialog.is-dragging,
  .nvs-story.is-dragging,
  html.nvs-dragging body {
    cursor: grabbing;
    user-select: none;
  }
}

@media (max-width: 640px) {
  .nvs-overlay__dialog,
  .nvs-single-shell {
    width: 100vw;
    height: 100vh;
    margin: 0;
    border-radius: 0;
  }


  .nvs-embed-rail {
    grid-template-columns: 1fr;
  }

  .nvs-overlay__chrome {
    display: none;
  }

  .nvs-overlay__nav {
    display: none;
  }

  .nvs-reel-item {
    padding: 0;
  }

  .nvs-reel-item__media {
    max-width: 100vw;
    border-radius: 0px;
	height: 100%;
  }

  .nvs-reel-item__overlay-header {
    height: 10%;
    padding: 12px 12px 16px;
  }

  .nvs-reel-item__overlay-footer {
    height: 10%;
    padding: 12px;
  }

  .nvs-reel-item__overlay-end {
    top: 70%;
    left: 50%;
    right: auto;
    width: calc(100vw - 24px);
  }

  .nvs-reel-nav {
    right: 10px;
    gap: 10px;
  }

  .nvs-reel-nav__button {
    width: 44px;
    height: 44px;
  }

  .nvs-reel-item__controls {
    gap: 12px;
  }

  .nvs-reel-item__control {
    min-height: 36px;
    padding: 0 12px;
  }

  .nvs-reel-item__title {
    font-size: 16px;
  }

  .nvs-reel-item__header-title {
    font-size: 14px;
  }

  .nvs-reel-item__excerpt {
    font-size: 13px;
  }
}
