:root {
  --bg: #f4ede2;
  --panel: #fffaf3;
  --head: #6b4a3a;
  --accent: #b5652f;
  --accent-soft: #f1dfcc;
  --text: #3a2e28;
  --muted: #8a776a;
  --line: #e7d8c4;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

.top { background: var(--head); color: #fbefe3; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font: 700 26px/1 Georgia, "Times New Roman", serif; }
.logo:hover { text-decoration: none; }
.logo img { width: 34px; height: 34px; }
.logo small { display: block; font: 400 12px/1.2 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #e9d3bf; margin-top: 4px; }
.nav { display: flex; gap: 18px; font-size: 14px; flex-wrap: wrap; }
.nav a { color: #fbefe3; }

.crumbs { margin: 18px 0 10px; font-size: 13px; color: var(--muted); }
.notice { background: var(--accent-soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin: 16px 0; font-size: 14px; }

.box { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; margin: 16px 0; overflow: hidden; }
.box h2 { margin: 0; padding: 11px 16px; font: 600 15px/1.4 Georgia, serif; background: #efe2d1; border-bottom: 1px solid var(--line); color: var(--head); }
.row { display: grid; grid-template-columns: 42px minmax(0, 1fr) 90px 100px minmax(0, 220px); gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row.head { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding-top: 8px; padding-bottom: 8px; }
.ico { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.title a { font-weight: 600; font-size: 15px; }
.title p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.num { text-align: center; font-size: 14px; }
.last { font-size: 13px; color: var(--muted); line-height: 1.45; }
.last a { font-weight: 500; }

.stats { padding: 14px 16px; font-size: 14px; }
.stats p { margin: 4px 0; }

.post { display: grid; grid-template-columns: 150px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.post:last-child { border-bottom: 0; }
.author { padding: 16px; background: #fbf3e8; border-right: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.author b { display: block; color: var(--text); font-size: 14px; margin-top: 8px; }
.ava { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; }
.body { padding: 14px 18px; }
.meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.body p { margin: 0 0 10px; }
.quote { border-left: 3px solid var(--accent); background: #f8efe3; padding: 8px 12px; margin: 0 0 10px; font-size: 14px; color: #5b4a40; }

.page { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; margin: 16px 0; }
.page h1 { font: 600 22px/1.3 Georgia, serif; color: var(--head); margin: 0 0 12px; }
.page ol { padding-left: 20px; }

.foot { color: var(--muted); font-size: 13px; text-align: center; padding: 26px 16px 40px; }

@media (max-width: 760px) {
  .row { grid-template-columns: 36px minmax(0, 1fr); }
  .row .num, .row .last, .row.head { display: none; }
  .post { grid-template-columns: 1fr; }
  .author { border-right: 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
  .author b { margin: 0; }
}
