/* Light theme single video overrides */
body.theme-light .st-creator-link {
  background: var(--bg-surface);
  border-color: transparent;
}

body.theme-light .st-creator-link:hover {
  background: var(--bg-hover);
}

body.theme-light .st-creator-name {
  color: var(--text);
}

body.theme-light .st-creator-link:hover .st-creator-name {
  color: var(--red);
}

body.theme-light .st-tag-link {
  color: var(--text);
  background: var(--bg-surface);
}

body.theme-light .st-tag-link:hover {
  background: var(--bg-hover);
  color: var(--text);
}

body.theme-light .st-tags-toggle {
  background: var(--bg-surface);
  border-color: var(--border);
  color: var(--text-dim);
}

body.theme-light .st-tags-toggle:hover {
  background: var(--bg-hover);
  color: var(--text);
  border-color: var(--text-dim);
}

body.theme-light .st-vote-btn {
  background: var(--bg-surface);
  color: var(--text);
}

body.theme-light .st-vote-btn:hover {
  background: var(--bg-hover);
  color: var(--text);
}

body.theme-light .st-control-btn {
  background: var(--bg-surface);
  color: var(--text);
}

body.theme-light .st-control-btn:hover {
  background: var(--bg-hover);
  color: var(--text);
}

body.theme-light .st-controls-sep {
  background: var(--bg-hover);
}

body.theme-light .st-show-more-btn {
  background: #ececec;
  color: var(--text);
  border-color: transparent;
}

body.theme-light .st-show-more-btn:hover {
  background: #e2e2e2;
  color: var(--text);
  border-color: transparent;
}

body.theme-light .st-about-section {
  background: var(--bg-surface);
}

body.theme-light .st-side-placeholder {
  background: var(--bg-surface);
  color: #bbb;
}

body.theme-light .st-author-bio {
  background: var(--bg-surface);
  color: var(--text-dim);
}


.st-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.st-heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  margin: 0;
  padding: 0;
  color: var(--text);
  word-break: break-word;
  flex: 0 1 auto;
  min-width: 0;
}

#video-tags-list-container {
  flex: 1 1 auto;
  min-width: 120px;
}

/* --- Tags Bar (SugarTube-style) --- */

.st-tags-container {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.st-creator-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px 0 0;
  background: var(--bg-surface);
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: all var(--trans);
  height: 30px;
}

.st-creator-link:hover {
  background: var(--bg-hover);
  text-decoration: none;
}

.st-creator-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0;
}

.st-creator-avatar img,
.st-creator-avatar .avatar {
  width: 30px;
  height: 30px;
  border-radius: 0;
  object-fit: cover;
  display: block;
}

.st-creator-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.st-creator-link:hover .st-creator-name {
  color: var(--red);
}

.st-verified-badge {
  font-size: 14px;
  color: var(--red) !important;
  margin-left: -2px;
}

.st-subscribe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: all var(--trans);
  white-space: nowrap;
  line-height: 28px;
  height: 30px;
  cursor: pointer;
}

.st-subscribe-btn:hover {
  background: var(--red-hover);
  color: #fff;
  text-decoration: none;
}

.st-subscribe-btn.subscribed {
  background: var(--bg-surface);
  color: var(--text);
  border: none;
}

.st-subscribe-btn.subscribed:hover {
  background: var(--bg-hover);
  color: var(--text);
}

.st-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  overflow: hidden;
  max-height: 32px;
  flex: 1;
  transition: max-height .2s ease;
}

.st-tags-list.expanded {
  max-height: none;
}

.st-tag-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.st-tag-hidden {
  display: none;
}

.st-tags-list.expanded .st-tag-hidden {
  display: inline-flex;
}

.st-tag-creator {
  margin-right: 2px;
}

.st-tag-divider {
  width: 1px;
  height: 18px;
  background: var(--text-dim);
  flex-shrink: 0;
  margin: 0 6px;
  align-self: center;
}

