:root {
  --video-primary: #2563eb;
  --video-bg: #f5f7fb;
  --video-card: #ffffff;
  --video-text: #111827;
  --video-muted: #6b7280;
  --video-line: #e5e7eb;
  --video-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  --video-radius: 14px;
  --video-max: 1280px;
}

html body.video-theme {
  min-width: 0 !important;
  padding-top: 64px;
  color: var(--video-text);
  background: var(--video-bg) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

.video-theme a {
  color: inherit;
  text-decoration: none;
}

.video-theme img {
  max-width: 100%;
}

.video-theme .header1,
.video-theme .tpboxx1,
.video-theme .top_bar_box,
.video-theme .nav_slide,
.video-theme .mus_box {
  display: none !important;
}

.video-theme .wp {
  width: 100% !important;
  max-width: var(--video-max);
  box-sizing: border-box;
}

.video-theme .whole_box1 {
  min-height: calc(100vh - 64px);
  padding: 20px 0 32px;
  overflow: visible;
}

.video-theme .whole_box1 > .section1x {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  max-width: var(--video-max);
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.video-theme #wp.serch_wp {
  min-width: 0;
  margin: 0;
}

.video-theme .whole_box1 > .section1x > #wp.serch_wp {
  display: none !important;
}

/* Keep Discuz guide/rank pages visible inside the video theme shell. */
body.video-theme.pg_guide .whole_box1 > .section1x > #wp.serch_wp {
  display: block !important;
  box-sizing: border-box !important;
  width: calc(100% - 300px) !important;
  max-width: 1060px !important;
  min-width: 0 !important;
  min-height: 360px !important;
  margin: 16px 24px 16px 250px !important;
}

body.video-theme.pg_guide .whole_box1 {
  height: auto !important;
  min-height: calc(100vh - 64px) !important;
  overflow: visible !important;
}

body.video-theme.pg_guide .whole_box1 > .section1x {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

body.video-theme.pg_guide .footer {
  position: relative !important;
  clear: both !important;
  margin-top: 24px !important;
  z-index: 1 !important;
}

body.video-theme.pg_guide #wp.serch_wp .boardnav,
body.video-theme.pg_guide #wp.serch_wp #ct,
body.video-theme.pg_guide #wp.serch_wp #ct > .mn {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

body.video-theme.pg_guide #wp.serch_wp #ct > .mn {
  margin: 0 !important;
}

body.video-theme.pg_guide .boan_ad_home_top {
  max-width: 100% !important;
  margin: 0 0 14px !important;
}

.video-theme .whole_box1 > .section1x > .boardnav,
.video-theme .whole_box1 > .section1x > #ct,
.video-theme .whole_box1 > .section1x > .text-content,
.video-theme .whole_box1 > .section1x > .wp:not(#wp) {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.video-theme.pg_forumdisplay .whole_box1 > .section1x > .wp:not(#wp) {
  display: none !important;
}

.video-site-header {
  position: fixed;
  z-index: 990;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.video-header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
  max-width: var(--video-max);
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.video-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 42px;
}

.video-brand img {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 38px;
  object-fit: contain;
}

.video-main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.video-main-nav a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.video-main-nav a:hover,
.video-main-nav a.is-active {
  color: var(--video-primary);
  background: #eff6ff;
}

.video-search {
  display: flex;
  align-items: center;
  flex: 1 1 260px;
  max-width: 320px;
  height: 40px;
  margin-left: auto;
  padding: 0 6px 0 14px;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  background: #f8fafc;
  box-sizing: border-box;
}

.video-search input {
  flex: 1;
  min-width: 0;
  height: 36px;
  border: 0;
  outline: 0;
  color: var(--video-text);
  background: transparent;
  font-size: 14px;
}

.video-search button {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--video-primary);
  cursor: pointer;
}

.video-search button span::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.video-search button span::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 19px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: rotate(45deg);
  transform-origin: left center;
}

.video-upload,
.video-login,
.video-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--video-primary);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.video-auth-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.video-register {
  color: var(--video-primary) !important;
  background: #eff6ff;
  box-shadow: none;
}

.video-user-wrap {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  z-index: 1200;
}

.video-user {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  max-width: 180px;
  min-width: 38px;
  height: 38px;
  padding: 0 10px 0 3px;
  overflow: visible;
  border: 0;
  border-radius: 999px;
  background: #e5edff;
  cursor: pointer;
}

.video-user img,
.video-user .avt img {
  width: 34px !important;
  height: 34px !important;
  object-fit: cover;
  border-radius: 50%;
}

.video-user-name {
  overflow: hidden;
  color: #1f2937;
  font-size: 13px;
  font-weight: 800;
  line-height: 38px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  gap: 4px;
  width: 188px;
  padding: 8px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.video-user-wrap:hover .video-user-menu,
.video-user-wrap.is-open .video-user-menu,
.video-mobile-account.is-open .video-user-menu,
.video-bottom-account.is-open .video-user-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.video-user-menu a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 9px;
  color: #334155 !important;
  font-size: 13px;
  font-weight: 700;
}

.video-user-menu a:hover {
  color: var(--video-primary) !important;
  background: #eff6ff;
}

.video-user-menu em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: var(--video-primary);
  font-size: 11px;
  font-style: normal;
}

.video-mobile-account {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.video-mobile-account-toggle {
  display: grid;
  justify-items: center;
  gap: 3px;
  width: 100%;
  border: 0;
  color: #64748b;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.video-mobile-account.is-open .video-mobile-account-toggle {
  color: var(--video-primary);
}

.video-mobile-user-menu {
  position: fixed;
  right: 12px;
  bottom: 74px;
  top: auto;
  width: 176px;
  transform: translateY(8px);
  transform-origin: bottom right;
}

.bottombar .video-bottom-account {
  position: relative;
}

.bottombar {
  right: 0;
  width: 100vw !important;
  max-width: 100vw;
  box-sizing: border-box;
  overflow: visible;
}

.bottombar ul {
  display: flex !important;
  width: 100% !important;
  margin: 0;
  padding: 0;
}

.bottombar ul li {
  float: none !important;
  flex: 0 0 20%;
  width: 20% !important;
  min-width: 0;
}

.bottombar .video-bottom-account-toggle {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: #9e9e9e;
  background: transparent;
  font: inherit;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

.bottombar .video-bottom-account-toggle .fa {
  display: inline-block;
  margin: 0;
  font-size: 20px;
}

.bottombar .video-bottom-account-toggle p {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
}

.bottombar .video-bottom-account.active .video-bottom-account-toggle,
.bottombar .video-bottom-account.is-open .video-bottom-account-toggle {
  color: var(--video-primary);
}

.video-bottom-user-menu {
  position: fixed;
  right: 10px;
  bottom: 66px;
  top: auto;
  width: 176px;
  transform: translateY(8px);
  transform-origin: bottom right;
  z-index: 10002;
}

.video-category-rail {
  position: sticky;
  top: 84px;
  align-self: start;
  max-height: calc(100vh - 108px);
  padding: 14px;
  overflow: auto;
  border-radius: 16px;
  background: var(--video-card);
  box-shadow: var(--video-shadow);
  box-sizing: border-box;
}

.video-category-group + .video-category-group {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--video-line);
}

.video-category-group h3 {
  margin: 0 0 8px;
  color: var(--video-muted);
  font-size: 12px;
  font-weight: 700;
}

.video-category-group a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 11px;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  box-sizing: border-box;
}

.video-category-group a + a {
  margin-top: 3px;
}

.video-category-group a span {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.video-category-group a em {
  margin-left: auto;
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.video-category-group a:hover,
.video-category-group a.is-active {
  color: var(--video-primary);
  background: #eff6ff;
}

.video-category-group a:hover span,
.video-category-group a.is-active span {
  background: var(--video-primary);
}

.video-category-group a:hover em,
.video-category-group a.is-active em {
  color: var(--video-primary);
}

.video-theme #ct,
.video-theme .text-content,
.video-theme .module_box1,
.video-theme .cardx,
.video-theme .bm,
.video-theme .bmw {
  border: 0 !important;
  border-radius: var(--video-radius) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.video-theme #ct {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-top: 0 !important;
}

.video-theme #ct .mn {
  width: calc(100% - 300px) !important;
  min-width: 0;
}

.video-theme #ct .sd {
  width: 280px !important;
}

.video-theme.pg_forumdisplay #ct,
.video-theme.pg_index #ct {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
}

.video-theme.pg_forumdisplay #ct .mn,
.video-theme.pg_index #ct .mn {
  grid-column: 1;
  float: none !important;
  width: auto !important;
}

.video-theme.pg_forumdisplay #ct .sd,
.video-theme.pg_index #ct .sd {
  grid-column: 2;
  grid-row: 1;
  float: none !important;
  width: auto !important;
}

.video-theme.pg_forumdisplay #ct.video-forumdisplay-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
}

.video-theme.pg_forumdisplay #ct.video-forumdisplay-layout > .bdl_box {
  display: none !important;
}

.video-theme.pg_forumdisplay #ct.video-forumdisplay-layout > .video-forumdisplay-main {
  float: none !important;
  grid-column: 1;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

.video-theme.pg_forumdisplay #ct.video-forumdisplay-layout > .sd {
  display: block !important;
  grid-column: 2;
  grid-row: 1;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.video-theme .mn > .module_box1,
.video-theme .sd > .module_box1,
.video-theme .sd .box_1,
.video-theme .fl.bm,
.video-theme .tl.bm {
  background: var(--video-card) !important;
  border-radius: 16px !important;
  box-shadow: var(--video-shadow) !important;
}

.video-theme .sd img,
.video-theme .portal_block_summary img {
  border-radius: 12px;
  object-fit: cover;
}

.video-theme .xm-movie-hot,
.video-theme #portal_block_10 {
  width: 100% !important;
  overflow: hidden;
  border-radius: 16px;
  background: var(--video-card);
}

#nv_portal.video-theme #portal_block_10 {
  display: none !important;
}

#nv_portal.video-theme #video_random_movie_hot {
  margin-bottom: 15px;
}

.video-theme #nv_portal .whole_box1 .wp > .cl:has(> .adapted_box),
#nv_portal.video-theme .whole_box1 .wp > .cl:has(> .adapted_box) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 20px;
  align-items: start;
}

#nv_portal.video-theme .bdl_box {
  display: none !important;
}

#nv_portal.video-theme .adapted_box {
  grid-column: 1;
  grid-row: 1;
  float: none !important;
  width: auto !important;
  min-width: 0;
}

#nv_portal.video-theme .rightbox {
  grid-column: 2;
  grid-row: 1;
  display: block !important;
  float: none !important;
  width: 270px !important;
}

#nv_portal.video-theme #portal_block_10_content {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

#nv_portal.video-theme #portal_block_10_content > .portal_block_summary {
  width: 100% !important;
  height: auto !important;
}

.video-theme .xm-movie-hot ul,
.video-theme .xm-movie-hot .module,
.video-theme #portal_block_10 .dxb_bc,
#nv_portal.video-theme .xm-movie-hot-grid {
  display: grid;
  grid-template-columns: 2.05fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 128px));
  gap: 10px;
  align-items: stretch;
  width: 100% !important;
  height: 266px !important;
  min-height: 266px;
  overflow: hidden;
}

.video-theme .xm-movie-hot li,
.video-theme .xm-movie-hot .move-span,
.video-theme .xm-movie-hot .cl_frame_bm,
#nv_portal.video-theme .xm-movie-hot-grid a {
  display: block;
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #dbeafe;
  aspect-ratio: 16 / 9;
}

.video-theme .xm-movie-hot li:first-child,
.video-theme .xm-movie-hot .move-span:first-child,
#nv_portal.video-theme .xm-movie-hot-grid a.big {
  grid-row: 1 / 3;
  grid-column: 1 / 2 !important;
  align-self: stretch;
  height: 100% !important;
  aspect-ratio: auto;
}

#nv_portal.video-theme .xm-movie-hot-grid a:not(.big) {
  width: auto !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
}

#nv_portal.video-theme .xm-movie-hot-grid > a:nth-of-type(2) {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 2 !important;
}

#nv_portal.video-theme .xm-movie-hot-grid > a:nth-of-type(3) {
  grid-column: 3 / 4 !important;
  grid-row: 1 / 2 !important;
}

#nv_portal.video-theme .xm-movie-hot-grid > a:nth-of-type(4) {
  grid-column: 2 / 3 !important;
  grid-row: 2 / 3 !important;
}

#nv_portal.video-theme .xm-movie-hot-grid > a:nth-of-type(5) {
  grid-column: 3 / 4 !important;
  grid-row: 2 / 3 !important;
}

#nv_portal.video-theme .xm-movie-hot-grid a:nth-child(n+6) {
  display: none !important;
}

.video-theme .xm-movie-hot img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.35s ease;
}

.video-theme .xm-movie-hot a:hover img {
  transform: scale(1.04);
}

.video-theme .xm-movie-hot h2,
.video-theme .xm-movie-hot h3,
.video-theme .xm-movie-hot p,
.video-theme .xm-movie-hot span {
  letter-spacing: 0;
}

.video-theme .fl_tb,
.video-theme .fl_tb tbody,
.video-theme .fl_tb tr {
  display: block;
}

.video-theme .fl_tb tr {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.video-theme .fl_tb td.fl_g,
.video-theme .fl_g {
  display: block;
  width: auto !important;
  min-height: 96px;
  padding: 16px !important;
  border: 1px solid var(--video-line) !important;
  border-radius: 14px;
  background: #fff;
  box-sizing: border-box;
}

.video-theme .fl_g:hover {
  border-color: #bfdbfe !important;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.08);
}

.video-threadlist {
  overflow: hidden;
  padding: 16px !important;
  background: transparent !important;
  box-sizing: border-box;
}

.video-list-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.video-list-title strong {
  display: block;
  color: var(--video-text);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  font-stretch: normal;
  -webkit-font-smoothing: antialiased;
}

.video-list-title span {
  display: block;
  margin-top: 4px;
  color: var(--video-muted);
  font-size: 13px;
}

.video-list-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.video-list-filters a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #475569;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.video-list-filters a:hover,
.video-list-filters a.is-active {
  color: #fff;
  background: var(--video-primary);
}

.video-threadlist-body {
  padding: 0 !important;
}

.video-thread-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--video-card);
  box-shadow: var(--video-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}

.video-card-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #f1f5f9);
}

.video-card-cover.is-empty {
  background:
    radial-gradient(circle at 24% 24%, rgba(37, 99, 235, 0.22), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(14, 165, 233, 0.18), transparent 28%),
    linear-gradient(135deg, #dbeafe 0%, #eff6ff 48%, #f8fafc 100%);
}

.video-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.video-card:hover .video-card-cover img {
  transform: scale(1.045);
}

.video-card-shade {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.68));
  pointer-events: none;
}

.video-card-label {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  height: 24px;
  padding: 0 9px;
  overflow: hidden;
  border-radius: 999px;
  color: #fff;
  background: rgba(37, 99, 235, 0.92);
  font-size: 12px;
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.video-card-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.video-card-play::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 9px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--video-primary);
}

.video-card-cover.is-empty .video-card-play {
  display: none;
}

.video-cover-default {
  position: absolute;
  inset: 0;
  display: block;
}

.video-cover-default::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.16);
  transform: translate(-50%, -50%);
}

.video-cover-default::after {
  content: "";
  position: absolute;
  left: calc(50% - 5px);
  top: calc(50% - 11px);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--video-primary);
}

.video-card-body {
  padding: 12px 12px 14px;
}

.video-card-body h2 {
  height: 44px;
  margin: 0;
  overflow: hidden;
  color: var(--video-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
}

.video-card-body h2 a:hover {
  color: var(--video-primary);
}

.video-card-meta,
.video-card-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-top: 9px;
  color: var(--video-muted);
  font-size: 12px;
  line-height: 18px;
}

.video-card-meta span,
.video-card-stats span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.video-card-author {
  max-width: 50%;
}

.video-stat-views,
.video-stat-comments {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.video-stat-views em,
.video-stat-comments em {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #cbd5e1;
}

.video-stat-comments em {
  border-radius: 4px;
}

.video-card-mod {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--video-muted);
  font-size: 12px;
}

.video-channel-page {
  width: 100% !important;
  max-width: var(--video-max) !important;
  min-width: 0;
  margin: 0 auto !important;
}

.video-theme.pg_index #ct.video-channel-page {
  display: block !important;
  grid-template-columns: none !important;
}

.video-theme.pg_index #ct.video-channel-page > * {
  grid-column: auto !important;
  grid-row: auto !important;
}

.video-channel-page .bm,
.video-channel-page .bmw {
  background: transparent !important;
  box-shadow: none !important;
}

.video-channel-hero,
.video-channel-block {
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--video-card);
  box-shadow: var(--video-shadow);
}

.video-channel-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 28px;
  padding: 24px;
  box-sizing: border-box;
}

.video-channel-hero-copy {
  min-width: 0;
}

.video-channel-hero-copy > span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--video-primary);
  background: #eff6ff;
  font-size: 13px;
  font-weight: 800;
}

.video-channel-hero h1 {
  margin: 12px 0 8px;
  color: var(--video-text);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.video-channel-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--video-muted);
  font-size: 15px;
  line-height: 1.8;
}

.video-channel-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 10px;
  align-self: center;
  min-width: 330px;
}

.video-channel-stats div {
  padding: 16px 14px;
  border: 1px solid #e5edf8;
  border-radius: 14px;
  background: #f8fafc;
  box-sizing: border-box;
  text-align: center;
}

.video-channel-stats strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--video-primary);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-channel-stats span {
  display: block;
  margin-top: 6px;
  color: var(--video-muted);
  font-size: 12px;
  font-weight: 700;
}

.video-channel-block {
  padding: 18px;
  box-sizing: border-box;
}

