.track-drawer-content-item-fallback {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.track-drawer-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.track-drawer-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #000;
}

.track-drawer-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.track-drawer-audio-wrapper {
  background: linear-gradient(to bottom right, #eff6ff, #e0e7ff);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.track-drawer-audio-title {
  text-align: center;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.track-drawer-unavailable-text {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.track-drawer-document-wrapper {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
}

.track-drawer-document-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.track-drawer-document-link {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.track-drawer-document-link:hover {
  background: rgba(0, 0, 0, 0.4);
}

.track-drawer-document-action {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.track-drawer-document-icon {
  color: #2563eb;
}

.track-drawer-document-label {
  font-weight: 500;
  color: #1f2937;
}

.track-drawer-media-unavailable {
  background: #f3f4f6;
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
}

.track-drawer-media-unavailable-message {
  color: #6b7280;
}

.track-drawer-inline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.track-drawer-audio-icon-pause {
  color: #2563eb;
  font-size: 1.5rem;
  line-height: 2rem;
}

.track-drawer-audio-icon-play {
  color: #2563eb;
  font-size: 1.5rem;
  line-height: 2rem;
  margin-left: 0.25rem;
}

.track-drawer-error-wrapper {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.track-drawer-error-message {
  color: #dc2626;
  margin-bottom: 1rem;
}

.track-drawer-action-button {
  padding: 0.5rem 1rem;
  background: #e5e7eb;
  border-radius: 0.5rem;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.track-drawer-action-button:hover {
  background: #d1d5db;
}

.track-drawer-loading-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.track-drawer-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border-bottom: 2px solid #2563eb;
  animation: track-drawer-spin 1s linear infinite;
}

@keyframes track-drawer-spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
