/* ───────────────────────────────────────────────────────────────────────
   YouTube Optimizer — scoped styles
   ─────────────────────────────────────────────────────────────────────
   Every selector is prefixed with .yto-shell so OttoSocial's main app CSS
   doesn't bleed into the YT page and vice versa. Class collisions with
   OttoSocial (.icon-btn, .filter-chip, .sort-btn, .comment) are won by
   the extra .yto-shell ancestor (specificity (0,2,0) vs OttoSocial's
   bare (0,1,0)).

   @keyframes "spin" was renamed to "yto-spin" because OttoSocial already
   defines a global @keyframes spin.

   Source: youtube-preview_3.html (see YOUTUBE OPTIMIZER_OTTOSOCIAL/).
   ─────────────────────────────────────────────────────────────────────── */

/* Root container — also picks up the body styles from the original page */
.yto-shell {
  --bg: #0f0f0f;
  --surface: #212121;
  --surface2: #272727;
  --border: #3f3f3f;
  --text: #f1f1f1;
  --text-secondary: #aaaaaa;
  --text-muted: #717171;
  --blue: #3ea6ff;
  --red: #ff0000;
  --btn-bg: #272727;
  --btn-hover: #3f3f3f;

  background: var(--bg);
  color: var(--text);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 14px;
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

.yto-shell * { margin: 0; padding: 0; box-sizing: border-box; }

/* ── TOP NAV ── */
.yto-shell .topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  background: var(--bg);
  height: 56px;
  padding: 0 16px;
  gap: 16px;
  border-bottom: 1px solid transparent;
}

.yto-shell .nav-left { display: flex; align-items: center; gap: 16px; }

.yto-shell .hamburger {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: 8px;
}
.yto-shell .hamburger span {
  display: block; width: 18px; height: 2px;
  background: var(--text); border-radius: 2px;
}

.yto-shell .logo-wrap { display: flex; align-items: center; gap: 6px; text-decoration: none; }
.yto-shell .logo-img { height: 28px; width: auto; filter: invert(1); }
.yto-shell .logo-country {
  font-size: 10px; color: var(--text-muted);
  position: relative; top: -8px; left: -2px;
}

.yto-shell .nav-center { flex: 1; display: flex; align-items: center; gap: 8px; max-width: 640px; margin: 0 auto; }

.yto-shell .search-bar {
  flex: 1; display: flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: 40px 0 0 40px;
  background: var(--bg);
  overflow: hidden;
}
.yto-shell .search-bar input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); font-size: 16px; padding: 6px 16px; height: 40px;
}
.yto-shell .search-btn {
  background: var(--surface2); border: 1px solid var(--border);
  border-left: none; height: 40px; width: 64px;
  cursor: pointer; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  border-radius: 0 40px 40px 0;
}
.yto-shell .search-btn:hover { background: #3f3f3f; }

.yto-shell .mic-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface2); border: none; cursor: pointer;
  color: var(--text); display: flex; align-items: center; justify-content: center;
}

.yto-shell .nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.yto-shell .create-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--btn-bg); border: none; border-radius: 20px;
  color: var(--text); padding: 8px 16px; cursor: pointer;
  font-size: 14px; white-space: nowrap;
}
.yto-shell .create-btn:hover { background: var(--btn-hover); }

.yto-shell .icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: none; border: none; cursor: pointer;
  color: var(--text); display: flex; align-items: center; justify-content: center;
  position: relative;
}
.yto-shell .icon-btn:hover { background: rgba(255,255,255,.1); }
.yto-shell .badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700; border-radius: 10px;
  min-width: 16px; height: 16px; display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.yto-shell .avatar-btn {
  width: 32px; height: 32px; border-radius: 50%; overflow: hidden;
  background: #555; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); font-size: 14px; font-weight: 600;
}

/* ── LAYOUT ── */
.yto-shell .page-body {
  display: flex; gap: 24px;
  max-width: 1800px; margin: 0 auto;
  padding: 20px 24px;
}

/* ── MAIN (left) ── */
.yto-shell .main-col { flex: 1; min-width: 0; }