.video-channel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.video-channel-head strong {
  display: block;
  color: var(--video-text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.video-channel-head span {
  display: block;
  margin-top: 4px;
  color: var(--video-muted);
  font-size: 13px;
}

.video-channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.video-channel-card {
  position: relative;
  display: flex;
  gap: 14px;
  min-width: 0;
  min-height: 142px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid #e5edf8;
  border-radius: 16px;
  color: var(--video-text);
  background: #fff;
  box-sizing: border-box;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.video-hierarchy-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: stretch;
  min-height: 156px;
  padding: 12px;
}

.video-channel-cover {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 18%, rgba(37, 99, 235, 0.22), transparent 30%),
    linear-gradient(135deg, #dbeafe 0%, #f8fafc 100%);
  aspect-ratio: 16 / 10;
}

.video-channel-cover::after {
  content: "";
  position: absolute;
  inset: auto -22px -34px auto;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
}

.video-channel-cover .video-channel-icon {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.video-channel-cover img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-hierarchy-card:hover .video-channel-cover img {
  transform: scale(1.045);
}

.video-channel-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #eff6ff;
  pointer-events: none;
}

.video-channel-card:hover {
  z-index: 1;
  border-color: #bfdbfe;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
}

.video-channel-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eff6ff;
}

.video-channel-icon::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 15px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--video-primary);
}

.video-channel-icon i,
.video-channel-icon i::before,
.video-channel-icon i::after {
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #93c5fd;
  content: "";
}

.video-channel-icon i {
  left: 11px;
  top: 12px;
}

.video-channel-icon i::before {
  left: 0;
  top: 10px;
}

.video-channel-icon i::after {
  left: 0;
  top: 20px;
}

.video-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.video-channel-icon.video-channel-icon-svg {
  color: var(--video-primary);
  background: rgba(239, 246, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.78), 0 10px 24px rgba(37, 99, 235, 0.12);
}

.video-channel-icon.video-channel-icon-svg::before,
.video-channel-icon.video-channel-icon-svg i,
.video-channel-icon.video-channel-icon-svg i::before,
.video-channel-icon.video-channel-icon-svg i::after {
  display: none;
}

.video-channel-icon.video-channel-icon-svg svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.video-channel-icon-flower,
.video-channel-icon-aperture {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
}

.video-channel-icon-smartphone,
.video-channel-icon-camera {
  background: linear-gradient(135deg, #eef6ff 0%, #f8fafc 100%);
}

.video-channel-icon-radio,
.video-channel-icon-trophy {
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.video-hierarchy-card:hover .video-channel-cover .video-channel-icon-svg {
  transform: translate(-50%, calc(-50% - 1px));
  box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.95), 0 14px 26px rgba(37, 99, 235, 0.16);
}

.video-channel-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
}

.video-channel-card-body strong {
  display: block;
  overflow: hidden;
  color: var(--video-text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-channel-card-body em {
  display: -webkit-box;
  min-height: 42px;
  margin-top: 7px;
  overflow: hidden;
  color: var(--video-muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.video-channel-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--video-muted);
  font-size: 12px;
  line-height: 20px;
}

.video-channel-card-meta b {
  color: var(--video-primary);
  font-size: 15px;
}

.video-channel-card-meta i {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eff6ff;
  font-style: normal;
  font-weight: 700;
}

.video-channel-toolbar {
  margin-bottom: 14px;
}

.video-channel-stream {
  overflow: visible;
}

.video-channel-filterbar a {
  border: 1px solid #e5edf8;
}

.video-channel-video-grid {
  gap: 18px;
}

.video-channel-video-card {
  box-shadow: 0 7px 22px rgba(15, 23, 42, 0.05);
}

.video-channel-my {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.video-channel-my a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--video-primary);
  background: #eff6ff;
  font-size: 13px;
  font-weight: 800;
}

.video-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 36px;
  margin: 0 0 12px;
  color: var(--video-muted);
  font-size: 13px;
  font-weight: 700;
}

.video-breadcrumb a,
.video-breadcrumb em {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  font-style: normal;
}

.video-breadcrumb a:hover {
  color: var(--video-primary);
}

.video-breadcrumb em {
  color: var(--video-primary);
  background: #eff6ff;
}

.video-breadcrumb span {
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  border-top: 2px solid #cbd5e1;
  border-right: 2px solid #cbd5e1;
  transform: rotate(45deg);
}

.video-subforum-nav {
  margin: 0 0 16px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--video-shadow);
  box-sizing: border-box;
}

.video-subforum-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.video-subforum-head strong {
  color: var(--video-text);
  font-size: 17px;
  font-weight: 800;
}

.video-subforum-head span {
  color: var(--video-muted);
  font-size: 13px;
  font-weight: 700;
}

.video-subforum-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.video-subforum-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  color: #334155;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 800;
}

.video-subforum-tabs a:hover,
.video-subforum-tabs a.is-active {
  color: #fff;
  border-color: var(--video-primary);
  background: var(--video-primary);
}

.video-subforum-tabs em {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--video-primary);
  background: #fff;
  font-size: 11px;
  font-style: normal;
  line-height: 18px;
  text-align: center;
}

.video-announcement,
.video-empty-state,
.video-hidden-thread,
.video-post-cta {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--video-shadow);
}

.video-empty-state {
  display: grid;
  gap: 6px;
  color: var(--video-muted);
  text-align: center;
}

.video-empty-state strong {
  color: var(--video-text);
  font-size: 16px;
}

.video-post-cta .pgsbtn,
.video-theme .btn-primaryx,
.video-theme .dingzhi_pst_btn,
.video-theme .dingzhi_rpl_btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: var(--video-primary) !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.16) !important;
  font-weight: 700;
}

.video-theme .sd .module_box1,
.video-theme .sd .box_1,
.video-theme .sd .drag,
.video-theme .sd .bm {
  overflow: hidden;
  margin-bottom: 16px !important;
  padding: 14px !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: var(--video-shadow) !important;
}

.video-theme .sd li:nth-child(1) em,
.video-theme .sd li:nth-child(1) .num,
.video-theme .sd li:nth-child(1) .xw1 {
  color: #b45309 !important;
}

.video-theme .sd li:nth-child(2) em,
.video-theme .sd li:nth-child(2) .num,
.video-theme .sd li:nth-child(2) .xw1 {
  color: #64748b !important;
}

.video-theme .sd li:nth-child(3) em,
.video-theme .sd li:nth-child(3) .num,
.video-theme .sd li:nth-child(3) .xw1 {
  color: #92400e !important;
}

.video-theme .loading_list .media.thread > a.online,
.video-theme .loading_list .media.thread > .media-body > .d-flex.justify-content-between:first-child,
.video-theme .loading_list .media.thread > .media-body > .small,
.video-theme .loading_list .media.thread > .media-body > .d-flex .badge-primary,
.video-theme .loading_list .media.thread > .media-body > .d-flex .badge-info,
.video-theme .loading_list .media.thread .username.text-muted,
.video-theme .loading_list .media.thread .d-flex.justify-content-between.small .hidden-sm,
.video-theme .loading_list .media.thread .d-flex.justify-content-between.small .mx-1 {
  display: none !important;
}

.video-theme .loading_list .media.thread {
  display: block !important;
}

.video-theme .loading_list .media.thread > .media-body {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.video-theme .loading_list .media.thread .style1_subject_body {
  width: 100% !important;
  margin-left: 0 !important;
}

.video-theme .loading_list .media.thread .left_img_box {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.video-theme .loading_list .media.thread .style1_subject_body > .brief.small {
  display: none !important;
}

.video-theme.pg_viewthread .video-category-rail {
  display: block !important;
  grid-column: 1;
  align-self: start;
}

.video-theme.pg_viewthread .whole_box1 > .section1x {
  display: grid !important;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 20px;
  max-width: 1240px;
}

.video-theme.pg_viewthread .whole_box1 > .section1x > #wp.serch_wp {
  display: block !important;
  grid-column: 2;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
}

.video-theme.pg_viewthread .whole_box1 > .section1x > #ct.video-viewthread-layout,
.video-theme.pg_viewthread #wp.serch_wp > #ct.video-viewthread-layout {
  grid-column: 1;
  display: grid !important;
  grid-template-columns: minmax(0, 820px) minmax(280px, 300px);
  justify-content: center;
  align-items: start;
  gap: 24px;
  width: 100%;
  max-width: none;
  margin: 0 auto !important;
  padding: 0;
  box-sizing: border-box;
}

.video-theme.pg_viewthread #ct.video-viewthread-layout > .col-lg-1 {
  display: none !important;
}

.video-theme.pg_viewthread .video-view-main {
  float: none !important;
  width: 100% !important;
  min-width: 0;
}

.video-theme.pg_viewthread #ct.video-viewthread-layout > .video-view-main {
  grid-column: 1;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.video-theme.pg_viewthread .video-view-sidebar {
  display: block !important;
  float: none !important;
  width: 300px !important;
  min-width: 0;
  position: sticky;
  top: 84px;
}

.video-theme.pg_viewthread #ct.video-viewthread-layout > .video-view-sidebar {
  grid-column: 2;
  width: 300px !important;
  max-width: none !important;
  margin: 0 !important;
}

.video-theme.pg_viewthread #pt {
  display: none !important;
}

.video-theme.pg_viewthread .dingzhi_fbhf {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 14px !important;
}

.video-theme.pg_viewthread .dingzhi_fbhf a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--video-primary) !important;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.video-theme.pg_viewthread #postlist,
.video-theme.pg_viewthread #postlistreply.pl,
.video-theme.pg_viewthread .thread_box1 {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.video-theme.pg_viewthread .viewbox.module_box1 {
  margin: 0 0 18px !important;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 16px !important;
  background: var(--video-card) !important;
  box-shadow: var(--video-shadow) !important;
}

.video-theme.pg_viewthread .td_tit {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 26px 28px 20px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--video-line) !important;
  border-radius: 16px 16px 0 0 !important;
  background: #fff !important;
  overflow: visible !important;
  box-sizing: border-box;
}

.video-theme.pg_viewthread .td_tit .vwthduser,
.video-theme.pg_viewthread .td_tit .vwthdreplies,
.video-theme.pg_viewthread .td_tit .vwthdviews,
.video-theme.pg_viewthread .td_tit .btn_s_close,
.video-theme.pg_viewthread .td_tit .btn_s_open {
  display: none !important;
}

.video-theme.pg_viewthread .td_tit > .xg1,
.video-theme.pg_viewthread .td_tit > .y {
  display: none !important;
}

.video-theme.pg_viewthread .td_tit .v_tit {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--video-text) !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}

.video-theme.pg_viewthread .td_tit .v_tit a {
  color: var(--video-primary) !important;
}

.video-theme.pg_viewthread .td_tit .xg1 {
  display: block;
  float: none !important;
  margin-top: 12px !important;
  color: var(--video-muted) !important;
  font-size: 12px;
}

.video-detail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  color: var(--video-muted);
  font-size: 13px;
}

.video-detail-author,
.video-detail-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.video-detail-avatar {
  display: block;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 50%;
  background: #e0ecff;
}

.video-detail-avatar img {
  display: block;
  width: 38px !important;
  height: 38px !important;
  object-fit: cover;
}

.video-detail-avatar.is-empty {
  box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.16);
}

.video-detail-name {
  color: var(--video-text);
  font-weight: 700;
}

.video-detail-uid,
.video-detail-stats span {
  color: var(--video-muted);
}

.video-detail-stats span + span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 8px 2px 0;
  border-radius: 50%;
  background: #cbd5e1;
}

.video-theme.pg_viewthread .plhin {
  width: 100% !important;
  border: 0 !important;
}

.video-theme.pg_viewthread .plhin tbody,
.video-theme.pg_viewthread .plhin tr {
  width: 100%;
}

.video-theme.pg_viewthread .plc,
.video-theme.pg_viewthread .pct {
  color: var(--video-text);
}

.video-theme.pg_viewthread .firstfloor .plhin,
.video-theme.pg_viewthread .firstfloor .plhin tbody,
.video-theme.pg_viewthread .firstfloor .plhin tr,
.video-theme.pg_viewthread .firstfloor .plhin td {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box;
}

.video-theme.pg_viewthread .firstfloor .plhin td.pls,
.video-theme.pg_viewthread .firstfloor .plhin > tbody > tr:first-child > td.plc > .pi {
  display: none !important;
}

.video-theme.pg_viewthread .firstfloor .plhin td.plc {
  padding: 0 28px 24px !important;
  background: #fff !important;
}

.video-theme.pg_viewthread .firstfloor .pct {
  padding-top: 22px !important;
}

.video-theme.pg_viewthread .otherfloor .plhin,
.video-theme.pg_viewthread .otherfloor .plhin tbody {
  display: block !important;
  width: 100% !important;
}

.video-theme.pg_viewthread .otherfloor .plhin tr {
  display: grid !important;
  grid-template-columns: 68px minmax(0, 1fr);
  width: 100%;
  box-sizing: border-box;
}

.video-theme.pg_viewthread .otherfloor .plhin tr > td.pls {
  display: block !important;
  grid-column: 1;
  width: auto !important;
  min-width: 0 !important;
  padding: 18px 0 0 18px !important;
  border: 0 !important;
  background: #fff !important;
  box-sizing: border-box;
}

.video-theme.pg_viewthread .otherfloor .plhin tr > td.plc {
  display: block !important;
  grid-column: 2;
  width: auto !important;
  padding: 0 18px 0 0 !important;
  border: 0 !important;
  background: #fff !important;
  box-sizing: border-box;
}

.video-theme.pg_viewthread .otherfloor .plhin tr:nth-child(n+2) > td.plc {
  grid-column: 1 / -1;
  padding: 0 18px 16px 86px !important;
}

.video-theme.pg_viewthread .otherfloor .pls .pi,
.video-theme.pg_viewthread .otherfloor .pls .tns,
.video-theme.pg_viewthread .otherfloor .pls .pil,
.video-theme.pg_viewthread .otherfloor .pls p,
.video-theme.pg_viewthread .otherfloor .pls .o,
.video-theme.pg_viewthread .otherfloor .pls .cp_pls,
.video-theme.pg_viewthread .otherfloor .pls .avatar + p {
  display: none !important;
}

.video-theme.pg_viewthread .otherfloor .pls .avatar {
  display: block !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 50%;
  background: #e0ecff;
}

.video-theme.pg_viewthread .otherfloor .pls .avatar img,
.video-theme.pg_viewthread .otherfloor .pls .avatar a {
  display: block !important;
  width: 42px !important;
  height: 42px !important;
}

  .video-theme.pg_viewthread .otherfloor .pls .avatar img {
    object-fit: cover;
  }

  .video-theme.pg_viewthread .otherfloor .pls.favatar {
    width: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .video-theme.pg_viewthread .otherfloor .pls.favatar > a,
  .video-theme.pg_viewthread .otherfloor .pls.favatar > .p_pop,
  .video-theme.pg_viewthread .otherfloor .pls.favatar > .pi,
  .video-theme.pg_viewthread .otherfloor .pls.favatar > .tns,
  .video-theme.pg_viewthread .otherfloor .pls.favatar > p,
  .video-theme.pg_viewthread .otherfloor .pls.favatar > .pil,
  .video-theme.pg_viewthread .otherfloor .pls.favatar > .plso {
    display: none !important;
  }

  .video-theme.pg_viewthread .otherfloor .pls.favatar > div {
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
  }

  .video-theme.pg_viewthread .otherfloor .pls.favatar > div:not(:has(.avatar)):not(.pi) {
    display: none !important;
  }

  .video-theme.pg_viewthread .otherfloor .pls.favatar > .pi {
    position: absolute;
    left: 40px;
    top: -2px;
    display: block !important;
    width: 90px !important;
    height: 24px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--video-text);
    font-size: 13px;
    font-weight: 800;
    line-height: 24px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .video-theme.pg_viewthread .otherfloor .pls.favatar > .pi .authi {
    display: block !important;
    width: 100%;
    height: 24px;
    overflow: hidden;
    line-height: 24px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .video-theme.pg_viewthread .otherfloor .pls.favatar > .pi a {
    color: var(--video-text) !important;
  }

.video-theme.pg_viewthread .otherfloor .pi {
  position: relative;
  min-height: 0 !important;
  height: auto !important;
  padding: 18px 82px 8px 0 !important;
  border: 0 !important;
  overflow: visible !important;
}

.video-theme.pg_viewthread .otherfloor .pi > strong {
  position: absolute;
  top: 18px;
  right: 0;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

  .video-theme.pg_viewthread .otherfloor .pi .pti,
  .video-theme.pg_viewthread .otherfloor .pi .authi {
    float: none !important;
    display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  color: var(--video-muted);
  font-size: 13px;
  line-height: 20px;
}

.video-theme.pg_viewthread .otherfloor .pi .authi a {
  color: var(--video-text) !important;
  font-weight: 700;
}

.video-theme.pg_viewthread .otherfloor .pi .authicn,
.video-theme.pg_viewthread .otherfloor .pi .pipe,
.video-theme.pg_viewthread .otherfloor .pi .show {
  display: none !important;
}

.video-theme.pg_viewthread .pcb,
.video-theme.pg_viewthread .t_f,
.video-theme.pg_viewthread .pct {
  max-width: 100%;
  color: var(--video-text) !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}

.video-theme.pg_viewthread .pcb {
  min-height: 0 !important;
}

.video-theme.pg_viewthread .pcb img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-theme.pg_viewthread .pcb img:hover {
  transform: scale(1.015);
}

.video-theme.pg_viewthread .firstfloor .pcb iframe,
.video-theme.pg_viewthread .firstfloor .pcb video,
.video-theme.pg_viewthread .firstfloor .pcb embed,
.video-theme.pg_viewthread .firstfloor .pcb object {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9;
  min-height: 240px;
  border: 0;
  border-radius: 14px;
  background: #020617;
}

.video-theme.pg_viewthread .pcb a[href*="attachment.php"],
.video-theme.pg_viewthread .pcb a[href*="forum.php?mod=attachment"],
.video-theme.pg_viewthread .t_attach a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 8px;
  padding: 0 14px;
  border-radius: 10px;
  color: #fff !important;
  background: var(--video-primary);
  font-size: 13px;
  font-weight: 700;
}

.video-theme.pg_viewthread .po.hin {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.video-theme.pg_viewthread .pob {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--video-line);
}

.video-theme.pg_viewthread .pob em,
.video-theme.pg_viewthread .pob p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  float: none !important;
  margin: 0 !important;
}

.video-theme.pg_viewthread .pob a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px !important;
  border-radius: 999px;
  color: var(--video-primary) !important;
  background: #eff6ff !important;
  font-size: 12px !important;
  font-weight: 700;
}

