
/* VEYAPLAY 2.0 — Featured Hero */

.v2-hero {
  position: relative;
  width: 100%;
  height: clamp(360px, 42vw, 560px);
  overflow: hidden;
  border-radius: 20px;
  background: #10151f;
  color: #fff;
  margin-bottom: 28px;
}

.v2-hero__slides,
.v2-hero__slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.v2-hero__slide[hidden],
.v2-hero__player[hidden] {
  display: none !important;
}

.v2-hero__background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.v2-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 12, 20, .96) 0%,
    rgba(8, 12, 20, .72) 38%,
    rgba(8, 12, 20, .12) 100%
  );
}

.v2-hero__content {
  position: absolute;
  z-index: 2;
  left: 6%;
  bottom: 15%;
  max-width: 65%;
}

.v2-hero__label {
  color: #ff9234;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.v2-hero__title {
  font-size: clamp(28px, 3.5vw, 52px);
  line-height: 1.12;
  margin: 16px 0 24px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.v2-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.v2-hero__play,
.v2-hero__details,
.v2-hero__empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.v2-hero__play {
  background: #ff8730;
  color: #111;
  border: 0;
}

.v2-hero__details {
  color: #fff;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.25);
}

.v2-hero__navigation {
  position: absolute;
  z-index: 5;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.v2-hero__navigation button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: rgba(10,15,25,.65);
  color: white;
  font-size: 25px;
  cursor: pointer;
}

.v2-hero__counter {
  font-size: 13px;
  color: #ddd;
}

.v2-hero__player {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #000;
}

.v2-hero__player video,
.v2-hero__player iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.v2-hero__empty {
  padding: 60px 7%;
}

.v2-hero__empty a {
  background: #ff8730;
  color: #111;
}

/* Mobile */

@media (max-width: 768px) {
  .v2-hero {
    height: 390px;
    border-radius: 14px;
    margin-bottom: 18px;
  }

  .v2-hero__shade {
    background: linear-gradient(
      0deg,
      rgba(8,12,20,.96) 0%,
      rgba(8,12,20,.5) 55%,
      rgba(8,12,20,.1) 100%
    );
  }

  .v2-hero__content {
    left: 20px;
    right: 20px;
    bottom: 80px;
    max-width: none;
  }

  .v2-hero__title {
    font-size: 28px;
    margin: 12px 0 18px;
  }

  .v2-hero__navigation {
    right: 18px;
    bottom: 18px;
  }

  .v2-hero__play,
  .v2-hero__details {
    padding: 11px 17px;
    font-size: 13px;
  }
}

/* Veyaplay 2.0 — Hero size adjustment */
.v2-hero {
  height: 400px;
}

@media (max-width: 768px) {
  .v2-hero {
    height: 300px;
  }

  .v2-hero__content {
    bottom: 65px;
  }

  .v2-hero__title {
    font-size: 24px;
  }
}

/* VEYAPLAY 2.0 — Home layout */

/* Hide old subnav on Home only */
body:has(.v2-hero) .subnav {
  display: none !important;
}

/* Reduce space between main navigation and hero */
body:has(.v2-hero) main.grid {
  margin-top: 0 !important;
  padding-top: 12px !important;
}

/* Remove old subnav spacing */
body:has(.v2-hero) .page-shell {
  padding-top: 0 !important;
}

@media (max-width: 768px) {
  body:has(.v2-hero) main.grid {
    padding-top: 8px !important;
  }
}

/* VEYAPLAY 2.0 — Footer follows page content */
body:has(.v2-hero) .site-footer {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100%;
  z-index: 1;
}


/* VEYAPLAY 2.0 — Video categories */
body:has(.v2-hero) .v2-categories {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 2px 0 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

body:has(.v2-hero) .v2-categories::-webkit-scrollbar {
  display: none;
}

body:has(.v2-hero) .v2-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: #20232c;
  color: #e8e8ed;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}

body:has(.v2-hero) .v2-category.is-active {
  background: #ff7900;
  border-color: #ff7900;
  color: #111;
}

body:has(.v2-hero) .v2-category.is-upcoming {
  opacity: .65;
  cursor: default;
}

@media (max-width: 768px) {
  body:has(.v2-hero) .v2-categories {
    gap: 8px;
    margin: 12px 0 18px;
  }

  body:has(.v2-hero) .v2-category {
    padding: 9px 15px;
    font-size: 12px;
  }
}


/* VEYAPLAY 2.0 — Categories refinement */
body:has(.v2-hero) .v2-categories {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  overflow-x: auto;
}

body:has(.v2-hero) .v2-category {
  flex: 1 0 auto;
  gap: 9px;
  min-height: 42px;
  padding: 9px 12px;
  background: linear-gradient(180deg, #202d3b, #16202d);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px;
  color: #f0f2f6;
  font-size: 13px;
}

body:has(.v2-hero) .v2-category i {
  font-size: 18px;
}

body:has(.v2-hero) .v2-category.is-active {
  background: linear-gradient(180deg, #59300e, #301b0e);
  border-color: #ff7900;
  color: #fff;
  box-shadow: 0 0 12px rgba(255,121,0,.35);
}

body:has(.v2-hero) .v2-category.is-active i {
  color: #ff7900;
}

body:has(.v2-hero) .v2-category.is-upcoming {
  opacity: 1;
}

@media (max-width: 768px) {
  body:has(.v2-hero) .v2-category {
    flex: 0 0 auto;
    padding: 9px 14px;
  }
}


/* VEYAPLAY 2.0 — Hide old profile avatars on Home */
body:has(.v2-hero) .home-profiles {
  display: none !important;
}


/* VEYAPLAY 2.0 — Home video cards */
body:has(.v2-hero) #vpVideoGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

body:has(.v2-hero) #vpVideoGrid .vcard {
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #17202d;
  border: 1px solid rgba(255,255,255,.08);
}

body:has(.v2-hero) #vpVideoGrid .vcover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9 !important;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}

body:has(.v2-hero) #vpVideoGrid .vcover::before {
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(0,0,0,.45) 100%
  );
}

@media (max-width: 900px) {
  body:has(.v2-hero) #vpVideoGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 560px) {
  body:has(.v2-hero) #vpVideoGrid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body:has(.v2-hero) #vpVideoGrid .vcard {
    border-radius: 14px;
  }
}


