body.ym-netflix-theme {
  background:
    radial-gradient(circle at 14% 5%, rgba(34, 211, 238, 0.12), transparent 36%),
    radial-gradient(circle at 86% 4%, rgba(59, 130, 246, 0.14), transparent 34%),
    linear-gradient(165deg, #1d1d1f 0%, #171719 52%, #131315 100%) !important;
  color: #e9ffff !important;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  letter-spacing: 0.01em;
}

body::before {
  opacity: 0.1 !important;
  animation: none !important;
}

.ym-global-search-fab {
  position: fixed;
  right: 18px;
  bottom: 74px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(107, 247, 238, 0.48);
  background: rgba(4, 18, 24, 0.9);
  color: #7cf8f0;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2200;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), inset 0 0 16px rgba(57, 197, 187, 0.22);
  transition: 0.2s ease;
}

.ym-global-search-fab svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ym-global-search-fab:hover,
.ym-global-search-fab:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(107, 247, 238, 0.78);
  background: rgba(7, 26, 34, 0.94);
  color: #ffffff;
  outline: none;
}

body.ym-netflix-theme .ym-global-search-fab,
body.ym-netflix-theme .ym-go-top-fab {
  background: linear-gradient(135deg, #5cefe5, #2f89de) !important;
  color: #071218 !important;
  border-color: rgba(126, 245, 238, 0.82) !important;
  box-shadow: 0 0 22px rgba(86, 226, 216, 0.5) !important;
}

body .home-fab {
  display: none !important;
}

.topnav {
  display: none !important;
}

.badge-row,
.brand-row {
  flex-wrap: wrap;
  row-gap: 10px;
  max-width: 100%;
}

.ym-list-corner {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 100%;
  margin-left: 2px;
}

.ym-list-corner-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 100%;
}

.ym-list-corner-action {
  appearance: none;
  border: 1px solid rgba(107, 247, 238, 0.34);
  border-radius: 999px;
  min-height: 36px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(57, 197, 187, 0.14);
  color: #d9ffff;
  font: inherit;
  font-size: 0.88rem;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.18s ease;
}

.ym-list-corner-action:hover,
.ym-list-corner-action:focus-visible {
  border-color: rgba(107, 247, 238, 0.78);
  background: rgba(57, 197, 187, 0.3);
  color: #fff;
  outline: none;
}

body.ym-netflix-theme h1,
body.ym-netflix-theme h2,
body.ym-netflix-theme h3 {
  color: #edffff !important;
  text-shadow: 0 0 18px rgba(107, 247, 238, 0.28) !important;
}

body.ym-netflix-theme a {
  color: #a7f1ff !important;
}

body.ym-netflix-theme a:hover,
body.ym-netflix-theme a:focus-visible {
  color: #ffffff !important;
}

body.ym-netflix-theme .search-shell,
body.ym-netflix-theme .directory,
body.ym-netflix-theme .card,
body.ym-netflix-theme .topnav,
body.ym-netflix-theme .site-disclaimer,
body.ym-netflix-theme .badge,
body.ym-netflix-theme .brand-bar,
body.ym-netflix-theme .search-form,
body.ym-netflix-theme .suggestions,
body.ym-netflix-theme .suggestion-group {
  background: linear-gradient(145deg, rgba(24, 24, 26, 0.9), rgba(12, 12, 14, 0.92)) !important;
  border-color: rgba(108, 236, 229, 0.34) !important;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.58),
    inset 0 0 0 1px rgba(110, 235, 228, 0.12) !important;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}

body.ym-netflix-theme .search-btn,
body.ym-netflix-theme .search-mini-btn,
body.ym-netflix-theme .search-icon,
body.ym-netflix-theme .recommend-chip,
body.ym-netflix-theme .ym-list-sidebar-head-action,
body.ym-netflix-theme .ym-list-sidebar-more,
body.ym-netflix-theme .ym-list-sidebar-link,
body.ym-netflix-theme .ym-global-search-btn,
body.ym-netflix-theme .ym-global-search-item,
body.ym-netflix-theme .ym-global-search-copy {
  background: linear-gradient(135deg, rgba(31, 31, 34, 0.96), rgba(18, 18, 20, 0.96)) !important;
  color: #e7ffff !important;
  border-color: rgba(112, 236, 229, 0.42) !important;
}

