/*
VidWatch cards and the /video/{post id} viewer.

Loaded only by themes/wondertag/layout/yub-vids/includes/vidwatch-css.phtml.
That include is called from the VidWatch layouts. The link uses this
file's modification time as its cache key. These rules are not in
custom/css/style.css, so the admin Custom CSS screen does not own them.

The main feed (#mlposts.wt-yt-feed) is two cards wide, and one card wide
below 768px. A wow_content block that is not a video card, such as an ad
the admin already wrapped, spans the full row.
*/

/* Two columns on the main VidWatch feed. One column on a phone. */
#mlposts.wt-yt-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  align-items: start;
}
@media (max-width: 767px) {
  #mlposts.wt-yt-feed {
    grid-template-columns: 1fr;
  }
}

/* Ads and other non-card blocks use the whole row. Video cards stay in a cell. */
#mlposts.wt-yt-feed > .wow_content:not(.wt-yt-card),
#mlposts.wt-yt-feed > .loading-status,
#mlposts.wt-yt-feed > .user-ad-container,
#mlposts.wt-yt-feed > .post:not(.wt-yt-card) {
  grid-column: 1 / -1;
}

/* wow_content supplies the card box. Keep the cell from overflowing the grid. */
.wt-yt-card {
  min-width: 0;
  margin: 0;
}

/* 16:9 thumbnail. The play mark stays on the image. */
.wt-yt-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
}
.wt-yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wt-yt-thumb:hover img {
  filter: brightness(0.86);
}
.wt-yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 32px;
  margin: -16px 0 0 -23px;
  background: url("../../img/playButt.png") center / contain no-repeat;
  opacity: 0.75;
  transition: opacity 0.15s ease;
}
.wt-yt-thumb:hover .wt-yt-play {
  opacity: 1;
}

/* YouTube, BitChute, Rumble, or Odysee, drawn on the thumbnail. */
.wt-yt-source {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 11px;
  line-height: 1.3;
}