/* VEYAPLAY 2.0 — Video card information */
body:has(.v2-hero) #vpVideoGrid .v2-card-info {
  padding: 13px 14px 15px;
  background: #17202d;
}

body:has(.v2-hero) #vpVideoGrid .v2-card-title {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

body:has(.v2-hero) #vpVideoGrid .v2-card-title a {
  color: #f4f5f8;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body:has(.v2-hero) #vpVideoGrid .v2-card-title a:hover {
  color: #ff8900;
}

body:has(.v2-hero) #vpVideoGrid .v2-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #9ba8bb;
  font-size: 12px;
  line-height: 1.5;
}

body:has(.v2-hero) #vpVideoGrid .v2-card-author {
  color: #ff9b39;
  font-weight: 600;
}

body:has(.v2-hero) #vpVideoGrid .v2-card-author i {
  margin-right: 4px;
}

@media (max-width: 560px) {
  body:has(.v2-hero) #vpVideoGrid .v2-card-info {
    padding: 12px;
  }

  body:has(.v2-hero) #vpVideoGrid .v2-card-title {
    font-size: 14px;
  }
}


/* VEYAPLAY 2.0 — Videos section refinement */
body:has(.v2-hero) #vpVideoGrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body:has(.v2-hero) #vpVideoGrid .vcard {
  border-radius: 12px;
}

body:has(.v2-hero) #vpVideoGrid .v2-card-info {
  padding: 10px 12px;
}

body:has(.v2-hero) #vpVideoGrid .v2-card-title {
  font-size: 14px;
  margin-bottom: 4px;
}

/* Orange outlined play icon before Videos */
body:has(.v2-hero) #vpVideoGrid {
  position: relative;
}

body:has(.v2-hero) #vpGrid > .home-block:has(#vpVideoGrid) .home-title::before {
  content: "\f04b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.8px #ff7900;
  font-size: 23px;
  margin-right: 14px;
}

