@charset "UTF-8";
.new-post {
  color: #feb600;
}

.no-new-post {
  color: #000;
}

.post-message a {
  text-decoration: underline;
}

img.emoji {
  height: 0.875em;
  width: 0.875em;
  margin: 0 0.05em 0 0.1em;
  vertical-align: -0.1em;
}

.emoji {
  font-family: "cuneros-emojis";
  font-size: 1.5em;
}

.post-preview {
  font-family: "cuneros-emojis", "Helvetica Neue", Roboto, SansSerif, sans-serif;
  padding: 8px;
  background: #efefef;
  border: 1px dashed black;
  margin-bottom: 10px;
}

.cke_editable {
  font-size: 17px !important;
}

.post-signature > p {
  margin: 0 !important;
}

.posting img {
  max-width: 100%;
}

.posting .blockquote {
  font-size: 0.9rem;
}

.posting {
  padding-bottom: 0.5rem;
}

.user-show-custom-title {
  font-style: italic;
}

.restricted-access-info {
  color: red;
  font-weight: bold;
}

img[data-action=zoom] {
  cursor: zoom-in;
}

.zoom-img,
.zoom-img-wrap {
  position: relative;
  z-index: 666;
  transition: all 300ms;
}

img.zoom-img {
  cursor: zoom-out;
}

.zoom-overlay {
  cursor: zoom-out;
  z-index: 420;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  filter: "alpha(opacity=0)";
  opacity: 0;
  transition: opacity 300ms;
}

.zoom-overlay-open .zoom-overlay {
  filter: "alpha(opacity=100)";
  opacity: 1;
}

.board-user-panel {
  width: 150px;
  max-width: 33%;
}

.cuneros-boards {
  width: 100%;
  margin: auto;
}

.float-buttons {
  position: fixed;
  right: 25px;
  bottom: 70px;
}

.aside-menu-show .float-buttons {
  right: 275px;
  bottom: 60px;
}

.modal-xl {
  max-width: 1000px;
}

.board-bg,
.board-category,
.thread-table {
  background-color: #fff !important;
}

.board-category-100 {
  background-color: #f9f9f9 !important;
}

.board-category-300 {
  background-color: #dbdee0 !important;
}

.thread-new-post {
  font-weight: bold;
}

.thread-no-new-post {
  font-weight: normal;
}

.forums-hero {
  margin-top: 1rem;
}

.forums-hero-inner {
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 1.1rem 1.5rem;
  border: 1px solid #d7dee7;
  border-radius: 14px;
  background-color: #061722;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
}

.no-webp .forums-hero-inner {
  background-image: url("/static/img/header.png");
}

.webp .forums-hero-inner {
  background-image: url("/static/img/header.webp");
}

.forums-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}
.forums-brand:hover {
  text-decoration: none;
}

.forums-brand-logo img {
  display: block;
  width: 52px;
  height: 52px;
}

.forums-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.forums-brand-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #f8fafc;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.forums-brand-subtitle {
  margin-top: 0.2rem;
  font-size: 0.92rem;
  color: rgba(248, 250, 252, 0.82);
}

.forums-toolbar {
  margin-top: -0.25rem;
  margin-bottom: 1rem;
}

.forums-toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid #d7dee7;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
}

.forums-search {
  flex: 0 1 auto;
  min-width: 0;
}

.forums-search-form {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: auto;
}

.forums-search-form-mobile {
  flex-wrap: wrap;
}

.forums-search-input {
  width: 260px;
  max-width: 260px;
  height: 40px;
  padding: 0 0.85rem;
  border: 1px solid #d7dee7;
  border-radius: 10px;
  background: #f8fafc;
  color: #1f2937;
  outline: none;
}
.forums-search-input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.18);
}

.forums-search-type {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.forum-tool-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #d7dee7;
  border-radius: 10px;
  background: #f8fafc;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
}
.forum-tool-toggle:hover, .forum-tool-toggle.active {
  background: #e0f2fe;
  border-color: #93c5fd;
  color: #0369a1;
  text-decoration: none;
}

.forum-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #f2c94c;
  border-radius: 10px;
  background: #fbbf24;
  color: #3b2f08;
  transition: all 0.15s ease;
}
.forum-search-submit:hover, .forum-search-submit:focus {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #fff;
}

.forums-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  margin: 0;
  padding-left: 0;
  list-style: none;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.forums-menu .nav-item {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.forum-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.55rem 0.75rem !important;
  border-radius: 10px;
  color: #334155 !important;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}
.forum-nav-link:hover, .forum-nav-link:focus {
  background: #f8fafc;
  color: #0f172a !important;
  text-decoration: none;
}
.forum-nav-link.has-highlight {
  background: #ecfeff;
  color: #0e7490 !important;
}

.forum-nav-link-icon {
  min-width: 40px;
  justify-content: center;
}

.forum-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.forum-count-pill-success {
  background: #dcfce7;
  color: #166534;
}

.forum-count-pill-info {
  background: #e0f2fe;
  color: #0369a1;
}

.forum-count-pill-warning {
  background: #fef3c7;
  color: #92400e;
}

.forums-search-mobile {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #d7dee7;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
}

#search-hidden {
  z-index: 120;
  margin-top: 0 !important;
}

@media (min-width: 768px) {
  .post-div {
    min-height: 187px;
  }
}
@media (min-width: 1200px) {
  .cuneros-boards {
    width: 90%;
  }
}
@media (max-width: 991.98px) {
  .forums-hero-inner {
    min-height: 76px;
    padding: 0.95rem 1rem;
  }
  .forums-brand-logo img {
    width: 44px;
    height: 44px;
  }
  .forums-brand-title {
    font-size: 1.7rem;
  }
  .forums-brand-subtitle {
    display: none;
  }
  .forums-toolbar-inner {
    flex-wrap: wrap;
    align-items: stretch;
    padding: 0.75rem;
  }
  .forums-search {
    width: 100%;
    flex: 1 1 100%;
  }
  .forums-search-form {
    width: 100%;
  }
  .forums-search-input {
    width: 100%;
    max-width: none;
  }
  .forums-menu {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    white-space: normal;
  }
}
@media (max-width: 767.98px) {
  .thread-box {
    padding: 5px !important;
  }
  .smartphone-user-panel {
    display: inline-flex;
  }
  .forums-toolbar-inner {
    justify-content: flex-end;
  }
  .forums-menu {
    width: 100%;
    justify-content: space-between;
  }
}
.forum-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid #d7dee7;
  background: #f8fafc;
  color: #334155;
  text-decoration: none;
  box-shadow: none;
  transition: all 0.15s ease;
  cursor: pointer;
}
.forum-btn:hover, .forum-btn:focus {
  background: #eef6ff;
  border-color: #93c5fd;
  color: #0f172a;
  text-decoration: none;
}

.forum-btn-icon {
  width: 34px;
  min-width: 34px;
  padding: 0;
}

