.nh-home-avatar{width:54px;height:54px;border-radius:50%;object-fit:cover}.nh-avatar-button{padding:0;flex-shrink:0}.nh-initial{display:inline-flex!important;align-items:center;justify-content:center;background:#e8f6f3;color:#137b72;font-weight:750;border-radius:50%;object-fit:contain}.nh-bell{position:relative}.nh-unread-dot{position:absolute;right:5px;top:4px;width:7px;height:7px;background:#1a998e;border:2px solid var(--paper);border-radius:50%}
.nh-language-bar{padding:0 var(--page-pad) 14px;display:flex;justify-content:flex-end}.nh-language-bar>button{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--teal)}.nh-language-bar .svg{width:15px;height:15px}.nh-category-chips{overflow-x:auto;flex-wrap:nowrap;margin:12px 0 18px;scrollbar-width:none}.nh-category-chips .chip{white-space:nowrap;flex-shrink:0}.nh-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:18px 0}.nh-category-grid button{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;font-size:13px}.nh-category-logo{width:65px;height:65px;object-fit:contain;border-radius:16px}.nh-language-option{display:flex;gap:14px;align-items:center;padding:18px 2px;border-bottom:1px solid var(--stroke);font-size:14px}.nh-language-option>span{flex:1}.nh-language-option input{accent-color:var(--teal);width:20px;height:20px}.nh-language-logo{height:32px;width:42px;object-fit:contain;border-radius:5px}.nh-publisher-logo{width:70px;height:70px;object-fit:contain;border-radius:50%;background:var(--panel)}.nh-profile-avatar{width:70px;height:70px;object-fit:cover;border-radius:50%;flex-shrink:0}
.nh-full-article{line-height:1.7;color:var(--ink);overflow-wrap:anywhere}.nh-full-article p{margin:14px 0}.nh-full-article h1,.nh-full-article h2,.nh-full-article h3{line-height:1.3;margin:20px 0 12px}.nh-full-article img,.nh-article-gallery{display:block;max-width:100%;height:auto;border-radius:10px;margin:14px auto}.nh-full-article ul,.nh-full-article ol{padding-left:25px}.nh-full-article blockquote{border-left:3px solid var(--teal);padding:8px 15px;margin:15px 0;background:var(--panel)}.nh-full-article table{display:block;max-width:100%;overflow:auto;border-collapse:collapse}.nh-full-article td,.nh-full-article th{padding:7px;border:1px solid var(--stroke)}.nh-full-article a{color:var(--teal);text-decoration:underline}.nh-read-tools{display:flex;gap:12px;align-items:center;justify-content:space-between;border-block:1px solid var(--stroke);padding:12px 0;margin:15px 0}.nh-read-tools button{font-size:12px;display:flex;align-items:center;gap:4px}.nh-read-tools .svg{width:17px;height:17px}.nh-reactions{display:flex;gap:12px;padding:18px 0;justify-content:center}.nh-reactions button{font-size:24px}.nh-related{display:block;text-align:left;font-size:14px;line-height:1.5;border-bottom:1px solid var(--stroke);padding:15px 0;width:100%}
.nh-notice{text-align:left;width:100%}.nh-notice>span{flex:1}.nh-notice small{font-size:10px;color:var(--muted)}.nh-notice-image{width:50px;height:50px;border-radius:8px;object-fit:cover;flex-shrink:0}.nh-record{border:1px solid var(--stroke);border-radius:12px;padding:14px;margin:14px 0}.nh-record>div{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:5px 0;font-size:12px}.nh-record dt{text-transform:capitalize;color:var(--muted)}.nh-record dd{text-align:right;overflow-wrap:anywhere}.nh-plan{border:1px solid var(--stroke);padding:17px;border-radius:15px;margin:15px 0}.nh-paper-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.nh-paper{text-align:left}.nh-paper h3{font-size:15px;margin:8px 0}.nh-paper p,.nh-paper small{font-size:11px;color:var(--muted)}.nh-paper-cover{width:100%;height:190px;object-fit:cover;border-radius:9px}.nh-pdf{width:100%;height:78vh;border:0}.nh-audio-cover{width:65px;height:65px;object-fit:cover;border-radius:8px}.nh-read-tools+.nh-full-article{margin-top:18px}
body.dark .nh-full-article{color:#e7e7e7}body.dark .nh-initial{background:#17352e;color:#7ce6d7}.profile-root .ui-settings-row{font-weight:normal}.v6-tools{gap:8px}.v6-tools .iconbtn{width:36px;height:36px;border:1px solid var(--stroke);border-radius:50%;display:grid;place-items:center}.v6-tools .svg{width:21px;height:21px}.mini-weather-wrap{margin-bottom:6px}


/* Google News Clean Full-Width Cards (Fixed Alignment, No Overflow Shaking) */
.google-news-card {
  margin: 0 0 16px 0;
  padding: 0;
  background: var(--paper, #fff);
  border: none;
  border-bottom: 6px solid #f1f5f9;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
body.dark .google-news-card {
  background: #111418;
  border-bottom: 6px solid #1c2026;
}
.gn-media-full {
  position: relative;
  width: 100%;
  cursor: pointer;
  background-color: #f1f5f9;
  overflow: hidden;
  max-height: 205px;
}
.gn-img-full {
  width: 100%;
  height: 195px;
  max-height: 200px;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Dailyhunt-style "Includes Video" Badge */
.dh-includes-video-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.78);
  color: #ffffff !important;
  font-family:var(--nh-script-font,NewsItScripts),-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2px;
  border-radius: 4px;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.dh-includes-video-badge .dh-play-tri {
  display: inline-block;
  font-size: 9px;
  line-height: 1;
  color: #ffffff;
  transform: translateY(-0.5px);
}
.nh-detail-has-frame .dh-includes-video-badge {
  display: none !important;
}
.gn-title {
  font-size: 17.5px;
  font-weight: 750;
  line-height: 1.35;
  color: var(--ink, #111);
  margin: 12px 16px 10px;
  cursor: pointer;
}
body.dark .gn-title {
  color: #f1f3f5;
}
.gn-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px 14px;
  gap: 12px;
}
.gn-pub {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}
.gn-pub-logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.gn-pub-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink, #111);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}
body.dark .gn-pub-name {
  color: #e0e0e0;
}
.gn-dot {
  color: var(--muted, #888);
  font-size: 13px;
  margin: 0 1px;
}
.gn-ago {
  font-size: 12.5px;
  color: var(--muted, #888);
  white-space: nowrap;
}
.gn-actions-clean {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.gn-icon-only {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--muted, #666);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.15s ease;
}
body.dark .gn-icon-only {
  color: #aaa;
}
.gn-icon-only .svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}
.gn-icon-only.saved,
.gn-icon-only.saved svg,
.gn-icon-only.saved .svg {
  color: var(--teal, #008080) !important;
  fill: var(--teal, #008080) !important;
}
.gn-icon-only.liked,
.gn-icon-only.liked svg,
.gn-icon-only.liked .svg,
.gn-icon-only.liked svg path,
.dh-like-btn.liked,
.dh-like-btn.liked svg,
.dh-like-btn.liked .svg,
.dh-like-btn.liked svg path {
  color: #e53935 !important;
  fill: #e53935 !important;
  stroke: #e53935 !important;
}
.gn-icon-only.dh-wa-btn {
  color: #25D366;
  gap: 3px;
  width: auto;
  padding: 4px 6px;
  border-radius: 16px;
}
.gn-icon-only.dh-wa-btn svg,
.gn-icon-only.dh-wa-btn .svg {
  fill: #25D366 !important;
  stroke: none !important;
  width: 21px;
  height: 21px;
}
.dh-wa-count {
  font-size: 11.5px;
  font-weight: 700;
  color: #555;
  margin-left: 2px;
}
body.dark .dh-wa-count {
  color: #bbb;
}

/* My Story List Card */
.my-story-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--stroke, #eee);
  cursor: pointer;
}
.my-story-info {
  flex: 1;
  min-width: 0;
}
.my-story-title {
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
  color: var(--ink, #111);
  margin: 0 0 8px 0;
}
.my-story-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
}
.my-story-author-img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}
.my-story-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--muted, #888);
}
.my-story-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}
.my-story-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.my-story-thumb {
  width: 108px;
  height: 82px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* Edit Profile Page */
.ep-page {
  padding: 20px 22px 40px;
  max-width: 500px;
  margin: 0 auto;
}
.ep-avatar-container {
  display: flex;
  justify-content: center;
  margin: 10px 0 30px;
  position: relative;
}
.ep-avatar-wrapper {
  position: relative;
  width: 104px;
  height: 104px;
  cursor: pointer;
}
.ep-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #f0f3f6;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #e8edf2;
  overflow: hidden;
}
.ep-avatar svg {
  width: 58px;
  height: 58px;
  fill: #cfd8dc;
}
.ep-avatar.has-image svg {
  display: none;
}
.ep-pencil-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal, #008080);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  cursor: pointer;
}
.ep-pencil-badge svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.ep-form-group {
  margin-bottom: 20px;
}
.ep-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink, #222);
  margin-bottom: 9px;
}
.ep-input {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1.5px solid #eef1f4;
  background: #fafbfc;
  font-size: 15px;
  color: var(--ink, #111);
  box-sizing: border-box;
  font-family:inherit;
  transition: border-color 0.2s;
}
.ep-input:focus {
  outline: none;
  border-color: var(--teal, #008080);
  background: #fff;
}
.ep-textarea {
  min-height: 80px;
  resize: vertical;
}
.ep-finish-btn {
  width: 100%;
  height: 52px;
  border-radius: 26px;
  background: var(--teal, #008080);
  color: #fff;
  font-size: 16px;
  font-weight: 750;
  border: none;
  cursor: pointer;
  margin-top: 24px;
  box-shadow: 0 4px 14px rgba(0, 128, 128, 0.25);
}

/* Write Stories Page */
.ws-page {
  padding: 16px 20px 40px;
  max-width: 500px;
  margin: 0 auto;
}
.ws-cover-box {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  background: #fafbfc;
  border: 1.5px dashed #cfd8dc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  margin-bottom: 22px;
  background-size: cover;
  background-position: center;
}
.ws-cover-box.has-cover {
  border-style: solid;
  border-color: #b2dfdb;
}
.ws-cover-icon {
  width: 44px;
  height: 44px;
  color: #78909c;
  margin-bottom: 8px;
}
.ws-cover-text {
  font-size: 14px;
  color: #78909c;
  font-weight: 600;
}
.ws-cover-change {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
}
.ws-section {
  margin-bottom: 20px;
}
.ws-label {
  display: block;
  font-size: 16px;
  font-weight: 750;
  color: var(--ink, #111);
  margin-bottom: 8px;
}
.ws-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid #eef1f4;
  background: #fafbfc;
  font-size: 15px;
  color: var(--ink, #111);
  box-sizing: border-box;
}
.ws-editor-wrap {
  border: 1.5px solid #eef1f4;
  border-radius: 14px;
  background: #fafbfc;
  overflow: hidden;
}
.ws-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #eef1f4;
  background: #f7f9fa;
  overflow-x: auto;
}
.ws-tool-btn {
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: #455a64;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ws-tool-btn:hover {
  background: #e0e0e0;
}
.ws-editor {
  min-height: 180px;
  padding: 16px;
  font-size: 15px;
  line-height: 1.6;
  outline: none;
  color: var(--ink, #111);
  background: transparent;
}
.ws-editor:empty:before {
  content: attr(placeholder);
  color: #9e9e9e;
  pointer-events: none;
}
.ws-publish-btn {
  width: 100%;
  height: 52px;
  border-radius: 26px;
  background: var(--teal, #008080);
  color: #fff;
  font-size: 16px;
  font-weight: 750;
  border: none;
  cursor: pointer;
  margin-top: 24px;
  box-shadow: 0 4px 14px rgba(0, 128, 128, 0.25);
}


/* Dailyhunt Auto-Hide Bottom Bar & Top Header */
#nav {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
  will-change: transform;
}
#nav.nav-hidden {
  transform: translateY(112%) !important;
  pointer-events: none !important;
}

.top, .screenhead {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper, #fff);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}
body.bars-hidden .top,
body.bars-hidden .screenhead {
  transform: translateY(-112%) !important;
  pointer-events: none !important;
}

main {
  height: 100dvh !important;
  overflow-y: auto !important;
  padding-bottom: 74px;
  box-sizing: border-box;
}

.gn-comment-badge {
  font-size: 11px;
  font-weight: 700;
  margin-left: 2px;
  color: var(--muted, #666);
}
body.dark .gn-comment-badge {
  color: #aaa;
}

/* Dailyhunt 3-Dots Action Sheet Modal */
#nh-bottom-sheet-root {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}
#nh-bottom-sheet-root.active {
  pointer-events: auto;
}
.nh-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  opacity: 0;
  transition: opacity 0.25s ease;
}
#nh-bottom-sheet-root.active .nh-sheet-backdrop {
  opacity: 1;
}
.nh-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 510px;
  margin: 0 auto;
  background: var(--paper, #fff);
  border-radius: 20px 20px 0 0;
  padding: 8px 0 max(env(safe-area-inset-bottom), 18px);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.22);
}
#nh-bottom-sheet-root.active .nh-sheet {
  transform: translateY(0);
}
.nh-sheet-handle {
  width: 40px;
  height: 4px;
  background: #d4d4d4;
  border-radius: 2px;
  margin: 6px auto 14px;
}
.nh-sheet-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 24px;
  border: none;
  background: transparent;
  color: var(--ink, #212121);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}
.nh-sheet-item:active {
  background: rgba(0, 0, 0, 0.05);
}
.nh-sheet-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink, #212121);
  flex-shrink: 0;
}
.nh-sheet-icon .svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.8;
}
.nh-sheet-text {
  flex: 1;
  font-size: 15px;
  letter-spacing: -0.1px;
}
body.dark .nh-sheet {
  background: #1c2024;
}
body.dark .nh-sheet-handle {
  background: #444;
}
body.dark .nh-sheet-item,
body.dark .nh-sheet-icon {
  color: #f0f0f0;
}
body.dark .nh-sheet-item:active {
  background: rgba(255, 255, 255, 0.07);
}

