.nano-default-public-row,
#root .nano-hide-public-tab,
#root .nano-hide-personal-tab,
.nano-project-sidebar-label {
  display: none !important;
}

.nano-project-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
  font-family: Inter, "Microsoft YaHei", sans-serif;
}

.nano-project-toolbar-select {
  flex: 0 0 auto;
  min-width: 168px;
  max-width: 240px;
  height: 30px;
  padding: 0 28px 0 12px;
  border: 1px solid #343438;
  border-radius: 9px;
  background: #18181b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20'%3E%3Cpath fill='%23d4d4d8' d='m5 7.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: #f4f4f5;
  font-size: 12px;
  appearance: none;
}

.nano-project-toolbar-select:focus {
  outline: none;
  border-color: #f59e0b;
}

.nano-project-action {
  height: 30px;
  padding: 0 10px;
  border: 1px solid #343438;
  border-radius: 8px;
  background: #18181b;
  color: #d4d4d8;
  font-size: 12px;
  cursor: pointer;
}

.nano-project-action:hover {
  border-color: #52525b;
  color: #fff;
}

.nano-project-action.is-danger:hover {
  border-color: #7f1d1d;
  color: #fecaca;
}

.nano-project-action:disabled {
  opacity: .4;
  cursor: not-allowed;
}

#root .flex.items-center.gap-1.ml-4.mr-\[22px\].mt-3.mb-1 {
  justify-content: flex-start;
}

.nano-home-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0e0e0f;
}

.nano-home-video-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(245, 158, 11, .92);
  color: #18181b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  pointer-events: none;
}

.nano-home-video-card,
#root .nano-home-result-card[data-nano-media="video"],
#root .nano-home-result-card[data-card-id^="VID_"] {
  display: none !important;
}

#nano-home-video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .82);
}

#nano-home-video-lightbox[hidden] {
  display: none !important;
}

.nano-home-video-lightbox-inner {
  position: relative;
  width: min(92vw, 960px);
}

.nano-home-video-lightbox-inner video {
  width: 100%;
  max-height: 80vh;
  background: #000;
  border-radius: 12px;
}

.nano-home-video-lightbox-inner button {
  position: absolute;
  top: -36px;
  right: 0;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #3f3f46;
  border-radius: 8px;
  background: #18181b;
  color: #e4e4e7;
  cursor: pointer;
}