.forum-btn-primary {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #083344;
}
.forum-btn-primary:hover, .forum-btn-primary:focus {
  background: #0ea5e9;
  border-color: #0ea5e9;
  color: #ffffff;
}

.forum-btn-secondary {
  background: #f8fafc;
  border-color: #d7dee7;
  color: #334155;
}
.forum-btn-secondary:hover, .forum-btn-secondary:focus {
  background: #eef6ff;
  border-color: #93c5fd;
  color: #0f172a;
}

.forum-btn-danger {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}
.forum-btn-danger:hover, .forum-btn-danger:focus {
  background: #ffe4e6;
  border-color: #fda4af;
  color: #9f1239;
}

.forum-btn-info:hover, .forum-btn-info:focus {
  background: #fffbeb;
  border-color: #fde68a;
}

.user-btn-group {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.user-btns,
.user-mod-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.user-btns .forum-btn {
  min-height: 30px;
}

.user-transfer-btn {
  background: #f5fbff;
  border-color: #cfe8f6;
  color: #0f5f85;
}
.user-transfer-btn:hover, .user-transfer-btn:focus {
  background: #e8f7ff;
  border-color: #9fd8f3;
  color: #0b4f6f;
}

.user-mod-actions {
  padding-top: 0.1rem;
}

.thread-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.thread-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.forum-btn-warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}
.forum-btn-warning:hover, .forum-btn-warning:focus {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #92400e;
}

.user-pill,
.forum-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  min-width: 20px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.72rem;
  line-height: 1;
}

.user-pill-team {
  background: #eef2ff;
  border-color: #c7d2fe;
}

.user-pill-api {
  background: #ecfeff;
  border-color: #a5f3fc;
  color: #0e7490;
}

.user-pill-logo {
  width: 12px;
  height: 12px;
  display: block;
}

.forum-pill-info {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0369a1;
}

.forum-pill-success {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #15803d;
}

.forum-pill-warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.forum-pill-danger {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.forum-pill-muted {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #6b7280;
}

.board-user-column {
  width: 150px;
  max-width: 150px;
  padding: 0;
  background: #f8fafc;
  border-right: 1px solid #e5e7eb;
}
.board-user-column .img-avatar {
  border-radius: 0 !important;
  border: 0;
  width: 100%;
  max-width: 100px;
  max-height: 100px;
}

.board-user-show {
  position: relative;
  padding: 1rem 0.75rem;
  background: transparent;
}

.board-user-name {
  margin-bottom: 0.5rem;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: center;
  font-weight: 700;
  color: #1f2937;
}

.board-user-panel-avatar .badge-btn {
  position: absolute;
  right: -10px;
  padding: 5px;
  border: 1px solid black;
}
.board-user-panel-avatar .badge-btn-1 {
  top: 0;
}
.board-user-panel-avatar .badge-btn-2 {
  top: 25px;
}
.board-user-panel-avatar .badge-btn-3 {
  top: 50px;
}
.board-user-panel-avatar .badge-btn-4 {
  top: 75px;
}
.board-user-panel-avatar .user-show {
  border: 1px solid black;
  border-bottom: 0;
}

.smartphone-user-panel {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}
.smartphone-user-panel .img-avatar {
  border: 1px solid black;
}
.smartphone-user-panel .user-btn-group {
  width: 150px;
}
.smartphone-user-panel .user-btn-group .btn {
  border: 1px solid black;
  border-radius: 0;
}
.smartphone-user-panel .board-user-name {
  border: 0;
}

.user-sidebar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.user-sidebar-card-official {
  min-height: 180px;
  justify-content: center;
}

.official-user-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}
.official-user-badge .img-avatar,
.official-user-badge img {
  max-width: 90px;
  max-height: 90px;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid #d7dee7;
  border-radius: 16px !important;
}

.board-user-name .badge {
  border: 1px solid black;
}

.board-user-superuser a {
  color: darkred !important;
  font-weight: bolder;
}

.board-user-moderator a {
  color: midnightblue !important;
  font-weight: bold;
}

.user-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  width: 100%;
}

.user-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.user-name {
  color: #1f2937;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  word-break: break-word;
}

.user-name:hover {
  color: #0369a1;
  text-decoration: underline;
}

.board-user-superuser {
  color: #b91c1c;
}

.board-user-moderator {
  color: #1d4ed8;
}

.user-title {
  font-size: 0.8rem;
  line-height: 1.35;
  color: #6b7280;
  text-align: center;
  max-width: 100%;
  word-break: break-word;
}

.user-avatar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.user-avatar-link .img-avatar,
.user-avatar-link img {
  border-radius: 14px !important;
  border: 1px solid #d7dee7;
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.08);
  max-width: 84px;
  max-height: 84px;
  object-fit: cover;
}

.user-actions-wrap {
  width: 100%;
}

.user-status-row {
  min-height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.user-state-row {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.user-state-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.8rem;
}

.user-state-badge-danger {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.user-state-badge-warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.last-posting > .img-avatar {
  max-width: 32px;
}

.latest-post-col .img-avatar {
  max-height: 56px;
  max-width: 56px;
}

.cuneros-team-logo {
  width: 14px;
  height: 14px;
  position: relative;
  top: -2px;
}

article[id^=post_id_] {
  display: flex;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid #d7dee7;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);
  overflow: hidden;
}

.post-div {
  background: #fff;
  border: 0;
  padding: 1rem 1.25rem 1rem 1rem;
  overflow-x: auto;
  overflow-y: hidden;
}
.post-div blockquote,
.post-div .blockquote-brooks {
  position: relative;
  z-index: 2;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #94a3b8;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
}
.post-div blockquote a,
.post-div .blockquote-brooks a {
  color: black;
}

.blockquote-brooks::before {
  content: "“";
  position: absolute;
  color: #8e8e8e;
  top: -0.55em;
  left: 0;
  font-size: 6em;
  z-index: 1;
}

.post-header {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eef2f7;
  align-items: center;
}
.post-header strong,
.post-header .author-line,
.post-header a {
  font-size: 0.95rem;
}
.post-header time,
.post-header span[itemprop=datePublished],
.post-header .text-gray-dark {
  color: #6b7280 !important;
  font-size: 0.88rem;
  font-weight: 500;
}

.post-message {
  font-family: "cuneros-emojis", "Helvetica Neue", Roboto, SansSerif, sans-serif;
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
  color: #1f2937;
  line-height: 1.65;
  font-size: 0.98rem;
  overflow-wrap: break-word;
}

.post-signature {
  font-family: "cuneros-emojis", "Helvetica Neue", Roboto, SansSerif, sans-serif;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eef2f7;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5 !important;
}

.attachment-img {
  max-width: 220px !important;
  border-radius: 10px;
  border: 1px solid #d7dee7;
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.08);
}

.post-actions .btn {
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  border: 1px solid #d7dee7;
  background: #f8fafc;
  color: #334155;
  box-shadow: none;
}
.post-actions .btn:hover {
  background: #eef6ff;
  border-color: #93c5fd;
}

.post-menu,
.post-menu .btn-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.post-menu a,
.post-menu button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #374151;
  transition: all 0.15s ease;
}
.post-menu a:hover,
.post-menu button:hover {
  background: #f8fafc;
  border-color: #d7dee7;
  color: #0f172a;
}
.post-menu .is-primary {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0369a1;
}

