@charset "UTF-8";
.content-body {
  position: relative;
  padding-bottom: 0px;
  color: #333;
}
.content-body img {
  width: 100%;
}
.content-body table {
  width: 100%;
}
.content-body table td,
.content-body table th {
  border: 1px solid #ccc;
  padding: 2px 5px;
}
.content-body p {
  margin: 0 0 5px;
}
.content-body h1 {
  font-size: 24px;
  margin: 10px 0px;
  color: #1865a7;
  border-bottom: 1px solid #ccc;
  border-left: 5px solid #1865a7;
  padding-left: 10px;
  padding-bottom: 5px;
  padding-top: 5px;
}
.content-body h2 {
  font-size: 22px;
  margin: 8px 1px;
  color: #337ab7;
  border-bottom: 1px solid #ccc;
  border-left: 4px solid #337ab7;
  padding-left: 10px;
  padding-bottom: 4px;
  padding-top: 4px;
}
.content-body h3 {
  font-size: 20px;
  margin: 6px 2px;
  color: #5bb0de;
  border-left: 5px solid #5bb0de;
  padding-left: 10px;
  padding-bottom: 3px;
}
.content-body h4 {
  font-size: 18px;
  margin: 5px 3px;
  color: #74c0d6;
  border-left: 5px solid #337ab7;
  padding-left: 10px;
  padding-bottom: 2px;
}
.content-body h5 {
  font-size: 16px;
  margin: 5px 4px;
  color: #97d2ef;
  border-left: 5px solid #337ab7;
  padding-left: 10px;
}
.content-body h6 {
  font-size: 14px;
  margin: 5px 5px;
  color: #acd3ef;
  border-left: 5px solid #337ab7;
  padding-left: 10px;
}

.social-share.share-component {
  right: 0px;
  bottom: 0px;
  text-align: right;
}
.social-share.share-component p {
  margin-bottom: 0px;
}

.social-share .social-share-icon {
  width: 20px;
  height: 20px;
  font-size: 12px;
  line-height: 20px;
}

.share {
  position: relative;
}
.share .social-share {
  display: inline-block;
}

.smily-panel {
  position: absolute;
  right: 100px;
  top: 50px;
  width: 250px;
  height: 250px;
  z-index: 10;
  opacity: 0.9;
}

img.emoji {
  width: 20px;
  height: 20px;
  margin: 2px;
}

.twemoji-picker-category span,
.twemoji-list span {
  display: inline-block;
  padding: 5px;
  cursor: pointer;
}

.twemoji-picker-category {
  background-color: #eee;
  border-left: 5px solid #2196f3;
}
.twemoji-picker-category span.active {
  background-color: #333;
}
.twemoji-picker-category .close {
  padding: 5px 10px;
}

.twemoji-list {
  background-color: #d9edf7;
  overflow-y: auto;
  height: 200px;
}

.blog-content {
  font-size: 16px;
  line-height: 36px;
  padding: 10px 20px;
}
.blog-content img {
  width: 100%;
}
.blog-content img.emoji {
  width: 20px;
}

.blog-xs {
  position: fixed;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
}
.blog-xs .bleft,
.blog-xs .bmid {
  position: fixed;
  width: 40px;
  left: 0px;
  top: 0px;
  bottom: 0px;
  background-color: #EEE;
}
.blog-xs .bleft .top,
.blog-xs .bleft .bottom,
.blog-xs .bmid .top,
.blog-xs .bmid .bottom {
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0px;
  width: 40px;
  bottom: 10px;
}
.blog-xs .bleft .top a,
.blog-xs .bleft .bottom a,
.blog-xs .bmid .top a,
.blog-xs .bmid .bottom a {
  display: inline-block;
  padding: 5px;
}
.blog-xs .bleft .top,
.blog-xs .bmid .top {
  top: 10px;
  bottom: auto;
  word-wrap: break-word;
  padding: 8px;
}
.blog-xs .bleft .top img,
.blog-xs .bmid .top img {
  width: 20px;
  height: 20px;
  margin-bottom: 10px;
}
.blog-xs .bmid {
  position: fixed;
  left: 40px;
  width: 300px;
  box-shadow: 1px 1px 1px #ccc;
  background-color: #fff;
}
.blog-xs .bmid p.avatar {
  margin-top: 20px;
}
.blog-xs .bmid p.avatar img.avatar {
  border: 5px solid #FFF;
}
.blog-xs .bmid div.bottom {
  position: absolute;
  bottom: 20px;
  width: 300px;
  left: 0px;
  padding-right: 20px;
}
.blog-xs .bmid div.bottom .profile-intro:before {
  content: "“";
  font-size: 20px;
  color: #888;
  line-height: 0;
  display: inline-block;
  margin: 0 6px 0 0;
}
.blog-xs .bmid div.bottom .profile-intro {
  margin: 10px 20px;
  box-shadow: 1px 1px 1px #777;
  height: 62px;
  padding: 10px;
  background-color: #ddd;
  color: #111;
  border-radius: 50%;
  font-weight: 700;
  text-shadow: 1px 1px 1px #ccc;
}
.blog-xs .bmid div.bottom .profile-intro:after {
  content: " ”";
  font-size: 20px;
  color: #888;
  line-height: 0;
  display: inline-block;
  margin: 0 0 0 4px;
}
.blog-xs .bmid h1 {
  color: #888;
}
.blog-xs .bright {
  position: fixed;
  top: 0px;
  bottom: 0px;
  right: 0;
  left: 340px;
  overflow-y: auto;
}

