body {
  background: #181a1b;
  color: #e0e0e0;
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}
header {
  background: #23272a;
  padding: 2rem 1rem 1rem 1rem;
  text-align: center;
  border-bottom: 1px solid #333;
}
h1 {
  margin: 0 0 0.2em 0;
  font-size: 2.2rem;
  letter-spacing: 0.02em;
}
h1 a {
  color: inherit;
  text-decoration: none;
}
a:hover .title, a:hover .title ~ * {
  text-decoration: underline;
  color: #4a90e2;
}

.title-logo {
  display: flex;
  justify-content: center;
}
.directory-logo {
  background-image: url(images/flower-of-life.png);
  width: 50px;
  display: inline-block;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px;
}

.title-url {
  color: #b0b0b0;
  font-size: 0.8rem;
  opacity: .5;
}
.subtitle {
  color: #b0b0b0;
  font-size: 1.1rem;
  margin-bottom: 1em;
}
.search-bar {
  display: flex;
  justify-content: center;
  gap: 0.5em;
  margin-bottom: 1em;
  flex-wrap: wrap;
}
.search-bar input, .search-bar select {
  background: #222;
  color: #e0e0e0;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 0.5em;
  font-size: 1em;
}
.search-bar button {
  background: #4a90e2;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.5em 1em;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
}
.search-bar button:hover {
  background: #357ab8;
}
.last-updated {
  color: #888;
  font-size: 0.95em;
  margin-top: 0.5em;
}
main {
  max-width: 700px;
  margin: 2em auto 2em auto;
  padding: 0 1em;
}
h2 {
  color: #4a90e2;
  margin-top: 0;
}
.directory-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.directory-list li {
  background: #23272a;
  margin-bottom: 1em;
  border-radius: 6px;
  padding: 1em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s;
}
.directory-list li:hover {
  background: #2c3136;
}
.directory-list a {
  color: #4a90e2;
  font-weight: bold;
  text-decoration: none;
  word-break: break-all;
}
.directory-list a:visited {
  color: #b0b0e0;
}
.directory-list .desc {
  display: block;
  margin-top: 0.3em;
  color: #b0b0b0;
  font-size: 1em;
}
.directory-list .meta {
  display: block;
  margin-top: 0.2em;
  color: #888;
  font-size: 0.9em;
}
.tor-label {
  background: #7D4698;
  padding: 5px 10px;
  border-radius: 5px;
}
.tor-label a {
  color: white;
}
footer {
  background: #23272a;
  color: #888;
  text-align: center;
  padding: 1em 0;
  border-top: 1px solid #333;
  font-size: 0.95em;
}

.click-count {
  display: none;
  margin-left: 0.5em;
  color: #888;
  font-size: 0.85em;
  background: #2c3136;
  padding: 0.2em 0.5em;
  border-radius: 3px;
  border: 1px solid #444;
}

.eye-icon {
  margin-right: 0.2em;
  font-size: 0.9em;
}

.link-logo {
  width: 35px;
  height: 35px;
  border-radius: 4px;
  margin-right: 0.8em;
  float: left;
  object-fit: cover;
  border: 1px solid #444;
  background: #2c3136;
  font-size: 10px;
  text-align: center;
  margin-top: 1px;
}

.link-logo-placeholder {
  width: 35px;
  height: 35px;
  border-radius: 4px;
  margin-right: 0.8em;
  float: left;
  border: 1px solid #444;
  background: #2c3136;
  font-size: 10px;
  text-align: center;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
}

/* .directory-list li {
  display: flex;
  align-items: flex-start;
} */

.directory-list li > a {
  flex: 1;
}

@media (max-width: 600px) {
  main {
    padding: 0 0.5em;
  }
  .directory-list li {
    padding: 0.7em;
  }
  h1 {
    font-size: 1.5rem;
  }
} 