#above-the-fold .YtLikeButtonViewModelHost {
  display: none;
}
#above-the-fold .ytSegmentedLikeDislikeButtonViewModelSegmentedButtonsWrapper {
  display: none;
}
.ytLikeButtonViewModelHost {
  display: none;
}
#top-level-buttons-computed segmented-like-dislike-button-view-model {
  display: none;
}
#top-level-buttons-computed like-button-view-model {
  display: none;
}
#wrapper
  yt-flexible-actions-view-model
  *:not(#wrapper yt-flexible-actions-view-model) {
  visibility: hidden;
}
#end-actions .ytd-playlist-panel-renderer {
  display: none;
}
yt-flexible-actions-view-model .yt-flexible-actions-view-model-wiz__action-row {
  display: none;
}
#flexible-item-buttons {
  display: flex;
  gap: 8px;
}
#flexible-item-buttons yt-button-view-model.ytd-menu-renderer {
  display: none;
}

/* Like/UnLike button */
#custom-ltm-like-btn {
  display: flex;
  align-items: center;
  background-color: #272727;
  padding: 6px 16px;
  border-radius: 15px;
  border-right: 1px solid #525252;
  border-left: 1px solid #525252;
}
#custom-ltm-like-btn:hover {
  background-color: #3f3f3f;
  cursor: pointer;
}

#custom-ltm-like-btn-icon {
  height: 24px;
}

#custom-ltm-like-count {
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
}

div[data-custom-no-login-yt-btn-icon-liked="initial-liked"] {
  margin-right: -11px;
}
div[data-custom-no-login-yt-btn-icon-liked="initial-not-liked"] {
  margin-right: 8px;
}

div[data-custom-no-login-yt-btn-icon-liked="liked"] {
  margin-right: 8px;
}
div[data-custom-no-login-yt-btn-icon-liked="not-liked"] {
  margin-right: 8px;
}

/* Subscribe button */
#owner #subscribe-button {
  display: none;
}

.custom-ltm-subscribe-btn-video-page {
  background-color: #f1f1f1;
  color: #0f0f0f;
  text-align: center;
  padding: 8px 16px 10px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-family: "Roboto", "Arial", sans-serif;
  font-weight: 500;
  height: 16px;
  position: relative;
}
.custom-ltm-subscribe-btn-channel-page {
  background-color: #f1f1f1;
  color: #0f0f0f;
  text-align: center;
  padding: 8px 16px 10px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-family: "Roboto", "Arial", sans-serif;
  font-weight: 500;
  height: 16px;
  position: relative;
}

.custom-ltm-subscribe-btn-video-page:hover,
.custom-ltm-subscribe-btn-channel-page:hover {
  background-color: #d9d9d9;
  cursor: pointer;
}

.custom-ltm-channel-subscribed {
  background-color: #272727;
  color: #f1f1f1;
}
.custom-ltm-channel-subscribed:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

#custom-ltm-subscribe-dotlottie-canvas {
  width: fit-content;
  height: 16px;
}

.custom-ltm-channel-subscribed-animate-bg {
  background-color: #f57 !important;
}

/* Playlist */
.custom-ltm-save-playlist-btn,
.custom-ltm-save-playlist-btn-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: white;
  background-color: #3f3f3f;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 13px;
  margin: 4px;
  border: 1px solid #6b6b6b;
  border-radius: 16px;
}
.custom-ltm-save-playlist-btn-2 {
  padding: 10px 13px 12px 13px;
  font-size: 16px;
  border-radius: 8px;
}

.custom-ltm-save-playlist-btn:hover,
.custom-ltm-save-playlist-btn-2:hover {
  cursor: pointer;
  background-color: #313131;
}

/* Save video to local playlist */
.custom-ltm-save-video-to-local-playlist-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: #272727;
  padding: 6px 16px;
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: 18px;
  height: 24px;
  user-select: none;
  border-right: 1px solid #525252;
  border-left: 1px solid #525252;
}
.custom-ltm-save-video-to-local-playlist-btn:hover {
  background-color: #3f3f3f;
  cursor: pointer;
}

/* modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #00000056;
  display: flex;
  justify-content: center;
  align-items: start;
  padding-top: 220px;
  z-index: 500;
  transition: all 0.2s ease;
}

.modal {
  background: #383838;
  color: #e4e4e4;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 16px 20px 16px;
  border-radius: 10px;
}

.modal-header-container {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #4a4a4a;
}

.modal-heading {
  font-size: 24px;
  font-weight: 500;
  padding: 5px 5px 8px 5px;
}

.ltm-cross-icon-container {
  margin-top: 6px;
  cursor: pointer;
}

.modal-content {
  display: flex;
  flex-direction: column;
}

.playlists-container {
  display: flex;
  flex-direction: column;
  height: 200px;
  font-size: 16px;
  overflow-y: scroll;
}

.no-local-playlist-msg {
  text-align: center;
  font-weight: 700;
  font-size: 22px;
  margin: auto;
  color: #ff5270;
  text-decoration: 1px underline #fd3f62;
  text-underline-offset: 5px;
}

.modal-content input[type="text"] {
  padding: 8px 10px;
  margin-top: 3px;
  border-radius: 5px;
  border: none;
  font-size: 16px;
}

.modal-content input[type="text"]:focus {
  border: none;
  outline: 1px solid #ff4444;
}

.playlist {
  padding: 8px;
  border-radius: 5px;
}
.playlist:hover {
  background-color: #525252;
  cursor: pointer;
}

.create-playlist-btn,
.create-playlist-btn-real {
  padding: 9px 14px 10px 14px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  background-color: #7e7e7e;
  color: white;
  border: none;
  margin-top: 10px;
}
.create-playlist-btn:hover,
.create-playlist-btn-real:hover {
  cursor: pointer;
  background-color: #757575;
}

.create-playlist-btn-real:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Toast */

.toast-message {
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 14px;
  font-weight: 600;
}
