/* Orchid Reels v504 — loading-indicator removal and detail-panel/mobile polish.
   Player lifecycle, buffering state, autoplay, pooling, telemetry and Reel order
   are intentionally untouched. */

/* v476 used ::after for a spinner, while the current presentation uses ::after
   for the in-video lower gradient. Reset every old spinner geometry/animation so
   the two rules cannot combine into the rotating bottom-left oval. */
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-video-viewer__media,
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-reel-player-pool {
  overflow:hidden!important;
}
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-video-viewer__media.is-buffering::before {
  content:none!important;
  display:none!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  border:0!important;
  animation:none!important;
  transform:none!important;
}
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-video-viewer__media.is-buffering::after {
  content:""!important;
  display:block!important;
  position:absolute!important;
  z-index:2!important;
  inset:auto 0 0!important;
  width:auto!important;
  height:34%!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  animation:none!important;
  transform:none!important;
  background:linear-gradient(transparent,rgba(0,0,0,.85))!important;
  pointer-events:none!important;
}
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] :is(
  .orchid-reel-spinner,
  .orchid-video-loading,
  .orchid-video-spinner,
  [data-video-loading]
) {
  display:none!important;
  animation:none!important;
}

/* The discussion panel is one continuous surface to its bottom edge. */
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] :is(
  .orchid-reels-right,
  section.orchid-video-sheet[data-orchid-review-ui],
  .orchid-video-sheet__panel,
  .orchid-review-sheet-body,
  .orchid-video-comments,
  .orchid-video-sheet__list,
  .orchid-review-composer
) {
  background-color:#212121!important;
  background-image:none!important;
}
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-video-sheet__panel {
  display:flex!important;
  height:100%!important;
  min-height:0!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-review-sheet-body {
  flex:1 1 auto!important;
  min-height:0!important;
  align-self:stretch!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}

/* Review controls: strong contrast without inherited white blocks. */
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-review-head > span {
  flex:0 0 auto!important;
  padding:6px 9px!important;
  border:1px solid #86b9a8!important;
  border-radius:999px!important;
  background:#e9f5ef!important;
  background-image:none!important;
  color:#005b43!important;
  -webkit-text-fill-color:#005b43!important;
  font-size:10px!important;
  font-weight:900!important;
  line-height:1.1!important;
}
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-review-video-add {
  position:relative!important;
  display:grid!important;
  flex:0 0 54px!important;
  width:54px!important;
  min-width:54px!important;
  max-width:54px!important;
  height:54px!important;
  min-height:54px!important;
  max-height:54px!important;
  margin:0!important;
  padding:0!important;
  place-items:center!important;
  overflow:visible!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-review-video-add .ring {
  display:grid!important;
  width:52px!important;
  height:52px!important;
  place-items:center!important;
  border:1px solid rgba(255,255,255,.55)!important;
  border-radius:50%!important;
  background:#006349!important;
  background-image:none!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:18px!important;
}
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-review-video-add .plus {
  right:-2px!important;
  bottom:0!important;
  width:20px!important;
  height:20px!important;
  border:1px solid #8dc5b2!important;
  background:#0f0f0f!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:12px!important;
}
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-review-add > div button[data-review-start="TEXT"] {
  width:max-content!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  color:#69e3bd!important;
  -webkit-text-fill-color:#69e3bd!important;
  font-size:11px!important;
  font-weight:800!important;
  text-align:left!important;
}
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] :is(.orchid-review-list > p,.orchid-review-empty) {
  color:#aaa!important;
  -webkit-text-fill-color:#aaa!important;
}
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-review-empty strong {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-video-product > b {
  border:0!important;
  background:#006349!important;
  background-image:none!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:none!important;
}

/* More keeps its existing menu, now with an explicit close control. */
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-reels-more {
  position:fixed!important;
  padding-top:38px!important;
}
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-reels-more > button.orchid-reels-more-close {
  position:absolute!important;
  top:7px!important;
  right:7px!important;
  display:grid!important;
  width:28px!important;
  min-width:28px!important;
  max-width:28px!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  margin:0!important;
  padding:0!important;
  place-items:center!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:22px!important;
  line-height:1!important;
}
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-reels-more > button.orchid-reels-more-close:hover,
html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-reels-more > button.orchid-reels-more-close:focus-visible {
  background:#303030!important;
}

@media (max-width:1099px) {
  html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-video-viewer__media.is-buffering::after {
    height:45%!important;
    background:linear-gradient(transparent,rgba(0,0,0,.92))!important;
  }
  /* The public header already supplies these destinations on small screens. */
  html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] :is(.orchid-reels-mobile-brand,.orchid-reels-mobile-nav) {
    display:none!important;
  }
  /* Keep only Search in the mobile top area; More remains on the action rail. */
  html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-reels-mobile-top [data-video-more] {
    display:none!important;
  }
  html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-video-viewer__tabs {
    top:calc(9px + env(safe-area-inset-top))!important;
    left:12px!important;
    right:12px!important;
  }
  html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-reels-mobile-top {
    top:calc(55px + env(safe-area-inset-top))!important;
    left:12px!important;
    right:auto!important;
    width:auto!important;
    padding:0!important;
    justify-content:flex-start!important;
    pointer-events:none!important;
  }
  html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-reels-mobile-top > div:last-child {
    display:flex!important;
    gap:0!important;
  }
  html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-reels-mobile-top > div:last-child > a {
    display:grid!important;
    width:36px!important;
    height:36px!important;
    place-items:center!important;
    background:rgba(0,0,0,.22)!important;
    pointer-events:auto!important;
  }
  html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-video-viewer__actions {
    bottom:82px!important;
  }
  html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-video-viewer__bottom {
    bottom:18px!important;
  }
  html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-reels-seek {
    bottom:0!important;
  }
  /* Comments, Reviews and Products occupy one uninterrupted bottom sheet. */
  html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] section.orchid-video-sheet[data-orchid-review-ui] {
    top:max(8px,env(safe-area-inset-top))!important;
    bottom:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    border:1px solid #3b3b3b!important;
    border-bottom:0!important;
    border-radius:18px 18px 0 0!important;
    background:#212121!important;
  }
  html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-video-sheet__panel {
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    background:#212121!important;
  }
  html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-review-sheet-top {
    background:#191919!important;
  }
  html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-review-composer {
    margin-top:auto!important;
  }
  html body section.orchid-video-viewer.orchid-reels-canonical[data-orchid-video-viewer][data-orchid-video-ui][data-orchid-video-revision="v499"] .orchid-reels-more {
    bottom:76px!important;
  }
}