.blog h1,
.blog-xs h1 {
  font-size: 28px;
}
.blog h2,
.blog-xs h2 {
  font-size: 26px;
}
.blog h3,
.blog-xs h3 {
  font-size: 24px;
}
.blog h4,
.blog-xs h4 {
  font-size: 22px;
}
.blog h5,
.blog-xs h5 {
  font-size: 20px;
}
.blog h6,
.blog-xs h6 {
  font-size: 18px;
}
.blog .profile,
.blog-xs .profile {
  padding: 15px;
}
.blog img.avatar,
.blog-xs img.avatar {
  width: 80px;
  height: 80px;
  border-radius: 100px;
  border: 1px solid #ccc;
}
.blog .profile p,
.blog-xs .profile p {
  margin-left: 10px;
}
.blog .profile p a,
.blog-xs .profile p a {
  font-size: 21px;
  color: #2f2f2f;
}
.blog h1 a.text-muted,
.blog-xs h1 a.text-muted {
  color: #777;
}
.blog h1.title,
.blog-xs h1.title {
  padding-bottom: 10px;
}
.blog .text-bright-gray,
.blog-xs .text-bright-gray {
  color: #ccc;
}
.blog .blog-title,
.blog-xs .blog-title {
  font-weight: 700;
}
.blog .container-fluid.blog,
.blog-xs .container-fluid.blog {
  padding: 0 30px;
}
.blog .cover,
.blog-xs .cover {
  width: 160px;
}
.blog .glyphicon-picture.cover,
.blog-xs .glyphicon-picture.cover {
  font-size: 100px;
  color: #888;
}
.blog .blog-item,
.blog-xs .blog-item {
  border-bottom: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 5px;
}

.tag {
  position: relative;
}
.tag .controller {
  float: right;
}

.categories {
  height: 25px;
}

.category-box {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.category-box > img {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
}
.category-box > span {
  text-align: center;
  text-shadow: 1px 1px 1px #ccc;
  font-size: 20px;
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
  line-height: 64px;
  overflow: hidden;
}
.category-box a > span {
  text-align: center;
  font-size: 20px;
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
  line-height: 64px;
}

.points {
  position: relative;
  text-align: center;
  color: #ccc;
  font-size: 10px;
  line-height: 12px;
}
.points > span.points {
  display: inline-block;
  font-size: 14px;
  line-height: 20px;
  color: #333;
}

.app-body .media-left.points {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  min-width: 30px;
  gap: 2px;
}

.app-body .media-left.points > span {
  display: block;
}

.category-image {
  height: 16px;
}

.category-badge:hover {
  background-color: #333;
}

a.category {
  text-decoration: none;
}

.category-title-image {
  display: inline-block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
}

.thread {
  position: relative;
}

.text-red {
  color: #d9534f;
}

.text-green {
  color: #5cb85c;
}

.text-bright-gray {
  color: #ccc;
}

.app-body .text-bright-gray {
  font-size: 13px;
  line-height: 1.5;
}

.app-body .text-bright-gray > div {
  white-space: nowrap;
}

.app-body .text-bright-gray br.visible-xs {
  display: none !important;
}

.app-body .text-bright-gray img {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  object-fit: cover;
}

.text-bright-gray .text-info {
  white-space: nowrap;
}

.text-dark-gray {
  color: #333;
}

.badge-danger {
  background-color: #c12e2a;
}

.badge-sup {
  display: inline;
  font-size: 5px;
  font-weight: normal;
  padding: 1px 5px;
}

.navbar-brand > img.nav-brand-image {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-left: 5px;
  margin-right: 10px;
  margin-top: -3px;
}

.gurus > div {
  display: inline-block;
  padding: 3px 15px 3px 5px;
  margin: 3px;
}
.gurus > div button.close {
  left: 10px;
  top: -3px;
}

.bg-light-gray {
  background-color: #F9F9F9;
}

.bg-light-blue {
  background-color: #FAFAFF;
}

.redenvelope-info {
  margin: 3px 20px 0px 20px;
}

.qrcode256x256 {
  width: 100%;
  max-width: 250px;
}

div.info-bar {
  padding-left: 15px;
  padding-right: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}
div.info-bar * {
  line-height: 20px;
}
div.info-bar form {
  display: inline-block;
}
div.info-bar form button[type=submit].btn {
  margin: 0 5px;
  padding: 0 10px;
}
div.info-bar form button[type=submit].btn i {
  padding: 0 3px;
}
div.info-bar form .btn-xs {
  margin: 0 5px;
  padding: 0 10px;
}
div.info-bar form .btn-xs i {
  padding: 0 3px;
}

p.thread-title {
  margin: 0;
  padding: 0;
  border: 0;
}

.app-body .pagination {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 16px 0;
  padding-left: 0;
  list-style: none;
}

.app-body .pagination .page-link,
.app-body .pagination > li:not(.page-item) > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--forim-border);
  border-radius: 6px;
  background: var(--forim-surface);
  color: var(--forim-primary);
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
}