@media (max-width: 1200px) {
  body:has(.v2-hero) #vpVideoGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body:has(.v2-hero) #vpVideoGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body:has(.v2-hero) #vpVideoGrid {
    grid-template-columns: 1fr;
  }
}


/* VEYAPLAY 2.0 — Horizontal video carousel */
body:has(.v2-hero) .v2-video-carousel {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}

body:has(.v2-hero) .v2-video-carousel #vpVideoGrid {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 14px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 12px;
}

body:has(.v2-hero) .v2-video-carousel #vpVideoGrid::-webkit-scrollbar {
  display: none;
}

body:has(.v2-hero) .v2-video-carousel #vpVideoGrid .vcard {
  flex: 0 0 calc((100% - 42px) / 4);
  min-width: 0;
  scroll-snap-align: start;
}

body:has(.v2-hero) .v2-video-carousel .row-arrow {
  flex: 0 0 auto;
  z-index: 5;
}

@media (max-width: 1100px) {
  body:has(.v2-hero) .v2-video-carousel #vpVideoGrid .vcard {
    flex-basis: calc((100% - 28px) / 3);
  }
}

@media (max-width: 768px) {
  body:has(.v2-hero) .v2-video-carousel #vpVideoGrid .vcard {
    flex-basis: calc((100% - 14px) / 2);
  }
}

@media (max-width: 560px) {
  body:has(.v2-hero) .v2-video-carousel #vpVideoGrid .vcard {
    flex-basis: 82%;
  }
}


/* VEYAPLAY 2.0 — Video card author avatar */
body:has(.v2-hero) #vpVideoGrid .v2-card-info {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
}

body:has(.v2-hero) #vpVideoGrid .v2-card-avatar {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
  background: #25344b;
  flex-shrink: 0;
}

body:has(.v2-hero) #vpVideoGrid .v2-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:has(.v2-hero) #vpVideoGrid .v2-avatar-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #aab8cc;
  font-size: 17px;
}

body:has(.v2-hero) #vpVideoGrid .v2-card-title {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

body:has(.v2-hero) #vpVideoGrid .v2-card-meta {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  flex-wrap: wrap;
}

body:has(.v2-hero) #vpVideoGrid .v2-card-author {
  color: #aab8cc;
  text-decoration: none;
}

body:has(.v2-hero) #vpVideoGrid .v2-card-author:hover {
  color: #ff7900;
}

body:has(.v2-hero) #vpVideoGrid .v2-card-avatar:hover {
  outline: 2px solid #ff7900;
  outline-offset: 2px;
}