.video-theme.pg_viewthread .pob a.fastre {
  color: #fff !important;
  background: var(--video-primary) !important;
}

.video-theme.pg_viewthread #p_btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 0 !important;
}

.video-theme.pg_viewthread #p_btn a {
  border-radius: 999px !important;
  background: #eff6ff !important;
}

.video-side-card {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  background: var(--video-card);
  box-shadow: var(--video-shadow);
}

.video-portal-sidebar {
  display: grid;
  gap: 16px;
}

.video-side-card h3 {
  margin: 0 0 12px;
  color: var(--video-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 22px;
}

.video-side-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.video-side-channel {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  background: #f8fafc;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.video-side-channel:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.video-side-channel i {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(14, 165, 233, 0.72));
}

.video-side-channel strong {
  overflow: hidden;
  color: var(--video-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-side-channel em {
  color: var(--video-muted);
  font-size: 12px;
  font-style: normal;
}

.video-side-list {
  display: grid;
  gap: 10px;
}

.video-side-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.video-side-item:hover {
  transform: translateY(-2px);
  background: #f8fafc;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.video-side-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 24%, rgba(37, 99, 235, 0.2), transparent 30%),
    linear-gradient(135deg, #dbeafe, #f8fafc);
}

.video-side-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-side-item:hover .video-side-thumb img {
  transform: scale(1.045);
}

.video-side-info {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.video-side-info strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--video-text);
  font-size: 13px;
  font-weight: 750;
  line-height: 18px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.video-side-info em {
  color: var(--video-muted);
  font-size: 12px;
  font-style: normal;
}

.video-side-banner {
  position: relative;
  display: block;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(14, 165, 233, 0.68)),
    url("../images/video-ad-placeholder.jpg");
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.video-side-banner span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.video-rank-list {
  counter-reset: video-rank;
}

.video-rank-list .video-side-item {
  grid-template-columns: 34px minmax(0, 1fr);
}

.video-rank-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #64748b;
  background: #f1f5f9;
  font-size: 13px;
  font-weight: 800;
}

.video-rank-no::before {
  counter-increment: video-rank;
  content: counter(video-rank);
}

.video-rank-list .video-side-item:nth-child(1) .video-rank-no {
  color: #92400e;
  background: #fef3c7;
}

.video-rank-list .video-side-item:nth-child(2) .video-rank-no {
  color: #475569;
  background: #e2e8f0;
}

.video-rank-list .video-side-item:nth-child(3) .video-rank-no {
  color: #9a3412;
  background: #ffedd5;
}

.video-theme#nv_search,
#nv_search.video-theme {
  background: var(--video-bg) !important;
}

#nv_search.video-theme .video-category-rail {
  display: none !important;
}

#nv_search.video-theme .whole_box1 > .section1x {
  display: block;
  height: auto !important;
  min-height: calc(100vh - 104px) !important;
  padding: 20px 16px 32px !important;
}

#nv_search.video-theme .whole_box1 > .section1x > #wp.serch_wp {
  display: block !important;
  width: 100% !important;
  max-width: var(--video-max) !important;
  min-width: 0 !important;
  margin: 0 auto !important;
}

#nv_search.video-theme #ct.video-search-page {
  width: calc(100% - 32px) !important;
  max-width: var(--video-max) !important;
  min-width: 0 !important;
  margin: 24px auto 44px !important;
  padding: 0 !important;
  background: transparent !important;
}

.video-search-shell {
  display: grid;
  gap: 20px;
}

.video-search-page-form {
  margin: 0 !important;
}

.video-search-hero,
.video-search-results {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  background: var(--video-card);
  box-shadow: var(--video-shadow);
}

.video-search-hero {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 46px 28px;
  text-align: center;
}

.video-search-hero.is-compact {
  justify-items: stretch;
  gap: 14px;
  padding: 24px;
  text-align: left;
}

.video-search-eyebrow {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--video-primary);
  background: #eff6ff;
  font-size: 13px;
  font-weight: 800;
}

.video-search-hero h1 {
  margin: 0;
  color: var(--video-text);
  font-size: 30px;
  font-weight: 850;
  line-height: 1.2;
}

.video-search-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.video-search-tabs a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  color: #475569;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.video-search-tabs a:hover,
.video-search-tabs a.a {
  color: var(--video-primary);
  background: #eff6ff;
}

.video-search-extra {
  display: inline-flex;
  gap: 8px;
}

.video-search-large {
  display: flex;
  align-items: center;
  width: min(720px, 100%);
  min-height: 58px;
  padding: 6px;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  box-sizing: border-box;
}

.video-search-large input[type="text"] {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 18px;
  border: 0 !important;
  outline: 0;
  color: var(--video-text);
  background: transparent !important;
  font-size: 15px;
  box-sizing: border-box;
}

.video-search-large button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 46px;
  min-width: 108px;
  padding: 0 22px;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 999px;
  color: #fff;
  background: var(--video-primary) !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
  cursor: pointer;
  font-size: 15px !important;
  line-height: 1 !important;
  text-indent: 0 !important;
}

.video-search-large button strong {
  display: inline-block !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1 !important;
  text-indent: 0 !important;
}

.video-hot-searches {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--video-muted);
  font-size: 13px;
}

.video-hot-searches > span {
  font-weight: 800;
}

.video-hot-searches > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.video-hot-searches a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #475569;
  background: #f1f5f9;
  font-size: 13px;
}

.video-hot-searches a:hover {
  color: var(--video-primary);
  background: #eff6ff;
}

.video-search-policy {
  margin: 12px 0 0;
  color: var(--video-muted);
  font-size: 12px;
  text-align: center;
}

.video-search-results {
  padding: 20px;
}

.video-search-result-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.video-search-result-head h2 {
  margin: 0;
  color: var(--video-text);
  font-size: 24px;
  font-weight: 850;
  line-height: 1.25;
}

.video-search-result-head p {
  margin: 6px 0 0;
  color: var(--video-muted);
  font-size: 13px;
}

.video-search-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.video-search-filters a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  color: #334155;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.video-search-filters a:hover,
.video-search-filters a.is-active {
  color: #fff;
  background: var(--video-primary);
}

.video-search-card-wrap {
  background: transparent !important;
}

.video-search-grid {
  margin: 0;
}

.video-search-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 54px 20px;
  border-radius: 16px;
  background: #f8fafc;
  text-align: center;
}

.video-empty-icon {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 26% 24%, rgba(37, 99, 235, 0.22), transparent 28%),
    linear-gradient(135deg, #dbeafe, #f8fafc);
}

.video-empty-icon::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 24px;
  width: 20px;
  height: 20px;
  border: 4px solid var(--video-primary);
  border-radius: 50%;
}

.video-empty-icon::after {
  content: "";
  position: absolute;
  left: 46px;
  top: 47px;
  width: 18px;
  height: 5px;
  border-radius: 999px;
  background: var(--video-primary);
  transform: rotate(45deg);
}

.video-search-empty h3 {
  margin: 0;
  color: var(--video-text);
  font-size: 20px;
  font-weight: 850;
}

.video-search-empty p {
  margin: 0;
  color: var(--video-muted);
  font-size: 14px;
}

.video-search-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--video-primary);
  font-weight: 800;
}

.video-search-pages {
  margin: 20px 0 0 !important;
}

.video-mobile-tabbar {
  display: none;
}

@media (min-width: 901px) {
  .video-theme .whole_box1 > .section1x:nth-of-type(1) {
    display: block;
    height: 0 !important;
    min-height: 0 !important;
    padding-top: 0;
    padding-bottom: 0;
  }

  .video-theme .video-category-rail {
    position: fixed;
    left: max(16px, calc((100vw - var(--video-max)) / 2 + 16px));
    width: 176px;
  }
}

@media (max-width: 1120px) {
  .video-main-nav {
    gap: 2px;
  }

  .video-main-nav a {
    padding: 0 9px;
  }

  .video-search {
    max-width: 240px;
  }

  .video-thread-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .video-channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .video-channel-hero {
    gap: 18px;
  }

  .video-channel-stats {
    min-width: 280px;
  }
}