body.ym-netflix-theme .ym-list-sidebar {
  background: linear-gradient(165deg, rgba(17, 17, 19, 0.97), rgba(10, 10, 12, 0.98)) !important;
  border: 1px solid rgba(94, 220, 214, 0.44) !important;
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.64),
    inset 0 0 0 1px rgba(112, 236, 229, 0.14) !important;
}

body.ym-netflix-theme .ym-list-sidebar-head {
  background: rgba(10, 10, 12, 0.88) !important;
  border-color: rgba(97, 220, 214, 0.36) !important;
}

body.ym-netflix-theme .ym-list-sidebar-link,
body.ym-netflix-theme .ym-list-sidebar-more {
  border-radius: 12px !important;
  border-color: rgba(97, 220, 214, 0.52) !important;
  background: linear-gradient(145deg, rgba(24, 24, 28, 0.96), rgba(13, 13, 16, 0.97)) !important;
  box-shadow: inset 0 0 0 1px rgba(104, 229, 222, 0.08) !important;
}

body.ym-netflix-theme .ym-list-sidebar-link:hover,
body.ym-netflix-theme .ym-list-sidebar-link:focus-visible,
body.ym-netflix-theme .ym-list-sidebar-link.is-active,
body.ym-netflix-theme .ym-list-sidebar-more:hover,
body.ym-netflix-theme .ym-list-sidebar-more:focus-visible {
  border-color: rgba(120, 243, 236, 0.66) !important;
  background: linear-gradient(145deg, rgba(29, 29, 34, 0.98), rgba(15, 15, 18, 0.98)) !important;
}

body.ym-netflix-theme .search-shell::after,
body.ym-netflix-theme .directory::after,
body.ym-netflix-theme .card::after,
body.ym-netflix-theme .site-disclaimer::after,
body.ym-netflix-theme .badge::after,
body.ym-netflix-theme .brand-bar::after,
body.ym-netflix-theme .search-form::after,
body.ym-netflix-theme .suggestions::after,
body.ym-netflix-theme .suggestion-group::after,
body.ym-netflix-theme .ym-list-sidebar::after,
body.ym-netflix-theme .ym-global-search-panel::after,
body.ym-netflix-theme .ym-global-search-results::after,
body.ym-netflix-theme .ym-global-search-group::after {
  content: "";
  position: absolute;
  inset: -50% -35%;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(40% 42% at 24% 18%, rgba(127, 255, 244, 0.22), transparent 70%),
    radial-gradient(34% 38% at 78% 80%, rgba(77, 201, 255, 0.2), transparent 72%),
    linear-gradient(130deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01) 45%, rgba(127, 255, 244, 0.08));
  mix-blend-mode: screen;
  opacity: 0.34;
  animation: ym-liquid-glass-flow 16s ease-in-out infinite;
}

body.ym-netflix-theme .search-shell > *,
body.ym-netflix-theme .directory > *,
body.ym-netflix-theme .card > *,
body.ym-netflix-theme .site-disclaimer > *,
body.ym-netflix-theme .badge > *,
body.ym-netflix-theme .brand-bar > *,
body.ym-netflix-theme .search-form > *,
body.ym-netflix-theme .suggestions > *,
body.ym-netflix-theme .suggestion-group > *,
body.ym-netflix-theme .ym-list-sidebar > *,
body.ym-netflix-theme .ym-global-search-panel > *,
body.ym-netflix-theme .ym-global-search-results > *,
body.ym-netflix-theme .ym-global-search-group > * {
  position: relative;
  z-index: 2;
}

@keyframes ym-liquid-glass-flow {
  0% { transform: translate3d(-6%, -8%, 0) rotate(0deg); }
  50% { transform: translate3d(7%, 6%, 0) rotate(3deg); }
  100% { transform: translate3d(-6%, -8%, 0) rotate(0deg); }
}