/* VIDEO PLAYER */
.yto-shell .player-wrap {
  width: 100%; aspect-ratio: 16/9;
  background: #000; border-radius: 12px; overflow: hidden;
  position: relative; cursor: pointer;
  min-height: 0;
  pointer-events: all;
}
.yto-shell .player-wrap video::-webkit-media-controls { display: none !important; }
.yto-shell .player-wrap video::-webkit-media-controls-enclosure { display: none !important; }
.yto-shell .player-wrap video { pointer-events: all; }
.yto-shell .player-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
/* (Stage 1 had a `display:none !important` neutralizer here from an old Safari
   workaround. Removed — the YT-style custom overlay is now the player UI.) */

/* ── VIDEO CONTROLS OVERLAY ── */
.yto-shell .video-controls {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 14px 10px;
  border-radius: 0 0 12px 12px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 10;
  background: linear-gradient(transparent, rgba(0,0,0,0.5) 100%);
}
.yto-shell .video-controls.visible {
  opacity: 1;
  pointer-events: all;
}

/* Progress bar */
.yto-shell .vc-progress-wrap {
  position: relative; height: 20px;
  display: flex; align-items: center;
  cursor: pointer; margin-bottom: 4px;
  padding: 0 2px;
}
.yto-shell .vc-progress-track {
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px; position: relative;
}
.yto-shell .vc-progress-wrap:hover .vc-progress-track { height: 4px; }
.yto-shell .vc-progress-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3%; background: #f00; border-radius: 2px;
}
.yto-shell .vc-progress-dot {
  position: absolute; top: 50%; left: 3%;
  transform: translate(-50%, -50%);
  width: 13px; height: 13px;
  background: #f00; border-radius: 50%;
  opacity: 0; transition: opacity 0.15s;
}
.yto-shell .vc-progress-wrap:hover .vc-progress-dot { opacity: 1; }

/* Bottom row */
.yto-shell .vc-row {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 2px 2px 0;
  gap: 6px;
  height: 36px;
}
.yto-shell .vc-left  { display: flex; align-items: center; gap: 6px; height: 36px; }
.yto-shell .vc-right { display: flex; align-items: center; height: 36px; }

/* Play — individual circle pill */
.yto-shell .vc-btn-play,
.yto-shell .vc-btn-vol {
  background: rgba(30,30,30,0.36);
  border: none; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  width: 36px; height: 36px;
  flex-shrink: 0;
}
.yto-shell .vc-btn-play:hover,
.yto-shell .vc-btn-vol:hover { background: rgba(60,60,60,0.5); }

/* Time — pill bg, same height as everything */
.yto-shell .vc-time {
  font-size: 13px; font-weight: 300; color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: rgba(30,30,30,0.36);
  border-radius: 20px;
  padding: 0 12px;
  height: 36px;
  display: flex; align-items: center;
  box-sizing: border-box;
}

/* Chapter — pill bg, same height */
.yto-shell .vc-chapter {
  font-size: 13px; color: #fff; font-weight: 300;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  white-space: nowrap; display: flex; align-items: center; gap: 4px;
  background: rgba(30,30,30,0.36);
  border-radius: 20px;
  padding: 0 12px;
  height: 36px;
  box-sizing: border-box;
}

/* Right side — ALL icons share ONE pill */
.yto-shell .vc-right-pill {
  display: flex; align-items: center; gap: 0;
  background: rgba(30,30,30,0.36);
  border-radius: 24px;
  padding: 0 6px;
  height: 36px;
  box-sizing: border-box;
}
.yto-shell .vc-btn {
  background: none; border: none; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  width: 36px; height: 36px; flex-shrink: 0;
}
.yto-shell .vc-btn:hover { background: rgba(255,255,255,0.1); }

/* HD badge on settings */
.yto-shell .vc-icon-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.yto-shell .vc-badge {
  background: #f00; color: #fff;
  font-size: 7px; font-weight: 900;
  padding: 1px 2px; border-radius: 2px;
  line-height: 1.2; position: absolute;
  top: -1px; right: -1px;
  pointer-events: none;
}
.yto-shell .player-loading {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #111; color: var(--text-muted);
  font-size: 14px; gap: 12px;
}
.yto-shell .player-loading .spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: yto-spin 0.8s linear infinite;
}
@keyframes yto-spin { to { transform: rotate(360deg); } }

