.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(20, 20, 20, 0.8);
  border-radius: 1rem;
  border: 2px solid #c0a080;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.title {
  color: #c0a080;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2em;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  font-family: 'Crimson Text', serif;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.loading {
  text-align: center;
  padding: 2rem;
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  color: #c0a080;
}

.errorContainer {
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background: rgba(139, 0, 0, 0.2);
  border: 1px solid #8b0000;
}

.error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ff9999;
  font-family: 'Crimson Text', serif;
}

.infoButton {
  background: none;
  border: none;
  color: #c0a080;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  transition: color 0.2s;
}

.infoButton:hover {
  color: #ffd700;
}

.setup {
  background: #2a2a2a;
  border-radius: 8px;
  padding: 24px;
  color: #ffffff;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: 'Crimson Text', serif;
}

.setup h2 {
  margin-top: 0;
  color: #4caf50;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cinzel', serif;
}

.setup code {
  background: #1a1a1a;
  padding: 2px 6px;
  border-radius: 4px;
  color: #2196f3;
}

.setup pre {
  background: #1a1a1a;
  padding: 12px;
  border-radius: 4px;
  overflow-x: auto;
  color: #2196f3;
  margin: 12px 0;
}

.setup ol {
  padding-left: 20px;
  line-height: 1.6;
  font-family: 'Crimson Text', serif;
}

.setup li {
  margin-bottom: 12px;
}

.notice {
  background-color: #2a2a2a;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
  font-family: 'Crimson Text', serif;
}

.statusIcon {
  font-size: 1.2em;
}

.toggleButton {
  background-color: #3a3a3a;
  border: 1px solid #4a4a4a;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
  white-space: nowrap;
  min-width: 100px;
  transition: background-color 0.2s ease;
  font-family: 'Crimson Text', serif;
}

.toggleButton:hover {
  background-color: #4a4a4a;
}

.help {
  color: #cccccc;
  background-color: #1a1a1a;
  border-radius: 4px;
  padding: 16px;
  margin-top: 16px;
  font-family: 'Crimson Text', serif;
}

.help p {
  margin: 0 0 12px 0;
  color: #ffffff;
}

.help ol {
  margin: 0;
  padding-left: 20px;
  font-family: 'Crimson Text', serif;
}

.help li {
  margin: 12px 0;
  line-height: 1.4;
}

.help code {
  background-color: #2a2a2a;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9em;
  color: #c0a080;
}

.code {
  background-color: #2a2a2a;
  padding: 12px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9em;
  margin: 8px 0;
  display: block;
  white-space: pre;
  color: #c0a080;
}

.link {
  color: #66b3ff;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.instructions {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0.5rem;
  font-family: 'Crimson Text', serif;
}

.instructions h3 {
  color: #ffd700;
  margin-top: 0;
  font-family: 'Cinzel', serif;
}

.instructions ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: #e0d0b0;
}

.instructions li {
  margin-bottom: 0.5rem;
}

.instructions code {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.4rem;
  border-radius: 0.3rem;
  font-family: monospace;
  color: #c0a080;
}

.instructions pre {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  color: #c0a080;
  margin: 0.5rem 0;
}

.instructions a {
  color: #0070dd;
  text-decoration: none;
  transition: color 0.2s;
}

.instructions a:hover {
  color: #00a0ff;
}

.empty {
  color: #cccccc;
  text-align: center;
  padding: 40px;
  font-style: italic;
  grid-column: 1 / -1;
  font-family: 'Crimson Text', serif;
}