@media (max-width: 900px) {
  html body.video-theme {
    padding-top: 104px;
    padding-bottom: 24px;
  }

  .video-site-header {
    height: 104px;
  }

  .video-header-inner {
    flex-wrap: wrap;
    align-content: center;
    height: 104px;
  }

  .video-header-inner {
    gap: 10px;
    row-gap: 8px;
    padding: 8px 12px 10px;
    max-width: 100vw;
    overflow: hidden;
  }

  .video-brand img {
    max-width: 102px;
    max-height: 32px;
  }

  .video-brand {
    flex: 0 0 48px;
    min-width: 48px;
  }

  .video-main-nav {
    order: 10;
    display: flex;
    flex: 0 0 100%;
    gap: 6px;
    margin: 0 -12px;
    padding: 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .video-main-nav::-webkit-scrollbar {
    display: none;
  }

  .video-main-nav a {
    flex: 0 0 auto;
    height: 34px;
    padding: 0 13px;
    font-size: 13px;
    scroll-snap-align: start;
  }

  .video-search {
    flex: 0 0 230px;
    width: 230px !important;
    max-width: 230px !important;
    min-width: 0;
    height: 36px;
    margin-left: 0 !important;
    margin-right: 0;
    padding-left: 12px;
  }

  .video-search input {
    height: 34px;
    font-size: 13px;
  }

  .video-search input::placeholder {
    color: transparent;
  }

  .video-upload {
    display: none !important;
  }

  .video-user-wrap,
  .video-auth-actions,
  .video-user,
  .video-login,
  .video-register {
    display: none !important;
  }

  .video-theme .whole_box1 {
    padding-top: 12px;
  }

  .video-theme .whole_box1 > .section1x {
    display: block;
    padding: 0 10px;
  }

  .video-category-rail {
    position: sticky;
    z-index: 20;
    top: 104px;
    display: flex;
    gap: 10px;
    max-height: none;
    margin: 0 0 12px;
    padding: 10px;
    overflow-x: auto;
    border-radius: 14px;
    scroll-snap-type: x proximity;
  }

  #nv_portal.video-theme.pg_index .video-category-rail,
  #nv_forum.video-theme.pg_index .video-category-rail,
  #nv_forum.video-theme.pg_forumdisplay .video-category-rail,
  #nv_forum.video-theme.pg_guide .video-category-rail {
    display: none !important;
  }

  body.video-theme.pg_guide .whole_box1 > .section1x > #wp.serch_wp {
    width: calc(100% - 20px) !important;
    max-width: none !important;
    margin: 10px auto !important;
  }

  .video-category-group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 6px;
  }

  .video-category-group + .video-category-group {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .video-category-group h3 {
    display: none;
  }

  .video-category-group a {
    min-height: 34px;
    padding: 0 10px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .video-category-group a em {
    display: none;
  }

  .video-category-group a + a {
    margin-top: 0;
  }

  .video-theme #ct .mn,
  .video-theme #ct .sd,
  .video-theme .mn,
  .video-theme .sd {
    float: none !important;
    width: 100% !important;
  }

  .video-theme.pg_forumdisplay #ct,
  .video-theme.pg_index #ct {
    display: block !important;
    grid-template-columns: none;
  }

  .video-theme #ct .sd,
  .video-theme .sd {
    display: none !important;
  }

  .video-theme.pg_forumdisplay #ct.video-forumdisplay-layout {
    display: block !important;
    grid-template-columns: none !important;
  }

  .video-theme.pg_forumdisplay #ct.video-forumdisplay-layout > .video-forumdisplay-main {
    display: block !important;
    width: 100% !important;
  }

  .video-theme.pg_forumdisplay #ct.video-forumdisplay-layout > .sd {
    display: none !important;
  }

  .video-theme.pg_forumdisplay .video-threadlist {
    padding: 12px !important;
    box-sizing: border-box;
  }

  .video-list-toolbar {
    display: block;
    margin-bottom: 10px;
  }

  .video-list-title strong {
    font-size: 17px;
    line-height: 24px;
  }

  .video-list-title span {
    display: none;
  }

  .video-list-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-top: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .video-list-filters a {
    flex: 0 0 auto;
  }

  .video-thread-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .video-channel-page {
    padding: 0 !important;
  }

  .video-channel-hero,
  .video-channel-block {
    margin-bottom: 12px;
    border-radius: 16px;
  }

  .video-channel-hero {
    display: block;
    padding: 18px 14px;
  }

  .video-channel-hero-copy > span {
    height: 26px;
    font-size: 12px;
  }

  .video-channel-hero h1 {
    margin-top: 10px;
    font-size: 22px;
    line-height: 1.3;
  }

  .video-channel-hero p {
    font-size: 13px;
    line-height: 1.7;
  }

  .video-channel-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
    margin-top: 14px;
    gap: 8px;
  }

  .video-channel-stats div {
    padding: 11px 6px;
    border-radius: 12px;
  }

  .video-channel-stats strong {
    font-size: 16px;
  }

  .video-channel-stats span {
    margin-top: 4px;
    font-size: 11px;
  }

  .video-channel-block {
    padding: 14px 12px;
  }

  .video-channel-head {
    margin-bottom: 10px;
  }

  .video-channel-head strong {
    font-size: 17px;
  }

  .video-channel-head span {
    display: none;
  }

  .video-channel-grid {
    display: flex;
    gap: 10px;
    margin-right: -12px;
    padding: 0 12px 2px 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .video-channel-card {
    flex: 0 0 76%;
    min-height: 134px;
    padding: 14px;
    scroll-snap-align: start;
  }

  .video-hierarchy-card {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 126px;
    padding: 10px;
  }

  .video-channel-cover {
    border-radius: 13px;
    aspect-ratio: 4 / 5;
  }

  .video-channel-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .video-channel-icon::before {
    left: 18px;
    top: 14px;
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 13px;
  }

  .video-channel-card-body strong {
    font-size: 16px;
  }

  .video-channel-card-body em {
    min-height: 40px;
    font-size: 12px;
  }

  .video-channel-card-meta {
    padding-top: 10px;
  }

  .video-channel-filterbar {
    margin-right: -12px;
    padding-right: 12px;
  }

  .video-channel-filterbar a {
    flex: 0 0 auto;
  }

  .video-channel-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .video-breadcrumb {
    flex-wrap: nowrap;
    margin-bottom: 10px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .video-breadcrumb a,
  .video-breadcrumb em {
    flex: 0 0 auto;
  }

  .video-subforum-nav {
    padding: 14px 12px;
    border-radius: 16px;
  }

  .video-subforum-head {
    margin-bottom: 10px;
  }

  .video-subforum-tabs {
    flex-wrap: nowrap;
    margin-right: -12px;
    padding-right: 12px;
    overflow-x: auto;
  }

  .video-subforum-tabs a {
    flex: 0 0 auto;
  }

  .video-card-body {
    padding: 9px 9px 11px;
  }

  .video-card-body h2 {
    height: 40px;
    font-size: 13px;
    line-height: 20px;
  }

  .video-theme.pg_viewthread .otherfloor .plc > .pi .pti {
    padding-left: 58px;
  }

  .video-theme.pg_viewthread .otherfloor .plc > .pi a[href*="authorid"] {
    display: none !important;
  }

  .video-card-meta,
  .video-card-stats {
    gap: 7px;
    font-size: 11px;
  }

  .video-theme .fl_tb tr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .video-theme .xm-movie-hot ul,
  .video-theme .xm-movie-hot .module,
  .video-theme #portal_block_10 .dxb_bc,
  #nv_portal.video-theme .xm-movie-hot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 8px;
    height: auto !important;
  }

  .video-theme .xm-movie-hot li:first-child,
  .video-theme .xm-movie-hot .move-span:first-child,
  #nv_portal.video-theme .xm-movie-hot-grid a.big {
    grid-row: auto;
    grid-column: 1 / -1 !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
  }

  #nv_portal.video-theme .xm-movie-hot-grid > a:nth-of-type(n+2) {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }

  #nv_portal.video-theme .whole_box1 .wp > .cl:has(> .adapted_box) {
    display: block;
  }

  #nv_portal.video-theme .adapted_box {
    width: 100% !important;
  }

  #nv_portal.video-theme .rightbox {
    display: none !important;
  }

  .video-mobile-tabbar {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .video-channel-card {
    flex-basis: 82%;
  }

  .video-channel-hero h1 {
    font-size: 20px;
  }

  .video-channel-stats strong {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .video-theme.pg_viewthread .video-category-rail {
    display: none !important;
  }

  .video-theme.pg_viewthread .whole_box1 > .section1x {
    display: block !important;
    padding: 0 10px;
  }

  .video-theme.pg_viewthread .whole_box1 > .section1x > #ct.video-viewthread-layout,
  .video-theme.pg_viewthread #wp.serch_wp > #ct.video-viewthread-layout {
    display: block !important;
    max-width: none;
    padding: 0;
  }

  .video-theme.pg_viewthread .video-view-main,
  .video-theme.pg_viewthread .video-view-sidebar {
    width: 100% !important;
  }

  .video-theme.pg_viewthread #ct.video-viewthread-layout > .video-view-main,
  .video-theme.pg_viewthread #ct.video-viewthread-layout > .video-view-sidebar {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .video-theme.pg_viewthread .video-view-sidebar {
    display: none !important;
    position: static;
    margin-top: 14px;
  }

  .video-theme.pg_viewthread #ct.video-viewthread-layout > .video-view-sidebar {
    grid-column: auto;
    display: none !important;
    position: static;
    margin-top: 14px !important;
  }

  .video-theme.pg_viewthread .dingzhi_fbhf {
    display: none !important;
  }

  .video-theme.pg_viewthread .viewbox.module_box1,
  .video-side-card {
    border-radius: 14px !important;
  }

  .video-theme.pg_viewthread .td_tit {
    padding: 20px 16px 16px !important;
  }

  .video-theme.pg_viewthread .td_tit .v_tit {
    font-size: 19px !important;
    line-height: 1.42 !important;
  }

  .video-detail-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .video-detail-stats {
    gap: 6px;
    font-size: 12px;
  }

  .video-theme.pg_viewthread .firstfloor .plhin td.plc {
    padding: 0 16px 18px !important;
  }

  .video-theme.pg_viewthread .firstfloor .pct {
    padding-top: 16px !important;
  }

  .video-theme.pg_viewthread .otherfloor .plhin tr {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .video-theme.pg_viewthread .otherfloor .plhin tr > td.pls {
    padding: 16px 0 0 14px !important;
  }

  .video-theme.pg_viewthread .otherfloor .pls .avatar,
  .video-theme.pg_viewthread .otherfloor .pls .avatar img,
  .video-theme.pg_viewthread .otherfloor .pls .avatar a {
    width: 34px !important;
    height: 34px !important;
  }

  .video-theme.pg_viewthread .otherfloor .plhin tr > td.plc {
    padding-right: 14px !important;
  }

  .video-theme.pg_viewthread .otherfloor .plhin tr:nth-child(n+2) > td.plc {
    padding: 0 14px 14px 66px !important;
  }

  .video-theme.pg_viewthread .otherfloor .pi {
    padding: 14px 58px 8px 0 !important;
  }

  .video-theme.pg_viewthread .otherfloor .pi > strong {
    top: 14px;
  }

  .video-theme.pg_viewthread .pcb,
  .video-theme.pg_viewthread .t_f,
  .video-theme.pg_viewthread .pct {
    font-size: 14px !important;
    line-height: 1.75 !important;
  }

  .video-theme.pg_viewthread .firstfloor .pcb iframe,
  .video-theme.pg_viewthread .firstfloor .pcb video,
  .video-theme.pg_viewthread .firstfloor .pcb embed,
  .video-theme.pg_viewthread .firstfloor .pcb object {
    min-height: 190px;
  }

  .video-theme.pg_viewthread .pob {
    display: block;
  }

  .video-theme.pg_viewthread .pob em,
  .video-theme.pg_viewthread .pob p {
    margin-top: 8px !important;
  }

  .video-theme.pg_viewthread #f_pst {
    margin: 18px 0 0 !important;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: var(--video-shadow) !important;
  }

  .video-theme.pg_viewthread #f_pst form,
  .video-theme.pg_viewthread #f_pst table,
  .video-theme.pg_viewthread #f_pst tbody,
  .video-theme.pg_viewthread #f_pst tr {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .video-theme.pg_viewthread #f_pst .pls {
    display: none !important;
  }

  .video-theme.pg_viewthread #f_pst .plc {
    display: block !important;
    width: 100% !important;
    padding: 14px !important;
    background: #fff !important;
    box-sizing: border-box;
  }

  .video-theme.pg_viewthread #f_pst .tedt {
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid var(--video-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-sizing: border-box;
  }

  .video-theme.pg_viewthread #f_pst .tedt .bar {
    display: flex !important;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 38px;
    margin: 0 !important;
    padding: 7px 10px !important;
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 1px solid var(--video-line);
    box-sizing: border-box;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .video-theme.pg_viewthread #f_pst .tedt .bar::-webkit-scrollbar {
    display: none;
  }

  .video-theme.pg_viewthread #f_pst .tedt .bar .y {
    float: none !important;
    order: 99;
    margin-left: auto;
  }

  .video-theme.pg_viewthread #f_pst .tedt .bar a,
  .video-theme.pg_viewthread #f_pst .tedt .bar span {
    flex: 0 0 auto;
  }

  .video-theme.pg_viewthread #f_pst .tedt .bar a {
    color: var(--video-primary) !important;
    font-size: 12px !important;
    font-weight: 700;
  }

  .video-theme.pg_viewthread #f_pst #spanButtonPlaceholder {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 42px;
    height: 26px !important;
    margin: 0 !important;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--video-primary);
    background: #eff6ff !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 26px;
    box-sizing: border-box;
  }

  .video-theme.pg_viewthread #f_pst .area,
  .video-theme.pg_viewthread #f_pst .pt {
    width: 100% !important;
    min-height: 96px;
    box-sizing: border-box;
  }

  .video-theme.pg_viewthread #f_pst #fastpostsubmit {
    display: block !important;
    width: 100% !important;
    height: 40px !important;
    margin-top: 12px !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: #fff !important;
    background: var(--video-primary) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 40px !important;
    text-align: center;
    box-sizing: border-box;
  }

  .video-theme.pg_viewthread #f_pst #fastpostsubmit span {
    line-height: 40px !important;
  }

  .video-theme.pg_viewthread #f_pst .pnpost {
    margin-top: 12px !important;
  }

  .video-theme.pg_viewthread #f_pst #fastpostrefresh {
    margin-top: 10px;
  }

  .video-theme.pg_viewthread #f_pst .upfl {
    width: 100% !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    overflow: hidden;
    box-sizing: border-box;
  }

  .video-theme.pg_viewthread #f_pst #attach_tblheader {
    display: none !important;
  }

  .video-theme.pg_viewthread #f_pst #attachlist {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto;
    box-sizing: border-box;
  }

  .video-theme.pg_viewthread #f_pst #attachlist table {
    width: 100% !important;
    min-width: 0 !important;
  }

  .video-theme.pg_viewthread #f_pst #attachlist td {
    max-width: 100%;
    white-space: normal !important;
    word-break: break-word;
  }

  .video-theme.pg_viewthread #seccheck_fastpost {
    width: 100% !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .video-theme.pg_viewthread #seccheck_fastpost input,
  .video-theme.pg_viewthread #seccheck_fastpost .px {
    width: 100% !important;
    max-width: 100% !important;
    height: 36px !important;
    border-radius: 10px !important;
    box-sizing: border-box;
  }

  .video-side-card {
    margin-bottom: 12px;
    padding: 14px;
  }

  .video-side-item {
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 8px 0;
  }

  .video-rank-list .video-side-item {
    grid-template-columns: 32px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  #nv_search.video-theme::-webkit-scrollbar,
  #nv_search.video-theme *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  #nv_search.video-theme {
    overflow-x: hidden !important;
    scrollbar-width: none !important;
  }

  #nv_search.video-theme .whole_box1 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0 76px !important;
    overflow-x: hidden !important;
  }

  #nv_search.video-theme .whole_box1 > .section1x {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px 12px 84px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  #nv_search.video-theme .whole_box1 > .section1x > #wp.serch_wp {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  #nv_search.video-theme #ct.video-search-page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .video-search-shell {
    gap: 12px;
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
    overflow-x: hidden;
  }

  .video-search-hero,
  .video-search-results {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box;
  }

  .video-search-hero {
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
  }

  .video-search-hero.is-compact {
    padding: 12px;
  }

  .video-search-hero h1 {
    order: 2;
    width: 100%;
    margin: -2px 0 0;
    color: var(--video-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
  }

  .video-search-hero h1::before {
    content: "关键词 ";
    color: var(--video-muted);
    font-weight: 500;
  }

  .video-search-eyebrow {
    order: 1;
    justify-self: start;
    height: 24px;
    padding: 0 9px;
    font-size: 12px;
  }

  .video-search-tabs {
    order: 4;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
    max-width: 100%;
    margin: 0 -12px;
    padding: 0 12px 2px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .video-search-tabs::-webkit-scrollbar,
  .video-search-filters::-webkit-scrollbar {
    display: none;
  }

  .video-search-tabs a,
  .video-search-extra {
    flex: 0 0 auto;
  }

  .video-search-tabs a {
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }

  .video-search-extra {
    gap: 6px;
  }

  .video-search-large {
    order: 3;
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    padding: 4px;
    box-sizing: border-box;
  }

  .video-search-large input[type="text"] {
    height: 42px;
    padding: 0 12px;
    font-size: 14px;
  }

  .video-search-large button {
    height: 42px;
    min-width: 76px;
    padding: 0 15px;
  }

  .video-search-large button strong {
    font-size: 14px;
    line-height: 42px;
  }

  .video-hot-searches,
  .video-hot-searches > div {
    justify-content: flex-start;
    width: 100%;
  }

  .video-search-results {
    padding: 12px;
    border-radius: 16px;
  }

  #nv_search.video-theme .video-search-card-wrap,
  #nv_search.video-theme #threadlist.video-search-card-wrap,
  #nv_search.video-theme .slst.video-search-card-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .video-search-result-head {
    display: block;
    margin-bottom: 12px;
  }

  .video-search-result-head h2 {
    font-size: 20px;
  }

  .video-search-filters {
    gap: 8px;
    max-width: 100%;
    margin: 0 -12px 14px;
    padding: 0 12px 2px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .video-search-filters a {
    flex: 0 0 auto;
    height: 34px;
    padding: 0 13px;
  }

  .video-search-empty {
    padding: 36px 14px;
  }

  #nv_search.video-theme .video-search-grid.video-thread-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  #nv_search.video-theme .video-search-grid .video-card {
    width: 100%;
    min-width: 0;
  }

  #nv_search.video-theme .video-search-grid .video-card-body {
    padding: 9px 9px 11px;
  }

  #nv_search.video-theme .video-search-grid .video-card-body h2 {
    height: 40px;
    font-size: 13px;
    line-height: 20px;
  }

  #nv_search.video-theme .video-search-grid .video-card-meta,
  #nv_search.video-theme .video-search-grid .video-card-stats {
    gap: 6px;
    margin-top: 7px;
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .video-thread-grid {
    gap: 8px;
  }

  .video-card-label {
    top: 8px;
    left: 8px;
    height: 22px;
    line-height: 22px;
  }

  .video-card-play {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 900px) {
  .video-theme.pg_viewthread .reply-card {
    display: flex !important;
    gap: 12px;
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 16px !important;
    overflow: visible !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: var(--video-shadow) !important;
    box-sizing: border-box;
  }

  .video-theme.pg_viewthread .reply-card .plhin,
  .video-theme.pg_viewthread .reply-card .plhin > tbody,
  .video-theme.pg_viewthread .reply-card .plhin > tbody > tr {
    display: contents !important;
    width: auto !important;
    height: auto !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-avatar {
    display: block !important;
    flex: 0 0 44px !important;
    order: 1;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box;
  }

  .video-theme.pg_viewthread .reply-card .reply-avatar > .favatar {
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-avatar > .favatar > a,
  .video-theme.pg_viewthread .reply-card .reply-avatar > .favatar > .p_pop,
  .video-theme.pg_viewthread .reply-card .reply-avatar > .favatar > .tns,
  .video-theme.pg_viewthread .reply-card .reply-avatar > .favatar > p,
  .video-theme.pg_viewthread .reply-card .reply-avatar > .favatar > .pil,
  .video-theme.pg_viewthread .reply-card .reply-avatar > .favatar > .plso {
    display: none !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-avatar .avatar,
  .video-theme.pg_viewthread .reply-card .reply-avatar .avatar a,
  .video-theme.pg_viewthread .reply-card .reply-avatar .avatar img {
    display: block !important;
    width: 44px !important;
    height: 44px !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-avatar .avatar {
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    background: #e0ecff !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-avatar .avatar img {
    object-fit: cover;
  }

  .video-theme.pg_viewthread .reply-card .reply-main {
    display: block !important;
    flex: 1 1 auto !important;
    order: 2;
    min-width: 0 !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box;
  }

  .video-theme.pg_viewthread .reply-card .reply-header {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--video-muted);
    font-size: 12px;
    line-height: 20px;
  }

  .video-theme.pg_viewthread .reply-card .reply-name {
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    flex: 0 1 auto;
    width: auto !important;
    max-width: 118px;
    height: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    color: var(--video-text) !important;
    background: transparent !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 20px !important;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .video-theme.pg_viewthread .reply-card .reply-name .authi,
  .video-theme.pg_viewthread .reply-card .reply-name a {
    display: inline !important;
    width: auto !important;
    height: auto !important;
    color: var(--video-text) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 20px !important;
    white-space: nowrap;
  }

  .video-theme.pg_viewthread .reply-card .reply-time {
    display: inline-block !important;
    flex: 0 0 auto;
    margin: 0 !important;
    color: #9ca3af !important;
    font-size: 12px !important;
    font-style: normal;
    line-height: 20px !important;
    white-space: nowrap !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-header .pti {
    display: contents !important;
    padding: 0 !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-header .pdbt,
  .video-theme.pg_viewthread .reply-card .reply-header .authicn,
  .video-theme.pg_viewthread .reply-card .reply-header .pipe,
  .video-theme.pg_viewthread .reply-card .reply-header .show,
  .video-theme.pg_viewthread .reply-card .reply-header a[href*="authorid"] {
    display: none !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-floor {
    display: inline-flex !important;
    align-items: center;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .video-theme.pg_viewthread .reply-card .reply-floor a {
    display: inline-flex !important;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 7px;
    color: #ef4444 !important;
    background: #fff1f2 !important;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 22px;
  }

  .video-theme.pg_viewthread .reply-card .reply-content {
    margin-top: 12px !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--video-text) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    word-break: break-word;
  }

  .video-theme.pg_viewthread .reply-card .reply-content .pcb,
  .video-theme.pg_viewthread .reply-card .reply-content .t_f {
    margin: 0 !important;
    color: var(--video-text) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    word-break: break-word;
  }

  .video-theme.pg_viewthread .reply-card .plhin > tbody > tr:nth-child(n+2) > .pls {
    display: none !important;
  }

  .video-theme.pg_viewthread .reply-card .plhin > tbody > tr:nth-child(n+2) > .plc {
    display: block !important;
    flex: 0 0 calc(100% - 56px) !important;
    order: 3;
    width: auto !important;
    min-width: 0 !important;
    margin-left: 56px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box;
  }

  .video-theme.pg_viewthread .reply-card .reply-actions {
    margin-top: 18px !important;
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--video-line);
  }

  .video-theme.pg_viewthread .reply-card .reply-actions em,
  .video-theme.pg_viewthread .reply-card .reply-actions p {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-actions a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px !important;
    border-radius: 999px;
    color: var(--video-primary) !important;
    background: #eff6ff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-actions a.fastre {
    color: #fff !important;
    background: var(--video-primary) !important;
  }

  .video-theme.pg_viewthread .reply-card > .reply-source-table {
    display: none !important;
  }

  .video-theme.pg_viewthread .reply-card > .reply-avatar {
    display: block !important;
    flex: 0 0 44px !important;
    order: 1;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .video-theme.pg_viewthread .reply-card > .reply-avatar .avatar,
  .video-theme.pg_viewthread .reply-card > .reply-avatar .avatar a,
  .video-theme.pg_viewthread .reply-card > .reply-avatar .avatar img {
    display: block !important;
    width: 44px !important;
    height: 44px !important;
  }

  .video-theme.pg_viewthread .reply-card > .reply-avatar .avatar {
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    background: #e0ecff !important;
  }

  .video-theme.pg_viewthread .reply-card > .reply-main {
    display: block !important;
    flex: 1 1 0 !important;
    order: 2;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .video-theme.pg_viewthread .reply-card > .reply-main > .reply-header {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .video-theme.pg_viewthread .reply-card > .reply-main > .reply-header .reply-name {
    flex: 0 1 auto !important;
  }

  .video-theme.pg_viewthread .reply-card > .reply-main > .reply-header .reply-time {
    display: inline-block !important;
    width: auto !important;
    white-space: nowrap !important;
  }

  .video-theme.pg_viewthread .reply-card > .reply-main > .reply-content {
    display: block !important;
    width: 100% !important;
    margin-top: 12px !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    word-break: break-word;
  }

  .video-theme.pg_viewthread .reply-card > .reply-main > .reply-actions {
    margin-top: 18px !important;
    display: flex !important;
    gap: 10px !important;
  }
}

/* Mobile Discuz popup reply/newthread window */
@media (max-width: 800px) {
  .fwinmask[id^="fwin_reply"],
  .fwinmask[id^="fwin_newthread"],
  .fwinmask[id*="reply"],
  .fwinmask[id*="newthread"] {
    left: 10px !important;
    right: 10px !important;
    top: 58px !important;
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  .fwinmask[id^="fwin_reply"] table,
  .fwinmask[id^="fwin_newthread"] table,
  .fwinmask[id*="reply"] table,
  .fwinmask[id*="newthread"] table,
  .fwinmask[id^="fwin_reply"] tbody,
  .fwinmask[id^="fwin_newthread"] tbody,
  .fwinmask[id*="reply"] tbody,
  .fwinmask[id*="newthread"] tbody,
  .fwinmask[id^="fwin_reply"] tr,
  .fwinmask[id^="fwin_newthread"] tr,
  .fwinmask[id*="reply"] tr,
  .fwinmask[id*="newthread"] tr,
  .fwinmask[id^="fwin_reply"] td,
  .fwinmask[id^="fwin_newthread"] td,
  .fwinmask[id*="reply"] td,
  .fwinmask[id*="newthread"] td {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .fwinmask[id^="fwin_reply"] .m_c,
  .fwinmask[id^="fwin_newthread"] .m_c,
  .fwinmask[id*="reply"] .m_c,
  .fwinmask[id*="newthread"] .m_c {
    max-height: calc(100vh - 86px) !important;
    padding: 12px !important;
    overflow: auto !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.2) !important;
    box-sizing: border-box !important;
  }

  .fwinmask[id^="fwin_reply"] .flb,
  .fwinmask[id^="fwin_newthread"] .flb,
  .fwinmask[id*="reply"] .flb,
  .fwinmask[id*="newthread"] .flb {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    height: auto !important;
    min-height: 34px !important;
    margin: 0 0 10px !important;
    padding: 0 38px 8px 0 !important;
    overflow: hidden !important;
    border-bottom: 1px solid var(--video-line) !important;
    background: transparent !important;
    line-height: 1.35 !important;
    box-sizing: border-box !important;
  }

  .fwinmask[id^="fwin_reply"] .flb em,
  .fwinmask[id^="fwin_newthread"] .flb em,
  .fwinmask[id*="reply"] .flb em,
  .fwinmask[id*="newthread"] .flb em {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: var(--video-primary) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 22px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  .fwinmask[id^="fwin_reply"] .flb span,
  .fwinmask[id^="fwin_newthread"] .flb span,
  .fwinmask[id*="reply"] .flb span,
  .fwinmask[id*="newthread"] .flb span {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
  }

  .fwinmask[id^="fwin_reply"] .flbc,
  .fwinmask[id^="fwin_newthread"] .flbc,
  .fwinmask[id*="reply"] .flbc,
  .fwinmask[id*="newthread"] .flbc {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: #9ca3af !important;
    opacity: 1 !important;
  }

  .fwinmask[id^="fwin_reply"] #postform,
  .fwinmask[id^="fwin_newthread"] #postform,
  .fwinmask[id*="reply"] #postform,
  .fwinmask[id*="newthread"] #postform,
  .fwinmask[id^="fwin_reply"] #postbox,
  .fwinmask[id^="fwin_newthread"] #postbox,
  .fwinmask[id*="reply"] #postbox,
  .fwinmask[id*="newthread"] #postbox {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .fwinmask[id^="fwin_reply"] .pbt,
  .fwinmask[id^="fwin_newthread"] .pbt,
  .fwinmask[id*="reply"] .pbt,
  .fwinmask[id*="newthread"] .pbt {
    display: block !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .fwinmask[id^="fwin_reply"] #subject,
  .fwinmask[id^="fwin_newthread"] #subject,
  .fwinmask[id*="reply"] #subject,
  .fwinmask[id*="newthread"] #subject,
  .fwinmask[id^="fwin_reply"] input.px,
  .fwinmask[id^="fwin_newthread"] input.px,
  .fwinmask[id*="reply"] input.px,
  .fwinmask[id*="newthread"] input.px {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 38px !important;
    padding: 0 10px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }

  .fwinmask[id^="fwin_reply"] .edt,
  .fwinmask[id^="fwin_newthread"] .edt,
  .fwinmask[id*="reply"] .edt,
  .fwinmask[id*="newthread"] .edt,
  .fwinmask[id^="fwin_reply"] .tedt,
  .fwinmask[id^="fwin_newthread"] .tedt,
  .fwinmask[id*="reply"] .tedt,
  .fwinmask[id*="newthread"] .tedt {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px !important;
    overflow: hidden !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }

  .fwinmask[id^="fwin_reply"] .edt .bar,
  .fwinmask[id^="fwin_newthread"] .edt .bar,
  .fwinmask[id*="reply"] .edt .bar,
  .fwinmask[id*="newthread"] .edt .bar,
  .fwinmask[id^="fwin_reply"] .tedt .bar,
  .fwinmask[id^="fwin_newthread"] .tedt .bar,
  .fwinmask[id*="reply"] .tedt .bar,
  .fwinmask[id*="newthread"] .tedt .bar {
    display: flex !important;
    align-items: center !important;
    min-height: 34px !important;
    padding: 6px 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border-bottom: 1px solid var(--video-line) !important;
    background: #f8fafc !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  .fwinmask[id^="fwin_reply"] .edt .bar .y,
  .fwinmask[id^="fwin_newthread"] .edt .bar .y,
  .fwinmask[id*="reply"] .edt .bar .y,
  .fwinmask[id*="newthread"] .edt .bar .y,
  .fwinmask[id^="fwin_reply"] .tedt .bar .y,
  .fwinmask[id^="fwin_newthread"] .tedt .bar .y,
  .fwinmask[id*="reply"] .tedt .bar .y,
  .fwinmask[id*="newthread"] .tedt .bar .y {
    float: none !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  .fwinmask[id^="fwin_reply"] .edt .area,
  .fwinmask[id^="fwin_newthread"] .edt .area,
  .fwinmask[id*="reply"] .edt .area,
  .fwinmask[id*="newthread"] .edt .area,
  .fwinmask[id^="fwin_reply"] .tedt .area,
  .fwinmask[id^="fwin_newthread"] .tedt .area,
  .fwinmask[id*="reply"] .tedt .area,
  .fwinmask[id*="newthread"] .tedt .area {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 132px !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }

  .fwinmask[id^="fwin_reply"] textarea.pt,
  .fwinmask[id^="fwin_newthread"] textarea.pt,
  .fwinmask[id*="reply"] textarea.pt,
  .fwinmask[id*="newthread"] textarea.pt,
  .fwinmask[id^="fwin_reply"] .tedt .pt,
  .fwinmask[id^="fwin_newthread"] .tedt .pt,
  .fwinmask[id*="reply"] .tedt .pt,
  .fwinmask[id*="newthread"] .tedt .pt {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 132px !important;
    padding: 10px !important;
    border: 0 !important;
    background: #fff !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    box-sizing: border-box !important;
  }

  .fwinmask[id^="fwin_reply"] .pnpost,
  .fwinmask[id^="fwin_newthread"] .pnpost,
  .fwinmask[id*="reply"] .pnpost,
  .fwinmask[id*="newthread"] .pnpost {
    display: block !important;
    margin: 10px 0 !important;
    padding: 0 !important;
  }

  .fwinmask[id^="fwin_reply"] #postsubmit,
  .fwinmask[id^="fwin_newthread"] #postsubmit,
  .fwinmask[id*="reply"] #postsubmit,
  .fwinmask[id*="newthread"] #postsubmit {
    width: 100% !important;
    height: 40px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: #fff !important;
    background: var(--video-primary) !important;
    font-weight: 800 !important;
    line-height: 40px !important;
  }

  .fwinmask[id^="fwin_reply"] #seccheck,
  .fwinmask[id^="fwin_newthread"] #seccheck,
  .fwinmask[id*="reply"] #seccheck,
  .fwinmask[id*="newthread"] #seccheck {
    width: 100% !important;
    margin-top: 8px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
}

.video-theme.pg_post .video-category-rail {
  display: none !important;
}

.video-theme.pg_post .whole_box1 > .section1x {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--video-max);
  height: auto !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.video-theme.pg_post .whole_box1 > .section1x:nth-of-type(1) {
  display: grid !important;
  height: auto !important;
  min-height: 0 !important;
}

.video-theme.pg_post .whole_box1 > .section1x > #wp.serch_wp {
  display: block !important;
  grid-column: 1;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
}

.video-theme.pg_post #pt {
  width: 100% !important;
  max-width: 960px;
  margin: 0 auto 14px !important;
  padding: 0 16px !important;
  border: 0 !important;
  background: transparent !important;
  box-sizing: border-box;
}

.video-theme.pg_post #pt .z,
.video-theme.pg_post #pt a,
.video-theme.pg_post #pt em {
  color: var(--video-muted) !important;
  font-size: 12px;
}

.video-theme.pg_post #postform.video-publish-form {
  display: block;
  width: 100%;
  margin: 0;
}

.video-theme.pg_post #ct.video-publish-layout {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 960px !important;
  min-height: 0;
  margin: 0 auto !important;
  padding: 0 16px !important;
  border: 0 !important;
  background: transparent !important;
  box-sizing: border-box;
}

.video-theme.pg_post #ct.video-publish-layout.wp {
  max-width: 960px !important;
}

.video-theme.pg_post #ct.video-publish-layout::before,
.video-theme.pg_post #ct.video-publish-layout::after {
  display: none !important;
}

.video-theme.pg_post .video-publish-layout .appl,
.video-theme.pg_post .video-publish-layout .sd,
.video-theme.pg_post .video-publish-layout .mn > .bm_h {
  display: none !important;
}

.video-theme.pg_post .video-publish-card {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 24px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--video-card) !important;
  box-shadow: var(--video-shadow) !important;
  box-sizing: border-box;
}

.video-theme.pg_post .video-publish-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--video-line);
}

.video-theme.pg_post .video-publish-head h1 {
  margin: 0;
  color: var(--video-text);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.video-theme.pg_post .video-publish-head p {
  margin: 0;
  color: var(--video-muted);
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
}

.video-theme.pg_post .video-publish-card > .tb {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px !important;
  padding: 0 !important;
  overflow-x: auto;
  overflow-y: hidden;
  border: 0 !important;
  white-space: nowrap;
  scrollbar-width: none;
}

.video-theme.pg_post .video-publish-card > .tb::-webkit-scrollbar {
  display: none;
}

.video-theme.pg_post .video-publish-card > .tb li {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.video-theme.pg_post .video-publish-card > .tb li a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  color: var(--video-text) !important;
  background: #f8fafc !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 34px !important;
}

.video-theme.pg_post .video-publish-card > .tb li.a a {
  color: #fff !important;
  background: var(--video-primary) !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.16);
}

.video-theme.pg_post .video-publish-box {
  width: 100%;
}

.video-theme.pg_post .pbt {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  box-sizing: border-box;
}

.video-theme.pg_post .pbt::before,
.video-theme.pg_post .pbt::after {
  display: none !important;
}

.video-theme.pg_post .pbt .ftid {
  float: none !important;
  flex: 0 0 156px;
  width: 156px !important;
  margin: 0 !important;
}

.video-theme.pg_post .pbt > .z {
  float: none !important;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
}

.video-theme.pg_post .pbt > .z > span {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

.video-theme.pg_post #subjectbox {
  width: 100% !important;
  max-width: 100% !important;
}

.video-theme.pg_post #subject,
.video-theme.pg_post #subjectbox input,
.video-theme.pg_post input.px,
.video-theme.pg_post textarea.pt,
.video-theme.pg_post select.ps,
.video-theme.pg_post select {
  max-width: 100%;
  border: 1px solid #dbe3ef !important;
  border-radius: 12px !important;
  color: var(--video-text) !important;
  background: #fff !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

.video-theme.pg_post #subject,
.video-theme.pg_post #subjectbox input {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  padding: 0 14px !important;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 46px !important;
}

body.pg_post #postform .pbt > .z,
body.pg_post #postform .pbt > .z > span,
body.pg_post #postform #subjectbox {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.pg_post #postform input[name="subject"][type="text"] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.video-theme.pg_post #subject::placeholder {
  color: #9ca3af;
  font-weight: 500;
}

.video-theme.pg_post #subject:focus,
.video-theme.pg_post #subjectbox input:focus,
.video-theme.pg_post input.px:focus,
.video-theme.pg_post textarea.pt:focus,
.video-theme.pg_post select:focus {
  border-color: rgba(37, 99, 235, 0.62) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

.video-theme.pg_post #subjectchk {
  display: block;
  margin-top: 8px;
  color: var(--video-muted) !important;
  font-size: 12px;
}

.video-theme.pg_post .ftid select,
.video-theme.pg_post .ftid .ps,
.video-theme.pg_post .ftid a {
  width: 100% !important;
  height: 42px !important;
  padding: 0 34px 0 12px !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 10px !important;
  color: var(--video-text) !important;
  background-color: #fff !important;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 42px !important;
  box-sizing: border-box;
}

.video-theme.pg_post .edt {
  width: 100% !important;
  margin: 18px 0 !important;
  overflow: hidden;
  border: 1px solid #dbe3ef !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
}

.video-theme.pg_post .edt .bar {
  border-color: var(--video-line) !important;
  background: #f8fafc !important;
}

.video-theme.pg_post #postform .edt .bar a:not(.dp):not(#e_simple):not(#e_fullswitcher),
.video-theme.pg_post #postform #e_imagen,
.video-theme.pg_post #postform #e_attachn {
  background-image: url("/static/image/editor/editor.gif") !important;
}

.video-theme.pg_post #postform .edt .b2r a.dp {
  background-image: url("/static/image/common/newarow.gif") !important;
}