/* Title, channel, and view count under the thumbnail. */
.wt-yt-meta {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.wt-yt-avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
}
.wt-yt-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wt-yt-text {
  min-width: 0;
}
.wt-yt-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  color: inherit;
  text-decoration: none;
}
.wt-yt-channel,
.wt-yt-sub {
  display: block;
  margin-top: 2px;
  color: #8b8b8b;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}
.wt-yt-sub {
  display: flex;
  gap: 6px;
  align-items: center;
}

/* Shown in the feed while Load More is fetching the next cards. */
.wt-yt-loading {
  padding: 12px 0 4px;
  color: #8b8b8b;
  font-size: 14px;
}

/*
VidWatch viewer at /video/{post id}.

The player, title, channel, and description replace the feed post card.
Likes, comments, and the share button stay the shared post footer.
Night mode is the dark.css link in the document head.
*/
.wt-watch {
  display: flex;
  flex-direction: column;
}
.wt-watch > * {
  order: 20;
}
.wt-watch-player { order: 1; }
.wt-watch-title { order: 2; }
.wt-watch-sub { order: 3; }
.wt-watch-row { order: 4; }
.wt-watch > .wt-vidwatch-bar { order: 5; }
.wt-watch-actions { order: 6; }
.wt-watch-desc { order: 7; }
.wt-watch > .post-footer {
  order: 8;
  margin-bottom: 12px;
}
.wt-watch > .clear {
  height: 0;
  margin: 0;
  padding: 0;
}

.wt-watch-page .panel.panel-white {
  padding: 0 0 8px;
}
.wt-watch-player {
  background: #0f0f0f;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  margin: 0;
}
.wt-watch-player .tag_post_full_img,
.wt-watch-player .wo_shared_doc_file {
  margin: 0;
  max-height: none;
  border: 0;
  border-radius: 12px;
  background: #0f0f0f;
  padding: 0;
}
.wt-watch-player .post-youtube,
.wt-watch-player .youtube {
  position: relative;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  margin: 0 !important;
  background: #0f0f0f;
}
.wt-watch-player .youtube img,
.wt-watch-player .post-youtube > img,
.wt-watch-player iframe,
.wt-watch-player video {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain;
  display: block;
  background: #0f0f0f;
}
.wt-watch-player .post-youtube iframe,
.wt-watch-player .youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.wt-watch-player .youtubeVideoTitle,
.wt-watch-player .post-youtube > b,
.wt-watch-player .post-youtube > h6,
.wt-watch-player .post-youtube > img:not([width="100%"]) {
  display: none !important;
}
.wt-watch-player .youtube .YTpbutton,
.wt-watch-player .post-youtube .YTpbutton {
  top: 50%;
  transform: translateY(-50%) !important;
}
.wt-watch-player .plyr,
.wt-watch-player .tag_vid_plyr {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}

.wt-watch-title,
.wt-watch-sub,
.wt-watch-row,
.wt-watch-actions,
.wt-watch-desc,
.wt-watch > .post-footer {
  margin-left: 16px;
  margin-right: 16px;
}
.wt-watch-title {
  margin-top: 16px;
  margin-bottom: 6px;
  color: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}
.wt-watch-sub {
  color: inherit;
  opacity: 0.7;
  font-size: 14px;
}
.wt-watch-dot {
  margin: 0 4px;
}
.wt-watch-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.wt-watch-avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}
.wt-watch-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wt-watch-who {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.wt-watch-name {
  color: inherit;
  font-weight: 600;
  font-size: 15px;
}
.wt-watch-menu {
  flex: 0 0 auto;
  margin-left: auto;
}
.wt-watch-menu .dropdown-toggle {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 1;
}
.wt-watch-menu .dropdown-toggle:hover {
  background: rgba(128, 128, 128, 0.18);
}

.wt-watch .tag_post_actions {
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.wt-watch .tag_post_actions .stat-item,
.wt-watch .tag_post_actions .wo-reaction-post {
  background: rgba(128, 128, 128, 0.16);
  border-radius: 18px;
  margin: 0 8px 0 0;
  padding: 0 12px 0 4px;
  min-height: 36px;
}
.wt-watch .tag_post_actions .stat-item .icoo {
  background: transparent;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wt-watch .tag_post_actions .like-btn-mobile {
  display: inline;
}
.wt-watch .tag_post_react_btn svg,
.wt-watch .tag_post_foot_acticon svg,
.wt-watch #like-button > svg,
.wt-watch .tag_post_actions .icoo svg {
  width: 22px;
  height: 22px;
  padding: 0;
  margin: 0;
  background: transparent;
  box-sizing: content-box;
  display: block;
  flex: 0 0 22px;
}
.wt-watch .tag_post_foot_stats {
  margin-top: 8px;
  opacity: 0.85;
}
.wt-watch .post-footer.post-comments.hidden {
  display: block !important;
}

.wt-watch-desc {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(128, 128, 128, 0.12);
}
.wt-watch-desc summary {
  cursor: pointer;
  font-weight: 600;
}
.wt-watch-desc-body {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  white-space: normal;
}
.wt-watch > .wt-vidwatch-bar {
  margin: 14px 16px 0;
}

/*
Title bar, flat hero, and the Search / Categories / Channels bar are
one stack. The hero has no radius so it meets both red bars. The top
bar is rounded on top. The bottom bar is rounded on the bottom. At
1024px the whole stack goes to the screen edges and those outer
corners go square. The bottom buttons keep the large theme pills and
scroll on one line to the right edge of the bar.
*/
.wt-vid-stack {
  width: 100%;
  margin: 0 0 10px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 5px 5px 30px 7px rgba(0, 0, 0, 0.25), -5px -5px 30px 7px rgba(0, 0, 0, 0.22);
}
.wt-vid-titlebar,
.wt-vid-actionbar {
  background: #65000b;
  color: var(--header-color);
}
.wt-vid-titlebar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 12px 10px;
  border-radius: 15px 15px 0 0;
}
.wt-vid-titlebar h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  color: var(--header-color);
}
.wt-vid-stack .header,
.wt-vid-stack .newsbanner {
  display: block;
  width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
.wt-vid-stack .header {
  display: flex;
  justify-content: center;
  position: relative;
  height: 150px;
  overflow: hidden;
}
.wt-vid-stack .newsbanner {
  height: 150px;
  object-fit: cover;
}
.wt-vid-stack .newslogo {
  position: absolute;
  top: 15px;
  height: 125px;
  width: auto;
}
.wt-vid-actionbar {
  margin: 0;
  padding: 10px 0 10px 10px;
  border-radius: 0 0 15px 15px;
}
.wt-vid-actionbar .wt-vid-actions {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  line-height: 1;
  -webkit-overflow-scrolling: touch;
}
.wt-vid-actionbar .wt-vid-actions > li {
  display: inline-block;
  margin: 0 8px 0 0;
  vertical-align: middle;
}
.wt-vid-actionbar .wt-vid-actions > li:last-child {
  margin-right: 0;
}
.wt-vid-actionbar .wt-vid-actions > li > .btn-main {
  display: inline-block;
  background-color: var(--main);
  color: var(--main-color);
  border: none;
  border-radius: 50px;
  box-shadow: none;
  font-size: 20px;
  font-weight: 500;
  line-height: 36px;
  min-width: 64px;
  padding: 0 16px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
}
.wt-vid-actionbar .wt-vid-actions > li > .btn-main:hover,
.wt-vid-actionbar .wt-vid-actions > li > .btn-main:focus {
  background-color: var(--main-hover);
  color: var(--main-hover-color);
}
.wt-vid-actionbar .wt-vid-actions > li > .btn-main b,
.wt-vid-nav .wt-vid-actions > li > .btn-main b {
  font-weight: 500;
}
@media (max-width: 1024px) {
  .wt-vid-stack {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
  }
  .wt-vid-titlebar,
  .wt-vid-actionbar {
    border-radius: 0;
  }
}

/*
Newest, Popular, and Uploaded stay in their own bar under the reels.
The pill color comes from .tag_page_nav (white, or #212121 in night
mode). The active pill is #65000b from custom/css/style.css.
On a phone the bar runs to the screen edges. width:auto plus the
negative margins cancel the container padding, the same way
.button-select-bar does at 768px. padding-right:0 lets a pill that
does not fit scroll to the screen edge.
*/
.wt-vid-select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 10px 0;
  border-radius: 10px;
  padding: 10px;
  background: var(--header-background);
  box-shadow: 5px 5px 30px 7px rgba(0, 0, 0, 0.25), -5px -5px 30px 7px rgba(0, 0, 0, 0.22);
  color: #dcdcdc;
}
.wt-vid-select .wt-vid-select-row {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  line-height: 1;
  -webkit-overflow-scrolling: touch;
}
.wt-vid-select .wt-vid-select-row > li {
  display: inline-block;
  margin: 0 6px 0 0;
  vertical-align: middle;
  background: var(--header-background);
  border-radius: 2em;
}
.wt-vid-select .wt-vid-select-row > li:last-child {
  margin-right: 0;
}
.wt-vid-select .wt-vid-select-row > li > a {
  overflow: hidden;
  border-radius: 2em;
  line-height: 28px;
  font-size: 13px;
  font-weight: 500;
  padding: 0 12px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.wt-vid-select .wt-vid-select-row > li > a svg,
.wt-vid-select .wt-vid-select-row > li > a .fa {
  width: 16px;
  height: 16px;
  font-size: 14px;
  vertical-align: -2px;
  margin-right: 4px;
}
.wt-vid-select .wt-vid-select-row > li > a > .fa:only-child,
.wt-vid-select .wt-vid-select-row > li > a > .fa:last-child {
  margin-right: 0;
  margin-left: 4px;
}
.wt-vid-select .wt-vid-select-row > li > a > .fa:only-child {
  margin-left: 0;
}
.wt-vid-select .wt-vid-select-row > li > a::before {
  border-radius: inherit;
}
#wt-vid-status {
  margin: 10px 0 0;
  padding: 0;
  text-align: center;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .wt-vid-select {
    width: auto;
    border-radius: 0;
    margin-left: -15px;
    margin-right: -15px;
    padding-right: 0;
  }
  #wt-vid-status {
    padding-right: 10px;
  }
}