.app-body .pagination .page-link:hover,
.app-body .pagination > li:not(.page-item) > a:hover {
  border-color: var(--forim-primary-border);
  background: var(--forim-primary-soft);
  color: var(--forim-primary-dark);
}

.app-body .pagination .page-item.active .page-link,
.app-body .pagination > li.active:not(.page-item) > a {
  border-color: var(--forim-primary);
  background: var(--forim-primary);
  color: #fff;
}

.app-body .pagination .page-item.disabled .page-link,
.app-body .pagination > li.disabled:not(.page-item) > a {
  border-color: var(--forim-border);
  background: var(--forim-bg);
  color: var(--forim-muted);
  opacity: .65;
  pointer-events: none;
}

.app-body .pagination .page-link i {
  font-size: 12px;
}

.text-thread-title {
  font-weight: 700;
  color: #666;
}

.post-indicator {
  display: inline-block;
}

.post-indicator form,
.indicator form {
  display: inline-block;
}
.post-indicator form input[type=button].nocolor,
.post-indicator form button.nocolor,
.indicator form input[type=button].nocolor,
.indicator form button.nocolor {
  text-shadow: 1px 1px 1px #444;
  background-color: inherit;
  color: #333;
  border: 0;
  padding: 0;
  margin: 0 5px;
}

code[class*=language-],
pre[class*=language-] {
  font-family: monospace;
}

.CodeMirror .cm-spell-error:not(.cm-url):not(.cm-comment):not(.cm-tag):not(.cm-word) {
  background: inherit;
}

.navbar-default .navbar-nav > li > a.btn-link {
  border: 1px solid var(--forim-border);
  box-shadow: none;
  padding-top: 4px;
  padding-bottom: 4px;
  margin-right: 5px;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 5px;
}

.navbar-default .navbar-nav > li > a.btn-link > i {
  color: #5bc0de;
  padding-right: 5px;
}

.thread-title h1 {
  font-weight: 700;
  padding: 0;
  margin: 0;
  display: inline;
  font-size: 16px;
  text-align: right;
  margin-left: 5px;
}

.no-margin {
  margin: 0;
}

.no-padding {
  padding: 0;
}

.post-avatar {
  width: 32px;
  height: 32px;
  margin: 5px;
}

.blog-carousel {
  margin-bottom: 20px;
  height: 128px;
}

.post-avatar-list {
  width: 46px;
  text-align: center;
}
.thread-replies .post-avatar-list {
  width: 50px;
  padding-right: 6px;
}
.post-vote {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 6px;
}
.post-avatar-list .post-vote-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.post-avatar-list .post-vote-form--dislike {
  margin-top: 0;
}
.app-body .post-avatar-list .post-vote-btn {
  --tri-up: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2044%2028'%3E%3Cpath%20d='M20.4%204.8Q22%201.8%2023.6%204.8L40.2%2022.9Q42.2%2026%2038.4%2026H5.6Q1.8%2026%203.8%2022.9Z'%20fill='none'%20stroke='%23000'%20stroke-width='1.5'%20stroke-linejoin='round'/%3E%3C/svg%3E");
  --tri-down: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2044%2028'%3E%3Cpath%20d='M5.6%202Q1.8%202%203.8%205.1L20.4%2023.2Q22%2026.2%2023.6%2023.2L40.2%205.1Q42.2%202%2038.4%202Z'%20fill='none'%20stroke='%23000'%20stroke-width='1.5'%20stroke-linejoin='round'/%3E%3C/svg%3E");
  position: relative;
  display: block;
  width: 44px;
  height: 28px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: #4b5563;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -.2px;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease, color .18s ease;
}
.app-body .post-avatar-list .post-vote-btn::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 44px;
  height: 28px;
  transform: translateX(-50%);
  -webkit-mask-image: var(--tri-up);
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-image: var(--tri-up);
  mask-position: center;
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  background-color: var(--forim-primary);
  filter: none;
  transition: background-color .18s ease;
}
.app-body .post-avatar-list .post-like::before {
  background-color: var(--forim-success);
}
.app-body .post-avatar-list .post-dislike {
  color: var(--forim-danger);
}
.app-body .post-avatar-list .post-dislike::before {
  -webkit-mask-image: var(--tri-down);
  mask-image: var(--tri-down);
  background-color: var(--forim-danger);
}
.app-body .post-avatar-list .post-vote-btn .post-vote-count {
  position: absolute;
  left: 0;
  width: 44px;
  color: inherit;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-shadow: none;
  z-index: 1;
}
.app-body .post-avatar-list .post-like .post-vote-count {
  top: auto;
  bottom: 5px;
}
.app-body .post-avatar-list .post-dislike .post-vote-count {
  top: 5px;
  bottom: auto;
}
.app-body .post-avatar-list .post-like .post-vote-count {
  color: var(--forim-success);
}
.app-body .post-avatar-list .post-dislike .post-vote-count {
  color: var(--forim-danger);
}
.app-body .post-avatar-list .post-vote-btn:hover,
.app-body .post-avatar-list .post-vote-btn:focus {
  color: var(--forim-text);
  transform: translateY(-1px);
}
.app-body .post-avatar-list .post-vote-btn:active {
  transform: translateY(0) scale(.96);
}
.app-body .post-avatar-list .post-like:hover::before,
.app-body .post-avatar-list .post-like:focus::before {
  background-color: #2f6b4d;
}
.app-body .post-avatar-list .post-dislike:hover::before,
.app-body .post-avatar-list .post-dislike:focus::before {
  background-color: var(--forim-danger-dark);
}