/* TITLE */
.yto-shell .video-title {
  font-size: 20px; font-weight: 600; line-height: 28px;
  margin: 12px 0 8px; color: var(--text);
}

/* CHANNEL ROW */
.yto-shell .channel-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; margin-bottom: 12px;
}
.yto-shell .channel-left { display: flex; align-items: center; gap: 12px; }
.yto-shell .channel-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #555; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff;
}
.yto-shell .channel-info { display: flex; flex-direction: column; }
.yto-shell .channel-name { font-size: 15px; font-weight: 600; cursor: pointer; }
.yto-shell .channel-name:hover { color: var(--text-secondary); }
.yto-shell .channel-subs { font-size: 12px; color: var(--text-muted); }

.yto-shell .subscribe-btn {
  background: var(--text); color: #0f0f0f;
  border: none; border-radius: 20px;
  padding: 8px 16px; font-size: 14px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
}
.yto-shell .subscribe-btn:hover { background: #d9d9d9; }

.yto-shell .bell-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--btn-bg); border: none; cursor: pointer;
  color: var(--text); display: flex; align-items: center; justify-content: center;
}

/* ACTION BUTTONS */
.yto-shell .action-row {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.yto-shell .action-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--btn-bg); border: none; border-radius: 20px;
  color: var(--text); padding: 8px 14px; cursor: pointer;
  font-size: 14px; white-space: nowrap;
}
.yto-shell .action-btn:hover { background: var(--btn-hover); }
.yto-shell .like-group {
  display: flex; align-items: center;
  background: var(--btn-bg); border-radius: 20px; overflow: hidden;
}
.yto-shell .like-btn,
.yto-shell .dislike-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none; color: var(--text);
  padding: 8px 14px; cursor: pointer; font-size: 14px;
  white-space: nowrap;
}
.yto-shell .like-btn:hover { background: var(--btn-hover); }
.yto-shell .dislike-btn {
  border-left: 1px solid var(--border);
}
.yto-shell .dislike-btn:hover { background: var(--btn-hover); }

/* DESCRIPTION BOX */
.yto-shell .desc-box {
  background: var(--surface2); border-radius: 12px;
  padding: 12px 16px; margin-top: 12px;
}
.yto-shell .desc-box.collapsed { cursor: pointer; }
.yto-shell .desc-box.collapsed:hover { background: #2f2f2f; }
.yto-shell .desc-meta {
  font-size: 14px; font-weight: 600; margin-bottom: 6px;
}
.yto-shell .desc-meta span { color: var(--blue); margin-left: 12px; }
.yto-shell .desc-text {
  font-size: 14px; color: var(--text); line-height: 20px;
  white-space: pre-wrap;
}
/* Chapter-line cap-25 highlight: shows exactly what survives YouTube's
   25-char truncation on the player's "current chapter" overlay. */
.yto-shell .desc-text .yto-chap-cap25 {
  background: rgba(255, 213, 79, 0.28);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 213, 79, 0.18);
}
.yto-shell .desc-text .yto-chap-time {
  background: rgba(96, 165, 250, 0.18);
  color: var(--blue, #60a5fa);
  border-radius: 2px;
}
.yto-shell .show-more-btn {
  background: none; border: none; color: var(--text);
  font-size: 14px; font-weight: 600; cursor: pointer;
  margin-top: 6px; padding: 0;
}
.yto-shell .show-more-btn:hover { color: var(--text-secondary); }

/* Collapsed description wrapper — positions the ...more overlay */
.yto-shell #descCollapsed { }
.yto-shell #descPreview {
  font-size: 14px;
  line-height: 20px;
  color: var(--text);
  word-break: break-word;
  white-space: pre-wrap;
  overflow: hidden;
  max-height: 60px;
}
.yto-shell .more-inline-btn {
  display: inline-block;
  border: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-top: 2px;
  background: none;
  line-height: 20px;
}
.yto-shell .more-inline-btn:hover { opacity: 0.7; }
.yto-shell .more-below-btn { display: none !important; }