/* Dailyhunt Comments Screen */
.comments-screen-root {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  background: var(--paper, #fff);
  position: relative;
  overflow: hidden;
}
.comments-head {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--stroke, #eee);
  background: var(--paper, #fff);
  flex-shrink: 0;
  z-index: 10;
}
.comments-head-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  color: var(--ink, #212121);
  cursor: pointer;
  border-radius: 50%;
}
.comments-head-btn .svg {
  width: 22px;
  height: 22px;
}
.comments-head-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink, #212121);
  letter-spacing: -0.3px;
}
.comments-scroll-area {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 20px 80px;
}
.comments-empty-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 20px;
  text-align: center;
}
.comments-illustration {
  margin-bottom: 24px;
  color: #262626;
}
body.dark .comments-illustration {
  color: #e0e0e0;
}
.comments-empty-title {
  font-size: 19px;
  font-weight: 750;
  color: var(--ink, #111);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.comments-empty-sub {
  font-size: 13.5px;
  color: #777;
  line-height: 1.4;
}
.comments-input-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--paper, #fff);
  border-top: 1px solid var(--stroke, #eee);
  padding: 10px 16px max(env(safe-area-inset-bottom), 12px);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 20;
}
.comments-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 1px solid var(--stroke, #e0e0e0);
}
.comments-input-pill {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--panel, #f3f4f6);
  border-radius: 24px;
  padding: 4px 6px 4px 16px;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.comments-input-pill:focus-within {
  border-color: var(--teal, #1A998E);
  background: var(--paper, #fff);
}
.comments-input-pill input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--ink, #111);
  outline: none;
  padding: 7px 0;
}
.comments-input-pill input::placeholder {
  color: #999;
}
.comments-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal, #1A998E);
  color: #fff;
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 6px;
}
.comments-send-btn .svg {
  width: 17px;
  height: 17px;
  stroke: #fff;
}
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.comment-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--stroke, #f0f0f0);
}
.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.comment-body-area {
  flex: 1;
  min-width: 0;
}
.comment-author-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}
.comment-author-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink, #111);
}
.comment-dot {
  font-size: 12px;
  color: var(--muted, #888);
}
.comment-time {
  font-size: 11.5px;
  color: var(--muted, #888);
}
.comment-text {
  font-size: 14px;
  line-height: 1.45;
  color: #333;
}
body.dark .comment-text {
  color: #ddd;
}
.comment-like-button {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #888;
  padding: 4px;
  flex-shrink: 0;
}
.comment-like-button .svg {
  width: 18px;
  height: 18px;
}
.comment-like-button.liked {
  color: var(--teal, #1A998E);
}
.comment-like-count {
  font-size: 10px;
  font-weight: 600;
}

/* ==========================================================================
   Dailyhunt Article Detail Page & In-Feed Video Experience
   ========================================================================== */
.dh-detail-root {
  position: relative;
  background: var(--paper, #fff);
  color: var(--ink, #111);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding-bottom: 0;
  font-family:var(--nh-script-font,NewsItScripts),-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  touch-action: pan-y;
  will-change: transform;
}
.dh-detail-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.2) 65%, rgba(0, 0, 0, 0) 100%);
  border-bottom: 0;
  pointer-events: none;
}
body.dark .dh-detail-nav {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.2) 65%, rgba(0, 0, 0, 0) 100%);
  border-bottom-color: transparent;
}
.dh-detail-nav button {
  pointer-events: auto;
}
.dh-detail-center-header {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  padding: 0 8px;
  min-width: 0;
}
.dh-detail-cat-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink, #111);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}
body.dark .dh-detail-cat-name {
  color: #f1f3f7;
}
.dh-pager-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 10px;
  margin-top: 3px;
}
.dh-pager-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.2s ease;
  display: inline-block;
}
body.dark .dh-pager-dot {
  background: #374151;
}
.dh-pager-dot.active {
  width: 7px;
  height: 7px;
  background: #e53935 !important;
  box-shadow: 0 0 4px rgba(229, 57, 53, 0.45);
}
.dh-pager-dot.edge {
  width: 3.5px;
  height: 3.5px;
  opacity: 0.6;
}
.dh-nav-back {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: grid;
  place-items: center;
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
  border-radius: 50%;
}
.dh-nav-back .svg {
  width: 24px;
  height: 24px;
}
.dh-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dh-nav-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}
.dh-nav-btn .svg {
  width: 22px;
  height: 22px;
}
.dh-nav-count {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
body.dark .dh-nav-count {
  color: #fff;
}
.dh-nav-wa svg,
.dh-nav-wa .svg {
  fill: #fff !important;
  stroke: none !important;
}
.dh-detail-media {
  width: 100%;
  background: #000;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.dh-detail-hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  max-height: none;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}
.dh-detail-video {
  width: 100%;
  max-height: 230px;
  background: #000;
  display: block;
}
.dh-detail-media .nh-detail-player { aspect-ratio:16/9; max-height:none; position:relative; overflow:hidden; }
.nh-detail-engine { position:absolute; inset:0; }
.nh-detail-poster { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; pointer-events:none; transition:opacity .15s; }
.nh-detail-start { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); display:grid; place-items:center; width:52px; height:52px; border-radius:50%; color:#fff; background:#111a; border:1px solid #ffffff50; backdrop-filter:blur(8px); }
.nh-detail-has-frame .nh-detail-poster,.nh-detail-has-frame .nh-detail-start { opacity:0; visibility:hidden; pointer-events:none; }
.dh-detail-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  scrollbar-width: none;
  padding: 16px 16px 72px;
  max-width: 680px;
  margin: 0 auto;
}
.dh-detail-content::-webkit-scrollbar { display: none; }
.dh-detail-title {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.38;
  color: var(--ink, #111);
  margin: 8px 0 14px;
}
.dh-author-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stroke, #eee);
  margin-bottom: 8px;
}
.dh-author-left {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}
.dh-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.dh-author-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.dh-author-name-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dh-author-name {
  font-size: 15px;
  font-weight: 750;
  color: var(--ink, #111);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dh-verified-icon {
  font-size: 13px;
  color: #1da1f2;
  font-weight: bold;
}
.dh-author-subs {
  font-size: 11.5px;
  color: var(--muted, #777);
  margin-top: 1px;
}
.dh-follow-btn {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  cursor: pointer;
  flex-shrink: 0;
  transition: 0.2s;
}
body.dark .dh-follow-btn {
  background: #fff;
  color: #000;
}
.dh-follow-btn.following {
  background: #eee;
  color: #333;
}
body.dark .dh-follow-btn.following {
  background: #333;
  color: #eee;
}
.dh-disclaimer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--muted, #888);
  padding: 4px 0 16px;
}
.dh-read-tools {
  display: flex;
  gap: 6px;
}
.dh-read-tools button {
  background: rgba(0,0,0,0.05);
  border: none;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  color: inherit;
}
body.dark .dh-read-tools button {
  background: rgba(255,255,255,0.1);
}
.dh-article-body {
  font-size: 16.5px;
  line-height: 1.62;
  color: #222;
  margin-bottom: 16px;
  max-width: 100% !important;
  overflow-x: hidden !important;
  word-break: break-word;
  text-align: left;
}
body.dark .dh-article-body {
  color: #ddd;
}
.dh-article-body p {
  margin: 0 0 11px 0;
  max-width: 100% !important;
}
.dh-article-body p:empty,
.dh-article-body div:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.dh-article-body > :last-child {
  margin-bottom: 0;
}
.dh-article-body h1,
.dh-article-body h2,
.dh-article-body h3,
.dh-article-body h4 {
  margin: 14px 0 8px 0;
  line-height: 1.35;
}
.dh-article-body div,
.dh-article-body figure,
.dh-article-body blockquote,
.dh-article-body ul,
.dh-article-body ol {
  margin: 0 0 11px 0;
}
.dh-article-body br + br {
  display: none;
}
.dh-article-body img,
.dh-article-body p img,
.dh-article-body figure img,
.dh-article-body table,
.dh-article-body iframe,
.dh-article-body video {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  max-height: 240px !important;
  object-fit: cover !important;
  display: block !important;
  margin: 12px auto !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
}

/* Reaction Block */
.dh-reaction-section {
  margin: 28px 0;
  padding: 16px;
  background: #fbfbfb;
  border-radius: 12px;
  border: 1px solid #eee;
}
body.dark .dh-reaction-section {
  background: #181818;
  border-color: #2a2a2a;
}
.dh-reaction-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.dh-section-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink, #111);
  margin: 0;
}
.dh-reaction-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}
.dh-reaction-boxes {
  display: flex;
  gap: 10px;
}
.dh-react-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 6px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
body.dark .dh-react-box {
  background: #242424;
  border-color: #383838;
}
.dh-react-box.selected {
  border-color: #25D366;
  background: #f0fdf4;
}
body.dark .dh-react-box.selected {
  background: #143522;
  border-color: #25D366;
}
.dh-react-emoji {
  font-size: 26px;
  margin-bottom: 4px;
}
.dh-react-pct {
  font-size: 13px;
  font-weight: 750;
  color: #333;
}
body.dark .dh-react-pct {
  color: #eee;
}