.post-author-line {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.post-author-name {
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
}
.post-author-name:hover {
  text-decoration: underline;
}

.post-author-pills {
  display: inline-flex;
  gap: 0.25rem;
}

.thread-post-team {
  background-color: #678898 !important;
}

.thread-post-user-100 {
  background-color: #f9f9f9 !important;
}

.thread-post-user-200 {
  background-color: #e9ebec !important;
}

.thread-post-non-normal {
  background-color: #869fac !important;
}

.thread-post-valuable {
  background-color: #bdea74 !important;
}

.thread-context-card {
  margin: 1rem 0 1.25rem;
  padding: 0.9rem 1.1rem;
  background: #f8fafc;
  border: 1px solid #d7dee7;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.04);
}

.thread-context-main {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.thread-context-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.thread-context-title {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.15;
  font-weight: 700;
}

.thread-context-title a {
  color: #0ea5e9;
  text-decoration: none;
}

.thread-context-title a:hover,
.thread-context-title a:focus {
  color: #0284c7;
  text-decoration: underline;
}

.thread-context-description {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
}

.thread-context-description > :last-child {
  margin-bottom: 0;
}

.thread-context-notice {
  margin-top: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 500;
}

.thread-context-notice-warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.thread-card {
  margin: 1rem 0;
  padding: 1rem 1.25rem 1.25rem;
  background: #fff;
  border: 1px solid #d7dee7;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.05);
}

.thread-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #e5e7eb;
}

.thread-header-main {
  min-width: 0;
  flex: 1 1 auto;
}

.thread-title {
  margin: 0;
  color: #1f2937;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: break-word;
}

.thread-title .badge,
.thread-title .prefix,
.thread-title [class*=prefix] {
  vertical-align: middle;
}

.thread-meta {
  margin-top: 0.45rem;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.45;
}

.thread-header-actions {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.thread-body {
  margin-top: 1rem;
}

.thread-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.thread-toolbar-top {
  margin-bottom: 1rem;
}

.thread-toolbar-bottom {
  margin-top: 1rem;
}

.thread-pagination {
  min-width: 0;
  flex: 1 1 auto;
}

.thread-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.thread-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.thread-moderation-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.thread-notice {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
}

.thread-notice-danger {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #9f1239;
}

.thread-notice-info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.thread-card .pagination {
  margin-bottom: 0;
}

.thread-card .page-link {
  border-radius: 10px;
}

.scroll-to-top,
.scroll-to-bottom {
  cursor: pointer;
}

@media (max-width: 767.98px) {
  .thread-card {
    padding: 0.85rem 0.9rem 1rem;
  }
  .thread-header {
    flex-direction: column;
    align-items: stretch;
  }
  .thread-header-actions {
    justify-content: flex-end;
  }
  .thread-title {
    font-size: 1.6rem;
  }
  .thread-toolbar {
    align-items: stretch;
  }
  .thread-toolbar-actions {
    justify-content: space-between;
  }
}
.thread-list-wrap {
  width: 100%;
  overflow-x: auto;
}

.thread-list-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

.thread-list-table thead th {
  padding: 0.9rem 0.85rem;
  border-bottom: 1px solid #d7dee7;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 700;
  background: #f8fafc;
  vertical-align: middle;
  white-space: nowrap;
}

.thread-list-table tbody td {
  padding: 0.85rem 0.85rem;
  border-top: 1px solid #eef2f7;
  vertical-align: top;
  color: #1f2937;
}

.thread-row:hover td {
  background: #fbfdff;
}

.thread-row-muted td {
  color: #6b7280;
  background: #fafafa;
}

.thread-col-status,
.thread-cell-status {
  width: 64px;
}

.thread-col-icon,
.thread-cell-icon {
  width: 70px;
  text-align: center;
}

.thread-col-posts,
.thread-cell-posts,
.thread-col-views,
.thread-cell-views {
  width: 110px;
  white-space: nowrap;
}

.thread-col-latest,
.thread-cell-latest {
  width: 280px;
}

.thread-col-mod,
.thread-cell-mod {
  width: 120px;
}

.thread-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.05rem;
}

.thread-topic-cell {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.thread-topic-main {
  min-width: 0;
  flex: 1 1 auto;
}

.thread-topic-title-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.thread-topic-link {
  color: #0ea5e9;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.thread-topic-link:hover,
.thread-topic-link:focus {
  color: #0284c7;
  text-decoration: underline;
}

.thread-topic-meta {
  margin-top: 0.3rem;
  color: #6b7280;
  font-size: 0.84rem;
  line-height: 1.45;
}

.thread-topic-meta a {
  color: #0ea5e9;
  text-decoration: none;
}

.thread-topic-meta a:hover,
.thread-topic-meta a:focus {
  text-decoration: underline;
}

.thread-topic-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.thread-latest-cell {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.thread-latest-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #d7dee7;
  background: #f8fafc;
  color: #334155;
  text-decoration: none;
}

.thread-latest-link:hover,
.thread-latest-link:focus {
  background: #eef6ff;
  border-color: #93c5fd;
  color: #0f172a;
  text-decoration: none;
}

.thread-latest-meta {
  color: #6b7280;
  font-size: 0.84rem;
  line-height: 1.45;
}

.thread-mod-mobile {
  margin-top: 0.6rem;
}

.thread-prefix {
  display: inline-flex;
  align-items: center;
}

.thread-cell-posts,
.thread-cell-views {
  color: #475569;
  font-weight: 600;
}

.thread-cell-mod {
  white-space: nowrap;
}

body.dark-mode .thread-list-table {
  background: #111827;
}
body.dark-mode .thread-list-table thead th {
  background: #1f2937;
  border-bottom-color: #334155;
  color: #cbd5e1;
}
body.dark-mode .thread-list-table tbody td {
  border-top-color: #334155;
  color: #e5e7eb;
}
body.dark-mode .thread-row:hover td {
  background: #162033;
}
body.dark-mode .thread-row-muted td {
  background: #17202e;
  color: #94a3b8;
}
body.dark-mode .thread-topic-link,
body.dark-mode .thread-topic-meta a {
  color: #7dd3fc;
}
body.dark-mode .thread-topic-link:hover,
body.dark-mode .thread-topic-link:focus,
body.dark-mode .thread-topic-meta a:hover,
body.dark-mode .thread-topic-meta a:focus {
  color: #bae6fd;
}
body.dark-mode .thread-topic-meta,
body.dark-mode .thread-latest-meta,
body.dark-mode .thread-cell-posts,
body.dark-mode .thread-cell-views {
  color: #94a3b8;
}
body.dark-mode .thread-latest-link {
  background: #1f2937;
  border-color: #334155;
  color: #cbd5e1;
}
body.dark-mode .thread-latest-link:hover,
body.dark-mode .thread-latest-link:focus {
  background: #273449;
  border-color: #64748b;
  color: #ffffff;
}

.category-row {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(140px, 0.6fr) minmax(260px, 0.9fr);
  gap: 0;
  align-items: stretch;
  margin-bottom: 0.85rem;
  background: #fff;
  border: 1px solid #d7dee7;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.04);
  overflow: hidden;
}

.category-main,
.category-stats,
.category-latest {
  padding: 1rem 1rem;
}

.category-main {
  display: flex;
  gap: 1rem;
  min-width: 0;
}

.category-stats,
.category-latest {
  border-left: 1px solid #e5e7eb;
}

.category-icon-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 44px;
  flex: 0 0 44px;
  font-size: 1.5rem;
  color: #0f172a;
}

.category-content {
  min-width: 0;
  flex: 1 1 auto;
}

.category-title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 700;
}

.category-title a {
  color: #0ea5e9;
  text-decoration: none;
}

.category-title a:hover,
.category-title a:focus {
  color: #0284c7;
  text-decoration: underline;
}

.category-description {
  margin-top: 0.35rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

.category-description > :last-child {
  margin-bottom: 0;
}

.category-stats {
  display: flex;
  align-items: center;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

.category-latest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  min-width: 0;
}

.category-latest-empty {
  visibility: hidden;
}

.category-latest-text {
  min-width: 0;
  flex: 1 1 auto;
}

.category-latest-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #0ea5e9;
  font-weight: 600;
  text-decoration: none;
}

.category-latest-link:hover,
.category-latest-link:focus {
  color: #0284c7;
  text-decoration: underline;
}

.category-latest-meta {
  margin-top: 0.25rem;
  color: #6b7280;
  font-size: 0.88rem;
  line-height: 1.45;
}

.category-latest-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.category-latest-avatar .img-avatar,
.category-latest-avatar img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 12px !important;
  border: 1px solid #d7dee7;
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.08);
}