/* ASK & TRANSCRIPT */
.yto-shell .section-card {
  background: var(--surface2); border-radius: 12px;
  padding: 16px; margin-top: 12px;
}
.yto-shell .section-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.yto-shell .section-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.yto-shell .outline-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border); background: none;
  color: var(--text); border-radius: 20px;
  padding: 8px 16px; cursor: pointer; font-size: 14px;
}
.yto-shell .outline-btn:hover { background: var(--btn-hover); }
.yto-shell .transcript-btn {
  border-color: var(--blue); color: var(--blue);
}
.yto-shell .transcript-btn:hover { background: rgba(62,166,255,.1); }

/* CHANNEL SECTION BOTTOM */
.yto-shell .channel-bottom {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border);
}
.yto-shell .channel-bottom .channel-avatar { width: 48px; height: 48px; font-size: 18px; }
.yto-shell .channel-bottom-right { flex: 1; }
.yto-shell .channel-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.yto-shell .channel-link {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--border); border-radius: 20px;
  color: var(--text); padding: 6px 12px; cursor: pointer;
  font-size: 13px; text-decoration: none; white-space: nowrap;
}
.yto-shell .channel-link:hover { background: var(--btn-hover); }
.yto-shell .channel-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* COMMENTS */
.yto-shell .comments-section { margin-top: 24px; }
.yto-shell .comments-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 16px;
}
.yto-shell .comments-count { font-size: 20px; font-weight: 600; }
.yto-shell .sort-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none; color: var(--text);
  font-size: 14px; cursor: pointer;
}
.yto-shell .comment-input-row {
  display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px;
}
.yto-shell .comment-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #555; flex-shrink: 0; display: flex;
  align-items: center; justify-content: center;
  color: var(--text); font-size: 16px;
}
.yto-shell .comment-input {
  flex: 1; background: none; border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted); padding: 8px 0;
  font-size: 14px; outline: none;
}
.yto-shell .comment-input:focus { border-color: var(--text); color: var(--text); }
.yto-shell .comment { display: flex; gap: 12px; margin-bottom: 20px; }
.yto-shell .comment-body { flex: 1; }
.yto-shell .comment-author {
  font-size: 13px; font-weight: 600; margin-bottom: 4px;
}
.yto-shell .comment-time { color: var(--text-muted); font-weight: 400; margin-left: 8px; }
.yto-shell .comment-text { font-size: 14px; line-height: 20px; }
.yto-shell .comment-actions { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.yto-shell .comment-action {
  display: flex; align-items: center; gap: 4px;
  background: none; border: none; color: var(--text-muted);
  font-size: 13px; cursor: pointer; padding: 4px 8px; border-radius: 20px;
}
.yto-shell .comment-action:hover { background: var(--btn-hover); color: var(--text); }

/* ── TRANSCRIPT PANEL ── */
/* OttoSocial's main app defines `.sidebar { background: var(--bg-1); }`
   at lower specificity but the background property still cascades because
   our `.yto-shell .sidebar` rule below didn't explicitly set background.
   Forcing transparent here lets the .yto-shell dark bg show through. */
.yto-shell .sidebar { width: 402px; flex-shrink: 0; position: relative; background: transparent; border: none; }

/* Panel sits above related videos, pushes them down */
.yto-shell #transcriptPanel {
  display: none;
  flex-direction: column;
  background: var(--surface2);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}
.yto-shell #transcriptPanel.visible { display: flex; }

.yto-shell .transcript-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 16px 12px;
  flex-shrink: 0;
}
.yto-shell .transcript-header h3 { font-size: 18px; font-weight: 700; }
.yto-shell .transcript-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: none; border: none; cursor: pointer;
  color: var(--text); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.yto-shell .transcript-close:hover { background: var(--btn-hover); }

