/* ==========================================================================
   YOUTUBE AUTHENTIC THEME & AESTHETICS (DARK MODE)
   ========================================================================== */

:root {
  --yt-bg: #0f0f0f;
  --yt-card-bg: #0f0f0f;
  --yt-hover-bg: #272727;
  --yt-chip-bg: #272727;
  --yt-chip-hover: #3f3f3f;
  --yt-chip-active-bg: #f1f1f1;
  --yt-chip-active-text: #0f0f0f;
  --yt-border: rgba(255, 255, 255, 0.1);
  --yt-text-primary: #f1f1f1;
  --yt-text-secondary: #aaaaaa;
  --yt-red: #ff0000;
  --yt-badge-bg: rgba(0, 0, 0, 0.8);
  --yt-header-height: 56px;
  --yt-sidebar-width: 240px;
}

/* Force YouTube background on body and reset existing custom backgrounds */
body {
  background: var(--yt-bg) !important;
  background-color: #0f0f0f !important;
  color: var(--yt-text-primary) !important;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  margin: 0;
  padding: 0;
  padding-top: var(--yt-header-height) !important;
  overflow-x: hidden;
}

body::before {
  display: none !important;
}

/* Hide initial gates / splash screens completely for YouTube home */
.entry-gate-overlay,
#entry-gate-modal,
.site-connecting-overlay,
#site-connecting-modal,
.intro-splash,
#intro-splash,
.home-top-banner-wrap,
.home-quick-actions {
  display: none !important;
}

/* ==========================================================================
   YOUTUBE TOPBAR / HEADER
   ========================================================================== */
.topbar-main {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: var(--yt-header-height) !important;
  background: var(--yt-bg) !important;
  background-image: none !important;
  border-top: none !important;
  border-bottom: 1px solid var(--yt-border) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 16px !important;
  z-index: 1000 !important;
  box-shadow: none !important;
}

.topbar-main::after {
  display: none !important;
}

/* Left Group */
.topbar-left {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-width: auto !important;
  height: 100% !important;
  padding: 0 !important;
  border: none !important;
}

.topbar-menu-toggle {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: none !important;
  color: var(--yt-text-primary) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: background 0.15s ease !important;
}

.topbar-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

.topbar-menu-toggle svg {
  width: 22px !important;
  height: 22px !important;
  stroke: var(--yt-text-primary) !important;
}

/* Logo */
.yt-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  text-decoration: none !important;
  padding: 4px 6px !important;
  position: relative !important;
  cursor: pointer !important;
}

.yt-logo-svg {
  display: block;
  width: 90px;
  height: 20px;
}

.yt-country-badge {
  font-size: 10px;
  color: var(--yt-text-secondary);
  font-weight: 500;
  margin-top: -10px;
  margin-left: 2px;
  letter-spacing: -0.2px;
  user-select: none;
}

/* Center Group (Search) */
.topbar-center {
  flex: 1 !important;
  max-width: 720px !important;
  margin: 0 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.yt-search-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 620px;
}

.yt-search-form {
  display: flex;
  align-items: center;
  flex: 1;
  height: 40px;
  position: relative;
}

.yt-search-input {
  width: 100%;
  height: 100%;
  background: #121212;
  border: 1px solid #303030;
  border-right: none;
  border-radius: 40px 0 0 40px;
  padding: 0 16px;
  font-size: 16px;
  color: var(--yt-text-primary);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.yt-search-input:focus {
  border-color: #1c62b9;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.yt-search-input::placeholder {
  color: #888888;
}

.yt-search-btn {
  width: 64px;
  height: 100%;
  background: #222222;
  border: 1px solid #303030;
  border-radius: 0 40px 40px 0;
  color: var(--yt-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.yt-search-btn:hover {
  background: #272727;
}

.yt-search-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.yt-mic-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #181818;
  border: none;
  color: var(--yt-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.yt-mic-btn:hover {
  background: #272727;
}

.yt-mic-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Right Group */
.topbar-right {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.yt-action-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--yt-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease;
}

.yt-action-icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.yt-action-icon-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.yt-bell-count {
  position: absolute !important;
  top: 3px !important;
  right: 3px !important;
  background: #cc0000 !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 0 4px !important;
  border-radius: 9px !important;
  border: 2px solid #0f0f0f !important;
  min-width: 18px !important;
  height: 18px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  pointer-events: none !important;
  z-index: 10 !important;
  box-shadow: 0 2px 6px rgba(204, 0, 0, 0.5) !important;
}

.yt-notif-unread-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #cc0000 !important;
  margin-left: 8px !important;
  align-self: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 0 6px rgba(204, 0, 0, 0.7) !important;
}

.yt-avatar-circle {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #f1f1f1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  margin-left: 8px !important;
  transition: all 0.15s ease !important;
  padding: 0 !important;
  outline: none !important;
}

.yt-avatar-circle:hover {
  background: #272727 !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: none !important;
}

.yt-avatar-person-svg {
  width: 22px !important;
  height: 22px !important;
  fill: #aaaaaa !important;
  transition: fill 0.15s ease !important;
}

.yt-avatar-circle:hover .yt-avatar-person-svg {
  fill: #ffffff !important;
}

body.user-logged-in .yt-avatar-circle {
  background: linear-gradient(135deg, #cc0000 0%, #990000 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

body.user-logged-in #topbar-account-icon,
body.user-logged-in .yt-avatar-person-svg {
  display: none !important;
}

body.user-logged-in #topbar-account-letter {
  display: inline-block !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1 !important;
  text-align: center !important;
}

body:not(.user-logged-in) #topbar-account-letter {
  display: none !important;
}

body:not(.user-logged-in) #topbar-account-icon,
body:not(.user-logged-in) .yt-avatar-person-svg {
  display: inline-block !important;
}

#cheese-global-toast,
.yt-share-toast,
.free-access-toast,
.shorts-toast {
  background: #212121 !important;
  color: #f1f1f1 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-left: 4px solid #cc0000 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85) !important;
  border-radius: 8px !important;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  padding: 12px 22px !important;
  letter-spacing: 0.1px !important;
}

/* ==========================================================================
   YOUTUBE SIDEBAR NAVIGATION
   ========================================================================== */
.sidebar {
  position: fixed !important;
  top: var(--yt-header-height) !important;
  left: 0 !important;
  bottom: 0 !important;
  width: var(--yt-sidebar-width) !important;
  background: var(--yt-bg) !important;
  border-right: 1px solid var(--yt-border) !important;
  padding: 12px 12px 32px !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: #555 transparent !important;
  z-index: 990 !important;
  transition: width 0.2s ease, transform 0.2s ease !important;
}

.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.yt-sidebar-nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yt-nav-link {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--yt-text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.15s ease;
}

.yt-nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.yt-nav-link:active {
  background: rgba(220, 20, 20, 0.3) !important;
  color: #ffffff !important;
}

.yt-nav-link:active svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}

.yt-nav-link.is-active,
.yt-nav-link.active {
  background: rgba(220, 20, 20, 0.15) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

.yt-nav-link.is-active:hover,
.yt-nav-link.active:hover {
  background: rgba(220, 20, 20, 0.22) !important;
  color: #ffffff !important;
}

.yt-nav-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
  transition: fill 0.15s ease;
}

.yt-nav-link.is-active svg,
.yt-nav-link.active svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}

.yt-sidebar-hr {
  height: 1px;
  background: var(--yt-border);
  margin: 12px 0;
  border: none;
}

.yt-sidebar-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 6px 12px 4px !important;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #888888 !important;
  user-select: none !important;
  cursor: pointer !important;
  border-radius: 8px !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}

.yt-sidebar-heading span {
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

.yt-sidebar-heading:hover {
  color: #f1f1f1 !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.yt-sidebar-heading svg,
.yt-heading-chevron {
  width: 14px !important;
  height: 14px !important;
  fill: currentColor !important;
  opacity: 0.65 !important;
  pointer-events: none !important;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.15s ease !important;
  flex-shrink: 0 !important;
}

.yt-sidebar-heading:hover svg,
.yt-sidebar-heading:hover .yt-heading-chevron {
  opacity: 1 !important;
}

/* Collapsible Section State */
.yt-collapsible-group,
.yt-sidebar-nav-group {
  transition: all 0.2s ease !important;
}

.yt-collapsible-group.is-collapsed .yt-heading-chevron,
.yt-sidebar-nav-group.is-collapsed .yt-heading-chevron,
.yt-collapsible-group.is-collapsed .yt-sidebar-heading svg,
.yt-sidebar-nav-group.is-collapsed .yt-sidebar-heading svg {
  transform: rotate(-90deg) !important;
}

.yt-collapsible-group.is-collapsed > *:not(.yt-sidebar-heading),
.yt-sidebar-nav-group.is-collapsed > *:not(.yt-sidebar-heading),
.yt-collapsible-group.is-collapsed .yt-nav-link,
.yt-sidebar-nav-group.is-collapsed .yt-nav-link,
.yt-collapsible-group.is-collapsed .cat-search-box,
.yt-sidebar-nav-group.is-collapsed .cat-search-box,
.yt-collapsible-group.is-collapsed .yt-nav-cats,
.yt-sidebar-nav-group.is-collapsed .yt-nav-cats {
  display: none !important;
}

.yt-sub-channel {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--yt-text-primary);
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.yt-sub-channel:hover {
  background: var(--yt-hover-bg);
}

.yt-sub-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.yt-sub-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   MAIN CONTENT AREA & YOUTUBE FILTER CHIPS
   ========================================================================== */
.content {
  margin-left: var(--yt-sidebar-width) !important;
  background: var(--yt-bg) !important;
  min-height: calc(100vh - var(--yt-header-height)) !important;
  padding: 0 !important;
}

/* Category Filter Chips Bar */
.yt-chips-container {
  background: #141414 !important;
}

.yt-chips-bar {
  position: sticky;
  top: var(--yt-header-height);
  background: #141414 !important;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  z-index: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yt-chips-bar::-webkit-scrollbar {
  display: none;
}

.yt-chip {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: none;
  background: var(--yt-chip-bg);
  color: var(--yt-text-primary);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.yt-chip:hover {
  background: var(--yt-chip-hover);
}

.yt-chip.is-active {
  background: var(--yt-chip-active-bg);
  color: var(--yt-chip-active-text);
  font-weight: 600;
}

/* ==========================================================================
   HOMEPAGE: EXACTLY 3 VIDEOS WITH TITLES (YOUTUBE GRID)
   ========================================================================== */
.yt-home-wrapper {
  padding: 24px 24px 60px;
  max-width: 1540px;
  margin: 0 auto;
}

.yt-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 16px;
  width: 100%;
}

/* YouTube Video Card */
.yt-video-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  outline: none;
  background: transparent;
  border-radius: 12px;
  transition: transform 0.2s ease;
  user-select: none;
}

/* 16:9 Thumbnail */
.yt-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #181818;
}

.yt-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Duration Timestamp Badge */
.yt-thumb-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--yt-badge-bg);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  line-height: 1;
}

/* Hover Play Overlay */
.yt-thumb-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.yt-video-card:hover .yt-thumb-hover-overlay {
  opacity: 1;
}

.yt-play-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Details Section below Thumbnail */
.yt-video-details {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  position: relative;
  align-items: flex-start !important;
  text-align: left !important;
}

.yt-channel-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
  flex-shrink: 0;
  margin-top: 2px;
}

.yt-channel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-video-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  text-align: left !important;
  justify-content: flex-start !important;
  gap: 4px;
  padding: 0 !important;
  margin: 0 !important;
}

