.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 .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;
}

.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-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;
}

.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;
  }
}