.yto-shell .transcript-search {
  margin: 0 12px 8px;
  background: #3a3a3a;
  border: none;
  border-radius: 24px;
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
  flex-shrink: 0;
  outline: none;
  width: calc(100% - 24px);
}
.yto-shell .transcript-search::placeholder { color: var(--text-muted); }
.yto-shell .transcript-search:focus { background: #444; }

.yto-shell .transcript-body {
  flex: 1; overflow-y: auto;
  padding: 0 4px 70px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  position: relative;
}
.yto-shell .transcript-body::-webkit-scrollbar { width: 4px; }
.yto-shell .transcript-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.yto-shell .transcript-entry {
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 2px;
}
.yto-shell .transcript-entry:hover { background: rgba(255,255,255,0.08); }
.yto-shell .transcript-entry.active { background: rgba(255,255,255,0.1); }

/* Timestamp badge on its own line */
.yto-shell .t-time {
  display: inline-block;
  font-size: 12px;
  color: var(--text);
  background: #3a3a3a;
  border-radius: 4px;
  padding: 1px 6px;
  margin-bottom: 4px;
  font-weight: 500;
}

/* Text below the timestamp, full width */
.yto-shell .t-text {
  display: block;
  font-size: 14px;
  line-height: 22px;
  color: var(--text);
  font-weight: 400;
}
.yto-shell .transcript-entry.active .t-text {
  font-weight: 700;
}

/* Sync to video time button — actually sticky now (was absolute, which
   scrolled with the content instead of staying pinned at the visible bottom) */
.yto-shell .sync-btn-wrap {
  position: sticky;
  bottom: 16px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
  margin-top: 12px;
}
.yto-shell .sync-btn {
  background: var(--text);
  color: #0f0f0f;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.yto-shell .sync-btn:hover { background: #d9d9d9; }

.yto-shell .filter-bar {
  display: flex; gap: 8px; overflow-x: auto;
  scrollbar-width: none; padding-bottom: 4px; margin-bottom: 12px;
}
.yto-shell .filter-bar::-webkit-scrollbar { display: none; }
.yto-shell .filter-chip {
  background: var(--text); color: #0f0f0f;
  border: none; border-radius: 8px; padding: 6px 12px;
  font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
  flex-shrink: 0;
}
.yto-shell .filter-chip.secondary {
  background: var(--surface2); color: var(--text);
}
.yto-shell .filter-chip.secondary:hover { background: var(--btn-hover); }

.yto-shell .video-list { display: flex; flex-direction: column; gap: 4px; }

.yto-shell .sidebar-video {
  display: flex; gap: 8px; padding: 4px 0;
  cursor: pointer; border-radius: 8px;
}
.yto-shell .sidebar-video:hover { background: rgba(255,255,255,.05); padding: 4px 6px; margin: 0 -6px; }

.yto-shell .thumb-wrap {
  width: 168px; height: 94px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden; background: #222;
  position: relative;
}
.yto-shell .thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }
.yto-shell .duration-badge {
  position: absolute; bottom: 4px; right: 4px;
  background: rgba(0,0,0,.9); color: #fff;
  font-size: 12px; font-weight: 600; border-radius: 4px;
  padding: 1px 4px;
}
.yto-shell .new-badge {
  position: absolute; bottom: 4px; left: 4px;
  background: #212121; color: var(--text);
  font-size: 11px; border-radius: 4px; padding: 1px 6px;
}
.yto-shell .premiere-badge {
  position: absolute; bottom: 4px; left: 4px;
  background: var(--red); color: #fff;
  font-size: 11px; border-radius: 4px; padding: 1px 6px;
  display: flex; align-items: center; gap: 4px;
}

.yto-shell .sidebar-info { flex: 1; min-width: 0; padding-right: 24px; }
.yto-shell .sidebar-title {
  font-size: 14px; font-weight: 600; line-height: 20px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 4px;
}
.yto-shell .sidebar-channel {
  font-size: 13px; color: var(--text-muted);
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 2px;
}
.yto-shell .verified-icon { color: var(--text-muted); }
.yto-shell .sidebar-meta { font-size: 13px; color: var(--text-muted); }
.yto-shell .sidebar-more {
  width: 36px; flex-shrink: 0; display: flex;
  align-items: flex-start; justify-content: center;
  padding-top: 4px;
}
.yto-shell .more-btn {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.yto-shell .more-btn:hover { background: var(--btn-hover); color: var(--text); }

/* SVG ICONS */
.yto-shell svg { fill: currentColor; }

@media (max-width: 1100px) {
  .yto-shell .sidebar { width: 100%; }
  .yto-shell .page-body { flex-direction: column; }
}
@media (max-width: 650px) {
  .yto-shell .page-body { padding: 12px; }
  .yto-shell .video-title { font-size: 16px; }
  .yto-shell .topnav { gap: 8px; }
  .yto-shell .nav-center { max-width: 200px; }
}