.yt-video-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--yt-text-primary);
  line-height: 1.35;
  margin: 0;
  text-align: left !important;
  align-self: flex-start !important;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.1px;
}

.yt-video-card:hover .yt-video-title {
  color: #ffffff;
}

.yt-channel-name {
  font-size: 14px;
  color: var(--yt-text-secondary);
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  align-self: flex-start !important;
  text-align: left !important;
  gap: 4px;
  font-weight: 400;
  text-decoration: none;
  width: 100%;
}

.yt-channel-name:hover {
  color: var(--yt-text-primary);
}

.yt-verified-badge {
  width: 14px;
  height: 14px;
  fill: var(--yt-text-secondary);
  flex-shrink: 0;
}

.yt-video-stats {
  font-size: 14px;
  color: var(--yt-text-secondary);
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  align-self: flex-start !important;
  text-align: left !important;
  gap: 4px;
  flex-wrap: wrap;
  width: 100%;
}

.yt-stats-separator {
  font-size: 12px;
  color: var(--yt-text-secondary);
}

/* Three dots more button */
.yt-card-menu-btn {
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  color: var(--yt-text-secondary);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.yt-video-card:hover .yt-card-menu-btn {
  opacity: 1;
}

.yt-card-menu-btn:hover {
  color: var(--yt-text-primary);
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   YOUTUBE WATCH PLAYER MODAL AESTHETICS
   ========================================================================== */
.home-video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.home-video-modal.is-open {
  display: flex !important;
}

.yt-modal-container {
  width: 95%;
  max-width: 1180px;
  max-height: 94vh;
  background: #0f0f0f;
  border: 1px solid var(--yt-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.yt-watch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #141414;
  border-bottom: 1px solid var(--yt-border);
}

.yt-watch-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #fff;
  font-size: 15px;
}

.yt-watch-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.yt-watch-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.yt-watch-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.yt-watch-player-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.yt-watch-player-box video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.yt-watch-title {
  font-size: 20px;
  font-weight: 700;
  color: #f1f1f1;
  margin: 0;
  line-height: 1.3;
}

.yt-watch-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--yt-border);
}

.yt-watch-channel-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yt-watch-channel-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.yt-watch-channel-name {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.yt-watch-channel-subs {
  font-size: 12px;
  color: var(--yt-text-secondary);
}

.yt-sub-btn {
  background: #f1f1f1;
  color: #0f0f0f;
  border: none;
  border-radius: 20px;
  padding: 0 16px;
  height: 36px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.15s ease;
}

.yt-sub-btn:hover {
  background: #d9d9d9;
}

.yt-watch-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yt-watch-btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 18px;
  background: #272727;
  color: #f1f1f1;
  border: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.yt-watch-btn:hover {
  background: #3f3f3f;
}

.yt-watch-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   RESPONSIVE ADAPTATIONS
   ========================================================================== */
@media (max-width: 1100px) {
  .yt-videos-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  body.sidebar-open .sidebar {
    transform: translateX(0);
  }
  .content {
    margin-left: 0 !important;
  }
  .yt-videos-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .topbar-center {
    display: none !important;
  }
}


/* ==========================================================================
   YOUTUBE WATCH PLAYER MODAL OVERRIDES
   ========================================================================== */
.home-video-modal-container.yt-style-container {
  background: #0f0f0f !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.95) !important;
  overflow: hidden !important;
}

.yt-modal-topbar {
  background: #0f0f0f !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.yt-brand-text {
  color: #ffffff !important;
  font-weight: 600 !important;
  font-family: inherit !important;
}

.yt-video-wrapper {
  background: #000000 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

.yt-free-countdown-badge {
  display: none !important;
}

.yt-video-title {
  color: #f1f1f1 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}

.yt-action-btn {
  background: #272727 !important;
  color: #f1f1f1 !important;
  border-radius: 18px !important;
  border: none !important;
  transition: background 0.15s ease !important;
}

.yt-action-btn:hover {
  background: #3f3f3f !important;
}


/* ==========================================================================
   KIDTUBE SPECIFIC BRANDING & 6-ROW GRID STYLES
   ========================================================================== */
.kidtube-logo-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.kidtube-logo-icon {
  width: 28px;
  height: 20px;
  flex-shrink: 0;
}

.kidtube-logo-text {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.kidtube-word-kid {
  color: #ffffff;
}

.kidtube-word-tube {
  color: #ffffff;
  margin-left: 1px;
}

.yt-row-section {
  margin-bottom: 40px;
}

.yt-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.yt-row-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yt-row-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--yt-text-primary);
  margin: 0;
  letter-spacing: -0.2px;
}

.yt-row-icon {
  width: 22px;
  height: 22px;
  fill: #ff0000;
}

.yt-row-see-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #3ea6ff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  text-decoration: none;
  white-space: nowrap;
}

.yt-row-see-more-btn:hover {
  background: rgba(62, 166, 255, 0.15);
  border-color: rgba(62, 166, 255, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

.yt-row-see-more-btn svg {
  transition: transform 0.2s ease;
}

.yt-row-see-more-btn:hover svg {
  transform: translateX(3px);
}

.yt-row-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px 16px;
  width: 100%;
}

@media (max-width: 1024px) {
  .yt-row-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px 10px !important;
  }
}

@media (max-width: 768px) {
  .yt-row-grid,
  .yt-videos-grid,
  .yt-extreme-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px 6px !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .yt-home-wrapper {
    padding: 12px 6px 40px !important;
  }

  .yt-row-section {
    margin-bottom: 20px !important;
  }

  .yt-row-header {
    margin-bottom: 8px !important;
  }

  .yt-row-title {
    font-size: 14px !important;
  }

  .yt-row-icon {
    width: 18px !important;
    height: 18px !important;
  }

  .yt-row-see-more-btn {
    font-size: 11px !important;
    padding: 2px 6px !important;
  }

  .yt-thumb-wrapper {
    border-radius: 6px !important;
  }

  .yt-thumb-duration {
    font-size: 8.5px !important;
    padding: 1px 3px !important;
    bottom: 3px !important;
    right: 3px !important;
    border-radius: 2px !important;
  }

  .yt-play-icon-badge {
    width: 26px !important;
    height: 26px !important;
  }

  .yt-play-icon-badge svg {
    width: 14px !important;
    height: 14px !important;
  }

  .yt-video-details {
    gap: 4px !important;
    margin-top: 4px !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .yt-channel-avatar {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    font-size: 8.5px !important;
    margin-top: 1px !important;
    flex-shrink: 0 !important;
  }

  .yt-video-meta {
    gap: 1px !important;
    min-width: 0 !important;
    align-items: flex-start !important;
    text-align: left !important;
    justify-content: flex-start !important;
    flex: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .yt-video-title {
    font-size: 11px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
    -webkit-line-clamp: 2 !important;
    text-align: left !important;
    align-self: flex-start !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .yt-channel-name {
    font-size: 9.5px !important;
    gap: 2px !important;
    text-align: left !important;
    justify-content: flex-start !important;
    align-self: flex-start !important;
    width: 100% !important;
  }

  .yt-verified-badge {
    width: 10px !important;
    height: 10px !important;
    flex-shrink: 0 !important;
  }

  .yt-video-stats {
    font-size: 9px !important;
    gap: 2px !important;
    line-height: 1.2 !important;
    text-align: left !important;
    justify-content: flex-start !important;
    align-self: flex-start !important;
    width: 100% !important;
  }

  .yt-card-menu-btn {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .yt-row-grid,
  .yt-videos-grid,
  .yt-extreme-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px 4px !important;
  }

  .yt-home-wrapper {
    padding: 8px 4px 30px !important;
  }

  .yt-video-details {
    gap: 3px !important;
    margin-top: 3px !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .yt-channel-avatar {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    font-size: 7px !important;
    flex-shrink: 0 !important;
  }

  .yt-video-meta {
    gap: 0px !important;
    align-items: flex-start !important;
    text-align: left !important;
    justify-content: flex-start !important;
    flex: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .yt-video-title {
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    text-align: left !important;
    align-self: flex-start !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .yt-channel-name {
    font-size: 8px !important;
    text-align: left !important;
    justify-content: flex-start !important;
    align-self: flex-start !important;
    width: 100% !important;
  }

  .yt-video-stats {
    font-size: 7.5px !important;
    text-align: left !important;
    justify-content: flex-start !important;
    align-self: flex-start !important;
    width: 100% !important;
  }
}

/* ==========================================================================
   YOUTUBE THEME: SIDEBAR CATEGORIES, ACCOUNT DROPDOWN & STORE / PURCHASES
   ========================================================================== */

/* --- Sidebar Categories --- */
.yt-sidebar-categories-group {
  margin: 6px 4px 16px !important;
  padding: 8px 4px 10px !important;
  background: #151515 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
}

.yt-cat-search {
  display: flex !important;
  align-items: center;
  background: #272727 !important;
  border: 1px solid #383838 !important;
  border-radius: 8px !important;
  padding: 0 10px !important;
  margin: 6px 12px 10px 12px !important;
  height: 34px !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.yt-cat-search:focus-within {
  border-color: #3ea6ff !important;
  background: #1f1f1f !important;
}

.yt-cat-search .cat-search-icon {
  width: 14px;
  height: 14px;
  fill: #aaaaaa;
  color: #aaaaaa;
  margin-right: 8px;
  flex-shrink: 0;
}

.yt-cat-search .cat-search-input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #f1f1f1 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 0 !important;
}

.yt-cat-search .cat-search-input::placeholder {
  color: #888888;
}

.yt-cat-search .cat-search-clear {
  background: transparent;
  border: none;
  color: #aaaaaa;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.yt-cat-search .cat-search-clear:hover {
  color: #ffffff;
}

.yt-nav-cats {
  list-style: none !important;
  padding: 4px 6px !important;
  margin: 4px 0 0 !important;
  max-height: 480px;
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(0, 0, 0, 0.3) !important;
  border-radius: 8px !important;
}

.yt-nav-cats::-webkit-scrollbar {
  width: 5px;
}
.yt-nav-cats::-webkit-scrollbar-track {
  background: transparent;
}
.yt-nav-cats::-webkit-scrollbar-thumb {
  background: #383838;
  border-radius: 4px;
}

.yt-nav-cats li {
  margin-bottom: 2px;
}

.nav-item.cat-item {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 12px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 10px !important;
  color: #f1f1f1 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: background 0.12s ease, color 0.12s ease !important;
}

.nav-item.cat-item:hover {
  background: #272727 !important;
  color: #ffffff !important;
}

.nav-item.cat-item.active,
.nav-item.cat-item.is-active {
  background: #383838 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

.nav-item.cat-item svg {
  width: 16px !important;
  height: 16px !important;
  fill: #aaaaaa !important;
  color: #aaaaaa !important;
  flex-shrink: 0;
}

.nav-item.cat-item:hover svg,
.nav-item.cat-item.active svg,
.nav-item.cat-item.is-active svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}

.nav-item.cat-item .cat-label-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
}

.cat-search-empty-msg {
  padding: 12px 14px;
  font-size: 13px;
  color: #888888;
  text-align: center;
  list-style: none;
}

/* --- Account Dropdown (YouTube Dark Menu) --- */
.yt-account-control {
  position: relative;
  display: block !important;
}

.yt-account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 290px;
  background: #282828 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.9) !important;
  z-index: 10000;
  padding: 8px 0 !important;
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.yt-account-dropdown.is-open {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.yt-dropdown-header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 16px 14px !important;
}

.yt-dropdown-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #cc0000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.yt-dropdown-user-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.yt-dropdown-header .account-dropdown-username {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yt-dropdown-tag {
  font-size: 12px;
  color: #aaaaaa;
  margin-top: 2px;
}

.account-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1) !important;
  margin: 6px 0 !important;
}

.yt-dropdown-item {
  width: 100% !important;
  display: flex;
  align-items: center;
  gap: 14px !important;
  padding: 10px 16px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: #f1f1f1 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}

/* Auth state toggle in account dropdown */
html.user-logged-in #btn-dropdown-auth,
body.user-logged-in #btn-dropdown-auth {
  display: none !important;
}

html.user-logged-in #btn-account-logout,
body.user-logged-in #btn-account-logout {
  display: flex !important;
}

html:not(.user-logged-in) #btn-dropdown-auth,
body:not(.user-logged-in) #btn-dropdown-auth {
  display: flex !important;
}

html:not(.user-logged-in) #btn-account-logout,
body:not(.user-logged-in) #btn-account-logout {
  display: none !important;
}