.ym-page-shell {
  --ym-sidebar-width: clamp(260px, 22vw, 320px);
  --ym-sidebar-width-collapsed: 76px;
  position: relative;
  display: block;
  padding-left: calc(var(--ym-sidebar-width) + 16px);
  transition: padding-left 0.22s ease;
}

.ym-has-dashboard-sidebar.ym-dashboard-collapsed .ym-page-shell {
  padding-left: calc(var(--ym-sidebar-width-collapsed) + 16px);
}

.ym-page-shell > main {
  min-width: 0;
}

.ym-list-sidebar {
  position: fixed;
  top: 84px;
  left: 10px;
  bottom: 12px;
  z-index: 9;
  width: var(--ym-sidebar-width);
  border-radius: 14px;
  border: 1px solid rgba(107, 247, 238, 0.42);
  background: rgba(2, 12, 17, 0.965);
  backdrop-filter: blur(8px);
  padding: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.52);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
  overflow: hidden;
  transition: width 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.ym-list-sidebar.is-collapsed {
  width: var(--ym-sidebar-width-collapsed);
}

.ym-list-sidebar-head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  border: 1px solid rgba(107, 247, 238, 0.26);
  border-radius: 10px;
  background: rgba(9, 24, 30, 0.72);
  padding: 7px;
}

.ym-list-sidebar-head-action {
  appearance: none;
  border: 1px solid rgba(107, 247, 238, 0.34);
  border-radius: 999px;
  min-height: 34px;
  padding: 0 12px;
  text-decoration: none;
  background: rgba(57, 197, 187, 0.16);
  color: #d9ffff;
  font: inherit;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.16s ease;
}

.ym-list-sidebar-head-action.has-icon {
  gap: 8px;
  justify-content: flex-start;
  min-width: 0;
}

.ym-list-sidebar-action-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: grid;
  place-items: center;
}

.ym-list-sidebar-action-label {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ym-list-sidebar-head-action.is-icon {
  width: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 10px;
}

.ym-list-sidebar-head-action.is-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ym-list-sidebar-head-action:hover,
.ym-list-sidebar-head-action:focus-visible {
  border-color: rgba(107, 247, 238, 0.76);
  background: rgba(57, 197, 187, 0.3);
  color: #fff;
  outline: none;
}

.ym-list-sidebar-links {
  display: grid;
  gap: 7px;
  overflow: hidden;
  padding-right: 0;
}

.ym-list-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(107, 247, 238, 0.3);
  border-radius: 10px;
  text-decoration: none;
  color: #d9ffff;
  background: rgba(8, 22, 29, 0.92);
  padding: 8px 10px;
  line-height: 1.25;
  transition: 0.18s ease;
}

.ym-list-sidebar-link-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: grid;
  place-items: center;
}

