/* ANDALUS_VIDEO_HUB_V86_CUSTOMER_CINEMA_READY */
.an-video-hub-v86 {
  --v86-ink: #251710;
  --v86-muted: #725f54;
  --v86-brand: #70452f;
  --v86-brand-dark: #43271b;
  --v86-line: #e6d4c5;
  --v86-soft: #fff9f3;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0, rgba(210, 163, 96, .18), transparent 31rem),
    linear-gradient(180deg, #fffaf6 0%, #f7eee6 100%);
}

.an-v86-wrap {
  position: relative;
  z-index: 1;
}

.an-v86-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto 24px;
}

.an-v86-heading > div:first-child {
  max-width: 820px;
}

.an-v86-kicker {
  display: inline-flex;
  margin-bottom: 7px;
  color: var(--v86-brand);
  font-size: .82rem;
  font-weight: 900;
}

.an-v86-heading h2 {
  margin: 0;
  color: var(--v86-ink);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.2;
}

.an-v86-heading p {
  max-width: 760px;
  margin: 9px 0 0;
  color: var(--v86-muted);
  font-size: clamp(.95rem, 1.5vw, 1.08rem);
  line-height: 1.8;
}

.an-v86-count {
  min-width: 100px;
  padding: 13px 15px;
  border: 1px solid var(--v86-line);
  border-radius: 18px;
  text-align: center;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 10px 30px rgba(58, 34, 23, .07);
}

.an-v86-count strong,
.an-v86-count span {
  display: block;
}

.an-v86-count strong {
  color: var(--v86-brand-dark);
  font-size: 1.5rem;
  line-height: 1;
}

.an-v86-count span {
  margin-top: 6px;
  color: var(--v86-muted);
  font-size: .68rem;
  font-weight: 900;
}

.an-v86-cinema {
  max-width: 1120px;
  margin-inline: auto;
}

.an-v86-main {
  padding: 12px;
  border: 1px solid var(--v86-line);
  border-radius: 25px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 24px 65px rgba(56, 32, 21, .13);
}

.an-v86-stage {
  position: relative;
  width: 100%;
  max-width: 1096px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 18px;
  background: #050505;
  box-shadow: 0 16px 42px rgba(15, 8, 5, .26);
  isolation: isolate;
}

.an-v86-stage[data-layout="landscape"] {
  aspect-ratio: 16 / 9;
}

.an-v86-stage[data-layout="portrait"] {
  width: min(100%, 43svh, 430px);
  aspect-ratio: 9 / 16;
}

.an-v86-stage[data-layout="square"] {
  width: min(100%, 720px);
  aspect-ratio: 1;
}

.an-v86-stage:fullscreen,
.an-v86-stage:-webkit-full-screen {
  width: 100vw !important;
  max-width: none !important;
  height: 100vh !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  border-radius: 0;
  background: #000;
}

.an-v86-facade,
.an-v86-player,
.an-v86-player iframe {
  width: 100%;
  height: 100%;
}

.an-v86-facade {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #fff;
  background: #050505;
  cursor: pointer;
}

.an-v86-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none !important;
  transition: transform .35s ease, filter .35s ease;
}

.an-v86-stage[data-layout="portrait"] .an-v86-facade img {
  object-fit: contain;
}

.an-v86-facade:hover img,
.an-v86-facade:focus-visible img {
  transform: scale(1.018);
  filter: brightness(.88);
}

.an-v86-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .03), rgba(0, 0, 0, .08) 52%, rgba(0, 0, 0, .66));
  pointer-events: none;
}

.an-v86-play-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(68px, 8vw, 94px);
  pointer-events: none;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .35));
  transition: transform .2s ease;
}

.an-v86-play-mark svg {
  display: block;
  width: 100%;
  fill: #f00;
}

.an-v86-play-mark .an-v86-play-triangle {
  fill: #fff;
}

.an-v86-facade:hover .an-v86-play-mark,
.an-v86-facade:focus-visible .an-v86-play-mark {
  transform: translate(-50%, -50%) scale(1.08);
}

.an-v86-play-copy {
  position: absolute;
  right: 15px;
  bottom: 15px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, .68);
  backdrop-filter: blur(9px);
  pointer-events: none;
  font-size: .8rem;
  font-weight: 900;
}

.an-v86-player {
  position: absolute;
  inset: 0;
  background: #000;
}

.an-v86-player iframe {
  display: block;
  border: 0;
}

.an-v86-main.is-playing .an-v86-facade {
  visibility: hidden;
}

.an-video-hub-v86 [hidden] {
  display: none !important;
}

.an-v86-player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 8px 4px;
}

.an-v86-now {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.an-v86-now span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--v86-brand-dark);
  background: #f0dfd1;
  font-size: .73rem;
  font-weight: 900;
}

.an-v86-now strong {
  color: var(--v86-muted);
  font-size: .75rem;
}

.an-v86-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.an-v86-actions button,
.an-v86-actions a {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 15px;
  border: 1px solid var(--v86-line);
  border-radius: 11px;
  color: var(--v86-brand-dark);
  text-decoration: none;
  background: #fff;
  font: inherit;
  font-size: .8rem;
  font-weight: 900;
  cursor: pointer;
}

.an-v86-actions .an-v86-watch {
  border-color: var(--v86-brand);
  color: #fff;
  background: linear-gradient(135deg, var(--v86-brand), var(--v86-brand-dark));
}

