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

body {
  font-family: 'Courier New', Courier, monospace;
  background: #f5f5f3;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.card {
  background: #ffffff;
  border: 1px solid #e0e0dc;
  border-radius: 4px;
  padding: 3rem 3.5rem;
  max-width: 700px;
  width: 100%;
}

.name {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.subtitle {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.nav {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.nav a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #aaa;
  text-decoration: none;
}

.nav a.active {
  color: #1a1a1a;
  font-weight: bold;
}

.nav a:hover {
  color: #555;
}

hr {
  border: none;
  border-top: 1px solid #e8e8e4;
  margin: 1rem 0 2rem;
}

.block { margin-bottom: 0.6rem; }
.block:last-child { margin-bottom: 0; }

.label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #aaa;
  margin-bottom: 0.4rem;
}

.value {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333;
}

.value a {
  color: #333;
  text-decoration: none;
}

.chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chip {
  font-size: 0.85rem;
  background: #f5f5f3;
  border: 1px solid #e0e0dc;
  border-radius: 2px;
  padding: 0.2rem 0.6rem;
  color: #555;
  text-decoration: none;
}

.chip:hover {
  background: #ececea;
}

.privacy {
  font-size: 0.8rem;
  color: #999;
  line-height: 1.7;
  margin-top: 1rem;
}

.post {
  margin-bottom: 2.2rem;
}

.post:last-child {
  margin-bottom: 0;
}

.post-date {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #aaa;
  margin-bottom: 0.4rem;
}

.post-title {
  font-size: 1.05rem;
  font-weight: bold;
  margin-bottom: 0.6rem;
}

.post-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 0.8rem;
  white-space: pre-line;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e4;
  font-size: 0.8rem;
}

.pagination a {
  color: #555;
  text-decoration: none;
}

.pagination a:hover {
  color: #1a1a1a;
}

.pagination .disabled {
  color: #ccc;
}

.pagination .page-info {
  color: #aaa;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
}

.input {
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #e0e0dc;
  border-radius: 2px;
  padding: 0.5rem 0.6rem;
}

.input:focus {
  outline: none;
  border-color: #bbb;
}

textarea.input {
  resize: vertical;
  line-height: 1.5;
}

.button {
  font-family: inherit;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1a1a1a;
  background: #f5f5f3;
  border: 1px solid #e0e0dc;
  border-radius: 2px;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.button:hover {
  background: #ececea;
}

.button-secondary {
  color: #888;
}

.form-error {
  font-size: 0.8rem;
  color: #b3413e;
  margin-bottom: 0.8rem;
}

.form-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #aaa;
  margin-bottom: 1rem;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.admin-form-actions {
  display: flex;
  gap: 0.6rem;
}

.admin-post {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #e8e8e4;
}

.admin-post:last-child {
  border-bottom: none;
}

.admin-post-info .post-date {
  margin-bottom: 0.2rem;
}

.admin-post-info .post-title {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.admin-post-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