.st-tag-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0 20px 0 16px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  background: var(--bg-surface);
  border: none;
  border-radius: 2px;
  text-decoration: none;
  transition: all var(--trans);
  white-space: nowrap;
  line-height: 30px;
}

.st-tag-link:hover {
  background: var(--bg-hover);
  text-decoration: none;
  color: var(--text);
}

.st-tag-label {
  font-size: 13px;
  color: var(--text);

  margin-bottom: 6px;

}

.st-tags-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  margin-left: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: all var(--trans);
}

.st-tags-toggle:hover {
  background: var(--bg-hover);
  color: var(--text);
  border-color: var(--text-dim);
}

.st-tags-toggle .st-icon {
  font-size: 18px;
  transition: transform .2s ease;
}

.st-tags-toggle.expanded .st-icon {
  transform: rotate(180deg);
}

.st-related-section {
  margin-top: 24px;
}

/* --- Player + Sidebar Row --- */
.player-layout-row {
  display: flex;
  gap: 8px;
  position: relative;
}

.player-container {
  flex: 1 1 0;
  min-width: 0;
  background: #000;
}

.player-container .player-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.player-container .player-inner video,
.player-container .player-inner iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.player-container .video-placeholder,
.player-container .video-poster-preview {
  width: 100%;
  height: 100%;
}

.player-sidebar {
  flex: 0 0 300px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 300px;
  max-width: 100%;
}

.player-sidebar .st-spot {
  flex-shrink: 0;
}

.st-player-sidebar-widget {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.st-psw-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.st-psw-scroll::-webkit-scrollbar {
  width: 4px;
}

.st-psw-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.st-psw-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.st-psw-thumb {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-surface);
  margin-bottom: 4px;
}

.st-psw-thumb img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.st-psw-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  color: var(--text-dim);
}

.st-psw-quality {
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 1px 4px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, .8);
  border-radius: 2px;
  line-height: 1.3;
}

.st-psw-dur {
  position: absolute;
  bottom: 4px;
  right: 4px;
  padding: 1px 4px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, .8);
  border-radius: 2px;
  line-height: 1.3;
}

.st-psw-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 3px;
}

.st-psw-title:hover {
  color: var(--red);
}





/* --- Controls Bar --- */
.st-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  min-height: 36px;
  margin-top: 4px;
}

.st-rating-block {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.st-rating-container {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-surface);
  border-radius: 5px;
}

.st-vote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 10px;
  background: var(--bg-surface);
  border: none;
  border-radius: 5px;
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--trans);
  min-width: auto;
  height: 32px;
}

.st-vote-btn:first-child {
  border-radius: 5px 0 0 5px;
}

.st-vote-btn:last-child {
  border-radius: 0 5px 5px 0;
}

.st-vote-btn:hover {
  background: var(--bg-hover);
  color: var(--text);
}

.st-vote-btn .st-icon {
  display: block;
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.st-vote-btn .sv-action-count {
  font-size: 12px;
  font-weight: 600;
}

.st-vote-btn.liked {
  color: #fff !important;
  background: var(--red) !important;
  border-color: transparent !important;
}

.st-vote-btn.disliked {
  color: #fff !important;
  background: #666 !important;
  border-color: transparent !important;
}

.st-rating-info {
  margin: 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
}

.st-rating-tooltip {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 10px;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  margin-top: 4px;
}

.st-vote-btn:focus+.st-vote-btn+.st-rating-info+.st-rating-tooltip,
.st-vote-btn:hover~.st-rating-tooltip,
.st-rating-block:hover .st-rating-tooltip {
  display: block;
}

.st-controls-sep {
  width: 1px;
  height: 20px;
  background: var(--bg-hover);
  margin: 0 4px;
  flex-shrink: 0;
}

.st-control-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  background: var(--bg-surface);
  border: none;
  border-radius: 1px;
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 400;
  transition: all var(--trans);
  white-space: nowrap;
  height: 32px;
}