.text-home {
  color: #009688;
}

.text-location {
  color: #5cb85c;
}

.text-github {
  color: #333;
}

.text-weibo {
  color: #de281b;
}

.text-twitter {
  color: #2196f3;
}

.text-comments {
  color: #4caf50;
}

.text-heart {
  color: #9c27b0;
}

.text-file {
  color: #795548;
}

.text-eye {
  color: #e91e63;
}

.profile-intro {
  margin: 20px auto;
  box-shadow: 1px 1px 1px #ccc;
}

.text-blog-title {
  text-shadow: 1px 1px 1px #607D8B;
}

.thread,
.post {
  word-wrap: break-word;
}

.thread-bottom {
  border-radius: 4px;
}

/* ==========================================================================
   Forim UI refresh: responsive directory sidebar, PWA-friendly layout
   ========================================================================== */
:root {
  --forim-primary: #3f4650;
  --forim-primary-dark: #272c33;
  --forim-bg: #f5f6f8;
  --forim-surface: #fff;
  --forim-border: #e2e6ea;
  --forim-text: #20252b;
  --forim-muted: #6b7280;
  --forim-radius: 12px;
  --forim-shadow: 0 6px 22px rgba(20, 24, 28, .08);
  --forim-primary-soft: #eef0f3;
  --forim-primary-border: #d5dae0;
  --forim-accent: #b9822b;
  --forim-accent-dark: #8a621f;
  --forim-accent-soft: #f8eddb;
  --forim-accent-border: #ead6b4;
  --forim-danger: #b46f6f;
  --forim-danger-dark: #965757;
  --forim-danger-soft: #f7e9e9;
  --forim-danger-border: #ecd0d0;
  --forim-success: #3f8f66;
  --forim-success-soft: #e8f4ee;
}

.text-muted {
  color: var(--forim-muted);
}

.panel-default > .panel-heading {
  border-color: var(--forim-border);
}

.panel-title {
  color: var(--forim-text);
}

.text-success {
  color: var(--forim-success);
}

.text-danger {
  color: var(--forim-danger);
}

.social-share-icon {
  filter: saturate(.72);
  opacity: .88;
}

.social-share-icon:hover {
  filter: saturate(.9);
  opacity: 1;
}

body.app-body {
  background: var(--forim-bg);
  color: var(--forim-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.app-body a,
body.app-body a:hover,
body.app-body a:focus,
body.app-body a:active {
  text-decoration: none;
}

.app-body .login-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.app-body .login-help {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 0;
  color: var(--forim-muted);
  font-size: 12px;
}

.app-body .register-general {
  color: var(--forim-muted);
  line-height: 1.6;
}

.app-body .register-general a {
  margin: 0 4px;
}

.app-body .breadcrumb {
  margin-bottom: 12px;
  font-size: 12px;
}

.app-body .breadcrumb a {
  color: var(--forim-primary);
}

.user-rank-panel .panel-body {
  padding: 6px 16px;
}

.user-rank-empty {
  padding: 28px 0;
  font-size: 13px;
}

.user-rank-list {
  counter-reset: user-rank;
}

.app-body .user-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--forim-border);
  font-size: 13px;
}

.app-body .user-item:last-child {
  border-bottom: 0;
}

.user-rank-list .user-item {
  padding-left: 34px;
}

.user-rank-list .user-item::before {
  counter-increment: user-rank;
  content: counter(user-rank);
  position: absolute;
  left: 0;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--forim-primary-soft);
  color: var(--forim-primary-dark);
  font-size: 12px;
  font-weight: 600;
}

.user-rank-list .user-item:nth-child(-n+3)::before {
  background: var(--forim-primary);
  color: #fff;
}

.app-body .user-item .media-left {
  margin-right: 0;
}

.app-body .user-item-avatar img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.app-body .user-item-body {
  min-width: 0;
  flex: 1 1 auto;
}

.app-body .user-item-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 12px;
}

.app-body .user-item-name {
  color: var(--forim-primary-dark);
  font-size: 14px;
  font-weight: 600;
}

.app-body .user-item-meta {
  color: var(--forim-muted);
  font-size: 12px;
  white-space: nowrap;
}

.app-body .user-item-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 14px;
  margin-top: 5px;
  color: var(--forim-muted);
  font-size: 12px;
}

.app-body .user-item-stat i,
.app-body .user-item-links i {
  margin-right: 4px;
}

.app-body .user-item-links a {
  margin-right: 8px;
  color: var(--forim-muted);
}

.app-body .user-item-links a:hover {
  color: var(--forim-primary);
}

