ion-thumbnail {
    --size: 80px;
    --border-radius: 8px;
    overflow: hidden;
    
    img {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }
  }
  
  ion-item {
    --padding-start: 16px;
    --padding-end: 16px;
    --inner-padding-end: 0;
    
    h2 {
      font-weight: 500;
      margin-bottom: 4px;
      color: var(--ion-color-dark);
    }
    
    p {
      color: var(--ion-color-medium);
      font-size: 0.9rem;
      margin-top: 4px;
      white-space: normal;
    }
  }
  
  @media (min-width: 768px) {
    ion-list {
      max-width: 800px;
      margin: 0 auto;
    }
    
    ion-thumbnail {
      --size: 100px;
    }
  }
  
  /* 头部样式 */
.custom-header {
  ion-toolbar {
    --background: var(--ion-color-success);
    --color: white;
    
    .header-title {
      display: flex;
      align-items: center;
      font-size: 1.2rem;
      
      .title-icon {
        margin-right: 8px;
        font-size: 1.4rem;
      }
    }
  }
}

/* 内容区域 */
.custom-content {
  --background: #f8f9fa;
  padding-top: 8px;
}

/* 食谱列表 */
.recipe-list {
  background: transparent;
  padding: 0 8px;
}

.recipe-item {
  --padding-start: 8px;
  --inner-padding-end: 8px;
  --border-radius: 12px;
  margin-bottom: 12px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  &:active {
    transform: scale(0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
}

.recipe-thumbnail {
  position: relative;
  margin: 8px;
  border-radius: 8px;
  overflow: hidden;
  width: 80px;
  height: 80px;
  
  .recipe-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.recipe-label {
  margin: 8px 0;
  
  .recipe-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--ion-color-dark);
  }
  
  .recipe-description {
    font-size: 0.8rem;
    color: var(--ion-color-medium);
    margin: 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  
  .meta-item {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: var(--ion-color-medium);
    
    .meta-icon {
      margin-right: 4px;
      font-size: 0.9rem;
    }
  }
}

.arrow-icon {
  color: var(--ion-color-medium-shade);
}

/* 导入按钮 */
.import-button-container {
  padding: 16px;
  
  .import-button {
    --border-radius: 12px;
    --box-shadow: none;
    font-weight: 500;
  }
}

/* 空状态 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60vh;
  text-align: center;
  padding: 0 32px;
  
  .empty-icon {
    font-size: 3rem;
    color: var(--ion-color-medium);
    margin-bottom: 16px;
  }
  
  h3 {
    font-size: 1.2rem;
    color: var(--ion-color-dark);
    margin-bottom: 8px;
  }
  
  p {
    font-size: 0.9rem;
    color: var(--ion-color-medium);
    margin-bottom: 16px;
  }
  
  .empty-button {
    --border-radius: 12px;
    --box-shadow: none;
    font-weight: 500;
    width: 80%;
  }
}

/* 响应式调整 */
@media (min-width: 768px) {
  .recipe-list {
    padding: 0 16px;
  }
  
  .recipe-item {
    --padding-start: 16px;
    --inner-padding-end: 16px;
    margin-bottom: 16px;
  }
  
  .recipe-thumbnail {
    width: 100px;
    height: 100px;
  }
  
  .recipe-title {
    font-size: 1.1rem !important;
  }
  
  .recipe-description {
    font-size: 0.9rem !important;
  }
  
  .import-button-container {
    padding: 24px;
    max-width: 400px;
    margin: 0 auto;
  }
}