    body {
      font-family: 'Segoe UI', sans-serif;
      margin: 30px;
      background-color: #f5f5f5;
      color: #2b2b2b;
    }

    header {
      display: flex;
      align-items: center;
      margin-bottom: 40px;
    }

    .logo {
      font-size: 32px;
      font-weight: bold;
      color: #009688;
      margin-right: 12px;
    }

    h1 {
      position: absolute;
      left: -9999px;
      top: auto;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }

    h2 {
      margin-top: 20px;
      font-size: 20px;
      color: #333;
    }

    label {
      display: block;
      margin-top: 20px;
      font-weight: 500;
    }

    input {
      width: 100%;
      max-width: 300px;
      padding: 6px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }

    .suggest-list {
      list-style: none;
      padding: 0;
      margin: 0;
      border: 1px solid #ccc;
      border-radius: 4px;
      max-width: 300px;
      max-height: 150px;
      overflow-y: auto;
      background: white;
    }

    li {
      padding: 6px;
      cursor: pointer;
    }

    li:hover {
      background-color: #e0f2f1;
    }

    button {
      margin-top: 30px;
      padding: 10px 20px;
      font-size: 16px;
      border: none;
      background-color: #009688;
      color: white;
      border-radius: 4px;
      cursor: pointer;
    }

    button:hover {
      background-color: #00796b;
    }

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  padding: 16px;
}

.recommend-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
}

.recommend-card:hover {
  transform: scale(1.03);
}

.recommend-card img.thumbnail {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.recommend-card .title {
  margin-top: 8px;
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  color: #333;
  word-break: break-word;
}

.recommend-card .summary {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.85em;
  padding: 8px;
  max-height: 70%;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  pointer-events: none;
  opacity: 0;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.recommend-card:hover .summary {
  transform: translateY(0%);
  opacity: 1;
  pointer-events: auto;
}


    .toast {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background: #333;
      color: #fff;
      padding: 12px 20px;
      border-radius: 8px;
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 9999;
    }
    .toast.show {
      opacity: 1;
    }

    footer {
      margin-top: 60px;
      font-size: 12px;
      text-align: center;
      color: #666;
    }

    footer a {
      color: #666;
      margin: 0 8px;
      text-decoration: none;
    }

    footer a:hover {
      text-decoration: underline;
    }

    @media (max-width: 768px) {
      .recommend-card {
        flex: 1 1 calc(50% - 20px);
        max-width: none;
      }
    }