.yt-dropdown-item:hover {
  background: #3f3f3f !important;
  color: #ffffff !important;
}

.yt-dropdown-item svg {
  width: 20px !important;
  height: 20px !important;
  fill: #aaaaaa !important;
  color: #aaaaaa !important;
  flex-shrink: 0;
}

.yt-dropdown-item:hover svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}

.yt-dropdown-item span {
  flex: 1;
}

/* --- YouTube Purchases & Memberships (Store) --- */
.store-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0f0f0f !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: none;
}

.store-overlay.is-open {
  display: block !important;
}

.store-inner {
  max-width: 1280px !important;
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 32px 80px !important;
  position: relative;
  display: flex;
  flex-direction: column;
}

.store-back-btn {
  position: absolute;
  top: 36px;
  left: 32px;
  z-index: 20;
  background: #272727 !important;
  border: 1px solid #383838 !important;
  border-radius: 20px !important;
  padding: 8px 18px !important;
  color: #f1f1f1 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
}

.store-back-btn:hover {
  background: #3f3f3f !important;
  border-color: #555555 !important;
  color: #ffffff !important;
  transform: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
}

.yt-store-header {
  text-align: center;
  margin-bottom: 36px;
  padding-top: 10px;
}

.yt-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #272727;
  border: 1px solid #383838;
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 14px;
  color: #f1f1f1;
  font-size: 13px;
  font-weight: 600;
}

.yt-store-title {
  font-size: 32px !important;
  font-weight: 800 !important;
  text-transform: none !important;
  letter-spacing: -0.5px !important;
  color: #f1f1f1 !important;
  text-shadow: none !important;
  margin: 0 0 10px 0 !important;
}

.yt-store-subtitle {
  font-size: 15px !important;
  color: #aaaaaa !important;
  margin: 0 !important;
}

.store-tabs-nav {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.store-tabs-wrap {
  display: inline-flex !important;
  background: #181818 !important;
  border: 1px solid #2e2e2e !important;
  border-radius: 12px !important;
  padding: 5px !important;
  gap: 6px !important;
}

.store-tab {
  background: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 20px !important;
  color: #aaaaaa !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.store-tab:hover {
  color: #ffffff !important;
  background: #272727 !important;
}

.store-tab.is-active {
  background: #ffffff !important;
  color: #0f0f0f !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.store-main {
  width: 100%;
}

.store-panel {
  display: none;
}

.store-panel.is-active {
  display: block;
}

.store-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 20px !important;
  width: 100%;
  margin-top: 20px;
}

.store-card {
  background: #1f1f1f !important;
  border: 1px solid #303030 !important;
  border-radius: 14px !important;
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  transition: border-color 0.18s ease, transform 0.18s ease !important;
}

.store-card:hover {
  border-color: #505050 !important;
  transform: translateY(-3px) !important;
}