.st-control-btn:hover {
  background: var(--bg-hover);
  color: var(--text);
}

.st-control-btn .st-icon {
  display: block;
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.st-control-btn svg,
.st-vote-btn svg {
  flex-shrink: 0;
}

/* --- Favorite button states --- */
.btn-fav.saved {
  color: #fff !important;
  background: var(--red) !important;
}

.btn-watchlater.saved {
  color: #fff !important;
  background: #4a90d9 !important;
}

/* --- About Section (collapsible) --- */
.st-about-section {
  background: var(--bg-surface);
  border-radius: 8px;
  margin: 8px 0;
  padding: 16px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.st-about-inner {
  padding: 4px 0;
}

.st-entity-info {
  display: table;
  width: 100%;
  margin-bottom: 16px;
  font-size: 14px;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.st-entity-row {
  display: table-row;
}

.st-entity-row .st-label {
  display: table-cell;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding-right: 24px;
  vertical-align: middle;
  width: 1%;
  opacity: 0.7;
}

.st-entity-row .st-value {
  display: table-cell;
  color: var(--text);
  vertical-align: middle;
  font-weight: 500;
}

.st-author-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 2px 0;
}

.st-author-link:hover {
  color: var(--red);
}

.st-author-link img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.st-verified {
  font-size: 14px;
  color: var(--red);
  vertical-align: middle;
}

.st-desc-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
  opacity: 0.7;
}

.st-description {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.st-description p:last-child {
  margin-bottom: 0;
}

.svm-vote-bar {
  width: 80px;
  height: 4px;
  background: var(--bg-surface);
  border-radius: 2px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

.svm-vote-fill {
  height: 100%;
  background: var(--red);
  border-radius: 2px;
}

/* --- Widget slot --- */
.svm-widget-slot {
  margin: 16px 0;
}

/* --- Tabs --- */
.st-tab-set {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid #ccc;
  margin-bottom: 16px;
  margin-top: 24px;
  position: relative;
}

.st-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px 10px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  margin-right: 16px;
  cursor: pointer;
  transition: all var(--trans);
  white-space: nowrap;
}

.st-tab .material-symbols-outlined {
  font-size: 18px;
  color: var(--text-muted);
  transition: all var(--trans);
}

.st-tab:hover .material-symbols-outlined {
  color: var(--text);
}

.st-tab--active .material-symbols-outlined {
  color: var(--red);
}

.st-tab:hover {
  color: var(--text);
}

.st-tab--active {
  color: var(--red);
  border-bottom-color: var(--red);
  font-weight: 700;
}

.st-tab-line {
  flex: 1;

  margin-bottom: -2px;
}

/* --- Skeleton Loading --- */
.st-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

/* 6 per row skeleton grid */
.st-skeleton-grid--6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  width: 100%;
}

@media (max-width: 1200px) {
  .st-skeleton-grid--6 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .st-skeleton-grid--6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .st-skeleton-grid--6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.st-skeleton-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.st-skeleton-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-surface);
  border-radius: var(--radius);
  animation: st-shimmer 1.5s infinite;
}

.st-skeleton-line {
  height: 10px;
  background: var(--bg-surface);
  border-radius: var(--radius);
  animation: st-shimmer 1.5s infinite;
}

.st-skeleton-line--short {
  width: 60%;
  height: 8px;
}

@keyframes st-shimmer {
  0% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.6;
  }
}

/* --- Author Bio --- */
.st-author-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 12px;
  background: var(--bg-surface);
  border-radius: 4px;
}

/* --- Avatar Letter Fallback --- */
.st-avatar-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  line-height: 1;
}

/* --- Related Videos Grid --- */
.st-mixed-section {
  margin-bottom: 16px;
}

.st-tab-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.st-thumb-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.st-thumb-item {
  display: flex;
  flex-direction: column;
}

.st-thumb-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;
  background: var(--bg-surface);
}

.st-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.st-thumb-link:hover img {
  opacity: 0.9;
}

.preview-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  z-index: 1;
}