.video-theme.pg_post .edt .area {
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
}

.video-theme.pg_post .edt textarea.pt {
  width: 100% !important;
  min-height: 320px;
  padding: 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--video-text) !important;
  background: #fff !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  resize: vertical;
}

.video-theme.pg_post .edt iframe,
.video-theme.pg_post .edt img {
  max-width: 100%;
}

.video-theme.pg_post #rstnotice {
  margin: 12px !important;
  padding: 10px 12px !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 12px !important;
  background: #eff6ff !important;
}

.video-theme.pg_post #post_extra {
  margin-top: 18px !important;
  padding: 14px !important;
  border: 1px solid var(--video-line);
  border-radius: 14px;
  background: #f8fafc;
}

.video-theme.pg_post #post_extra_tb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.video-theme.pg_post #post_extra_tb label {
  display: inline-flex !important;
  align-items: center;
  min-height: 32px;
  padding: 0 12px !important;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  color: var(--video-muted);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.video-theme.pg_post #post_extra_tb label.a,
.video-theme.pg_post #post_extra_tb label:hover {
  color: var(--video-primary);
  border-color: rgba(37, 99, 235, 0.25);
  background: #eff6ff;
}

.video-theme.pg_post .exfm,
.video-theme.pg_post .tbms,
.video-theme.pg_post #seccheck {
  margin: 14px 0 !important;
  padding: 14px !important;
  border: 1px solid var(--video-line) !important;
  border-radius: 14px !important;
  background: #f8fafc !important;
  box-sizing: border-box;
}

.video-theme.pg_post .exfm table,
.video-theme.pg_post .exfm td,
.video-theme.pg_post .exfm th {
  max-width: 100%;
  border-color: var(--video-line) !important;
  box-sizing: border-box;
}

.video-theme.pg_post .exfm input.px,
.video-theme.pg_post .exfm select,
.video-theme.pg_post .exfm textarea {
  min-height: 38px;
  padding: 0 10px;
}

.video-theme.pg_post #attachnotice_attach,
.video-theme.pg_post #attachnotice_img,
.video-theme.pg_post #attachlist,
.video-theme.pg_post #imgattachlist,
.video-theme.pg_post #fsUploadProgress,
.video-theme.pg_post #imgUploadProgress {
  max-width: 100%;
  box-sizing: border-box;
}

.video-theme.pg_post #attachlist,
.video-theme.pg_post #imgattachlist {
  display: grid;
  gap: 10px;
  margin-top: 12px !important;
}

.video-theme.pg_post #attachlist img,
.video-theme.pg_post #imgattachlist img,
.video-theme.pg_post .attc img,
.video-theme.pg_post .mbn img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 10px;
  object-fit: cover;
}

.video-theme.pg_post #spanButtonPlaceholder,
.video-theme.pg_post #imgSpanButtonPlaceholder,
.video-theme.pg_post .uploadbtn,
.video-theme.pg_post .swfupload {
  border-radius: 999px !important;
}

.video-theme.pg_post .progressWrapper,
.video-theme.pg_post .progressContainer {
  overflow: hidden;
  border: 0 !important;
  border-radius: 12px !important;
  background: #eef2ff !important;
  box-shadow: none !important;
}

.video-theme.pg_post .progressBarInProgress,
.video-theme.pg_post .progressBarComplete,
.video-theme.pg_post .progressBarError {
  height: 8px !important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--video-primary), #38bdf8) !important;
}

.video-theme.pg_post .pnpost {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0 !important;
  padding-top: 18px;
  border-top: 1px solid var(--video-line);
}

.video-theme.pg_post .pnpost::before,
.video-theme.pg_post .pnpost::after {
  display: none !important;
}

.video-theme.pg_post .pnpost .y {
  float: none !important;
  margin-left: auto;
  color: var(--video-muted) !important;
  font-size: 12px;
}

.video-theme.pg_post .pnpost .pn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 44px !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: var(--video-text) !important;
  background: #f1f5f9 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 44px !important;
  cursor: pointer;
}

.video-theme.pg_post .pnpost .pn span,
.video-theme.pg_post .pnpost .pn em {
  display: inline !important;
  padding: 0 !important;
  color: inherit !important;
  background: transparent !important;
  font-style: normal;
  line-height: inherit !important;
}

.video-theme.pg_post .pnpost .pn.pnc,
.video-theme.pg_post .pnpost #postsubmit.pnc {
  min-width: 156px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--video-primary), #3b82f6) !important;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22) !important;
}

.video-theme.pg_post .pnpost label,
.video-theme.pg_post .pnpost span {
  color: var(--video-muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .video-theme.pg_post .whole_box1 {
    padding-top: 12px;
  }

  .video-theme.pg_post .whole_box1 > .section1x {
    display: block !important;
    padding: 0 12px !important;
  }

  .video-theme.pg_post #pt {
    display: none !important;
  }

  .video-theme.pg_post #ct.video-publish-layout {
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
  }

  .video-theme.pg_post .video-publish-card {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .video-theme.pg_post .video-publish-head {
    display: block;
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .video-theme.pg_post .video-publish-head h1 {
    font-size: 20px;
  }

  .video-theme.pg_post .video-publish-head p {
    margin-top: 6px;
    white-space: normal;
  }

  .video-theme.pg_post .video-publish-card > .tb {
    margin: 0 -2px 16px !important;
    padding-bottom: 2px !important;
  }

  .video-theme.pg_post .pbt {
    display: block !important;
    margin-bottom: 14px !important;
  }

  .video-theme.pg_post .pbt .ftid,
  .video-theme.pg_post .pbt > .z {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px !important;
  }

  .video-theme.pg_post #subject,
  .video-theme.pg_post #subjectbox input,
  .video-theme.pg_post .ftid select,
  .video-theme.pg_post .ftid .ps,
  .video-theme.pg_post .ftid a {
    width: 100% !important;
  }

  .video-theme.pg_post .edt {
    margin: 14px 0 !important;
    border-radius: 14px !important;
  }

  .video-theme.pg_post .edt .bar {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    scrollbar-width: none;
  }

  .video-theme.pg_post .edt .bar::-webkit-scrollbar {
    display: none;
  }

  .video-theme.pg_post .edt .bar .btn {
    display: block !important;
    width: max-content !important;
    min-width: max-content !important;
    white-space: nowrap !important;
  }

  .video-theme.pg_post .edt .bar .btn > div,
  .video-theme.pg_post .edt .bar .btn > span,
  .video-theme.pg_post .edt .bar .btn > p {
    float: none !important;
    display: inline-block !important;
    vertical-align: top;
    white-space: nowrap !important;
  }

  .video-theme.pg_post .edt textarea.pt {
    min-height: 260px;
    padding: 14px !important;
    font-size: 15px !important;
  }

  .video-theme.pg_post #post_extra,
  .video-theme.pg_post .exfm,
  .video-theme.pg_post .tbms,
  .video-theme.pg_post #seccheck {
    padding: 12px !important;
    border-radius: 12px !important;
  }

  .video-theme.pg_post .exfm table,
  .video-theme.pg_post .exfm tbody,
  .video-theme.pg_post .exfm tr,
  .video-theme.pg_post .exfm td {
    max-width: 100% !important;
  }

  .video-theme.pg_post .exfm input.px,
  .video-theme.pg_post .exfm select,
  .video-theme.pg_post .exfm textarea,
  .video-theme.pg_post #seccheck input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .video-theme.pg_post .pnpost {
    align-items: stretch;
    gap: 10px;
    margin-top: 18px !important;
    padding-top: 14px;
  }

  .video-theme.pg_post .pnpost .y {
    order: 5;
    width: 100%;
    margin: 0;
  }

  .video-theme.pg_post .pnpost .pn.pnc,
  .video-theme.pg_post .pnpost #postsubmit.pnc {
    order: 1;
    width: 100% !important;
    min-width: 0;
  }

  .video-theme.pg_post .pnpost .pn:not(.pnc) {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
  }

  .video-theme.pg_post .pnpost label,
  .video-theme.pg_post .pnpost span:not(.pipe) {
    max-width: 100%;
  }
}

