body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
}

*, *::before, *::after {
  box-sizing: border-box;
}

a {
  color: var(--g);
}

.page {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
}

.nav a {
  color: var(--text-3);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.mark {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--text) !important;
  letter-spacing: -0.3px;
}

.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--g);
  border-radius: var(--radius-full);
  margin: 0 0.5px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.nav-r {
  display: flex;
  gap: 18px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
}

.nav-cta {
  background: var(--g);
  color: #fff !important;
  padding: 5px 13px;
  border-radius: var(--radius-base);
  font-weight: 500;
}

.nav-cta:hover {
  opacity: 0.88;
}

.content {
  padding: var(--space-9) 0;
}

.content h1 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: var(--space-7);
  color: var(--text);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 14px;
}

.card p {
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.6;
}

.btn-fill {
  display: inline-block;
  background: var(--g);
  color: #fff;
  padding: 7px 18px;
  border-radius: var(--radius-base);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-fill:hover {
  opacity: 0.88;
  text-decoration: none;
}

.paste-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input {
  background: var(--well);
  border: 1px solid var(--line);
  border-radius: var(--radius-base);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  padding: 8px 12px;
  outline: none;
}

.input:focus {
  border-color: var(--g);
}

.select {
  max-width: 200px;
}

.editor {
  background: var(--well);
  border: 1px solid var(--line);
  border-radius: var(--radius-base);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  padding: 12px;
  resize: vertical;
  min-height: 300px;
  outline: none;
  tab-size: 4;
}

.editor:focus {
  border-color: var(--g);
}

.paste-meta {
  margin-bottom: var(--space-5);
}

.paste-meta h1 {
  margin-bottom: var(--space-3);
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
}

.meta-tag {
  background: var(--g-pale);
  color: var(--g);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.meta-sep {
  color: var(--text-4);
}

.paste-content {
  background: var(--well);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.paste-content pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
}

.paste-content code {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
}

.inline-form {
  display: inline;
}

.link-btn {
  background: none;
  border: none;
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}

.delete-btn {
  color: #c44;
}

.delete-btn:hover {
  text-decoration: underline;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
}

.table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-f);
  color: var(--text-2);
}

.table a {
  color: var(--g);
  text-decoration: none;
}

.table a:hover {
  text-decoration: underline;
}

.mono {
  font-family: var(--mono);
}

@media (max-width: 640px) {
  .nav-r {
    gap: 12px;
    font-size: 11px;
  }

  .meta-row {
    flex-wrap: wrap;
  }
}