.st-thumb-link:hover .preview-video {
  display: block;
}

.st-thumb-dur {
  position: absolute;
  bottom: 6px;
  right: 6px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, .8);
  border-radius: 3px;
  line-height: 1.3;
}

.st-thumb-info {
  padding: 6px 2px 0;
}

.st-thumb-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.st-thumb-title:hover {
  color: var(--red);
}

.st-thumb-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
}

.st-thumb-author {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  text-decoration: none;
}

.st-thumb-author:hover {
  color: var(--red);
}

.st-thumb-author img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

.st-thumb-sep {
  color: var(--text-muted);
  margin: 0 2px;
}

.st-thumb-views {
  color: var(--text-muted);
}

/* --- Show More Button --- */
.st-show-more-wrap {
  margin: 16px 0 0;
  padding: 0;
}

.st-show-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 300px;
  margin: 0 auto;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--trans);
  min-height: 40px;
  position: relative;
}

.st-show-more-btn:hover {
  background: var(--bg-hover);
  color: var(--text);
  border-color: var(--text-dim);
}

.st-show-more-btn:active {
  transform: scale(0.99);
}

.st-show-more-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.st-show-more-btn.loading span {
  opacity: 0;
}

.st-show-more-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: st-spinner-centered .6s linear infinite;
}

@keyframes st-spinner-centered {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

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

.st-btn-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
}

/* --- Show More Comments (inherits show-more-btn style) --- */
.sv-load-more-btn.st-show-more-btn {
  display: flex;
  width: 300px;
  margin: 0 auto;
  border-radius: var(--radius);
}

.sv-load-more-wrap {
  margin-top: 16px;
  padding: 0;
  display: block;
}

@media (max-width: 768px) {
  .sv-load-more-btn.st-show-more-btn {
    width: 100%;
    margin: 0;
  }
}

/* --- Comments Row (2 cols) --- */
.st-comments-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.st-comments-col {
  flex: 1;
  min-width: 0;
}

.st-comments-side {
  flex: 0 0 300px;
  width: 300px;
  position: sticky;
  top: 80px;
}

.st-side-placeholder {
  width: 100%;
  min-height: 250px;
  background: var(--bg-surface);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  background: transparent !important;
}

/* --- Comments --- */
.st-comments {
  margin: 0 0 32px;
}

.st-comments-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.st-comments-header .st-icon {
  width: 20px;
  height: 20px;
  font-size: 20px;
  line-height: 1;
  color: var(--text-muted);
  flex-shrink: 0;
}

.st-comments-header h2,
.st-comments-header h3,
.st-comments-heading {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.st-comments .comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.st-comments .comment-list .comment {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.st-comments .comment-list .comment:last-child {
  border-bottom: none;
}

.st-comments .comment-list .children {
  list-style: none;
  padding-left: 32px;
  margin: 8px 0 0;
}

.st-comments .comment-body {
  font-size: 14px;
  line-height: 1.6;
}

.st-comments .comment-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.st-comments .comment-author img {
  width: 28px;
  height: 28px;
  border-radius: 2px;
  object-fit: cover;
}

.st-comments .comment-author .fn {
  font-weight: 600;
  font-style: normal;
  font-size: 13px;
}

.st-comments .comment-author .fn a {
  color: var(--text);
  text-decoration: none;
}

.st-comments .comment-author .fn a:hover {
  color: var(--red);
}

.st-comments .comment-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.st-comments .comment-meta a {
  color: var(--text-muted);
  text-decoration: none;
}

.st-comments .comment-content p {
  margin: 0 0 8px;
  font-size: 14px;
}

.st-comments .reply {
  font-size: 12px;
}

.st-comments .reply a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}

.st-comments .reply a:hover {
  color: var(--red);
}

/* Comment form */
.st-comments .comment-respond {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg-surface);
  border-radius: 4px;
}

.st-comments .comment-reply-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.st-comments .comment-reply-title a {
  color: var(--red);
  text-decoration: none;
  font-size: 12px;
  margin-left: 8px;
}

