/* Форум app-s.ru (архив 2013–2015). Стиль согласован с остальным сайтом:
   тот же каркас #casing, системный шрифт, акцент #DC4300. */

.forum-page { max-width: 980px; margin: 0 auto; padding: 0 12px 40px; }

.f-wrap { padding-top: 8px; }

.f-h1 {
  font: 700 26px/1.25 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 8px 0 16px; color: #111;
}
@media (max-width: 640px) { .f-h1 { font-size: 21px; } }

/* плашка «это архив» */
.f-archbar {
  margin: 0 0 16px; padding: 10px 14px;
  background: #fff8f0; border: 1px solid #f0d9c0; border-left: 4px solid #DC4300;
  border-radius: 6px; font: 400 14px/1.5 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #6b4a2a;
}

.f-crumbs {
  font: 400 13px/1.5 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #777; margin: 0 0 4px;
}
.f-crumbs a { color: #DC4300; text-decoration: none; }
.f-crumbs a:hover { text-decoration: underline; }

/* таблицы разделов и тем */
.f-table {
  width: 100%; border-collapse: collapse; margin: 0 0 16px;
  font: 400 14px/1.45 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.f-table thead th {
  text-align: left; font-weight: 600; font-size: 12.5px; letter-spacing: .02em;
  text-transform: uppercase; color: #888; padding: 8px 10px; border-bottom: 2px solid #e8e8e8;
  white-space: nowrap;
}
.f-table td { padding: 10px; border-bottom: 1px solid #eee; vertical-align: top; }
.f-table tbody tr:hover { background: #fafafa; }
.f-table .f-num { text-align: center; width: 84px; color: #555; white-space: nowrap; }
.f-last { width: 190px; color: #555; }
.f-when { color: #999; font-size: 12px; margin-top: 2px; }

.f-catname a { font-weight: 600; color: #1a4f8a; text-decoration: none; }
.f-catname a:hover { color: #DC4300; text-decoration: underline; }
.f-catdescr { color: #777; font-size: 12.5px; margin-top: 3px; }
.f-catdescr-top { margin: -8px 0 14px; }

.f-topicname a { color: #1a4f8a; text-decoration: none; font-weight: 500; }
.f-topicname a:hover { color: #DC4300; text-decoration: underline; }
.f-replies, .f-pgcount {
  display: inline-block; margin-left: 8px; font-size: 11.5px; color: #999;
  background: #f2f2f2; border-radius: 10px; padding: 1px 8px; vertical-align: 1px;
}
.f-author { color: #555; white-space: nowrap; }

/* посты */
.f-posts { margin: 8px 0 20px; }
.f-post {
  border: 1px solid #e6e6e6; border-radius: 8px; margin: 0 0 12px; background: #fff;
  overflow: hidden;
}
.f-post-head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 14px; background: #f7f7f7; border-bottom: 1px solid #e6e6e6;
  font: 400 12.5px/1.4 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.f-post-author { font-weight: 600; color: #222; font-size: 13.5px; }
.f-guest {
  font-size: 11px; color: #8a6d3b; background: #fcf8e3;
  border: 1px solid #f0e0b0; border-radius: 9px; padding: 0 7px;
}
.f-post-num { color: #999; text-decoration: none; }
.f-post-num:hover { color: #DC4300; }
.f-post-date { margin-left: auto; color: #999; white-space: nowrap; }

.f-post-body {
  padding: 14px; font: 400 15px/1.6 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #222; word-wrap: break-word; overflow-wrap: anywhere;
}
.f-post-body a { color: #1a4f8a; }
.f-post-body a:hover { color: #DC4300; }
.f-post-body b, .f-post-body strong { font-weight: 600; }
.f-post-body blockquote {
  margin: 8px 0; padding: 6px 12px; border-left: 3px solid #ddd;
  background: #fafafa; color: #555;
}
.f-post-body pre, .f-post-body code {
  background: #f5f5f5; border-radius: 4px; padding: 2px 6px;
  font: 13px/1.5 ui-monospace, Consolas, monospace;
}

/* пагинация */
.f-pager {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px;
  margin: 16px 0; padding: 0;
  font: 400 13.5px/1 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.f-pager li a, .f-pager li span {
  display: inline-block; min-width: 34px; text-align: center;
  padding: 7px 10px; border: 1px solid #ddd; border-radius: 6px;
  color: #1a4f8a; text-decoration: none; background: #fff;
}
.f-pager li a:hover { border-color: #DC4300; color: #DC4300; }
.f-pager li span.on {
  background: #DC4300; border-color: #DC4300; color: #fff; font-weight: 600;
}
.f-pager li.gap span { border: 0; color: #999; }
.f-pager-top { margin-top: 0; }

.f-archnote { color: #999; font-size: 12.5px; margin-top: 18px; }
.f-topicmeta { color: #777; font-size: 13px; margin: -6px 0 12px; }

@media (max-width: 640px) {
  .f-table thead th:nth-child(2), .f-table td.f-author,
  .f-table thead th:nth-child(3), .f-table .f-num { display: none; }
  .f-table thead th:last-child, .f-table td.f-last { display: none; }
  .f-post-head { padding: 7px 10px; }
  .f-post-body { padding: 11px; font-size: 14.5px; }
}