/* Recommended Stories */
.dh-rec-section {
  margin: 26px 0;
}
.dh-rec-list {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}
.dh-rec-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--stroke, #eee);
  cursor: pointer;
}
.dh-rec-card-title {
  flex: 1;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  color: var(--ink, #111);
  margin: 0;
}
.dh-rec-card-thumb {
  width: 90px;
  height: 65px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  background-color: #eee;
}

/* In-Page Comments */
.dh-inline-comments {
  margin: 28px 0;
}
.dh-comments-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.dh-count-pill {
  font-size: 13px;
  font-weight: 700;
  padding: 2px 8px;
  background: #eee;
  border-radius: 12px;
  color: #555;
}
body.dark .dh-count-pill {
  background: #333;
  color: #ddd;
}
.dh-compose-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 18px;
  padding: 6px 14px;
  background: #f4f4f4;
  border-radius: 24px;
}
body.dark .dh-compose-inline {
  background: #242424;
}
.dh-my-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.dh-inline-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: inherit;
  outline: none;
}
.dh-inline-send {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
body.dark .dh-inline-send {
  background: #fff;
  color: #000;
}
.dh-inline-send .svg {
  width: 14px;
  height: 14px;
}
.dh-comment-row {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--stroke, #f0f0f0);
}
.dh-c-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  background-color: #e0e0e0;
}
.dh-c-main {
  flex: 1;
  min-width: 0;
}
.dh-c-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}
.dh-c-top b {
  font-size: 13.5px;
  color: var(--ink, #111);
}
.dh-c-time {
  font-size: 11.5px;
  color: var(--muted, #888);
}
.dh-c-more {
  margin-left: auto;
  background: transparent;
  border: none;
  color: #888;
  cursor: pointer;
  padding: 2px;
}
.dh-c-text {
  font-size: 14px;
  line-height: 1.45;
  color: #333;
  margin: 3px 0 6px;
}
body.dark .dh-c-text {
  color: #ddd;
}
.dh-c-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dh-c-btn {
  background: transparent;
  border: none;
  font-size: 12px;
  color: #777;
  cursor: pointer;
  padding: 2px 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dh-c-btn.liked {
  color: #1da1f2;
}
.dh-c-reply {
  font-weight: 600;
  color: #444;
}
body.dark .dh-c-reply {
  color: #bbb;
}
.dh-btn-view-all {
  width: 100%;
  background: #000;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-top: 14px;
}
body.dark .dh-btn-view-all {
  background: #fff;
  color: #000;
}
.dh-btn-repost {
  width: 100%;
  background: transparent;
  color: #111;
  border: 1.5px solid #111;
  padding: 11px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
}
body.dark .dh-btn-repost {
  border-color: #eee;
  color: #eee;
}

/* Hashtags */
.dh-hashtags-block {
  margin: 22px 0 40px;
}
.dh-hashtags-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.dh-ht-chip {
  background: transparent;
  border: 1px solid #111;
  color: #111;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 2px;
}
body.dark .dh-ht-chip {
  border-color: #ddd;
  color: #ddd;
}

/* In-Feed Video Card */
.dh-infeed-video-card {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--stroke, #eee);
  padding-bottom: 14px;
}
.dh-vid-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  cursor: pointer;
}
.dh-infeed-preview-engine {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.dh-infeed-preview-engine .nh-player-root,
.dh-infeed-preview-engine video,
.dh-infeed-preview-engine iframe {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border: none !important;
  pointer-events: none;
}
.dh-infeed-preview-engine .nh-player-center,
.dh-infeed-preview-engine .nh-player-bottom,
.dh-infeed-preview-engine .nh-player-toast,
.dh-infeed-preview-engine .nh-player-subtitles,
.dh-infeed-preview-engine .nh-center-btn,
.dh-infeed-preview-engine .nh-ctrl-btn,
.dh-infeed-preview-engine .nh-progress-container,
.dh-infeed-preview-engine button {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.dh-infeed-poster-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  transition: opacity 0.15s ease;
  pointer-events: none;
  background: #000;
}
.dh-infeed-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dh-infeed-video-card.has-frame .dh-infeed-poster-wrap {
  opacity: 0 !important;
}
.dh-infeed-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dh-vid-rec-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.5px;
  pointer-events: none;
}
.dh-rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f44336;
  box-shadow: 0 0 6px #f44336;
  animation: dhPulse 1.5s infinite;
}
@keyframes dhPulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}
.dh-vid-timestamp {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.85);
  font-size: 10.5px;
  font-family:var(--nh-script-font,NewsItScripts),monospace;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 3px;
  pointer-events: none;
}
.dh-vid-bottom-overlay {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
  justify-content: space-between;
  align-items: center;
}
.dh-vid-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.dh-vid-duration {
  background: rgba(0,0,0,0.65);
  padding: 2px 6px;
  border-radius: 4px;
}
.dh-vid-mute-btn {
  background: rgba(0, 0, 0, 0.65);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.dh-vid-mute-btn .svg {
  width: 18px;
  height: 18px;
}

/* Infinite Scroll Spinner */
.dh-infinite-loading {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 0;
  color: #777;
  font-size: 13px;
  font-weight: 600;
}
.dh-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-top-color: #25D366;
  border-radius: 50%;
  animation: dhSpin 0.7s linear infinite;
}
@keyframes dhSpin {
  to { transform: rotate(360deg); }
}