/* Channel directory, shelf, dashboard, and watch subscribe. */
.wt-established {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(61, 139, 253, 0.18);
  vertical-align: 2px;
}
.wt-dash-head {
  display: flex;
  gap: 16px;
  align-items: center;
}
.wt-dash-head img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 72px;
}
/*
Channel dashboard header. The title bar and the pill bar are the
VidWatch red stack (.wt-vid-stack). The middle head is flat so it
meets both bars. At 1024px that stack already runs to the screen edges.
*/
.wt-dash-stack .wt-dash-head {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}
.wt-an-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.wt-an-card {
  background: #fff;
  color: #212529;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 15%);
  padding: 1.5rem;
}
.wt-an-card h6 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
}
.wt-an-note {
  margin: -8px 0 12px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
}
.wt-an-num {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.wt-an-wide {
  grid-column: 1 / -1;
}
.wt-an-chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.wt-an-chart-head h6 {
  margin: 0;
}
.wt-an-chart-range {
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}
.wt-an-bars {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 6px;
  align-items: end;
}
.wt-an-plot {
  height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-bottom: 1px solid #e6e6e6;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 100% 25%;
}
.wt-an-bar {
  width: 55%;
  max-width: 28px;
  border-radius: 6px 6px 0 0;
}
.wt-an-bar-red {
  background: #ce3d3d;
}
.wt-an-bar-green {
  background: #6abd46;
}
.wt-an-month {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  color: #666;
}
@media (max-width: 600px) {
  .wt-an-grid {
    grid-template-columns: 1fr;
  }
  .wt-an-plot {
    height: 140px;
  }
  .wt-an-month {
    font-size: 10px;
  }
}
.wt-shelf-card,
.wt-more-card {
  display: block;
  margin-bottom: 12px;
  color: inherit;
  text-decoration: none;
}
.wt-shelf-card span,
.wt-more-card span {
  display: block;
  opacity: 0.7;
  font-size: 13px;
  font-weight: 400;
}
.wt-sub-btn {
  border-radius: 18px;
  flex: 0 0 auto;
}
.wt-watch-row .wt-sub-btn {
  margin-left: auto;
}
.wt-watch-row .wt-sub-btn + .wt-watch-menu {
  margin-left: 8px;
}
.wt-watch-dash {
  font-size: 13px;
  opacity: 0.8;
}
.wt-watch > .wt-more {
  order: 9;
  margin: 8px 16px 16px;
}
.wt-more h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}
.wt-ch-card .reco-deta strong {
  display: block;
}

