* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background: url('/wall.jpg') fixed center/cover;
  min-height: 100vh;
  padding-top: 60px;
}

.header {
  background: rgba(31, 41, 55, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hc {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ht {
  font-size: 1.5rem;
  font-weight: bold;
  color: rgb(156, 163, 175);
  text-decoration: none;
}

.hb {
  display: flex;
  gap: 0.5rem;
}

.btn {
  background: rgb(55, 65, 81);
  color: #fff;
  padding: 0.625rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  display: flex;
  transition: 0.15s;
}

.btn:hover {
  background: rgb(75, 85, 99);
}

.container {
  padding: 1rem;
  max-width: 72rem;
  margin: 0 auto;
}

.title {
  text-align: center;
  margin-bottom: 2rem;
}

.title h1 {
  font-size: 3rem;
  font-weight: bold;
  color: rgb(31, 41, 55);
  margin-bottom: 0.5rem;
}

.title p {
  color: rgb(75, 85, 99);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  padding: 0.75rem;
  transition: transform 0.15s;
  cursor: pointer;
  border: 2px solid rgb(55, 65, 81);
}

.card:hover {
  transform: scale(1.05);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 0.375rem;
  font-size: 0.75rem;
  opacity: 0.7;
}

.card-id {
  font-family: monospace;
}

.card-stats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.card-text {
  line-height: 1.5;
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.loading {
  text-align: center;
  padding: 4rem;
  color: rgb(75, 85, 99);
  font-size: 1.5rem;
}

.lang {
  font-family: monospace;
  font-size: 0.75rem;
  padding: 0.125rem 0.25rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.25rem;
}

.content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0.75rem;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 50rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.content h1 {
  color: rgb(31, 41, 55);
  margin-bottom: 1rem;
}

.content p {
  color: rgb(55, 65, 81);
  line-height: 1.6;
  margin-bottom: 1rem;
}