.subcategory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.subcategory-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.3;
}

.subcategory-link {
  color: #334155;
  font-weight: 600;
  text-decoration: none;
}

.subcategory-link:hover,
.subcategory-link:focus {
  color: #0f172a;
  text-decoration: underline;
}

.subcategory-latest-link {
  color: #64748b;
  text-decoration: none;
}

.subcategory-latest-link:hover,
.subcategory-latest-link:focus {
  color: #0f172a;
}

.subcategory-description {
  color: #64748b;
}

@media (max-width: 991.98px) {
  .category-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .category-stats,
  .category-latest {
    border-left: 0;
    border-top: 1px solid #e5e7eb;
  }
}
@media (max-width: 767.98px) {
  .category-main {
    gap: 0.75rem;
    padding: 0.9rem;
  }
  .category-latest {
    padding: 0.9rem;
  }
  .category-title {
    font-size: 1.15rem;
  }
  .subcategory-list {
    flex-direction: column;
    align-items: stretch;
  }
  .subcategory-chip {
    border-radius: 12px;
  }
}
body.dark-mode .category-row {
  background: #111827;
  border-color: #334155;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
body.dark-mode .category-stats,
body.dark-mode .category-latest {
  border-left-color: #334155;
}
body.dark-mode .category-title a,
body.dark-mode .category-latest-link {
  color: #7dd3fc;
}
body.dark-mode .category-title a:hover,
body.dark-mode .category-title a:focus,
body.dark-mode .category-latest-link:hover,
body.dark-mode .category-latest-link:focus {
  color: #bae6fd;
}
body.dark-mode .category-description,
body.dark-mode .category-stats {
  color: #cbd5e1;
}
body.dark-mode .category-latest-meta,
body.dark-mode .subcategory-description {
  color: #94a3b8;
}
body.dark-mode .subcategory-chip {
  background: #1f2937;
  border-color: #334155;
  color: #cbd5e1;
}
body.dark-mode .subcategory-link {
  color: #e5e7eb;
}
body.dark-mode .subcategory-link:hover,
body.dark-mode .subcategory-link:focus,
body.dark-mode .subcategory-latest-link:hover,
body.dark-mode .subcategory-latest-link:focus {
  color: #ffffff;
}
body.dark-mode .subcategory-latest-link {
  color: #94a3b8;
}
body.dark-mode .category-latest-avatar .img-avatar,
body.dark-mode .category-latest-avatar img {
  border-color: #334155;
  background: #0f172a;
}

.category-thread-card {
  margin: 1rem 0;
  padding: 1rem 1.25rem 1.25rem;
  background: #fff;
  border: 1px solid #d7dee7;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.05);
}

.category-thread-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #e5e7eb;
}

.category-thread-header-main {
  min-width: 0;
  flex: 1 1 auto;
}

.category-thread-title {
  margin: 0;
  color: #1f2937;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: break-word;
}

.category-thread-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.category-thread-toolbar,
.category-thread-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.category-thread-toolbar {
  margin: 1rem 0;
}

.category-thread-footer {
  margin-top: 1rem;
}

.category-thread-pagination {
  min-width: 0;
  flex: 1 1 auto;
}

.category-thread-toolbar-main,
.category-thread-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.category-prefix-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.category-prefix-label {
  color: #6b7280;
  font-size: 0.92rem;
  font-weight: 600;
}

.category-thread-create {
  display: flex;
  align-items: center;
}

.category-row {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(140px, 0.6fr) minmax(260px, 0.9fr);
  gap: 0;
  align-items: stretch;
  margin-bottom: 0.85rem;
  background: #fff;
  border: 1px solid #d7dee7;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.04);
  overflow: hidden;
}

.category-main,
.category-stats,
.category-latest {
  padding: 1rem;
}

.category-main {
  display: flex;
  gap: 1rem;
  min-width: 0;
}

.category-stats,
.category-latest {
  border-left: 1px solid #e5e7eb;
}

.category-icon-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 44px;
  flex: 0 0 44px;
  font-size: 1.5rem;
  color: #0f172a;
}

.category-content {
  min-width: 0;
  flex: 1 1 auto;
}

.category-title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 700;
}

.category-title a {
  color: #0ea5e9;
  text-decoration: none;
}

.category-title a:hover,
.category-title a:focus {
  color: #0284c7;
  text-decoration: underline;
}

.category-description {
  margin-top: 0.35rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

.category-description > :last-child {
  margin-bottom: 0;
}

.category-stats {
  display: flex;
  align-items: center;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

.category-latest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  min-width: 0;
}

.category-latest-empty {
  visibility: hidden;
}

.category-latest-text {
  min-width: 0;
  flex: 1 1 auto;
}

.category-latest-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #0ea5e9;
  font-weight: 600;
  text-decoration: none;
}

.category-latest-link:hover,
.category-latest-link:focus {
  color: #0284c7;
  text-decoration: underline;
}

.category-latest-meta {
  margin-top: 0.25rem;
  color: #6b7280;
  font-size: 0.88rem;
  line-height: 1.45;
}

