body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem 3rem;
  line-height: 1.5;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.feeds {
  margin-top: 1rem;
}

.feed {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.feed-main {
  flex: 1 1 auto;
  min-width: 200px;
}

.feed-name {
  font-weight: 600;
}

.feed-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.85rem;
  word-break: break-all;
  color: #444;
}

.buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.4rem;
}

button.copy-btn {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 0.8rem;
  white-space: nowrap;
}

button.copy-btn:hover {
  background: #e9e9e9;
}

.error-box {
  margin-top: 1.5rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: #fff3f3;
  border: 1px solid #ffcdd2;
  font-size: 0.85rem;
}

.error-box code,
.error-box pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