/*
Channel timeline and playlist cards. Three columns on a desktop,
two up to 1024px, and one on a phone. The main VidWatch feed stays
two columns. The feed ad uses the same vid_feed-ad slot and spans
the row after every 12th card.
*/
.wt-ch-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 16px;
  align-items: start;
  margin-top: 16px;
}
@media (max-width: 1024px) {
  .wt-ch-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .wt-ch-feed {
    grid-template-columns: 1fr;
  }
}
.wt-ch-feed > .wt-ch-ad,
.wt-ch-feed > .wow_content:not(.wt-yt-card) {
  grid-column: 1 / -1;
}
/* Channel and playlist Load more. Same pill, chevron, pulse, and
   36px / 8px spacing as #load-more-posts. This button keeps its own
   class so the feed script does not bind it. */
.wt-ch-more-wrap {
  display: block;
  text-align: center;
  clear: both;
  margin: 36px 0;
  padding: 8px 0;
}
.wt-ch-more-wrap .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #163a6b !important;
  color: #fff !important;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  min-width: 220px;
  padding: 14px 32px 14px 14px !important;
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 8px rgba(22, 58, 107, 0.28);
  cursor: pointer;
  animation: load-more-pulse 2.6s ease-in-out infinite;
}
.wt-ch-more-wrap .btn:hover,
.wt-ch-more-wrap .btn:focus {
  background: #3a6da0 !important;
  color: #fff !important;
}
.wt-ch-more-wrap .btn span:not(.no_load_more_btn_span) {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  color: #163a6b !important;
  background-color: #fff !important;
  border-radius: 50%;
  margin-right: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.wt-ch-more-wrap .btn span svg {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
}
.wt-ch-more-wrap .btn:hover span:not(.no_load_more_btn_span),
.wt-ch-more-wrap .btn:focus span:not(.no_load_more_btn_span) {
  color: #3a6da0 !important;
}
.wt-ch-more-wrap .btn:disabled {
  opacity: 1;
  cursor: wait;
}

.wt-channel-cover {
  position: relative;
  height: 0;
  padding-bottom: 33.333%;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: #1a1a1a;
  margin-bottom: 0;
}
.wt-channel-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wt-channel .tag_page_name_hdr {
  border-radius: 0 0 10px 10px;
  margin-top: 0;
}
.wt-channel .wt-ch-tagline,
.wt-channel .wt-ch-subline {
  margin: 4px 0 0;
}
.wt-channel .wow_event_page_btns {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.wt-channel .tag_switch_noti {
  margin-bottom: 0;
}
.wt-ch-offer p {
  margin: 0 0 12px;
  font-size: 16px;
}
.wt-ch-offer .btn {
  margin: 0 8px 0 0;
}
.wt-page-list {
  margin: 8px 0 0;
}
.wt-page-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.35);
}
.wt-page-row:last-child {
  border-bottom: 0;
}
.wt-ch-searchbox {
  text-align: center;
  margin: 0;
  padding: 12px;
}
.wt-ch-searchbox input {
  width: 50%;
  padding: 10px 12px;
  border: none;
  border-radius: 15px;
}
.wt-pl-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 16px;
  align-items: start;
  margin-top: 16px;
}
@media (max-width: 1024px) {
  .wt-pl-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .wt-pl-list {
    grid-template-columns: 1fr;
  }
}
.wt-pl-item {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.wt-pl-item .wt-pl-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1a1a;
}
.wt-pl-item .wt-pl-blur {
  position: absolute;
  top: -8%;
  left: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  filter: blur(8px);
}
.wt-pl-item .wt-pl-face {
  position: relative;
  z-index: 1;
  height: 100%;
  width: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 15px;
  opacity: 0.9;
}
.wt-pl-page .wt-pl-channel a {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.wt-pl-item strong {
  display: block;
  padding: 10px 12px 12px;
  font-size: 16px;
  line-height: 1.35;
}
.wt-ch-about p {
  margin: 0 0 8px;
}
@media (max-width: 600px) {
  .wt-ch-searchbox input {
    width: 100%;
  }
  .wt-channel .wow_event_page_btns {
    justify-content: flex-start;
  }
}

.wt-ch-card .back-main > img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  display: block;
}
.wt-ch-card .reco-ava {
  position: relative;
  z-index: 1;
  margin-top: -35px;
}
.wt-ch-card .reco-ava img {
  width: 70px;
  height: 70px;
  margin-top: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  background: #1a1a1a;
}