.subcategory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.subcategory-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.3;
}

.subcategory-link {
  color: #334155;
  font-weight: 600;
  text-decoration: none;
}

.subcategory-link:hover,
.subcategory-link:focus {
  color: #0f172a;
  text-decoration: underline;
}

.subcategory-latest-link {
  color: #64748b;
  text-decoration: none;
}

.subcategory-latest-link:hover,
.subcategory-latest-link:focus {
  color: #0f172a;
}

.subcategory-description {
  color: #64748b;
}

@media (max-width: 991.98px) {
  .category-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .category-stats,
  .category-latest {
    border-left: 0;
    border-top: 1px solid #e5e7eb;
  }
}
@media (max-width: 767.98px) {
  .category-thread-card {
    padding: 0.85rem 0.9rem 1rem;
  }
  .category-thread-header {
    flex-direction: column;
    align-items: stretch;
  }
  .category-thread-header-actions {
    justify-content: flex-end;
  }
  .category-thread-title {
    font-size: 1.6rem;
  }
  .category-main {
    gap: 0.75rem;
    padding: 0.9rem;
  }
  .category-latest {
    padding: 0.9rem;
  }
  .category-title {
    font-size: 1.15rem;
  }
  .subcategory-list {
    flex-direction: column;
    align-items: stretch;
  }
  .subcategory-chip {
    border-radius: 12px;
  }
  .category-thread-toolbar,
  .category-thread-footer {
    align-items: stretch;
  }
  .category-thread-footer-actions,
  .category-thread-toolbar-main {
    justify-content: space-between;
  }
}
body.dark-mode .category-thread-card {
  background: #111827;
  border-color: #334155;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
body.dark-mode .category-thread-header {
  border-bottom-color: #334155;
}
body.dark-mode .category-thread-title {
  color: #e5e7eb;
}
body.dark-mode .category-row {
  background: #111827;
  border-color: #334155;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
body.dark-mode .category-stats,
body.dark-mode .category-latest {
  border-left-color: #334155;
}
body.dark-mode .category-title a,
body.dark-mode .category-latest-link {
  color: #7dd3fc;
}
body.dark-mode .category-title a:hover,
body.dark-mode .category-title a:focus,
body.dark-mode .category-latest-link:hover,
body.dark-mode .category-latest-link:focus {
  color: #bae6fd;
}
body.dark-mode .category-description,
body.dark-mode .category-stats {
  color: #cbd5e1;
}
body.dark-mode .category-latest-meta,
body.dark-mode .subcategory-description,
body.dark-mode .category-prefix-label {
  color: #94a3b8;
}
body.dark-mode .subcategory-chip {
  background: #1f2937;
  border-color: #334155;
  color: #cbd5e1;
}
body.dark-mode .subcategory-link {
  color: #e5e7eb;
}
body.dark-mode .subcategory-link:hover,
body.dark-mode .subcategory-link:focus,
body.dark-mode .subcategory-latest-link:hover,
body.dark-mode .subcategory-latest-link:focus {
  color: #ffffff;
}
body.dark-mode .subcategory-latest-link {
  color: #94a3b8;
}

.board-section {
  margin: 1rem 0;
  background: #fff;
  border: 1px solid #d7dee7;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.05);
  overflow: hidden;
}

.board-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.board-section-header-main {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
  flex: 1 1 auto;
}

.board-section-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #475569;
  cursor: pointer;
}

.board-section-title-wrap {
  min-width: 0;
}

.board-section-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
}

.board-section-title a {
  color: #1f2937;
  text-decoration: none;
}

.board-section-title a:hover,
.board-section-title a:focus {
  color: #0f172a;
  text-decoration: underline;
}

.board-section-description {
  margin-top: 0.3rem;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
}

.board-section-description > :last-child {
  margin-bottom: 0;
}

.board-section-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.board-section-body {
  padding: 1rem 1.25rem 1.25rem;
}

.board-section-body .category-row:last-child {
  margin-bottom: 0;
}

.board-info-card {
  margin: 1rem 0;
  padding: 1rem 1.25rem 1.25rem;
  background: #fff;
  border: 1px solid #d7dee7;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.05);
}

.board-info-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e5e7eb;
}

.board-info-card-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
}

.board-info-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.board-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1rem;
}

.board-stat-item {
  min-width: 0;
}

.board-stat-label {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 600;
}

.board-stat-value {
  margin-top: 0.2rem;
  margin-bottom: 0.3rem;
  color: #1f2937;
  font-size: 1.3rem;
  font-weight: 700;
}

.board-stat-meta {
  margin-top: 0.35rem;
  color: #6b7280;
  font-size: 0.88rem;
  line-height: 1.45;
}

.board-online-section {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.board-online-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
}

.board-online-list {
  color: #475569;
  line-height: 1.6;
}

.board-help-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  padding-top: 1rem;
}

.board-help-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #475569;
  line-height: 1.4;
}

@media (max-width: 991.98px) {
  .board-stats-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767.98px) {
  .board-section,
  .board-info-card {
    padding-left: 0;
    padding-right: 0;
  }
  .board-section-header,
  .board-section-body,
  .board-info-card,
  .board-info-card-header {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
  .board-section-header {
    flex-direction: column;
    align-items: stretch;
  }
  .board-section-actions,
  .board-info-card-actions {
    justify-content: flex-end;
  }
  .board-section-title {
    font-size: 1.25rem;
  }
}
body.dark-mode .board-section,
body.dark-mode .board-info-card {
  background: #111827;
  border-color: #334155;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
body.dark-mode .board-section-header,
body.dark-mode .board-info-card-header,
body.dark-mode .board-online-section {
  border-color: #334155;
}
body.dark-mode .board-section-title a,
body.dark-mode .board-info-card-title,
body.dark-mode .board-online-title,
body.dark-mode .board-stat-value {
  color: #e5e7eb;
}
body.dark-mode .board-section-description,
body.dark-mode .board-stat-label,
body.dark-mode .board-stat-meta,
body.dark-mode .board-online-list,
body.dark-mode .board-help-item {
  color: #94a3b8;
}
body.dark-mode .board-section-toggle {
  color: #cbd5e1;
}

.board-stat-item-latest {
  min-width: 0;
}

.board-latest-post {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  min-width: 0;
}

.board-latest-post-text {
  min-width: 0;
  flex: 1 1 auto;
}

.board-latest-post-link {
  color: #0ea5e9;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.board-latest-post-link:hover,
.board-latest-post-link:focus {
  color: #0284c7;
  text-decoration: underline;
}

.board-latest-post-avatar {
  flex: 0 0 auto;
}

.board-latest-post-avatar .img-avatar,
.board-latest-post-avatar img {
  display: block;
  width: 56px;
  height: 56px;
  max-width: 56px;
  max-height: 56px;
  object-fit: cover;
  border-radius: 12px !important;
  border: 1px solid #d7dee7;
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.08);
}

.board-stat-meta {
  margin-top: 0.35rem;
  color: #6b7280;
  font-size: 0.88rem;
  line-height: 1.45;
}

@media (max-width: 767.98px) {
  .board-latest-post {
    flex-direction: column;
    align-items: flex-start;
  }
}
body.dark-mode .board-latest-post-avatar .img-avatar,
body.dark-mode .board-latest-post-avatar img {
  border-color: #334155;
  background: #0f172a;
}

.board-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1rem;
  align-items: start;
}

.board-section-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #475569;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.15s ease;
}
.board-section-toggle:hover, .board-section-toggle:focus {
  background: #f8fafc;
  color: #0f172a;
  outline: none;
}