.an-v86-main.is-playing .an-v86-watch {
  display: none;
}

.an-v86-fullscreen svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.an-v86-details {
  padding: 11px 8px 8px;
}

.an-v86-details h3 {
  margin: 0;
  color: var(--v86-ink);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.35;
}

.an-v86-details p {
  max-width: 900px;
  margin: 7px 0 0;
  color: var(--v86-muted);
  line-height: 1.75;
}

.an-v86-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.an-v86-status[data-state="error"] {
  position: static;
  width: auto;
  height: auto;
  margin: 6px 8px;
  padding: 10px 12px;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 1px solid #e4c1a5;
  border-radius: 10px;
  color: #74401e;
  background: #fff4e8;
  font-size: .82rem;
  font-weight: 800;
}

.an-v86-chapters {
  margin: 5px 8px 9px;
  padding: 15px;
  border: 1px solid var(--v86-line);
  border-radius: 16px;
  background: var(--v86-soft);
}

.an-v86-chapters > header {
  margin-bottom: 11px;
}

.an-v86-chapters > header span {
  color: var(--v86-brand);
  font-size: .7rem;
  font-weight: 900;
}

.an-v86-chapters h3 {
  margin: 3px 0 0;
  color: var(--v86-ink);
  font-size: 1rem;
}

.an-v86-chapter-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.an-v86-chapter {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--v86-line);
  border-radius: 10px;
  color: var(--v86-ink);
  text-align: right;
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.an-v86-chapter time {
  padding: 3px 6px;
  border-radius: 6px;
  color: #fff;
  background: var(--v86-brand);
  direction: ltr;
  font-size: .62rem;
  font-weight: 900;
}

.an-v86-chapter strong,
.an-v86-chapter small {
  display: block;
}

.an-v86-chapter strong {
  font-size: .72rem;
  line-height: 1.35;
}

.an-v86-chapter small {
  margin-top: 2px;
  color: var(--v86-muted);
  font-size: .62rem;
  line-height: 1.35;
}

.an-v86-playlist {
  margin-top: 20px;
}

.an-v86-playlist > header {
  margin-bottom: 10px;
}

.an-v86-playlist > header span {
  color: var(--v86-brand);
  font-size: .72rem;
  font-weight: 900;
}

.an-v86-playlist > header h3 {
  margin: 3px 0 0;
  color: var(--v86-ink);
  font-size: 1.2rem;
}

.an-v86-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.an-v86-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--v86-line);
  border-radius: 15px;
  color: inherit;
  text-align: right;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 8px 24px rgba(54, 31, 20, .06);
  font: inherit;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.an-v86-item:hover,
.an-v86-item:focus-visible {
  border-color: #c6a087;
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(54, 31, 20, .11);
}

.an-v86-item.is-current {
  border-color: #9f6f51;
  background: #f5e7dc;
}

.an-v86-item-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #15100e;
}

.an-v86-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none !important;
}

.an-v86-item-media > span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding-inline-start: 2px;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, .72);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.an-v86-item.is-current .an-v86-item-media > span {
  background: #f00;
}

.an-v86-item-copy {
  min-width: 0;
}

.an-v86-item-copy small,
.an-v86-item-copy strong,
.an-v86-item-copy span {
  display: block;
}

.an-v86-item-copy small {
  color: var(--v86-brand);
  font-size: .65rem;
  font-weight: 900;
}

.an-v86-item-copy strong {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  color: var(--v86-ink);
  font-size: .8rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.an-v86-item-copy > span {
  margin-top: 5px;
  color: var(--v86-muted);
  font-size: .66rem;
  font-weight: 800;
}

.an-v86-facade:focus-visible,
.an-v86-actions button:focus-visible,
.an-v86-actions a:focus-visible,
.an-v86-item:focus-visible,
.an-v86-chapter:focus-visible {
  outline: 3px solid #d3aa66;
  outline-offset: 3px;
}

body #anLive .anSticky {
  pointer-events: none;
}

body #anLive .anSticky.show {
  pointer-events: auto;
}

@media (max-width: 980px) {
  .an-v86-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .an-v86-chapter-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .an-v86-heading {
    align-items: center;
    gap: 12px;
  }

  .an-v86-count {
    min-width: 77px;
    padding: 11px 8px;
    border-radius: 15px;
  }

  .an-v86-count strong {
    font-size: 1.25rem;
  }

  .an-v86-count span {
    font-size: .58rem;
  }

  .an-v86-main {
    padding: 7px;
    border-radius: 18px;
  }

  .an-v86-stage {
    border-radius: 13px;
  }

  .an-v86-stage[data-layout="portrait"] {
    width: min(100%, 40.5svh, 430px);
  }

  .an-v86-player-bar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 11px;
  }

  .an-v86-actions {
    width: 100%;
    justify-content: stretch;
  }

  .an-v86-actions > * {
    flex: 1 1 auto;
  }

  .an-v86-list {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 3px 2px 12px;
    scroll-snap-type: x proximity;
  }

  .an-v86-item {
    flex: 0 0 min(84vw, 340px);
    grid-template-columns: 122px minmax(0, 1fr);
    scroll-snap-align: start;
  }

  .an-v86-chapter-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .an-video-hub-v86 *,
  .an-video-hub-v86 *::before,
  .an-video-hub-v86 *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