.wt-vid-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #65000b;
  margin: 0 0 12px;
  padding: 10px 10px 10px 8px;
  border-radius: 15px;
  box-shadow: 5px 5px 30px 7px rgba(0, 0, 0, 0.25), -5px -5px 30px 7px rgba(0, 0, 0, 0.22);
}
.wt-vid-nav .wt-vid-back {
  flex: 0 0 auto;
  border: 1px solid #999;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.50);
  color: #fff;
  line-height: 34px;
  padding: 0 12px 0 8px;
  box-shadow: none;
  font-size: 16px;
  font-weight: 500;
}
.wt-vid-nav .wt-vid-back svg {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}
.wt-vid-nav .wt-vid-actions {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  line-height: 1;
  -webkit-overflow-scrolling: touch;
}
.wt-vid-nav .wt-vid-actions > li {
  display: inline-block;
  margin: 0 8px 0 0;
  vertical-align: middle;
}
.wt-vid-nav .wt-vid-actions > li:last-child {
  margin-right: 0;
}
.wt-vid-nav .wt-vid-actions > li > .btn-main {
  display: inline-block;
  background-color: var(--main);
  color: var(--main-color);
  border: none;
  border-radius: 50px;
  box-shadow: none;
  font-size: 20px;
  font-weight: 500;
  line-height: 36px;
  min-width: 64px;
  padding: 0 16px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
}
.wt-vid-nav .wt-vid-actions > li > .btn-main:hover,
.wt-vid-nav .wt-vid-actions > li > .btn-main:focus {
  background-color: var(--main-hover);
  color: var(--main-hover-color);
}
.wt-vid-actionbar .wt-vid-actions > li > .btn-main.active,
.wt-vid-nav .wt-vid-actions > li > .btn-main.active,
.wt-vid-actionbar .wt-vid-actions > li > .btn-main.active:hover,
.wt-vid-nav .wt-vid-actions > li > .btn-main.active:hover,
.wt-vid-actionbar .wt-vid-actions > li > .btn-main.active:focus,
.wt-vid-nav .wt-vid-actions > li > .btn-main.active:focus {
  background-color: #65000b;
  color: var(--header-color);
}
.wt-dash-stack .wt-vid-actionbar .wt-vid-actions > li > .btn-main.active,
.wt-dash-stack .wt-vid-actionbar .wt-vid-actions > li > .btn-main.active:hover,
.wt-dash-stack .wt-vid-actionbar .wt-vid-actions > li > .btn-main.active:focus {
  background-color: var(--header-background);
  color: var(--header-color);
}
.wt-vid-search {
  text-align: center;
  margin: 0;
  padding: 12px;
}
.wt-vid-search input {
  width: 50%;
  padding: 10px 12px;
  border: none;
  border-radius: 15px;
}
.wt-vid-search button {
  margin-left: -40px;
  position: absolute;
  background: transparent;
  border: none;
}
.wt-more {
  margin-top: 16px;
}
.wt-more h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}
.wt-more-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
@media (max-width: 1024px) {
  .wt-vid-nav {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
  }
}
@media (max-width: 767px) {
  .wt-more-feed {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .wt-vid-search input {
    width: 100%;
  }
}

/*
Channel dashboard Videos. Upload stays in its own card. Each video is
one card: thumbnail, title, playlist, category, save, stats, then View
and Delete. Fifteen videos per page. An open playlist lists eighteen.
*/
.wt-vupload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.wt-vupload p {
  margin: 4px 0 0;
  color: #555;
}
.wt-vrow {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
  padding: 14px 16px;
}
.wt-vthumb {
  position: relative;
  width: 168px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #d9d9d9;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.wt-dash-publisher > h4,
.wt-dash-publisher > .tag_pub_box_bg {
  display: none !important;
}
.wt-vthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wt-vplay {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  background: url("../../img/playButt.png") center / contain no-repeat;
  opacity: 0.5;
}
.wt-shelf-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
}
.wt-vtitle-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.wt-vtitle {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wt-vunlisted {
  flex: 0 0 auto;
  margin-top: 2px;
  padding: 1px 7px;
  border: 1px solid #ccc;
  border-radius: 10px;
  color: #666;
  font-size: 11px;
  font-weight: 600;
}
.wt-vline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.wt-vline label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
.wt-vline select {
  margin-left: 4px;
  max-width: 180px;
  height: 34px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-weight: 400;
}
.wt-vlisted {
  font-weight: 600;
}
.wt-vsave {
  margin-left: auto;
}
.wt-shelf-note {
  font-size: 13px;
  font-weight: 600;
  color: #2e7d32;
}
.wt-vstats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: #666;
  font-size: 13px;
}
.wt-vstats .fa {
  margin-right: 4px;
}
.wt-vside {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wt-vside .btn {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  min-width: 112px;
  background: #fff;
  border: 1px solid #d0d0d0;
  color: #222;
  border-radius: 8px;
}
.wt-vside .wt-vdelete {
  color: #8d1515;
  border-color: #e3b4b4;
}
.wt-vpager {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin: 16px 0 8px;
}
.wt-vpager a,
.wt-vpager span {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #222;
  text-decoration: none;
}
.wt-vpager a:hover {
  border-color: #999;
  color: #222;
}
.wt-vpager .is-current {
  background: var(--header-background, #1a2744);
  border-color: transparent;
  color: var(--header-color, #fff);
  font-weight: 600;
}
.wt-vpager .is-disabled {
  opacity: 0.45;
}
.wt-vpager .wt-vellipsis {
  min-width: 24px;
  border: 0;
  background: transparent;
}
.wt-vcount {
  margin: 0 0 8px;
  text-align: center;
  color: #666;
  font-size: 13px;
}
.wt-vmodal[hidden] {
  display: none !important;
}
.wt-vmodal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
}
.wt-vmodal-card {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.wt-vmodal-ask {
  width: min(440px, 100%);
  padding: 22px 22px 18px;
}
.wt-vmodal-ask h3 {
  margin: 0 0 8px;
}
.wt-vmodal-ask p {
  margin: 0 0 8px;
}
.wt-delete-note {
  min-height: 1.2em;
  color: #8d1515;
  font-size: 13px;
}
.wt-vmodal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
.wt-delete-ok {
  background: #8d1515;
  border-color: #8d1515;
  color: #fff;
}
.wt-vmodal-x {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 22px;
  line-height: 34px;
  cursor: pointer;
}
.wt-vpost-card {
  width: min(720px, 100%);
  padding: 0;
  overflow: hidden;
  background: #eef1f4;
}
.wt-vpost-bar {
  display: flex;
  justify-content: flex-end;
  background: #fff;
  border-bottom: 1px solid #e4e4e4;
}
.wt-vpost-bar .wt-vmodal-x {
  position: static;
  margin: 6px;
}
#wt-post-body {
  overflow: auto;
  max-height: calc(100vh - 120px);
  padding: 12px;
}
.wt-vpost-wait {
  margin: 0;
  padding: 24px;
  background: #fff;
  border-radius: 8px;
}
body.wt-vmodal-open {
  overflow: hidden;
}
@media (max-width: 767px) {
  .wt-vupload {
    align-items: flex-start;
    flex-direction: column;
  }
  .wt-vrow {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .wt-vthumb {
    width: 100%;
  }
  .wt-vsave {
    margin-left: 0;
  }
  .wt-vside {
    flex-direction: row;
  }
  .wt-vside .btn {
    flex: 1;
    justify-content: center;
  }
}

.wt-pl-create-card {
  margin-bottom: 16px;
}
.wt-pl-create-card h3,
.wt-pl-card h3,
.wt-pl-openhead h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}
.wt-pl-openhead {
  margin-bottom: 16px;
}
.wt-pl-openhead h2 {
  margin: 12px 0 0;
  font-size: 20px;
}
.wt-pl-create {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
}
.wt-pl-create .tag_field {
  flex: 1 1 240px;
  margin: 0;
}
.wt-pl-file {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
.wt-pl-file input {
  font-weight: 400;
}
.wt-pl-file-hint {
  font-size: 12px;
  font-weight: 400;
  color: #555;
}
.wt-pl-note,
.wt-pl-card-note {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #8d1515;
}
.wt-pl-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wt-pl-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin: 0;
  padding: 14px 16px;
}
.wt-pl-cover {
  width: 160px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
}
.wt-pl-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wt-pl-rename,
.wt-pl-image,
.wt-pl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.wt-pl-rename,
.wt-pl-image {
  margin: 0 0 8px;
}
.wt-pl-actions {
  justify-content: flex-end;
  margin-top: 10px;
}
.wt-pl-rename input[type="text"] {
  flex: 1 1 180px;
  height: 34px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}
.wt-pl-actions form {
  margin: 0;
}
.wt-pl-actions .btn,
.wt-pl-rename .btn {
  background: #fff;
  border: 1px solid #d0d0d0;
  color: #222;
  border-radius: 8px;
}
.wt-pl-image .btn {
  background: #3caf50;
  border: 1px solid #3caf50;
  color: #fff;
  border-radius: 8px;
}
.wt-pl-actions .wt-pl-open,
.wt-pl-create .btn-main {
  background: var(--main);
  border-color: transparent;
  color: var(--main-color);
}
.wt-pl-actions .wt-pl-open:hover,
.wt-pl-actions .wt-pl-open:focus,
.wt-pl-create .btn-main:hover,
.wt-pl-create .btn-main:focus {
  background: var(--main-hover);
  color: var(--main-hover-color);
}
.wt-pl-actions .wt-pl-remove {
  color: #8d1515;
  border-color: #e3b4b4;
  background: #fff;
}
.wt-pl-actions .wt-pl-remove .fa {
  margin-right: 6px;
  color: #8d1515;
}
@media (max-width: 767px) {
  .wt-pl-card {
    grid-template-columns: 1fr;
  }
  .wt-pl-cover {
    width: 160px;
  }
}