/* ========================================================
   NEWSHOUR VIDEO UI STYLE (Header, Tabs, Avatar+Search, Top Story Carousel, Popular News)
   ======================================================== */
.nh-home-screen {
  padding-bottom: 24px;
  --nh-home-gutter: 16px;
  --nh-home-header-height: 52px;
  --nh-home-section-gap: 8px;
  background: #f3f3f3;
}

/* 1. Header Bar */
.nh-video-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--nh-home-header-height);
  padding: 0 var(--nh-home-gutter);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 0;
}
.nh-video-header > .nh-head-icon-btn { justify-self: start; margin-left: -6px; }
.nh-head-icon-btn {
  background: none;
  border: none;
  padding: 6px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #1e293b;
  border-radius: 50%;
  transition: background 0.15s ease;
}
.nh-head-icon-btn:active {
  background: #f1f5f9;
}
.nh-head-icon-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nh-app-logo {
  font-family:var(--nh-script-font,NewsItScripts),-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.6px;
  user-select: none;
}
.nh-logo-news {
  color: #0f172a;
}
.nh-logo-hunt {
  color: #f59e0b;
  margin-left: 1px;
}
.nh-head-right-actions {
  justify-self: end;
  margin-right: -6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nh-bell-btn {
  position: relative;
}
.nh-bell-btn .nh-unread-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  border: 1.5px solid #fff;
}