.ym-list-sidebar-action-icon svg,
.ym-list-sidebar-link-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ym-list-sidebar-link-label {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ym-list-sidebar-link.is-window-hidden {
  display: none;
}

.ym-list-sidebar-more {
  appearance: none;
  border: 1px solid rgba(107, 247, 238, 0.32);
  border-radius: 10px;
  min-height: 34px;
  padding: 0 10px;
  background: rgba(8, 22, 29, 0.9);
  color: #d9ffff;
  font: inherit;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: 0.16s ease;
}

.ym-list-sidebar-more:hover,
.ym-list-sidebar-more:focus-visible {
  border-color: rgba(107, 247, 238, 0.72);
  background: rgba(57, 197, 187, 0.24);
  color: #fff;
  outline: none;
}

.ym-list-sidebar-more.is-disabled,
.ym-list-sidebar-more:disabled {
  opacity: 0.58;
  cursor: default;
  border-color: rgba(107, 247, 238, 0.34);
  background: rgba(16, 16, 18, 0.86);
  color: rgba(217, 255, 255, 0.75);
  box-shadow: none;
}

.ym-list-sidebar-more.is-top {
  border-color: rgba(126, 245, 238, 0.66);
  background: linear-gradient(145deg, rgba(30, 30, 34, 0.98), rgba(16, 16, 18, 0.98));
}

.ym-list-sidebar-more-icon {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
}

.ym-list-sidebar-more-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ym-list-sidebar.is-collapsed .ym-list-sidebar-head {
  grid-template-columns: 1fr;
}

.ym-list-sidebar.is-collapsed .ym-list-sidebar-head-action.has-icon {
  justify-content: center;
  padding: 0;
}

.ym-list-sidebar.is-collapsed .ym-list-sidebar-action-label,
.ym-list-sidebar.is-collapsed .ym-list-sidebar-link-label,
.ym-list-sidebar.is-collapsed .ym-list-sidebar-more-label {
  display: none;
}

.ym-list-sidebar.is-collapsed .ym-list-sidebar-link {
  justify-content: center;
  padding: 8px;
}

.ym-list-sidebar.is-collapsed .ym-list-sidebar-more {
  width: 100%;
  padding: 0;
}

.ym-list-sidebar-link:hover,
.ym-list-sidebar-link:focus-visible,
.ym-list-sidebar-link.is-active {
  border-color: rgba(107, 247, 238, 0.68);
  background: rgba(57, 197, 187, 0.2);
  color: #fff;
  outline: none;
}

.ym-list-corner-empty {
  border: 1px dashed rgba(107, 247, 238, 0.35);
  border-radius: 10px;
  color: rgba(212, 255, 255, 0.78);
  text-align: center;
  padding: 12px;
}

.ym-lock-scroll {
  overflow: hidden;
}

.ym-go-top-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(126, 200, 255, 0.52);
  background: rgba(8, 24, 34, 0.9);
  color: #8ed1ff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2200;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), inset 0 0 16px rgba(126, 200, 255, 0.2);
  transition: 0.2s ease;
}

.ym-go-top-fab.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ym-go-top-fab:hover,
.ym-go-top-fab:focus-visible {
  color: #ffffff;
  border-color: rgba(159, 220, 255, 0.86);
  background: rgba(12, 34, 49, 0.94);
  transform: translateY(-2px);
  outline: none;
}

.ym-go-top-fab svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1024px) {
  .ym-page-shell {
    padding-left: 0;
    transition: none;
  }

  .ym-list-sidebar {
    position: static;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    max-height: none;
    overflow: visible;
    transition: none;
  }

  .ym-list-sidebar.is-collapsed {
    width: auto;
  }

  .ym-list-sidebar-head {
    grid-template-columns: 1fr auto;
  }

  .ym-list-sidebar-head-action.has-icon {
    justify-content: flex-start;
    padding: 0 12px;
  }

  .ym-list-sidebar-action-label,
  .ym-list-sidebar-link-label,
  .ym-list-sidebar-more-label {
    display: inline;
  }

  .ym-list-sidebar-link {
    justify-content: flex-start;
    padding: 8px 10px;
  }

  .ym-list-sidebar-link.is-window-hidden {
    display: flex;
  }

  .ym-list-sidebar-more {
    display: none;
  }
}

.ym-global-search-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 2300;
  background: rgba(1, 8, 12, 0.78);
  backdrop-filter: blur(4px);
  padding: 5vh 12px 12px;
}

.ym-global-search-overlay.show {
  display: flex;
}

body.ym-netflix-theme .ym-global-search-overlay {
  background: rgba(10, 10, 12, 0.82) !important;
}

body.ym-netflix-theme .ym-global-search-panel,
body.ym-netflix-theme .ym-global-search-results,
body.ym-netflix-theme .ym-global-search-group {
  background: linear-gradient(145deg, rgba(24, 24, 26, 0.95), rgba(12, 12, 14, 0.96)) !important;
  border-color: rgba(108, 236, 229, 0.36) !important;
}

body.ym-netflix-theme :is(h1, h2, h3, h4, h5, h6, p, span, a, li, label, strong, em, small, button, input, textarea) {
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  letter-spacing: 0.01em !important;
  animation: none !important;
  transition: none !important;
}