.st-comments .comment-notes,
.st-comments .logged-in-as {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.st-comments .logged-in-as a {
  color: var(--red);
  text-decoration: none;
}

.st-comments .comment-form-comment label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.st-comments .comment-form-comment textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  resize: vertical;
  min-height: 80px;
  box-sizing: border-box;
}

.st-comments .comment-form-comment textarea:focus {
  outline: none;
  border-color: var(--red);
}

.st-comments .form-submit {
  margin: 8px 0 0;
}

.st-comments .form-submit .submit {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--red);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--trans);
}

.st-comments .form-submit .submit:hover {
  background: var(--red-hover);
}

.st-comments-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-muted);
  font-size: 14px;
}

html.theme-dark .st-tag-link,
body.theme-dark .st-tag-link {
  background: var(--bg-hover);
  color: var(--text);
}

html.theme-dark .st-tag-link:hover,
body.theme-dark .st-tag-link:hover {
  background: var(--bg-hover);
  color: #fff;
}

html.theme-dark .st-creator-name,
body.theme-dark .st-creator-name {
  color: var(--text);
}

html.theme-dark .st-creator-link:hover .st-creator-name,
body.theme-dark .st-creator-link:hover .st-creator-name {
  color: var(--red);
}

html.theme-dark .st-creator-link,
body.theme-dark .st-creator-link {
  background: var(--bg-hover);
}

html.theme-dark .st-creator-link:hover,
body.theme-dark .st-creator-link:hover {
  background: var(--bg-hover);
}

html.theme-dark .st-tag-divider,
body.theme-dark .st-tag-divider {
  background: var(--border);
}

html.theme-dark .st-vote-btn,
body.theme-dark .st-vote-btn {
  background: var(--bg-hover);
  color: var(--text);
}

html.theme-dark .st-vote-btn:hover,
body.theme-dark .st-vote-btn:hover {
  background: var(--bg-hover);
  color: #fff;
}

html.theme-dark .st-control-btn,
body.theme-dark .st-control-btn {
  background: var(--bg-hover);
  color: #b2b2bc;
}

html.theme-dark .st-control-btn:hover,
body.theme-dark .st-control-btn:hover {
  background: var(--bg-hover);
  color: #fff;
}

html.theme-dark .st-controls-sep,
body.theme-dark .st-controls-sep {
  background: var(--border);
}

html.theme-dark .st-show-more-btn,
body.theme-dark .st-show-more-btn {
  background: var(--bg-surface);
  color: var(--text);
  border-color: var(--border);
}

html.theme-dark .st-show-more-btn:hover,
body.theme-dark .st-show-more-btn:hover {
  background: var(--bg-hover);
  color: var(--text);
  border-color: var(--text-dim);
}

html.theme-dark .st-subscribe-btn,
body.theme-dark .st-subscribe-btn {
  background: var(--red);
  color: #fff;
}

html.theme-dark .st-subscribe-btn:hover,
body.theme-dark .st-subscribe-btn:hover {
  background: var(--red-hover);
}

html.theme-dark .st-subscribe-btn.subscribed,
body.theme-dark .st-subscribe-btn.subscribed {
  background: var(--bg-hover);
  color: var(--text-dim);
}

html.theme-dark .st-subscribe-btn.subscribed:hover,
body.theme-dark .st-subscribe-btn.subscribed:hover {
  background: var(--bg-hover);
  color: var(--text);
}

/* Dark theme tab */
html.theme-dark .st-tab,
body.theme-dark .st-tab {
  color: var(--text-dim);
}

html.theme-dark .st-tab:hover,
body.theme-dark .st-tab:hover {
  color: var(--text);
}

html.theme-dark .st-tab--active,
body.theme-dark .st-tab--active {
  color: var(--red);
  border-bottom-color: var(--red);
}

html.theme-dark .st-tab-set,
body.theme-dark .st-tab-set {
  border-bottom-color: var(--border);
}