.app-body .user-item-signature {
  flex: 1 1 100%;
  min-width: 0;
  color: var(--forim-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-rank-pagination .pagination {
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  margin-bottom: 4px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 0 0 8px 8px;
  background: var(--forim-primary);
  color: #fff;
  transition: top .15s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

.navbar {
  margin-bottom: 0;
  padding-top: 6px;
  padding-bottom: 6px;
  border: 0;
  border-bottom: 1px solid var(--forim-border);
  border-radius: 0;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 12px rgba(30, 60, 90, .06);
}

.navbar > .container-fluid {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0;
  margin-right: 8px;
  color: var(--forim-primary-dark);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}

.navbar .navbar-brand > img.nav-brand-image {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  margin: 0;
  border-radius: 6px;
  object-fit: contain;
}

/* Keep the logo and the site name on the exact same horizontal centre line. */
.navbar .navbar-brand-text {
  display: inline-flex;
  align-items: center;
  height: 24px;
  line-height: 24px;
}

.navbar .navbar-nav > li > a {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 7px 9px;
  color: var(--forim-text);
  font-size: 13px;
  line-height: 1.3;
}

.navbar .navbar-nav > li > a:hover,
.navbar .navbar-nav > li > a:focus {
  color: var(--forim-primary);
}

.navbar .navbar-nav > li > a > i.fa {
  margin-right: 6px;
}

.navbar .dropdown-toggle::after {
  margin-left: 6px;
}

.app-body .dropdown-menu {
  padding: 6px 0;
  border: 1px solid var(--forim-border);
  border-radius: 10px;
  box-shadow: var(--forim-shadow);
  font-size: 13px;
}

.app-body .dropdown-menu > li > .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  color: var(--forim-text);
  white-space: nowrap;
}

.app-body .dropdown-menu > li > .dropdown-item:hover,
.app-body .dropdown-menu > li > .dropdown-item:focus {
  background: var(--forim-primary-soft);
  color: var(--forim-primary-dark);
}

.app-body .dropdown-menu > li > .dropdown-item > i.fa {
  width: 14px;
  text-align: center;
}

@media (min-width: 992px) {
  .navbar .navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 auto;
    min-width: 0;
  }
}

.navbar .navbar-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin: 0;
}

.navbar .navbar-form .form-group {
  margin-bottom: 0;
}

.navbar .navbar-form .form-control {
  width: 140px;
  min-width: 0;
  height: 34px;
  font-size: 13px;
}

.navbar .navbar-form .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 4px 14px;
  font-size: 13px;
}

.navbar .navbar-nav {
  flex-wrap: nowrap;
  gap: 2px;
  margin: 0;
}

.nav-search {
  margin-top: 10px;
  margin-bottom: 10px;
}

.nav-search .form-control {
  min-width: 220px;
  border-radius: 999px;
  border-color: var(--forim-border);
  box-shadow: none;
}

.nav-search .form-control:focus {
  border-color: var(--forim-primary);
  box-shadow: 0 0 0 3px rgba(47, 127, 191, .12);
}

.app-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr) 268px;
  gap: 18px;
  align-items: start;
  max-width: 1440px;
  margin: 18px auto;
  padding: 0 16px;
}

.app-main {
  min-width: 0;
}

.app-main .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.catalog-sidebar,
.app-rail {
  position: sticky;
  top: 72px;
}

.catalog-toggle {
  display: none;
}

.catalog-overlay {
  position: fixed;
  inset: 0;
  z-index: 1030;
  background: rgba(14, 30, 45, .45);
  backdrop-filter: blur(2px);
}

[hidden] {
  display: none !important;
}

.catalog-panel {
  overflow: hidden;
  border: 1px solid var(--forim-border);
  border-radius: var(--forim-radius);
  background: var(--forim-surface);
  box-shadow: var(--forim-shadow);
}

.catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--forim-border);
  color: var(--forim-text);
  background: #f9fbfd;
}

.catalog-header a {
  color: var(--forim-text);
  text-decoration: none;
}

.catalog-home {
  font-weight: 600;
}

.catalog-home .fa-home {
  margin-right: 6px;
  color: var(--forim-primary);
}

.catalog-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--forim-border);
  border-radius: 8px;
  background: #fff;
  color: var(--forim-muted);
}

.catalog-add:hover,
.catalog-add:focus {
  border-color: #bcd7ec;
  background: #f2f8fd;
  color: var(--forim-primary);
  text-decoration: none;
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f2f5f8;
  color: var(--forim-muted);
}

.catalog-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--forim-text);
}

.catalog-root-list,
.catalog-children {
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-item {
  border-top: 1px solid #eef2f6;
}

.catalog-summary,
.catalog-leaf {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  cursor: pointer;
}

.catalog-summary::-webkit-details-marker {
  display: none;
}

.catalog-summary::marker {
  content: '';
}

.catalog-summary:hover,
.catalog-leaf:hover {
  background: #f7fafc;
}

.catalog-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--forim-text);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-label:hover {
  color: var(--forim-primary);
}

.catalog-label.is-active {
  color: var(--forim-primary);
  font-weight: 600;
}

.catalog-icon,
.catalog-favicon {
  flex: 0 0 16px;
  width: 16px;
  color: var(--forim-primary);
}

.catalog-favicon {
  height: 16px;
  object-fit: contain;
}

.catalog-count {
  padding: 1px 7px;
  border-radius: 999px;
  background: #edf3f8;
  color: var(--forim-muted);
  font-size: 11px;
}

.catalog-external {
  color: var(--forim-muted);
}

.catalog-children {
  padding-left: 14px;
  background: #fafbfd;
}

.catalog-empty {
  padding: 18px 12px;
  color: var(--forim-muted);
  text-align: center;
}

.app-main .panel {
  margin-bottom: 16px;
  border: 1px solid var(--forim-border);
  border-radius: var(--forim-radius);
  background: var(--forim-surface);
  box-shadow: var(--forim-shadow);
}