body.ym-netflix-theme .search-shell,
body.ym-netflix-theme .directory,
body.ym-netflix-theme .directory-head,
body.ym-netflix-theme .directory-body,
body.ym-netflix-theme .grid,
body.ym-netflix-theme .site-disclaimer {
  background: linear-gradient(145deg, rgba(24, 24, 26, 0.92), rgba(12, 12, 14, 0.95)) !important;
  border-color: rgba(108, 236, 229, 0.34) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.58),
    inset 0 0 0 1px rgba(108, 236, 229, 0.1) !important;
}

body.ym-netflix-theme .dir-card {
  background: rgba(18, 18, 20, 0.82) !important;
  border-bottom-color: rgba(108, 236, 229, 0.2) !important;
  color: #e9ffff !important;
}

body.ym-netflix-theme .dir-card:hover,
body.ym-netflix-theme .dir-card:focus-visible {
  background: rgba(32, 32, 35, 0.96) !important;
  color: #ffffff !important;
}

body.ym-netflix-theme .folder-toggle-btn,
body.ym-netflix-theme .directory-all-btn {
  background: linear-gradient(135deg, rgba(30, 30, 33, 0.96), rgba(18, 18, 20, 0.96)) !important;
  color: #e7ffff !important;
  border-color: rgba(112, 236, 229, 0.42) !important;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(112, 236, 229, 0.16) !important;
}

body.ym-netflix-theme .folder-toggle-btn:hover,
body.ym-netflix-theme .folder-toggle-btn:focus-visible,
body.ym-netflix-theme .directory-all-btn:hover,
body.ym-netflix-theme .directory-all-btn:focus-visible {
  background: linear-gradient(135deg, rgba(44, 44, 48, 0.98), rgba(22, 22, 24, 0.98)) !important;
  border-color: rgba(126, 245, 238, 0.72) !important;
}

body.ym-netflix-theme .directory-title-rgb {
  background: none !important;
  color: #e9ffff !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}

.ym-global-search-panel {
  width: min(1180px, 96vw);
  max-height: 90vh;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(107, 247, 238, 0.4);
  background: rgba(4, 14, 20, 0.95);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.58);
}

.ym-global-search-head {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 8px;
  align-items: center;
}

.ym-global-search-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(107, 247, 238, 0.3);
  background: rgba(57, 197, 187, 0.1);
  color: #7cf8f0;
  display: grid;
  place-items: center;
}

.ym-global-search-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ym-global-search-input {
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(107, 247, 238, 0.32);
  background: rgba(6, 20, 26, 0.88);
  color: #d7ffff;
  font: inherit;
  font-size: 1rem;
  padding: 0 12px;
  outline: none;
}

.ym-global-search-input:focus {
  border-color: rgba(107, 247, 238, 0.72);
  box-shadow: 0 0 0 2px rgba(107, 247, 238, 0.2);
}

.ym-global-search-btn {
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(107, 247, 238, 0.34);
  background: rgba(57, 197, 187, 0.14);
  color: #dff;
  font: inherit;
  font-weight: 700;
  padding: 0 12px;
  cursor: pointer;
  transition: 0.18s ease;
}

.ym-global-search-btn:hover,
.ym-global-search-btn:focus-visible {
  border-color: rgba(107, 247, 238, 0.72);
  background: rgba(57, 197, 187, 0.28);
  color: #fff;
  outline: none;
}

.ym-global-search-help {
  color: rgba(212, 255, 255, 0.8);
  font-size: 0.85rem;
  padding: 0 2px;
}

.ym-global-search-results {
  min-height: 220px;
  max-height: 68vh;
  overflow: auto;
  border: 1px solid rgba(107, 247, 238, 0.28);
  border-radius: 12px;
  background: rgba(2, 10, 15, 0.9);
  padding: 8px;
  display: grid;
  gap: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(107, 247, 238, 0.78) rgba(6, 20, 26, 0.78);
  scrollbar-gutter: stable;
}

.ym-global-search-results::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.ym-global-search-results::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(6, 20, 26, 0.92), rgba(4, 14, 19, 0.86));
  border-left: 1px solid rgba(107, 247, 238, 0.18);
  border-radius: 999px;
}