/* Dark theme skeleton & bio */
html.theme-dark .st-skeleton-thumb,
body.theme-dark .st-skeleton-thumb {
  background: var(--bg-hover);
}

html.theme-dark .st-skeleton-line,
body.theme-dark .st-skeleton-line {
  background: var(--bg-hover);
}

html.theme-dark .st-author-bio,
body.theme-dark .st-author-bio {
  background: var(--bg-surface);
  color: var(--text-dim);
}

html.theme-dark .st-about-section,
body.theme-dark .st-about-section {
  background: var(--bg-surface);
}

html.theme-dark .st-side-placeholder,
body.theme-dark .st-side-placeholder {
  background: var(--bg-surface);
  color: #3a3a48;
}

/* Light theme widget overrides */
body.theme-light .st-psw-thumb {
  background: var(--bg-hover);
}

body.theme-light .st-psw-title {
  color: var(--text);
}

body.theme-light .st-psw-title:hover {
  color: var(--red);
}

/* Dark theme widget overrides */
body.theme-dark .st-psw-thumb {
  background: var(--bg-surface);
}

html.theme-dark .st-psw-placeholder,
body.theme-dark .st-psw-placeholder {
  background: var(--bg-surface);
}

html.theme-dark .st-psw-title,
body.theme-dark .st-psw-title {
  color: var(--text);
}

html.theme-dark .st-psw-title:hover,
body.theme-dark .st-psw-title:hover {
  color: var(--red);
}

/* Responsive: when sidebar goes below player, reset scroll */
@media (max-width: 960px) {
  .player-sidebar {
    max-height: none;
    overflow: visible;
    flex: 1 1 100%;
    width: 100%;
  }

  .st-psw-scroll {
    overflow: visible;
    max-height: none;
    grid-template-columns: repeat(3, 1fr);
  }

  .st-comments-row {
    flex-direction: column;
  }

  .st-comments-col {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }

  .st-comments-side {
    flex: 1 1 100%;
    width: 100%;
    position: static;
  }

  .st-thumb-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .st-tab-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .st-psw-scroll {
    grid-template-columns: repeat(2, 1fr);
  }

  .st-thumb-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .st-modal-content {
    width: 95%;
    max-width: 95%;
  }

  .share-socials {
    grid-template-columns: 1fr 1fr;
  }

  .st-show-more-btn {
    width: 100%;
    margin: 0;
  }

  aside.player-sidebar {
    display: block !important;
    flex: auto;
    width: 100%;
    margin: 10px auto;
  }

  .st-comments-row {

    gap: 7px;

  }
}

@media (max-width: 480px) {
  .st-thumb-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .st-psw-scroll {
    grid-template-columns: repeat(2, 1fr);
  }

  .st-skeleton-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .st-skeleton-grid--6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .st-modal-content {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    margin: 0;
    min-height: 100vh;
  }

  .st-modal-overlay {
    display: none;
  }

  .share-socials {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .share-url-box {
    flex-direction: column;
    gap: 8px;
  }

  .share-url-box input {
    width: 100%;
    font-size: 12px;
  }

  .st-show-more-wrap {
    margin-top: 0;
  }

  .st-show-more-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .st-thumb-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .st-psw-scroll {
    grid-template-columns: 1fr;
  }
}

/* Light theme comment form */
body.theme-light .st-comments .comment-respond {
  background: var(--bg-surface);
}

body.theme-light .st-comments .comment-form-comment textarea {
  background: var(--bg-card);
  border-color: var(--border);
}

body.theme-light .st-comments .comment-form-comment textarea:focus {
  border-color: var(--red);
}

/* Dark theme comment form */
body.theme-dark .st-comments .comment-respond {
  background: var(--bg-surface);
}

body.theme-dark .st-comments .comment-form-comment textarea {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text);
}

body.theme-dark .st-comments .comment-form-comment textarea:focus {
  border-color: var(--red);
}