.board-section-children {
  display: block;
}

body.dark-mode .board-section-toggle {
  color: #cbd5e1;
}
body.dark-mode .board-section-toggle:hover, body.dark-mode .board-section-toggle:focus {
  background: #1f2937;
  color: #ffffff;
}

.board-section {
  margin: 0.85rem 0;
}

.board-section-header {
  align-items: center;
  padding: 0.75rem 1rem;
}

.board-section-header-main {
  align-items: center;
  gap: 0.65rem;
}

.board-section-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #d7dee7;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.board-section-toggle:hover, .board-section-toggle:focus {
  background: #eef6ff;
  border-color: #93c5fd;
  color: #0f172a;
  outline: none;
}

.board-section-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: 700;
}

.board-section-title a {
  color: #1f2937;
  text-decoration: none;
}

.board-section-title a:hover,
.board-section-title a:focus {
  color: #0f172a;
  text-decoration: underline;
}

.board-section-description {
  margin-top: 0.15rem;
  color: #6b7280;
  font-size: 0.88rem;
  line-height: 1.35;
}

.board-section-actions {
  gap: 0.35rem;
}

.board-section-body {
  padding: 0.85rem 1rem 1rem;
}

.board-section-description {
  max-width: 72ch;
}

body.dark-mode .board-section-toggle {
  background: #1f2937;
  border-color: #334155;
  color: #cbd5e1;
}
body.dark-mode .board-section-toggle:hover, body.dark-mode .board-section-toggle:focus {
  background: #273449;
  border-color: #64748b;
  color: #ffffff;
}

.level-progress {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 28px;
  margin-top: 0.75rem;
  background: #eef2f7;
  border: 1px solid #d7dee7;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.04);
}

.level-progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  background: linear-gradient(90deg, #fde68a 0%, #fbbf24 100%);
  border-radius: 999px;
  z-index: 1;
}

.level-progress-indicator {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  margin-left: 3px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(215, 222, 231, 0.92);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.quickreply-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f7;
}

.forum-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #d7dee7;
  background: #f8fafc;
  color: #334155;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
}

.forum-tool:hover,
.forum-tool:focus {
  background: #eef6ff;
  border-color: #93c5fd;
  color: #0f172a;
  text-decoration: none;
}

.forum-tool i {
  font-size: 0.9rem;
}

.tool-label {
  font-weight: 500;
}

.forum-tool:nth-child(1):hover {
  background: #fff7ed;
  border-color: #fed7aa;
}

.forum-tool:nth-child(2):hover {
  background: #eef2ff;
  border-color: #c7d2fe;
}

.forum-tool:nth-child(3):hover {
  background: #ecfeff;
  border-color: #a5f3fc;
}

.forum-tool:nth-child(4):hover {
  background: #fffbeb;
  border-color: #fde68a;
}

.quickreply .card-header {
  background-color: #9e9e9e;
}

.quickreply .btn {
  color: black !important;
  font-weight: bolder;
}

.quickreply .card-body {
  background-color: #e1e1e1;
}

.quickreply-panel {
  background: #ffffff;
  border: 1px solid #d7dee7;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.05);
  overflow: hidden;
  margin-top: 1rem;
}

.quickreply-header {
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}

.quickreply-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: transparent;
  border: 0;
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
}

.quickreply-toggle:hover,
.quickreply-toggle:focus {
  background: #f1f5f9;
  outline: none;
}

.quickreply-body {
  padding: 1.25rem;
  background: #ffffff;
}

.quickreply-form label {
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
}

.quickreply-form textarea,
.quickreply-form input[type=text],
.quickreply-form input[type=file],
.quickreply-form select {
  border-radius: 10px;
  border: 1px solid #d7dee7;
  box-shadow: none;
}

.quickreply-form textarea:focus,
.quickreply-form input[type=text]:focus,
.quickreply-form input[type=file]:focus,
.quickreply-form select:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.2);
}

.quickreply-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.quickreply-main-actions,
.quickreply-side-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.quickreply-attachment {
  margin-top: 1rem;
}

.quickreply-attachment-inner {
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
}

.quickreply-giphy {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f7;
}

.quickreply-giphy-search {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
}

.quickreply-giphy-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #d7dee7;
  padding: 0 0.85rem;
}

.quickreply-panel .card,
.quickreply-panel .card-header,
.quickreply-panel .card-body {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.quickreply-panel .btn-link {
  color: inherit;
  text-decoration: none;
}

.quickreply-panel .btn-group {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.quickreply-panel .form-group {
  margin-bottom: 1rem;
}

.quickreply-panel .custom-control,
.quickreply-panel .form-check {
  margin-bottom: 0.85rem;
}

.quickreply-panel .alert {
  border-radius: 10px;
}

.inbox.msg {
  clear: both;
  overflow: hidden;
}

.msg-img {
  display: inline-block;
  width: 6%;
}

.msg-img .img-avatar {
  max-width: 90% !important;
}

.msg-div {
  margin-bottom: 5px;
  display: inline-block;
  vertical-align: top;
  width: 92%;
}

.msg-div a {
  text-decoration: underline;
}

.incoming.msg-div {
  padding: 0 0 0 10px;
}

.incoming.withd-msg-div {
  width: 75%;
}

.incoming.withd-msg-div p {
  background: #ffc000 none repeat scroll 0 0;
  border-radius: 3px;
  color: #646464;
  margin: 0;
  padding: 5px 10px 5px 12px;
  width: 100%;
}

.outgoing.msg {
  overflow: hidden;
}

.outgoing.msg-div {
  float: right;
  width: 75%;
}

.outgoing.msg-div p {
  background: #05728f none repeat scroll 0 0;
  border-radius: 3px;
  margin: 0;
  color: #fff;
  padding: 5px 10px 5px 12px;
  width: 100%;
}

.outgoing.msg-div a {
  color: #fff !important;
}

.outgoing.msg-img {
  float: right;
  margin-left: 5px;
}

.time_date {
  color: #747474;
  display: block;
  font-size: 12px;
  margin: 8px 0 0;
}

.no-time-indication .time_date {
  display: none;
}

.mesgs {
  float: left;
  padding: 30px 15px 0 25px;
  width: 100%;
}

.msg_history {
  height: 516px;
  overflow-y: auto;
  background-color: #efefef;
  padding: 9px;
  border: 1px solid black;
}

.msg_history img {
  max-width: 100px;
}

.withd-msg-div {
  font-family: "cuneros-emojis", "Helvetica Neue", Roboto, SansSerif, sans-serif;
}

.pm-form #id_message {
  font-family: "cuneros-emojis", "Helvetica Neue", Roboto, SansSerif, sans-serif;
  border: 1px solid #1e1e1e;
  min-height: 2.5rem;
}

.img-giphy {
  max-width: 200px;
  max-height: 100px;
}

#giphy-container {
  height: 150px;
  overflow-y: scroll;
}