/* 2. Category Tabs Rail */
.nh-cat-tabs-rail {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 44px;
  flex-shrink: 0;
  padding: 0 var(--nh-home-gutter);
  background: #ffffff;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid #d7d7d7;
  position: sticky;
  top: var(--nh-home-header-height);
  z-index: 55;
}
.nh-cat-tabs-rail::-webkit-scrollbar {
  display: none;
}
.nh-cat-tab {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 500;
  color: #969696;
  height: 100%;
  padding: 0 0 3px;
  position: relative;
  white-space: nowrap;
  cursor: pointer;
  font-family:inherit;
  transition: color 0.2s ease;
}
.nh-cat-tab.active {
  color: #0f172a;
  font-weight: 700;
}
.nh-cat-tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  border-radius: 3px 3px 0 0;
}

/* 3. User Avatar + Search Pill Row */
.nh-user-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 64px;
  padding: 10px var(--nh-home-gutter);
  background: transparent;
}
.nh-user-avatar-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 50%;
}
.nh-user-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 0;
}
.nh-search-pill-box {
  flex: 1;
  height: 44px;
  min-width: 0;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #d5d5d5;
  display: flex;
  align-items: center;
  padding: 0 16px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease;
}
.nh-search-pill-box:active {
  border-color: var(--teal);
}
.nh-search-pill-text {
  font-size: 16px;
  color: #212121;
  font-weight: 500;
}

/* 4. "Top Story" Hero Carousel / Slider */
.nh-carousel-container {
  margin: 0 0 var(--nh-home-section-gap);
  padding: 0 var(--nh-home-gutter);
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.nh-top-story-carousel-wrap {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 14px;
  padding: 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}
.nh-top-story-carousel-wrap::-webkit-scrollbar {
  display: none;
}
.nh-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
  border-radius: 5px;
  height: auto;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: none;
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
}
.nh-carousel-slide-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(0,0,0,.48) 54%);
  pointer-events: none;
}
.nh-top-story-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--teal);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 0.2px;
}
.nh-top-story-likes {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}
.nh-top-story-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  z-index: 2;
  pointer-events: none;
}
.nh-heart-icon { display: flex; }
.nh-heart-icon .svg { width: 19px; height: 19px; fill: currentColor; stroke: none; }
.nh-top-story-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}
.nh-top-story-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}
.nh-top-story-meta svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.nh-carousel-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
}
.nh-carousel-dot {
  width: 5px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #8e8e95;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nh-carousel-dot.active {
  width: 22px;
  height: 4px;
  border-radius: 3px;
  background: var(--teal);
}

/* 5. "Popular News" Header */
.nh-popular-news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--nh-home-gutter) 8px;
}
.nh-pop-left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nh-pop-bar {
  width: 3.5px;
  height: 26px;
  background: var(--teal);
  border-radius: 2px;
}
.nh-pop-title {
  font-size: 22px;
  font-weight: 750;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.2px;
}
.nh-pop-view-all {
  background: none;
  border: none;
  color: var(--teal);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  font-family:inherit;
}

.nh-home-screen .gn-title {
  margin-inline: var(--nh-home-gutter);
}

.nh-home-screen .gn-footer {
  padding-inline: var(--nh-home-gutter);
}

