* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #f5f5f0;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.6;
}

header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 56px;
}

.logo {
  font-weight: 800;
  font-size: 1.1rem;
}

.logo span {
  color: #5b6ef5;
}

nav a {
  font-size: 0.875rem;
  color: #666;
  text-decoration: none;
  margin-left: 1.25rem;
}

nav a:hover {
  color: #5b6ef5;
}

main {
  max-width: 680px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #888;
}

.sep {
  color: #ccc;
}

.tag {
  background: #eef;
  color: #5b6ef5;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-weight: 600;
}

.title {
  font-size: 1.4rem;
  font-weight: 700;
}

.paste {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.paste-bar {
  background: #f0f0ec;
  border-bottom: 1px solid #ddd;
  padding: 0.4rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.paste-lang {
  font-size: 0.7rem;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.08em;
}

.copy-btn {
  font-size: 0.75rem;
  background: none;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 0.15rem 0.5rem;
  cursor: pointer;
  color: #555;
}

.copy-btn:hover {
  background: #e8e8e4;
}

.paste-body {
  background: #fff;
  padding: 1.25rem;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  word-break: break-all;
  white-space: pre-wrap;
  color: #1a1a1a;
}

.note {
  font-size: 0.85rem;
  color: #aaa;
  font-style: italic;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: #aaa;
  border-top: 1px solid #ddd;
  margin-top: 4rem;
}
