.nh-empty{padding:36px 20px 24px;text-align:center}.nh-empty h3{font-size:20px;margin-bottom:15px}.nh-empty p{font-size:14px;line-height:1.5;color:var(--muted)}
.nh-alert{margin:12px 20px;padding:12px;border-radius:10px;background:#fff2d1;color:#5f4100;font-size:13px}

/* ── Modern Reels Feed UI (Reference frame_001.jpg / frame_008.jpg) ── */
.v10-root {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000000;
  overflow: hidden;
}

.v10-feed {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
}

.v10-reel {
  position: relative;
  width: 100%;
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #000000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-sizing: border-box;
}

/* Floating top back chevron */
.nh-reel-back-btn {
  position: absolute;
  top: 16px;
  left: 14px;
  z-index: 50;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.nh-reel-back-btn:active {
  background: rgba(255, 255, 255, 0.2);
}

/* Centered Video Player Stage - Full Width & Height like Facebook Reels */
.nh-video-stage {
  flex: 1 1 auto;
  width: 100% !important;
  height: calc(100dvh - 142px) !important;
  min-height: 280px;
  position: relative !important;
  overflow: hidden !important;
  background: #000000 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nh-video-container,
.nh-video-stage > .nh-video-container,
.nh-video-stage > [id^="nh-video-"] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #000000 !important;
}

.nh-video-stage .nh-player-root {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #000000 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.nh-video-stage .nh-player-video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  background: #000000 !important;
}

.nh-video-stage .nh-player-root[data-layout="vertical"] .nh-player-video,
.nh-video-stage [data-layout="vertical"] .nh-player-video {
  object-fit: cover !important;
}

.nh-video-stage .nh-uvp-frame {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  background: #000000 !important;
}

.nh-video-stage .nh-uvp-iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  background: #000000 !important;
}

.nh-video-stage .nh-preroll-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: #000000 !important;
  z-index: 40 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.nh-video-stage .nh-preroll-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #000000 !important;
}

/* In reels feed, hide the duplicate horizontal controls bar and CC subtitle capsule */
.nh-video-stage .nh-player-bottom,
.nh-video-stage .nh-player-top,
.nh-video-stage .nh-sub-sync-box {
  display: none !important;
}

.nh-stage-seek-feedback {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(16, 20, 28, 0.88);
  border: 1px solid rgba(0, 192, 240, 0.6);
  color: #00e5ff;
  font-size: 16px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 60;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.5px;
}

.nh-stage-seek-feedback.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Info Box Directly Below Video */
.nh-reel-info-box {
  flex-shrink: 0;
  width: 100%;
  background: #000000;
  padding: 8px 16px 2px 16px;
  box-sizing: border-box;
  color: #ffffff;
}

.nh-reel-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.nh-reel-tags {
  font-size: 13px;
  color: #7fa6c9;
  font-weight: 500;
  margin-bottom: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nh-reel-tag {
  color: #7fa6c9;
}

.nh-reel-meta {
  font-size: 12px;
  color: #8e8e93;
  margin-bottom: 8px;
  font-weight: 400;
}

/* Scrubber Row Directly Below Meta */
.nh-reel-scrubber-row {
  width: 100%;
  margin-bottom: 4px;
}

.nh-reel-progress-wrap {
  width: 100%;
  padding: 12px 0;
  margin: -4px 0;
  cursor: pointer;
  position: relative;
  touch-action: none;
}

.nh-reel-progress-track {
  width: 100%;
  height: 3px;
  background: #38383a;
  border-radius: 2px;
  position: relative;
}

.nh-reel-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #00c0f0;
  border-radius: 2px;
}

/* Yellow monetization cue dot on scrubber (frame_005.jpg) */
.nh-reel-progress-ad-cue {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  background: #ffcc00;
  border-radius: 50%;
  z-index: 2;
}

.nh-reel-progress-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 0%;
  width: 12px;
  height: 12px;
  background: #00c0f0;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 192, 240, 0.8);
  z-index: 3;
}

.nh-reel-ctrls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}

.nh-reel-time-text {
  font-size: 12px;
  color: #d1d1d6;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-right: auto;
}

.nh-reel-ctrl-btn {
  background: none;
  border: none;
  color: #ffffff;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.15s;
}

.nh-reel-ctrl-btn:active {
  opacity: 0.6;
}

/* Bottom Bar: Drag Handle + Channel Row */
.nh-reel-bottom-bar {
  flex-shrink: 0;
  width: 100%;
  background: #000000;
  padding: 6px 16px 18px 16px;
  box-sizing: border-box;
}

.nh-reel-drag-handle {
  width: 36px;
  height: 4px;
  background: #4a4a4e;
  border-radius: 2px;
  margin: 0 auto 10px auto;
}

.nh-reel-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nh-reel-channel {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  max-width: 55%;
}

.nh-reel-channel-avatar {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
  background: #222;
  flex-shrink: 0;
}

.nh-reel-channel-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nh-reel-verified {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nh-reel-post-time {
  font-size: 12px;
  color: #8e8e93;
  flex-shrink: 0;
  white-space: nowrap;
}

.nh-reel-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nh-reel-act-btn {
  background: none;
  border: none;
  color: #ffffff;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, opacity 0.15s;
}

.nh-reel-act-btn:active {
  transform: scale(0.9);
}

.nh-reel-act-btn.is-saved {
  color: #00c0f0;
}

.nh-reel-whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nh-whatsapp-count {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

/* ── Action Sheet ── */
.nh-actionsheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.nh-actionsheet-sheet {
  background: #18191c;
  border-radius: 16px 16px 0 0;
  padding: 12px 16px 28px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.8);
}
.nh-actionsheet-bar {
  width: 36px;
  height: 4px;
  background: #444;
  border-radius: 2px;
  margin: 0 auto 12px auto;
}
.nh-actionsheet-btn {
  width: 100%;
  padding: 13px 16px;
  background: #242529;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.nh-actionsheet-btn:active {
  background: #323338;
}
.nh-actionsheet-cancel {
  background: #2e2f34;
  color: #ff5252;
  margin-top: 4px;
}

.ui-primary:disabled{opacity:.5}audio{width:100%;margin:12px 0 25px}.app{max-width:100%;margin:0 auto}

/* Full screen video mode: removes bottom navigation bar and allows seamless swipe */
body.video-open main,
body.video-open #main {
  height: 100dvh !important;
  max-height: 100dvh !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

body.video-open .nav,
body.video-open #nav {
  display: none !important;
}

/* Match the actual viewport so one swipe always lands on one complete card. */
body.video-open #main { overflow:hidden; }
.v10-root { height:100dvh; }
.v10-feed { overscroll-behavior-y:contain; touch-action:pan-y; scroll-behavior:auto; }
.v10-reel { height:100%; min-height:100%; flex:none; }
.nh-reel-refresh { position:absolute; right:14px; top:16px; z-index:60; color:#fff; background:#222b; border-radius:24px; padding:10px 14px; }
.nh-reel-refresh:disabled { opacity:.65; }
.nh-reel-progress-wrap { touch-action:pan-y; }