/* Dark Mode Overrides */
.dark .nh-home-screen { background: var(--paper, #18181b); }
.dark .nh-video-header {
  background: var(--paper, #18181b);
  border-color: #27272a;
}
.dark .nh-logo-news {
  color: #f8fafc;
}
.dark .nh-head-icon-btn {
  color: #f1f5f9;
}
.dark .nh-cat-tabs-rail {
  background: var(--paper, #18181b);
  border-color: #27272a;
}
.dark .nh-cat-tab {
  color: #94a3b8;
}
.dark .nh-cat-tab.active {
  color: #f8fafc;
}
.dark .nh-user-search-row {
  background: transparent;
}
.dark .nh-search-pill-box {
  background: #1e293b;
  border-color: #334155;
}
.dark .nh-search-pill-text {
  color: #cbd5e1;
}
.dark .nh-pop-title {
  color: #f8fafc;
}
.dark .nh-carousel-dot {
  background: #475569;
}

/* Zero-Shake Viewport Lock & Image Stabilization */
html, body {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}
.app {
  width: 100% !important;
  max-width: 510px !important;
  overflow-x: hidden !important;
}
main, #main {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}
.nh-home-screen,
.detail-shell,
.dh-detail-root,
.dh-detail-content,
.dh-article-body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

:root {
  --teal: #1A998E;
  --teald: #157f78;
  --lightteal: #edf9f7;
  --newsit-teal: var(--teal);
  --stroke: #e8efec;
  --panel: #f7faf8;
}

.nav,
.screenhead,
.ui-page-head {
  background-color: var(--paper);
  border-color: var(--stroke);
}

.nav button.sel,
.more,
.settings-group-label,
.profile-root .url,
.detail-shell .inline-follow,
.ui-section-label,
.ui-pills button.selected,
.ui-comment-actions .liked,
.ui-discussion-cta button,
.ui-share-summary > span,
.ui-small-teal.ghost,
.ui-tag,
.ui-check,
.ui-language-list .selected,
.ui-search-lite:focus-within .svg {
  color: var(--teal);
}

.nav button.sel .svg,
.ui-pills button.selected,
.ui-field input:focus,
.ui-field textarea:focus,
.ui-field select:focus,
.ui-photo-grid button.selected {
  border-color: var(--teal);
}

.ui-primary:not(.ui-secondary),
.bookmark-add,
.followchip:not(.active),
.ui-logo,
.ui-avatar-edit > span,
.ui-toggle-row input:checked,
.ui-select-chip.active,
.ui-small-teal:not(.ghost),
.ui-success > div,
.w-city-search button,
.dh-inline-send {
  background-color: var(--teal);
}

.ui-primary,
.bookmark-add,
.followchip:not(.active),
.ui-logo,
.ui-avatar-edit > span,
.ui-select-chip.active,
.ui-small-teal:not(.ghost),
.ui-success > div,
.dh-inline-send {
  color: #fff;
}

.ui-primary.ui-secondary {
  background: transparent;
  border: 1px solid var(--teal);
  color: var(--teal);
}

.chip.active,
.chip.selected,
.chip.sel,
.ui-select-chip.active,
.dh-react-box.selected {
  border-color: var(--teal);
}

.dh-react-box.selected {
  background: var(--lightteal);
}

.dh-inline-send,
body.dark .dh-inline-send {
  background: var(--teal);
  color: #fff;
}

.v10-number span,
.v10-author .v10-follow,
.v10-action.active {
  color: var(--teal);
}

.v10-bar {
  background: var(--teal);
}

.v10-action.active .svg {
  fill: currentColor;
}

.google-news-card {
  cursor: pointer;
  touch-action: manipulation;
}

.google-news-card:active {
  background-color: var(--lightteal);
}

/* Reading-first magazine cards: stable photographs, quiet metadata and
   consistent gutters. Only the feed content changes; navigation stays shared. */
.nh-editorial-card{padding:12px 16px 0;margin:0;background:var(--paper);border-bottom:4px solid #eef1ed}
.nh-home-screen #dh-stories-container{background:var(--paper)}
.nh-editorial-card .gn-media-full{width:100%;max-height:none;aspect-ratio:16/9;background:var(--nh-photo-placeholder,#e5eee7);overflow:hidden;border-radius:3px;isolation:isolate}
.nh-editorial-card .gn-img-full{height:100%;max-height:none;width:100%;position:absolute;inset:0;background:none}
.gn-feed-photo{display:block;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 160ms ease}
.has-frame .gn-feed-photo{opacity:1}
.nh-image-missing:before{content:'';position:absolute;inset:0;background:url('images/newsit-mark.svg') center/44px no-repeat;opacity:.18}
.nh-editorial-card .gn-title{font-family:var(--nh-script-font,NewsItScripts),Georgia,'Times New Roman',serif;font-size:22px;font-weight:600;line-height:1.32;letter-spacing:-.25px;margin:8px 0 4px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;color:var(--ink)}
.nh-editorial-card .gn-summary{font-size:14px;line-height:1.55;color:#626a64;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.nh-editorial-card .gn-feed-source{display:flex;align-items:center;margin:8px 0 0;min-width:0}
.nh-editorial-card .gn-pub{padding:0;display:inline-flex;flex:0 1 auto;max-width:100%;min-height:32px;text-align:start;border-radius:0}
.nh-editorial-card .gn-pub-logo{width:22px;height:22px;flex-shrink:0}
.nh-editorial-card .gn-pub-name{font-size:12.5px;font-weight:500;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nh-editorial-card .gn-footer{display:flex;padding:0 0 4px;gap:8px;min-height:44px}
.nh-editorial-card .gn-ago{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:#858c86}
.nh-editorial-card .gn-actions-clean{gap:0;flex-shrink:0;margin-right:-10px}
.nh-editorial-card .gn-icon-only{width:40px;height:44px;border-radius:0;padding:10px;color:#3e4842}
.nh-editorial-card .gn-icon-only .svg{width:19px;height:19px;stroke-width:1.5}
.nh-editorial-card:active{background:var(--paper)}
.nh-editorial-card :is(button:active){background:var(--lightteal)}
.nh-editorial-card :is(.gn-title,.gn-summary):lang(ur){line-height:2.2;letter-spacing:normal}
.nh-home-screen .dh-infeed-video-card{border-bottom:4px solid #eef1ed;background:var(--paper);margin-bottom:0;padding-bottom:0}
.nh-home-screen .dh-vid-player-wrap{width:calc(100% - 32px);margin:12px 16px 0;border-radius:3px;overflow:hidden}
.nh-home-screen .dh-infeed-video-card .gn-title{font-family:var(--nh-script-font,NewsItScripts),Georgia,'Times New Roman',serif;font-size:22px;font-weight:600;line-height:1.32;letter-spacing:-.25px}
.nh-home-screen .dh-infeed-video-card:lang(ur) .gn-title{line-height:2.2;letter-spacing:normal}
.nh-home-screen .webstories-rail{padding-top:12px}
body.dark .nh-editorial-card{background:var(--paper);border-bottom-color:#272d2a}
body.dark .nh-editorial-card .gn-summary{color:#b8c1ba}
body.dark .nh-editorial-card .gn-icon-only{color:#d8dfd9}
body.dark .nh-editorial-card .gn-ago{color:#a2aca5}
body.dark .nh-home-screen .dh-infeed-video-card{border-bottom-color:#272d2a}
@media(max-width:350px){.nh-editorial-card .gn-title{font-size:20px}.nh-editorial-card .gn-summary{font-size:13px}.nh-editorial-card .gn-icon-only{width:36px}}
@media(prefers-reduced-motion:reduce){.gn-feed-photo{transition:none}}

.google-news-card .gn-actions-clean,
.google-news-card .gn-pub {
  cursor: auto;
}

.dh-infeed-video-card .gn-title {
  cursor: pointer;
  touch-action: manipulation;
}

.nh-pull-indicator {
  position: absolute;
  z-index: 10001;
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  left: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--stroke);
  border-radius: 50%;
  background: var(--paper);
  color: var(--teal);
  box-shadow: 0 2px 8px rgba(18, 53, 47, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-100% + var(--pull-distance, 0px)));
  transition: opacity 120ms ease, transform 100ms ease;
}

.nh-pull-indicator.is-pulling,
.nh-pull-indicator.is-refreshing {
  opacity: 1;
}

.nh-pull-indicator.is-ready {
  border-color: var(--teal);
  background: var(--lightteal);
}

.nh-pull-indicator span {
  font-size: 24px;
  line-height: 1;
}

.nh-pull-indicator.is-refreshing span {
  animation: nh-refresh-spin 700ms linear infinite;
}

@keyframes nh-refresh-spin {
  to { transform: rotate(360deg); }
}

::view-transition-group(nh-article-hero) {
  animation-duration: 420ms;
  animation-timing-function: cubic-bezier(0.2, 0.75, 0.25, 1);
}

::view-transition-old(nh-article-hero),
::view-transition-new(nh-article-hero) {
  height: 100%;
  object-fit: cover;
  animation-duration: 420ms;
}

::view-transition-old(root) {
  animation: nh-article-root-out 180ms ease both;
}

::view-transition-new(root) {
  animation: nh-article-root-in 300ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes nh-article-root-out {
  to { opacity: 0.72; }
}

@keyframes nh-article-root-in {
  from { opacity: 0.78; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dh-article-root.dh-article-enter {
  animation: nh-article-root-in 300ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

#main.nh-article-back {
  animation: nh-article-root-in 240ms ease both;
}

@media (prefers-reduced-motion: reduce) {
  .nh-pull-indicator,
  .nh-pull-indicator.is-refreshing span,
  .dh-article-root.dh-article-enter,
  #main.nh-article-back {
    animation: none;
    transition: none;
  }
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.dh-follow-btn:not(.following) {
  background: var(--teal);
  color: #fff;
}

.dh-follow-btn.following {
  background: var(--lightteal);
  border: 1px solid var(--teal);
  color: var(--teald);
}

body.dark .dh-follow-btn.following {
  background: #17352e;
  border-color: var(--teal);
  color: #7ce6d7;
}

.dh-verified-icon {
  color: var(--teal);
}

.nh-video-caption {
  background: #12352f;
  border-top: 1px solid rgba(26, 153, 142, 0.48);
}

.searchbox {
  border: 1px solid transparent;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.searchbox:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26, 153, 142, 0.12);
}

/* Magazine rhythm. Flat article nodes preserve pagination, accessibility and
   the four-article video cadence even when a paired row spans API pages. */
#dh-stories-container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
#dh-stories-container>*{grid-column:1/-1;min-width:0}
#dh-stories-container>.nh-layout-pair-left{grid-column:1}
#dh-stories-container>.nh-layout-pair-right{grid-column:2}
.nh-layout-pair-left,.nh-layout-pair-right{display:flex;flex-direction:column;min-width:0;padding-bottom:0}
.nh-layout-pair-left{padding-left:16px;padding-right:8px}
.nh-layout-pair-right{padding-left:8px;padding-right:16px}
:is(.nh-layout-pair-left,.nh-layout-pair-right) .gn-card-content{display:flex;flex-direction:column;flex:1;min-width:0}
:is(.nh-layout-pair-left,.nh-layout-pair-right) .gn-media-full{aspect-ratio:16/10;flex:none}
:is(.nh-layout-pair-left,.nh-layout-pair-right) .gn-title{display:block;font-size:16px;line-height:1.3;letter-spacing:-.1px;height:64px;flex:none;margin:8px 0 4px}
.nh-pair-title-lines{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;max-height:3.9em;overflow:hidden}
:is(.nh-layout-pair-left,.nh-layout-pair-right) .gn-summary{display:none}
:is(.nh-layout-pair-left,.nh-layout-pair-right) .gn-feed-source{margin:4px 0 0;min-height:28px}
:is(.nh-layout-pair-left,.nh-layout-pair-right) .gn-pub-logo{width:18px;height:18px}
:is(.nh-layout-pair-left,.nh-layout-pair-right) .gn-pub-name{font-size:11.5px}
:is(.nh-layout-pair-left,.nh-layout-pair-right) .gn-footer{margin-top:auto;gap:2px;min-height:40px}
:is(.nh-layout-pair-left,.nh-layout-pair-right) .gn-ago{font-size:10px}
:is(.nh-layout-pair-left,.nh-layout-pair-right) .gn-actions-clean{margin-right:-6px}
:is(.nh-layout-pair-left,.nh-layout-pair-right) .gn-icon-only{width:34px;height:40px;padding:8px}
:is(.nh-layout-pair-left,.nh-layout-pair-right) .gn-icon-only:is([aria-label=Share],[aria-label=Comments],[aria-label=Like]){display:none}
:is(.nh-layout-pair-left,.nh-layout-pair-right):lang(ur) .gn-title{font-size:16px;line-height:2.2;height:72px}
:is(.nh-layout-pair-left,.nh-layout-pair-right):lang(ur) .nh-pair-title-lines{-webkit-line-clamp:2;max-height:4.4em}

.nh-layout-cover{position:relative;isolation:isolate;padding-bottom:12px}
.nh-layout-cover .gn-media-full{aspect-ratio:4/5;border-radius:3px}
.nh-layout-cover .gn-media-full:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 20%,rgba(0,0,0,.12) 35%,rgba(0,0,0,.88) 100%);pointer-events:none}
.nh-layout-cover .gn-card-content{position:absolute;left:28px;right:28px;bottom:20px;z-index:1}
.nh-layout-cover .gn-title{color:#fff;font-size:24px;line-height:1.3;letter-spacing:-.3px;margin:0 0 8px;-webkit-line-clamp:4;text-shadow:0 1px 8px #0006}
.nh-layout-cover .gn-summary{display:none}
.nh-layout-cover .gn-feed-source{margin-top:0}
.nh-layout-cover .gn-pub-name{color:#fff}
.nh-layout-cover .gn-ago{color:#e4e8e5}
.nh-layout-cover .gn-icon-only{color:#fff}
.nh-layout-cover .gn-footer{padding-bottom:0}
.nh-layout-cover:lang(ur) .gn-title{font-size:22px;line-height:2.2;-webkit-line-clamp:3}
body.dark .nh-layout-cover :is(.gn-title,.gn-pub-name,.gn-icon-only){color:#fff}
body.dark .nh-layout-cover .gn-ago{color:#e4e8e5}

.nh-layout-side{display:grid;grid-template-columns:minmax(0,1fr) 112px;column-gap:12px;align-items:start}
.nh-layout-side .gn-card-content{display:contents}
.nh-layout-side .gn-media-full{grid-column:2;grid-row:1;aspect-ratio:1;margin:0}
.nh-layout-side .gn-title{grid-column:1;grid-row:1;font-size:20px;line-height:1.32;margin:0;-webkit-line-clamp:4}
.nh-layout-side .gn-summary{display:none}
.nh-layout-side .gn-feed-source,.nh-layout-side .gn-footer{grid-column:1/-1}
.nh-layout-side:lang(ur) .gn-title{line-height:2.2;-webkit-line-clamp:3}
@media(max-width:350px){
 :is(.nh-layout-pair-left,.nh-layout-pair-right) .gn-title{font-size:16px}
 .nh-layout-cover .gn-card-content{left:28px;right:28px}.nh-layout-cover .gn-title{font-size:22px}
 .nh-layout-side{grid-template-columns:minmax(0,1fr) 96px;column-gap:12px}.nh-layout-side .gn-title{font-size:18px}
}

/* Match video-card spacing to the adjacent article cards. */
.nh-home-screen .dh-infeed-video-card .gn-title{margin:8px 16px 4px}
.nh-home-screen .dh-infeed-video-card .gn-footer{padding:0 16px 4px;min-height:44px}
.nh-topic-screen .nh-popular-news-header{padding-top:12px}
.nh-header-spacer{display:block;width:32px;height:32px;flex-shrink:0}

/* Report Content Modal & Bottom Sheet */
#nh-report-modal-root {
  position: fixed;
  inset: 0;
  z-index: 999999;
  pointer-events: none;
}
#nh-report-modal-root.active {
  pointer-events: auto;
}
#nh-report-modal-root.active .nh-sheet-backdrop {
  opacity: 1;
}
#nh-report-modal-root.active .nh-sheet {
  transform: translateY(0);
}
.nh-report-sheet {
  max-height: 88vh;
  overflow-y: auto;
  padding: 12px 20px max(env(safe-area-inset-bottom), 24px);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.18);
}
.nh-report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.nh-report-title {
  font-size: 19px;
  font-weight: 750;
  color: var(--ink, #212121);
  margin: 0;
}
.nh-report-close-btn {
  font-size: 26px;
  line-height: 1;
  border: none;
  background: transparent;
  color: var(--muted, #888);
  cursor: pointer;
  padding: 4px;
}
.nh-report-desc {
  font-size: 13.5px;
  color: var(--muted, #666);
  line-height: 1.45;
  margin-bottom: 16px;
}
.nh-report-reasons-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.nh-report-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1.5px solid var(--stroke, #e8e8e8);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.18s ease;
  background: var(--paper, #fff);
}
.nh-report-option:active,
.nh-report-option.selected {
  border-color: var(--teal, #1a998e);
  background: rgba(26, 153, 142, 0.06);
}
.nh-report-option input[type="radio"] {
  display: none;
}
.nh-report-radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  transition: all 0.18s ease;
}
.nh-report-option.selected .nh-report-radio-circle {
  border-color: var(--teal, #1a998e);
  background: var(--teal, #1a998e);
  box-shadow: inset 0 0 0 3px #fff;
}
.nh-report-option-label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink, #222);
}
.nh-report-msg-box {
  margin-bottom: 16px;
}
.nh-report-msg-box textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--stroke, #e8e8e8);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-family: inherit;
  resize: vertical;
  background: var(--paper, #fff);
  color: var(--ink, #222);
}
.nh-report-msg-box textarea:focus {
  outline: none;
  border-color: var(--teal, #1a998e);
}
.nh-report-btn-row {
  display: flex;
  gap: 10px;
}
.nh-report-cancel,
.nh-report-submit {
  flex: 1;
  padding: 13px;
  border-radius: 24px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: opacity 0.18s ease;
}
.nh-report-cancel {
  background: var(--panel, #f0f0f0);
  color: var(--ink, #444);
}
.nh-report-submit {
  background: var(--teal, #1a998e);
  color: #fff;
}
.nh-report-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
body.dark .nh-report-option {
  border-color: #333;
  background: #23272b;
}
body.dark .nh-report-option.selected {
  border-color: var(--teal, #1a998e);
  background: rgba(26, 153, 142, 0.15);
}
body.dark .nh-report-option-label {
  color: #eee;
}
body.dark .nh-report-msg-box textarea {
  border-color: #333;
  background: #23272b;
  color: #eee;
}
body.dark .nh-report-cancel {
  background: #2b3035;
  color: #ddd;
}

/* Unified Search: All / Articles / Videos & Shorts / Channels */
.nh-search-clear-btn {
  border: none;
  background: transparent;
  color: var(--muted, #767682);
  font-size: 20px;
  line-height: 1;
  padding: 2px 6px;
  cursor: pointer;
  flex-shrink: 0;
}
.nh-search-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 12px;
  scrollbar-width: none;
}
.nh-search-tabs::-webkit-scrollbar { display: none; }
.nh-search-tab {
  border: 1px solid var(--stroke, #e5e7eb);
  background: var(--panel, #f4f5f7);
  color: var(--ink, #1f2430);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.nh-search-tab.active {
  background: #be080d;
  border-color: #be080d;
  color: #fff;
}
.nh-search-cnt {
  font-size: 11px;
  font-weight: 800;
  opacity: 0.78;
}
.nh-search-cnt:empty { display: none; }
.nh-search-section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 8px;
}
.nh-search-section-hd b {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink, #121216);
}
.nh-search-section-hd button {
  border: none;
  background: transparent;
  color: #be080d;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 2px;
  cursor: pointer;
}
.nh-search-ch-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 6px;
}
.nh-search-ch-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--paper, #fff);
  border: 1px solid var(--stroke, #eceef2);
  cursor: pointer;
}
.nh-search-ch-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #f1f5f9;
}
.nh-search-ch-ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #be080d;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}
.nh-search-ch-info {
  flex: 1;
  min-width: 0;
}
.nh-search-ch-name {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nh-search-ch-name b {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink, #121216);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nh-search-ch-info small {
  display: block;
  font-size: 11.5px;
  color: var(--muted, #6b7280);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.nh-search-follow-btn {
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  background: #be080d;
  color: #fff;
  flex-shrink: 0;
  cursor: pointer;
}
.nh-search-follow-btn.following {
  background: var(--panel, #eef0f4);
  color: var(--ink, #333);
}
.nh-search-vid-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.nh-search-vid-card {
  display: flex;
  gap: 11px;
  padding: 8px;
  border-radius: 14px;
  background: var(--paper, #fff);
  border: 1px solid var(--stroke, #eceef2);
  cursor: pointer;
  align-items: center;
}
.nh-search-vid-thumb {
  position: relative;
  width: 128px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
}
.nh-search-vid-thumb.is-short {
  width: 82px;
  aspect-ratio: 9 / 14;
}
.nh-search-vid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nh-search-vid-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.56);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.nh-search-vid-play svg {
  width: 14px;
  height: 14px;
  fill: #fff;
}
.nh-search-badge-reel,
.nh-search-badge-dur {
  position: absolute;
  right: 5px;
  bottom: 5px;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
}
.nh-search-badge-reel {
  background: #e51b2b;
}
.nh-search-badge-dur {
  background: rgba(0, 0, 0, 0.78);
}
.nh-search-vid-body {
  flex: 1;
  min-width: 0;
}
.nh-search-vid-body h3 {
  margin: 0 0 5px;
  font-size: 13.5px;
  line-height: 1.32;
  font-weight: 700;
  color: var(--ink, #121216);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nh-search-vid-body p {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted, #6b7280);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.dark .nh-search-tab {
  background: #24262c;
  border-color: #32353e;
  color: #e5e7eb;
}
body.dark .nh-search-tab.active {
  background: #be080d;
  border-color: #be080d;
  color: #fff;
}
body.dark .nh-search-ch-card,
body.dark .nh-search-vid-card {
  background: #1f2127;
  border-color: #2c2f38;
}
body.dark .nh-search-ch-name b,
body.dark .nh-search-vid-body h3,
body.dark .nh-search-section-hd b {
  color: #f3f4f6;
}
body.dark .nh-search-follow-btn.following {
  background: #2c303a;
  color: #e5e7eb;
}
