html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #CCC;
  min-height: 100vh;
}

html {
  background-color: #222;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: url("../img/b007.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(8px);
}

main {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgb(18, 91, 123) rgb(7, 35, 47);
  padding: 1rem 1rem;
}

main::-webkit-scrollbar {
  width: 5px;
}

main::-webkit-scrollbar-thumb {
  background: rgb(18, 91, 123);
  border-radius: 4px;
}

main::-webkit-scrollbar-track {
  background: rgb(7, 35, 47);
  border-radius: 2px;
}

.search-bar {
  z-index: 10;
  padding: 1.5rem 0 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px 0 rgba(60, 60, 60, 0.03);
}
.search-bar div {
  max-width: 420px;
  width: 100%;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px 0 rgba(60, 60, 60, 0.04);
  outline: none;
  transition: border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input:focus {
  border-color: #bdbdbd;
}

.clear-search-btn {
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #888;
  font-size: 1.3em;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
  z-index: 2;
  outline: none;
  transition: color 0.2s;
}

.clear-search-btn:hover, .clear-search-btn:focus {
  color: #666;
}

@media (max-width: 600px) {
  .search-bar {
    max-width: 350px;
  }
  .search-bar div {
    max-width: 350px;
    width: auto;
  }
  .search-input {
    width: auto;
  }
}
.section {
  width: 100%;
  max-width: 2000px;
  margin: 1rem auto;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2.2rem 0 1.1rem 0;
  letter-spacing: 0.01em;
  color: #CCC;
  padding-left: 0.2rem;
}

@media (max-width: 600px) {
  .section-title {
    font-size: 1.08rem;
  }
}
.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: baseline;
  align-content: flex-start;
  justify-content: center;
  margin-bottom: 0.5rem;
  padding: 0 2em;
}
.category-grid .card {
  flex: 1 1 400px;
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.card {
  max-width: 350px;
  background: rgb(7, 35, 47);
  border: 1.5px solid rgba(18, 91, 123, 0.5);
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(18, 91, 123, 0.1);
  padding: 0.6rem 0.6rem 0.4rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: box-shadow 0.12s cubic-bezier(0.4, 0, 0.2, 1), transform 0.1s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.1s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.1s, transform 0.1s;
  color: rgba(200, 200, 200, 0.8);
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(75, 1, 89, 0.18);
  transform: translateY(-4px) scale(1.01);
  border-color: rgb(18, 91, 123);
  color: rgb(200, 200, 200);
  cursor: pointer;
}
.card-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.card-title {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: #ccc;
  flex: 1;
  transition: color var(0.22s cubic-bezier(0.4, 0, 0.2, 1));
  word-break: break-word;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.2rem;
}
.card-tags .tag {
  background: rgba(18, 91, 123, 0.5);
  color: #CCC;
  font-size: 0.6rem;
  padding: 0.18em 1em;
  border-radius: 8px;
  font-weight: 400;
  letter-spacing: 0.01em;
  user-select: none;
}

.favicon {
  width: 20px;
  height: 20px;
  padding: 2;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 1px 2px 0 rgba(18, 91, 123, 0.2);
}

.no-results {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(7, 35, 47, 0.7);
  font-size: 1.13rem;
  margin: 2.5rem auto;
  width: 400px;
  padding: 1rem 2rem;
  opacity: 0.8;
  letter-spacing: 0.01em;
  border: 1.5px solid rgba(18, 91, 123, 0.7);
  border-radius: 14px;
}

@media (max-width: 500px) {
  .card {
    padding: 1rem 0.7rem 0.9rem 0.7rem;
    max-width: 300px;
  }
}
.favorite-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: baseline;
  align-content: flex-start;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.favorite-card {
  width: 50px;
  height: 50px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(75, 1, 89, 0.1);
  background: rgba(7, 35, 47, 0.7);
  border: 1.5px solid rgba(18, 91, 123, 0.5);
  margin: auto;
}

.favorite-card:hover {
  box-shadow: 0 6px 24px 0 rgba(75, 1, 89, 0.18);
  transform: translateY(-4px) scale(1.08);
  border-color: rgb(18, 91, 123);
  cursor: pointer;
}

.favorite-favicon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: none;
}

.favorite-star {
  color: #ffb300;
  font-size: 1.1rem;
  margin-left: 0.2rem;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.5333333333));
}

@media (max-width: 600px) {
  .favorite-grid {
    gap: 0.7rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .favorite-card {
    width: 60px;
    height: 60px;
  }
  .favorite-favicon {
    width: 45px;
    height: 45px;
  }
}/*# sourceMappingURL=style.css.map */