.img-giphy-post {
  max-width: 200px !important;
  max-height: 200px !important;
}

.post-spoiler {
  display: none;
}

.spoiler-label {
  font-weight: bold;
  cursor: pointer;
}

.diff-green {
  background-color: lightgreen;
}

.diff-red {
  background-color: indianred;
}

.diff-gray {
  color: dimgrey;
}

body.dark-mode {
  background: #0f172a;
  color: #e5e7eb;
}

.dark-mode .board-bg,
.dark-mode .cuneros-boards,
.dark-mode .tab-content,
.dark-mode .board-category,
.dark-mode .thread-table,
.dark-mode .thread-box,
.dark-mode .thread-info-column,
.dark-mode .board-user-show,
.dark-mode .post-div,
.dark-mode .quickreply-panel,
.dark-mode .pm .card,
.dark-mode .board-portal .card {
  color: #e5e7eb;
}
.dark-mode a {
  color: #cbd5e1;
}
.dark-mode .text-muted {
  color: #94a3b8 !important;
}
.dark-mode {
  /* overall surfaces */
}
.dark-mode .board-bg {
  background: #111827;
}
.dark-mode .thread-box,
.dark-mode .board-category,
.dark-mode .thread-table,
.dark-mode .thread-info-column,
.dark-mode .forums-nav,
.dark-mode .pm .card,
.dark-mode .board-portal .card,
.dark-mode .quickreply-panel,
.dark-mode .cuneros-boards .tab-content {
  background: #1f2937 !important;
  border: 1px solid #334155;
}
.dark-mode .board-category-100,
.dark-mode .thread-post-user-100 {
  background: #111827 !important;
}
.dark-mode .board-category-300,
.dark-mode .thread-post-user-200 {
  background: #273449 !important;
}
.dark-mode .thread-post-non-normal {
  background: #334155 !important;
}
.dark-mode .thread-post-team {
  background: #1e3a4c !important;
}
.dark-mode .thread-post-valuable {
  background: #31461f !important;
}
.dark-mode {
  /* post card */
}
.dark-mode article[id^=post_id_] {
  background: #111827;
  border-color: #334155;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.dark-mode .post-div {
  background: #111827;
  border: 0;
}
.dark-mode .post-header {
  border-bottom-color: #334155;
}
.dark-mode .post-header time,
.dark-mode .post-header span[itemprop=datePublished],
.dark-mode .post-header .text-gray-dark {
  color: #94a3b8 !important;
}
.dark-mode .post-message,
.dark-mode .post-signature,
.dark-mode .post-author-name,
.dark-mode .user-name,
.dark-mode .user-title {
  color: #e5e7eb;
}
.dark-mode .post-signature {
  border-top-color: #334155;
}
.dark-mode .post-message a,
.dark-mode .board-bg a,
.dark-mode .thread-info-column a,
.dark-mode .board-category a,
.dark-mode .thread-table a {
  color: #cbd5e1;
}
.dark-mode .post-div blockquote,
.dark-mode .blockquote-brooks {
  background: #0b1220;
  border-color: #334155;
  border-left-color: #64748b;
  color: #e5e7eb;
}
.dark-mode .post-preview {
  background: #0b1220;
  border: 1px dashed #334155;
  color: #e5e7eb;
}
.dark-mode {
  /* sidebar */
}
.dark-mode .board-user-column {
  background: #1f2937;
  border-right: 1px solid #334155;
}
.dark-mode .board-user-show,
.dark-mode .smartphone-user-panel {
  background: #1f2937;
  border-color: #334155;
}
.dark-mode .board-user-name {
  background: transparent;
  border: 0;
  color: #e5e7eb;
}
.dark-mode .board-user-superuser,
.dark-mode .board-user-superuser a {
  color: #fbbf24 !important;
}
.dark-mode .board-user-moderator,
.dark-mode .board-user-moderator a {
  color: #93c5fd !important;
}
.dark-mode .official-user-badge .img-avatar,
.dark-mode .official-user-badge img,
.dark-mode .user-avatar-link .img-avatar,
.dark-mode .user-avatar-link img {
  border-color: #334155;
  background: #111827;
}
.dark-mode {
  /* pills */
}
.dark-mode .forum-pill-muted {
  background: #1f2937;
  border-color: #475569;
  color: #94a3b8;
}
.dark-mode .forum-pill-info {
  background: #082f49;
  border-color: #0ea5e9;
  color: #bae6fd;
}
.dark-mode .forum-pill-success {
  background: #052e16;
  border-color: #166534;
  color: #86efac;
}
.dark-mode .forum-pill-warning,
.dark-mode .user-state-badge-warning {
  background: #3b2f08;
  border-color: #a16207;
  color: #fcd34d;
}
.dark-mode .forum-pill-danger,
.dark-mode .user-state-badge-danger {
  background: #3f0d17;
  border-color: #9f1239;
  color: #fda4af;
}
.dark-mode .user-pill-team {
  background: #1e1b4b;
  border-color: #6366f1;
}
.dark-mode .user-pill-api {
  background: #083344;
  border-color: #0891b2;
  color: #67e8f9;
}
.dark-mode {
  /* buttons */
}
.dark-mode .forum-btn,
.dark-mode .forum-tool,
.dark-mode .post-menu a,
.dark-mode .post-menu button,
.dark-mode .post-actions .btn {
  background: #1f2937;
  border-color: #334155;
  color: #e5e7eb;
}
.dark-mode .forum-btn:hover,
.dark-mode .forum-btn:focus,
.dark-mode .forum-tool:hover,
.dark-mode .forum-tool:focus,
.dark-mode .post-menu a:hover,
.dark-mode .post-menu button:hover,
.dark-mode .post-actions .btn:hover {
  background: #273449;
  border-color: #64748b;
  color: #ffffff;
}
.dark-mode .forum-btn-primary {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #082f49;
}
.dark-mode .forum-btn-primary:hover,
.dark-mode .forum-btn-primary:focus {
  background: #0ea5e9;
  border-color: #0ea5e9;
  color: #ffffff;
}
.dark-mode .forum-btn-danger {
  background: #3f0d17;
  border-color: #9f1239;
  color: #fda4af;
}
.dark-mode .forum-btn-danger:hover,
.dark-mode .forum-btn-danger:focus {
  background: #4c1020;
  border-color: #be123c;
  color: #ffe4e6;
}
.dark-mode .user-transfer-btn {
  background: #082f49;
  border-color: #0369a1;
  color: #bae6fd;
}
.dark-mode .user-transfer-btn:hover,
.dark-mode .user-transfer-btn:focus {
  background: #0c4a6e;
  border-color: #0ea5e9;
  color: #e0f2fe;
}
.dark-mode {
  /* level */
}
.dark-mode .level-progress {
  background: #0b1220;
  border-color: #334155;
}
.dark-mode .level-progress-indicator {
  background: rgba(15, 23, 42, 0.92);
  border-color: #475569;
  color: #e5e7eb;
}
.dark-mode {
  /* quickreply / forms */
}
.dark-mode .quickreply-panel,
.dark-mode .quickreply-body,
.dark-mode .quickreply-attachment-inner {
  background: #111827;
  border-color: #334155;
}
.dark-mode .quickreply-header {
  background: #1f2937;
  border-bottom-color: #334155;
}
.dark-mode .quickreply-toggle,
.dark-mode .quickreply-form label,
.dark-mode .pm .card-header,
.dark-mode .pm .card-body label,
.dark-mode .cuneros-boards .card-header,
.dark-mode .cuneros-boards .card-body label {
  color: #e5e7eb;
}
.dark-mode .quickreply-form textarea,
.dark-mode .quickreply-form input[type=text],
.dark-mode .quickreply-form input[type=file],
.dark-mode .quickreply-form select,
.dark-mode .quickreply-giphy-search input,
.dark-mode .pm-form #id_message {
  background: #0b1220;
  border-color: #334155;
  color: #e5e7eb;
}
.dark-mode .quickreply-form textarea:focus,
.dark-mode .quickreply-form input[type=text]:focus,
.dark-mode .quickreply-form input[type=file]:focus,
.dark-mode .quickreply-form select:focus,
.dark-mode .quickreply-giphy-search input:focus,
.dark-mode .pm-form #id_message:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}
.dark-mode {
  /* nav tabs / dropdowns / list items */
}
.dark-mode .cuneros-boards .nav-tabs .nav-link {
  background: #1f2937;
  border-color: #334155;
  color: #e5e7eb;
}
.dark-mode .cuneros-boards .nav-tabs .nav-link.active,
.dark-mode .cuneros-boards .nav-tabs .nav-item.show .nav-link {
  background: #273449;
  border-color: #334155;
  color: #ffffff;
}
.dark-mode .cuneros-boards .nav-tabs .nav-link:hover {
  background: #273449;
  color: #ffffff;
}
.dark-mode .cuneros-boards .dropdown-menu {
  background: #1f2937;
  border-color: #334155;
  color: #e5e7eb;
}
.dark-mode .cuneros-boards .dropdown-menu a {
  color: #e5e7eb !important;
}
.dark-mode .cuneros-boards .dropdown-menu .dropdown-item {
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}
.dark-mode .cuneros-boards .dropdown-menu .dropdown-item:hover {
  background: #273449;
}
.dark-mode .cuneros-boards .dropdown-divider {
  border-top-color: #334155;
}
.dark-mode .cuneros-boards .list-group-item {
  background: #1f2937;
  border-color: #334155;
  color: #e5e7eb;
}
.dark-mode {
  /* tables / pagination */
}
.dark-mode .cuneros-boards table .even {
  background: #1f2937;
}
.dark-mode .cuneros-boards table .selected {
  background: #0b1220;
}
.dark-mode .pagination a {
  background: #1f2937 !important;
  border-color: #334155;
  color: #e5e7eb;
}
.dark-mode .pagination .page-item.active a {
  background: #273449 !important;
  border-color: #64748b;
  color: #ffffff;
}
.dark-mode {
  /* utility */
}
.dark-mode .no-new-post {
  color: #94a3b8;
}
.dark-mode .forums-toolbar-inner,
.dark-mode .forums-search-mobile {
  background: #111827;
  border-color: #334155;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.dark-mode .forums-search-input {
  background: #0f172a;
  border-color: #334155;
  color: #e5e7eb;
}
.dark-mode .forums-search-input::placeholder {
  color: #94a3b8;
}
.dark-mode .forums-search-input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}
.dark-mode .forum-tool-toggle {
  background: #1f2937;
  border-color: #334155;
  color: #cbd5e1;
}
.dark-mode .forum-tool-toggle:hover, .dark-mode .forum-tool-toggle.active {
  background: #082f49;
  border-color: #0ea5e9;
  color: #bae6fd;
}
.dark-mode .forum-search-submit {
  background: #fbbf24;
  border-color: #fbbf24;
  color: #3b2f08;
}
.dark-mode .forum-search-submit:hover, .dark-mode .forum-search-submit:focus {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #fff;
}
.dark-mode .forum-nav-link {
  color: #cbd5e1 !important;
}
.dark-mode .forum-nav-link:hover, .dark-mode .forum-nav-link:focus {
  background: #1f2937;
  color: #ffffff !important;
}
.dark-mode .forum-nav-link.has-highlight {
  background: #083344;
  color: #67e8f9 !important;
}
.dark-mode .forum-count-pill-success {
  background: #052e16;
  color: #86efac;
}
.dark-mode .forum-count-pill-info {
  background: #082f49;
  color: #7dd3fc;
}
.dark-mode .forum-count-pill-warning {
  background: #3b2f08;
  color: #fcd34d;
}
.dark-mode .dropdown-menu {
  background: #1f2937;
  border-color: #334155;
}
.dark-mode .dropdown-item {
  color: #e5e7eb;
}
.dark-mode .dropdown-item:hover, .dark-mode .dropdown-item:focus {
  background: #334155;
  color: #ffffff;
}
.dark-mode .btn-toggle-dark-mode i {
  color: #e5e7eb;
}
.dark-mode .thread-context-card {
  background: #111827;
  border-color: #334155;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.dark-mode .thread-context-label {
  color: #94a3b8;
}
.dark-mode .thread-context-title a {
  color: #7dd3fc;
}
.dark-mode .thread-context-title a:hover,
.dark-mode .thread-context-title a:focus {
  color: #bae6fd;
}
.dark-mode .thread-context-description {
  color: #cbd5e1;
}
.dark-mode .thread-context-notice-warning {
  background: #3b2f08;
  border-color: #a16207;
  color: #fcd34d;
}
.dark-mode .thread-card {
  background: #111827;
  border-color: #334155;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.dark-mode .thread-header {
  border-bottom-color: #334155;
}
.dark-mode .thread-title {
  color: #e5e7eb;
}
.dark-mode .thread-meta {
  color: #94a3b8;
}
.dark-mode .thread-moderation-actions {
  border-top-color: #334155;
}
.dark-mode .thread-notice-danger {
  background: #3f0d17;
  border-color: #9f1239;
  color: #fda4af;
}
.dark-mode .thread-notice-info {
  background: #082f49;
  border-color: #0369a1;
  color: #7dd3fc;
}

.btn-toggle-dark-mode i {
  color: #000;
}

body.dark-mode .btn-toggle-dark-mode i {
  color: #e5e7eb;
}
