.feed-card-avatar, .video-author-link img {
  border-radius: 50%;
  border: none;
  height: 30px;
  object-fit: cover;
  width: 30px;
}

.feed-card-description {
  color: var(--feed-card-desc-color);
  font-size: 13px;
  line-height: 1.4;
}

.feed-card-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.feed-card-title {
  color: var(--feed-card-title-color);
  display: block !important;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2 !important;
  margin-bottom: -10px;
  max-height: calc(2 * 1.2em);
  overflow: hidden;
  white-space: normal !important;
}

.pin-by-name {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-author {
  align-items: center;
  color: var(--feed-card-author-color);
  display: flex;
  font-size: 16px;
  font-weight: 800;
  gap: 8px;
  text-decoration: none;
}

.video-author .video-card-comment {
  color: var(--feed-card-desc-color);
  font-size: 14px;
}

.video-author-link {
  align-items: center;
  color: inherit;
  display: flex;
  gap: 8px;
  text-decoration: none;
}

.video-author-link:hover .feed-card-username {
  color: var(--accent);
}

.video-card {
  background: var(--feed-card-bg);
  border-radius: 0.75rem;
  border: 1px solid var(--feed-card-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition: transform .2s ease;
}

.video-card .feed-card-preview-link {
  border-radius: 0.75rem 0.75rem 0 0;
}

.video-card-actions {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.video-card-admin {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  height: 40px;
  justify-content: space-between;
  margin-top: 6px;
  max-width: none;
  width: 100%;
}





.video-card-categories {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  flex: 1;
  gap: 10px;
  height: 40px;
  min-width: 0;
}

.video-card-comment {
  align-items: center;
  color: var(--feed-card-desc-color);
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  gap: 5px;
  white-space: nowrap;
}

.video-card-comment-icon {
  display: inline-flex;
}

.video-card-edit {
  align-items: center;
  background: #262626;
  border-radius: 10px;
  border: 1px solid #3a3a3a;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 36px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  min-height: 36px;
  min-width: 36px;
  padding: 0;
  position: relative;
  width: 36px;
  z-index: 1;
}

.video-card-edit-icon {
  -webkit-mask-image: url("/static/image/more.svg");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 18px 18px;
  background: #fff;
  display: block;
  height: 18px;
  mask-image: url("/static/image/more.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 18px 18px;
  width: 18px;
}

.video-card-edit-menu {
  background: #1a1a1a;
  border-radius: 10px;
  border: 1px solid #333;
  display: none;
  flex-direction: column;
  min-width: 200px;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
}

.video-card-edit-menu-item {
  background: none;
  border: none;
  color: #e5e5e5;
  cursor: pointer;
  font-size: 14px;
  padding: 10px 16px;
  text-align: left;
  white-space: nowrap;
}

.video-card-edit-menu-item:hover {
  background: #2a2a2a;
  color: #fff;
}

.video-card-edit-wrap {
  position: relative;
}

.video-card-right-controls {
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  z-index: 6;
}

.video-card-edit-wrap.open .video-card-edit-menu {
  display: flex;
}

.video-card-edit:hover {
  transform: translateY(-1px);
}

.video-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 0;
}

.video-card-pin {
  align-items: center;
  background: #262626;
  border-radius: 10px;
  border: 1px solid #3a3a3a;
  cursor: pointer;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  left: 10px;
  padding: 0;
  position: absolute;
  top: 10px;
  transition: transform .12s ease;
  width: 34px;
  z-index: 5;
}

.video-card-pin img {
  display: block !important;
  filter: grayscale(1) brightness(.6);
  height: 18px !important;
  max-height: 18px !important;
  max-width: 18px !important;
  min-height: 18px !important;
  min-width: 18px !important;
  object-fit: contain !important;
  opacity: .85;
  width: 18px !important;
}

.video-card-pin-badge {
  align-items: center;
  background: #000000e0;
  border-radius: 10px;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  left: 10px;
  position: absolute;
  top: 10px;
  width: 32px;
  z-index: 5;
}

.video-card-pin-badge img {
  display: block !important;
  filter: none;
  height: 16px !important;
  max-height: 16px !important;
  max-width: 16px !important;
  min-height: 16px !important;
  min-width: 16px !important;
  object-fit: contain !important;
  opacity: 1;
  width: 16px !important;
}

.video-card-pin-badge.is-pinned, .video-card-pin.has-pinner {
  border-radius: 10px;
  gap: 4px;
  min-width: 32px;
  padding: 0 8px;
  width: auto;
}

.video-card-pin-wrap {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.video-card-pin-wrap .video-card-pin {
  position: static;
}

.video-card-pin.is-pinned {
  background: #262626;
}

.video-card-pin.is-pinned img {
  filter: none;
  opacity: 1;
}

.video-card-pin:hover {
  transform: translateY(-1px);
}

.video-card-reorder {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.video-card-reorder-btn {
  align-items: center;
  background: #262626;
  border-radius: 10px;
  border: 1px solid #3a3a3a;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: background .12s ease, transform .12s ease;
  width: 36px;
}

.video-card-reorder-btn:hover {
  background: #111111;
  transform: translateY(-1px);
}

.video-card-sep {
  background: rgba(255,255,255,.08);
  height: 1px;
  margin: 4px 0;
}

.video-card-stats {
  align-items: center;
  color: var(--feed-card-stats-color);
  display: flex;
  flex-wrap: nowrap;
  font-size: 18px;
  font-weight: 800;
  gap: 8px;
  height: 36px;
  justify-content: flex-start;
  overflow: hidden;
  width: 100%;
}

.video-card-top {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: space-between;
}

.video-card-vote {
  align-items: center;
  background: transparent;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 6px;
  height: 40px;
  justify-content: center;
  min-width: 40px;
  outline: none;
  overflow: visible;
  padding: 9px 12px;
  position: relative;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease, filter .18s ease;
  white-space: nowrap;
}

.video-card-vote .video-icon--votes {
  filter: grayscale(1) brightness(1.4) opacity(.7);
}

.video-card-vote-content {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.video-card-vote.has-votes {
  border-color: rgba(255,255,255,.15);
}

.video-card-vote.is-voted {
  animation: vote-fire 1.2s ease-in-out infinite;
  background-color: #5e471c;
  border-color: #ff7a00;
  color: #ff7a00;
}

.video-card-vote.is-voted .video-icon--votes {
  filter: none;
}

.video-card-vote.is-voted::after {
  animation: vote-confetti 1.1s ease-out .2s infinite;
  right: 2px;
  top: -8px;
}

.video-card-vote.is-voted::after, .video-card-vote.is-voted::before {
  background: url("/static/image/votes.svg") no-repeat center / contain;
  content: "";
  height: 12px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 12px;
}

.video-card-vote.is-voted::before {
  animation: vote-confetti 1.1s ease-out infinite;
  left: 2px;
  top: -6px;
}

.video-card-vote:hover {
  transform: translateY(-1px) scale(1.03);
}

.video-card-vote:not(.is-voted):hover {
  background: rgba(255,169,77,.08);
  border-color: rgba(255,122,0,.5);
  color: #ffa94d;
  transform: translateY(-1px) scale(1.03);
}

.video-card-vote:not(.is-voted):hover .video-icon--votes {
  filter: grayscale(.3) brightness(1.1) opacity(.9);
}

.video-card:hover {
  transform: translateY(-2px);
}

.video-card:hover .video-thumb img {
  transform: scale(1.02);
}

.video-card>.video-card-pin-badge img {
  height: 16px !important;
  max-height: 16px !important;
  max-width: 16px !important;
  min-height: 16px !important;
  min-width: 16px !important;
  object-fit: contain !important;
  width: 16px !important;
}

.video-card>.video-card-pin-wrap {
  left: 10px !important;
  position: absolute !important;
  top: 10px !important;
  z-index: 20 !important;
}



.video-category-tag {
  align-items: center;
  background: #292b2fBF;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  color: #d7dbdd;
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  height: 40px;
  letter-spacing: .02em;
  line-height: 1;
  padding: 0 12px;
  transition: border-color .15s ease;
}

.video-category-tag:hover {
  border-color: rgba(255,255,255,.28);
}

.video-channel-link {
  align-items: center;
  color: var(--feed-card-stats-color);
  display: inline-flex;
  flex: 0 1 auto;
  font-size: 18px;
  font-weight: 800;
  max-width: calc(100% - 90px);
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-channel-link:hover {
  text-decoration: underline;
}

.video-channel-views {
  align-items: center;
  color: var(--feed-card-stats-color);
  display: inline-flex;
  flex: 0 0 auto;
  gap: 6px;
  margin-left: 8px;
  white-space: nowrap;
}

.video-icon {
  display: inline-block;
  object-fit: contain;
}

.video-icon--meta {
  height: 22px;
  width: 22px;
}

.video-icon--votes {
  height: 18px;
  width: 18px;
}

.video-offer-cat {
  background: transparent;
  border-radius: 20px;
  border: 1px solid var(--feed-card-border);
  color: #d7dbdd;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  padding: 10px 16px;
  transition: all .18s;
}

.video-offer-cat.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.video-offer-cat:hover {
  border-color: var(--accent);
}

.video-offer-categories {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.video-offer-checkbox {
  align-items: center;
  color: #bdbdbd;
  display: inline-flex;
  font-size: 17px;
  font-weight: 600;
  gap: 8px;
}

.video-offer-dropdown {
  position: relative;
  width: 100%;
}

.video-offer-dropdown-arrow {
  opacity: .6;
  transition: transform .2s;
}

.video-offer-dropdown-item {
  align-items: center;
  background: transparent;
  border-bottom: 1px solid var(--feed-card-border);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 18px;
  font-weight: 600;
  gap: 10px;
  height: 57px;
  padding: 10px 16px;
  text-align: left;
  transition: background .15s;
}

.video-offer-dropdown-item.selected {
  background: #515556;
}

.video-offer-dropdown-item:hover {
  background: #333;
}

.video-offer-dropdown-item:last-child {
  border-bottom: none;
}

.video-offer-dropdown-menu {
  background: #1a1a1a;
  border-radius: 12px;
  border: 1px solid var(--feed-card-border);
  display: none;
  flex-direction: column;
  left: 0;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 100;
}

.video-offer-dropdown-text {
  flex: 1;
  text-align: left;
}

.video-offer-dropdown-toggle {
  align-items: center;
  background: var(--input-bg);
  border-radius: 12px;
  border: 1px solid var(--feed-card-border);
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 18px;
  font-weight: 600;
  gap: 10px;
  height: 57px;
  justify-content: space-between;
  outline: none;
  padding: 10px 16px;
  transition: border-color .2s;
  width: 100%;
}

.video-offer-dropdown-toggle:hover, .video-offer-dropdown.open .video-offer-dropdown-toggle {
  border-color: var(--accent);
}

.video-offer-dropdown.open .video-offer-dropdown-arrow {
  transform: rotate(180deg);
}

.video-offer-dropdown.open .video-offer-dropdown-menu {
  display: flex;
}

.video-offer-form {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
  min-width: 0;
  padding: 32px;
}

.video-offer-input {
  background: var(--input-bg);
  border-radius: 12px;
  border: 1px solid var(--feed-card-border);
  box-sizing: border-box;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  outline: none;
  padding: 14px 16px;
  transition: border-color .2s;
  width: 100%;
}

.video-offer-input::placeholder {
  color: #555;
}

.video-offer-input:focus {
  border-color: var(--accent);
}

.video-offer-label {
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.video-offer-layout {
  align-items: center;
  display: flex;
  gap: 0;
  min-width: 0;
  overflow: hidden;
}

.video-offer-modal {
  -webkit-backdrop-filter: blur(8px);
  -webkit-overflow-scrolling: touch;
  align-items: center;
  animation: modal-fadein .3s ease;
  backdrop-filter: blur(8px);
  background: rgba(80,80,80,.5);
  box-sizing: border-box;
  display: none;
  height: 100%;
  justify-content: center;
  left: 0;
  overflow-y: auto;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1300;
}

.video-offer-modal-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  opacity: .85;
  padding: 4px;
  position: absolute;
  right: 16px;
  top: 16px;
  transition: color .2s, opacity .2s;
  z-index: 10;
}

.video-offer-modal-close:hover {
  color: #fff;
  opacity: 1;
}

.video-offer-modal-content {
  -webkit-overflow-scrolling: touch;
  animation: modalSlideIn .3s ease;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--feed-card-border);
  box-sizing: border-box;
  max-height: 90dvh;
  max-height: 90vh;
  max-width: 900px;
  overflow-y: auto;
  position: relative;
  width: 90%;
}

.video-offer-modal.show {
  display: flex;
}

.video-offer-preview {
  align-items: center;
  aspect-ratio: 16/9;
  background: #181a1b;
  border-radius: 1rem;
  border: 1px solid var(--feed-card-border);
  display: flex;
  flex-shrink: 0;
  flex: 0 0 45%;
  justify-content: center;
  margin: 0 0 0 32px;
  max-height: none;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.video-offer-preview img {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}

.video-offer-preview-placeholder {
  align-items: center;
  color: #555;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 600;
  gap: 12px;
}

.video-offer-preview-placeholder svg {
  opacity: .4;
}









.video-offer-status {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.video-offer-submit {
  background: var(--accent);
  border-radius: 12px;
  border: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  margin-top: auto;
  padding: 16px;
  transition: background .2s, transform .12s;
  width: 100%;
}

.video-offer-submit.is-error {
  background: #b91c1c;
}

.video-offer-submit.is-error:hover {
  background: #991b1b;
}

.video-offer-submit:disabled {
  cursor: not-allowed;
  opacity: .5;
  transform: none;
}

.video-offer-submit:hover {
  background: #6a8a25;
  transform: translateY(-1px);
}

.video-offer-textarea {
  background: var(--input-bg);
  border-radius: 12px;
  border: 1px solid var(--feed-card-border);
  box-sizing: border-box;
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  min-height: 80px;
  outline: none;
  padding: 14px 16px;
  resize: none;
  transition: border-color .2s;
  width: 100%;
}

.video-offer-textarea::placeholder {
  color: #555;
}

.video-offer-textarea:focus {
  border-color: var(--accent);
}



.video-stat {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.video-status {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  gap: 6px;
  height: 40px;
  letter-spacing: .02em;
  line-height: 1;
  padding: 0 12px;
}

.video-status-control {
  display: inline-flex;
  position: relative;
}

.video-status-control.open .video-status-menu {
  display: flex;
}

.video-status-control:hover .video-status-menu {
  display: flex;
}

.video-status-icon {
  filter: brightness(0) invert(1);
  height: 16px;
  width: 16px;
}

.video-status-menu {
  background: #1a1a1a;
  border-radius: 10px;
  border: 1px solid var(--feed-card-border);
  bottom: 100%;
  display: none;
  flex-direction: column;
  min-width: 180px;
  overflow: hidden;
  position: absolute;
  right: 0;
  z-index: 20;
}

.video-status-menu-icon {
  filter: brightness(0) invert(1);
  height: 16px;
  width: 16px;
}

.video-status-menu-item {
  align-items: center;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.08);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 15px;
  font-weight: 800;
  gap: 8px;
  height: 44px;
  letter-spacing: .01em;
  padding: 8px 12px;
  text-transform: uppercase;
}

.video-status-menu-item:last-child {
  border-bottom: none;
}

.video-status-readonly {
  display: inline-flex;
}

.video-status.approved {
  background: #789d2a;
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
}

.video-status.pending {
  background: #878884;
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
}

.video-status.rejected {
  background: rgba(239,68,68,.2);
  border: 1px solid rgba(239,68,68,.35);
  color: #fff;
}

.video-status.viewed {
  background: #60a5fa;
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
}

.video-subfilter {
  background: #262626;
  border-radius: 12px;
  border: 1px solid var(--feed-card-border);
  color: #d7dbdd;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.video-subfilter-count {
  align-items: center;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  color: #cfd3d6;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 22px;
  justify-content: center;
  margin-left: 8px;
  min-width: 24px;
  padding: 0 6px;
}

.video-subfilter-text {
  align-items: center;
  display: inline-flex;
}

.video-subfilter.active {
  background: #333;
  border-color: var(--accent);
  color: #fff;
}

.video-subfilter.active .video-subfilter-count {
  background: rgba(255,255,255,.2);
  color: #fff;
}

.video-tab {
  -webkit-user-select: none;
  align-items: center;
  background: #262626;
  border-radius: 999px;
  border: 1px solid var(--feed-card-border);
  color: #ededed;
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 800;
  gap: 8px;
  height: 40px;
  line-height: 1;
  min-height: 40px;
  padding: 12px 14px;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
}

.video-tab-count {
  align-items: center;
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  color: #cfd3d6;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  margin-left: auto;
  width: 24px;
}

.video-tab-count.wide {
  padding: 0 8px;
  width: auto;
}

.video-tab-rec-star {
  display: block;
  filter: brightness(0) saturate(100%) invert(74%) sepia(89%) saturate(500%) hue-rotate(5deg) brightness(105%);
  flex-shrink: 0;
  height: 18px;
  width: 18px;
}



.video-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.video-tab.active .video-tab-count {
  background: rgba(255,255,255,.2);
  color: #fff;
}

.video-tab.active .video-tab-rec-star {
  filter: brightness(0) invert(1);
}

.video-tab.tab-empty {
  color: #6b7280;
}

.video-tab.tab-empty .video-tab-count {
  display: none;
}

.video-thumb {
  background: #181a1b;
  border-bottom: 1px solid var(--feed-card-border);
  border-radius: 0.75rem 0.75rem 0 0;
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
  width: 100%;
}

.video-thumb .video-thumb-preview {
  background: #000;
  border: 0;
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
  width: 100%;
  z-index: 2;
}

.video-thumb img {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  transition: transform .25s ease;
  width: 100%;
}

.video-thumb img.video-thumb-preview:not([src]), .video-thumb img.video-thumb-preview[src=""] {
  display: none;
}



.video-thumb-meta {
  align-items: center;
  bottom: 10px;
  color: #f5f5f5;
  display: flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: space-between;
  left: 12px;
  position: absolute;
  right: 12px;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}

.video-thumb-meta span {
  align-items: center;
  background: #000000e0;
  border-radius: 4px;
  display: inline-flex;
  gap: 6px;
  padding: 5px 8px;
}

.video-thumb.has-preview .video-thumb-image {
  opacity: 0;
}

.video-thumb.is-preview .video-thumb-preview {
  opacity: 1;
  visibility: visible;
}

.video-tooltip {
  background: rgba(24,24,24,.96);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  max-width: 320px;
  padding: 8px 10px;
  pointer-events: none;
  position: fixed;
  transition: opacity .12s ease;
  word-break: break-word;
  z-index: 9999;
}

.video-vote-count {
  align-items: center;
  color: currentColor;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.videos-action-btn {
  align-items: center;
  border-radius: 6px;
  border: 1px solid var(--feed-card-border);
  cursor: pointer;
  display: inline-flex;
  font-size: 18px;
  font-weight: 800;
  gap: 8px;
  height: 48px;
  justify-content: center;
  letter-spacing: .01em;
  min-width: 216px;
  outline: none;
  padding: 10px 18px;
  text-transform: uppercase;
  transition: transform .12s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.videos-action-btn.ghost {
  background: #262626;
  border-color: var(--feed-card-border);
  color: #f3f4f5;
  min-width: unset;
  padding: 10px 14px;
}

.videos-action-btn.ghost:hover {
  border-color: var(--accent);
}

.videos-action-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.videos-action-btn.primary:hover {
  background: #6a8a25;
  transform: translateY(-1px);
}

.videos-action-icon {
  display: block;
  filter: brightness(0) invert(1);
  height: 18px;
  object-fit: contain;
  width: 18px;
}

.videos-actions {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.videos-admin-sort {
  flex-shrink: 0;
  position: relative;
}

.videos-admin-sort-arrow {
  flex-shrink: 0;
  opacity: .6;
  transition: transform .18s;
}

.videos-admin-sort-item {
  background: none;
  border-radius: 5px;
  border: none;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 14px;
  text-align: left;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.videos-admin-sort-item.active {
  background: var(--accent);
  color: #fff;
}

.videos-admin-sort-item:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.videos-admin-sort-menu {
  background: var(--feed-card-bg);
  border-radius: 8px;
  border: 1px solid var(--feed-card-border);
  display: none;
  min-width: 220px;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 200;
}

.videos-admin-sort-toggle {
  align-items: center;
  background: var(--input-bg);
  border-radius: 6px;
  border: 1px solid var(--feed-card-border);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  transition: border-color .18s, background .18s;
  white-space: nowrap;
}

.videos-admin-sort-toggle:hover {
  border-color: var(--accent);
  background: rgba(255,255,255,.02);
}

.videos-admin-sort.open .videos-admin-sort-arrow {
  transform: rotate(180deg);
}

.videos-admin-sort.open .videos-admin-sort-menu {
  display: flex;
  flex-direction: column;
}

.videos-admin-toolbar {
  align-items: center;
  display: flex;
  gap: 12px;
  order: -1;
  width: 100%;
}

.videos-empty {
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
  padding: 40px 0;
  text-align: center;
}

.videos-empty.hidden {
  display: none;
}

.videos-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(340px,1fr));
  width: 100%;
}

.videos-header {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  justify-content: space-between;
}

.videos-header.is-stuck {
  box-sizing: border-box;
  left: 50%;
  max-width: 73rem;
  padding: 0 18px;
  position: fixed;
  transform: translateX(-50%);
  transition: top 0.28s ease;
  width: 100%;
  z-index: 50;
}

.videos-header.is-stuck .videos-actions {
  display: none;
}

.videos-my-offered-btn.is-active {
  background: #2a3318;
  border-color: var(--accent);
  color: var(--accent);
}

.videos-my-offered-btn.is-active .videos-action-icon {
  filter: none;
}

.videos-page {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 auto;
  max-width: 73rem;
  padding: 28px 18px 52px;
  width: 100%;
}

.videos-page .feed-card-info {
  justify-content: flex-start !important;
}

.videos-page .feed-card-preview {
  aspect-ratio: 16/9;
  height: auto !important;
}

.videos-page .feed-card-preview img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.videos-page .feed-card-title {
  height: calc(2 * 1.2em);
  margin-bottom: 0;
  max-height: none;
}

.videos-search-clear {
  align-items: center;
  background: none;
  border: none;
  color: rgba(255,255,255,.4);
  cursor: pointer;
  display: flex;
  height: 20px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 14px;
  transition: color .15s;
  width: 20px;
}

.videos-search-clear:hover {
  color: #ededed;
}

.videos-search-icon {
  flex-shrink: 0;
  height: 16px;
  left: 16px;
  opacity: .5;
  pointer-events: none;
  position: absolute;
  width: 16px;
}

.videos-search-input {
  background: var(--input-bg);
  border-radius: 6px;
  border: 1px solid var(--feed-card-border);
  box-sizing: border-box;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  height: 44px;
  outline: none;
  padding: 0 40px 0 44px;
  transition: border-color .18s, box-shadow .18s;
  width: 100%;
}

.videos-search-input::placeholder {
  color: rgba(255,255,255,.35);
}

.videos-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(120, 157, 42, 0.2);
}

.videos-search-wrap {
  align-items: center;
  display: flex;
  flex: 1;
  position: relative;
}

.videos-status-dropdown {
  position: relative;
}

.videos-status-dropdown.open .videos-status-menu {
  display: flex;
}

.videos-status-dropdown.open .videos-status-toggle-arrow {
  transform: rotate(180deg);
}

.videos-status-item {
  align-items: center;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.08);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 15px;
  font-weight: 800;
  gap: 8px;
  height: 48px;
  letter-spacing: .01em;
  padding: 10px 14px;
  text-transform: uppercase;
}

.videos-status-item-icon {
  filter: brightness(0) invert(1);
  height: 18px;
  width: 18px;
}

.videos-status-item.selected.approved {
  background: #789d2a;
}

.videos-status-item.selected.my-offered {
  background: #789d2a;
}

.videos-status-item.selected.pending {
  background: #878884;
}

.videos-status-item.selected.rejected {
  background: rgba(239,68,68,.2);
}

.videos-status-item.selected.viewed {
  background: #60a5fa;
}

.videos-status-item:last-child {
  border-bottom: none;
}

.videos-status-menu {
  background: #1a1a1a;
  border-radius: 10px;
  border: 1px solid var(--feed-card-border);
  display: none;
  flex-direction: column;
  min-width: 100%;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
}

.videos-status-toggle {
  align-items: center;
  background: #2b2f33;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  gap: 8px;
  height: 48px;
  justify-content: flex-start;
  letter-spacing: .01em;
  min-width: 216px;
  padding: 10px 14px;
  text-transform: uppercase;
  transition: transform .12s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.videos-status-toggle-arrow {
  margin-left: auto;
  opacity: .7;
  transition: transform .2s;
}

.videos-status-toggle-icon {
  filter: brightness(0) invert(1);
  height: 18px;
  margin-right: 2px;
  width: 18px;
}

.videos-status-toggle.approved {
  border-color: #789d2a;
}

.videos-status-toggle.my-offered {
  border-color: #789d2a;
}

.videos-status-toggle.pending {
  border-color: #878884;
}

.videos-status-toggle.rejected {
  border-color: rgba(239,68,68,.6);
}

.videos-status-toggle.viewed {
  border-color: #60a5fa;
}



.videos-tabs {
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  align-items: center;
  cursor: grab;
  display: flex;
  flex-wrap: nowrap;
  flex: 1;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0;
  position: relative;
  scrollbar-width: none;
  touch-action: pan-x;
}

.videos-tabs.dragging {
  cursor: grabbing;
}

.videos-tabs.fade-both {
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 18%, #000 82%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 18%, #000 82%, rgba(0,0,0,0) 100%);
}

.videos-tabs.fade-left {
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 18%, #000 100%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 18%, #000 100%);
}

.videos-tabs.fade-right {
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 82%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 82%, rgba(0,0,0,0) 100%);
}

.videos-tabs::-webkit-scrollbar {
  display: none;
}

@keyframes modal-fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(.95) translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes vote-confetti {
  0% {
    opacity: 0;
    transform: translateY(0) scale(.6) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translateY(-14px) scale(1) rotate(25deg);
  }

  30% {
    opacity: .85;
  }
}

@keyframes vote-fire {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-1px);
  }
}

@media (max-width:768px) {
  #offer-video-btn {
    border-radius: 6px;
    bottom: 20px;
    height: 52px;
    left: 12px;
    min-width: 0;
    padding: 0 18px;
    position: fixed;
    right: 12px;
    width: auto;
    z-index: 1200;
  }

  @media (max-width: 480px) {
    #offer-video-btn {
      bottom: calc(3.5rem + 12px + env(safe-area-inset-bottom));
    }
  }

  

  .video-offer-cat {
    font-size: 15px;
    padding: 8px 14px;
  }

  .video-offer-form {
    padding: 16px;
  }

  .video-offer-input {
    font-size: 16px;
    padding: 12px 14px;
  }

  .video-offer-label {
    font-size: 16px;
  }

  .video-offer-modal {
    align-items: center;
    box-sizing: border-box;
    padding: 16px;
  }

  .video-offer-modal-close {
    font-size: 28px;
    padding: 8px;
    right: 10px;
    top: 10px;
    z-index: 15;
  }

  .video-offer-modal-content {
    border-radius: 16px;
    border: 1px solid var(--feed-card-border);
    box-sizing: border-box;
    max-height: 90dvh;
    max-height: 90vh;
    max-width: 100%;
    width: 100%;
  }

  .video-offer-submit {
    font-size: 18px;
    padding: 14px;
  }

  .video-offer-textarea {
    font-size: 16px;
    padding: 12px 14px;
  }

  .videos-actions {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
    width: auto;
  }

  .videos-admin-sort-menu {
    left: 0;
    right: 0;
  }

  .videos-admin-sort-toggle {
    width: 100%;
  }

  .videos-admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .videos-header {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }

  .videos-header.is-stuck {
    padding: 0 12px;
  }

  .videos-page {
    max-width: 100%;
    padding: 16px 12px 96px;
    width: 100%;
  }

  .videos-tabs {
    flex: 1;
    min-width: 0;
    padding-right: 0;
    width: auto;
  }

  .videos-status-toggle {
    min-width: unset;
    padding: 10px;
    height: 48px;
  }

  .videos-status-toggle-text {
    display: none;
  }

  .videos-status-toggle-icon {
    margin-right: 0;
  }
}

@media (max-width:900px) {
  .video-offer-layout {
    flex-direction: column;
  }

  .video-offer-preview {
    border-left: none;
    border-radius: 0;
    border-right: none;
    flex: none;
    margin: 0;
    min-height: 180px;
    width: 100%;
  }

  .videos-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .videos-header.is-stuck {
    transition: none;
  }
}