.ym-global-search-results::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(130, 252, 244, 0.9), rgba(57, 197, 187, 0.82));
  border: 2px solid rgba(3, 11, 16, 0.95);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(107, 247, 238, 0.34);
}

.ym-global-search-results::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(164, 255, 250, 0.95), rgba(72, 224, 214, 0.92));
}

.ym-global-search-empty {
  border: 1px dashed rgba(107, 247, 238, 0.36);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  color: rgba(212, 255, 255, 0.78);
  background: rgba(9, 24, 30, 0.6);
}

.ym-global-search-group {
  border: 1px solid rgba(107, 247, 238, 0.24);
  border-radius: 10px;
  background: rgba(6, 19, 25, 0.66);
  padding: 7px;
  display: grid;
  gap: 6px;
}

.ym-global-search-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #74f8ef;
  font-family: "Orbitron", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ym-global-search-group-count {
  color: rgba(212, 255, 255, 0.75);
  font-family: "M PLUS Rounded 1c", "Segoe UI", sans-serif;
  font-size: 0.75rem;
}

.ym-global-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  align-items: stretch;
}

.ym-global-search-item {
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(9, 24, 30, 0.72);
  color: #e8ffff;
  text-align: left;
  font: inherit;
  cursor: pointer;
  padding: 8px 10px;
  transition: 0.18s ease;
}

.ym-global-search-item:hover,
.ym-global-search-item:focus-visible {
  border-color: rgba(107, 247, 238, 0.64);
  background: rgba(57, 197, 187, 0.18);
  color: #fff;
  outline: none;
}

.ym-global-search-item-title {
  display: block;
}

.ym-global-search-item-meta {
  display: block;
  margin-top: 2px;
  color: rgba(175, 226, 226, 0.92);
  font-size: 0.84rem;
}

.ym-global-search-copy {
  width: 38px;
  border: 1px solid rgba(107, 247, 238, 0.24);
  border-radius: 10px;
  background: rgba(9, 24, 30, 0.72);
  color: #74f8ef;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.18s ease;
}

.ym-global-search-copy svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ym-global-search-copy:hover,
.ym-global-search-copy:focus-visible,
.ym-global-search-copy.copied {
  border-color: rgba(107, 247, 238, 0.64);
  background: rgba(57, 197, 187, 0.22);
  color: #fff;
  outline: none;
}

@media (max-width: 760px) {
  .badge-row,
  .brand-row {
    width: 100% !important;
  }

  .ym-list-corner {
    width: 100%;
  }

  .ym-has-dashboard-sidebar .ym-go-top-fab {
    right: 18px;
  }

  .ym-has-dashboard-sidebar.ym-dashboard-collapsed .ym-go-top-fab {
    right: 18px;
  }

  .ym-list-corner-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ym-list-corner-action {
    width: 100%;
    padding: 0 12px;
    font-size: 0.85rem;
  }

  .ym-page-shell {
    padding-left: 0;
  }

  .ym-list-sidebar {
    position: static;
    left: auto;
    bottom: auto;
    width: auto;
    max-height: none;
    overflow: visible;
  }

  .ym-list-sidebar-links {
    overflow: visible;
    padding-right: 0;
  }

  .ym-global-search-overlay {
    padding-top: 8px;
  }

  .ym-global-search-panel {
    width: min(98vw, 98vw);
    max-height: 95vh;
  }

  .ym-global-search-head {
    grid-template-columns: auto 1fr;
  }

  .ym-global-search-btn {
    height: 36px;
  }

  .ym-global-search-btn[data-action="clear"] {
    grid-column: 1 / 2;
  }

  .ym-global-search-btn[data-action="close"] {
    grid-column: 2 / 3;
  }
}

@media (max-width: 520px) {
  .ym-list-corner-actions {
    grid-template-columns: 1fr;
  }

  .ym-list-corner-action {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  .ym-list-corner-action,
  .ym-list-sidebar,
  .ym-list-sidebar-link,
  .ym-global-search-btn,
  .ym-global-search-item {
    transition: none !important;
  }
}
