.youtube-search {
  margin: 8px 0 18px;
  min-width: 0;
}
.youtube-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}
.youtube-input {
  width: 100%;
  min-width: 0;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: var(--velvet);
}
.youtube-status {
  min-height: 1.4em;
  margin: 8px 0;
  color: var(--mute);
  font-size: 0.8rem;
}
.youtube-status.bad {
  color: var(--danger);
}
.youtube-results {
  list-style: none;
  margin: 0;
  padding: 0;
}
.youtube-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--plum-2);
}
.youtube-result img {
  flex: none;
  width: 96px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--velvet);
}
.youtube-info {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}
.youtube-info strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  line-height: 1.45;
}
.youtube-info span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--mute);
  font-size: 0.75rem;
}
.youtube-info a {
  width: fit-content;
  color: var(--rose);
  text-decoration: none;
  font-size: 0.7rem;
}
.youtube-result button {
  flex: none;
  min-height: 40px;
  border: 1px solid var(--brass);
  border-radius: 9px;
  padding: 8px 10px;
  background: transparent;
  color: var(--brass);
  font-size: 0.8rem;
  font-weight: 600;
}
.youtube-result button:disabled {
  border-color: var(--line);
  color: var(--mute);
  cursor: default;
}
@media (max-width: 380px) {
  .youtube-result img { width: 72px; height: 41px; }
  .youtube-result { gap: 8px; }
  .youtube-result button { padding: 8px; }
}