body#space.video-theme {
  min-width: 0 !important;
  padding-top: 0;
  color: var(--video-text);
  background: var(--video-bg) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

.video-theme.pg_space .video-category-rail,
.video-theme.pg_spacecp .video-category-rail,
body#space.video-theme .video-category-rail {
  display: none !important;
}

.video-theme.pg_space .whole_box1 > .section1x,
.video-theme.pg_spacecp .whole_box1 > .section1x {
  display: block !important;
  max-width: var(--video-max);
  height: auto !important;
  min-height: 0 !important;
  padding: 0 16px !important;
}

.video-theme.pg_space .whole_box1 > .section1x > #wp.serch_wp,
.video-theme.pg_spacecp .whole_box1 > .section1x > #wp.serch_wp {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
}

body#space.video-theme #toptb {
  min-width: 0;
  height: 44px;
  border: 0 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

body#space.video-theme #toptb a {
  color: var(--video-muted) !important;
}

body#space.video-theme #hd,
.video-theme #uhd,
.video-theme .video-member-profile-card,
.video-theme #ct.video-member-thread-layout,
.video-theme #ct.video-member-profile-layout,
.video-theme #ct.video-member-cp-layout {
  box-sizing: border-box;
}

body#space.video-theme #hd,
.video-theme #uhd {
  width: 100% !important;
  max-width: 1180px;
  margin: 20px auto !important;
  padding: 0 16px !important;
  border: 0 !important;
  background: transparent !important;
}

.video-member-profile-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) minmax(260px, 360px) auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin: 0 0 16px;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, 0.72);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--video-shadow);
  box-sizing: border-box;
}

.video-member-profile-card-thread {
  max-width: 1180px !important;
  margin: 0 auto 20px !important;
}

.video-member-avatar,
.video-member-avatar a,
.video-member-avatar img {
  display: block !important;
  width: 76px !important;
  height: 76px !important;
}

.video-member-avatar {
  overflow: hidden;
  border-radius: 50%;
  background: #e0ecff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.14);
}

.video-member-avatar img {
  object-fit: cover;
}

.video-member-info {
  min-width: 0;
}

.video-member-info h1 {
  overflow: hidden;
  margin: 0 0 8px;
  color: var(--video-text);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.video-member-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--video-muted);
  font-size: 13px;
  line-height: 20px;
}

.video-member-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1f5f9;
}

.video-member-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.video-member-stats a {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  color: var(--video-muted) !important;
  background: #f8fafc;
  text-align: center;
}

.video-member-stats strong {
  overflow: hidden;
  color: var(--video-primary);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.video-member-stats span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.video-member-edit,
.video-theme .video-member-edit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px !important;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--video-primary), #3b82f6);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

body#space.video-theme #spaceinfoshow,
.video-theme #uhd > .h {
  display: none !important;
}

body#space.video-theme #hd > .tb,
.video-theme #uhd > .tb {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px !important;
  padding: 0 !important;
  overflow-x: auto;
  border: 0 !important;
  white-space: nowrap;
}

body#space.video-theme #hd > .tb li,
.video-theme #uhd > .tb li {
  float: none !important;
  margin: 0 !important;
  border: 0 !important;
}

body#space.video-theme #hd > .tb a,
.video-theme #uhd > .tb a {
  display: inline-flex !important;
  align-items: center;
  min-height: 36px;
  padding: 0 14px !important;
  border-radius: 999px;
  color: var(--video-text) !important;
  background: #fff !important;
  font-size: 13px;
  font-weight: 800;
}

body#space.video-theme #hd > .tb .a a,
.video-theme #uhd > .tb .a a {
  color: #fff !important;
  background: var(--video-primary) !important;
}

.video-theme #ct.video-member-thread-layout,
.video-theme #ct.video-member-profile-layout,
.video-theme #ct.video-member-cp-layout,
body#space.video-theme #ct {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto 28px !important;
  padding: 0 16px !important;
  border: 0 !important;
  background: transparent !important;
}

.video-theme #ct.video-member-thread-layout,
.video-theme #ct.video-member-profile-layout {
  display: grid !important;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
}

.video-theme #ct.video-member-cp-layout {
  display: grid !important;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
}

.video-theme #ct.video-member-cp-layout .video-member-profile-card-cp {
  grid-column: 1 / -1;
}

.video-theme #ct.video-member-thread-layout > .appl,
.video-theme #ct.video-member-profile-layout > .appl,
.video-theme #ct.video-member-cp-layout > .appl,
.video-theme #ct.video-member-cp-layout > .tbn {
  grid-column: 1;
  grid-row: 2;
  width: 100% !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 0 !important;
  border-radius: 16px;
  background: #fff !important;
  box-shadow: var(--video-shadow);
  box-sizing: border-box;
}

.video-theme #ct.video-member-thread-layout > .mn,
.video-theme #ct.video-member-profile-layout > .mn,
.video-theme #ct.video-member-cp-layout > .mn {
  grid-column: 2;
  grid-row: 2;
  float: none !important;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
}

.video-theme #ct.video-member-thread-layout.ct1,
.video-theme #ct.video-member-profile-layout.ct1 {
  display: block !important;
}

.video-theme #ct.video-member-thread-layout.ct1 > .mn,
.video-theme #ct.video-member-profile-layout.ct1 > .mn {
  width: 100% !important;
}

.video-theme #ct.video-member-cp-layout .mn .bm,
.video-theme #ct.video-member-profile-layout .mn .bm,
.video-theme #ct.video-member-thread-layout .mn .bm,
body#space.video-theme #ct .bm {
  overflow: hidden;
  border: 0 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: var(--video-shadow);
}

.video-theme #ct.video-member-cp-layout .mn .bm_h,
.video-theme #ct.video-member-profile-layout .mn .bm_h,
.video-theme #ct.video-member-thread-layout .mn .bm_h,
.video-theme #ct.video-member-cp-layout .mn .mt,
.video-theme #ct.video-member-profile-layout .mn .mt,
.video-theme #ct.video-member-thread-layout .mn .mt {
  border: 0 !important;
  color: var(--video-text) !important;
  background: transparent !important;
  font-size: 20px !important;
  font-weight: 900 !important;
}

.video-theme #ct.video-member-cp-layout .tbn h2,
.video-theme #ct.video-member-cp-layout .appl .tbn h2,
.video-theme #ct.video-member-thread-layout .tbn h2,
.video-theme #ct.video-member-profile-layout .tbn h2 {
  margin: 0 0 12px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid var(--video-line) !important;
  color: var(--video-muted);
  font-size: 13px !important;
  font-weight: 800;
}

.video-theme #ct.video-member-cp-layout .tbn ul,
.video-theme #ct.video-member-cp-layout .appl .tbn ul,
.video-theme #ct.video-member-thread-layout .tbn ul,
.video-theme #ct.video-member-profile-layout .tbn ul {
  display: grid;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
}

.video-theme #ct.video-member-cp-layout .tbn li,
.video-theme #ct.video-member-cp-layout .appl .tbn li,
.video-theme #ct.video-member-thread-layout .tbn li,
.video-theme #ct.video-member-profile-layout .tbn li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.video-theme #ct.video-member-cp-layout .tbn a,
.video-theme #ct.video-member-cp-layout .appl .tbn a,
.video-theme #ct.video-member-thread-layout .tbn a,
.video-theme #ct.video-member-profile-layout .tbn a {
  display: flex !important;
  align-items: center;
  min-height: 38px;
  padding: 0 12px !important;
  border-radius: 10px;
  color: var(--video-text) !important;
  font-size: 14px;
  font-weight: 800;
}

.video-theme #ct.video-member-cp-layout .tbn li.a a,
.video-theme #ct.video-member-cp-layout .appl .tbn li.a a,
.video-theme #ct.video-member-thread-layout .tbn li.a a,
.video-theme #ct.video-member-profile-layout .tbn li.a a {
  color: var(--video-primary) !important;
  background: #eff6ff;
}

.video-theme .u_profile {
  padding: 22px !important;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--video-shadow);
}

.video-theme .u_profile .pbm,
.video-theme .u_profile .mbm {
  border-color: var(--video-line) !important;
}

.video-theme .u_profile h2 {
  color: var(--video-text);
  font-weight: 900;
}

.video-theme .u_profile .pf_l {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.video-theme .u_profile .pf_l li {
  width: auto !important;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  box-sizing: border-box;
}

.video-theme .u_profile .pf_l em {
  color: var(--video-muted);
}

.video-member-thread-list {
  overflow: visible !important;
  border: 0 !important;
}

.video-member-thread-list form,
.video-member-thread-table,
.video-member-thread-table tbody {
  display: block;
  width: 100% !important;
}

.video-member-thread-table .th {
  display: none !important;
}

.video-member-thread-row {
  position: relative;
  display: grid !important;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  margin: 0 0 16px;
  padding: 14px !important;
  border: 0 !important;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--video-shadow);
  box-sizing: border-box;
}

.video-member-thread-row > td,
.video-member-thread-row > th {
  display: block !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.video-member-thread-row > td:not(.video-member-thread-cover-cell):not(.o),
.video-member-thread-row > .by,
.video-member-thread-row > .frm,
.video-member-thread-row > .num {
  display: none !important;
}

.video-member-thread-cover-cell {
  grid-column: 1;
}

.video-member-thread-cover {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: linear-gradient(135deg, #dbeafe, #f8fafc);
}

.video-member-thread-cover img,
.video-member-thread-cover .video-cover-default {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}

.video-member-thread-cover:hover img,
.video-member-thread-cover:hover .video-cover-default {
  transform: scale(1.04);
}

.video-member-thread-cover .video-cover-default {
  background:
    radial-gradient(circle at 28% 32%, rgba(37, 99, 235, 0.26), transparent 28%),
    linear-gradient(135deg, #dbeafe, #f8fafc);
}

.video-member-play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.video-member-play::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 13px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--video-primary);
}

.video-member-thread-main {
  grid-column: 2;
  min-width: 0;
}

.video-member-thread-main > a {
  display: -webkit-box !important;
  overflow: hidden;
  color: var(--video-text) !important;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.video-member-thread-main .tbox,
.video-member-thread-main .xg1,
.video-member-thread-main .tps {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin: 8px 6px 0 0;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--video-primary) !important;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 800;
}

.video-member-thread-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: var(--video-muted);
  font-size: 12px;
  line-height: 18px;
}

.video-member-thread-row > td.o {
  position: absolute;
  right: 14px;
  bottom: 14px;
}

.video-theme.pg_space .tbmu,
.video-theme.pg_space .pgs,
.video-theme.pg_spacecp .tbmu,
.video-theme.pg_spacecp .pgs {
  border: 0 !important;
  color: var(--video-muted);
  background: transparent !important;
}

.video-theme.pg_space .tbmu a,
.video-theme.pg_spacecp .tbmu a {
  color: var(--video-primary) !important;
}

.video-theme.pg_spacecp .tfm {
  width: 100% !important;
  margin: 0 !important;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.video-theme.pg_spacecp .tfm th,
.video-theme.pg_spacecp .tfm td {
  padding: 8px 10px !important;
  border: 0 !important;
  color: var(--video-text);
  vertical-align: top;
}

.video-theme.pg_spacecp .tfm th {
  width: 160px;
  color: var(--video-muted);
  font-weight: 800;
  text-align: right;
}

.video-theme.pg_spacecp input.px,
.video-theme.pg_spacecp textarea.pt,
.video-theme.pg_spacecp select.ps,
.video-theme.pg_spacecp select {
  max-width: 100%;
  min-height: 40px;
  padding: 0 12px !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 10px !important;
  color: var(--video-text) !important;
  background: #fff !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

.video-theme.pg_spacecp textarea.pt {
  min-height: 96px;
  padding-top: 10px !important;
  line-height: 1.65;
}

.video-theme.pg_spacecp .pn,
.video-theme.pg_spacecp .pn.pnc {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: var(--video-text) !important;
  background: #f1f5f9 !important;
  box-shadow: none !important;
  font-weight: 900;
}

.video-theme.pg_spacecp .pn.pnc {
  color: #fff !important;
  background: var(--video-primary) !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.2) !important;
}

.video-theme.pg_spacecp .pn span,
.video-theme.pg_spacecp .pn em,
.video-theme.pg_spacecp .pn strong {
  padding: 0 !important;
  color: inherit !important;
  background: transparent !important;
  font-style: normal;
  line-height: inherit !important;
}

@media (max-width: 900px) {
  body#space.video-theme {
    padding-bottom: 24px;
  }

  .video-theme.pg_space .whole_box1 > .section1x,
  .video-theme.pg_spacecp .whole_box1 > .section1x,
  body#space.video-theme #hd,
  .video-theme #uhd,
  .video-theme #ct.video-member-thread-layout,
  .video-theme #ct.video-member-profile-layout,
  .video-theme #ct.video-member-cp-layout,
  body#space.video-theme #ct {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .video-member-profile-card {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 18px;
    overflow: hidden;
    box-sizing: border-box;
    text-align: center;
  }

  .video-member-avatar {
    margin: 0 auto 12px;
  }

  .video-member-info h1 {
    white-space: normal;
  }

  .video-member-meta {
    justify-content: center;
    min-width: 0;
  }

  .video-member-meta span {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .video-member-stats {
    width: 100%;
    min-width: 0;
    margin-top: 14px;
    gap: 8px;
    overflow: hidden;
  }

  .video-member-stats a {
    min-width: 0;
    padding: 10px 6px;
  }

  .video-member-stats strong {
    font-size: 18px;
  }

  .video-member-stats span {
    font-size: 12px;
  }

  .video-member-edit {
    width: 100%;
    margin-top: 14px;
    box-sizing: border-box;
  }

  .video-theme #ct.video-member-thread-layout > .appl,
  .video-theme #ct.video-member-profile-layout > .appl,
  .video-theme #ct.video-member-cp-layout > .tbn {
    width: 100% !important;
    margin: 0 0 14px !important;
  }

  .video-theme #ct.video-member-thread-layout > .mn,
  .video-theme #ct.video-member-profile-layout > .mn,
  .video-theme #ct.video-member-cp-layout > .mn {
    width: 100% !important;
    margin: 0 !important;
  }

  .video-member-thread-row {
    display: block !important;
    padding: 12px !important;
  }

  .video-member-thread-cover {
    margin-bottom: 12px;
  }

  .video-member-thread-main > a {
    font-size: 15px;
  }

  .video-theme.pg_space .tbmu,
  .video-theme.pg_spacecp .tbmu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.6;
  }

  .video-theme.pg_space .tbmu .y,
  .video-theme.pg_spacecp .tbmu .y {
    float: none !important;
    width: 100%;
  }

  .video-theme.pg_space #searchmypost {
    width: calc(100% - 68px) !important;
    max-width: 180px !important;
    box-sizing: border-box;
  }

  .video-theme.pg_space .tbmu .pn {
    min-width: 56px;
   }

  .video-theme .u_profile {
    padding: 16px !important;
  }

  .video-theme .u_profile .pf_l {
    grid-template-columns: minmax(0, 1fr);
  }

  .video-theme.pg_spacecp .tfm,
  .video-theme.pg_spacecp .tfm tbody,
  .video-theme.pg_spacecp .tfm tr,
  .video-theme.pg_spacecp .tfm th,
  .video-theme.pg_spacecp .tfm td {
    display: block;
    width: 100% !important;
    text-align: left !important;
    box-sizing: border-box;
  }

  .video-theme.pg_spacecp .tfm tr {
    margin-bottom: 12px;
  }

  .video-theme.pg_spacecp input.px,
  .video-theme.pg_spacecp textarea.pt,
  .video-theme.pg_spacecp select.ps,
  .video-theme.pg_spacecp select {
    width: 100% !important;
  }
}

/* Modern member authentication pages */
.video-theme.pg_logging,
.video-theme.pg_register,
.video-theme.pg_getpasswd {
  background: var(--video-bg) !important;
}

.video-theme.pg_logging .video-category-rail,
.video-theme.pg_register .video-category-rail,
.video-theme.pg_getpasswd .video-category-rail {
  display: none !important;
}

.video-theme.pg_logging .whole_box1 > .section1x,
.video-theme.pg_register .whole_box1 > .section1x,
.video-theme.pg_getpasswd .whole_box1 > .section1x {
  overflow: visible !important;
}