.store-card.is-vip {
  border: 1px solid rgba(255, 0, 0, 0.4) !important;
  background: linear-gradient(180deg, #241818 0%, #1a1a1a 100%) !important;
}

.store-card.is-vip:hover {
  border-color: #ff0000 !important;
}

.store-card-name {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: -0.3px;
}

.store-card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.store-card-price {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.store-card-price .currency {
  font-size: 20px !important;
  color: #aaaaaa;
}

.store-card-price .amount {
  color: #cc0000 !important;
  text-shadow: none !important;
}

.checkout-tier-price {
  color: #cc0000 !important;
}

.store-card-sizetag {
  background: #272727 !important;
  border: 1px solid #383838 !important;
  color: #ff0000 !important;
  border-radius: 6px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.store-card-features {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.store-card-features li {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 13px !important;
  color: #cccccc !important;
}

.store-card-features li svg {
  width: 16px !important;
  height: 16px !important;
  color: #cc0000 !important;
  flex-shrink: 0;
}

.store-card-features li .check {
  color: #cc0000 !important;
  filter: none !important;
}

.store-card-features li .check svg,
.check svg {
  stroke: #cc0000 !important;
  fill: none !important;
}

.store-card.is-vip .store-card-features li svg:not(.check svg) {
  fill: #cc0000 !important;
  stroke: none !important;
}

.store-card-stats {
  display: flex !important;
  justify-content: space-between !important;
  border-top: 1px solid #303030 !important;
  padding-top: 12px !important;
  margin-top: auto !important;
}

.store-stat-label {
  display: block;
  font-size: 11px;
  color: #888888;
  text-transform: uppercase;
}

.store-stat-val {
  font-size: 13px;
  font-weight: 600;
  color: #f1f1f1;
}

.store-card-actions {
  display: flex !important;
  gap: 10px !important;
  margin-top: 6px !important;
}

.store-btn-buy {
  flex: 1 !important;
  background: #cc0000 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 18px !important;
  padding: 10px 18px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: background 0.15s ease !important;
}

.store-btn-buy:hover {
  background: #ff0000 !important;
}

.store-btn-contact {
  background: #272727 !important;
  border: 1px solid #383838 !important;
  border-radius: 18px !important;
  color: #f1f1f1 !important;
  padding: 10px 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: background 0.15s ease !important;
}

.store-btn-contact:hover {
  background: #3f3f3f !important;
  color: #ffffff !important;
}

/* --- Store Checkout Screen YouTube Theme --- */
.checkout-overlay {
  background: #0f0f0f !important;
}

.checkout-container {
  max-width: 700px !important;
  padding: 36px 20px 60px !important;
}

.checkout-close-circle-btn {
  background: #272727 !important;
  border: 1px solid #3f3f3f !important;
  color: #f1f1f1 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.18s ease !important;
}

.checkout-close-circle-btn:hover {
  background: #3f3f3f !important;
  border-color: #555555 !important;
  color: #ffffff !important;
  transform: scale(1.08) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
}

.checkout-back-btn {
  background: #272727 !important;
  border: 1px solid #3f3f3f !important;
  border-radius: 18px !important;
  color: #f1f1f1 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.18s ease !important;
}

.checkout-back-btn:hover {
  background: #3f3f3f !important;
  border-color: #555555 !important;
  color: #ffffff !important;
  transform: translateX(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
}

.checkout-subtitle {
  color: #aaaaaa !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  margin-bottom: 22px !important;
}

.checkout-tier-card {
  background: #1f1f1f !important;
  border: 1px solid #303030 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  padding: 18px 24px !important;
  margin-bottom: 22px !important;
  transition: border-color 0.18s ease !important;
}

.checkout-tier-card:hover {
  border-color: #505050 !important;
}

.checkout-tier-name {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: -0.2px !important;
}

.checkout-tier-desc {
  color: #aaaaaa !important;
  font-size: 13px !important;
}

.checkout-tier-price {
  color: #cc0000 !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

.checkout-tier-change-btn {
  color: #3ea6ff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  padding: 6px 14px !important;
  background: #272727 !important;
  border: 1px solid #3f3f3f !important;
  border-radius: 18px !important;
  cursor: pointer !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
}

.checkout-tier-change-btn:hover {
  background: #3f3f3f !important;
  border-color: #555555 !important;
  color: #65b8ff !important;
  text-decoration: none !important;
}

.checkout-methods-grid {
  gap: 16px !important;
}

.checkout-method-card {
  background: #1f1f1f !important;
  border: 1px solid #303030 !important;
  border-radius: 12px !important;
  padding: 22px 20px 24px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease !important;
}

.checkout-method-card:hover {
  background: #272727 !important;
  border-color: #505050 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

.checkout-method-card.is-selected {
  border: 1.5px solid #cc0000 !important;
  background: #241818 !important;
  box-shadow: 0 4px 20px rgba(204, 0, 0, 0.25) !important;
}

.method-card-header {
  margin-bottom: 14px !important;
}

.method-icon-badge {
  background: #272727 !important;
  border: 1px solid #383838 !important;
  border-radius: 8px !important;
}

.method-card-title {
  color: #f1f1f1 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.method-card-bullets li {
  color: #aaaaaa !important;
  font-size: 13px !important;
}

.bullet-dot {
  color: #cc0000 !important;
  text-shadow: none !important;
}

.checkout-footer-secure {
  color: #717171 !important;
  font-size: 12.5px !important;
}

/* --- Crypto Modals YouTube Theme & Layering --- */
.crypto-modal-backdrop {
  z-index: 3200000 !important;
  background: rgba(0, 0, 0, 0.8) !important;
}

.crypto-modal-backdrop.is-open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.crypto-select-box,
.crypto-payment-box {
  background: #212121 !important;
  border: 1px solid #383838 !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8) !important;
  color: #f1f1f1 !important;
}

.crypto-modal-close {
  background: #272727 !important;
  border: 1px solid #3f3f3f !important;
  color: #f1f1f1 !important;
  border-radius: 50% !important;
  transition: all 0.15s ease !important;
}

.crypto-modal-close:hover {
  background: #3f3f3f !important;
  border-color: #555555 !important;
  color: #ffffff !important;
}

.crypto-modal-title,
.crypto-payment-title {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.crypto-modal-subtitle,
.crypto-payment-subtitle {
  color: #aaaaaa !important;
}

.crypto-search-wrap {
  background: #141414 !important;
  border: 1px solid #303030 !important;
  border-radius: 20px !important;
}

.crypto-search-input {
  color: #ffffff !important;
}

.crypto-search-input::placeholder {
  color: #717171 !important;
}

.crypto-card {
  background: #181818 !important;
  border: 1px solid #303030 !important;
  border-radius: 10px !important;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease !important;
}

.crypto-card:hover {
  background: #272727 !important;
  border-color: #505050 !important;
  transform: translateY(-2px) !important;
}

.crypto-sym {
  color: #ffffff !important;
}

.crypto-net {
  color: #aaaaaa !important;
}

/* --- Gift Card Modals YouTube Theme --- */
.giftcard-pay-box {
  background: #212121 !important;
  border: 1px solid #383838 !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8) !important;
}

.giftcard-pay-title {
  color: #ffffff !important;
}

.giftcard-pay-desc {
  color: #aaaaaa !important;
}

.giftcard-pay-desc strong {
  color: #cc0000 !important;
}

.giftcard-vendor-item {
  background: #181818 !important;
  border: 1px solid #303030 !important;
  border-radius: 8px !important;
}

.giftcard-vendor-item:hover {
  background: #272727 !important;
  border-color: #505050 !important;
}

.giftcard-vendor-item .vendor-arrow {
  color: #cc0000 !important;
}

.giftcard-code-input {
  background: #141414 !important;
  border: 1px solid #303030 !important;
  border-radius: 8px !important;
}

.giftcard-code-input:focus {
  border-color: #cc0000 !important;
  box-shadow: 0 0 10px rgba(204, 0, 0, 0.3) !important;
}

.giftcard-validate-btn {
  background: #cc0000 !important;
  color: #ffffff !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}

.giftcard-validate-btn:hover {
  background: #ff0000 !important;
}

/* --- Profile Page YouTube Theme Enhancements --- */
.page-profile {
  background: #0f0f0f !important;
  color: #f1f1f1 !important;
}

.profile-header-card {
  background: #181818 !important;
  border: 1px solid #2e2e2e !important;
  border-radius: 14px !important;
}

.profile-card {
  background: #1f1f1f !important;
  border: 1px solid #303030 !important;
  border-radius: 14px !important;
}

.profile-card-header {
  border-bottom: 1px solid #2e2e2e !important;
  color: #f1f1f1 !important;
}

.profile-menu-row {
  background: #272727 !important;
  border: 1px solid #383838 !important;
  border-radius: 10px !important;
  color: #f1f1f1 !important;
  transition: background 0.15s ease !important;
}

.profile-menu-row:hover {
  background: #383838 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   YOUTUBE WATCH EXPERIENCE & RECOMMENDED VIDEOS (DARK MODE)
   ========================================================================== */

.home-video-modal.yt-watch-modal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 1000000 !important;
  display: none;
  background: #0f0f0f !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.home-video-modal.yt-watch-modal.is-open {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.home-video-modal.yt-watch-modal .home-video-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: transparent !important;
  z-index: 1 !important;
  display: block !important;
}

.home-video-modal.yt-watch-modal .home-video-modal-container.yt-style-container {
  position: relative !important;
  z-index: 2 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  background: #0f0f0f !important;
  border: none !important;
  border-radius: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Modal Top Bar */
.yt-modal-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 20px !important;
  background: #141414 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  flex-shrink: 0 !important;
  height: 52px !important;
}

.yt-modal-brand {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.yt-brand-icon {
  width: 24px !important;
  height: 24px !important;
  fill: #ff0000 !important;
}

.yt-brand-text {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: -0.3px !important;
}

.home-video-modal-close {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: none !important;
  color: #f1f1f1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}

.home-video-modal-close:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.home-video-modal-close svg {
  width: 18px !important;
  height: 18px !important;
}

/* Two-column Content */
.yt-modal-content {
  display: flex !important;
  flex-direction: row !important;
  flex: 1 1 auto !important;
  height: calc(100vh - 52px) !important;
  max-height: calc(100vh - 52px) !important;
  min-height: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
}

/* Left Column: Player & Info */
.yt-player-col {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 16px 28px 40px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #0f0f0f !important;
  box-sizing: border-box !important;
}

.yt-player-col::-webkit-scrollbar {
  width: 8px;
}
.yt-player-col::-webkit-scrollbar-thumb {
  background: #383838;
  border-radius: 4px;
}

.yt-video-wrapper {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  max-height: 75vh !important;
  background: #000000 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8) !important;
}

.yt-video-wrapper video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  background: #000 !important;
}

.yt-video-info {
  margin-top: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
}

.yt-video-title-row {
  margin: 0 !important;
}

.yt-video-info .yt-video-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #f1f1f1 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  letter-spacing: -0.2px !important;
}

/* YouTube Channel & Actions Row */
.yt-watch-channel-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  padding: 4px 0 8px 0 !important;
}

.yt-watch-channel-left {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.yt-watch-channel-meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.yt-watch-channel-name-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.yt-watch-channel-name {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #f1f1f1 !important;
}

.yt-watch-channel-subs {
  font-size: 12px !important;
  color: #aaaaaa !important;
}

.yt-watch-subscribe-btn {
  background: #ffffff !important;
  color: #0f0f0f !important;
  border: none !important;
  border-radius: 18px !important;
  padding: 8px 18px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  margin-left: 8px !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}

.yt-watch-subscribe-btn:hover {
  background: #d9d9d9 !important;
}

.yt-watch-subscribe-btn.is-subscribed {
  background: #272727 !important;
  color: #f1f1f1 !important;
}

/* Video Actions */
.yt-video-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.yt-action-btn {
  background: #272727 !important;
  color: #f1f1f1 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 8px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}

.yt-action-btn:hover {
  background: #3f3f3f !important;
}

.yt-action-btn.is-active {
  background: #ffffff !important;
  color: #0f0f0f !important;
}

.yt-action-btn.is-active svg {
  fill: #0f0f0f !important;
}

.yt-action-icon {
  width: 16px !important;
  height: 16px !important;
  fill: currentColor !important;
}

/* YouTube Video Description Box */
.yt-watch-desc-box {
  background: #272727 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  font-size: 14px !important;
  color: #f1f1f1 !important;
}

.yt-watch-desc-meta {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
}

.yt-desc-dot {
  color: #717171 !important;
}

.yt-watch-desc-body {
  margin: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  color: #dddddd !important;
}

/* ==========================================================================
   RECOMMENDED VIDEOS COLUMN (RIGHT SIDE)
   ========================================================================== */

.yt-recommended-col {
  width: 420px !important;
  min-width: 380px !important;
  max-width: 460px !important;
  flex-shrink: 0 !important;
  background: #0f0f0f !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.yt-recommended-header {
  padding: 14px 20px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #141414 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  flex-shrink: 0 !important;
}

.yt-rec-header-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.yt-rec-accent-bar {
  display: block !important;
  width: 3px !important;
  height: 16px !important;
  background: #ff0000 !important;
  border-radius: 2px !important;
}

.yt-recommended-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #f1f1f1 !important;
  margin: 0 !important;
}

.yt-recommended-count {
  font-size: 12px !important;
  color: #888888 !important;
  font-weight: 600 !important;
}

.yt-recommended-list {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 12px 14px 40px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  background: #0f0f0f !important;
}

.yt-recommended-list::-webkit-scrollbar {
  width: 6px;
}
.yt-recommended-list::-webkit-scrollbar-thumb {
  background: #383838;
  border-radius: 3px;
}

/* Recommended Cards */
.yt-rec-card {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  padding: 6px !important;
  border-radius: 8px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  transition: background 0.15s ease, border-color 0.15s ease !important;
  user-select: none !important;
}

.yt-rec-card:hover {
  background: #272727 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.yt-rec-card.is-active {
  background: #272727 !important;
  border-color: #ff0000 !important;
}

.yt-rec-thumb {
  position: relative !important;
  width: 140px !important;
  height: 80px !important;
  min-width: 140px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #000000 !important;
  flex-shrink: 0 !important;
}

.yt-rec-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.yt-rec-thumb .yt-thumb-duration {
  position: absolute !important;
  bottom: 4px !important;
  right: 4px !important;
  background: rgba(0, 0, 0, 0.85) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 1px 4px !important;
  border-radius: 4px !important;
}

.yt-rec-details {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 4px !important;
}

.yt-rec-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #f1f1f1 !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.yt-rec-card:hover .yt-rec-title {
  color: #ffffff !important;
}

.yt-rec-channel {
  font-size: 12px !important;
  color: #aaaaaa !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.yt-rec-stats {
  font-size: 11px !important;
  color: #717171 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

@media (max-width: 1024px) {
  .yt-modal-content {
    flex-direction: column !important;
  }
  .yt-recommended-col {
    width: 100% !important;
    max-width: 100% !important;
    border-left: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    height: 380px !important;
  }
}

/* ==========================================================================
   BACKUP NOTICE MODAL & SUPPORT CENTER: YOUTUBE DARK THEME
   ========================================================================== */

/* ==========================================================================
   SUPPORT CENTER: YOUTUBE DARK THEME (#page-tickets)
   ========================================================================== */

.page-tickets {
  background: #0f0f0f !important;
  color: #f1f1f1 !important;
  min-height: calc(100vh - 64px) !important;
  padding: 32px 24px 80px !important;
}

.tickets-page-container {
  max-width: 900px !important;
  margin: 0 auto !important;
}

.support-center-header {
  text-align: center !important;
  margin-bottom: 32px !important;
}

.support-header-icon-wrap {
  width: 52px !important;
  height: 52px !important;
  margin: 0 auto 14px !important;
  border-radius: 50% !important;
  background: #272727 !important;
  border: 1px solid #383838 !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.support-header-icon {
  width: 24px !important;
  height: 24px !important;
  color: #ff0000 !important;
  fill: #ff0000 !important;
}

.support-center-title {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #f1f1f1 !important;
  letter-spacing: -0.4px !important;
  margin: 0 0 8px 0 !important;
}

.support-center-sub {
  font-size: 14px !important;
  color: #aaaaaa !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.support-cards-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.3fr !important;
  gap: 20px !important;
  margin-bottom: 24px !important;
}

@media (max-width: 820px) {
  .support-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

.support-card {
  background: #1f1f1f !important;
  border: 1px solid #303030 !important;
  border-radius: 14px !important;
  padding: 24px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  display: flex !important;
  flex-direction: column !important;
}

.support-card-head {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #2a2a2a !important;
}

.support-card-head-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: #272727 !important;
  border: 1px solid #383838 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.support-tg-icon-box {
  color: #ff0000 !important;
}

.support-ticket-icon-box {
  color: #ff0000 !important;
}

.support-card-title {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 0 0 2px 0 !important;
}

.support-card-sub {
  font-size: 12px !important;
  color: #aaaaaa !important;
  margin: 0 !important;
}

.support-tg-details {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-bottom: 20px !important;
  flex: 1 !important;
}

.support-tg-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid #282828 !important;
}

.support-tg-label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  color: #aaaaaa !important;
}

.support-row-icon {
  color: #888888 !important;
}

.support-tg-value {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #f1f1f1 !important;
}

.support-tg-value.tg-handle {
  color: #ffffff !important;
}

.support-tg-status-online {
  background: #1b5e20 !important;
  color: #a5d6a7 !important;
  border: 1px solid #2e7d32 !important;
  border-radius: 12px !important;
  padding: 2px 8px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.support-btn-telegram {
  background: #272727 !important;
  border: 1px solid #383838 !important;
  border-radius: 18px !important;
  color: #f1f1f1 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 18px !important;
  margin-top: auto !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
}

.support-btn-telegram:hover {
  background: #3f3f3f !important;
  border-color: #555555 !important;
  color: #ffffff !important;
}

/* Ticket Form */
.support-ticket-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.support-form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.support-form-label {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #aaaaaa !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
}

.support-form-input,
.support-form-textarea {
  background: #121212 !important;
  border: 1px solid #383838 !important;
  border-radius: 8px !important;
  color: #f1f1f1 !important;
  font-family: inherit !important;
  font-size: 13.5px !important;
  padding: 10px 12px !important;
  outline: none !important;
  transition: border-color 0.15s ease, background 0.15s ease !important;
}

.support-form-input:focus,
.support-form-textarea:focus {
  border-color: #3ea6ff !important;
  background: #161616 !important;
}

.support-form-input::placeholder,
.support-form-textarea::placeholder {
  color: #717171 !important;
}

.support-btn-open-ticket {
  background: #cc0000 !important;
  border: none !important;
  border-radius: 18px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: background 0.15s ease !important;
  box-shadow: 0 2px 8px rgba(204, 0, 0, 0.3) !important;
}

.support-btn-open-ticket:hover {
  background: #ff0000 !important;
}

/* Ticket History Card */
.support-history-card {
  margin-top: 10px !important;
}

.support-history-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #2e2e2e !important;
}

.support-history-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #f1f1f1 !important;
}

.support-history-count {
  background: #272727 !important;
  color: #aaaaaa !important;
  border: 1px solid #383838 !important;
  border-radius: 12px !important;
  padding: 3px 10px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.support-tickets-list {
  padding-top: 14px !important;
  color: #aaaaaa !important;
  font-size: 13.5px !important;
}

/* Ticket Conversation View */
.ticket-chat-header {
  background: #181818 !important;
  border: 1px solid #2e2e2e !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  margin-bottom: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.ticket-chat-title {
  color: #f1f1f1 !important;
  font-size: 18px !important;
}

.ticket-chat-meta {
  color: #aaaaaa !important;
  font-size: 12.5px !important;
}

.ticket-btn-back {
  background: #272727 !important;
  border: 1px solid #383838 !important;
  border-radius: 16px !important;
  color: #f1f1f1 !important;
  padding: 6px 14px !important;
  cursor: pointer !important;
}

.ticket-btn-back:hover {
  background: #3f3f3f !important;
}

.ticket-btn-close {
  background: rgba(204, 0, 0, 0.15) !important;
  border: 1px solid rgba(204, 0, 0, 0.4) !important;
  border-radius: 16px !important;
  color: #ff4e4e !important;
}

.ticket-btn-close:hover {
  background: #cc0000 !important;
  border-color: #cc0000 !important;
  color: #ffffff !important;
}

.ticket-chat-body {
  background: #141414 !important;
  border: 1px solid #282828 !important;
  border-radius: 14px !important;
  padding: 20px !important;
  margin-bottom: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

/* Chat Input Bar (Clean YouTube / Modern Pill Style) */
.ticket-chat-input-bar {
  background: #181818 !important;
  border: 1px solid #303030 !important;
  border-radius: 28px !important;
  padding: 4px 6px 4px 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.ticket-chat-input-bar:focus-within {
  border-color: #cc0000 !important;
  box-shadow: 0 0 12px rgba(204, 0, 0, 0.25) !important;
}

.ticket-chat-input {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #f1f1f1 !important;
  font-size: 14px !important;
  padding: 10px 0 !important;
  line-height: 20px !important;
  font-family: inherit !important;
  min-width: 0 !important;
}

.ticket-chat-input::placeholder {
  color: #717171 !important;
}

.ticket-chat-send-btn {
  background: #cc0000 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50% !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  box-shadow: 0 2px 8px rgba(204, 0, 0, 0.35) !important;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease !important;
}

.ticket-chat-send-btn:hover {
  background: #ff0000 !important;
  transform: scale(1.06) !important;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.5) !important;
}

.ticket-chat-send-btn:active {
  transform: scale(0.95) !important;
}

.ticket-chat-send-btn svg {
  width: 17px !important;
  height: 17px !important;
  fill: #ffffff !important;
  margin-left: 2px !important;
}

/* ==========================================================================
   YOUTUBE DARK THEME: BACKUP NOTICE MODAL & SUPPORT CENTER REFINEMENT
   ========================================================================== */

/* --- 2. SUPPORT CENTER (#page-tickets) --- */
.page-tickets {
  background: #0f0f0f !important;
  color: #f1f1f1 !important;
}

.support-center-header {
  text-align: center !important;
  margin-bottom: 32px !important;
}

.support-header-icon-wrap {
  width: 52px !important;
  height: 52px !important;
  margin: 0 auto 14px !important;
  border-radius: 50% !important;
  background: #272727 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}

.support-header-icon {
  width: 24px !important;
  height: 24px !important;
  color: #ff0000 !important;
  fill: #ff0000 !important;
}

.support-center-title {
  color: #f1f1f1 !important;
  font-size: 28px !important;
  font-weight: 700 !important;
}

.support-center-sub {
  color: #aaaaaa !important;
  font-size: 14px !important;
}

.support-card {
  background: #1f1f1f !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.support-card-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.support-card-head-icon.support-tg-icon-box {
  background: #272727 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ff0000 !important;
}

.support-card-head-icon.support-ticket-icon-box {
  background: #272727 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ff0000 !important;
}

.support-card-title {
  color: #f1f1f1 !important;
}

.support-card-sub {
  color: #aaaaaa !important;
}

/* Telegram Info Box (Inside Support Card) */
.support-tg-details {
  background: #272727 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
}

.support-tg-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 8px 0 !important;
}

.support-tg-label {
  color: #aaaaaa !important;
}

.support-row-icon {
  color: #aaaaaa !important;
}

.support-tg-value {
  color: #f1f1f1 !important;
  font-weight: 600 !important;
}

.support-tg-value.tg-handle {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.support-tg-status-online {
  background: rgba(46, 125, 50, 0.2) !important;
  border: 1px solid rgba(76, 175, 80, 0.4) !important;
  color: #81c784 !important;
  border-radius: 12px !important;
  padding: 3px 10px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.support-tg-status-online::before {
  background: #4caf50 !important;
}

.support-btn-telegram {
  background: #272727 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 20px !important;
  color: #f1f1f1 !important;
  box-shadow: none !important;
}

.support-btn-telegram:hover {
  background: #3f3f3f !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Support Form Inputs */
.support-form-label {
  color: #aaaaaa !important;
}

.support-form-input,
.support-form-textarea {
  background: #121212 !important;
  border: 1px solid #383838 !important;
  border-radius: 8px !important;
  color: #f1f1f1 !important;
  box-shadow: none !important;
}

.support-form-input:focus,
.support-form-textarea:focus {
  border-color: #3ea6ff !important;
  background: #161616 !important;
  box-shadow: none !important;
}

.support-btn-open-ticket {
  background: #cc0000 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 20px !important;
  box-shadow: none !important;
}

.support-btn-open-ticket:hover {
  background: #ff0000 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* History Card & Ticket Items */
.support-history-card {
  background: #1f1f1f !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
}

.support-history-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.support-history-count {
  background: #272727 !important;
  border: 1px solid #383838 !important;
  color: #aaaaaa !important;
}

.support-ticket-item {
  background: #272727 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  color: #f1f1f1 !important;
}

.support-ticket-item:hover {
  background: #383838 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* ==========================================================================
   BACKUP NOTICE MODAL: YOUTUBE DARK THEME (ORIGINAL COMPACT LAYOUT)
   ========================================================================== */
.backup-notice-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  background: rgba(0, 0, 0, 0.78) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.22s ease, visibility 0.22s ease !important;
}

.backup-notice-backdrop.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: flex !important;
}

.backup-notice-container {
  position: relative !important;
  width: 100% !important;
  max-width: 320px !important;
  background: #212121 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 18px !important;
  padding: 22px 18px 16px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9) !important;
  text-align: center !important;
  transform: translateY(12px) scale(0.97) !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

.backup-notice-backdrop.is-open .backup-notice-container {
  transform: translateY(0) scale(1) !important;
}

.backup-notice-close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #272727 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 50% !important;
  color: #a0a0b2 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
}

.backup-notice-close:hover {
  background: #383838 !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: rotate(90deg) !important;
}

.backup-notice-close svg {
  width: 14px !important;
  height: 14px !important;
}

.backup-notice-icon-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-bottom: 12px !important;
}

.backup-notice-avatar-wrap {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
  background: #181818 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

.backup-notice-avatar-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.backup-notice-title {
  color: #ffffff !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  margin: 0 0 8px 0 !important;
  text-transform: uppercase !important;
}

.backup-notice-desc {
  color: #9898ab !important;
  font-size: 0.8rem !important;
  line-height: 1.45 !important;
  margin: 0 auto 16px auto !important;
  max-width: 280px !important;
}

.backup-notice-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin-bottom: 14px !important;
}

.backup-notice-btn-join {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 9px 12px !important;
  background: #cc0000 !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  border: none !important;
  cursor: pointer !important;
}

.backup-notice-btn-join:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5) !important;
  background: #ff0000 !important;
  color: #ffffff !important;
}

.backup-notice-btn-join svg {
  width: 15px !important;
  height: 15px !important;
  fill: #ffffff !important;
}

.backup-notice-btn-continue {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 12px !important;
  background: #272727 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.backup-notice-btn-continue:hover {
  background: #383838 !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-1px) !important;
}

.backup-notice-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin-bottom: 12px !important;
}

.backup-notice-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

.backup-grid-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 8px 10px !important;
  background: #272727 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 9px !important;
  color: #d1d1e0 !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.backup-grid-btn:hover {
  background: #383838 !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
  transform: translateY(-1px) !important;
}

.backup-grid-icon {
  width: 17px !important;
  height: 17px !important;
  color: #ff0000 !important;
  fill: #ff0000 !important;
  flex-shrink: 0 !important;
  filter: none !important;
  -webkit-filter: none !important;
}

@media (max-width: 480px) {
  .backup-notice-container {
    padding: 22px 16px 16px !important;
  }
}

/* ==========================================================================
   YOUTUBE PLAYER & CARDS: LOCK OVERLAYS & CADEADO BADGES
   ========================================================================== */
.yt-video-wrapper {
  position: relative !important;
}

/* 5-Minute Video Countdown Timer Badge */
.yt-video-timer-badge {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 35 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 6px 14px !important;
  background: rgba(18, 18, 18, 0.84) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 20px !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
  pointer-events: none !important;
  user-select: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

.yt-video-timer-badge svg {
  width: 15px !important;
  height: 15px !important;
  fill: #ff3333 !important;
  flex-shrink: 0 !important;
}

.yt-video-timer-badge.is-warning {
  border-color: rgba(255, 179, 0, 0.75) !important;
  color: #ffca28 !important;
  background: rgba(30, 24, 0, 0.9) !important;
}

.yt-video-timer-badge.is-warning svg {
  fill: #ffca28 !important;
}

.yt-video-timer-badge.is-expired {
  border-color: rgba(255, 0, 0, 0.85) !important;
  color: #ff5252 !important;
  background: rgba(45, 0, 0, 0.95) !important;
}

.yt-video-timer-badge.is-expired svg {
  fill: #ff5252 !important;
}

.yt-video-lock-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 50 !important;
  background: rgba(10, 10, 10, 0.94) !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  border-radius: 12px !important;
}

.yt-video-lock-overlay.is-locked {
  display: flex !important;
}

.yt-lock-card {
  max-width: 420px !important;
  width: 100% !important;
  background: #212121 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  padding: 28px 24px !important;
  text-align: center !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.9) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.yt-lock-icon-circle {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: rgba(255, 0, 0, 0.12) !important;
  border: 1px solid rgba(255, 0, 0, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 14px !important;
}

.yt-lock-title-red {
  color: #ff0000 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  margin: 0 0 6px 0 !important;
}

.yt-lock-subtitle {
  color: #aaaaaa !important;
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  margin: 0 0 18px 0 !important;
  max-width: 320px !important;
}

.yt-lock-pills-row {
  display: flex !important;
  gap: 10px !important;
  margin-bottom: 20px !important;
  width: 100% !important;
}

.yt-lock-pill {
  flex: 1 !important;
  background: #272727 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #f1f1f1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

.yt-lock-buttons-row {
  display: flex !important;
  gap: 10px !important;
  width: 100% !important;
}

.yt-lock-btn-red {
  flex: 1.2 !important;
  height: 42px !important;
  border-radius: 8px !important;
  background: #cc0000 !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}

.yt-lock-btn-red:hover {
  background: #ff0000 !important;
}

.yt-lock-btn-goback {
  flex: 0.8 !important;
  height: 42px !important;
  border-radius: 8px !important;
  background: #272727 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f1f1f1 !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}

.yt-lock-btn-goback:hover {
  background: #383838 !important;
}

/* Thumbnail Lock Badge on Cards (Cadeado) */
.yt-thumb-lock-badge {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  background: rgba(0, 0, 0, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  letter-spacing: 0.4px !important;
  backdrop-filter: blur(4px) !important;
  z-index: 5 !important;
}

.yt-thumb-lock-badge svg {
  fill: #ff4444 !important;
  width: 12px !important;
  height: 12px !important;
}

/* Recommended Cards Lock Overlay (Sombra cobrindo todo o vídeo com Cadeado Central) */
.yt-rec-thumb {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 8px !important;
}

.yt-rec-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: inherit !important;
}

.yt-rec-lock-badge {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: rgba(0, 0, 0, 0.76) !important;
  backdrop-filter: blur(2px) !important;
  border: none !important;
  border-radius: inherit !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 3 !important;
  pointer-events: none !important;
  box-sizing: border-box !important;
}

.yt-rec-lock-badge svg {
  width: 22px !important;
  height: 22px !important;
  fill: #ff2222 !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9)) !important;
}

.yt-rec-tag,
.yt-rec-thumb .yt-thumb-duration {
  z-index: 5 !important;
}

/* Ensure modals NEVER bleed into normal document flow when closed */
.crypto-modal-backdrop:not(.is-open),
.giftcard-modal-backdrop:not(.is-open),
.premium-modal-backdrop:not(.is-open) {
  display: none !important;
}

/* ==========================================================================
   Real YouTube Topic Page (Extreme Videos)
   ========================================================================== */
.yt-extreme-page {
  padding: 20px 24px 60px 24px !important;
  max-width: 1540px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

.yt-topic-header {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  margin-bottom: 20px !important;
  padding-bottom: 18px !important;
  border-bottom: 1px solid var(--yt-border) !important;
}

.yt-topic-avatar {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #e50914 0%, #b20710 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 18px rgba(229, 9, 20, 0.4) !important;
  flex-shrink: 0 !important;
}

.yt-topic-avatar svg {
  width: 36px !important;
  height: 36px !important;
  fill: #ffffff !important;
}

.yt-topic-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.yt-topic-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.yt-topic-title {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: var(--yt-text-primary) !important;
  margin: 0 !important;
  letter-spacing: -0.4px !important;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

.yt-topic-meta {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  color: var(--yt-text-secondary) !important;
  flex-wrap: wrap !important;
}

.yt-topic-badge {
  background: rgba(229, 9, 20, 0.15) !important;
  color: #ff5252 !important;
  border: 1px solid rgba(229, 9, 20, 0.35) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  letter-spacing: 0.5px !important;
}

.yt-topic-chips {
  margin-bottom: 24px !important;
  padding: 0 !important;
}

.yt-extreme-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px 16px !important;
  width: 100% !important;
}

@media (max-width: 1100px) {
  .yt-extreme-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 680px) {
  .yt-extreme-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px 6px !important;
  }
  .yt-topic-header {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
  }
  .yt-topic-title-row {
    justify-content: center !important;
  }
  .yt-topic-meta {
    justify-content: center !important;
  }
}

/* ==========================================================================
   EXTREME VIDEOS: SEE MORE BUTTON & SECTION
   ========================================================================== */
.yt-extreme-see-more-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 44px 20px 64px !important;
  text-align: center !important;
  width: 100% !important;
}

.yt-extreme-see-more-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 14px 34px !important;
  border-radius: 9999px !important;
  background: rgba(220, 20, 20, 0.16) !important;
  border: 1.5px solid rgba(255, 51, 75, 0.45) !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 51, 75, 0.12) !important;
}

.yt-extreme-see-more-btn:hover {
  background: rgba(220, 20, 20, 0.28) !important;
  border-color: #ff334b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.75), 0 0 28px rgba(255, 51, 75, 0.3) !important;
}

.yt-extreme-see-more-btn svg {
  flex-shrink: 0 !important;
  transition: transform 0.25s ease !important;
}

.yt-extreme-see-more-btn:hover .yt-extreme-see-more-arrow {
  transform: translateY(3px) !important;
}

.yt-extreme-see-more-note {
  margin-top: 14px !important;
  font-size: 13px !important;
  color: #888888 !important;
  font-weight: 500 !important;
}

/* ==========================================================================
   YOUTUBE AUTH MODAL (SIGN IN / REGISTER)
   Clean, modern YouTube dark design with Roboto typography & YouTube Red/Blue
   ========================================================================== */
.auth-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  background: transparent !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

.auth-modal.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.auth-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.75) !important;
  background-image: none !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

.auth-modal-dialog {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 440px !important;
  margin: 0 auto !important;
  transform: scale(0.96) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.auth-modal.is-open .auth-modal-dialog {
  transform: scale(1) !important;
}

.auth-card {
  background: #212121 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  padding: 32px 30px !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.9) !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.auth-modal-close {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: none !important;
  color: #aaaaaa !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.auth-modal-close:hover {
  background: #383838 !important;
  color: #ffffff !important;
}

.yt-auth-header {
  text-align: center !important;
  margin-bottom: 24px !important;
}

.yt-auth-brand-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}

.yt-auth-logo-svg {
  width: 32px !important;
  height: 32px !important;
  fill: #ff0000 !important;
  flex-shrink: 0 !important;
}

.yt-auth-brand-name {
  font-family: Roboto, -apple-system, sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: -0.5px !important;
}

.yt-auth-brand-name span {
  color: #ffffff !important;
  font-weight: 400 !important;
}

.yt-auth-title {
  font-family: Roboto, -apple-system, sans-serif !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  color: #f1f1f1 !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: -0.2px !important;
}

.yt-auth-desc {
  font-size: 14px !important;
  color: #aaaaaa !important;
  margin: 0 !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

.yt-auth-label {
  display: block !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #aaaaaa !important;
  margin-bottom: 6px !important;
  text-align: left !important;
  font-family: Roboto, sans-serif !important;
}

.yt-auth-input {
  width: 100% !important;
  height: 44px !important;
  background: #121212 !important;
  border: 1px solid #383838 !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  font-size: 14.5px !important;
  color: #f1f1f1 !important;
  font-family: Roboto, sans-serif !important;
  outline: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
  box-sizing: border-box !important;
}

.yt-auth-input:focus {
  border-color: #3ea6ff !important;
  box-shadow: 0 0 0 1px #3ea6ff !important;
  background: #181818 !important;
}

.yt-auth-input::placeholder {
  color: #666666 !important;
  font-size: 13.5px !important;
}

.auth-input-wrap {
  position: relative !important;
  width: 100% !important;
}

.auth-input-wrap .auth-eye-btn {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  color: #aaaaaa !important;
  cursor: pointer !important;
  padding: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color 0.15s ease !important;
}

.auth-input-wrap .auth-eye-btn:hover {
  color: #ffffff !important;
}

.auth-input-wrap .auth-eye-btn svg {
  width: 18px !important;
  height: 18px !important;
}

.yt-auth-captcha-field {
  margin-bottom: 16px !important;
}

.yt-auth-captcha-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
}

.yt-auth-captcha-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
}

.yt-captcha-box,
.yt-captcha-box-large {
  width: 100% !important;
  height: 58px !important;
  background: #141414 !important;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 8px) !important;
  border: 1px solid #383838 !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 16px 0 22px !important;
  user-select: none !important;
  box-sizing: border-box !important;
}

.yt-captcha-text,
.yt-captcha-text-large {
  font-family: 'Roboto Mono', Consolas, 'Courier New', monospace !important;
  font-weight: 800 !important;
  font-size: 26px !important;
  letter-spacing: 10px !important;
  color: #ff4d4d !important;
  text-shadow: 0 0 12px rgba(255, 68, 68, 0.35) !important;
  text-decoration: none !important;
}

.yt-captcha-refresh,
.yt-captcha-refresh-large {
  background: #222222 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #bbbbbb !important;
  cursor: pointer !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.yt-captcha-refresh:hover,
.yt-captcha-refresh-large:hover {
  color: #ffffff !important;
  transform: rotate(180deg) !important;
  background: #333333 !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.yt-captcha-refresh svg,
.yt-captcha-refresh-large svg {
  width: 18px !important;
  height: 18px !important;
}

.yt-captcha-input-wrap {
  width: 100% !important;
  flex: none !important;
}

.yt-captcha-input-field {
  text-align: center !important;
  letter-spacing: 2px !important;
  font-weight: 600 !important;
}

.yt-auth-error {
  background: rgba(204, 0, 0, 0.15) !important;
  border: 1px solid rgba(255, 68, 68, 0.35) !important;
  color: #ff8080 !important;
  font-size: 13px !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  margin-bottom: 12px !important;
  font-weight: 500 !important;
  text-align: left !important;
}

.yt-auth-submit-btn {
  width: 100% !important;
  height: 44px !important;
  border-radius: 24px !important;
  background: #cc0000 !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.15s ease, transform 0.15s ease !important;
  margin-top: 10px !important;
  font-family: Roboto, sans-serif !important;
  box-shadow: none !important;
}

.yt-auth-submit-btn:hover {
  background: #ff0000 !important;
  transform: translateY(-1px) !important;
}

.yt-auth-submit-btn:active {
  transform: translateY(1px) !important;
}

.yt-auth-footer {
  text-align: center !important;
  margin-top: 20px !important;
  font-size: 13.5px !important;
  color: #aaaaaa !important;
  font-family: Roboto, sans-serif !important;
}

.yt-auth-link {
  background: transparent !important;
  border: none !important;
  color: #3ea6ff !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  cursor: pointer !important;
  padding: 0 4px !important;
  font-family: Roboto, sans-serif !important;
  transition: color 0.15s ease !important;
}

.yt-auth-link:hover {
  color: #70baff !important;
  text-decoration: underline !important;
}

.auth-bottom-links {
  display: none !important;
}

/* ==========================================================================
   TOPBAR CONTROLS: MIC REMOVAL, VIP TELEGRAM, NOTIFICATIONS & ACCOUNT DROPDOWN
   ========================================================================== */
.yt-mic-btn {
  display: none !important;
}

.yt-create-btn {
  color: var(--yt-text-primary) !important;
  transition: all 0.15s ease !important;
}

.yt-create-btn:hover {
  background: #272727 !important;
  color: #ffffff !important;
}

.yt-notification-control {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
}

.yt-notification-dropdown {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: -10px !important;
  width: 380px !important;
  max-width: calc(100vw - 24px) !important;
  max-height: 480px !important;
  background: #212121 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.9) !important;
  z-index: 1000000 !important;
  overflow: visible !important;
  display: none !important;
  flex-direction: column !important;
  font-family: Roboto, -apple-system, sans-serif !important;
}

.yt-notification-dropdown.is-open {
  display: flex !important;
}

.yt-notification-dropdown::before {
  content: '' !important;
  position: absolute !important;
  top: -6px !important;
  right: 24px !important;
  width: 12px !important;
  height: 12px !important;
  background: #212121 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  transform: rotate(45deg) !important;
  z-index: 2 !important;
}

.yt-notification-header {
  padding: 12px 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
  background: #212121 !important;
  position: relative !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.yt-notification-header-title {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #f1f1f1 !important;
}

.yt-notif-clear-btn {
  background: transparent !important;
  border: none !important;
  color: #aaaaaa !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  transition: color 0.15s ease, background 0.15s ease !important;
}

.yt-notif-clear-btn:hover {
  color: #ffffff !important;
  background: #2e2e2e !important;
}

.yt-notification-list {
  overflow-y: auto !important;
  max-height: 400px !important;
  padding: 8px 0 !important;
  border-bottom-left-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
  background: #212121 !important;
  position: relative !important;
  z-index: 3 !important;
}

.yt-notif-item {
  display: flex !important;
  gap: 14px !important;
  padding: 12px 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  transition: background 0.15s ease !important;
  align-items: flex-start !important;
  cursor: pointer !important;
  user-select: none !important;
}

.yt-notif-item:hover {
  background: #272727 !important;
}

.yt-notif-item:active {
  background: #333333 !important;
}

.yt-notif-item.is-unread {
  background: rgba(204, 0, 0, 0.06) !important;
}

.yt-notif-avatar-ticket {
  background: rgba(204, 0, 0, 0.15) !important;
  color: #ff4d4d !important;
  border: 1px solid rgba(204, 0, 0, 0.35) !important;
}

.yt-notif-avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.yt-notif-avatar-vip {
  background: rgba(255, 59, 48, 0.15) !important;
  color: #ff3b30 !important;
  border: 1px solid rgba(255, 59, 48, 0.35) !important;
}

.yt-notif-avatar-user {
  background: #2a2a2a !important;
  color: #3ea6ff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.yt-notif-details {
  flex: 1 !important;
  font-size: 13.5px !important;
  color: #dddddd !important;
  line-height: 1.4 !important;
}

.yt-notif-msg strong {
  color: #ffffff !important;
}

.yt-notif-time {
  font-size: 11.5px !important;
  color: #888888 !important;
  margin-top: 4px !important;
}

.yt-notif-empty {
  padding: 36px 20px !important;
  text-align: center !important;
  color: #aaaaaa !important;
}

.yt-notif-empty svg {
  margin: 0 auto 12px !important;
  display: block !important;
  color: #717171 !important;
}

.yt-notif-empty-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #f1f1f1 !important;
  margin: 0 0 6px 0 !important;
}

.yt-notif-empty-desc {
  font-size: 12.5px !important;
  line-height: 1.4 !important;
  color: #888888 !important;
  display: block !important;
}

/* ==========================================================================
   ACCOUNT DROPDOWN: STRICT GUEST VS LOGGED IN VISIBILITY
   When not logged in, ONLY Register / Login is visible
   ========================================================================== */
body:not(.user-logged-in) #account-dropdown #dropdown-header-wrap,
body:not(.user-logged-in) #account-dropdown #dropdown-divider-1,
body:not(.user-logged-in) #account-dropdown #btn-dropdown-profile,
body:not(.user-logged-in) #account-dropdown #btn-dropdown-purchases,
body:not(.user-logged-in) #account-dropdown #btn-dropdown-support,
body:not(.user-logged-in) #account-dropdown #btn-dropdown-invites,
body:not(.user-logged-in) #account-dropdown #dropdown-divider-2,
body:not(.user-logged-in) #account-dropdown #btn-account-logout {
  display: none !important;
}

body:not(.user-logged-in) #account-dropdown #btn-dropdown-auth {
  display: flex !important;
}

body:not(.user-logged-in) #account-dropdown {
  width: 200px !important;
}

body:not(.user-logged-in) #account-dropdown .account-dropdown-inner {
  padding: 8px !important;
}

/* ==========================================================================
   YOUTUBE MINI SIDEBAR (COLLAPSED GUIDE)
   When hamburger (3-bars) is clicked, sidebar becomes compact 72px mini rail
   showing ONLY the icons. Clicking anywhere on it re-opens / expands the sidebar.
   ========================================================================== */
body.sidebar-collapsed .sidebar,
body.sidebar-collapsed .yt-sidebar {
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  transform: none !important;
  padding: 12px 0 24px 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  visibility: visible !important;
  cursor: pointer !important;
  scrollbar-width: none !important;
  background: var(--yt-bg) !important;
  border-right: 1px solid var(--yt-border) !important;
  z-index: 990 !important;
}

body.sidebar-collapsed .sidebar::-webkit-scrollbar,
body.sidebar-collapsed .yt-sidebar::-webkit-scrollbar {
  display: none !important;
}

body.sidebar-collapsed .content {
  margin-left: 72px !important;
  transition: margin-left 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.sidebar-collapsed .yt-sidebar-hr,
body.sidebar-collapsed .yt-sidebar-heading,
body.sidebar-collapsed .yt-sidebar-categories-group,
body.sidebar-collapsed .cat-search-box,
body.sidebar-collapsed .yt-nav-cats,
body.sidebar-collapsed .yt-sub-channel,
body.sidebar-collapsed .yt-collapsible-group:nth-child(n+9) {
  display: none !important;
}

body.sidebar-collapsed .yt-sidebar-nav-group {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  gap: 6px !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.sidebar-collapsed .yt-nav-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  padding: 0 !important;
  margin: 2px auto !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: background 0.15s ease, transform 0.15s ease !important;
}

body.sidebar-collapsed .yt-nav-link span {
  display: none !important;
}

body.sidebar-collapsed .yt-nav-link svg {
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  fill: var(--yt-text-primary) !important;
  color: var(--yt-text-primary) !important;
  flex-shrink: 0 !important;
  pointer-events: none;
}

body.sidebar-collapsed .yt-nav-link:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: scale(1.06) !important;
}

body.sidebar-collapsed .yt-nav-link.is-active,
body.sidebar-collapsed .yt-nav-link.active {
  background: rgba(220, 20, 20, 0.15) !important;
  color: #ffffff !important;
}

body.sidebar-collapsed .yt-nav-link.is-active svg,
body.sidebar-collapsed .yt-nav-link.active svg {
  fill: #ff3b30 !important;
  color: #ff3b30 !important;
}

body.sidebar-collapsed .yt-nav-link.is-active:hover,
body.sidebar-collapsed .yt-nav-link.active:hover {
  background: rgba(220, 20, 20, 0.22) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   UPLOAD VIDEOS ONLY MEMBERS PREMIUM MODAL
   ========================================================================== */
.yt-upload-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

.yt-upload-modal.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.yt-upload-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

.yt-upload-modal-dialog {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 460px !important;
  margin: 0 auto !important;
  transform: scale(0.96) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.yt-upload-modal.is-open .yt-upload-modal-dialog {
  transform: scale(1) !important;
}

.yt-upload-modal-card {
  background: #212121 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  padding: 32px 28px !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.9) !important;
  text-align: center !important;
  position: relative !important;
  box-sizing: border-box !important;
  font-family: Roboto, -apple-system, sans-serif !important;
}

.yt-upload-modal-close {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: none !important;
  color: #aaaaaa !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.yt-upload-modal-close:hover {
  background: #383838 !important;
  color: #ffffff !important;
}

.yt-upload-modal-icon-wrap {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  background: rgba(255, 0, 0, 0.12) !important;
  border: 1px solid rgba(255, 0, 0, 0.3) !important;
  color: #ff334b !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  margin-bottom: 20px !important;
}

.yt-upload-lock-badge {
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #cc0000 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

.yt-upload-modal-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #f1f1f1 !important;
  margin: 0 0 10px 0 !important;
  letter-spacing: -0.3px !important;
}

.yt-upload-modal-desc {
  font-size: 14px !important;
  color: #aaaaaa !important;
  line-height: 1.5 !important;
  margin: 0 0 22px 0 !important;
}

.yt-upload-features {
  background: #181818 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-bottom: 24px !important;
  text-align: left !important;
}

.yt-upload-feat-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 13.5px !important;
  color: #dddddd !important;
}

.yt-upload-buy-btn {
  width: 100% !important;
  height: 46px !important;
  border-radius: 24px !important;
  background: #cc0000 !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.15s ease !important;
  font-family: Roboto, sans-serif !important;
}

.yt-upload-buy-btn:hover {
  background: #ff0000 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.35) !important;
}

/* ==========================================================================
   YOUTUBE SHORTS FEED (VERTICAL SNAP PLAYER)
   ========================================================================== */
#page-for-you {
  background: var(--yt-bg) !important;
  padding: 16px 0 32px !important;
}

.foryou-layout {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  margin: 0 auto !important;
  max-width: 620px !important;
}

.foryou-wrapper {
  width: min(420px, 92vw) !important;
  height: min(740px, 80vh) !important;
  position: relative !important;
}

.foryou-feed {
  width: 100% !important;
  height: 100% !important;
  border-radius: 16px !important;
  background: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95) !important;
  overflow-y: scroll !important;
  scroll-snap-type: y mandatory !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.foryou-feed::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.foryou-top-bar {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10 !important;
  padding: 14px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%) !important;
}

.foryou-top-bar .foryou-tabs {
  display: none !important;
}

.foryou-mute-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  backdrop-filter: blur(8px) !important;
  transition: background 0.15s ease, transform 0.15s ease !important;
}