.app-main .panel-heading {
  border-bottom: 1px solid var(--forim-border);
  border-radius: var(--forim-radius) var(--forim-radius) 0 0;
  background: #f9fbfd;
}

.app-main .panel-footer {
  border-top: 1px solid var(--forim-border);
  background: #f9fbfd;
}

.app-rail .panel {
  border: 1px solid var(--forim-border);
  border-radius: var(--forim-radius);
  box-shadow: var(--forim-shadow);
}

.app-body .btn {
  border-radius: 6px;
}

.app-body .form-control {
  border-color: var(--forim-border);
  box-shadow: none;
}

.app-body .form-control:focus {
  border-color: var(--forim-primary);
  box-shadow: 0 0 0 3px rgba(47, 127, 191, .12);
}

.content-body img,
.post img,
.thread img {
  max-width: 100%;
  height: auto;
}

.content-body table,
.post table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.content-body pre,
.post pre {
  max-width: 100%;
  overflow-x: auto;
  border-radius: 8px;
}

.navbar-static-bottom {
  margin-top: 24px;
  border-top: 1px solid var(--forim-border);
  background: var(--forim-surface);
}

.navbar-static-bottom > .container {
  display: block;
}

.navbar-static-bottom .row {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  flex-wrap: nowrap;
  align-items: center;
}

.navbar-static-bottom .row > [class*="col-"] {
  flex: 0 0 auto;
  width: auto;
  padding-left: 0;
  padding-right: 0;
}

.navbar-static-bottom .row > [class*="col-"]:last-child {
  margin-left: auto;
}

.navbar-static-bottom .navbar-text {
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .app-shell {
    grid-template-columns: 226px minmax(0, 1fr);
  }

  .app-rail {
    display: none;
  }
}

@media (max-width: 900px) {
  .app-shell {
    display: block;
    margin: 12px auto;
    padding: 0 12px;
  }

  .catalog-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    float: left;
    height: 34px;
    margin: 12px 6px 0 0;
    padding: 0 10px;
    border: 1px solid var(--forim-border);
    border-radius: 8px;
    background: #fff;
    color: var(--forim-primary);
    font-size: 13px;
  }

  .catalog-toggle:focus {
    outline: 2px solid rgba(47, 127, 191, .35);
  }

  .catalog-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    width: min(86vw, 320px);
    padding: 12px;
    overflow-y: auto;
    background: var(--forim-bg);
    transform: translateX(-105%);
    transition: transform .2s ease;
  }

  .catalog-sidebar.is-open {
    transform: translateX(0);
    box-shadow: 8px 0 28px rgba(15, 30, 45, .18);
  }

  .app-main .panel {
    border-radius: 10px;
  }

  .nav-search {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .nav-search .form-control {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 767px) {
  body.app-body {
    font-size: 15px;
  }

  .navbar .navbar-brand {
    height: 54px;
    font-size: 15px;
  }

  .app-shell {
    margin-top: 8px;
    padding: 0 8px;
  }

  .app-main .panel-body {
    padding: 14px;
  }

  .app-body .btn,
  .app-body a.btn,
  .app-body button {
    min-height: 38px;
  }

  .app-body .navbar-nav > li > a {
    padding: 12px 15px;
  }

  .app-body .thread-title,
  .app-body h1,
  .app-body h2 {
    line-height: 1.35;
  }

  .catalog-summary,
  .catalog-leaf {
    min-height: 44px;
  }
}

@supports (padding: max(0px)) {
  .app-shell {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .catalog-sidebar.is-open {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
}

/* ==========================================================================
   Thread detail polish
   ========================================================================== */
.app-main .panel.thread-detail {
  margin-bottom: 16px;
  border-radius: var(--forim-radius);
}

.thread-detail > .panel-heading {
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--forim-border);
  border-radius: var(--forim-radius) var(--forim-radius) 0 0;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.thread-detail .thread-title-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 26px;
  color: var(--forim-muted);
  font-size: 12px;
}

.thread-detail .thread-label {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
}

.thread-detail .thread-label--sticky {
  background: var(--forim-success-soft);
  color: var(--forim-success);
}

.thread-detail .thread-label--featured {
  background: var(--forim-accent-soft);
  color: var(--forim-accent-dark);
}

.thread-detail .topiclist-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.thread-detail .thread-category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--forim-border);
  border-radius: 8px;
  background: var(--forim-bg);
}

.thread-detail .thread-category-badge img.category-title-image {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  object-fit: contain;
}

.thread-detail .thread-category-name a {
  color: var(--forim-primary);
  font-weight: 600;
  text-decoration: none;
}

.thread-detail .thread-category-name a:hover {
  color: var(--forim-primary-dark);
  text-decoration: underline;
}

.thread-detail .thread-title h1 {
  display: block;
  margin: 8px 0 0;
  color: var(--forim-text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

.thread-detail .bg-light-gray {
  border-top: 1px solid #fff;
  background: #fbfdff;
}

.thread-detail .info-bar {
  margin: 12px 0;
  padding: 0 20px;
  font-size: 13px;
}

.thread-detail .thread-author-avatar {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  border: 1px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--forim-border);
  object-fit: cover;
  vertical-align: -5px;
}

.thread-detail .thread-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  vertical-align: middle;
}