.video-theme.pg_logging .whole_box1 > .section1x > #wp.serch_wp,
.video-theme.pg_register .whole_box1 > .section1x > #wp.serch_wp,
.video-theme.pg_getpasswd .whole_box1 > .section1x > #wp.serch_wp {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

.video-theme.pg_logging #background,
.video-theme.pg_register #background {
  display: none !important;
}

.video-auth-page {
  width: min(100% - 32px, 960px) !important;
  margin: 0 auto !important;
  padding: 54px 0 110px !important;
  box-sizing: border-box;
}

.video-theme.pg_logging .video-auth-page,
.video-theme.pg_getpasswd .video-auth-page,
.video-auth-reset {
  max-width: 480px !important;
}

.video-theme.pg_register .video-auth-page {
  max-width: 960px !important;
}

.video-auth-shell,
.video-auth-shell.wp,
.video-auth-shell.w,
.video-auth-page .mn {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.video-auth-page .ldLoginIntro {
  display: none !important;
}

.video-auth-card {
  float: none !important;
  width: 100% !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  padding: 30px !important;
  border: 1px solid rgba(226, 232, 240, 0.86) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08) !important;
  box-sizing: border-box !important;
}

.video-register-card {
  max-width: 720px !important;
}

.video-auth-brand {
  margin: 0 auto 22px !important;
  text-align: center !important;
  color: var(--video-text) !important;
  font-family: inherit !important;
}

.video-auth-brand img {
  display: block;
  width: 58px;
  max-height: 38px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.video-auth-brand .h2,
.video-auth-brand h3 {
  margin: 0 !important;
  color: var(--video-text) !important;
  font-size: 24px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.video-auth-brand .h2 i {
  display: none !important;
}

.video-auth-brand p {
  margin: 8px 0 0 !important;
  color: var(--video-muted) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.video-auth-card-title,
.video-auth-card .flb {
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  line-height: 1.4 !important;
  text-align: left !important;
}

.video-auth-card-title span,
.video-auth-card-title h3,
.video-auth-card .flb em {
  display: block !important;
  color: var(--video-text) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}

.video-auth-card-title h3#layer_reginfo_t {
  color: var(--video-text) !important;
  font-family: inherit !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

.video-auth-form,
.video-auth-form-body,
.video-auth-card .c,
.video-auth-card .bm_c {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.video-auth-card .rfm {
  width: 100% !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  box-sizing: border-box !important;
}

.video-auth-card .rfm table,
.video-auth-card .rfm tbody,
.video-auth-card .rfm tr,
.video-auth-card .rfm th,
.video-auth-card .rfm td {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.video-auth-card .rfm th,
.video-auth-card .rfm .th,
.video-auth-card .lgfm label em {
  display: block !important;
  width: 100% !important;
  margin: 0 0 8px !important;
  color: #475569 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  text-align: left !important;
}

.video-auth-card input.px,
.video-auth-card input.form-control,
.video-auth-card input.p_fre,
.video-auth-card input[type="text"],
.video-auth-card input[type="password"],
.video-auth-card select,
.video-auth-card textarea {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid rgba(203, 213, 225, 0.96) !important;
  border-radius: 12px !important;
  outline: 0 !important;
  background: #f8fafc !important;
  color: var(--video-text) !important;
  font-size: 14px !important;
  line-height: 44px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.video-auth-card textarea {
  min-height: 96px !important;
  padding-top: 10px !important;
  line-height: 1.6 !important;
}

.video-auth-card input.px:focus,
.video-auth-card input.form-control:focus,
.video-auth-card input.p_fre:focus,
.video-auth-card select:focus,
.video-auth-card textarea:focus {
  border-color: var(--video-primary) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}

.video-auth-card input.pc,
.video-auth-card input[type="checkbox"],
.video-auth-card input[type="radio"] {
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  margin: 0 6px 0 0 !important;
  padding: 0 !important;
  vertical-align: -3px !important;
}

.video-auth-card .p_tip,
.video-auth-card .p_chk,
.video-auth-card kbd,
.video-auth-card .d,
.video-auth-card em#emailmore {
  display: block !important;
  position: static !important;
  float: none !important;
  clear: both !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  color: #94a3b8 !important;
  background: transparent !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  white-space: normal !important;
}

.video-auth-card .rq {
  color: #ef4444 !important;
}

.video-auth-card .seccodecheck,
.video-auth-card .code {
  padding: 12px !important;
  border-radius: 14px !important;
  background: #f8fafc !important;
}

.video-auth-card .seccodecheck img,
.video-auth-card .code img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
}

.video-auth-card .rfm label {
  color: #475569 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.video-auth-card .rfm a,
.video-auth-card .login_now a,
.video-auth-link {
  color: var(--video-primary) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.video-auth-card .rfm a:hover,
.video-auth-card .login_now a:hover,
.video-auth-link:hover {
  color: #1d4ed8 !important;
}

.video-auth-card .login_btn,
.video-auth-card #reginfo_a_btn,
.video-auth-card .fsb {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.video-auth-card .pn,
.video-auth-card .pn.pnc,
.video-auth-card button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 44px !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22) !important;
  cursor: pointer !important;
}

.video-auth-card .pn span,
.video-auth-card .pn em,
.video-auth-card .pn strong {
  color: inherit !important;
  line-height: inherit !important;
}

.video-auth-card .pn:not(.pnc) {
  background: #f1f5f9 !important;
  color: #334155 !important;
  box-shadow: none !important;
}

.video-auth-card .pn:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.video-auth-card .bw0 {
  border: 0 !important;
}

.video-auth-card .pg_login > .rfm:nth-last-of-type(2),
.video-auth-card .login_now {
  margin-top: 16px !important;
  padding: 0 !important;
  text-align: center !important;
  color: var(--video-muted) !important;
  font-size: 14px !important;
}

.video-auth-card .pg_login > .rfm:last-of-type {
  margin-bottom: 0 !important;
}

.video-auth-card .pg_login > .rfm:last-of-type a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 38px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: #eff6ff !important;
  color: var(--video-primary) !important;
}

.video-auth-lostpw {
  margin-top: 6px !important;
}

.video-auth-lostpw .flb {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.video-auth-back-login {
  margin: 12px 0 0 !important;
  text-align: center !important;
}

.video-auth-back-login a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: #eff6ff !important;
  color: var(--video-primary) !important;
}

.video-auth-reset .lgfm {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.video-auth-reset .lgfm label {
  display: block !important;
  width: 100% !important;
  margin: 0 0 14px !important;
  color: #475569 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.video-auth-reset .lgfm label:first-child {
  padding: 12px 14px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
}

.video-auth-reset .lgf.minf {
  display: none !important;
}

.video-auth-submit-row {
  display: grid !important;
  gap: 12px !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
}

.video-auth-submit-row em {
  display: none !important;
}

.video-auth-link {
  display: inline-flex !important;
  justify-content: center !important;
  font-size: 14px !important;
}

@media (max-width: 800px) {
  .video-auth-page {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    padding: 28px 0 96px !important;
  }

  .video-auth-card {
    padding: 22px !important;
    border-radius: 18px !important;
  }

  .video-auth-brand {
    margin-bottom: 18px !important;
  }

  .video-auth-brand .h2,
  .video-auth-brand h3 {
    font-size: 22px !important;
  }

  .video-auth-card-title,
  .video-auth-card .flb {
    margin-bottom: 14px !important;
  }

  .video-auth-card .rfm {
    margin-bottom: 12px !important;
  }

  .video-auth-card .rfm th,
  .video-auth-card .rfm .th {
    margin-bottom: 6px !important;
  }

  .video-auth-card input.px,
  .video-auth-card input.form-control,
  .video-auth-card input.p_fre,
  .video-auth-card input[type="text"],
  .video-auth-card input[type="password"],
  .video-auth-card select {
    height: 44px !important;
    font-size: 15px !important;
  }
}

#nv_member.video-theme.pg_logging .video-auth-page #main_message,
#nv_member.video-theme.pg_register .video-auth-page #main_message,
#nv_member.video-theme.pg_getpasswd .video-auth-page #main_message {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
}

#nv_member.video-theme.pg_logging .video-auth-page .video-auth-card,
#nv_member.video-theme.pg_register .video-auth-page .video-auth-card,
#nv_member.video-theme.pg_getpasswd .video-auth-page .video-auth-card {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Restore Discuz simple editor icons on the mobile quick-reply toolbar. */
.video-theme.pg_viewthread #f_pst .fpd {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.video-theme.pg_viewthread #f_pst .fpd a {
  display: inline-block !important;
  flex: 0 0 26px !important;
  width: 26px !important;
  height: 20px !important;
  min-width: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 20px !important;
  text-indent: -9999px !important;
  background-image: url("/template/dingzhi_2025_video/dingzhi/thread/sEditor.gif") !important;
  background-repeat: no-repeat !important;
}

.video-theme.pg_viewthread #f_pst .fpd .fbld { background-position: 5px -1px !important; }
.video-theme.pg_viewthread #f_pst .fpd .fclr { background-position: -29px -1px !important; }
.video-theme.pg_viewthread #f_pst .fpd .fmg { background-position: -68px -1px !important; }
.video-theme.pg_viewthread #f_pst .fpd .flnk { background-position: -106px 0 !important; }
.video-theme.pg_viewthread #f_pst .fpd .fqt { background-position: -143px -1px !important; }
.video-theme.pg_viewthread #f_pst .fpd .fcd { background-position: -182px -1px !important; }
.video-theme.pg_viewthread #f_pst .fpd .fsml { background-position: -223px 0 !important; }

.video-theme.pg_viewthread #f_pst #spanButtonPlaceholder,
.video-theme.pg_viewthread #f_pst #spanButtonPlaceholder.webuploader-container {
  display: inline-block !important;
  flex: 0 0 30px !important;
  width: 30px !important;
  min-width: 30px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 20px !important;
  text-indent: -9999px !important;
  background: url("/template/dingzhi_2025_video/dingzhi/thread/sEditor.gif") no-repeat -292px 0 !important;
  box-shadow: none !important;
}

@media (max-width: 900px) {
  .video-theme.pg_viewthread .reply-card {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) auto !important;
    gap: 0 10px !important;
    margin: 0 0 10px !important;
    padding: 14px 16px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--video-line) !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .video-theme.pg_viewthread .reply-card > .reply-avatar {
    grid-column: 1;
    grid-row: 1;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
  }

  .video-theme.pg_viewthread .reply-card > .reply-avatar .avatar,
  .video-theme.pg_viewthread .reply-card > .reply-avatar .avatar a,
  .video-theme.pg_viewthread .reply-card > .reply-avatar .avatar img {
    width: 44px !important;
    height: 44px !important;
  }

  .video-theme.pg_viewthread .reply-card > .reply-avatar .avatar {
    border: 2px solid #fecaca !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
  }

  .video-theme.pg_viewthread .reply-card > .reply-main {
    display: contents !important;
  }

  .video-theme.pg_viewthread .reply-card > .reply-main > .reply-header {
    grid-column: 2 / 4;
    grid-row: 1;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 8px !important;
    align-items: start !important;
    width: 100% !important;
    min-height: 44px !important;
    line-height: 1.35 !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-name,
  .video-theme.pg_viewthread .reply-card .reply-name .authi,
  .video-theme.pg_viewthread .reply-card .reply-name a {
    grid-column: 1;
    display: block !important;
    max-width: 100% !important;
    color: var(--video-primary) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 20px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-time {
    grid-column: 1;
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    color: #9ca3af !important;
    font-size: 12px !important;
    line-height: 18px !important;
    white-space: nowrap !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-floor {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: start;
    margin-left: 0 !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-floor a {
    min-height: auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: #6b7280 !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
  }

  .video-theme.pg_viewthread .reply-card > .reply-main > .reply-content {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 12px !important;
    color: #374151 !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-content .pcb,
  .video-theme.pg_viewthread .reply-card .reply-content .t_f {
    color: #374151 !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
  }

  .video-theme.pg_viewthread .reply-card > .reply-main > .reply-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: flex-end;
    gap: 16px !important;
    margin-top: 12px !important;
    padding: 0 !important;
    border-top: 0 !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-actions em,
  .video-theme.pg_viewthread .reply-card .reply-actions p {
    gap: 16px !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-actions a,
  .video-theme.pg_viewthread .reply-card .reply-actions a.fastre {
    min-height: 22px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: #9ca3af !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 22px !important;
  }

  .video-theme.pg_viewthread .reply-card .reply-actions a:hover {
    color: var(--video-primary) !important;
  }

  .video-theme.pg_viewthread #postlistreply .viewthread_table,
  .video-theme.pg_viewthread #post_new .viewthread_table {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
  }
}

/* Mobile floating reply/newthread window: keep Discuz form controls, fix old float/table layout. */
@media (max-width: 900px) {
  .video-theme .fwinmask[id^="fwin_reply"],
  .video-theme .fwinmask[id^="fwin_newthread"],
  .video-theme .fwinmask[id^="fwin_post"],
  .video-theme .fwinmask[id*="reply"],
  .video-theme .fwinmask[id*="newthread"] {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    top: 76px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100vh - 96px) !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
    transform: none !important;
    z-index: 9999 !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] table,
  .video-theme .fwinmask[id^="fwin_newthread"] table,
  .video-theme .fwinmask[id^="fwin_post"] table,
  .video-theme .fwinmask[id*="reply"] table,
  .video-theme .fwinmask[id*="newthread"] table,
  .video-theme .fwinmask[id^="fwin_reply"] tbody,
  .video-theme .fwinmask[id^="fwin_newthread"] tbody,
  .video-theme .fwinmask[id^="fwin_post"] tbody,
  .video-theme .fwinmask[id*="reply"] tbody,
  .video-theme .fwinmask[id*="newthread"] tbody,
  .video-theme .fwinmask[id^="fwin_reply"] tr,
  .video-theme .fwinmask[id^="fwin_newthread"] tr,
  .video-theme .fwinmask[id^="fwin_post"] tr,
  .video-theme .fwinmask[id*="reply"] tr,
  .video-theme .fwinmask[id*="newthread"] tr,
  .video-theme .fwinmask[id^="fwin_reply"] td,
  .video-theme .fwinmask[id^="fwin_newthread"] td,
  .video-theme .fwinmask[id^="fwin_post"] td,
  .video-theme .fwinmask[id*="reply"] td,
  .video-theme .fwinmask[id*="newthread"] td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    box-sizing: border-box !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] .m_c,
  .video-theme .fwinmask[id^="fwin_newthread"] .m_c,
  .video-theme .fwinmask[id^="fwin_post"] .m_c,
  .video-theme .fwinmask[id*="reply"] .m_c,
  .video-theme .fwinmask[id*="newthread"] .m_c {
    width: 100% !important;
    max-height: calc(100vh - 96px) !important;
    padding: 12px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.2) !important;
    box-sizing: border-box !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] .flb,
  .video-theme .fwinmask[id^="fwin_newthread"] .flb,
  .video-theme .fwinmask[id^="fwin_post"] .flb,
  .video-theme .fwinmask[id*="reply"] .flb,
  .video-theme .fwinmask[id*="newthread"] .flb {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 34px !important;
    margin: 0 0 10px !important;
    padding: 0 38px 8px 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-bottom: 1px solid var(--video-line) !important;
    background: transparent !important;
    line-height: 1.35 !important;
    box-sizing: border-box !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] .flb em,
  .video-theme .fwinmask[id^="fwin_newthread"] .flb em,
  .video-theme .fwinmask[id^="fwin_post"] .flb em,
  .video-theme .fwinmask[id*="reply"] .flb em,
  .video-theme .fwinmask[id*="newthread"] .flb em {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: var(--video-primary) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] .flb span,
  .video-theme .fwinmask[id^="fwin_newthread"] .flb span,
  .video-theme .fwinmask[id^="fwin_post"] .flb span,
  .video-theme .fwinmask[id*="reply"] .flb span,
  .video-theme .fwinmask[id*="newthread"] .flb span {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] .flbc,
  .video-theme .fwinmask[id^="fwin_newthread"] .flbc,
  .video-theme .fwinmask[id^="fwin_post"] .flbc,
  .video-theme .fwinmask[id*="reply"] .flbc,
  .video-theme .fwinmask[id*="newthread"] .flbc {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: #9ca3af !important;
    opacity: 1 !important;
    text-indent: 0 !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] #postform,
  .video-theme .fwinmask[id^="fwin_newthread"] #postform,
  .video-theme .fwinmask[id^="fwin_post"] #postform,
  .video-theme .fwinmask[id*="reply"] #postform,
  .video-theme .fwinmask[id*="newthread"] #postform,
  .video-theme .fwinmask[id^="fwin_reply"] #ct,
  .video-theme .fwinmask[id^="fwin_newthread"] #ct,
  .video-theme .fwinmask[id^="fwin_post"] #ct,
  .video-theme .fwinmask[id*="reply"] #ct,
  .video-theme .fwinmask[id*="newthread"] #ct,
  .video-theme .fwinmask[id^="fwin_reply"] #postbox,
  .video-theme .fwinmask[id^="fwin_newthread"] #postbox,
  .video-theme .fwinmask[id^="fwin_post"] #postbox,
  .video-theme .fwinmask[id*="reply"] #postbox,
  .video-theme .fwinmask[id*="newthread"] #postbox,
  .video-theme .fwinmask[id^="fwin_reply"] .video-publish-card,
  .video-theme .fwinmask[id^="fwin_newthread"] .video-publish-card,
  .video-theme .fwinmask[id^="fwin_post"] .video-publish-card,
  .video-theme .fwinmask[id*="reply"] .video-publish-card,
  .video-theme .fwinmask[id*="newthread"] .video-publish-card {
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] .video-publish-head,
  .video-theme .fwinmask[id^="fwin_newthread"] .video-publish-head,
  .video-theme .fwinmask[id^="fwin_post"] .video-publish-head,
  .video-theme .fwinmask[id*="reply"] .video-publish-head,
  .video-theme .fwinmask[id*="newthread"] .video-publish-head {
    display: none !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] .pbt,
  .video-theme .fwinmask[id^="fwin_newthread"] .pbt,
  .video-theme .fwinmask[id^="fwin_post"] .pbt,
  .video-theme .fwinmask[id*="reply"] .pbt,
  .video-theme .fwinmask[id*="newthread"] .pbt,
  .video-theme .fwinmask[id^="fwin_reply"] .pbt .z,
  .video-theme .fwinmask[id^="fwin_newthread"] .pbt .z,
  .video-theme .fwinmask[id^="fwin_post"] .pbt .z,
  .video-theme .fwinmask[id*="reply"] .pbt .z,
  .video-theme .fwinmask[id*="newthread"] .pbt .z,
  .video-theme .fwinmask[id^="fwin_reply"] .pbt .z > span,
  .video-theme .fwinmask[id^="fwin_newthread"] .pbt .z > span,
  .video-theme .fwinmask[id^="fwin_post"] .pbt .z > span,
  .video-theme .fwinmask[id*="reply"] .pbt .z > span,
  .video-theme .fwinmask[id*="newthread"] .pbt .z > span,
  .video-theme .fwinmask[id^="fwin_reply"] #subjectbox,
  .video-theme .fwinmask[id^="fwin_newthread"] #subjectbox,
  .video-theme .fwinmask[id^="fwin_post"] #subjectbox,
  .video-theme .fwinmask[id*="reply"] #subjectbox,
  .video-theme .fwinmask[id*="newthread"] #subjectbox {
    clear: both !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] #subject,
  .video-theme .fwinmask[id^="fwin_newthread"] #subject,
  .video-theme .fwinmask[id^="fwin_post"] #subject,
  .video-theme .fwinmask[id*="reply"] #subject,
  .video-theme .fwinmask[id*="newthread"] #subject,
  .video-theme .fwinmask[id^="fwin_reply"] input[name="subject"],
  .video-theme .fwinmask[id^="fwin_newthread"] input[name="subject"],
  .video-theme .fwinmask[id^="fwin_post"] input[name="subject"],
  .video-theme .fwinmask[id*="reply"] input[name="subject"],
  .video-theme .fwinmask[id*="newthread"] input[name="subject"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 12px !important;
    overflow: hidden !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--video-text) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 42px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] .edt,
  .video-theme .fwinmask[id^="fwin_newthread"] .edt,
  .video-theme .fwinmask[id^="fwin_post"] .edt,
  .video-theme .fwinmask[id*="reply"] .edt,
  .video-theme .fwinmask[id*="newthread"] .edt,
  .video-theme .fwinmask[id^="fwin_reply"] .tedt,
  .video-theme .fwinmask[id^="fwin_newthread"] .tedt,
  .video-theme .fwinmask[id^="fwin_post"] .tedt,
  .video-theme .fwinmask[id*="reply"] .tedt,
  .video-theme .fwinmask[id*="newthread"] .tedt {
    clear: both !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 10px !important;
    overflow: hidden !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] .edt .bar,
  .video-theme .fwinmask[id^="fwin_newthread"] .edt .bar,
  .video-theme .fwinmask[id^="fwin_post"] .edt .bar,
  .video-theme .fwinmask[id*="reply"] .edt .bar,
  .video-theme .fwinmask[id*="newthread"] .edt .bar,
  .video-theme .fwinmask[id^="fwin_reply"] .tedt .bar,
  .video-theme .fwinmask[id^="fwin_newthread"] .tedt .bar,
  .video-theme .fwinmask[id^="fwin_post"] .tedt .bar,
  .video-theme .fwinmask[id*="reply"] .tedt .bar,
  .video-theme .fwinmask[id*="newthread"] .tedt .bar {
    clear: both !important;
    display: flex !important;
    align-items: center !important;
    min-height: 38px !important;
    padding: 7px 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border: 0 !important;
    border-bottom: 1px solid var(--video-line) !important;
    background: #f8fafc !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    scrollbar-width: none;
  }

  .video-theme .fwinmask[id^="fwin_reply"] .edt .bar::-webkit-scrollbar,
  .video-theme .fwinmask[id^="fwin_newthread"] .edt .bar::-webkit-scrollbar,
  .video-theme .fwinmask[id^="fwin_post"] .edt .bar::-webkit-scrollbar,
  .video-theme .fwinmask[id*="reply"] .edt .bar::-webkit-scrollbar,
  .video-theme .fwinmask[id*="newthread"] .edt .bar::-webkit-scrollbar {
    display: none;
  }

  .video-theme .fwinmask[id^="fwin_reply"] .edt .bar .y,
  .video-theme .fwinmask[id^="fwin_newthread"] .edt .bar .y,
  .video-theme .fwinmask[id^="fwin_post"] .edt .bar .y,
  .video-theme .fwinmask[id*="reply"] .edt .bar .y,
  .video-theme .fwinmask[id*="newthread"] .edt .bar .y {
    float: none !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    white-space: nowrap !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] .fpd,
  .video-theme .fwinmask[id^="fwin_newthread"] .fpd,
  .video-theme .fwinmask[id^="fwin_post"] .fpd,
  .video-theme .fwinmask[id*="reply"] .fpd,
  .video-theme .fwinmask[id*="newthread"] .fpd {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    gap: 4px !important;
    min-width: 0 !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] .fpd a,
  .video-theme .fwinmask[id^="fwin_newthread"] .fpd a,
  .video-theme .fwinmask[id^="fwin_post"] .fpd a,
  .video-theme .fwinmask[id*="reply"] .fpd a,
  .video-theme .fwinmask[id*="newthread"] .fpd a {
    display: inline-block !important;
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 20px !important;
    text-indent: -9999px !important;
    background-image: url("/template/dingzhi_2025_video/dingzhi/thread/sEditor.gif") !important;
    background-repeat: no-repeat !important;
    box-shadow: none !important;
  }

  .video-theme .fwinmask .fpd .fbld { background-position: 5px -1px !important; }
  .video-theme .fwinmask .fpd .fclr { background-position: -29px -1px !important; }
  .video-theme .fwinmask .fpd .fmg { background-position: -68px -1px !important; }
  .video-theme .fwinmask .fpd .flnk { background-position: -106px 0 !important; }
  .video-theme .fwinmask .fpd .fqt { background-position: -143px -1px !important; }
  .video-theme .fwinmask .fpd .fcd { background-position: -182px -1px !important; }
  .video-theme .fwinmask .fpd .fsml { background-position: -223px 0 !important; }

  .video-theme .fwinmask[id^="fwin_reply"] #spanButtonPlaceholder,
  .video-theme .fwinmask[id^="fwin_newthread"] #spanButtonPlaceholder,
  .video-theme .fwinmask[id^="fwin_post"] #spanButtonPlaceholder,
  .video-theme .fwinmask[id*="reply"] #spanButtonPlaceholder,
  .video-theme .fwinmask[id*="newthread"] #spanButtonPlaceholder,
  .video-theme .fwinmask[id^="fwin_reply"] #spanButtonPlaceholder.webuploader-container,
  .video-theme .fwinmask[id^="fwin_newthread"] #spanButtonPlaceholder.webuploader-container,
  .video-theme .fwinmask[id^="fwin_post"] #spanButtonPlaceholder.webuploader-container,
  .video-theme .fwinmask[id*="reply"] #spanButtonPlaceholder.webuploader-container,
  .video-theme .fwinmask[id*="newthread"] #spanButtonPlaceholder.webuploader-container {
    display: inline-block !important;
    flex: 0 0 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 20px !important;
    text-indent: -9999px !important;
    background: url("/template/dingzhi_2025_video/dingzhi/thread/sEditor.gif") no-repeat -292px 0 !important;
    box-shadow: none !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] .edt .area,
  .video-theme .fwinmask[id^="fwin_newthread"] .edt .area,
  .video-theme .fwinmask[id^="fwin_post"] .edt .area,
  .video-theme .fwinmask[id*="reply"] .edt .area,
  .video-theme .fwinmask[id*="newthread"] .edt .area,
  .video-theme .fwinmask[id^="fwin_reply"] .tedt .area,
  .video-theme .fwinmask[id^="fwin_newthread"] .tedt .area,
  .video-theme .fwinmask[id^="fwin_post"] .tedt .area,
  .video-theme .fwinmask[id*="reply"] .tedt .area,
  .video-theme .fwinmask[id*="newthread"] .tedt .area {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 132px !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] textarea.pt,
  .video-theme .fwinmask[id^="fwin_newthread"] textarea.pt,
  .video-theme .fwinmask[id^="fwin_post"] textarea.pt,
  .video-theme .fwinmask[id*="reply"] textarea.pt,
  .video-theme .fwinmask[id*="newthread"] textarea.pt,
  .video-theme .fwinmask[id^="fwin_reply"] .tedt .pt,
  .video-theme .fwinmask[id^="fwin_newthread"] .tedt .pt,
  .video-theme .fwinmask[id^="fwin_post"] .tedt .pt,
  .video-theme .fwinmask[id*="reply"] .tedt .pt,
  .video-theme .fwinmask[id*="newthread"] .tedt .pt {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 132px !important;
    padding: 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--video-text) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    resize: vertical !important;
    box-sizing: border-box !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] #seccheck,
  .video-theme .fwinmask[id^="fwin_newthread"] #seccheck,
  .video-theme .fwinmask[id^="fwin_post"] #seccheck,
  .video-theme .fwinmask[id*="reply"] #seccheck,
  .video-theme .fwinmask[id*="newthread"] #seccheck,
  .video-theme .fwinmask[id^="fwin_reply"] .pnpost,
  .video-theme .fwinmask[id^="fwin_newthread"] .pnpost,
  .video-theme .fwinmask[id^="fwin_post"] .pnpost,
  .video-theme .fwinmask[id*="reply"] .pnpost,
  .video-theme .fwinmask[id*="newthread"] .pnpost {
    clear: both !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] #seccheck .p_opt,
  .video-theme .fwinmask[id^="fwin_newthread"] #seccheck .p_opt,
  .video-theme .fwinmask[id^="fwin_post"] #seccheck .p_opt,
  .video-theme .fwinmask[id*="reply"] #seccheck .p_opt,
  .video-theme .fwinmask[id*="newthread"] #seccheck .p_opt {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 0 0 !important;
    box-sizing: border-box !important;
  }

  .video-theme .fwinmask[id^="fwin_reply"] #postsubmit,
  .video-theme .fwinmask[id^="fwin_newthread"] #postsubmit,
  .video-theme .fwinmask[id^="fwin_post"] #postsubmit,
  .video-theme .fwinmask[id*="reply"] #postsubmit,
  .video-theme .fwinmask[id*="newthread"] #postsubmit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 42px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: var(--video-primary) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 42px !important;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18) !important;
  }
}