.foryou-mute-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: scale(1.05) !important;
}

/* Shorts Item & Video */
.foryou-item {
  width: 100% !important;
  height: 100% !important;
  scroll-snap-align: start !important;
  scroll-snap-stop: always !important;
  position: relative !important;
  background: #000000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.foryou-video-el {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  background: #000000 !important;
}

/* Overlay Bottom */
.foryou-overlay-bottom {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 6 !important;
  padding: 44px 16px 16px !important;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%) !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  pointer-events: none !important;
}

.foryou-info {
  flex: 1 !important;
  pointer-events: auto !important;
  margin-right: 14px !important;
}

.foryou-creator-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
}

.foryou-creator-link {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.foryou-creator-avatar-sm {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  flex-shrink: 0 !important;
}

.foryou-creator-meta {
  display: flex !important;
  flex-direction: column !important;
}

.foryou-creator-name {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  font-family: Roboto, -apple-system, sans-serif !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.foryou-badge-check {
  background: #ffffff !important;
  color: #0f0f0f !important;
  border-radius: 50% !important;
  width: 14px !important;
  height: 14px !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.foryou-creator-handle {
  font-size: 12px !important;
  color: #aaaaaa !important;
  font-weight: 400 !important;
}

/* Subscribe Button */
.foryou-follow-pill {
  background: #ffffff !important;
  color: #0f0f0f !important;
  border: none !important;
  border-radius: 18px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  font-family: Roboto, -apple-system, sans-serif !important;
  margin-left: 4px !important;
}

.foryou-follow-pill:hover {
  background: #e5e5e5 !important;
}

.foryou-follow-pill.is-following {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

.foryou-video-title {
  font-size: 13.5px !important;
  font-weight: 400 !important;
  color: #f1f1f1 !important;
  line-height: 1.35 !important;
  margin-bottom: 8px !important;
  font-family: Roboto, -apple-system, sans-serif !important;
}

.foryou-sound-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  color: #aaaaaa !important;
}

.foryou-sound-row svg {
  width: 14px !important;
  height: 14px !important;
  fill: #ffffff !important;
}

/* Actions Sidebar */
.foryou-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 16px !important;
  pointer-events: auto !important;
  margin-bottom: 2px !important;
}

.foryou-action-btn {
  background: transparent !important;
  border: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px !important;
  cursor: pointer !important;
  padding: 0 !important;
  color: #ffffff !important;
  outline: none !important;
}

.foryou-action-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(8px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  transition: background 0.15s ease, transform 0.15s ease !important;
}

.foryou-action-btn:hover .foryou-action-icon {
  background: rgba(255, 255, 255, 0.22) !important;
  transform: scale(1.06) !important;
}

.foryou-action-btn:active .foryou-action-icon {
  transform: scale(0.94) !important;
}

.foryou-action-btn.action-like.is-liked .foryou-action-icon {
  background: #cc0000 !important;
  color: #ffffff !important;
}

.foryou-action-btn.action-dislike.is-disliked .foryou-action-icon {
  background: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

.foryou-action-icon svg {
  width: 24px !important;
  height: 24px !important;
  fill: currentColor !important;
}

.foryou-action-count {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  font-family: Roboto, -apple-system, sans-serif !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
}

.foryou-action-avatar-sm {
  font-size: 16px !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

/* Side Navigation Arrows (Desktop) */
.foryou-side-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.foryou-nav-arrow {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: #272727 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.15s ease, transform 0.15s ease !important;
}

.foryou-nav-arrow:hover {
  background: #3f3f3f !important;
  transform: scale(1.05) !important;
}

/* ==========================================================================
   CREATOR CHANNEL MODAL (YOUTUBE THEME)
   ========================================================================== */
.foryou-profile-modal-backdrop {
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 2000000 !important;
}

.foryou-profile-modal-dialog {
  background: #212121 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.95) !important;
  max-width: 580px !important;
  color: #f1f1f1 !important;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.foryou-profile-modal-close {
  background: rgba(255, 255, 255, 0.1) !important;
  border: none !important;
  color: #f1f1f1 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
}

.foryou-profile-modal-close:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.foryou-profile-header {
  padding: 28px 24px 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.foryou-profile-avatar-circle {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
  font-size: 32px !important;
  font-weight: 700 !important;
}

.foryou-profile-badge-check {
  background: #ffffff !important;
  color: #0f0f0f !important;
  border: 2px solid #212121 !important;
  font-size: 11px !important;
}

.foryou-profile-name {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-top: 10px !important;
  margin-bottom: 2px !important;
}

.foryou-profile-handle {
  font-size: 13px !important;
  color: #aaaaaa !important;
  font-weight: 400 !important;
  margin-bottom: 14px !important;
}

.foryou-profile-stats {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 24px !important;
  margin-bottom: 18px !important;
}

.foryou-stat-box {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.foryou-stat-num {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.foryou-stat-label {
  font-size: 12px !important;
  color: #aaaaaa !important;
  text-transform: none !important;
}

.foryou-profile-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
}

.foryou-follow-toggle-btn {
  background: #ffffff !important;
  color: #0f0f0f !important;
  border: none !important;
  border-radius: 20px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 22px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: all 0.15s ease !important;
}

.foryou-follow-toggle-btn:hover {
  background: #e5e5e5 !important;
}

.foryou-follow-toggle-btn.is-following {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.foryou-vip-btn {
  background: #272727 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 20px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: all 0.15s ease !important;
}

.foryou-vip-btn:hover {
  background: #383838 !important;
}

.foryou-profile-bio {
  color: #cccccc !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.foryou-profile-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 0 16px !important;
}

.foryou-tab-pill {
  color: #ffffff !important;
  border-bottom: 2px solid #ffffff !important;
  padding: 10px 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.foryou-profile-grid {
  padding: 16px !important;
  gap: 12px !important;
}

.foryou-grid-card {
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #0f0f0f !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

.foryou-grid-card:hover {
  border-color: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-2px) !important;
}

/* ==========================================================================
   USER ACCOUNT PROFILE PAGE (YOUTUBE THEME)
   ========================================================================== */
.page-profile {
  background: var(--yt-bg) !important;
}

.profile-page-container {
  max-width: 960px !important;
  margin: 0 auto !important;
  font-family: Roboto, -apple-system, sans-serif !important;
}

.profile-header-card {
  background: #212121 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-top: none !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8) !important;
  padding: 28px 32px !important;
}

.profile-avatar-circle {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #cc0000 0%, #990000 100%) !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(204, 0, 0, 0.4) !important;
}

.profile-header-username {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.profile-plan-pill {
  background: #272727 !important;
  color: #aaaaaa !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 12px !important;
}

.profile-plan-pill.is-premium {
  background: #cc0000 !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.profile-stat-box {
  background: #181818 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 10px 18px !important;
}

.profile-stat-val {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.profile-stat-label {
  font-size: 11px !important;
  color: #aaaaaa !important;
  font-weight: 500 !important;
}

.profile-card {
  background: #212121 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8) !important;
}

.profile-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.profile-card-header-icon {
  color: #cc0000 !important;
}

.profile-field-box {
  background: #121212 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #f1f1f1 !important;
  border-radius: 8px !important;
}

.profile-status-box {
  background: #181818 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
}

.profile-shield-icon {
  color: #cc0000 !important;
  background: rgba(204, 0, 0, 0.12) !important;
  border-radius: 50% !important;
}

/* Resubmit Gift Card Ticket Actions & Modal */
.ticket-resubmit-btn-wrap {
  margin-top: 10px !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.btn-resubmit-giftcard {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #cc0000 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 18px !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  letter-spacing: 0.3px !important;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease !important;
  box-shadow: 0 2px 8px rgba(204, 0, 0, 0.35) !important;
  font-family: Roboto, -apple-system, sans-serif !important;
}

.btn-resubmit-giftcard:hover {
  background: #e60000 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(204, 0, 0, 0.5) !important;
}

.btn-resubmit-giftcard:active {
  transform: translateY(0) !important;
}

.ticket-chat-msg.msg-rejected-ticket .ticket-msg-bubble {
  border-left: 3px solid #ef4444 !important;
  background: #251c1c !important;
}

.ticket-chat-msg.msg-approved-ticket .ticket-msg-bubble {
  border-left: 3px solid #22c55e !important;
  background: #1c251d !important;
}

.gc-example-badge {
  display: inline-block !important;
  font-family: 'Roboto Mono', monospace, Consolas !important;
  font-weight: 700 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  margin: 3px 0 !important;
  font-size: 12px !important;
}

.gc-example-correct {
  background: rgba(34, 197, 94, 0.18) !important;
  color: #4ade80 !important;
  border: 1px solid rgba(34, 197, 94, 0.4) !important;
}

.gc-example-incorrect {
  background: rgba(239, 68, 68, 0.18) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
}

/* Modal: Resubmit Gift Card Dialog */
.resubmit-gc-modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 100002 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
}

.resubmit-gc-modal-backdrop.is-open {
  display: flex !important;
}

.resubmit-gc-backdrop-blur {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.78) !important;
  backdrop-filter: blur(8px) !important;
}

.resubmit-gc-dialog {
  position: relative !important;
  background: #212121 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  width: 100% !important;
  max-width: 460px !important;
  padding: 24px !important;
  color: #f1f1f1 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85) !important;
  z-index: 1 !important;
  animation: modalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.resubmit-gc-close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  background: transparent !important;
  border: none !important;
  color: #aaaaaa !important;
  cursor: pointer !important;
  padding: 6px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color 0.15s, background 0.15s !important;
}

.resubmit-gc-close:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.resubmit-gc-header {
  text-align: center !important;
  margin-bottom: 20px !important;
}

.resubmit-gc-icon-badge {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: rgba(204, 0, 0, 0.14) !important;
  color: #cc0000 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 12px !important;
}

.resubmit-gc-title {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 6px !important;
}

.resubmit-gc-subtitle {
  font-size: 13px !important;
  color: #aaaaaa !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

.resubmit-gc-examples {
  background: #181818 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 12px !important;
  margin-bottom: 18px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.resubmit-gc-ex {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
}

.resubmit-gc-ex.ex-correct {
  background: rgba(34, 197, 94, 0.08) !important;
  border: 1px solid rgba(34, 197, 94, 0.25) !important;
}

.resubmit-gc-ex.ex-incorrect {
  background: rgba(239, 68, 68, 0.08) !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
}

.resubmit-gc-ex .ex-code {
  font-family: 'Roboto Mono', monospace, Consolas !important;
  font-weight: 700 !important;
  color: #f1f1f1 !important;
  letter-spacing: 0.5px !important;
}

.resubmit-gc-ex .ex-tag {
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

.resubmit-gc-ex.ex-correct .ex-tag {
  background: #22c55e !important;
  color: #000000 !important;
}

.resubmit-gc-ex.ex-incorrect .ex-tag {
  background: #ef4444 !important;
  color: #ffffff !important;
}

.resubmit-gc-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.resubmit-gc-label {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #cccccc !important;
}

.resubmit-gc-input-wrap {
  width: 100% !important;
}

.resubmit-gc-input {
  width: 100% !important;
  background: #121212 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  font-family: 'Roboto Mono', monospace, Consolas !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
}

.resubmit-gc-input:focus {
  border-color: #cc0000 !important;
  box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.35) !important;
}

.resubmit-gc-submit-btn {
  background: #cc0000 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 12px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s !important;
}

.resubmit-gc-submit-btn:hover {
  background: #e60000 !important;
  box-shadow: 0 4px 14px rgba(204, 0, 0, 0.45) !important;
}

.resubmit-gc-submit-btn:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

.resubmit-gc-feedback {
  font-size: 13px !important;
  text-align: center !important;
  min-height: 20px !important;
  line-height: 1.4 !important;
}

.resubmit-gc-feedback.is-success {
  color: #4ade80 !important;
}

.resubmit-gc-feedback.is-error {
  color: #f87171 !important;
}

/* Visual Comparison Box in Ticket Chat Bubble */
.gc-rejected-title {
  font-weight: 600 !important;
  margin-bottom: 10px !important;
  color: #ff8585 !important;
}

.gc-visual-comparison-box {
  background: #181818 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  margin: 10px 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.gc-comparison-header,
.resubmit-gc-examples-header {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #cccccc !important;
  margin-bottom: 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.gc-comparison-items {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.gc-comp-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
}

.gc-comp-item.comp-correct {
  background: rgba(34, 197, 94, 0.1) !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

.gc-comp-item.comp-incorrect {
  background: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.gc-comp-item .comp-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.gc-comp-item .comp-code {
  font-family: 'Roboto Mono', monospace, Consolas !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  color: #ffffff !important;
}

.gc-comp-item .comp-badge {
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  letter-spacing: 0.4px !important;
}

.badge-correct {
  background: #22c55e !important;
  color: #000000 !important;
}

.badge-incorrect {
  background: #ef4444 !important;
  color: #ffffff !important;
}

.gc-comp-footer,
.resubmit-gc-example-note {
  font-size: 11px !important;
  color: #999999 !important;
  margin-top: 10px !important;
  font-style: italic !important;
  line-height: 1.4 !important;
}

/* ==========================================================================
   YOUTUBE AUTHENTIC PAGINATION (CLEAN DARK MODE & RED ACCENT)
   ========================================================================== */
.catalog-pagination-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 40px 0 32px !important;
  width: 100% !important;
}

.catalog-pagination,
.home-pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  padding: 6px 10px !important;
  border-radius: 9999px !important;
  background: #181818 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.pagination-btn {
  min-width: 36px !important;
  height: 36px !important;
  padding: 0 10px !important;
  border-radius: 9999px !important;
  border: none !important;
  background: transparent !important;
  color: #aaaaaa !important;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: background 0.15s ease, color 0.15s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  user-select: none !important;
  box-shadow: none !important;
}

.pagination-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: none !important;
  transform: none !important;
}

.pagination-btn:active:not(:disabled) {
  background: rgba(255, 255, 255, 0.16) !important;
  transform: none !important;
}

.pagination-btn.is-active {
  background: #cc0000 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  cursor: default !important;
}

.pagination-btn.is-active:hover {
  background: #e60000 !important;
  color: #ffffff !important;
}

.pagination-btn:disabled {
  opacity: 0.25 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.pagination-arrow {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #aaaaaa !important;
  padding: 0 10px !important;
}

.pagination-arrow:hover:not(:disabled) {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.pagination-ellipsis {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 24px !important;
  height: 36px !important;
  color: #717171 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  user-select: none !important;
}

.catalog-pagination-status {
  font-size: 12px !important;
  color: #888888 !important;
  font-weight: 500 !important;
  font-family: "Roboto", sans-serif !important;
}