.thread-detail .thread-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--forim-border);
  border-radius: 8px;
  background: #fff;
  color: var(--forim-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease, background .15s ease,
    transform .15s ease;
}

.thread-detail .thread-tool:hover,
.thread-detail .thread-tool:focus {
  border-color: var(--forim-primary-border);
  background: var(--forim-primary-soft);
  color: var(--forim-primary);
  transform: translateY(-1px);
}

.thread-detail .thread-tool--star {
  color: var(--forim-accent);
}

.thread-detail .thread-tool--reward:hover,
.thread-detail .thread-tool--reward:focus {
  border-color: var(--forim-accent-border);
  background: var(--forim-accent-soft);
  color: var(--forim-accent-dark);
}

.thread-detail .thread-tool--danger:hover,
.thread-detail .thread-tool--danger:focus {
  border-color: var(--forim-danger-border);
  background: var(--forim-danger-soft);
  color: var(--forim-danger);
}

.app-body .thread-invite-btn {
  padding: 5px 10px;
  border-color: var(--forim-primary-border);
  border-radius: 999px;
  background: #fff;
  color: var(--forim-primary);
  font-size: 12px;
}

.app-body .thread-invite-btn:hover,
.app-body .thread-invite-btn:focus {
  border-color: var(--forim-primary);
  background: var(--forim-primary-soft);
  color: var(--forim-primary-dark);
}

.app-body .thread-invite-btn .fa {
  margin-left: 2px;
}

.app-main .thread-detail > .content-body.thread {
  margin-bottom: 0;
  background: var(--forim-surface);
  font-size: 15px;
  line-height: 1.75;
}

.app-main .thread-detail > .thread-bottom {
  margin-bottom: 0;
  padding: 16px 0 20px;
  border-top: 1px solid var(--forim-border);
  border-radius: 0 0 var(--forim-radius) var(--forim-radius);
  background: #fbfdff;
}

.thread-action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.thread-action-form {
  display: inline-flex;
}

.app-body .thread-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  min-width: 96px;
  padding: 0 14px;
  border: 1px solid var(--forim-border);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(28, 58, 84, .06);
  color: var(--forim-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease, background .15s ease,
    box-shadow .15s ease, transform .15s ease;
}

.app-body .thread-action:hover,
.app-body .thread-action:focus {
  box-shadow: 0 5px 14px rgba(28, 58, 84, .12);
  transform: translateY(-1px);
}

.thread-action i {
  font-size: 14px;
}

.thread-action-count {
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--forim-primary-soft);
  color: var(--forim-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.app-body .thread-action--favorite:hover,
.app-body .thread-action--favorite:focus {
  border-color: var(--forim-accent-border);
  background: var(--forim-accent-soft);
  color: var(--forim-accent-dark);
}

.thread-action--favorite .thread-action-count {
  background: var(--forim-accent-soft);
  color: var(--forim-accent-dark);
}

.app-body .thread-action--like:hover,
.app-body .thread-action--like:focus {
  border-color: var(--forim-primary-border);
  background: var(--forim-primary-soft);
  color: var(--forim-primary);
}

.thread-action--like .thread-action-count {
  background: var(--forim-primary-soft);
  color: var(--forim-primary-dark);
}

.app-body .thread-action--dislike:hover,
.app-body .thread-action--dislike:focus {
  border-color: var(--forim-danger-border);
  background: var(--forim-danger-soft);
  color: var(--forim-danger);
}

.thread-action--dislike .thread-action-count {
  background: var(--forim-danger-soft);
  color: var(--forim-danger-dark);
}

.app-body .thread-action--tip {
  border-color: var(--forim-accent-border);
  background: var(--forim-accent-soft);
  color: var(--forim-accent-dark);
}

.app-body .thread-action--tip:hover,
.app-body .thread-action--tip:focus {
  border-color: var(--forim-accent);
  background: var(--forim-accent-soft);
  color: var(--forim-accent-dark);
}

.app-body .thread-chat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #4b5563, #2f353d);
  box-shadow: 0 4px 12px rgba(45, 52, 60, .22);
  color: #fff;
  font-weight: 600;
  transition: box-shadow .15s ease, transform .15s ease, filter .15s ease;
}