/* Desktop reply cards: show the generated modern comment layout, hide the old floor table. */
@media (min-width: 901px) {
  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 14px !important;
    padding: 18px 20px !important;
    overflow: visible !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: var(--video-shadow) !important;
    box-sizing: border-box !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] > .reply-source-table {
    display: none !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] > .reply-avatar {
    display: block !important;
    flex: 0 0 52px !important;
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] > .reply-avatar .avatar,
  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] > .reply-avatar .avatar a,
  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] > .reply-avatar .avatar img {
    display: block !important;
    width: 52px !important;
    height: 52px !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] > .reply-avatar .avatar {
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    background: #e0ecff !important;
    box-shadow: 0 0 0 3px #fff, 0 4px 14px rgba(15, 23, 42, 0.12) !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] > .reply-avatar .avatar img {
    object-fit: cover !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] > .reply-main {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-header {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px 10px !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--video-muted) !important;
    font-size: 13px !important;
    line-height: 22px !important;
    box-sizing: border-box !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-name {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 180px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    color: var(--video-primary) !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 22px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-name .authi,
  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-name a {
    display: inline !important;
    width: auto !important;
    height: auto !important;
    color: var(--video-primary) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 22px !important;
    white-space: nowrap !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-time {
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
    color: #9ca3af !important;
    font-size: 13px !important;
    font-style: normal !important;
    line-height: 22px !important;
    white-space: nowrap !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-header .pti,
  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-header .authi {
    float: none !important;
    display: contents !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-header .pdbt,
  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-header .authicn,
  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-header .pipe,
  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-header .show,
  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-header a[href*="authorid"] {
    display: none !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-floor {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-floor a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 22px !important;
    padding: 0 8px !important;
    border-radius: 999px !important;
    color: #6b7280 !important;
    background: #f3f4f6 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 22px !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-content {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--video-text) !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-content .pct,
  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-content .pcb,
  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-content .t_f,
  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-content .t_fsz {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--video-text) !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    word-break: break-word !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 16px 0 0 !important;
    padding: 12px 0 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-top: 1px solid var(--video-line) !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-actions em,
  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-actions p {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 0 13px !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: var(--video-primary) !important;
    background: #eff6ff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 30px !important;
  }

  .video-theme.pg_viewthread .reply-card[data-reply-card-ready="1"] .reply-actions a.fastre {
    color: #fff !important;
    background: var(--video-primary) !important;
  }
}

/* Forum picker used before publishing. */
.video-theme .video-forumselect-page {
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  box-sizing: border-box;
}

.video-theme .video-forumselect-titlebar,
.video-theme #fwin_nav .video-forumselect-titlebar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 0 14px !important;
  border: 0 !important;
  background: transparent !important;
  line-height: 1.3 !important;
}

.video-theme .video-forumselect-titlebar em,
.video-theme #fwin_nav .video-forumselect-titlebar em {
  color: var(--video-text) !important;
  font-size: 22px !important;
  font-weight: 900 !important;
}

.video-theme #fwin_nav.fwinmask {
  width: min(760px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
}

.video-theme #fwin_nav .m_c {
  padding: 20px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18) !important;
}

.video-theme .video-forumselect {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-sizing: border-box;
}

.video-theme .video-forumselect-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid rgba(219, 227, 239, 0.9);
  border-radius: 16px;
  background: #f8fafc;
  box-sizing: border-box;
}

.video-theme .video-forumselect-head strong {
  display: block;
  color: var(--video-text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}

.video-theme .video-forumselect-head p {
  margin: 6px 0 0;
  color: var(--video-muted);
  font-size: 13px;
  line-height: 20px;
}

.video-theme .video-forumselect-head span {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--video-primary);
  background: #eff6ff;
  font-size: 13px;
  font-weight: 800;
  line-height: 32px;
  white-space: nowrap;
}

.video-theme .video-forumselect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.video-theme .video-forumselect-card {
  position: relative;
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: center;
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(219, 227, 239, 0.9);
  border-radius: 16px;
  color: var(--video-text) !important;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.video-theme .video-forumselect-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.video-theme .video-forumselect-card i {
  grid-row: 1 / 3;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.video-theme .video-forumselect-card i::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 12px 0 0 16px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 13px solid #fff;
}

.video-theme .video-forumselect-card strong {
  display: block;
  overflow: hidden;
  color: var(--video-text);
  font-size: 15px;
  font-weight: 900;
  line-height: 22px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.video-theme .video-forumselect-card span {
  display: block;
  overflow: hidden;
  color: var(--video-muted);
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.video-theme .video-forumselect-empty {
  padding: 36px 16px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  color: var(--video-muted);
  background: #f8fafc;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 900px) {
  .video-theme #fwin_nav.fwinmask {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    top: 76px !important;
    width: auto !important;
    max-width: none !important;
  }

  .video-theme #fwin_nav .m_c {
    max-height: calc(100vh - 96px) !important;
    padding: 14px !important;
    overflow: auto !important;
    border-radius: 16px !important;
  }

  .video-theme .video-forumselect-titlebar em,
  .video-theme #fwin_nav .video-forumselect-titlebar em {
    font-size: 18px !important;
  }

  .video-theme .video-forumselect-head {
    display: block;
    margin-bottom: 12px;
    padding: 14px;
  }

  .video-theme .video-forumselect-head span {
    display: inline-flex;
    margin-top: 10px;
  }

  .video-theme .video-forumselect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .video-theme .video-forumselect-card {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 2px 9px;
    min-height: 74px;
    padding: 12px;
    border-radius: 14px;
  }

  .video-theme .video-forumselect-card i {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .video-theme .video-forumselect-card i::before {
    margin: 9px 0 0 13px;
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 11px;
  }

  .video-theme .video-forumselect-card strong {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .video-theme.pg_forumdisplay #ct.video-forumdisplay-layout {
    display: block !important;
    grid-template-columns: none !important;
  }

  .video-theme.pg_forumdisplay #ct.video-forumdisplay-layout > .video-forumdisplay-main {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .video-theme.pg_forumdisplay #ct.video-forumdisplay-layout > .sd {
    display: none !important;
  }
}

@media (min-width: 901px) {
  .video-theme.pg_viewthread .whole_box1 > .section1x:nth-of-type(1) {
    display: grid !important;
    grid-template-columns: 176px minmax(0, 1fr) !important;
    gap: 20px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 16px !important;
  }

  .video-theme.pg_viewthread .whole_box1 {
    overflow: visible !important;
  }
}

.video-theme .footer {
  clear: both;
  position: relative;
  z-index: 1;
}

.video-theme .footer .wp {
  width: 100% !important;
  max-width: var(--video-max);
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
  text-align: center !important;
}

.video-theme .footer .z,
.video-theme .footer .y {
  float: none !important;
}

/* Keep the thread moderator action row horizontal after Discuz cache rebuilds. */
.video-theme.pg_viewthread .dingzhi_mbox .pop_manager {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 12px !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  line-height: 24px !important;
}

.video-theme.pg_viewthread .dingzhi_mbox .pop_manager a {
  display: inline-flex !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #17233d !important;
  font-size: 13px !important;
  line-height: 24px !important;
  text-align: left !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

.video-theme.pg_viewthread .dingzhi_mbox .pop_manager a:hover {
  color: #2563eb !important;
  text-decoration: none !important;
}

.video-theme.pg_viewthread .dingzhi_mbox .pop_manager .pipe {
  display: none !important;
}