/* VEYAPLAY 2.0 — Shorts and PhotoStories heading icons */
body:has(.v2-hero) .home-block:has(#homeShortsRow) .home-title::before,
body:has(.v2-hero) .home-block:has(#homeChannelsRow) .home-title::before,
body:has(.v2-hero) .home-block:has(#homePsRow) .home-title::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.8px #ff7900;
  font-size: 23px;
  margin-right: 14px;
  display: inline-block;
  vertical-align: middle;
}

/* Shorts — video icon */
body:has(.v2-hero) .home-block:has(#homeShortsRow) .home-title::before {
  content: "\f03d";
}

/* PhotoStories — image icon */
body:has(.v2-hero) .home-block:has(#homePsRow) .home-title::before {
  content: "\f03e";
}


/* VEYAPLAY 2.0 — Albums heading icon */
body:has(.v2-hero) .home-block:has(#homeAlbumsRow) .home-title::before {
  content: "\f302";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.8px #ff7900;
  font-size: 23px;
  margin-right: 14px;
  display: inline-block;
  vertical-align: middle;
}


/* VEYAPLAY 2.0 — Right rail tab visibility */
body:has(.v2-hero) .v2-right-rail .v2-rail-panel[hidden] {
  display: none !important;
}


/* VEYAPLAY 2.0 — Right Rail */
body:has(.v2-hero) .v2-right-rail {
  box-sizing: border-box;
  padding: 12px;
  gap: 12px;
  background: #101722;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
}

body:has(.v2-hero) .v2-rail-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  flex-shrink: 0;
}

body:has(.v2-hero) .v2-rail-tab {
  min-width: 0;
  padding: 9px 2px;
  border: 0;
  border-radius: 7px;
  background: #1c2736;
  color: #aeb8c6;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

body:has(.v2-hero) .v2-rail-tab.is-active {
  background: #ff7a00;
  color: #111;
}

body:has(.v2-hero) .v2-rail-content {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  flex: 1;
}

body:has(.v2-hero) .v2-rail-panel {
  min-width: 0;
}

body:has(.v2-hero) .v2-rail-panel h3 {
  margin: 4px 0 12px;
  color: #fff;
  font-size: 14px;
}

body:has(.v2-hero) .v2-rail-panel h3 i {
  color: #ff7a00;
}

body:has(.v2-hero) .v2-rail-panel p {
  color: #aeb8c6;
  font-size: 12px;
  line-height: 1.5;
}

body:has(.v2-hero) .v2-rail-link {
  display: inline-block;
  margin-top: 12px;
  color: #ff8a24;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

body:has(.v2-hero) .v2-rail-panel[data-rail-panel="media"] .right-clip {
  width: 100%;
  margin-bottom: 10px;
}


/* Veyaplay 2.0 — Wider right panel */
@media (min-width: 1501px) {
  body:has(.v2-hero) .v2-right-rail {
    width: 280px !important;
    right: 24px !important;
  }
}

body:has(.v2-hero) .v2-rail-tab {
  font-size: 12px;
  padding: 11px 4px;
}


/* VEYAPLAY 2.0 — Three separate right rail cards */
body:has(.v2-hero) .v2-right-rail {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  gap: 14px;
}

body:has(.v2-hero) .v2-right-rail .v2-rail-card {
  box-sizing: border-box;
  width: 100%;
  flex-shrink: 0;
  padding: 16px;
  background: #101722;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
}

body:has(.v2-hero) .v2-right-rail .v2-rail-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

body:has(.v2-hero) .v2-right-rail .v2-rail-card h3 i {
  margin-right: 6px;
  color: #ff7a00;
}

body:has(.v2-hero) .v2-right-rail .v2-rail-card p {
  margin: 0;
  color: #aeb8c6;
  font-size: 12px;
  line-height: 1.6;
}

body:has(.v2-hero) .v2-right-rail .v2-rail-media .right-clip {
  width: 100%;
  margin-bottom: 10px;
}

body:has(.v2-hero) .v2-right-rail .v2-rail-media .right-clip:last-child {
  margin-bottom: 0;
}


/* VEYAPLAY 2.0 — Membership creator cards */

body:has(.v2-hero) .v2-membership-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body:has(.v2-hero) .v2-membership-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  background: #192333;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}

body:has(.v2-hero) .v2-membership-item:hover {
  background: #233149;
  border-color: rgba(255,122,0,.45);
}

body:has(.v2-hero) .v2-membership-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  overflow: hidden;
  background: #29364a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff7a00;
}

body:has(.v2-hero) .v2-membership-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:has(.v2-hero) .v2-membership-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

body:has(.v2-hero) .v2-membership-info strong {
  font-size: 12px;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:has(.v2-hero) .v2-membership-info span {
  font-size: 11px;
  color: #aeb8c6;
}

body:has(.v2-hero) .v2-membership-crown {
  flex-shrink: 0;
  color: #ff7a00;
  font-size: 14px;
}


/* VEYAPLAY 2.0 — Recommended authors */

body:has(.v2-hero) .v2-rail-authors-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body:has(.v2-hero) .v2-rail-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: #192333;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}

body:has(.v2-hero) .v2-rail-author:hover {
  background: #233149;
  border-color: rgba(255,122,0,.45);
}

body:has(.v2-hero) .v2-rail-author-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #29364a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff7a00;
}

body:has(.v2-hero) .v2-rail-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:has(.v2-hero) .v2-rail-author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

body:has(.v2-hero) .v2-rail-author-info strong {
  font-size: 12px;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:has(.v2-hero) .v2-rail-author-info span {
  font-size: 11px;
  color: #aeb8c6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* VEYAPLAY 2.0 — Home three-column layout */
@media (min-width: 1501px) {
  body:has(.v2-hero) .page-shell {
    box-sizing: border-box;
    width: calc(100vw - 440px) !important;
    max-width: none !important;
    margin-left: 120px !important;
    margin-right: 320px !important;
  }

  body:has(.v2-hero) .page-shell > .v2-hero,
  body:has(.v2-hero) .page-shell > .v2-categories,
  body:has(.v2-hero) .page-shell > #vpGrid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}


/* VEYAPLAY 2.0 — Align right cards with Hero */
@media (min-width: 1501px) {
  body:has(.v2-hero) .v2-right-rail {
    top: 112px !important;
    bottom: 24px;
  }
}


/* VEYAPLAY 2.0 — Membership promotional card */
body:has(.v2-hero) .v2-right-rail .v2-rail-membership {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(145deg, #1d1b20, #111722 75%);
  border: 1px solid rgba(255, 155, 54, .28);
}

body:has(.v2-hero) .v2-membership-promo {
  position: relative;
  isolation: isolate;
  padding: 24px 20px;
  text-align: center;
}

body:has(.v2-hero) .v2-membership-glow {
  position: absolute;
  z-index: -1;
  width: 240px;
  height: 200px;
  top: -85px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse,
    rgba(255, 139, 32, .34) 0%,
    rgba(255, 139, 32, .10) 45%,
    transparent 75%
  );
  pointer-events: none;
}

body:has(.v2-hero) .v2-membership-hero-icon {
  font-size: 54px;
  color: #ffad45;
  margin: 10px 0 18px;
  filter: drop-shadow(0 0 22px rgba(255, 140, 30, .65));
}

body:has(.v2-hero) .v2-membership-promo h3 {
  justify-content: center;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

body:has(.v2-hero) .v2-membership-promo p {
  color: #b9bec9;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 22px;
}

body:has(.v2-hero) .v2-membership-promo-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff9c38, #ff7424);
  color: #17110d;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

body:has(.v2-hero) .v2-membership-promo-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 128, 30, .3);
}


/* VEYAPLAY 2.0 — Correct main column alignment */
@media (min-width: 1501px) {
  body:has(.v2-hero) main.grid {
    box-sizing: border-box;
    width: calc(100% - 540px) !important;
    max-width: none !important;
    margin-left: 230px !important;
    margin-right: 310px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body:has(.v2-hero) .page-shell {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* VEYAPLAY 2.0 — Right rail vertical alignment */
@media (min-width: 1501px) {
  body:has(.v2-hero) .v2-right-rail {
    top: 92px !important;
  }
}


/* VEYAPLAY 2.0 — Fine-tune center and right columns */
@media (min-width: 1501px) {
  body:has(.v2-hero) main.grid {
    width: calc(100% - 560px) !important;
    margin-right: 330px !important;
  }

  body:has(.v2-hero) .v2-right-rail {
    right: 34px !important;
  }
}


/* VEYAPLAY 2.0 — Compact two-part left navigation */
@media (min-width: 1201px) {
  body:has(.v2-hero) .home-side-rail.v2-side-rail {
    position: fixed;
    top: 92px;
    bottom: 22px;
    left: 16px;
    width: 190px;
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 20;
  }

  body:has(.v2-hero) .v2-side-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px;
    background: #111c2c;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,.15);
  }

  body:has(.v2-hero) .v2-side-rail .rail-item {
    box-sizing: border-box;
    width: 100%;
    height: 36px;
    padding: 0 10px;
    border-radius: 9px;
    color: #c5cedd;
    font-size: 13px;
    font-weight: 650;
    grid-template-columns: 24px 1fr;
    column-gap: 9px;
  }

  body:has(.v2-hero) .v2-side-rail .rail-icon {
    width: 24px;
    font-size: 16px;
    color: #ff963f;
  }

  body:has(.v2-hero) .v2-side-rail .rail-text {
    font-size: 13px;
    font-weight: 650;
  }

  body:has(.v2-hero) .v2-side-rail .rail-item:hover {
    background: rgba(255,122,0,.12);
    color: #fff;
  }

  body:has(.v2-hero) .v2-side-bottom {
    margin-top: auto;
  }
}

/* VEYAPLAY 2.0 — Raise bottom navigation panel */
@media (min-width: 1201px) {
  body:has(.v2-hero) .v2-side-rail .v2-side-bottom {
    margin-bottom: 60px;
  }
}

/* VEYAPLAY 2.0 — Home navigation matching other pages */
@media (min-width: 1201px) {
  body:has(.v2-hero) .home-side-rail.v2-side-rail {
    top: 110px;
    bottom: auto;
    height: auto;
    justify-content: flex-start;
    gap: 28px;
  }

  body:has(.v2-hero) .v2-side-group {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  body:has(.v2-hero) .v2-side-rail .v2-side-bottom {
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* VEYAPLAY 2.0 — Match sidebar typography across pages */
@media (min-width: 1201px) {
  body:has(.v2-hero) .v2-side-rail .rail-item,
  body:has(.v2-hero) .v2-side-rail .rail-text {
    color: #ff9a3d;
    font-size: 14px;
    font-weight: 800;
  }
}

/* VEYAPLAY 2.0 — Channels carousel */
body:has(.v2-hero) .home-channels-viewer {
  position: relative;
  min-width: 0;
}

body:has(.v2-hero) .channel-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 16px;
  min-width: 0;
}

body:has(.v2-hero) .home-channel-card {
  flex: 0 0 235px;
  min-width: 0;
  overflow: hidden;
  border-radius: 15px;
  background: #111c2c;
  border: 1px solid rgba(255,255,255,.09);
  text-decoration: none;
  color: #f4f6fb;
  scroll-snap-align: start;
  transition: transform .2s ease, border-color .2s ease;
}

body:has(.v2-hero) .home-channel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,154,61,.55);
}

body:has(.v2-hero) .home-channel-cover {
  height: 115px;
  background: #1c2b40;
  overflow: hidden;
}

body:has(.v2-hero) .home-channel-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body:has(.v2-hero) .home-channel-info {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px 14px;
  min-height: 52px;
}

body:has(.v2-hero) .home-channel-avatar {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin-top: -14px;
  border-radius: 50%;
  border: 3px solid #111c2c;
  background: #263c58;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #ff9a3d;
  font-size: 20px;
  font-weight: 800;
  position: relative;
}

body:has(.v2-hero) .home-channel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:has(.v2-hero) .home-channel-name {
  min-width: 0;
  font-size: 14px;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 600px) {
  body:has(.v2-hero) .home-channel-card {
    flex-basis: 205px;
  }
}

/* VEYAPLAY 2.0 — Taller channel cards with details */
body:has(.v2-hero) .home-channel-cover {
  height: 145px;
}

body:has(.v2-hero) .home-channel-info {
  align-items: flex-start;
  min-height: 105px;
  padding: 0 12px 16px;
}

body:has(.v2-hero) .home-channel-avatar {
  flex: 0 0 48px;
  margin-top: -16px;
}

body:has(.v2-hero) .home-channel-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding-top: 12px;
}

body:has(.v2-hero) .home-channel-name {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #f4f6fb;
}

body:has(.v2-hero) .home-channel-owner {
  font-size: 12px;
  color: #ff9a3d;
}

body:has(.v2-hero) .home-channel-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.45;
  color: #aebbd0;
  overflow-wrap: anywhere;
}



/* Home V2 — hide duplicate mobile navigation */
@media (max-width: 768px) {
  body:has(.v2-hero) #mobileNav,
  body:has(.v2-hero) #navBurger {
    display: none !important;
  }
}

/* VEYAPLAY 2.0 — Full-width mobile Home */
@media (max-width: 768px) {
  body:has(.v2-hero) main.grid {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  body:has(.v2-hero) .page-shell {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body:has(.v2-hero) .v2-hero,
  body:has(.v2-hero) .v2-categories,
  body:has(.v2-hero) #vpGrid {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* VEYARA — large sidebar chat button */
.v2-side-rail .veyara-chat-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 154, 61, .25);
  border-radius: 16px;
  background: rgba(255, 154, 61, .05);
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.v2-side-rail .veyara-chat-trigger:hover {
  background: rgba(255, 154, 61, .12);
  transform: scale(1.03);
}

.v2-side-rail .veyara-chat-trigger img {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* VEYARA — standalone large logo */
body:has(.v2-hero) .v2-side-rail .veyara-chat-trigger {
  box-sizing: border-box;
  display: flex;
  width: 170px;
  height: 170px;
  min-height: 170px;
  padding: 0;
  margin: 8px auto;
  border: none;
  border-radius: 18px;
  background: transparent;
  overflow: hidden;
}

body:has(.v2-hero) .v2-side-rail .veyara-chat-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

/* VEYARA — compact logo */
body:has(.v2-hero) .v2-side-rail .veyara-chat-trigger {
  width: 128px;
  height: 128px;
  min-height: 128px;
}

/* VEYARA — final sidebar logo size and alignment */
body:has(.v2-hero) .v2-side-rail .veyara-chat-trigger {
  width: 115px;
  height: 115px;
  min-height: 115px;
  margin: 8px 0 8px 12px;
}

/* VEYARA Chat V1 — floating window */
.veyara-chat[hidden] {
  display: none !important;
}

.veyara-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  width: 380px;
  height: 520px;
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  border: 1px solid rgba(255, 154, 61, .3);
  border-radius: 18px;
  background: #0d1422;
  color: #f5f7fb;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .55);
  font-family: inherit;
}

.veyara-chat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #121c2d;
}

.veyara-chat__identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.veyara-chat__identity img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.veyara-chat__identity strong {
  display: block;
  color: #ff9a3d;
  font-size: 16px;
}

.veyara-chat__identity small {
  display: block;
  margin-top: 3px;
  color: #aab5c6;
  font-size: 11px;
}

.veyara-chat__close {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font-size: 28px;
  cursor: pointer;
}

.veyara-chat__close:hover {
  color: #ff9a3d;
}

.veyara-chat__messages {
  flex: 1;
  min-height: 0;
  padding: 18px 14px;
  overflow-y: auto;
}

.veyara-chat__message {
  max-width: 88%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.veyara-chat__message--assistant {
  margin-right: auto;
  background: #1b293d;
  color: #edf2f8;
  border-bottom-left-radius: 4px;
}

.veyara-chat__message--user {
  margin-left: auto;
  background: #d97721;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.veyara-chat__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #121c2d;
}

.veyara-chat__form input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #344256;
  border-radius: 10px;
  outline: none;
  background: #0d1422;
  color: #fff;
  font-size: 13px;
}

.veyara-chat__form input:focus {
  border-color: #ff9a3d;
}

.veyara-chat__form button {
  width: 42px;
  border: 0;
  border-radius: 10px;
  background: #ff8a24;
  color: #111827;
  font-size: 18px;
  cursor: pointer;
}

.veyara-chat__form button:hover {
  background: #ffa64f;
}

@media (max-width: 600px) {
  .veyara-chat {
    right: 8px;
    bottom: 8px;
    width: calc(100vw - 16px);
    height: min(520px, calc(100dvh - 16px));
  }
}

/* VEYARA Chat — bottom right on all pages */
.veyara-chat {
  left: auto;
  right: 24px;
  bottom: 24px;
}

@media (max-width: 600px) {
  .veyara-chat {
    left: auto;
    right: 8px;
    bottom: 8px;
  }
}


/* Channels — TV heading icon */
body:has(.v2-hero) .home-block:has(#homeChannelsRow) .home-title::before {
  content: "\f26c";
}

/* VEYAPLAY V2 — Home footer and right rail */

body:has(.v2-hero) .site-footer {
  z-index: 60;
}

@media (min-width: 1201px) {
  body:has(.v2-hero) .home-right-rail {
    bottom: 80px;
  }
}


/* VEYAPLAY V2 — Compact Home navigation */

@media (min-width: 1201px) {
  body:has(.v2-hero) .home-side-rail.v2-side-rail {
    top: 100px;
    bottom: 80px;
    gap: 12px;
    overflow-y: auto;
    scrollbar-width: thin;
  }

  body:has(.v2-hero) .v2-side-group {
    gap: 1px;
    flex-shrink: 0;
  }

  body:has(.v2-hero) .v2-side-rail .rail-item {
    height: 32px;
  }

  body:has(.v2-hero) .v2-side-rail .veyara-chat-trigger {
    margin-top: 2px;
    margin-bottom: 2px;
  }
}