.app-body .thread-chat-btn:hover,
.app-body .thread-chat-btn:focus {
  box-shadow: 0 6px 16px rgba(45, 52, 60, .3);
  color: #fff;
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.thread-replies .panel-heading {
  color: var(--forim-text);
  font-weight: 600;
}

.thread-replies .media {
  padding: 4px 0;
}

/* Bootstrap rows use -15px margins, but .media-body has no matching padding.
   That pushed the first 15px of the author name outside the clipped cell. */
.thread-replies .media-heading .container-fluid,
.thread-replies .media-heading .row {
  margin-left: 0;
  margin-right: 0;
}

.app-body .thread-reply-btn {
  padding: 8px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #6b7280, #4b5563);
  box-shadow: 0 4px 12px rgba(75, 85, 99, .22);
  font-weight: 600;
}

.app-body .thread-reply-btn:hover,
.app-body .thread-reply-btn:focus {
  box-shadow: 0 6px 16px rgba(185, 130, 43, .3);
  transform: translateY(-1px);
}

.app-main .thread-login-notice {
  margin: 16px 0 16px;
  padding: 12px 16px;
  border: 1px solid var(--forim-accent-border);
  border-radius: 10px;
  background: var(--forim-accent-soft);
  color: #7a5a20;
  font-size: 13px;
}

.app-main .thread-login-notice a {
  color: var(--forim-accent-dark);
  font-weight: 600;
}

@media (max-width: 767px) {
  .thread-detail > .panel-heading {
    padding: 14px;
  }

  .thread-detail .thread-title h1 {
    font-size: 19px;
  }

  .thread-detail .info-bar {
    padding: 0 14px;
    font-size: 12px;
  }

  .thread-detail .thread-tools {
    margin-left: 0;
    margin-top: 6px;
  }

  .thread-action-bar {
    gap: 8px;
  }

  .app-body .thread-action {
    min-width: 84px;
    padding: 0 10px;
    font-size: 12px;
  }

  .thread-action-label {
    display: none;
  }
}

/* ==========================================================================
   Compact content typography — match the user ranking page everywhere.
   Scoped to content regions so navbar / footer / pagination / dropdowns
   keep their already-tuned styling.
   ========================================================================== */
.app-main,
.app-rail,
.catalog-sidebar {
  font-size: 13px;
  line-height: 1.6;
}

.app-main h1,
.app-rail h1,
.catalog-sidebar h1 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

.app-main h2,
.app-rail h2,
.catalog-sidebar h2 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.app-main h3,
.app-rail h3,
.catalog-sidebar h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.app-main h4,
.app-rail h4,
.catalog-sidebar h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.app-main h5,
.app-main h6,
.app-rail h5,
.app-rail h6 {
  margin: 0 0 5px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.app-main p,
.app-rail p {
  margin: 0 0 10px;
}

.app-main p:last-child,
.app-rail p:last-child {
  margin-bottom: 0;
}

.app-main .panel,
.app-rail .panel {
  margin-bottom: 12px;
}

.app-main .panel-heading,
.app-rail .panel-heading {
  padding: 9px 14px;
  font-size: 13px;
  line-height: 1.5;
}

.app-main .panel-body,
.app-rail .panel-body {
  padding: 12px 14px;
  font-size: 13px;
}

.app-main .panel-title,
.app-rail .panel-title,
.app-main .panel-heading h1,
.app-rail .panel-heading h1 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

/* Keep the ranking page's tighter panel padding intact. */
.app-main .user-rank-panel .panel-body {
  padding: 6px 16px;
}

/* Thread detail title was 22px — too loud next to the 13px list rows. */
.app-main .thread-detail .thread-title h1 {
  font-size: 18px;
}

.app-main .thread-detail .info-bar,
.app-main .thread-detail .thread-tools {
  font-size: 12px;
}

/* Thread list rows */
.app-main .thread-title,
.app-main .text-thread-title {
  font-size: 13px;
}

.app-main .media-heading {
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

/* Metadata keeps the one-line fix, just slightly smaller like the ranking meta. */
.app-main .text-bright-gray,
.app-rail .text-bright-gray {
  font-size: 12px;
}

/* Markdown-rendered post content: smaller, neutral headings instead of blue. */
.app-main .content-body,
.app-main .post,
.app-main .thread,
.app-main .thread-detail > .content-body.thread {
  font-size: 13px;
  line-height: 1.7;
}

.app-main .content-body h1,
.app-main .content-body h2,
.app-main .content-body h3,
.app-main .content-body h4,
.app-main .content-body h5,
.app-main .content-body h6 {
  color: var(--forim-text);
  border-left-color: var(--forim-border);
  font-weight: 600;
}

.app-main .content-body h1 { font-size: 16px; margin: 10px 0 6px; }
.app-main .content-body h2 { font-size: 15px; margin: 9px 0 6px; }
.app-main .content-body h3 { font-size: 14px; margin: 8px 0 5px; }
.app-main .content-body h4,
.app-main .content-body h5,
.app-main .content-body h6 { font-size: 13px; margin: 6px 0 4px; }

/* Tables */
.app-main table.table,
.app-rail table.table {
  margin-bottom: 12px;
  font-size: 13px;
}

.app-main table.table > tbody > tr > td,
.app-main table.table > tbody > tr > th,
.app-rail table.table > tbody > tr > td,
.app-rail table.table > tbody > tr > th {
  padding: 8px 10px;
  line-height: 1.5;
  vertical-align: middle;
}

/* Badges and labels are meta, not headlines. */
.app-main .badge,
.app-rail .badge,
.app-main .label,
.app-rail .label {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

/* Forms and buttons */
.app-main .btn,
.app-rail .btn {
  padding: 5px 10px;
  font-size: 12px;
}

.app-main .form-control,
.app-rail .form-control {
  font-size: 13px;
}

.app-main .breadcrumb {
  margin-bottom: 12px;
  font-size: 12px;
}

/* Center list pagination the same way as the ranking page. */
.app-main .pagination {
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  margin-bottom: 4px;
}

@media (max-width: 767px) {
  .app-main h1 { font-size: 18px; }
  .app-main .thread-detail .thread-title h1 { font-size: 17px; }
  .app-main .panel-body,
  .app-rail .panel-body { padding: 10px 12px; }
  .app-main .user-rank-panel .panel-body { padding: 6px 12px; }
}

/*# sourceMappingURL=main.css.map */
