@charset "UTF-8";
html, table {
  font-size: 14px;
}

html {
  min-height: 100%;
  scrollbar-color: rgba(29, 115, 255, 0.36) rgba(226, 232, 240, 0.55);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.82), rgba(226, 232, 240, 0.52));
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  border: 2px solid rgba(243, 245, 248, 0.92);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.72), rgba(29, 115, 255, 0.62));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32), 0 4px 12px rgba(29, 115, 255, 0.16);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.9), rgba(29, 115, 255, 0.82));
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #60a5fa, #1d73ff);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

button:focus,
a:focus,
.btn:focus,
[role="button"]:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

button:focus-visible,
a:focus-visible,
.btn:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 115, 255, 0.18);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f3f5f8;
  color: #263241;
  font-family: "Helvetica Neue", Helvetica, "Microsoft Yahei", "Hiragino Sans GB", "WenQuanYi Micro Hei", "微软雅黑", "华文细黑", STHeiti, sans-serif;
}

#header, #body, #footer {
  width: 100%;
}

#header {
  flex: 0 0 auto;
}

#body {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

#body > .container {
  flex: 0 0 auto;
}

#footer {
  flex: 0 0 auto;
  margin-top: auto;
}

.bbs-footer {
  padding: 2rem 0 1.5rem;
  color: #8a96a6;
  background: transparent;
}

.bbs-footer-container {
  max-width: 1180px;
}

.bbs-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border: 1px solid #edf1f6;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(30, 48, 80, 0.03);
}

.bbs-footer-brand,
.bbs-footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.76rem;
}

.bbs-footer-brand a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #526174;
}

.bbs-footer-brand a:hover {
  color: #1d73ff;
  text-decoration: none;
}

.bbs-footer-brand b {
  font-weight: 800;
}

.bbs-footer-brand em {
  padding: 0.08rem 0.38rem;
  color: #1d73ff;
  border-radius: 999px;
  background: #eaf2ff;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}

.bbs-footer-meta {
  justify-content: flex-end;
  color: #9aa4b2;
}

.bbs-footer-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.bbs-footer-meta b {
  color: #526174;
  font-weight: 800;
}

#body > .container > .row > .aside {
  padding-left: 0;
}

#my_aside,
#user_aside {
  flex: 0 0 320px;
  max-width: 320px;
}

#my_main,
#user_main {
  flex: 1 1 0;
  max-width: calc(100% - 320px);
}

.table th,
.table > tbody > tr:first-child > td {
  border-top: none;
}

.card {
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid #e8edf5;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(30, 48, 80, 0.06);
}

.card > .card-header {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: #1f2d3d;
  font-size: 0.92rem;
  font-weight: 900;
  border-bottom: 1px solid #edf1f7;
  background: linear-gradient(135deg, #ffffff 0%, #f6f9ff 100%);
}

.card > .card-body {
  background: transparent;
}

#my_main > .card > .card-body,
#user_main > .card > .card-body {
  padding-top: 1.25rem;
}

#my_main .card-header-tabs,
#user_main .card-header-tabs {
  gap: 0.22rem 0.35rem;
}

.card > .card-footer {
  border-top: 1px solid #edf1f7;
  background: #f8fbff;
}

.card-header-tabs > .nav-item > .nav-link {
  padding: 0.36rem 0.82rem;
  color: #667085;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
}

.card-header-tabs > .nav-item > .nav-link:hover:not(.active) {
  color: #1d73ff;
  border-color: transparent;
  background: #eef5ff;
}

.card-header-tabs > .nav-item > .nav-link.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #1d73ff, #4f8cff);
  box-shadow: 0 10px 20px rgba(29, 115, 255, 0.18);
}

.card-threadlist > .card-header {
  align-items: center;
  min-height: 48px;
  padding-top: 0.6rem;
  padding-bottom: 0.55rem;
}

.card-threadlist .card-header-tabs {
  align-items: center;
  margin-bottom: -0.2rem;
}

.card-threadlist .card-header-tabs > .nav-item > .nav-link {
  min-width: 48px;
  padding: 0.34rem 0.62rem;
  border-radius: 11px;
  font-size: 0.72rem;
  line-height: 1.15;
  text-align: center;
  box-shadow: none;
}

.card-threadlist .card-header-tabs > .nav-item > .nav-link.active {
  box-shadow: 0 8px 18px rgba(29, 115, 255, 0.16);
}

.card-header-dropdown {
  color: #667085;
  font-size: 0.78rem;
}

.card-header-dropdown a {
  color: #34516f;
  font-weight: 800;
}

.breadcrumb {
  align-items: center;
  padding: 0.68rem 0.9rem;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 8px 22px rgba(30, 48, 80, 0.04);
}

.breadcrumb:hover {
  background-color: #fff !important;
}

.breadcrumb .breadcrumb-item {
  display: inline-flex;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumb .breadcrumb-item a {
  max-width: 400px;
  overflow: hidden;
  color: #667085;
  text-overflow: ellipsis;
}

.breadcrumb .breadcrumb-item a:hover {
  color: #1d73ff;
  text-decoration: none;
}

.thread, .post {
  padding: 0.85rem 0;
  border-bottom: 1px solid #edf1f7;
  transition: background 0.18s ease, transform 0.18s ease;
}

.thread .subject {
  color: #111827;
  font-weight: 900;
}

.thread .text-muted,
.thread .date,
.thread .text-grey {
  color: #7b8794 !important;
}

.thread:hover {
  background: #f8fbff;
}

.threadlist > .thread:last-child,
.postlist > .post:last-child {
  border-bottom: 0;
}

.postlist .post {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.postlist .media-body {
  width: 1%;
}

.username a,
.thread .subject a,
.thread a.subject {
  color: #1f2d3d;
  font-weight: 800;
}

.username a:hover,
.thread .subject a:hover,
.thread a.subject:hover {
  color: #1d73ff;
  text-decoration: none;
}

.bbs-thread-container {
  width: 100%;
  max-width: 1180px;
}

.bbs-thread-layout {
  align-items: flex-start;
  gap: 18px;
  margin-right: 0;
  margin-left: 0;
}

.bbs-thread-main,
.bbs-thread-aside,
.bbs-thread-left-aside {
  position: relative;
  width: 100%;
}

.bbs-thread-left-aside {
  flex: 0 0 320px;
  max-width: 320px;
  align-self: flex-start;
  position: sticky;
  top: 86px;
  overflow: visible;
}

.bbs-thread-left-sticky {
  overflow: visible;
}

.bbs-thread-main {
  flex: 0 0 calc(100% - 676px);
  max-width: calc(100% - 676px);
}

.bbs-thread-layout-no-toc .bbs-thread-main {
  flex: 0 0 calc(100% - 338px);
  max-width: calc(100% - 338px);
}

.bbs-thread-aside {
  flex: 0 0 320px;
  max-width: 320px;
  align-self: flex-start;
  position: sticky;
  top: 86px;
  overflow: visible;
}

.card-thread .card-body {
  padding: 1.35rem 1.5rem;
}

.card-thread .message,
.card-postlist .message {
  color: #344052;
  font-size: 0.98rem;
  line-height: 1.92;
}

.card-postlist .card-body {
  padding: 1.25rem 1.5rem;
}

.card-postlist .post .message {
  min-height: 1.8rem;
  margin-top: 0.45rem !important;
}

.bbs-thread-detail-label {
  display: inline-flex;
  align-items: center;
  height: 22px;
  margin-right: 7px;
  padding: 0 8px;
  color: #fff;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 22px;
  vertical-align: 2px;
  white-space: nowrap;
}

.bbs-thread-detail-label-top {
  background: linear-gradient(135deg, #1d73ff, #60a5fa);
}

.bbs-thread-detail-label-recommend {
  background: linear-gradient(135deg, #ef4444, #f43f5e);
}

.bbs-thread-detail-label-digest {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.bbs-thread-detail-label-mod {
  background: linear-gradient(135deg, #10b981, #22c55e);
}

.bbs-thread-neighbor-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 1rem;
}

.bbs-thread-neighbor-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88px;
  padding: 1rem 1.25rem;
  color: #1f2937;
  border: 1px solid #edf1f6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 48, 80, 0.03);
}

.bbs-thread-neighbor-card:hover {
  color: #1d73ff;
  text-decoration: none;
  border-color: rgba(29, 115, 255, 0.2);
  box-shadow: 0 12px 28px rgba(29, 115, 255, 0.08);
}

.bbs-thread-neighbor-card span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
  color: #1f2937;
  font-size: 0.92rem;
  font-weight: 700;
}

.bbs-thread-neighbor-card strong {
  overflow: hidden;
  color: #1d73ff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-thread-neighbor-card.next {
  align-items: flex-end;
  text-align: right;
}

.bbs-thread-neighbor-card.empty {
  color: #9aa4b2;
  background: #fbfcfe;
  box-shadow: none;
}

.bbs-thread-neighbor-card.empty span,
.bbs-thread-neighbor-card.empty strong {
  color: #9aa4b2;
}

@media (max-width: 575.98px) {
  .bbs-thread-neighbor-nav {
    grid-template-columns: 1fr;
  }
  .bbs-thread-neighbor-card.next {
    align-items: flex-start;
    text-align: left;
  }
}

@media (min-width: 1200px) {
  #body > .bbs-thread-container {
    width: calc(100% - 48px);
    max-width: 1500px;
  }
  .card-thread .card-body {
    padding: 1.65rem 1.9rem;
  }
  .card-thread .message {
    font-size: 1rem;
  }
  .bbs-thread-left-aside {
    flex: 0 0 320px;
    max-width: 320px;
  }
  .bbs-thread-main {
    flex: 0 0 calc(100% - 676px);
    max-width: calc(100% - 676px);
  }
  .bbs-thread-layout-no-toc .bbs-thread-main {
    flex: 0 0 calc(100% - 338px);
    max-width: calc(100% - 338px);
  }
}

@media (min-width: 1440px) {
  #body > .bbs-thread-container {
    max-width: 1620px;
  }
}

@media (max-width: 1199.98px) {
  .bbs-thread-main {
    flex: 0 0 calc(100% - 338px);
    max-width: calc(100% - 338px);
  }
}

@media (max-width: 991.98px) {
  .bbs-thread-main {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.card-thread h4,
.card-thread h1 {
  color: #111827;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.card-thread .media {
  align-items: flex-start;
}

.card-postlist .card-title {
  color: #1f2d3d;
  font-weight: 900;
}

.avatar-3,
.logo-4,
.logo-5,
.img-circle {
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(30, 48, 80, 0.08);
}

.avatar-3 {
  border-radius: 50%;
}

.message p {
  margin: 0.2rem 0;
  line-height: 1.7;
}

.message img {
  max-width: 100%;
  height: auto !important;
  margin-bottom: 0.75rem;
  border: 1px solid #e5eaf2;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(30, 48, 80, 0.08);
}

.bbs-postlist-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #edf1f7;
}

.bbs-postlist-title b {
  display: block;
  color: #1f2d3d;
  font-size: 1rem;
  font-weight: 900;
}

.bbs-postlist-title span {
  color: #8a96a6;
  font-size: 0.78rem;
  font-weight: 700;
}

.bbs-postlist-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.bbs-postlist-tools > a,
.bbs-floor-jump-form button {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  height: 32px;
  padding: 0 0.7rem;
  color: #526174;
  border: 1px solid #dbe5f2;
  border-radius: 999px;
  background: #f7faff;
  font-size: 0.78rem;
  font-weight: 900;
}

.bbs-postlist-tools > a:hover,
.bbs-postlist-tools > a.active,
.bbs-floor-jump-form button:hover {
  color: #1d73ff;
  text-decoration: none;
  border-color: #bcd4ff;
  background: #eef5ff;
}

.bbs-thread-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  max-width: 100%;
  height: 36px;
  margin: 1rem auto 1.25rem;
  border-radius: 12px;
  font-weight: 900;
}

.bbs-thread-back-btn:hover {
  text-decoration: none;
}

.bbs-floor-jump-form {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
}

.bbs-floor-jump-form input {
  width: 72px;
  height: 32px;
  padding: 0 0.55rem;
  color: #344054;
  border: 1px solid #dbe5f2;
  border-radius: 999px;
  outline: none;
  font-size: 0.78rem;
}

.bbs-code-wrap {
  position: relative;
  margin: 0.9rem 0;
}

.bbs-code-wrap pre {
  padding-top: 2.6rem !important;
  border-radius: 14px;
}

.bbs-code-copy {
  position: absolute;
  z-index: 2;
  top: 0.55rem;
  right: 0.55rem;
  height: 28px;
  padding: 0 0.65rem;
  color: #526174;
  border: 1px solid #dbe5f2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.bbs-thread-tool-card {
  padding: 1.05rem 1.08rem 1.15rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(30, 48, 80, 0.06);
}

.bbs-thread-tool-title,
.bbs-related-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  color: #1f2d3d;
  border-bottom: 1px solid #eef2f7;
  font-size: 0.95rem;
  font-weight: 900;
}

.bbs-thread-toc {
  overflow: visible;
  padding-right: 0;
}

.bbs-thread-toc a,
.bbs-thread-side-tools a {
  display: block;
  margin-bottom: 0.18rem;
  padding: 0.58rem 0.68rem;
  color: #526174;
  border-radius: 11px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.55;
  white-space: normal;
  word-break: break-word;
}

.bbs-thread-toc a:hover,
.bbs-thread-toc a.active,
.bbs-thread-side-tools a:hover {
  color: #1d73ff;
  text-decoration: none;
  background: #eef5ff;
}

.bbs-toc-heading {
  scroll-margin-top: 92px;
}

.bbs-thread-toc .toc-h3,
.bbs-thread-toc .toc-h4 {
  padding-left: 1.35rem;
  color: #718096;
  font-size: 0.86rem;
}

.bbs-thread-toc-empty {
  color: #9aa4b2;
  font-size: 0.78rem;
}

.bbs-related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.bbs-related-list a {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 82px;
  padding: 0.9rem;
  color: #1f2d3d;
  border: 1px solid #edf1f6;
  border-radius: 12px;
  background: #fff;
}

.bbs-related-list a:hover {
  color: #1d73ff;
  text-decoration: none;
  border-color: #bcd4ff;
  background: #f8fbff;
}

.bbs-related-list strong {
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-related-list span {
  color: #8a96a6;
  font-size: 0.76rem;
  font-weight: 700;
}

.bbs-lightbox,
.bbs-poster-modal {
  position: fixed;
  z-index: 1080;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

.bbs-lightbox.show,
.bbs-poster-modal.show {
  display: flex;
}

.bbs-lightbox-backdrop,
.bbs-poster-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
}

.bbs-lightbox img {
  position: relative;
  z-index: 2;
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.bbs-lightbox-close {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 24px;
  width: 38px;
  height: 38px;
  color: #fff;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.bbs-poster-panel {
  position: relative;
  z-index: 2;
  width: min(92vw, 420px);
}

.bbs-poster-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.bbs-poster-preview img {
  display: block;
  width: 100%;
  max-height: 78vh;
  border-radius: 22px;
  object-fit: contain;
}

.bbs-poster-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 220px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
}

.bbs-poster-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.bbs-poster-actions button,
.bbs-poster-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.bbs-poster-copy,
.bbs-poster-download {
  color: #fff;
  background: #1d73ff;
}

.bbs-poster-copy:hover,
.bbs-poster-download:hover {
  color: #fff;
  text-decoration: none;
  background: #1764dd;
}

.bbs-poster-download.disabled {
  pointer-events: none;
  opacity: 0.55;
}

.bbs-poster-close-btn {
  color: #526174;
  background: #eef2f7;
}

@media (max-width: 991.98px) {
  .bbs-postlist-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .bbs-postlist-tools {
    justify-content: flex-start;
  }
  .bbs-related-list {
    grid-template-columns: 1fr;
  }
}

.form-control,
.custom-select {
  border-color: #d9e2ef;
  border-radius: 12px;
  color: #263241;
  background-color: #fff;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-control:focus,
.custom-select:focus {
  border-color: #1d73ff;
  box-shadow: 0 0 0 0.16rem rgba(29, 115, 255, 0.12);
}

textarea.form-control {
  line-height: 1.7;
}

.btn {
  border-radius: 12px;
  font-weight: 800;
}

.btn-primary {
  border-color: #1d73ff;
  background: linear-gradient(135deg, #1d73ff, #4f8cff);
  box-shadow: 0 10px 20px rgba(29, 115, 255, 0.16);
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: #1764dd;
  background: linear-gradient(135deg, #1764dd, #3b82f6);
}

.btn-secondary {
  color: #435268;
  border-color: #d9e2ef;
  background: #f6f9ff;
}

.btn-secondary:hover,
.btn-secondary:focus {
  color: #1d73ff;
  border-color: #bcd4ff;
  background: #eef5ff;
}

.btn-danger {
  border-color: #ef4444;
  background: linear-gradient(135deg, #ef4444, #f97316);
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.14);
}

.btn-success {
  border-color: #16a34a;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.14);
}

.alert {
  border-radius: 16px;
  border-color: #dbeafe;
  box-shadow: 0 10px 24px rgba(30, 48, 80, 0.06);
}

.badge {
  border-radius: 999px;
  font-weight: 800;
}

.table {
  color: #344054;
}

.table thead th {
  color: #667085;
  border-bottom: 1px solid #edf1f7;
  font-size: 0.82rem;
  font-weight: 900;
}

.table td {
  border-top-color: #edf1f7;
}

.table-hover tbody tr:hover {
  background-color: #f8fbff;
}

.thread .badge {
  font-weight: normal;
}

#message {
  height: 2.4rem;
  transition: height 0.2s;
}

.pagination {
  flex-wrap: wrap;
}

.page-link {
  margin: 0 0.16rem;
  color: #526174;
  border-color: #d9e2ef;
  border-radius: 10px !important;
  font-weight: 800;
}

.page-link:hover {
  color: #1d73ff;
  border-color: #bcd4ff;
  background: #eef5ff;
}

.page-item.active .page-link {
  border-color: #1d73ff;
  background: linear-gradient(135deg, #1d73ff, #4f8cff);
  box-shadow: 0 8px 18px rgba(29, 115, 255, 0.16);
}

.dropdown-menu {
  overflow: hidden;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(30, 48, 80, 0.12);
}

.dropdown-item {
  color: #526174;
  font-weight: 700;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: #1d73ff;
  background: #eef5ff;
}

.addattach:hover {
  font-weight: 800;
}

.blockquote {
  font-size: 0.8rem;
  background-color: #e9ecef;
  background-image: url(../img/quote.png);
  background-repeat: no-repeat;
  background-position: top right;
  padding: 0.5rem 1rem !important;
}

li.quote {
  background-color: #e9ecef;
  background-image: url(../img/quote.png);
  background-repeat: no-repeat;
  background-position: top right;
}

.bbs-topbar {
  min-height: 42px;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.bbs-topbar > .container {
  max-width: 1500px;
}

.bbs-topbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 2.2rem;
  color: #343b47;
  font-size: 0.82rem;
  font-weight: 800;
}

.bbs-topbar .navbar-brand img {
  display: none;
}

.bbs-topbar-brand-text {
  display: inline-block;
}

.bbs-topbar .navbar-nav .nav-link {
  position: relative;
  padding: 0.78rem 1rem;
  color: #6d7888;
  font-size: 0.82rem;
}

.bbs-topbar .navbar-nav .nav-link:hover,
.bbs-topbar .navbar-nav .active > .nav-link {
  color: #1d73ff;
}

.bbs-topbar .navbar-nav .active > .nav-link:after {
  position: absolute;
  right: 1rem;
  bottom: 0;
  left: 1rem;
  height: 2px;
  content: "";
  border-radius: 99px;
  background: #1d73ff;
}

.bbs-topbar .username img {
  width: 18px;
  height: 18px;
}

.bbs-theme-toggle i {
  width: 1rem;
  text-align: center;
}

.bbs-home {
  position: relative;
  color: #182333;
}

.bbs-home:before {
  position: absolute;
  z-index: -1;
  top: -2rem;
  left: 50%;
  width: 100vw;
  height: 28rem;
  content: "";
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(circle at 18% 14%, rgba(117, 163, 189, 0.16), transparent 28%), radial-gradient(circle at 82% 8%, rgba(127, 181, 167, 0.14), transparent 26%), linear-gradient(180deg, rgba(246, 250, 251, 0.82), rgba(222, 226, 230, 0));
}

.bbs-home a,
.bbs-feed a {
  transition: all 0.2s ease;
}

.bbs-feed {
  max-width: 1180px;
  margin: 0 auto;
  color: #222a36;
}

.bbs-feed:before {
  display: none;
}

.bbs-feed-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: start;
}

.bbs-feed-left,
.bbs-feed-right {
  position: sticky;
  top: 58px;
}

.bbs-feed-left-card,
.bbs-feed-side-card,
.bbs-feed-card,
.bbs-recommend-card,
.bbs-feed-tabs,
.bbs-rank-nav-card,
.bbs-rank-join-card,
.bbs-rank-board,
.bbs-rank-side-card {
  border: 1px solid #edf1f6;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 48, 80, 0.03);
}

.bbs-feed-left-card {
  overflow: hidden;
  padding: 10px;
}

.bbs-feed-left-item {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 5px;
  padding: 7px 10px;
  color: #5e6877;
  border-radius: 8px;
}

.bbs-feed-left-item:last-child {
  margin-bottom: 0;
}

.bbs-feed-left-item:hover,
.bbs-feed-left-item.active {
  color: #1d73ff;
  text-decoration: none;
  background: rgba(29, 115, 255, 0.06);
}

.bbs-feed-left-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  color: #9aa8b8;
  border-radius: 50%;
  background: #eef2f6;
}

.bbs-feed-left-item.active .bbs-feed-left-icon {
  color: #9aa8b8;
  background: #eef2f6;
}

.bbs-feed-left-item.active .bbs-feed-left-icon img {
  box-shadow: 0 0 0 0 rgba(29, 115, 255, 0.36);
  animation: bbsForumNavBreath 2.2s ease-in-out infinite;
}

@keyframes bbsForumNavBreath {
  0% {
    box-shadow: 0 0 0 0 rgba(29, 115, 255, 0.34), 0 6px 16px rgba(29, 115, 255, 0.16);
  }
  55% {
    box-shadow: 0 0 0 8px rgba(29, 115, 255, 0.08), 0 10px 24px rgba(29, 115, 255, 0.22);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(29, 115, 255, 0), 0 6px 16px rgba(29, 115, 255, 0.16);
  }
}

.bbs-feed-left-icon img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.bbs-feed-left-item strong {
  overflow: hidden;
  flex: 1;
  font-size: 0.82rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-feed-left-action {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e5ebf3;
}

.bbs-feed-left-action a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-height: 38px;
  color: #fff;
  border-radius: 9px;
  background: linear-gradient(135deg, #1d73ff, #4f8cff);
  box-shadow: 0 10px 20px rgba(29, 115, 255, 0.18);
  font-size: 0.84rem;
  font-weight: 900;
}

.bbs-feed-left-action a:hover {
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(29, 115, 255, 0.24);
  transform: translateY(-1px);
}

.bbs-feed-left-action i {
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
  .bbs-feed-left-action {
    display: none;
  }
}

.bbs-rank-container {
  width: calc(100% - 48px);
  max-width: 1500px;
}

.bbs-rank-closed {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.bbs-rank-closed-card {
  width: min(100%, 520px);
  padding: 48px 34px;
  border: 1px solid #edf1f6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(30, 48, 80, 0.08);
  text-align: center;
}

.bbs-rank-closed-card > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: #ef4444;
  border-radius: 50%;
  background: #fef2f2;
  font-size: 1.8rem;
}

.bbs-rank-closed-card h1 {
  margin: 20px 0 10px;
  color: #1f2937;
  font-size: 1.45rem;
  font-weight: 900;
}

.bbs-rank-closed-card p {
  margin-bottom: 24px;
  color: #64748b;
  font-size: 0.95rem;
}

.bbs-rank-page {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 230px;
  gap: 16px;
  align-items: flex-start;
}

.bbs-rank-left,
.bbs-rank-right {
  position: sticky;
  top: 58px;
}

.bbs-rank-nav-card {
  padding: 10px;
}

.bbs-rank-nav-item {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 6px;
  padding: 8px 10px;
  color: #667386;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 800;
}

.bbs-rank-nav-item i {
  width: 20px;
  margin-right: 9px;
  color: #7b8da6;
  text-align: center;
}

.bbs-rank-nav-item em {
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: #4f8cff;
}

.bbs-rank-nav-item:hover,
.bbs-rank-nav-item.active {
  color: #1d73ff;
  text-decoration: none;
  background: rgba(29, 115, 255, 0.08);
}

.bbs-rank-rule-tip {
  display: flex;
  align-items: center;
  margin-top: 12px;
  padding: 11px 10px;
  border-radius: 10px;
  background: #f4f7ff;
}

.bbs-rank-rule-tip > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 9px;
  color: #4f8cff;
  border-radius: 8px;
  background: #e4edff;
}

.bbs-rank-rule-tip strong,
.bbs-rank-rule-tip span {
  display: block;
}

.bbs-rank-rule-tip strong {
  color: #2d3a4d;
  font-size: 0.82rem;
}

.bbs-rank-rule-tip span {
  color: #8a96a8;
  font-size: 0.72rem;
}

.bbs-rank-join-card {
  overflow: hidden;
  position: relative;
  min-height: 154px;
  margin-top: 14px;
  padding: 22px 18px;
  color: #fff;
  background: radial-gradient(circle at 78% 72%, rgba(255, 255, 255, 0.3), transparent 18%), linear-gradient(135deg, #8b7cf6, #6d5dfc);
}

.bbs-rank-join-card strong,
.bbs-rank-join-card span,
.bbs-rank-join-card a {
  position: relative;
  z-index: 1;
  display: block;
}

.bbs-rank-join-card strong {
  font-size: 1rem;
  font-weight: 900;
}

.bbs-rank-join-card span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.bbs-rank-join-card a {
  display: inline-flex;
  margin-top: 18px;
  padding: 7px 14px;
  color: #5b4bf3;
  border-radius: 9px;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.bbs-rank-join-card a:hover {
  color: #4f46e5;
  text-decoration: none;
}

.bbs-rank-join-card > i {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 3.4rem;
}

.bbs-rank-board {
  padding: 22px 24px;
}

.bbs-rank-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.bbs-rank-head h1 {
  margin: 0;
  color: #172033;
  font-size: 1.18rem;
  font-weight: 900;
}

.bbs-rank-head h1 i {
  margin-left: 6px;
  color: #9db7ff;
  font-size: 0.85rem;
}

.bbs-rank-head p {
  margin: 8px 0 0;
  color: #9aa6b8;
  font-size: 0.8rem;
}

.bbs-rank-filter-wrap {
  position: relative;
  align-self: flex-start;
  padding-bottom: 10px;
}

.bbs-rank-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  color: #7f8b9d;
  border-radius: 10px;
  background: #f6f8fc;
  font-size: 0.78rem;
  font-weight: 800;
}

.bbs-rank-filter:hover {
  color: #1d73ff;
  text-decoration: none;
}

.bbs-rank-filter-menu {
  position: absolute;
  z-index: 8;
  top: 42px;
  right: 0;
  display: none;
  width: 178px;
  padding: 8px;
  border: 1px solid #dbe6f6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(30, 48, 80, 0.12);
}

.bbs-rank-filter-wrap:hover .bbs-rank-filter-menu {
  display: block;
}

.bbs-rank-filter-menu a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: #26364f;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 800;
}

.bbs-rank-filter-menu a:hover {
  color: #3b73ff;
  text-decoration: none;
  background: #eef4ff;
}

.bbs-rank-filter-menu a.active {
  color: #3b73ff;
  background: transparent;
}

.bbs-rank-filter-menu a.active:hover {
  background: #eef4ff;
}

.bbs-rank-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
  margin: 28px -2px 34px;
}

.bbs-rank-podium-item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 224px;
  padding: 18px 18px 24px;
  border-radius: 18px;
  text-align: center;
  box-shadow: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.bbs-rank-podium-item:before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.72), transparent 34%);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.bbs-rank-podium-item > * {
  position: relative;
  z-index: 1;
}

.bbs-rank-podium-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(50, 72, 110, 0.16);
  filter: saturate(1.06);
}

.bbs-rank-podium-item:hover:before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.bbs-rank-podium-item.rank-1 {
  min-height: 258px;
  padding-top: 18px;
  background: linear-gradient(180deg, #ffefd4 0%, #fffaf1 100%);
}

.bbs-rank-podium-item.rank-2 {
  background: linear-gradient(180deg, #e8f5ff 0%, #f8fcff 100%);
}

.bbs-rank-podium-item.rank-3 {
  background: linear-gradient(180deg, #ffe7d5 0%, #fff7ef 100%);
}

.bbs-rank-crown-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  margin-bottom: 8px;
}

.bbs-rank-podium-item.rank-1 .bbs-rank-crown-slot {
  height: 42px;
  margin-bottom: 12px;
}

.bbs-rank-avatar-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.bbs-rank-crown-img {
  display: block;
  width: 46px;
  height: 38px;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  box-shadow: none !important;
  pointer-events: none;
  transform-origin: center bottom;
  transition: transform 0.32s cubic-bezier(0.2, 1.4, 0.4, 1), filter 0.28s ease;
}

.bbs-rank-podium-item.rank-1 .bbs-rank-crown-img {
  width: 50px;
  height: 40px;
}

.bbs-rank-podium-item.rank-2 .bbs-rank-crown-img,
.bbs-rank-podium-item.rank-3 .bbs-rank-crown-img {
  width: 44px;
  height: 36px;
}

.bbs-rank-podium-item a img {
  width: 92px;
  height: 92px;
  border: 4px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 175, 37, 0.26), 0 14px 28px rgba(50, 72, 110, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bbs-rank-podium-item.rank-2 a img,
.bbs-rank-podium-item.rank-3 a img {
  width: 82px;
  height: 82px;
}

.bbs-rank-podium-item.rank-2 a img {
  box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.58), 0 14px 28px rgba(50, 72, 110, 0.12);
}

.bbs-rank-podium-item.rank-3 a img {
  box-shadow: 0 0 0 2px rgba(251, 113, 133, 0.38), 0 14px 28px rgba(50, 72, 110, 0.12);
}

.bbs-rank-podium-item strong {
  margin-top: 18px;
  color: #2f3a4a;
  font-size: 1.04rem;
  font-weight: 900;
}

.bbs-rank-podium-item.rank-1 strong {
  color: #e11d48;
}

.bbs-rank-podium-item span {
  margin-top: 10px;
  padding: 4px 10px;
  color: #2563eb;
  border-radius: 999px;
  background: #eaf2ff;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
}

.bbs-rank-podium-item.rank-1 span {
  color: #f97316;
  background: #fff0df;
}

.bbs-rank-podium-item em {
  margin-top: 16px;
  color: #ff5a1f;
  font-style: normal;
  font-size: 1.18rem;
  font-weight: 900;
}

.bbs-rank-podium-item.rank-2 em {
  color: #2563eb;
}

.bbs-rank-podium-item:hover .bbs-rank-crown-img {
  transform: translateY(-3px) rotate(-4deg) scale(1.12);
  filter: drop-shadow(0 8px 10px rgba(245, 158, 11, 0.24));
}

.bbs-rank-podium-item.rank-2:hover .bbs-rank-crown-img {
  filter: drop-shadow(0 8px 10px rgba(96, 165, 250, 0.24));
}

.bbs-rank-podium-item.rank-3:hover .bbs-rank-crown-img {
  filter: drop-shadow(0 8px 10px rgba(251, 113, 133, 0.24));
}

.bbs-rank-podium-item:hover a img {
  transform: scale(1.07);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.96), 0 18px 36px rgba(50, 72, 110, 0.2);
}

.bbs-rank-podium-item:hover em {
  transform: scale(1.08);
}

.bbs-rank-podium-item em {
  transition: transform 0.28s ease;
}

.bbs-rank-table {
  overflow: hidden;
}

.bbs-rank-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 110px;
  align-items: center;
  min-height: 54px;
  color: #617086;
  border-top: 1px solid #eef2f7;
}

.bbs-rank-row:hover {
  color: #1d73ff;
  text-decoration: none;
  background: #fbfdff;
}

.bbs-rank-row-head {
  min-height: 34px;
  color: #9ba7b9;
  border-top: 0;
  font-size: 0.76rem;
}

.bbs-rank-row span:nth-child(2) {
  display: flex;
  align-items: center;
  min-width: 0;
}

.bbs-rank-row img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 50%;
  object-fit: cover;
}

.bbs-rank-row strong {
  overflow: hidden;
  max-width: 160px;
  color: #39475a;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-rank-row em {
  margin-left: 8px;
  padding: 1px 6px;
  color: #618cff;
  border-radius: 999px;
  background: #eef4ff;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 900;
}

.bbs-rank-row span:last-child {
  justify-content: flex-end;
  color: #66768d;
  font-size: 0.82rem;
  font-weight: 800;
}

.bbs-rank-empty {
  padding: 30px 0;
  color: #9ba7b9;
  text-align: center;
}

.bbs-rank-banner {
  min-height: 104px;
  margin-bottom: 14px;
  padding: 20px;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(16, 44, 44, 0.78), rgba(36, 83, 65, 0.72)), url('../img/bg.png');
  background-position: center;
  background-size: cover;
}

.bbs-rank-banner strong,
.bbs-rank-banner span {
  display: block;
}

.bbs-rank-banner strong {
  max-width: 180px;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.45;
}

.bbs-rank-banner span {
  max-width: 180px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.bbs-rank-side-card {
  margin-bottom: 14px;
  padding: 16px;
}

.bbs-rank-side-card h3 {
  display: flex;
  align-items: center;
  margin: 0 0 12px;
  color: #2e3b4f;
  font-size: 0.88rem;
  font-weight: 900;
}

.bbs-rank-side-card h3 i {
  display: inline-block;
  width: 4px;
  height: 16px;
  margin-right: 8px;
  border-radius: 999px;
  background: #4f8cff;
}

.bbs-rank-side-card a,
.bbs-rank-rule-row {
  display: flex;
  align-items: center;
  min-height: 38px;
  color: #657489;
}

.bbs-rank-side-card a:hover {
  color: #1d73ff;
  text-decoration: none;
}

.bbs-rank-side-card a em {
  width: 20px;
  color: #f59e0b;
  font-style: normal;
  font-weight: 900;
}

.bbs-rank-side-card a img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 50%;
}

.bbs-rank-side-card a span {
  overflow: hidden;
  flex: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-rank-side-card a strong,
.bbs-rank-rule-row strong {
  margin-left: auto;
  color: #66768d;
  font-size: 0.78rem;
}

.bbs-rank-rule-row span {
  display: inline-flex;
  align-items: center;
}

.bbs-rank-rule-row i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  color: #8aa0bd;
  border-radius: 8px;
  background: #f2f5f9;
}

.bbs-rank-rule-row strong {
  color: #ff5b1f;
}

@media (max-width: 991.98px) {
  .bbs-rank-page {
    grid-template-columns: 1fr;
  }

  .bbs-rank-left,
  .bbs-rank-right {
    position: static;
  }

  .bbs-rank-podium {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-right: 0;
    margin-left: 0;
  }

  .bbs-rank-podium-item,
  .bbs-rank-podium-item.rank-1 {
    min-height: 224px;
  }
}

.bbs-recommend-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: 42% minmax(0, 1fr);
  min-height: 210px;
  margin-bottom: 12px;
  color: #263241;
  text-decoration: none;
}

.bbs-recommend-card:hover {
  color: #263241;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(30, 48, 80, 0.08);
}

.bbs-recommend-cover {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 210px;
  padding: 28px;
  color: #fff;
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.32), transparent 24%), linear-gradient(135deg, #2f7fff 0%, #7c3aed 48%, #ff4d75 100%);
  background-position: center;
  background-size: cover;
}

.bbs-recommend-cover.has-image:after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.42));
}

.bbs-recommend-cover span,
.bbs-recommend-cover strong {
  position: relative;
  z-index: 1;
  display: block;
}

.bbs-recommend-cover span {
  font-size: 0.82rem;
  font-weight: 800;
  opacity: 0.82;
}

.bbs-recommend-cover strong {
  max-width: 360px;
  margin-top: 8px;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.bbs-recommend-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 24px 26px;
}

.bbs-recommend-kicker {
  margin-bottom: 10px;
  color: #1d73ff;
  font-size: 0.78rem;
  font-weight: 900;
}

.bbs-recommend-kicker i {
  margin-right: 5px;
}

.bbs-recommend-body h1 {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 10px;
  color: #263241;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bbs-recommend-body p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 16px;
  color: #5f6b7a;
  font-size: 0.86rem;
  line-height: 1.85;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.bbs-recommend-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #7c8796;
  font-size: 0.78rem;
}

.bbs-recommend-meta span {
  display: inline-flex;
  align-items: center;
}

.bbs-recommend-meta img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 50%;
  object-fit: cover;
}

.bbs-recommend-meta i {
  margin-right: 5px;
}

.bbs-feed-tabs {
  display: flex;
  align-items: center;
  height: auto;
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 10px;
  border-right: 1px solid #edf1f6;
  border-left: 1px solid #edf1f6;
  box-shadow: 0 8px 24px rgba(30, 48, 80, 0.03);
}

.bbs-feed-tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 34px;
  margin-right: 8px;
  padding: 0 16px;
  color: #697586;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
}

.bbs-feed-tabs a:hover,
.bbs-feed-tabs a.active {
  color: #1d73ff;
  text-decoration: none;
  background: rgba(29, 115, 255, 0.08);
}

.bbs-feed-tabs a.active:after {
  display: none;
}

.bbs-feed-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  padding: 18px 20px 16px;
  border-bottom: 0;
}

.bbs-feed-card:hover {
  background: #fff;
  box-shadow: 0 12px 28px rgba(30, 48, 80, 0.06);
}

.bbs-feed-check {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  width: 16px;
  height: 16px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid #c8d3e2;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(30, 48, 80, 0.08);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.bbs-feed-check:hover {
  border-color: #8fb6ff;
  transform: scale(1.08);
}

.bbs-feed-check:checked {
  border-color: rgba(34, 197, 94, 0.78);
  background: radial-gradient(circle at center, #22c55e 0 34%, rgba(34, 197, 94, 0.18) 36% 58%, transparent 60%);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12), 0 6px 14px rgba(34, 197, 94, 0.2);
  animation: bbsFeedCheckPulse 0.34s ease-out;
}

@keyframes bbsFeedCheckPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.32), 0 4px 10px rgba(30, 48, 80, 0.08);
    transform: scale(0.86);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0), 0 6px 14px rgba(34, 197, 94, 0.2);
    transform: scale(1.08);
  }
  100% {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12), 0 6px 14px rgba(34, 197, 94, 0.2);
    transform: scale(1);
  }
}

.bbs-feed-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  padding-top: 7px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  transform: rotate(45deg) translate(7px, -18px);
  text-align: center;
  background: #2d7cff;
}

.bbs-feed-corner {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 92px;
  height: 92px;
  pointer-events: none;
  overflow: hidden;
}

.bbs-feed-corner span {
  position: absolute;
  top: 14px;
  right: -29px;
  display: block;
  width: 112px;
  padding: 6px 0;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  transform: rotate(45deg);
  box-shadow: 0 10px 22px rgba(29, 115, 255, 0.22);
}

.bbs-feed-corner-top span {
  background: linear-gradient(135deg, #1d73ff, #60a5fa);
}

.bbs-feed-corner-recommend span {
  background: linear-gradient(135deg, #ef4444, #f43f5e);
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.24);
}

.bbs-feed-corner-digest span {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.24);
}

.bbs-feed-corner-mod span {
  background: linear-gradient(135deg, #10b981, #22c55e);
  box-shadow: 0 10px 22px rgba(16, 185, 129, 0.24);
}

.bbs-feed-card-top {
  border-color: rgba(29, 115, 255, 0.2);
}

.bbs-feed-card-recommend {
  border-color: rgba(239, 68, 68, 0.24);
}

.bbs-feed-card-digest {
  border-color: rgba(245, 158, 11, 0.24);
}

.bbs-feed-card-mod {
  border-color: rgba(16, 185, 129, 0.22);
}

.bbs-feed-card-head {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.bbs-feed-avatar,
.bbs-feed-avatar img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.bbs-feed-avatar {
  flex: 0 0 auto;
  margin-right: 10px;
}

.bbs-feed-avatar img {
  border: 2px solid #ff5b5b;
  object-fit: cover;
}

.bbs-feed-author a {
  display: block;
  color: #263241;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

.bbs-feed-author a:hover {
  color: #1d73ff;
  text-decoration: none;
}

.bbs-feed-author span {
  display: block;
  margin-top: 3px;
  color: #8a96a6;
  font-size: 0.75rem;
}

.bbs-feed-card-body h2 {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.42;
}

.bbs-feed-card-body h2 a {
  color: #263241;
}

.bbs-feed-card-body h2 a:hover {
  color: #1d73ff;
  text-decoration: none;
}

.bbs-feed-card-body p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 12px;
  color: #526174;
  font-size: 0.88rem;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bbs-feed-meta-line {
  margin-bottom: 12px;
  color: #9aa4b2;
  font-size: 0.74rem;
}

.bbs-feed-meta-line:before {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 7px;
  vertical-align: middle;
  border-radius: 50%;
  background: #c8d0dc;
  content: "";
}

.bbs-feed-preview {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: center;
  margin: 8px 0 10px;
  padding: 28px;
  color: #fff;
  border-radius: 9px;
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.36), transparent 22%), linear-gradient(135deg, #ff7a2d 0%, #ff3f55 46%, #2f7fff 100%);
}

.bbs-feed-preview:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.bbs-feed-preview span {
  font-size: 1rem;
  font-weight: 800;
  opacity: 0.86;
}

.bbs-feed-preview strong {
  display: block;
  max-width: 360px;
  margin-top: 8px;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.bbs-feed-card-foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  color: #7a8798;
  font-size: 0.78rem;
}

.bbs-feed-card-foot span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  line-height: 1.2;
}

.bbs-feed-card-foot i {
  margin-right: 5px;
  color: #7b8da6;
}

.bbs-feed-meta-author {
  display: inline-flex;
  align-items: center;
  color: #334155;
  font-weight: 800;
  line-height: 1.2;
}

.bbs-feed-meta-author:hover {
  color: #1d73ff;
  text-decoration: none;
}

.bbs-feed-meta-author img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 50%;
  object-fit: cover;
}

.bbs-feed-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.24rem 0.58rem;
  color: #58677b;
  border-radius: 7px;
  background: #f5f7fb;
  font-size: 0.76rem;
  line-height: 1.15;
  font-weight: 700;
}

.bbs-feed-tag:hover {
  color: #1d73ff;
  background: #eef5ff;
  text-decoration: none;
}

.bbs-feed-custom-tag {
  color: #1d73ff;
  background: #eef5ff;
}

.bbs-feed-tag-top {
  color: #1d73ff;
  background: #eef5ff;
}

.bbs-feed-tag-recommend {
  color: #ef4444;
  background: #fef2f2;
}

.bbs-dz-label {
  display: inline-flex;
  align-items: center;
  height: 20px;
  margin-right: 6px;
  padding: 0 6px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 20px;
  vertical-align: 2px;
}

.bbs-dz-label::before {
  content: "[";
  margin-right: 1px;
}

.bbs-dz-label::after {
  content: "]";
  margin-left: 1px;
}

.bbs-dz-label-top {
  color: #e11d48;
  background: rgba(225, 29, 72, 0.08);
}

.bbs-dz-label-digest {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

.bbs-feed-tag-digest {
  color: #b45309;
  background: #fff7ed;
}

.bbs-feed-tag-mod {
  color: #047857;
  background: #ecfdf5;
}

.bbs-thread-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  margin-right: 5px;
  padding: 0 7px;
  color: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 20px;
  vertical-align: middle;
}

.bbs-thread-badge-top {
  background: linear-gradient(135deg, #1d73ff, #60a5fa);
}

.bbs-thread-badge-digest {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.bbs-thread-badge-mod {
  background: linear-gradient(135deg, #10b981, #22c55e);
}

.bbs-post-tags-group .form-text {
  font-weight: 600;
}

.bbs-feed-empty {
  padding: 32px;
  text-align: center;
  color: #8a96a6;
  border-radius: 10px;
  background: #fff;
}

.bbs-feed-pagination {
  margin: 16px 0 0;
}

.bbs-feed-side-card {
  overflow: hidden;
  margin-bottom: 12px;
  padding: 12px;
}

.bbs-feed-side-title {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  color: #263241;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 900;
}

.bbs-feed-side-title i {
  margin-right: 8px;
  color: #1d73ff;
}

.bbs-feed-hot-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bbs-feed-hot-list li {
  display: flex;
  align-items: center;
  min-height: 34px;
}

.bbs-feed-hot-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  color: #7d899a;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 900;
  border-radius: 5px;
  background: #edf1f6;
}

.bbs-feed-hot-list li:nth-child(1) span {
  color: #fff;
  background: linear-gradient(135deg, #4f7cff, #7067ff);
}

.bbs-feed-hot-list li:nth-child(2) span {
  color: #fff;
  background: linear-gradient(135deg, #7167ff, #8a6cff);
}

.bbs-feed-hot-list li:nth-child(3) span {
  color: #fff;
  background: linear-gradient(135deg, #8c75ff, #a78bfa);
}

.bbs-feed-hot-list a {
  overflow: hidden;
  flex: 1;
  color: #273445;
  font-size: 0.94rem;
  line-height: 1.45;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-feed-hot-list a:hover {
  color: #1d73ff;
  text-decoration: none;
}

.bbs-feed-side-tabs {
  display: flex;
  justify-content: space-between;
  margin: -2px 0 10px;
  border-bottom: 1px solid #edf1f6;
}

.bbs-feed-side-tabs a {
  position: relative;
  padding: 0 0 8px;
  color: #778294;
  font-size: 0.76rem;
  font-weight: 800;
}

.bbs-feed-side-tabs a:hover,
.bbs-feed-side-tabs a.active {
  color: #1d73ff;
  text-decoration: none;
}

.bbs-feed-side-tabs a.active:after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: #1d73ff;
}

.bbs-feed-user-rank a {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
  border-bottom: 1px dashed #e5ebf3;
  border-radius: 12px;
  transform: translateY(0);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.bbs-feed-rank-panel {
  display: none;
  padding: 0 4px;
}

.bbs-feed-rank-panel.active {
  display: block;
}

.bbs-feed-rank-empty {
  padding: 18px 0 10px;
  color: #8a96a6;
  text-align: center;
  font-size: 0.86rem;
}

.bbs-feed-user-rank a:last-child {
  border-bottom: 0;
}

.bbs-feed-user-rank a:hover {
  border-bottom-color: transparent;
  background: linear-gradient(135deg, rgba(29, 115, 255, 0.08), rgba(124, 58, 237, 0.05));
  box-shadow: 0 8px 18px rgba(30, 48, 80, 0.06);
  text-decoration: none;
  transform: translateY(-1px);
}

.bbs-feed-user-rank img {
  width: 38px;
  height: 38px;
  margin-right: 10px;
  border: 2px solid transparent;
  border-radius: 50%;
  object-fit: cover;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bbs-feed-user-rank a:hover img {
  box-shadow: 0 0 0 3px rgba(30, 48, 80, 0.08);
}

.bbs-feed-user-rank span {
  overflow: hidden;
  flex: 1;
}

.bbs-feed-user-rank strong,
.bbs-feed-user-rank em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-feed-user-rank strong {
  color: #344052;
  font-size: 0.92rem;
  font-weight: 800;
}

.bbs-feed-user-rank em {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  color: #8aa0bb;
  font-size: 0.78rem;
  font-style: normal;
}

.bbs-feed-user-rank em i {
  color: #8aa0bb;
  font-size: 0.78rem;
}

.bbs-feed-user-rank em .bbs-rank-extra-icon {
  margin-left: 0.62rem;
}

.bbs-feed-user-rank b {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 42px;
  color: #9caec4;
  font-size: 0.9rem;
  font-weight: 900;
  transition: color 0.18s ease, transform 0.18s ease;
}

.bbs-feed-user-rank b i {
  margin-right: 4px;
  font-size: 0.88rem;
}

.bbs-feed-rank-row.rank-1 b {
  color: #ff2f72;
}

.bbs-feed-rank-row.rank-2 b {
  color: #ff6a1a;
}

.bbs-feed-rank-row.rank-3 b {
  color: #2563ff;
}

.bbs-feed-rank-row:hover b {
  transform: scale(1.06);
}

.bbs-feed-stat-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
}

.bbs-feed-stat-card div {
  padding: 12px 6px;
  text-align: center;
  border-right: 1px solid #edf1f6;
}

.bbs-feed-stat-card div:last-child {
  border-right: 0;
}

.bbs-feed-stat-card span,
.bbs-feed-stat-card strong {
  display: block;
}

.bbs-feed-stat-card span {
  color: #8a96a6;
  font-size: 0.72rem;
}

.bbs-feed-stat-card strong {
  margin-top: 4px;
  color: #263241;
  font-size: 0.92rem;
  font-weight: 900;
}

.bbs-feed-float-action {
  position: fixed;
  right: 28px;
  bottom: 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #718096;
  border: 1px solid #edf1f6;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 48, 80, 0.08);
}

.bbs-feed-float-action:hover {
  color: #1d73ff;
  text-decoration: none;
}

.bbs-post-brief {
  min-height: 76px;
  resize: vertical;
}

.bbs-md-editor {
  position: relative;
  overflow: hidden;
  border: 1px solid #d8dee8;
  border-radius: 12px;
  background: #fff;
}

.bbs-md-editor.fullscreen-on {
  position: fixed;
  z-index: 2000;
  top: 12px;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.32);
}

.bbs-md-toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid #e7ebf2;
  background: #f8fafc;
}

.bbs-md-toolbar-secondary {
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  background: #fbfcfe;
}

.bbs-md-toolbar-main,
.bbs-md-toolbar-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.bbs-md-toolbar-main {
  flex: 1 1 auto;
}

.bbs-md-toolbar-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.bbs-md-toolbar button {
  flex: 0 0 auto;
  height: 30px;
  min-width: 36px;
  padding: 0 10px;
  color: #344052;
  border: 1px solid #dce2eb;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 28px;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.bbs-md-toolbar button:hover,
.bbs-md-toolbar button.active {
  color: #1d73ff;
  border-color: #b9d2ff;
  background: #eef5ff;
  box-shadow: 0 6px 14px rgba(29, 115, 255, 0.08);
}

.bbs-md-counter {
  margin-left: auto;
  color: #8a96a6;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.bbs-md-emoji-panel {
  display: none;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid #e7ebf2;
  background: #fff;
}

.bbs-md-emoji-panel.show {
  display: flex;
}

.bbs-md-emoji-panel button {
  width: 34px;
  height: 32px;
  padding: 0;
  border: 1px solid #dce2eb;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
  line-height: 30px;
  text-align: center;
}

.bbs-md-emoji-panel button:hover {
  border-color: #b9d2ff;
  background: #eef5ff;
}

.bbs-md-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 420px;
}

.bbs-md-editor.fullscreen-on .bbs-md-workspace {
  flex: 1 1 auto;
  min-height: 0;
}

.bbs-md-textarea {
  min-height: 420px;
  border: 0;
  border-radius: 0;
  resize: vertical;
  line-height: 1.75;
  font-size: 0.94rem;
}

.bbs-md-editor.fullscreen-on .bbs-md-textarea,
.bbs-md-editor.fullscreen-on .bbs-md-preview {
  min-height: 100%;
}

.bbs-md-textarea:focus {
  box-shadow: none;
}

.bbs-md-preview {
  min-height: 420px;
  padding: 18px;
  overflow: auto;
  border-left: 1px solid #e7ebf2;
  background: #fbfcfe;
  color: #263241;
  line-height: 1.8;
}

.bbs-md-editor.preview-on .bbs-md-workspace {
  grid-template-columns: 1fr;
}

.bbs-md-editor.preview-on .bbs-md-textarea {
  display: none;
}

.bbs-md-editor.preview-on .bbs-md-preview {
  display: block;
  min-height: 520px;
  border-left: 0;
}

.bbs-md-tips {
  padding: 8px 12px;
  color: #8a96a6;
  border-top: 1px solid #e7ebf2;
  background: #fbfcfe;
  font-size: 0.78rem;
}

.bbs-md-editor.fullscreen-on .bbs-md-tips {
  flex: 0 0 auto;
}

.bbs-md-task-list {
  padding-left: 1.35rem;
  list-style: none;
}

.bbs-md-task-list input {
  margin-right: 0.4rem;
}

@media (max-width: 768px) {
  .bbs-md-toolbar,
  .bbs-md-toolbar-secondary {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .bbs-md-toolbar-main,
  .bbs-md-toolbar-actions,
  .bbs-md-counter {
    flex: 0 0 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .bbs-md-toolbar button {
    min-width: 34px;
    padding-right: 8px;
    padding-left: 8px;
  }
}

.bbs-recommend-setting {
  padding: 12px 14px;
  border: 1px solid #e7ebf2;
  border-radius: 8px;
  background: #f8fafc;
}

.bbs-recommend-setting label {
  color: #263241;
  font-weight: 800;
}

.bbs-recommend-setting input {
  margin-right: 6px;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  margin: 1em 0 0.55em;
  color: #172033;
  font-weight: 900;
  line-height: 1.35;
}

.markdown-body h1,
.markdown-body h2 {
  padding-bottom: 0.28em;
  border-bottom: 1px solid rgba(226, 232, 240, 0.86);
}

.markdown-body h3,
.markdown-body h4 {
  color: #263241;
}

.markdown-body h3:before,
.markdown-body h4:before {
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.55rem;
  border-radius: 999px;
  background: #1d73ff;
  content: "";
  vertical-align: 0.12em;
}

.markdown-body p {
  margin-bottom: 0.8em;
}

.markdown-body ul,
.markdown-body ol {
  margin-bottom: 1em;
  padding-left: 1.4rem;
}

.markdown-body table {
  width: 100%;
  margin-bottom: 1rem;
  background: #fff;
}

.markdown-body th {
  background: #f5f8fc;
  font-weight: 900;
}

.markdown-body th,
.markdown-body td {
  padding: 0.48rem 0.62rem;
  border: 1px solid #e2e8f0;
}

.markdown-body blockquote {
  margin: 0 0 1em;
  padding: 10px 14px;
  color: #667386;
  border-left: 4px solid #1d73ff;
  background: #eef5ff;
}

.markdown-body pre {
  padding: 12px;
  overflow: auto;
  color: #dbe7ff;
  border-radius: 8px;
  background: #1d2433;
}

.markdown-body code {
  padding: 2px 5px;
  color: #e83e8c;
  border-radius: 4px;
  background: #f1f3f7;
}

.markdown-body pre code {
  padding: 0;
  color: inherit;
  background: transparent;
}

.markdown-body img {
  max-width: 100%;
  border-radius: 8px;
}

.bbs-user-currency-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.32rem;
  width: 100%;
  margin-top: 0.45rem;
}

.bbs-user-level-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  max-width: 100%;
  margin-top: 0.62rem;
  padding: 0.18rem 0.58rem;
  color: #1d73ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eef5ff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
}

.bbs-user-level-mini i {
  color: #f59e0b;
}

.bbs-user-currency-mini span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  min-width: 0;
  min-height: 24px;
  padding: 0.12rem 0.2rem;
  color: #5f6f84;
  border: 1px solid #e8edf5;
  border-radius: 999px;
  background: #f7f9fc;
  font-size: 0.72rem;
  font-weight: 800;
}

.bbs-user-currency-mini b {
  overflow: hidden;
  color: #344052;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-user-currency-mini i,
.bbs-user-currency-grid i {
  color: #f59e0b;
}

.bbs-profile-side-card {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(30, 48, 80, 0.08);
}

.bbs-profile-cover {
  height: 112px;
  background: linear-gradient(135deg, rgba(29, 115, 255, 0.86), rgba(125, 211, 252, 0.45)), url('../img/bg.png');
  background-position: center;
  background-size: cover;
}

.bbs-cover-preview {
  width: 100%;
  height: 180px;
  margin-bottom: 1.35rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(29, 115, 255, 0.86), rgba(125, 211, 252, 0.45)), url('../img/bg.png');
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 28px rgba(30, 48, 80, 0.08);
}

.bbs-cover-upload-panel {
  align-items: stretch;
  width: min(100%, 520px);
  padding-top: 1.25rem;
}

.bbs-cover-upload-panel .bbs-avatar-upload-info {
  width: 100%;
  margin-bottom: 1.15rem;
  text-align: left;
}

.bbs-cover-upload-panel .bbs-avatar-upload-info h5 {
  margin-bottom: 0.42rem;
}

.bbs-cover-upload-panel .bbs-avatar-upload-info p {
  max-width: none;
  margin: 0;
  text-align: left;
}

.bbs-cover-upload-panel .bbs-avatar-upload-btn {
  align-self: center;
}

.bbs-profile-side-body {
  position: relative;
  padding: 0 1.1rem 1.15rem;
}

.bbs-profile-avatar {
  width: 88px;
  height: 88px;
  margin-top: -44px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 10px 24px rgba(30, 48, 80, 0.16);
}

.bbs-profile-side-body h5 {
  margin: 0.62rem 0 0.16rem;
  color: #ef4444;
  font-size: 1.16rem;
  font-weight: 900;
}

.bbs-profile-level {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.24rem;
  margin-bottom: 0.92rem;
  color: #ff6b35;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
}

.bbs-profile-level-name {
  display: block;
}

.bbs-profile-level i {
  color: #ef4444;
  font-size: 1rem;
  line-height: 1;
}

.bbs-profile-level-icon {
  display: block;
  width: auto;
  height: auto;
  max-width: 128px;
  max-height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.bbs-profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 1.08rem;
  padding: 0.82rem 0;
  border-radius: 16px;
  background: #f6f7fb;
}

.bbs-profile-stats div {
  text-align: center;
  border-right: 1px dashed #dfe5ee;
}

.bbs-profile-stats div:last-child {
  border-right: 0;
}

.bbs-profile-stats span,
.bbs-profile-stats strong {
  display: block;
}

.bbs-profile-stats span {
  color: #8a96a6;
  font-size: 0.76rem;
}

.bbs-profile-stats strong {
  margin-top: 0.24rem;
  color: #263241;
  font-size: 1.12rem;
  font-weight: 900;
}

.bbs-profile-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.bbs-profile-actions .btn {
  padding: 0.58rem 0.45rem;
  border-radius: 12px;
  font-size: 0.86rem;
}

.bbs-profile-posts {
  margin: 1rem -1.1rem 0;
  padding: 0 1.1rem;
  text-align: left;
}

.bbs-profile-posts a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.42rem 0;
  color: #344052;
  font-size: 0.82rem;
  line-height: 1.35;
}

.bbs-profile-posts a:hover {
  color: #1d73ff;
  text-decoration: none;
}

.bbs-profile-posts b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.42rem;
  height: 1.42rem;
  color: #1d73ff;
  border: 1px solid rgba(29, 115, 255, 0.14);
  border-radius: 9px;
  background: linear-gradient(135deg, #f8fbff, #edf5ff);
  box-shadow: 0 6px 14px rgba(29, 115, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.bbs-profile-posts span {
  overflow: hidden;
  flex: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-profile-posts em {
  flex: 0 0 auto;
  color: #a0a8b4;
  font-size: 0.76rem;
  font-style: normal;
}

.bbs-profile-posts-empty {
  padding: 1rem 0;
  color: #a0a8b4;
  text-align: center;
  font-size: 0.82rem;
}

.bbs-profile-more {
  margin: 0.8rem -1.1rem -1.15rem;
  padding: 0.85rem 1.1rem;
  text-align: right;
  border-top: 1px solid #edf1f7;
}

.bbs-profile-more a {
  color: #1d73ff;
  font-size: 0.82rem;
  font-weight: 900;
}

.bbs-profile-more a:hover {
  color: #155bd5;
  text-decoration: none;
}

.bbs-author-hot-card {
  padding: 1rem 0 0.55rem;
}

.bbs-author-hot-title {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  padding: 0 1.05rem 0.92rem;
  color: #1f2d3d;
  font-size: 1rem;
  font-weight: 900;
  border-bottom: 1px solid #edf1f7;
}

.bbs-author-hot-title i {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background-color: rgba(47, 124, 255, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.2 12.4L9.4 8.6L12.1 11.2L16 6.8' stroke='%232F7CFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.4 16.2H16.6' stroke='%238B5CF6' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  box-shadow: none;
}

.bbs-author-hot-list {
  padding: 0.72rem 1.05rem 0;
}

.bbs-author-hot-list a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.58rem;
  padding: 0.46rem 0;
  color: #344052;
  font-size: 0.84rem;
}

.bbs-author-hot-list a:hover {
  color: #1d73ff;
  text-decoration: none;
}

.bbs-author-hot-list em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #1d73ff;
  border: 1px solid rgba(29, 115, 255, 0.14);
  border-radius: 9px;
  background: linear-gradient(135deg, #f8fbff, #edf5ff);
  box-shadow: 0 6px 14px rgba(29, 115, 255, 0.08);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.bbs-author-hot-list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-author-hot-list strong {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #9aa5b5;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.bbs-author-hot-empty {
  padding: 1rem 0;
  color: #a0a8b4;
  text-align: center;
  font-size: 0.82rem;
}

.bbs-readmore-message {
  position: relative;
  overflow: hidden;
  transition: max-height 0.24s ease;
}

.bbs-readmore-message.bbs-readmore-collapsed::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 78%);
}

.bbs-readmore-bar {
  display: flex;
  justify-content: center;
  margin: 0.2rem -1.9rem 1rem;
  padding: 1.25rem 1rem 1.35rem;
  border-top: 1px solid #edf1f6;
  background: linear-gradient(180deg, #fbfcff, #f5f8fc);
}

.bbs-readmore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 180px;
  height: 44px;
  padding: 0 1.45rem;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
}

.bbs-readmore-btn:hover,
.bbs-readmore-btn:focus {
  color: #fff;
  outline: none;
  background: linear-gradient(135deg, #4f8cff, #1d73ff);
  box-shadow: 0 14px 28px rgba(29, 115, 255, 0.28);
}

.bbs-readmore-btn i {
  font-size: 1rem;
}

.bbs-thread-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.88);
}

.bbs-thread-action {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 34px;
  padding: 0.42rem 0.92rem;
  color: #526174;
  border: 1px solid #d9e2ef;
  border-radius: 999px;
  background: #f6f9ff;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
  transition: all 0.18s ease;
}

.bbs-thread-action:hover,
.bbs-thread-action:focus {
  color: #1d73ff;
  border-color: #bcd4ff;
  background: #eef5ff;
  text-decoration: none;
  outline: none;
}

.bbs-thread-action.active {
  color: #fff;
  border-color: #1d73ff;
  background: linear-gradient(135deg, #1d73ff, #4f8cff);
  box-shadow: 0 10px 20px rgba(29, 115, 255, 0.16);
}

.bbs-thread-action em {
  min-width: 1.1rem;
  color: inherit;
  font-style: normal;
  text-align: center;
}

body.bbs-report-open,
body.bbs-notice-open {
  overflow: hidden;
}

.bbs-report-modal,
.bbs-notice-modal {
  position: fixed;
  inset: 0;
  z-index: 2080;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.bbs-report-modal.show,
.bbs-notice-modal.show {
  display: flex;
}

.bbs-report-backdrop,
.bbs-notice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bbs-report-panel,
.bbs-notice-panel {
  position: relative;
  width: min(520px, 100%);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
  animation: bbsReportPanelIn 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.bbs-report-head,
.bbs-notice-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem 1rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.76);
}

.bbs-report-head strong,
.bbs-notice-head strong {
  display: block;
  color: #172033;
  font-size: 1.05rem;
  font-weight: 950;
}

.bbs-report-head span,
.bbs-notice-head span {
  display: block;
  margin-top: 0.28rem;
  color: #64748b;
  font-size: 0.82rem;
}

.bbs-report-close,
.bbs-notice-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #64748b;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.bbs-report-body,
.bbs-notice-body {
  padding: 1.15rem 1.35rem 0.8rem;
}

.bbs-notice-body {
  min-height: 120px;
  color: #475569;
  line-height: 1.9;
  white-space: pre-wrap;
}

.bbs-report-reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.bbs-report-reasons label {
  margin: 0;
  cursor: pointer;
}

.bbs-report-reasons input {
  display: none;
}

.bbs-report-reasons span {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 38px;
  padding: 0.58rem 0.78rem;
  color: #475569;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.92);
  font-size: 0.84rem;
  font-weight: 850;
  transition: all 0.18s ease;
}

.bbs-report-reasons label:hover span,
.bbs-report-reasons label.active span {
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.3);
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(238, 242, 255, 0.94));
}

.bbs-report-message {
  min-height: 96px;
  resize: vertical;
  border-radius: 16px;
}

.bbs-report-meta {
  margin-top: 0.42rem;
  color: #94a3b8;
  font-size: 0.76rem;
  text-align: right;
}

.bbs-report-foot,
.bbs-notice-foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  padding: 0.9rem 1.35rem 1.25rem;
}

.bbs-report-cancel,
.bbs-report-submit,
.bbs-notice-cancel,
.bbs-notice-link {
  min-width: 96px;
  min-height: 38px;
  padding: 0.48rem 1rem;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.bbs-report-cancel,
.bbs-notice-cancel {
  color: #475569;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
}

.bbs-report-submit,
.bbs-notice-link {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
  text-align: center;
  text-decoration: none;
}

.bbs-notice-link:hover,
.bbs-notice-link:focus {
  color: #fff;
  text-decoration: none;
}

.bbs-report-submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

@keyframes bbsReportPanelIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 575.98px) {
  .bbs-report-modal,
  .bbs-notice-modal {
    align-items: flex-end;
    padding: 0.75rem;
  }

  .bbs-report-panel,
  .bbs-notice-panel {
    width: 100%;
    border-radius: 20px;
  }

  .bbs-report-reasons {
    grid-template-columns: 1fr;
  }

  .bbs-report-foot,
  .bbs-notice-foot {
    flex-direction: column-reverse;
  }

  .bbs-report-cancel,
  .bbs-report-submit,
  .bbs-notice-cancel,
  .bbs-notice-link {
    width: 100%;
  }
}

.bbs-copyright-notice {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  color: #526174;
  border: 1px dashed #acd1ff;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(239, 247, 255, 0.92), rgba(232, 243, 255, 0.86));
  font-size: 0.92rem;
  line-height: 1.9;
}

.bbs-copyright-notice strong {
  color: #ef4444;
  font-weight: 900;
}

.bbs-copyright-notice span {
  color: #526174;
}

.bbs-thread-sticky-side {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bbs-thread-quickbar {
  position: absolute;
  top: 392px;
  left: calc(100% + 14px);
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  width: 52px;
  z-index: 20;
}

.bbs-global-quickbar {
  position: fixed;
  top: 168px;
  right: max(18px, calc((100vw - 2300px) / 2 - 96px));
  left: auto;
  z-index: 99;
}

.bbs-index-quickbar {
  position: fixed;
  top: 168px;
  right: auto;
  left: min(calc(100vw - 70px), calc(50% + 590px + 18px));
}

.bbs-thread-quickbar-item {
  position: relative;
}

.bbs-thread-quickbar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: #64748b;
  font-size: 1.18rem;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 32px rgba(30, 48, 80, 0.1);
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.bbs-thread-quickbar-btn:hover {
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #1d73ff, #4f8cff);
  box-shadow: 0 18px 34px rgba(29, 115, 255, 0.24);
  transform: translateY(-2px);
}

#bbs_thread_backtop,
#bbs_index_backtop,
.bbs-quickbar-backtop {
  display: none;
}

#bbs_thread_backtop.show,
#bbs_index_backtop.show,
.bbs-quickbar-backtop.show {
  display: flex;
}

.bbs-thread-wechat-pop {
  position: absolute;
  top: 50%;
  right: 64px;
  left: auto;
  display: none;
  width: 210px;
  padding: 0.8rem 0.8rem 0.9rem;
  color: #fff;
  text-align: center;
  border-radius: 14px;
  background: #0969ff;
  box-shadow: 0 18px 40px rgba(9, 105, 255, 0.28);
  transform: translateY(-50%);
}

.bbs-thread-wechat-pop:after {
  position: absolute;
  top: 50%;
  right: -8px;
  left: auto;
  width: 0;
  height: 0;
  content: '';
  border-top: 8px solid transparent;
  border-right: 0;
  border-left: 8px solid #0969ff;
  border-bottom: 8px solid transparent;
  transform: translateY(-50%);
}

.bbs-thread-wechat-pop img {
  display: block;
  width: 100%;
  padding: 0.35rem;
  border-radius: 10px;
  background: #fff;
}

.bbs-thread-wechat-pop span {
  display: block;
  margin-top: 0.58rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.bbs-thread-quickbar-item:hover .bbs-thread-wechat-pop {
  display: block;
}

@media (max-width: 991.98px) {
  .bbs-global-quickbar {
    right: 12px;
    bottom: 76px;
    top: auto;
    gap: 0.5rem;
    width: 46px;
  }

  .bbs-index-quickbar {
    right: 12px;
    left: auto;
  }

  .bbs-global-quickbar .bbs-thread-quickbar-btn {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .bbs-global-quickbar .bbs-thread-wechat-pop {
    right: 56px;
    left: auto;
    width: 180px;
  }

  .bbs-global-quickbar .bbs-thread-wechat-pop:after {
    right: -8px;
    left: auto;
    border-right: 0;
    border-left: 8px solid #0969ff;
  }
}

.bbs-profile-side-card .list-group-item {
  color: #344052;
  border-color: #edf1f7;
  font-weight: 800;
}

.bbs-profile-side-card .list-group-item:hover,
.bbs-profile-side-card .list-group-item.active {
  color: #1d73ff;
  background: #eef5ff;
}

.bbs-user-currency-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.bbs-user-currency-grid div {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 1.15rem 0.85rem;
  border: 1px solid rgba(222, 231, 244, 0.96);
  border-radius: 20px;
  background: radial-gradient(circle at 24% 18%, rgba(245, 158, 11, 0.12), transparent 30%), linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 16px 34px rgba(30, 48, 80, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bbs-user-currency-grid div:hover {
  border-color: rgba(245, 158, 11, 0.34);
  box-shadow: 0 22px 42px rgba(30, 48, 80, 0.12);
  transform: translateY(-3px);
}

.bbs-level-progress-card {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #e8edf5;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f6f9ff 100%);
  box-shadow: 0 12px 28px rgba(30, 48, 80, 0.06);
}

.bbs-level-progress-head,
.bbs-level-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.bbs-level-progress-head span,
.bbs-level-progress-meta span {
  display: block;
  color: #7b8794;
  font-size: 0.78rem;
  font-weight: 800;
}

.bbs-level-progress-head strong {
  display: block;
  color: #1f2d3d;
  font-size: 1rem;
  font-weight: 900;
}

.bbs-level-progress-bar {
  height: 10px;
  margin: 0.85rem 0 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e9eff8;
}

.bbs-level-progress-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1d73ff, #22c55e);
  box-shadow: 0 0 14px rgba(29, 115, 255, 0.25);
}

.bbs-level-progress-meta span:last-child {
  color: #1d73ff;
}

.bbs-user-currency-grid i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.55rem;
  color: #f59e0b;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  font-size: 1.25rem;
}

.bbs-user-currency-grid span {
  margin-bottom: 0.28rem;
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.25;
  font-weight: 800;
}

.bbs-user-currency-grid strong {
  color: #172033;
  font-size: 1.55rem;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.bbs-checkin-card {
  margin-bottom: 18px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #e8edf5;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 100%);
  box-shadow: 0 16px 36px rgba(30, 48, 80, 0.08);
}

.bbs-credit-log-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bbs-credit-log-head h5 {
  margin: 0 0 0.3rem;
  color: #1f2d3d;
  font-weight: 900;
}

.bbs-credit-log-head p {
  margin: 0;
  color: #7b8794;
  font-size: 0.85rem;
}

.bbs-credit-log-currency {
  min-width: 420px;
  margin-bottom: 0;
}

.bbs-credit-overview {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(320px, 1.18fr);
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.86rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.9));
  box-shadow: 0 12px 30px rgba(30, 48, 80, 0.055);
}

.bbs-credit-overview-title {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 104px;
  padding: 0.1rem 0.4rem 0.1rem 0.15rem;
}

.bbs-credit-overview-title > span {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  width: fit-content;
  margin-bottom: 0.48rem;
  padding: 0.22rem 0.56rem;
  color: #1d73ff;
  border-radius: 999px;
  background: #eef5ff;
  font-size: 0.72rem;
  font-weight: 900;
}

.bbs-credit-overview-title > span i {
  color: #4f8cff;
}

.bbs-credit-overview-title h5 {
  margin: 0 0 0.28rem;
  color: #1f2d3d;
  font-size: 1.08rem;
  font-weight: 900;
}

.bbs-credit-overview-title p {
  max-width: 360px;
  margin: 0;
  color: #7b8794;
  font-size: 0.82rem;
  line-height: 1.65;
}

.bbs-credit-overview-assets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.bbs-credit-asset-card {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 104px;
  padding: 0.76rem 0.68rem;
  text-align: center;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 10px 24px rgba(30, 48, 80, 0.05);
}

.bbs-credit-asset-card:before {
  content: '';
  position: absolute;
  top: -30px;
  right: -28px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
}

.bbs-credit-asset-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 0.42rem;
  color: #f59e0b;
  border-radius: 12px;
  background: #fff7ed;
  font-size: 0.96rem;
}

.bbs-credit-asset-card span,
.bbs-credit-asset-card strong {
  position: relative;
  display: block;
}

.bbs-credit-asset-card span {
  color: #738295;
  font-size: 0.76rem;
  font-weight: 800;
}

.bbs-credit-asset-card strong {
  margin-top: 0.1rem;
  color: #1e293b;
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.1;
}

.bbs-credit-log-table th {
  color: #5f6f84;
  border-top: 0;
  font-size: 0.82rem;
  font-weight: 900;
}

.bbs-credit-log-table td {
  vertical-align: middle;
  color: #344054;
  font-size: 0.86rem;
}

.bbs-profile-detail-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.1fr);
  gap: 0.9rem;
  margin-top: 1rem;
}

.bbs-profile-wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.78rem;
  grid-column: 1 / -1;
}

.bbs-profile-wallet-card {
  position: relative;
  overflow: hidden;
  min-height: 94px;
  padding: 0.9rem 0.75rem 0.78rem;
  text-align: center;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  box-shadow: 0 12px 28px rgba(30, 48, 80, 0.055);
}

.bbs-profile-wallet-card:before {
  content: '';
  position: absolute;
  top: -28px;
  right: -24px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 183, 77, 0.13);
}

.bbs-profile-wallet-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 0.42rem;
  color: #f59e0b;
  border-radius: 12px;
  background: #fff7ed;
  font-size: 1rem;
}

.bbs-profile-wallet-card span,
.bbs-profile-wallet-card strong {
  display: block;
}

.bbs-profile-wallet-card span {
  color: #738295;
  font-size: 0.76rem;
  font-weight: 800;
}

.bbs-profile-wallet-card strong {
  margin-top: 0.12rem;
  color: #1e293b;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.1;
}

.bbs-profile-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
}

.bbs-profile-info-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.62rem 0.78rem;
  color: #344054;
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.78);
}

.bbs-profile-info-pill:hover,
.bbs-profile-info-pill:focus {
  color: #1d73ff;
  text-decoration: none;
  border-color: rgba(29, 115, 255, 0.22);
  background: #eef6ff;
}

.bbs-profile-info-pill span {
  color: #7b8794;
  font-size: 0.76rem;
  font-weight: 800;
}

.bbs-profile-info-pill strong {
  color: #1f2d3d;
  font-size: 1rem;
  font-weight: 900;
}

.bbs-profile-meta-card {
  display: grid;
  gap: 0.58rem;
  padding: 0.78rem 0.88rem;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(248, 251, 255, 0.68));
}

.bbs-profile-meta-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 26px;
}

.bbs-profile-meta-card span {
  flex: 0 0 auto;
  color: #7b8794;
  font-size: 0.76rem;
  font-weight: 800;
}

.bbs-profile-meta-card strong {
  overflow: hidden;
  color: #334155;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 800;
}

.bbs-user-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.bbs-user-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 168px;
  padding: 1.05rem 0.9rem;
  color: #334155;
  text-align: center;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.94));
  box-shadow: 0 12px 28px rgba(30, 48, 80, 0.06);
  transition: all 0.18s ease;
}

.bbs-user-card:hover,
.bbs-user-card:focus {
  color: #1d73ff;
  text-decoration: none;
  border-color: rgba(29, 115, 255, 0.24);
  background: linear-gradient(180deg, #ffffff, #eef6ff);
  box-shadow: 0 16px 34px rgba(29, 115, 255, 0.12);
  transform: translateY(-2px);
}

.bbs-user-card-avatar {
  width: 58px;
  height: 58px;
  margin-bottom: 0.72rem;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(30, 48, 80, 0.12);
  object-fit: cover;
}

.bbs-user-card strong {
  display: block;
  overflow: hidden;
  max-width: 100%;
  color: #1f2d3d;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.96rem;
  font-weight: 900;
}

.bbs-user-card span {
  display: block;
  margin-top: 0.35rem;
  color: #7b8794;
  font-size: 0.76rem;
}

.bbs-user-card-stats {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.62rem;
}

.bbs-user-card-stats em {
  padding: 0.18rem 0.45rem;
  color: #64748b;
  border-radius: 999px;
  background: #eef2f7;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.bbs-user-card-empty {
  color: #94a3b8;
}

.bbs-favorite-card-list {
  display: grid;
  gap: 0.78rem;
}

.bbs-favorite-card {
  display: block;
  padding: 0.9rem 1rem;
  color: #334155;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
  box-shadow: 0 10px 24px rgba(30, 48, 80, 0.05);
  transition: all 0.18s ease;
}

.bbs-favorite-card:hover,
.bbs-favorite-card:focus {
  color: #1d73ff;
  text-decoration: none;
  border-color: rgba(29, 115, 255, 0.24);
  background: #eef6ff;
  box-shadow: 0 14px 30px rgba(29, 115, 255, 0.1);
  transform: translateY(-1px);
}

.bbs-favorite-card span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  margin-bottom: 0.42rem;
  color: #7b8794;
  font-size: 0.76rem;
  font-weight: 800;
}

.bbs-favorite-card span i {
  color: #f59e0b;
}

.bbs-favorite-card strong {
  display: block;
  overflow: hidden;
  color: #1f2d3d;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 900;
}

.bbs-favorite-card-empty {
  color: #94a3b8;
}

.bbs-password-panel {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 0.55rem 0 0.25rem;
}

.bbs-password-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.86rem;
  padding-bottom: 0.72rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.86);
}

.bbs-password-head span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-bottom: 0.34rem;
  padding: 0.18rem 0.5rem;
  color: #1d73ff;
  border-radius: 999px;
  background: #eef5ff;
  font-size: 0.7rem;
  font-weight: 900;
}

.bbs-password-head h5 {
  margin: 0 0 0.2rem;
  color: #1f2d3d;
  font-size: 1.02rem;
  font-weight: 900;
}

.bbs-password-head p {
  margin: 0;
  color: #7b8794;
  font-size: 0.78rem;
  line-height: 1.55;
}

.bbs-password-head strong {
  flex: 0 0 auto;
  max-width: 190px;
  overflow: hidden;
  padding: 0.24rem 0.55rem;
  color: #64748b;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  background: rgba(248, 251, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 800;
}

.bbs-password-form {
  display: grid;
  gap: 0.62rem;
}

.bbs-password-field label {
  display: block;
  margin-bottom: 0.26rem;
  color: #526174;
  font-size: 0.74rem;
  font-weight: 900;
}

.bbs-password-input {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.86);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bbs-password-input:focus-within {
  border-color: rgba(29, 115, 255, 0.44);
  box-shadow: 0 0 0 3px rgba(29, 115, 255, 0.08);
}

.bbs-password-input i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  color: #64748b;
  border-right: 1px solid rgba(226, 232, 240, 0.86);
  background: #f8fafc;
  font-size: 0.86rem;
}

.bbs-password-input .form-control {
  height: 38px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.84rem;
}

.bbs-password-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 0.5rem;
}

.bbs-password-code-btn,
.bbs-password-submit {
  border: 0;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  background: linear-gradient(135deg, #1d73ff, #23b6cf);
  box-shadow: 0 8px 18px rgba(29, 115, 255, 0.14);
}

.bbs-password-code-btn {
  border-radius: 12px;
  font-size: 0.8rem;
}

.bbs-password-submit {
  min-height: 40px;
  margin-top: 0.04rem;
  border-radius: 12px;
}

.bbs-password-code-btn:hover,
.bbs-password-submit:hover,
.bbs-password-code-btn:focus,
.bbs-password-submit:focus {
  color: #fff;
  box-shadow: 0 12px 24px rgba(29, 115, 255, 0.18);
  transform: translateY(-1px);
}

.bbs-avatar-upload-panel {
  width: min(100%, 440px);
  margin: 0 auto;
  padding: 0.8rem 0 0.35rem;
  text-align: center;
}

.bbs-avatar-preview-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.bbs-avatar-preview {
  width: 92px;
  height: 92px;
  border: 4px solid #fff;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(30, 48, 80, 0.14);
}

.bbs-avatar-preview-wrap span {
  position: absolute;
  right: -6px;
  bottom: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d73ff, #23b6cf);
  box-shadow: 0 8px 18px rgba(29, 115, 255, 0.22);
}

.bbs-avatar-upload-info h5 {
  margin: 0 0 0.34rem;
  color: #1f2d3d;
  font-weight: 900;
}

.bbs-avatar-upload-info p {
  max-width: 320px;
  margin: 0 auto 1rem;
  color: #7b8794;
  font-size: 0.82rem;
  line-height: 1.65;
}

.bbs-avatar-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-width: 190px;
  min-height: 42px;
  margin: 0;
  padding: 0.62rem 1rem;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d73ff, #23b6cf);
  box-shadow: 0 10px 22px rgba(29, 115, 255, 0.16);
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.18s ease;
}

.bbs-avatar-upload-btn:hover,
.bbs-avatar-upload-btn:focus {
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(29, 115, 255, 0.22);
  transform: translateY(-1px);
}

.bbs-avatar-upload-btn-disabled,
.bbs-avatar-upload-btn-disabled:hover,
.bbs-avatar-upload-btn-disabled:focus {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.16);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.bbs-avatar-upload-btn-disabled i {
  color: #94a3b8;
}

.bbs-avatar-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.bbs-avatar-progress {
  overflow: hidden;
  width: min(100%, 260px);
  height: 6px;
  margin: 0.85rem auto 0;
  border-radius: 999px;
  background: #e9eff8;
}

.bbs-avatar-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1d73ff, #22c55e);
  transition: width 0.18s ease;
}

.bbs-checkin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 12px;
}

.bbs-checkin-head span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #1d73ff;
  font-size: 0.78rem;
  font-weight: 800;
}

.bbs-checkin-head .icon-calendar {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 6px;
  background-color: rgba(29, 115, 255, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='4.5' width='10' height='10' rx='2.2' stroke='%231D73FF' stroke-width='1.4'/%3E%3Cpath d='M6.5 3.2V5.8M11.5 3.2V5.8M4.6 7.2H13.4' stroke='%238B5CF6' stroke-width='1.4' stroke-linecap='round'/%3E%3Ccircle cx='7' cy='10' r='0.8' fill='%231D73FF'/%3E%3Ccircle cx='10.8' cy='10' r='0.8' fill='%231D73FF'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  font-size: 0;
}

.bbs-checkin-head .icon-calendar:before {
  content: "";
}

.bbs-checkin-head h2 {
  margin: 0.15rem 0 0;
  color: #1f2d3d;
  font-size: 1.35rem;
  font-weight: 900;
}

.bbs-checkin-week,
.bbs-checkin-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.bbs-checkin-week {
  margin-bottom: 7px;
}

.bbs-checkin-week span {
  color: #94a3b8;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.bbs-checkin-calendar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  color: #536173;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  background: #fff;
  font-weight: 800;
}

.bbs-checkin-calendar span.empty {
  border-color: transparent;
  background: transparent;
}

.bbs-checkin-calendar span.today {
  color: #1d73ff;
  border-color: #b9d4ff;
  background: #eef5ff;
}

.bbs-checkin-calendar span.checked {
  color: #fff;
  border-color: #1d73ff;
  background: linear-gradient(135deg, #4f8cff, #1d73ff);
  box-shadow: 0 8px 18px rgba(29, 115, 255, 0.22);
}

.bbs-checkin-action {
  margin-top: 14px;
}

.bbs-theme-dark body {
  background: #111827;
  color: #d7deea;
}

.bbs-theme-dark a {
  color: #8ab4ff;
}

.bbs-theme-dark a:hover {
  color: #b7d0ff;
}

.bbs-theme-dark .bbs-topbar {
  border-bottom: 0;
  background: rgba(15, 23, 42, 0.96);
}

.bbs-theme-dark .bbs-topbar .navbar-brand,
.bbs-theme-dark .bbs-topbar .navbar-nav .nav-link {
  color: #b8c4d8;
}

.bbs-theme-dark .bbs-topbar .navbar-nav .nav-link:hover,
.bbs-theme-dark .bbs-topbar .navbar-nav .active > .nav-link,
.bbs-theme-dark .bbs-theme-toggle[aria-pressed="true"] {
  color: #60a5fa;
}

.bbs-theme-dark .card,
.bbs-theme-dark .breadcrumb,
.bbs-theme-dark .bbs-footer-inner,
.bbs-theme-dark .bbs-recommend-card,
.bbs-theme-dark .bbs-feed-left-card,
.bbs-theme-dark .bbs-feed-side-card,
.bbs-theme-dark .bbs-feed-card,
.bbs-theme-dark .bbs-feed-tabs,
.bbs-theme-dark .bbs-rank-closed-card,
.bbs-theme-dark .bbs-rank-nav-card,
.bbs-theme-dark .bbs-rank-board,
.bbs-theme-dark .bbs-rank-side-card,
.bbs-theme-dark .bbs-feed-empty,
.bbs-theme-dark .bbs-feed-float-action {
  color: #d7deea;
  border-color: #253149;
  background: #172033;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.bbs-theme-dark .card > .card-header {
  color: #d7deea;
  border-bottom-color: #253149;
  background: linear-gradient(135deg, #172033, #1d293d);
}

.bbs-theme-dark .bbs-feed-left-action {
  border-top-color: rgba(96, 165, 250, 0.22);
}

.bbs-theme-dark .bbs-feed-left-action a,
.bbs-theme-dark .bbs-feed-left-action a:hover {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.35);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.36);
}

.bbs-theme-dark .bbs-feed-left-action i,
.bbs-theme-dark .bbs-feed-left-action span {
  color: #fff;
}

.bbs-theme-dark .bbs-rank-join-card {
  color: #fff;
  border-color: rgba(139, 124, 246, 0.28);
  background: radial-gradient(circle at 78% 72%, rgba(255, 255, 255, 0.18), transparent 18%), linear-gradient(135deg, #6d5dfc, #4f46e5);
}

.bbs-theme-dark .bbs-rank-closed-card h1 {
  color: #d7deea;
}

.bbs-theme-dark .bbs-rank-closed-card p {
  color: #9fb0c8;
}

.bbs-theme-dark .bbs-rank-head h1,
.bbs-theme-dark .bbs-rank-side-card h3,
.bbs-theme-dark .bbs-rank-rule-tip strong,
.bbs-theme-dark .bbs-rank-podium-item strong,
.bbs-theme-dark .bbs-rank-row strong {
  color: #d7deea;
}

.bbs-theme-dark .bbs-rank-head p,
.bbs-theme-dark .bbs-rank-rule-tip span,
.bbs-theme-dark .bbs-rank-row,
.bbs-theme-dark .bbs-rank-side-card a,
.bbs-theme-dark .bbs-rank-rule-row {
  color: #9fb0c8;
}

.bbs-theme-dark .bbs-rank-filter,
.bbs-theme-dark .bbs-rank-rule-tip,
.bbs-theme-dark .bbs-rank-rule-row i {
  color: #b7c8df;
  background: #111827;
}

.bbs-theme-dark .bbs-rank-filter-menu {
  border-color: #253149;
  background: #172033;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.bbs-theme-dark .bbs-rank-filter-menu a {
  color: #c8d6ea;
}

.bbs-theme-dark .bbs-rank-filter-menu a:hover {
  color: #bfdbfe;
  background: rgba(96, 165, 250, 0.14);
}

.bbs-theme-dark .bbs-rank-filter-menu a.active {
  color: #bfdbfe;
  background: transparent;
}

.bbs-theme-dark .bbs-rank-filter-menu a.active:hover {
  background: rgba(96, 165, 250, 0.14);
}

.bbs-theme-dark .bbs-rank-row {
  border-top-color: #253149;
}

.bbs-theme-dark .bbs-rank-row:hover {
  color: #bfdbfe;
  background: #1d293d;
}

.bbs-theme-dark .bbs-rank-podium-item.rank-1 {
  background: linear-gradient(180deg, rgba(146, 97, 22, 0.35), rgba(83, 57, 24, 0.24));
}

.bbs-theme-dark .bbs-rank-podium-item.rank-2 {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.22), rgba(30, 64, 175, 0.14));
}

.bbs-theme-dark .bbs-rank-podium-item.rank-3 {
  background: linear-gradient(180deg, rgba(225, 96, 38, 0.25), rgba(124, 45, 18, 0.16));
}

.bbs-theme-dark .bbs-rank-row em,
.bbs-theme-dark .bbs-rank-podium-item span {
  color: #bfdbfe;
  background: rgba(96, 165, 250, 0.14);
}

.bbs-theme-dark .bbs-rank-row span:last-child,
.bbs-theme-dark .bbs-rank-side-card a strong {
  color: #c8d6ea;
}

.bbs-theme-dark .card > .card-footer {
  border-top-color: #253149;
  background: #111827;
}

.bbs-theme-dark .card-header-tabs > .nav-item > .nav-link {
  color: #93a4bd;
}

.bbs-theme-dark .card-header-tabs > .nav-item > .nav-link:hover:not(.active) {
  color: #bfdbfe;
  background: #1e3a5f;
}

.bbs-theme-dark .card-header-dropdown,
.bbs-theme-dark .card-header-dropdown .text-muted {
  color: #9fb0c8 !important;
}

.bbs-theme-dark .card-header-dropdown a {
  color: #bfdbfe;
}

.bbs-theme-dark .card-threadlist .card-header-tabs > .nav-item > .nav-link.active {
  color: #fff;
}

.bbs-theme-dark .card-thread .message,
.bbs-theme-dark .card-postlist .message {
  color: #d7deea;
}

.bbs-theme-dark .bbs-thread-tool-card {
  color: #d7deea;
  border: 1px solid #253149;
  background: rgba(23, 32, 51, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.bbs-theme-dark .bbs-thread-tool-title {
  color: #eef4ff;
  border-bottom-color: #253149;
}

.bbs-theme-dark .bbs-thread-toc a,
.bbs-theme-dark .bbs-thread-side-tools a {
  color: #9fb0c8;
}

.bbs-theme-dark .bbs-thread-toc .toc-h3,
.bbs-theme-dark .bbs-thread-toc .toc-h4 {
  color: #8493ab;
}

.bbs-theme-dark .bbs-thread-toc a:hover,
.bbs-theme-dark .bbs-thread-toc a.active,
.bbs-theme-dark .bbs-thread-side-tools a:hover {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.16);
}

.bbs-theme-dark .bbs-thread-toc-empty {
  color: #7f8da5;
}

.bbs-theme-dark .bbs-thread-neighbor-card {
  color: #d7deea;
  border-color: #253149;
  background: #111827;
  box-shadow: none;
}

.bbs-theme-dark .bbs-thread-neighbor-card:hover {
  color: #bfdbfe;
  border-color: rgba(96, 165, 250, 0.34);
  background: #1d293d;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.bbs-theme-dark .bbs-thread-neighbor-card span {
  color: #b7c5da;
}

.bbs-theme-dark .bbs-thread-neighbor-card strong {
  color: #8ab4ff;
}

.bbs-theme-dark .bbs-thread-neighbor-card.empty {
  color: #718096;
  background: rgba(17, 24, 39, 0.72);
}

.bbs-theme-dark .bbs-thread-neighbor-card.empty span,
.bbs-theme-dark .bbs-thread-neighbor-card.empty strong {
  color: #718096;
}

.bbs-theme-dark .bbs-postlist-toolbar {
  border-bottom-color: #253149;
}

.bbs-theme-dark .bbs-postlist-title b {
  color: #eef4ff;
}

.bbs-theme-dark .bbs-postlist-title span {
  color: #9fb0c8;
}

.bbs-theme-dark .bbs-postlist-tools > a {
  color: #aab8cf;
  border-color: #33425c;
  background: rgba(17, 24, 39, 0.82);
}

.bbs-theme-dark .bbs-postlist-tools > a:hover,
.bbs-theme-dark .bbs-postlist-tools > a.active {
  color: #bfdbfe;
  border-color: rgba(96, 165, 250, 0.42);
  background: rgba(30, 58, 95, 0.72);
}

.bbs-theme-dark .postlist .post,
.bbs-theme-dark .postlist .media {
  border-color: #253149;
}

.bbs-theme-dark .postlist .floor-parent,
.bbs-theme-dark .postlist .floor,
.bbs-theme-dark .postlist .date,
.bbs-theme-dark .postlist .text-grey,
.bbs-theme-dark .postlist .text-muted {
  color: #9fb0c8 !important;
}

.bbs-theme-dark .postlist a.text-grey:hover,
.bbs-theme-dark .postlist a.text-muted:hover {
  color: #bfdbfe !important;
}

.bbs-theme-dark .quick_reply_message,
.bbs-theme-dark #message,
.bbs-theme-dark .newpost textarea {
  color: #dbe7f6;
  border-color: #33425c;
  background: #0f172a;
}

.bbs-theme-dark #message::placeholder,
.bbs-theme-dark .form-control::placeholder {
  color: #718096;
}

.bbs-theme-dark .mod-button .btn,
.bbs-theme-dark .xn-back {
  color: #cbd7ea;
  border-color: #33425c;
  background: #111827;
}

.bbs-theme-dark .mod-button .btn:hover,
.bbs-theme-dark .xn-back:hover {
  color: #bfdbfe;
  border-color: rgba(96, 165, 250, 0.42);
  background: #1e3a5f;
}

.bbs-theme-dark .bbs-footer-inner {
  color: #93a4bd;
  border-color: #253149;
  background: rgba(17, 24, 39, 0.78);
}

.bbs-theme-dark .bbs-footer-brand a,
.bbs-theme-dark .bbs-footer-meta b {
  color: #cbd7ea;
}

.bbs-theme-dark .bbs-footer-brand em {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.18);
}

.bbs-theme-dark .bbs-readmore-message.bbs-readmore-collapsed::after {
  background: linear-gradient(180deg, rgba(23, 32, 51, 0), #172033 78%);
}

.bbs-theme-dark .bbs-readmore-bar {
  border-top-color: #253149;
  background: linear-gradient(180deg, #172033, #111827);
}

.bbs-theme-dark .bbs-readmore-btn {
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.32);
}

.bbs-theme-dark .bbs-thread-actions {
  border-top-color: #253149;
}

.bbs-theme-dark .bbs-thread-action {
  color: #9fb0c8;
  border-color: #253149;
  background: rgba(23, 32, 51, 0.88);
}

.bbs-theme-dark .bbs-thread-action:hover,
.bbs-theme-dark .bbs-thread-action:focus,
.bbs-theme-dark .bbs-thread-action.active {
  color: #8ab4ff;
  border-color: rgba(96, 165, 250, 0.34);
  background: rgba(30, 41, 59, 0.95);
}

.bbs-theme-dark .bbs-report-backdrop,
.bbs-theme-dark .bbs-notice-backdrop {
  background: rgba(2, 6, 23, 0.68);
}

.bbs-theme-dark .bbs-report-panel,
.bbs-theme-dark .bbs-notice-panel {
  color: #d7deea;
  border-color: #253149;
  background: rgba(23, 32, 51, 0.98);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.bbs-theme-dark .bbs-report-head,
.bbs-theme-dark .bbs-notice-head {
  border-bottom-color: #253149;
}

.bbs-theme-dark .bbs-report-head strong,
.bbs-theme-dark .bbs-notice-head strong {
  color: #eef4ff;
}

.bbs-theme-dark .bbs-report-head span,
.bbs-theme-dark .bbs-notice-head span,
.bbs-theme-dark .bbs-report-meta {
  color: #9fb0c8;
}

.bbs-theme-dark .bbs-report-close,
.bbs-theme-dark .bbs-report-cancel,
.bbs-theme-dark .bbs-notice-close,
.bbs-theme-dark .bbs-notice-cancel {
  color: #d7deea;
  border-color: #253149;
  background: #111827;
}

.bbs-theme-dark .bbs-report-reasons span {
  color: #9fb0c8;
  border-color: #253149;
  background: rgba(17, 24, 39, 0.92);
}

.bbs-theme-dark .bbs-report-reasons label:hover span,
.bbs-theme-dark .bbs-report-reasons label.active span {
  color: #8ab4ff;
  border-color: rgba(96, 165, 250, 0.34);
  background: rgba(30, 41, 59, 0.96);
}

.bbs-theme-dark .bbs-report-message,
.bbs-theme-dark .bbs-notice-body {
  color: #d7deea;
  border-color: #253149;
  background: #111827;
}

.bbs-theme-dark .breadcrumb .breadcrumb-item a,
.bbs-theme-dark .thread .subject,
.bbs-theme-dark .thread .subject a,
.bbs-theme-dark .thread a.subject,
.bbs-theme-dark .username a,
.bbs-theme-dark .card-thread h4,
.bbs-theme-dark .card-thread h1,
.bbs-theme-dark .card-postlist .card-title {
  color: #eef4ff;
}

.bbs-theme-dark .thread .text-muted,
.bbs-theme-dark .thread .date,
.bbs-theme-dark .thread .text-grey {
  color: #9fb0c8 !important;
}

.bbs-theme-dark .breadcrumb .breadcrumb-item a:hover,
.bbs-theme-dark .thread .subject a:hover,
.bbs-theme-dark .thread a.subject:hover,
.bbs-theme-dark .username a:hover {
  color: #8ab4ff;
}

.bbs-theme-dark .breadcrumb:hover,
.bbs-theme-dark .thread:hover,
.bbs-theme-dark .bbs-feed-card:hover {
  background: #1d293d !important;
}

.bbs-theme-dark .thread,
.bbs-theme-dark .post,
.bbs-theme-dark .bbs-feed-side-tabs,
.bbs-theme-dark .bbs-feed-user-rank a,
.bbs-theme-dark .bbs-feed-stat-card div {
  border-color: #253149;
}

.bbs-theme-dark .bbs-feed,
.bbs-theme-dark .bbs-home,
.bbs-theme-dark .bbs-recommend-body h1,
.bbs-theme-dark .bbs-feed-author a,
.bbs-theme-dark .bbs-feed-card-body h2 a,
.bbs-theme-dark .bbs-feed-side-title,
.bbs-theme-dark .bbs-feed-user-rank strong,
.bbs-theme-dark .bbs-feed-stat-card strong,
.bbs-theme-dark .markdown-body h1,
.bbs-theme-dark .markdown-body h2,
.bbs-theme-dark .markdown-body h3,
.bbs-theme-dark .markdown-body h4,
.bbs-theme-dark .markdown-body h5,
.bbs-theme-dark .markdown-body h6 {
  color: #eef4ff;
}

.bbs-theme-dark .bbs-feed-author span,
.bbs-theme-dark .bbs-footer,
.bbs-theme-dark .bbs-footer-meta,
.bbs-theme-dark .bbs-recommend-body p,
.bbs-theme-dark .bbs-recommend-meta,
.bbs-theme-dark .bbs-feed-card-body p,
.bbs-theme-dark .bbs-feed-meta-line,
.bbs-theme-dark .bbs-feed-card-foot,
.bbs-theme-dark .bbs-feed-hot-list a,
.bbs-theme-dark .bbs-feed-side-tabs a,
.bbs-theme-dark .bbs-feed-user-rank em,
.bbs-theme-dark .bbs-feed-stat-card span,
.bbs-theme-dark .text-muted,
.bbs-theme-dark .text-grey {
  color: #93a4bd !important;
}

.bbs-theme-dark .bbs-feed-left-item {
  color: #aab8cf;
}

.bbs-theme-dark .bbs-feed-left-item:hover,
.bbs-theme-dark .bbs-feed-left-item.active {
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.12);
}

.bbs-theme-dark .bbs-feed-left-icon,
.bbs-theme-dark .bbs-feed-hot-list li span {
  color: #9fb0c8;
  background: #253149;
}

.bbs-theme-dark .bbs-feed-left-item.active .bbs-feed-left-icon,
.bbs-theme-dark .bbs-feed-hot-list li:nth-child(-n+3) span {
  color: #fff;
  background: #2563eb;
}

.bbs-theme-dark .bbs-feed-left-item.active .bbs-feed-left-icon {
  color: #9fb0c8;
  background: #253149;
}

.bbs-theme-dark .bbs-feed-left-item.active .bbs-feed-left-icon img {
  box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.32);
  animation-name: bbsForumNavBreathDark;
}

@keyframes bbsForumNavBreathDark {
  0% {
    box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.3), 0 6px 16px rgba(37, 99, 235, 0.18);
  }
  55% {
    box-shadow: 0 0 0 8px rgba(96, 165, 250, 0.08), 0 10px 24px rgba(37, 99, 235, 0.24);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(96, 165, 250, 0), 0 6px 16px rgba(37, 99, 235, 0.18);
  }
}

.bbs-theme-dark .bbs-feed-tag {
  color: #a9b9d2;
  border: 1px solid rgba(96, 165, 250, 0.12);
  background: rgba(37, 49, 73, 0.78);
}

.bbs-theme-dark .bbs-dz-label-top {
  color: #fb7185;
  background: rgba(225, 29, 72, 0.16);
}

.bbs-theme-dark .bbs-dz-label-digest {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.16);
}

.bbs-theme-dark .bbs-feed-custom-tag {
  color: #b8c7e3;
  border-color: rgba(129, 140, 248, 0.18);
  background: rgba(44, 56, 84, 0.82);
}

.bbs-theme-dark .bbs-feed-tag:hover,
.bbs-theme-dark .bbs-feed-custom-tag:hover {
  color: #dbeafe;
  border-color: rgba(96, 165, 250, 0.32);
  background: rgba(30, 58, 95, 0.82);
  text-decoration: none;
}

.bbs-theme-dark .bbs-feed-check {
  border-color: #40506c;
  background: #111827;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.bbs-theme-dark .bbs-feed-check:hover {
  border-color: #6ea8ff;
}

.bbs-theme-dark .bbs-feed-check:checked {
  border-color: rgba(34, 197, 94, 0.86);
  background: radial-gradient(circle at center, #22c55e 0 34%, rgba(34, 197, 94, 0.22) 36% 58%, rgba(17, 24, 39, 0.92) 60%);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14), 0 0 14px rgba(34, 197, 94, 0.18);
}

.bbs-theme-dark .form-control,
.bbs-theme-dark .custom-select,
.bbs-theme-dark input,
.bbs-theme-dark textarea,
.bbs-theme-dark select {
  color: #dbe7f6;
  border-color: #33425c;
  background-color: #111827;
}

.bbs-theme-dark .form-control:focus,
.bbs-theme-dark .custom-select:focus {
  color: #eef4ff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 0.16rem rgba(59, 130, 246, 0.18);
  background-color: #111827;
}

.bbs-theme-dark .table {
  color: #d7deea;
}

.bbs-theme-dark .table thead th,
.bbs-theme-dark .table td {
  border-color: #253149;
}

.bbs-theme-dark .table thead th {
  color: #93a4bd;
}

.bbs-theme-dark .table-hover tbody tr:hover {
  color: #eef4ff;
  background-color: #1d293d;
}

.bbs-theme-dark .page-link {
  color: #93a4bd;
  border-color: #253149;
  background: #172033;
}

.bbs-theme-dark .page-link:hover {
  color: #bfdbfe;
  border-color: #3b82f6;
  background: #1e3a5f;
}

.bbs-theme-dark .page-item.active .page-link {
  color: #fff;
  border-color: #2563eb;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.bbs-theme-dark .dropdown-menu {
  border-color: #253149;
  background: #172033;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.bbs-theme-dark .dropdown-item {
  color: #cbd7ea;
}

.bbs-theme-dark .dropdown-item:hover,
.bbs-theme-dark .dropdown-item:focus {
  color: #bfdbfe;
  background: #1e3a5f;
}

.bbs-theme-dark .message img {
  border-color: #253149;
  box-shadow: none;
}

.bbs-theme-dark .blockquote {
  color: #cbd7ea;
  background-color: #111827;
}

.bbs-theme-dark .bbs-md-editor,
.bbs-theme-dark .bbs-md-toolbar,
.bbs-theme-dark .bbs-md-preview,
.bbs-theme-dark .bbs-md-tips,
.bbs-theme-dark .bbs-recommend-setting {
  border-color: #253149;
  background: #172033;
}

.bbs-theme-dark .bbs-recommend-setting label {
  color: #d7deea;
}

.bbs-theme-dark .bbs-md-toolbar button {
  color: #cbd7ea;
  border-color: #33425c;
  background: #111827;
}

.bbs-theme-dark .bbs-md-toolbar button:hover,
.bbs-theme-dark .bbs-md-toolbar button.active {
  color: #bfdbfe;
  border-color: #3b82f6;
  background: #1e3a5f;
}

.bbs-theme-dark .bbs-user-currency-mini span,
.bbs-theme-dark .bbs-user-level-mini,
.bbs-theme-dark .bbs-user-currency-grid div,
.bbs-theme-dark .bbs-level-progress-card,
.bbs-theme-dark .bbs-checkin-card,
.bbs-theme-dark .bbs-user-card,
.bbs-theme-dark .bbs-favorite-card,
.bbs-theme-dark .bbs-password-panel,
.bbs-theme-dark .bbs-password-head strong,
.bbs-theme-dark .bbs-password-input,
.bbs-theme-dark .bbs-credit-overview,
.bbs-theme-dark .bbs-credit-asset-card,
.bbs-theme-dark .bbs-profile-wallet-card,
.bbs-theme-dark .bbs-profile-info-pill,
.bbs-theme-dark .bbs-profile-meta-card,
.bbs-theme-dark .bbs-checkin-calendar span {
  color: #d7deea;
  border-color: #253149;
  background: #111827;
  box-shadow: none;
}

.bbs-theme-dark .bbs-checkin-head h2,
.bbs-theme-dark .bbs-checkin-calendar span {
  color: #eef4ff;
}

.bbs-theme-dark .bbs-checkin-head .icon-calendar,
.bbs-theme-dark .bbs-side-hot-card .bbs-side-card-head .icon-fire {
  background-color: rgba(96, 165, 250, 0.16);
}

.bbs-theme-dark .bbs-credit-log-head h5,
.bbs-theme-dark .bbs-credit-overview-title h5,
.bbs-theme-dark .bbs-credit-log-table td,
.bbs-theme-dark .bbs-user-card strong,
.bbs-theme-dark .bbs-favorite-card strong,
.bbs-theme-dark .bbs-password-head h5,
.bbs-theme-dark .bbs-avatar-upload-info h5,
.bbs-theme-dark .bbs-credit-asset-card strong,
.bbs-theme-dark .bbs-profile-wallet-card strong,
.bbs-theme-dark .bbs-profile-info-pill strong,
.bbs-theme-dark .bbs-profile-meta-card strong,
.bbs-theme-dark .bbs-level-progress-head strong {
  color: #d7deea;
}

.bbs-theme-dark .bbs-credit-log-head p,
.bbs-theme-dark .bbs-credit-overview-title p,
.bbs-theme-dark .bbs-credit-log-table th,
.bbs-theme-dark .bbs-user-card span,
.bbs-theme-dark .bbs-favorite-card span,
.bbs-theme-dark .bbs-password-head p,
.bbs-theme-dark .bbs-password-field label,
.bbs-theme-dark .bbs-avatar-upload-info p,
.bbs-theme-dark .bbs-credit-asset-card span,
.bbs-theme-dark .bbs-profile-wallet-card span,
.bbs-theme-dark .bbs-profile-info-pill span,
.bbs-theme-dark .bbs-profile-meta-card span,
.bbs-theme-dark .bbs-level-progress-head span,
.bbs-theme-dark .bbs-level-progress-meta span {
  color: #93a4bd;
}

.bbs-theme-dark .bbs-level-progress-bar {
  background: #253149;
}

.bbs-theme-dark .bbs-level-progress-meta span:last-child {
  color: #60a5fa;
}

.bbs-theme-dark .bbs-checkin-calendar span.today {
  color: #bfdbfe;
  border-color: #1e3a5f;
  background: #1e3a5f;
}

.bbs-theme-dark .bbs-checkin-calendar span.checked {
  color: #fff;
  border-color: #16a34a;
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.bbs-theme-dark .bbs-user-card:hover,
.bbs-theme-dark .bbs-user-card:focus {
  color: #bfdbfe;
  border-color: #3b82f6;
  background: #1e3a5f;
}

.bbs-theme-dark .bbs-favorite-card:hover,
.bbs-theme-dark .bbs-favorite-card:focus {
  color: #bfdbfe;
  border-color: #3b82f6;
  background: #1e3a5f;
  box-shadow: none;
}

.bbs-theme-dark .bbs-profile-info-pill:hover,
.bbs-theme-dark .bbs-profile-info-pill:focus {
  color: #bfdbfe;
  border-color: #3b82f6;
  background: #1e3a5f;
}

.bbs-theme-dark .bbs-profile-wallet-card i {
  background: #253149;
}

.bbs-theme-dark .bbs-credit-overview-title > span,
.bbs-theme-dark .bbs-password-head span,
.bbs-theme-dark .bbs-credit-asset-card i {
  background: #253149;
}

.bbs-theme-dark .bbs-password-input i {
  color: #93a4bd;
  border-color: #253149;
  background: #172033;
}

.bbs-theme-dark .bbs-password-input .form-control {
  color: #d7deea;
}

.bbs-theme-dark .bbs-password-head {
  border-color: #253149;
}

.bbs-theme-dark .bbs-avatar-preview {
  border-color: #253149;
  box-shadow: none;
}

.bbs-theme-dark .bbs-avatar-preview-wrap span {
  border-color: #111827;
}

.bbs-theme-dark .bbs-avatar-progress {
  background: #253149;
}

.bbs-theme-dark .bbs-user-card-stats em {
  color: #cbd7ea;
  background: #253149;
}

.bbs-theme-dark .bbs-checkin-calendar span.empty {
  border-color: transparent;
  background: transparent;
}

.bbs-theme-dark .bbs-user-currency-grid span {
  color: #93a4bd;
}

.bbs-theme-dark .bbs-user-currency-mini b,
.bbs-theme-dark .bbs-user-currency-grid strong {
  color: #eef4ff;
}

.bbs-theme-dark .bbs-user-level-mini {
  color: #bfdbfe;
  border-color: #1e3a5f;
  background: #1e3a5f;
}

.bbs-theme-dark .bbs-profile-side-card {
  background: #172033;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.bbs-theme-dark .bbs-profile-cover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.76), rgba(15, 23, 42, 0.45)), url('../img/bg.png');
  background-position: center;
  background-size: cover;
}

.bbs-theme-dark .bbs-profile-avatar {
  border-color: #172033;
  background: #111827;
}

.bbs-theme-dark .bbs-profile-side-body h5 {
  color: #fda4af;
}

.bbs-theme-dark .bbs-profile-level {
  color: #fdba74;
}

.bbs-theme-dark .bbs-profile-stats {
  background: #111827;
}

.bbs-theme-dark .bbs-profile-stats div {
  border-right-color: #253149;
}

.bbs-theme-dark .bbs-profile-stats span {
  color: #93a4bd;
}

.bbs-theme-dark .bbs-profile-stats strong {
  color: #eef4ff;
}

.bbs-theme-dark .bbs-profile-side-card .list-group-item {
  color: #cbd7ea;
  border-color: #253149;
  background: #172033;
}

.bbs-theme-dark .bbs-profile-side-card .list-group-item:hover,
.bbs-theme-dark .bbs-profile-side-card .list-group-item.active {
  color: #bfdbfe;
  background: #1e3a5f;
}

.bbs-theme-dark .bbs-profile-posts a {
  color: #d7deea;
}

.bbs-theme-dark .bbs-profile-posts a:hover,
.bbs-theme-dark .bbs-profile-more a {
  color: #8ab4ff;
}

.bbs-theme-dark .bbs-profile-posts em,
.bbs-theme-dark .bbs-profile-posts-empty {
  color: #93a4bd;
}

.bbs-theme-dark .bbs-profile-posts b,
.bbs-theme-dark .bbs-author-hot-list em {
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.28);
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(23, 32, 51, 0.95));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.bbs-theme-dark .bbs-author-hot-title i {
  background-color: rgba(96, 165, 250, 0.16);
}

.bbs-theme-dark .bbs-author-hot-list strong {
  color: #93a4bd;
}

.bbs-theme-dark .bbs-profile-more {
  border-top-color: #253149;
}

.bbs-theme-dark .bbs-author-hot-title {
  color: #eef4ff;
  border-bottom-color: #253149;
}

.bbs-theme-dark .bbs-author-hot-list a {
  color: #d7deea;
}

.bbs-theme-dark .bbs-author-hot-list a:hover {
  color: #8ab4ff;
}

.bbs-theme-dark .bbs-author-hot-list strong,
.bbs-theme-dark .bbs-author-hot-empty {
  color: #93a4bd;
}

.bbs-theme-dark .bbs-copyright-notice {
  color: #cbd7ea;
  border-color: rgba(96, 165, 250, 0.38);
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.46), rgba(23, 32, 51, 0.92));
}

.bbs-theme-dark .bbs-copyright-notice strong {
  color: #f87171;
}

.bbs-theme-dark .bbs-copyright-notice span {
  color: #cbd7ea;
}

.bbs-theme-dark .bbs-thread-quickbar-btn {
  color: #cbd7ea;
  background: #172033;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.bbs-theme-dark .bbs-thread-quickbar-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.bbs-theme-dark .bbs-user-currency-mini i,
.bbs-theme-dark .bbs-user-currency-grid i {
  color: #fbbf24;
}

.bbs-theme-dark .card-forum-info h5,
.bbs-theme-dark .card-forum-info .line-height-2,
.bbs-theme-dark .card-mod-info h6,
.bbs-theme-dark .card-mod-info p {
  color: #d7deea;
}

.bbs-theme-dark .card-forum-info .card-footer {
  color: #cbd7ea;
}

.bbs-theme-dark .card-forum-info .card-footer b {
  color: #eef4ff;
}

.bbs-theme-dark .bbs-md-preview {
  color: #d7deea;
}

.bbs-theme-dark .markdown-body blockquote {
  color: #b7c5da;
  background: #1e3a5f;
}

.bbs-theme-dark .markdown-body code {
  color: #f0abfc;
  background: #253149;
}

.bbs-theme-dark .markdown-body pre {
  color: #dbe7ff;
  background: #0b1120;
}

.bbs-theme-dark .modal-content,
.bbs-theme-dark .dropdown-menu {
  color: #d7deea;
  border-color: #253149;
  background: #172033;
}

.bbs-theme-dark .dropdown-item {
  color: #d7deea;
}

.bbs-theme-dark .dropdown-item:hover {
  color: #fff;
  background: #1e3a5f;
}

.bbs-theme-dark .bbs-footer-brand a,
.bbs-theme-dark .bbs-footer-meta b {
  color: #d7deea;
}

.bbs-theme-dark .bbs-footer-brand a:hover {
  color: #60a5fa;
}

.bbs-theme-dark .bbs-footer-brand em {
  color: #bfdbfe;
  background: #1e3a5f;
}

@media (max-width: 576px) {
  #body {
    padding-top: 0.5rem;
  }
  #body > .container > .row > div {
    padding: 0.5rem;
  }
  .bbs-topbar .navbar-brand {
    margin-right: 0.8rem;
  }
  .bbs-feed-tabs {
    overflow-x: auto;
    padding: 0 12px;
  }
  .bbs-feed-tabs a {
    flex: 0 0 auto;
    margin-right: 24px;
  }
  .bbs-feed-card {
    padding: 16px;
  }
  .bbs-feed-preview {
    min-height: 170px;
    padding: 20px;
  }
  .bbs-feed-preview strong {
    font-size: 1.45rem;
  }
  .bbs-feed-right {
    grid-template-columns: 1fr;
  }
  .bbs-user-currency-grid {
    grid-template-columns: 1fr;
  }
  .bbs-feed-float-action {
    right: 16px;
    bottom: 72px;
  }
  .bbs-footer {
    padding: 1.2rem 0 1rem;
  }
  .bbs-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }
  .bbs-recommend-card {
    grid-template-columns: 1fr;
  }
  .bbs-footer-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .bbs-md-workspace {
    grid-template-columns: 1fr;
  }
  .bbs-md-preview {
    display: none;
    border-top: 1px solid #e7ebf2;
    border-left: 0;
  }
  .bbs-md-editor.preview-on .bbs-md-preview {
    display: block;
  }
}

@media (max-width: 992px) {
  #nav {
    padding-top: 1.5rem;
    padding-left: 0.5rem;
  }
  #nav > ul:first-child > li:not(:first-child) {
    padding-left: 3rem;
  }
  #nav > ul > li > a.nav-link {
    border-bottom: 1px solid rgba(134, 142, 150, 0.3);
  }

  .card {
    border-radius: 16px;
  }

  .card > .card-header {
    min-height: 44px;
    padding: 0.7rem 0.85rem;
  }

  .card > .card-body {
    padding: 0.9rem;
  }

  .breadcrumb {
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
  }

  .form-control,
  .custom-select,
  .btn {
    border-radius: 10px;
  }

  .bbs-feed-grid {
    grid-template-columns: 1fr;
  }
  .bbs-thread-layout {
    margin-right: 0;
    margin-left: 0;
  }
  .bbs-feed-left,
  .bbs-feed-right,
  .bbs-side-modern,
  .bbs-thread-main,
  .bbs-thread-aside,
  .bbs-credit-log-head,
  .bbs-thread-sticky-side,
  .bbs-thread-quickbar,
  #my_aside,
  #user_aside,
  #my_main,
  #user_main {
    position: static;
    flex: 0 0 auto;
    max-width: 100%;
    max-height: none;
    overflow-y: visible;
  }
  .bbs-thread-quickbar {
    display: none;
  }
  .bbs-thread-sticky-side {
    display: block;
  }
  .bbs-credit-log-head {
    display: block;
  }
  .bbs-credit-log-currency {
    min-width: 0;
    margin-top: 0.75rem;
  }

  .bbs-profile-detail-panel,
  .bbs-credit-overview {
    grid-template-columns: 1fr;
  }

  .bbs-credit-overview-assets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bbs-profile-wallet-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bbs-level-progress-head,
  .bbs-level-progress-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .bbs-feed-left-item {
    flex: 0 0 auto;
    margin-right: 8px;
    margin-bottom: 0;
  }
  .bbs-feed-right,
  .bbs-side-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .bbs-recommend-card {
    grid-template-columns: 38% minmax(0, 1fr);
  }
  .bbs-feed-side-card {
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {
  .card > .card-body {
    padding: 0.8rem;
  }

  .bbs-profile-wallet-grid,
  .bbs-profile-info-grid,
  .bbs-credit-overview-assets {
    grid-template-columns: 1fr;
  }

  .bbs-credit-overview {
    padding: 0.72rem;
  }

  .bbs-credit-asset-card {
    min-height: 86px;
  }

  .bbs-password-head {
    flex-direction: column;
    gap: 0.65rem;
  }

  .bbs-password-head strong {
    max-width: 100%;
  }

  .bbs-password-code-row {
    grid-template-columns: 1fr;
  }

  .bbs-avatar-upload-panel {
    padding: 1rem;
  }

  .bbs-avatar-upload-btn {
    width: 100%;
  }

  .bbs-profile-wallet-card {
    min-height: 86px;
  }

  .media {
    align-items: flex-start;
  }

  .thread,
  .post {
    padding: 0.75rem 0;
  }

  .page-link {
    margin-bottom: 0.35rem;
  }

  .table-responsive {
    border-radius: 14px;
  }

  .bbs-feed-container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-right: 12px;
    padding-left: 12px;
  }

  .bbs-feed,
  .bbs-feed-grid,
  .bbs-feed-main,
  .bbs-feed-left,
  .bbs-feed-right,
  .bbs-recommend-card,
  .bbs-feed-card,
  .bbs-feed-tabs,
  .bbs-feed-left-card,
  .bbs-checkin-card,
  .bbs-feed-side-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .bbs-feed-grid {
    overflow: hidden;
    gap: 12px;
  }

  .bbs-feed-main,
  .bbs-feed-card,
  .bbs-recommend-card {
    overflow: hidden;
  }

  .bbs-recommend-cover,
  .bbs-recommend-body,
  .bbs-feed-card-body,
  .bbs-feed-card-foot {
    min-width: 0;
    max-width: 100%;
  }

  .bbs-recommend-cover strong,
  .bbs-recommend-body h1,
  .bbs-recommend-body p,
  .bbs-feed-card-body h2,
  .bbs-feed-card-body h2 a,
  .bbs-feed-card-body p,
  .bbs-feed-hot-list a {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .bbs-recommend-meta,
  .bbs-feed-card-foot {
    overflow: hidden;
  }

  .bbs-feed-card-foot > *,
  .bbs-recommend-meta span {
    max-width: 100%;
  }

  .bbs-feed-tag {
    max-width: 100%;
    white-space: normal;
  }

  .bbs-feed-tabs {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .bbs-feed-tabs a {
    flex: 0 0 auto;
    margin-right: 22px;
    white-space: nowrap;
  }

  .bbs-feed-left-card {
    display: flex;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .bbs-feed-left-item {
    flex: 0 0 auto;
    min-width: max-content;
    max-width: 9.5rem;
    margin-right: 0;
  }

  .bbs-feed-left-item strong {
    max-width: 6.8rem;
  }

  .bbs-feed-right,
  .bbs-forum-right,
  .bbs-side-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .bbs-forum-grid {
    grid-template-columns: 1fr;
  }
  .bbs-forum-container {
    max-width: 100%;
  }

  .bbs-checkin-card,
  .bbs-feed-side-card {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
    padding: 14px;
    border-radius: 16px;
  }

  .bbs-checkin-head {
    align-items: flex-start;
    gap: 0.6rem;
  }

  .bbs-checkin-head h2 {
    font-size: 1.18rem;
  }

  .bbs-checkin-head b {
    flex: 0 0 auto;
    margin-top: 0.1rem;
  }

  .bbs-checkin-week,
  .bbs-checkin-calendar {
    gap: 5px;
  }

  .bbs-checkin-calendar span {
    min-height: 34px;
    border-radius: 9px;
  }

  .bbs-feed-side-title {
    margin-bottom: 10px;
    font-size: 0.98rem;
  }

  .bbs-feed-hot-list li {
    min-height: 32px;
  }

  .bbs-feed-hot-list a {
    font-size: 0.88rem;
  }

  .bbs-feed-side-tabs {
    justify-content: flex-start;
    gap: 1rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .bbs-feed-side-tabs a {
    flex: 0 0 auto;
  }

  .bbs-feed-user-rank a {
    padding: 9px 4px;
  }

  .bbs-feed-user-rank img {
    width: 34px;
    height: 34px;
    margin-right: 8px;
  }

  .bbs-feed-user-rank em {
    gap: 0.22rem;
    font-size: 0.74rem;
  }

  .bbs-feed-user-rank em .bbs-rank-extra-icon {
    margin-left: 0.34rem;
  }

  .bbs-feed-user-rank b {
    min-width: 34px;
  }

  .bbs-recommend-card {
    grid-template-columns: 1fr;
  }
  .bbs-recommend-cover {
    min-height: 160px;
    padding: 22px;
  }
  .bbs-recommend-cover strong {
    font-size: 1.45rem;
  }
  .bbs-recommend-body {
    padding: 20px;
  }
  .bbs-recommend-body h1 {
    font-size: 1.12rem;
  }
}

@media (min-width: 576px) {
  #body {
    padding-top: 1rem;
  }
}

@media (min-width: 1200px) {
  #body > .bbs-feed-container {
    width: calc(100% - 48px);
    max-width: 1500px;
  }
  .bbs-topbar > .container {
    width: calc(100% - 48px);
    max-width: 1500px;
  }
  .bbs-footer-container {
    width: calc(100% - 48px);
    max-width: 1500px;
  }
  .bbs-feed {
    max-width: 1500px;
  }
  .bbs-feed-grid {
    grid-template-columns: 240px minmax(0, 1fr) 330px;
    gap: 22px;
  }
  .bbs-feed-left-card,
  .bbs-feed-side-card,
  .bbs-feed-card,
  .bbs-recommend-card,
  .bbs-feed-tabs {
    border-radius: 12px;
  }
  .bbs-feed-left-card {
    padding: 12px;
  }
  .bbs-feed-left-item {
    min-height: 52px;
    margin-bottom: 10px;
    padding: 12px 16px;
    border-radius: 12px;
  }
  .bbs-feed-left-icon {
    width: 34px;
    height: 34px;
    margin-right: 13px;
  }
  .bbs-feed-left-icon img {
    width: 24px;
    height: 24px;
  }
  .bbs-feed-left-item strong,
  .bbs-feed-tabs a {
    font-size: 0.94rem;
  }
  .bbs-feed-tabs {
    height: 58px;
    margin-bottom: 20px;
    padding: 0 30px;
  }
  .bbs-feed-tabs a {

    margin-right: 48px;
  }
  .bbs-feed-card {
    min-height: 0;
    margin-bottom: 20px;
    padding: 28px 32px 24px;
  }
  .bbs-feed-card-head {
    margin-bottom: 16px;
  }
  .bbs-feed-avatar,
  .bbs-feed-avatar img {
    width: 46px;
    height: 46px;
  }
  .bbs-feed-avatar {
    margin-right: 14px;
  }
  .bbs-feed-author a {
    font-size: 0.92rem;
  }
  .bbs-feed-author span {
    font-size: 0.82rem;
  }
  .bbs-feed-card-body h2 {
    margin-bottom: 10px;
    font-size: 1.2rem;
  }
  .bbs-feed-card-body p {
    font-size: 0.96rem;
  }
  .bbs-feed-card-foot {
    gap: 0.72rem 1rem;
    font-size: 0.86rem;
  }
  .bbs-feed-preview {
    min-height: 330px;
    padding: 42px;
    border-radius: 12px;
  }
  .bbs-feed-preview span {
    font-size: 1.2rem;
  }
  .bbs-feed-preview strong {
    max-width: 520px;
    font-size: 2.75rem;
  }
  .bbs-feed-side-card {
    margin-bottom: 20px;
    padding: 20px;
  }
  .bbs-feed-side-card .bbs-feed-rank-panel {
    margin-right: -4px;
    margin-left: -4px;
  }
  .bbs-feed-side-title {
    margin-bottom: 16px;
    font-size: 1.08rem;
  }
  .bbs-feed-hot-list li {
    min-height: 38px;
  }
  .bbs-feed-hot-list li span {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    font-size: 0.76rem;
  }
  .bbs-feed-hot-list a {
    font-size: 0.94rem;
  }
  .bbs-feed-side-tabs a {
    padding-bottom: 10px;
    font-size: 0.86rem;
  }
  .bbs-feed-user-rank a {
    padding: 12px 14px;
  }
  .bbs-feed-user-rank img {
    width: 42px;
    height: 42px;
    margin-right: 12px;
  }
  .bbs-feed-user-rank strong {
    font-size: 0.96rem;
  }
  .bbs-feed-user-rank em {
    font-size: 0.78rem;
  }
  .bbs-feed-stat-card div {
    padding: 16px 8px;
  }
  .bbs-feed-stat-card span {
    font-size: 0.78rem;
  }
  .bbs-feed-stat-card strong {
    font-size: 1.05rem;
  }
  .bbs-feed-float-action {
    right: 44px;
    bottom: 118px;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    font-size: 1.1rem;
  }
}

@media (min-width: 1440px) {
  #body > .bbs-feed-container,
  .bbs-topbar > .container,
  .bbs-footer-container {
    max-width: 1620px;
  }
  .bbs-feed {
    max-width: 1620px;
  }
  .bbs-feed-grid {
    grid-template-columns: 260px minmax(0, 1fr) 360px;
    gap: 26px;
  }
}

.bbs-profile-side-body h5 {
  font-size: 1.24rem;
  line-height: 1.25;
}

.bbs-profile-level {
  font-size: 0.88rem;
  line-height: 1.35;
}

.bbs-profile-stats span {
  font-size: 0.82rem;
  line-height: 1.25;
}

.bbs-profile-stats strong {
  font-size: 1.18rem;
  line-height: 1.2;
}

.bbs-profile-posts a {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.94rem;
  line-height: 1.45;
}

.bbs-profile-posts em {
  font-size: 0.82rem;
  line-height: 1.35;
}

.bbs-profile-posts-empty {
  font-size: 0.94rem;
}

.bbs-profile-more a {
  font-size: 0.9rem;
  line-height: 1.35;
}

.bbs-author-hot-title {
  font-size: 1.08rem;
  line-height: 1.35;
}

.bbs-author-hot-list a {
  padding-top: 0.54rem;
  padding-bottom: 0.54rem;
  font-size: 0.94rem;
  line-height: 1.42;
}

.bbs-author-hot-list em {
  font-size: 0.82rem;
}

.bbs-author-hot-list strong {
  font-size: 0.82rem;
}

.bbs-author-hot-empty {
  font-size: 0.94rem;
}

.bbs-topbar {
  min-height: 64px;
  padding: 0;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
}

.bbs-topbar > .container {
  max-width: 1500px;
}

.bbs-topbar-shell {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.bbs-topbar .navbar-brand.bbs-topbar-brand {
  display: inline-flex;
  align-items: center;
  min-width: 180px;
  margin-right: 2rem;
  padding: 0;
  color: #17243a;
  font-size: 1rem;
  font-weight: 900;
}

.bbs-topbar-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 0.62rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
}

.bbs-topbar .navbar-brand .bbs-topbar-logo img {
  display: block;
  max-width: 26px;
  max-height: 26px;
  object-fit: contain;
}

.bbs-topbar-brand-main {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  min-width: 0;
}

.bbs-topbar-brand-main strong {
  overflow: hidden;
  color: #17243a;
  font-size: 0.96rem;
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-topbar-brand-main em {
  overflow: hidden;
  max-width: 160px;
  margin-top: 0.14rem;
  color: #8a96a6;
  font-size: 0.72rem;
  line-height: 1.15;
  font-style: normal;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-topbar-collapse {
  align-items: center;
}

.bbs-topbar-nav,
.bbs-topbar-usernav {
  align-items: center;
}

.bbs-topbar .navbar-nav .nav-item {
  margin: 0 0.34rem;
}

.bbs-topbar .navbar-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  min-height: 36px;
  padding: 0.45rem 0.72rem;
  border: 1px solid transparent;
  border-radius: 8px;
  outline: none;
  color: #5f6d80;
  font-size: 0.86rem;
  line-height: 1.2;
  font-weight: 800;
  transition: color 0.18s ease, background 0.18s ease;
}

.bbs-topbar .navbar-nav .nav-link:hover,
.bbs-topbar .navbar-nav .nav-link:focus,
.bbs-topbar .navbar-nav .nav-link:active,
.bbs-topbar .navbar-nav .active > .nav-link {
  color: #115fe7;
  border-color: transparent;
  outline: none;
  background: #f1f6ff;
  box-shadow: none;
  transform: none;
  text-decoration: none;
}

.bbs-topbar .navbar-nav .nav-link:focus-visible {
  outline: none;
  box-shadow: 0 8px 20px rgba(29, 115, 255, 0.1);
}

.bbs-topbar .navbar-nav .active > .nav-link:after {
  display: none;
}

.bbs-topbar .navbar-nav .nav-link i {
  font-size: 0.95rem;
}

.bbs-topbar-usernav {
  gap: 0.2rem;
}

.bbs-notice-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  margin-left: 0.28rem;
  padding: 0 0.28rem;
  color: #fff;
  border-radius: 999px;
  background: #ef4444;
  font-size: 0.68rem;
  font-style: normal;
  line-height: 1;
  font-weight: 900;
}

.bbs-topbar .username img,
.bbs-topbar-user img {
  width: 24px;
  height: 24px;
  margin-right: 0.16rem;
  border: 1px solid #e6edf7;
  border-radius: 50%;
  box-shadow: none;
}

.bbs-topbar-login,
.bbs-topbar-usernav .nav-link[href*="user-logout"] {
  background: transparent;
}

.bbs-theme-toggle,
.bbs-topbar .navbar-nav .bbs-theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0 !important;
  overflow: hidden;
  color: #64748b !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: none;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.bbs-theme-toggle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  transform: translateX(0);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.26s ease, color 0.22s ease;
}

.bbs-theme-toggle i {
  width: 1rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1;
}

.bbs-theme-toggle:hover,
.bbs-theme-toggle:focus,
.bbs-theme-toggle:active,
.bbs-topbar .navbar-nav .bbs-theme-toggle:hover,
.bbs-topbar .navbar-nav .bbs-theme-toggle:focus,
.bbs-topbar .navbar-nav .bbs-theme-toggle:active {
  color: #1d73ff !important;
  border: 0 !important;
  outline: none;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  text-decoration: none;
}

.bbs-theme-toggle:focus-visible {
  outline: none;
  box-shadow: none !important;
}

.bbs-theme-toggle.switching span {
  animation: bbsThemeIconSlide 0.46s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bbs-theme-toggle[aria-pressed="true"] {
  color: #f59e0b !important;
}

@keyframes bbsThemeIconSlide {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0deg);
  }
  42% {
    opacity: 0;
    transform: translateX(14px) scale(0.76) rotate(18deg);
  }
  43% {
    opacity: 0;
    transform: translateX(-14px) scale(0.76) rotate(-18deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0deg);
  }
}

.bbs-topbar-mobile-actions {
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.bbs-topbar-icon-btn,
.bbs-topbar-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #1d73ff;
  border: 1px solid transparent;
  border-radius: 12px;
  outline: none;
  background: #eef5ff;
  box-shadow: none;
}

.bbs-topbar-icon-btn:hover,
.bbs-topbar-icon-btn:focus,
.bbs-topbar-icon-btn:active,
.bbs-topbar-toggler:hover,
.bbs-topbar-toggler:focus,
.bbs-topbar-toggler:active {
  color: #115fe7;
  border-color: transparent;
  outline: none;
  background: #e7f0ff;
  box-shadow: none;
  text-decoration: none;
}

.bbs-topbar-icon-btn:focus-visible,
.bbs-topbar-toggler:focus-visible {
  outline: none;
  box-shadow: none;
}

.bbs-topbar-toggler .navbar-toggler-icon {
  width: 1.1rem;
  height: 1.1rem;
  background-image: none;
}

.bbs-topbar-toggler .navbar-toggler-icon:before {
  content: "☰";
  color: #1d73ff;
  font-size: 1.1rem;
  line-height: 1.1rem;
  font-weight: 900;
}

.bbs-theme-dark .bbs-topbar {
  border-bottom: 0;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: none;
}

.bbs-theme-dark .bbs-topbar-shell {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.bbs-theme-dark .bbs-topbar-brand-main strong {
  color: #eef4ff;
}

.bbs-theme-dark .bbs-topbar-brand-main em {
  color: #93a4bd;
}

.bbs-theme-dark .bbs-topbar .navbar-nav .nav-link {
  color: #b8c4d8;
}

.bbs-theme-dark .bbs-topbar .navbar-nav .nav-link:hover,
.bbs-theme-dark .bbs-topbar .navbar-nav .active > .nav-link {
  color: #bfdbfe;
  background: #1e3a5f;
  box-shadow: none;
}

.bbs-theme-dark .bbs-theme-toggle,
.bbs-theme-dark .bbs-topbar .navbar-nav .bbs-theme-toggle {
  color: #bfdbfe !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bbs-theme-dark .bbs-theme-toggle:hover,
.bbs-theme-dark .bbs-theme-toggle:focus,
.bbs-theme-dark .bbs-topbar .navbar-nav .bbs-theme-toggle:hover,
.bbs-theme-dark .bbs-topbar .navbar-nav .bbs-theme-toggle:focus {
  color: #fbbf24 !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bbs-theme-dark .bbs-theme-toggle i {
  color: #93c5fd;
}

.bbs-theme-dark .bbs-topbar-login,
.bbs-theme-dark .bbs-topbar-usernav .nav-link[href*="user-logout"] {
  background: transparent;
}

@media (max-width: 992px) {
  .bbs-topbar {
    min-height: 58px;
    padding: 0;
    overflow-x: hidden;
  }
  .bbs-topbar > .container {
    width: 100%;
    max-width: 100%;
  }
  .bbs-topbar-shell {
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    min-height: 58px;
    padding: 0;
    border-radius: 0;
    box-sizing: border-box;
  }
  .bbs-topbar .navbar-brand.bbs-topbar-brand {
    min-width: 0;
    max-width: calc(100% - 96px);
    margin-right: 0;
  }
  .bbs-topbar-logo {
    width: 38px;
    height: 38px;
    margin-right: 0.58rem;
    border-radius: 12px;
  }
  .bbs-topbar-brand-main strong {
    font-size: 0.96rem;
  }
  .bbs-topbar-mobile-actions {
    display: inline-flex;
  }
  .bbs-topbar-collapse {
    flex-basis: 100%;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 0;
  }
  .bbs-theme-dark .bbs-topbar-collapse {
    border-top-color: transparent;
  }
  .bbs-topbar-nav,
  .bbs-topbar-usernav {
    align-items: stretch;
  }
  .bbs-topbar .navbar-nav .nav-item {
    margin: 0.12rem 0;
  }
  .bbs-topbar .navbar-nav .nav-link {
    justify-content: flex-start;
    width: 100%;
    min-height: 42px;
  }
}

.bbs-feed-left-card .bbs-feed-left-item[href*="thread-create"],
.bbs-feed-left-card .bbs-feed-left-item[href="."],
.bbs-feed-left-card .bbs-feed-left-item[href="./"],
.bbs-feed-left-card .bbs-feed-left-item[href="index.htm"],
.bbs-feed-left-card .bbs-feed-left-item[href="?index.htm"] {
  display: none;
}

.bbs-side-modern {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bbs-side-card {
  overflow: hidden;
  padding: 18px;
  border: 1px solid #edf1f6;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(30, 48, 80, 0.06);
}

.bbs-side-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 14px;
}

.bbs-side-card-head strong {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #1f2d3d;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 950;
}

.bbs-side-card-head strong i {
  color: #1d73ff;
}

.bbs-side-hot-card .bbs-side-card-head .icon-fire {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 6px;
  background-color: rgba(29, 115, 255, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.8 3.1C10.2 5.2 12.5 5.9 12.5 8.7C12.5 11.1 10.8 12.8 9 12.8C7.1 12.8 5.5 11.3 5.5 9.2C5.5 7.2 6.7 5.8 8 4.5C8.2 5.6 8.8 6.2 9.4 6.6C9.5 5.3 9.4 4.2 9.8 3.1Z' stroke='%231D73FF' stroke-width='1.35' stroke-linejoin='round'/%3E%3Cpath d='M7 14.2H12' stroke='%238B5CF6' stroke-width='1.35' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  font-size: 0;
}

.bbs-side-hot-card .bbs-side-card-head .icon-fire:before {
  content: "";
}

.bbs-side-card-head > a {
  color: #8a96a6;
  font-size: 0.76rem;
  font-weight: 800;
}

.bbs-side-card-head > a:hover {
  color: #1d73ff;
  text-decoration: none;
}

.bbs-side-hot-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bbs-side-hot-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.62rem;
  min-height: 34px;
  padding: 0.42rem 0;
  border-bottom: 1px dashed #e8edf5;
}

.bbs-side-hot-list li:last-child {
  border-bottom: 0;
}

.bbs-side-hot-list em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #64748b;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background-color: #f1f5f9;
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='20' height='20' rx='7' fill='%23F1F5F9'/%3E%3Cpath d='M6.2 6.8C8.5 5.3 12.4 5.1 15.8 6.8' stroke='%23CBD5E1' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M6.6 16.2H15.4' stroke='%23E2E8F0' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
  font-size: 0.76rem;
  line-height: 1;
  font-style: normal;
  font-weight: 950;
}

.bbs-side-hot-list a {
  overflow: hidden;
  color: #273445;
  font-size: 0.88rem;
  line-height: 1.38;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-side-hot-list a:hover {
  color: #1d73ff;
  text-decoration: none;
}

.bbs-side-hot-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  color: #a0aab8;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.bbs-side-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  margin-bottom: 12px;
  padding: 0.28rem;
  border-radius: 13px;
  background: #f5f7fb;
}

.bbs-side-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  color: #7a8798;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 900;
}

.bbs-side-tabs a:hover,
.bbs-side-tabs a.active {
  color: #1d73ff;
  background: #fff;
  box-shadow: 0 8px 18px rgba(30, 48, 80, 0.07);
  text-decoration: none;
}

.bbs-side-rank-panel {
  display: none;
}

.bbs-side-rank-panel.active {
  display: block;
}

.bbs-side-rank-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.68rem;
  padding: 0.62rem 0;
  border-bottom: 1px dashed #e8edf5;
}

.bbs-side-rank-row:last-child {
  border-bottom: 0;
}

.bbs-side-rank-row:hover {
  text-decoration: none;
}

.bbs-side-rank-row img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(30, 48, 80, 0.08);
}

.bbs-side-rank-row span {
  overflow: hidden;
  min-width: 0;
}

.bbs-side-rank-row strong,
.bbs-side-rank-row em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-side-rank-row strong {
  color: #344052;
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 900;
}

.bbs-side-rank-row em {
  margin-top: 0.18rem;
  color: #94a3b8;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
}

.bbs-side-rank-row b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  min-width: 46px;
  color: #8b5cf6;
  font-size: 0.9rem;
  font-weight: 950;
  white-space: nowrap;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.bbs-side-rank-row .bbs-side-rank-trophy {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
  transform-origin: center bottom;
  transition: transform 0.24s ease;
}

.bbs-side-rank-row b small {
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 950;
}

.bbs-side-rank-row:hover b {
  filter: brightness(1.08);
  transform: translateY(-1px) scale(1.04);
}

.bbs-side-rank-row:hover .bbs-side-rank-trophy {
  transform: translateY(-2px) rotate(-4deg) scale(1.08);
}

.bbs-side-rank-row.rank-1 b {
  color: #f59e0b;
}

.bbs-side-rank-row.rank-2 b {
  color: #94a3b8;
}

.bbs-side-rank-row.rank-3 b {
  color: #d97706;
}

.bbs-side-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.bbs-side-tag-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-height: 30px;
  padding: 0.34rem 0.66rem;
  color: #526174;
  border: 1px solid #e8edf5;
  border-radius: 999px;
  background: #f7f9fc;
  font-size: 0.78rem;
  line-height: 1.1;
  font-weight: 850;
}

.bbs-side-tag-list span:nth-child(3n+1) {
  color: #1d73ff;
  background: #eef5ff;
}

.bbs-side-tag-list span:nth-child(3n+2) {
  color: #16a34a;
  background: #ecfdf3;
}

.bbs-side-tag-list span:nth-child(3n) {
  color: #8b5cf6;
  background: #f3efff;
}

.bbs-side-tag-list em {
  color: #a0aab8;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
}

.bbs-side-empty {
  padding: 0.75rem 0;
  color: #8a96a6;
  text-align: center;
  font-size: 0.84rem;
}

.bbs-theme-dark .bbs-side-card,
.bbs-theme-dark .bbs-side-tabs,
.bbs-theme-dark .bbs-side-tabs a.active,
.bbs-theme-dark .bbs-side-tag-list span {
  border-color: #253149;
  background: #172033;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.bbs-theme-dark .bbs-side-card-head strong,
.bbs-theme-dark .bbs-side-hot-list a,
.bbs-theme-dark .bbs-side-rank-row strong {
  color: #eef4ff;
}

.bbs-theme-dark .bbs-side-hot-card .bbs-side-card-head .icon-fire {
  background-color: rgba(96, 165, 250, 0.16);
}

.bbs-theme-dark .bbs-side-hot-list li,
.bbs-theme-dark .bbs-side-rank-row {
  border-bottom-color: #253149;
}

.bbs-theme-dark .bbs-side-hot-list em {
  color: #cbd5e1;
  border-color: rgba(96, 165, 250, 0.16);
  background-color: #253149;
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='20' height='20' rx='7' fill='%23253149'/%3E%3Cpath d='M6.2 6.8C8.5 5.3 12.4 5.1 15.8 6.8' stroke='%23475A78' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M6.6 16.2H15.4' stroke='%23384A66' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.bbs-theme-dark .bbs-side-card-head > a,
.bbs-theme-dark .bbs-side-hot-list span,
.bbs-theme-dark .bbs-side-rank-row em,
.bbs-theme-dark .bbs-side-empty,
.bbs-theme-dark .bbs-side-tag-list em {
  color: #93a4bd;
}

.bbs-theme-dark .bbs-side-tabs {
  background: #111827;
}

.bbs-theme-dark .bbs-side-tabs a {
  color: #93a4bd;
}

.bbs-theme-dark .bbs-side-tabs a:hover,
.bbs-theme-dark .bbs-side-tabs a.active {
  color: #bfdbfe;
  background: #1e3a5f;
}

.bbs-theme-dark .bbs-side-tag-list span:nth-child(3n+1),
.bbs-theme-dark .bbs-side-tag-list span:nth-child(3n+2),
.bbs-theme-dark .bbs-side-tag-list span:nth-child(3n) {
  color: #dbeafe;
  background: #1e3a5f;
}

.bbs-forum-page {
  max-width: 1180px;
  width: 100%;
}

.bbs-forum-hero {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 158px;
  margin-bottom: 22px;
  padding: 1.35rem 1.5rem;
  overflow: hidden;
  border: 1px solid #e8edf5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(30, 48, 80, 0.06);
}

.bbs-forum-hero:before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  content: "";
  background: linear-gradient(180deg, #1d73ff, #60a5fa);
}

.bbs-forum-hero:after {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(29, 115, 255, 0.14), rgba(226, 232, 240, 0));
}

.bbs-forum-hero-main,
.bbs-forum-hero-action {
  position: relative;
  z-index: 1;
}

.bbs-forum-hero-main {
  display: flex;
  align-items: center;
  min-width: 0;
  padding-left: 0.35rem;
}

.bbs-forum-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  margin-right: 1.1rem;
  border: 1px solid #edf1f6;
  border-radius: 18px;
  background: #f8fafc;
}

.bbs-forum-hero-icon img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
}

.bbs-forum-hero-text {
  min-width: 0;
}

.bbs-forum-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-bottom: 0.38rem;
  color: #8a96a6;
  font-size: 0.78rem;
  font-weight: 800;
}

.bbs-forum-kicker a {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: #1d73ff;
}

.bbs-forum-kicker a:hover {
  color: #115fe7;
  text-decoration: none;
}

.bbs-forum-kicker em {
  color: #7b8794;
  font-style: normal;
}

.bbs-forum-hero h1 {
  margin: 0 0 0.42rem;
  color: #172033;
  font-size: 1.82rem;
  line-height: 1.18;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.bbs-forum-brief {
  display: -webkit-box;
  overflow: hidden;
  max-width: 760px;
  color: #526174;
  font-size: 0.94rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bbs-forum-hero-side {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 1rem;
}

.bbs-forum-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(72px, 1fr));
  overflow: hidden;
  min-width: 250px;
  border: 1px solid #edf1f6;
  border-radius: 16px;
  background: #f8fafc;
}

.bbs-forum-hero-stats div {
  padding: 0.72rem 0.85rem;
  text-align: center;
  border-right: 1px solid #edf1f6;
}

.bbs-forum-hero-stats div:last-child {
  border-right: 0;
}

.bbs-forum-hero-stats strong,
.bbs-forum-hero-stats span {
  display: block;
}

.bbs-forum-hero-stats strong {
  color: #172033;
  font-size: 1rem;
  line-height: 1.18;
  font-weight: 950;
}

.bbs-forum-hero-stats span {
  margin-top: 0.2rem;
  color: #8a96a6;
  font-size: 0.72rem;
  font-weight: 800;
}

.bbs-forum-hero-action .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(29, 115, 255, 0.18);
}

.bbs-forum-breadcrumb {
  margin-bottom: 12px;
}

.bbs-forum-profile-card {
  position: relative;
  overflow: hidden;
}

.bbs-forum-profile-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  margin-bottom: 0.85rem;
  padding-left: 0.35rem;
}

.bbs-forum-profile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 1px solid #edf1f6;
  border-radius: 15px;
  background: #f8fafc;
}

.bbs-forum-profile-icon img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.bbs-forum-profile-kicker {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  margin-bottom: 0.25rem;
  color: #8a96a6;
  font-size: 0.72rem;
  font-weight: 800;
}

.bbs-forum-profile-kicker i {
  color: #1d73ff;
}

.bbs-forum-profile-head h3 {
  overflow: hidden;
  margin: 0;
  color: #172033;
  font-size: 1.08rem;
  line-height: 1.24;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-forum-profile-brief {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 1rem;
  padding-left: 0.35rem;
  color: #526174;
  font-size: 0.86rem;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.bbs-forum-profile-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-height: 40px;
  border-radius: 12px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(29, 115, 255, 0.18);
}

.bbs-forum-tabs {
  justify-content: flex-start;
  margin-bottom: 20px;
}

.bbs-forum-thread-card {
  cursor: pointer;
  min-height: 150px;
  padding-right: 96px;
}

.bbs-forum-thread-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.78rem;
  color: #8a96a6;
  font-size: 0.78rem;
}

.bbs-forum-thread-head > span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.bbs-forum-create-time {
  margin-right: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.bbs-forum-thread-head i {
  margin-right: 5px;
}

.bbs-forum-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #edf1f6;
  border-radius: 14px;
  background: #f8fbff;
}

.bbs-forum-stat-grid div {
  padding: 0.82rem 0.35rem;
  text-align: center;
  border-right: 1px solid #edf1f6;
}

.bbs-forum-stat-grid div:last-child {
  border-right: 0;
}

.bbs-forum-stat-grid span,
.bbs-forum-stat-grid strong {
  display: block;
}

.bbs-forum-stat-grid span {
  color: #8a96a6;
  font-size: 0.72rem;
  font-weight: 800;
}

.bbs-forum-stat-grid strong {
  margin-top: 0.28rem;
  color: #263241;
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 950;
}

.bbs-forum-announcement {
  color: #526174;
  font-size: 0.86rem;
  line-height: 1.85;
}

.bbs-forum-mod-title {
  margin-top: 1rem;
}

.bbs-forum-mod-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.bbs-forum-mod-list a {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0.48rem;
  color: #344052;
  border-radius: 12px;
  background: #f7f9fc;
}

.bbs-forum-mod-list a:hover {
  color: #1d73ff;
  background: #eef5ff;
  text-decoration: none;
}

.bbs-forum-mod-list img {
  width: 30px;
  height: 30px;
  margin-right: 0.45rem;
  border-radius: 50%;
}

.bbs-forum-mod-list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 800;
}

.bbs-forum-empty {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.55rem;
}

.bbs-forum-empty i {
  color: #1d73ff;
  font-size: 2rem;
}

.bbs-forum-empty strong {
  color: #263241;
  font-size: 1rem;
  font-weight: 900;
}

.bbs-forum-empty span,
.bbs-forum-hot-empty {
  color: #8a96a6;
  font-size: 0.86rem;
}

.bbs-forum-hot-empty {
  justify-content: center;
  padding: 0.7rem 0;
}

.bbs-theme-dark .bbs-forum-hero,
.bbs-theme-dark .bbs-forum-stat-grid,
.bbs-theme-dark .bbs-forum-mod-list a {
  color: #d7deea;
  border-color: #253149;
  background: #172033;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.bbs-theme-dark .bbs-forum-hero {
  background: #172033;
}

.bbs-theme-dark .bbs-forum-hero:before {
  background: linear-gradient(180deg, #3b82f6, #60a5fa);
}

.bbs-theme-dark .bbs-forum-hero:after {
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.2), rgba(37, 49, 73, 0));
}

.bbs-theme-dark .bbs-forum-hero-icon,
.bbs-theme-dark .bbs-forum-hero-stats {
  border-color: #253149;
  background: #111827;
}

.bbs-theme-dark .bbs-forum-hero-stats div {
  border-right-color: #253149;
}

.bbs-theme-dark .bbs-forum-hero-stats strong {
  color: #eef4ff;
}

.bbs-theme-dark .bbs-forum-hero-stats span {
  color: #93a4bd;
}

.bbs-theme-dark .bbs-forum-hero-action .btn {
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.bbs-theme-dark .bbs-forum-breadcrumb {
  border-color: #253149;
  background: linear-gradient(135deg, #172033, #111827) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.bbs-theme-dark .bbs-forum-breadcrumb:hover {
  background: linear-gradient(135deg, #1d293d, #172033) !important;
}

.bbs-theme-dark .bbs-forum-breadcrumb .breadcrumb-item,
.bbs-theme-dark .bbs-forum-breadcrumb .breadcrumb-item a {
  color: #93a4bd;
}

.bbs-theme-dark .bbs-forum-breadcrumb .breadcrumb-item.active a,
.bbs-theme-dark .bbs-forum-breadcrumb .breadcrumb-item a:hover {
  color: #bfdbfe;
}

.bbs-theme-dark .bbs-forum-tabs {
  border-color: #253149;
  background: #172033;
}

.bbs-theme-dark .bbs-forum-tabs a {
  color: #93a4bd;
}

.bbs-theme-dark .bbs-forum-tabs a:hover,
.bbs-theme-dark .bbs-forum-tabs a.active {
  color: #60a5fa;
}

.bbs-theme-dark .bbs-forum-tabs a.active:after {
  background: #3b82f6;
}

.bbs-theme-dark .bbs-forum-thread-card {
  border-color: #253149;
  background: #172033;
}

.bbs-theme-dark .bbs-forum-thread-card:hover {
  background: #1d293d !important;
}

.bbs-theme-dark .bbs-forum-thread-card .bbs-feed-card-body h2 a {
  color: #eef4ff;
}

.bbs-theme-dark .bbs-forum-thread-card .bbs-feed-card-body h2 a:hover {
  color: #8ab4ff;
}

.bbs-theme-dark .bbs-forum-thread-card .bbs-feed-card-body p,
.bbs-theme-dark .bbs-forum-thread-card .bbs-feed-card-foot,
.bbs-theme-dark .bbs-forum-thread-head {
  color: #93a4bd;
}

.bbs-theme-dark .bbs-forum-create-time {
  background: transparent;
}

.bbs-theme-dark .bbs-forum-stat-card,
.bbs-theme-dark .bbs-forum-info-card,
.bbs-theme-dark .bbs-forum-profile-card {
  border-color: #253149;
  background: #172033;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.bbs-theme-dark .bbs-forum-profile-icon {
  border-color: #253149;
  background: #111827;
}

.bbs-theme-dark .bbs-forum-profile-head h3 {
  color: #eef4ff;
}

.bbs-theme-dark .bbs-forum-profile-kicker,
.bbs-theme-dark .bbs-forum-profile-brief {
  color: #93a4bd;
}

.bbs-theme-dark .bbs-forum-profile-action {
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.bbs-theme-dark .mod-button .btn,
.bbs-theme-dark .threadlist + .text-center .btn,
.bbs-theme-dark input.checkall + * {
  color: #cbd7ea;
}

.bbs-theme-dark .mod-button .btn {
  border-color: #33425c;
  background: #172033;
}

.bbs-theme-dark .mod-button .btn:hover,
.bbs-theme-dark .mod-button .btn:focus {
  color: #bfdbfe;
  border-color: #3b82f6;
  background: #1e3a5f;
}

.bbs-theme-dark .bbs-forum-hero h1,
.bbs-theme-dark .bbs-forum-stat-grid strong,
.bbs-theme-dark .bbs-forum-empty strong {
  color: #eef4ff;
}

.bbs-theme-dark .bbs-forum-brief,
.bbs-theme-dark .bbs-forum-kicker,
.bbs-theme-dark .bbs-forum-kicker em,
.bbs-theme-dark .bbs-forum-thread-head,
.bbs-theme-dark .bbs-forum-announcement,
.bbs-theme-dark .bbs-forum-stat-grid span,
.bbs-theme-dark .bbs-forum-empty span,
.bbs-theme-dark .bbs-forum-hot-empty {
  color: #93a4bd;
}

.bbs-theme-dark .bbs-forum-stat-grid div {
  border-right-color: #253149;
}

.bbs-theme-dark .bbs-forum-mod-list a:hover {
  color: #bfdbfe;
  background: #1e3a5f;
}

@media (max-width: 992px) {
  .bbs-forum-hero {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }
  .bbs-forum-hero-side {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }
  .bbs-forum-hero-stats {
    width: 100%;
    min-width: 0;
  }
  .bbs-forum-hero-action {
    width: 100%;
  }
  .bbs-forum-hero-action .btn {
    justify-content: center;
    width: 100%;
  }
  .bbs-forum-right {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 576px) {
  .bbs-forum-hero {
    padding: 1rem;
    border-radius: 16px;
  }
  .bbs-forum-hero:before {
    width: 4px;
  }
  .bbs-forum-hero-main {
    align-items: flex-start;
    padding-left: 0.2rem;
  }
  .bbs-forum-hero-icon {
    width: 58px;
    height: 58px;
    margin-right: 0.78rem;
  }
  .bbs-forum-hero-icon img {
    width: 52px;
    height: 52px;
    border-radius: 13px;
  }
  .bbs-forum-hero h1 {
    font-size: 1.42rem;
  }
  .bbs-forum-brief {
    font-size: 0.86rem;
    -webkit-line-clamp: 3;
  }
  .bbs-forum-hero-stats {
    grid-template-columns: 1fr;
  }
  .bbs-forum-hero-stats div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid #edf1f6;
  }
  .bbs-forum-hero-stats div:last-child {
    border-bottom: 0;
  }
  .bbs-forum-thread-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }
  .bbs-forum-right,
  .bbs-forum-mod-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1200px) {
  #body > .bbs-forum-container {
    width: calc(100% - 48px);
    max-width: 1500px;
  }
  .bbs-forum-page {
    max-width: 1500px;
  }
  .bbs-forum-grid {
    grid-template-columns: 240px minmax(0, 1fr) 330px;
    gap: 22px;
  }
  .bbs-forum-hero {
    margin-bottom: 28px;
    padding: 1.55rem 1.75rem;
  }
  .bbs-forum-hero h1 {
    font-size: 2rem;
  }
  .bbs-forum-brief {
    max-width: 840px;
    font-size: 0.98rem;
  }
}

@media (min-width: 1440px) {
  #body > .bbs-forum-container {
    max-width: 1620px;
  }
  .bbs-forum-page {
    max-width: 1620px;
  }
  .bbs-forum-grid {
    grid-template-columns: 260px minmax(0, 1fr) 360px;
    gap: 26px;
  }
}


@media (min-width: 1200px) {
  .bbs-feed-hot-list li {
    min-height: 36px;
  }
  .bbs-feed-hot-list a {
    font-size: 0.96rem;
  }
  .bbs-feed-hot-list li span {
    width: 22px;
    height: 22px;
    margin-right: 12px;
    font-size: 0.8rem;
  }
}

.bbs-rank-pro-page {
  display: block;
  max-width: 1500px;
  margin: 0 auto;
}

.bbs-rank-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 210px;
  margin-bottom: 18px;
  padding: 2rem 2.2rem;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 28px;
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.26), transparent 24%), radial-gradient(circle at 84% 18%, rgba(6, 182, 212, 0.38), transparent 28%), linear-gradient(135deg, #2563eb 0%, #7c3aed 54%, #0891b2 100%);
  box-shadow: 0 28px 70px rgba(59, 130, 246, 0.26);
}

.bbs-rank-hero:before {
  position: absolute;
  inset: auto -8% -45% auto;
  width: 420px;
  height: 420px;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.bbs-rank-hero-main,
.bbs-rank-hero-filter {
  position: relative;
  z-index: 1;
}

.bbs-rank-kicker,
.bbs-rank-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 900;
}

.bbs-rank-kicker {
  margin-bottom: 0.9rem;
  padding: 0.42rem 0.72rem;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.bbs-rank-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.bbs-rank-hero p {
  max-width: 680px;
  margin: 0.82rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 700;
}

.bbs-rank-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.bbs-rank-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  min-height: 34px;
  padding: 0 0.78rem;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 850;
}

.bbs-rank-hero-filter {
  flex: 0 0 auto;
}

.bbs-rank-hero-filter .bbs-rank-filter {
  min-height: 46px;
  padding: 0 1rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 30px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.bbs-rank-pro-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.72rem;
  margin-bottom: 18px;
  padding: 0.78rem;
  border-radius: 22px;
}

.bbs-rank-pro-nav .bbs-rank-nav-item {
  justify-content: center;
  min-height: 52px;
  margin-bottom: 0;
  padding: 0.78rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 0.9rem;
}

.bbs-rank-pro-nav .bbs-rank-nav-item i {
  width: auto;
  margin-right: 0.45rem;
  font-size: 1rem;
}

.bbs-rank-pro-nav .bbs-rank-nav-item.active {
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.22);
}

.bbs-rank-pro-nav .bbs-rank-nav-item.active i,
.bbs-rank-pro-nav .bbs-rank-nav-item.active em {
  color: #fff;
}

.bbs-rank-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: flex-start;
}

.bbs-rank-content .bbs-rank-right {
  position: sticky;
  top: 88px;
}

.bbs-rank-board {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
}

.bbs-rank-head,
.bbs-rank-table-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin: 0;
  padding: 1.45rem 1.65rem;
}

.bbs-rank-section-label {
  margin-bottom: 0.46rem;
  color: #3b82f6;
}

.bbs-rank-head h2,
.bbs-rank-table-title h2 {
  margin: 0;
  color: #17243a;
  font-size: 1.38rem;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.bbs-rank-head p {
  margin: 0.45rem 0 0;
  color: #7b8798;
  font-size: 0.86rem;
  line-height: 1.6;
}

.bbs-rank-podium {
  gap: 18px;
  align-items: stretch;
  margin: 0;
  padding: 0 1.65rem 1.65rem;
}

.bbs-rank-podium-item {
  min-height: 286px;
  padding: 1.15rem 1rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(63, 91, 135, 0.12);
}

.bbs-rank-podium-item.rank-1 {
  min-height: 318px;
  transform: translateY(-12px);
  background: radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.72), transparent 28%), linear-gradient(180deg, #fff2d9 0%, #fffaf0 100%);
}

.bbs-rank-podium-item.rank-2 {
  background: radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.72), transparent 28%), linear-gradient(180deg, #e7f4ff 0%, #f8fcff 100%);
}

.bbs-rank-podium-item.rank-3 {
  background: radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.72), transparent 28%), linear-gradient(180deg, #ffe8d8 0%, #fff7ef 100%);
}

.bbs-rank-no {
  align-self: flex-start;
  padding: 0.22rem 0.58rem;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.bbs-rank-podium-item.rank-1 .bbs-rank-no {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.bbs-rank-podium-item.rank-3 .bbs-rank-no {
  background: linear-gradient(135deg, #fb7185, #f97316);
}

.bbs-rank-crown-slot {
  margin-top: 0.3rem;
}

.bbs-rank-avatar-wrap a {
  display: inline-flex;
}

.bbs-rank-podium-item a img {
  width: 96px;
  height: 96px;
}

.bbs-rank-podium-item.rank-1 a img {
  width: 110px;
  height: 110px;
}

.bbs-rank-podium-item strong {
  max-width: 100%;
  margin-top: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-rank-podium-item em {
  margin-top: 1rem;
  padding: 0.5rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(63, 91, 135, 0.08);
  line-height: 1;
}

.bbs-rank-table-card {
  margin: 0 1.65rem 1.65rem;
  overflow: hidden;
  border: 1px solid rgba(226, 235, 248, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
}

.bbs-rank-table-title {
  align-items: center;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(226, 235, 248, 0.82);
}

.bbs-rank-table-title strong {
  color: #3b82f6;
  font-size: 0.82rem;
  font-weight: 950;
}

.bbs-rank-row {
  grid-template-columns: 72px minmax(0, 1fr) 150px;
  min-height: 66px;
  padding: 0 1.25rem;
  border-top: 1px solid rgba(226, 235, 248, 0.74);
}

.bbs-rank-row-head {
  min-height: 42px;
  color: #94a3b8;
  background: rgba(248, 251, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 950;
}

.bbs-rank-row:not(.bbs-rank-row-head):hover {
  background: rgba(239, 246, 255, 0.72);
}

.bbs-rank-row > span:first-child {
  color: #64748b;
  font-size: 0.94rem;
  font-weight: 950;
}

.bbs-rank-row img {
  width: 38px;
  height: 38px;
  margin-right: 0.72rem;
  box-shadow: 0 8px 18px rgba(63, 91, 135, 0.12);
}

.bbs-rank-row strong {
  max-width: 260px;
  color: #26364f;
  font-size: 0.94rem;
  font-weight: 900;
}

.bbs-rank-row span:last-child {
  color: #2563eb;
  font-size: 0.9rem;
  font-weight: 950;
}

.bbs-rank-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bbs-rank-right .bbs-rank-banner,
.bbs-rank-right .bbs-rank-side-card,
.bbs-rank-right .bbs-rank-join-card {
  margin-bottom: 0;
  border-radius: 22px;
}

.bbs-rank-banner {
  min-height: 148px;
  padding: 1.4rem;
  background: radial-gradient(circle at 86% 22%, rgba(255, 255, 255, 0.28), transparent 22%), linear-gradient(135deg, #0f766e, #2563eb 58%, #7c3aed);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.22);
}

.bbs-rank-banner strong {
  max-width: none;
  font-size: 1.12rem;
}

.bbs-rank-banner span {
  max-width: none;
}

.bbs-rank-rule-tip-card {
  padding: 0.85rem;
}

.bbs-rank-rule-tip-card .bbs-rank-rule-tip {
  margin-top: 0;
}

.bbs-rank-side-card {
  padding: 1.1rem;
}

.bbs-rank-side-card h3 {
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.bbs-rank-side-card a,
.bbs-rank-rule-row {
  min-height: 44px;
  padding: 0.2rem 0;
}

.bbs-rank-side-card a img {
  width: 34px;
  height: 34px;
}

html.bbs-theme-dark .bbs-rank-hero {
  border-color: rgba(147, 197, 253, 0.24);
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.13), transparent 24%), radial-gradient(circle at 84% 18%, rgba(6, 182, 212, 0.22), transparent 28%), linear-gradient(135deg, #1d4ed8 0%, #6d28d9 54%, #0e7490 100%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

html.bbs-theme-dark .bbs-rank-head h2,
html.bbs-theme-dark .bbs-rank-table-title h2,
html.bbs-theme-dark .bbs-rank-row strong {
  color: #eef6ff;
}

html.bbs-theme-dark .bbs-rank-head p,
html.bbs-theme-dark .bbs-rank-row > span:first-child {
  color: #9fb0c8;
}

html.bbs-theme-dark .bbs-rank-table-card {
  border-color: rgba(90, 116, 154, 0.32);
  background: rgba(9, 17, 30, 0.46);
}

html.bbs-theme-dark .bbs-rank-table-title,
html.bbs-theme-dark .bbs-rank-row {
  border-color: rgba(90, 116, 154, 0.26);
}

html.bbs-theme-dark .bbs-rank-row-head {
  color: #93a4bd;
  background: rgba(15, 23, 42, 0.58);
}

html.bbs-theme-dark .bbs-rank-row:not(.bbs-rank-row-head):hover {
  background: rgba(30, 41, 59, 0.72);
}

html.bbs-theme-dark .bbs-rank-podium-item.rank-1 {
  background: radial-gradient(circle at 50% 8%, rgba(251, 191, 36, 0.2), transparent 28%), linear-gradient(180deg, rgba(146, 64, 14, 0.36), rgba(15, 23, 42, 0.72));
}

html.bbs-theme-dark .bbs-rank-podium-item.rank-2 {
  background: radial-gradient(circle at 50% 8%, rgba(147, 197, 253, 0.2), transparent 28%), linear-gradient(180deg, rgba(30, 64, 175, 0.32), rgba(15, 23, 42, 0.72));
}

html.bbs-theme-dark .bbs-rank-podium-item.rank-3 {
  background: radial-gradient(circle at 50% 8%, rgba(251, 113, 133, 0.18), transparent 28%), linear-gradient(180deg, rgba(154, 52, 18, 0.32), rgba(15, 23, 42, 0.72));
}

html.bbs-theme-dark .bbs-rank-podium-item em {
  background: rgba(15, 23, 42, 0.58);
}

@media (max-width: 1199.98px) {
  .bbs-rank-content {
    grid-template-columns: 1fr;
  }
  .bbs-rank-content .bbs-rank-right {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .bbs-rank-hero {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 1.45rem;
  }
  .bbs-rank-pro-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bbs-rank-podium {
    grid-template-columns: 1fr;
  }
  .bbs-rank-podium-item.rank-1 {
    transform: none;
  }
  .bbs-rank-content .bbs-rank-right {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .bbs-rank-pro-page {
    max-width: 100%;
  }
  .bbs-rank-hero,
  .bbs-rank-board,
  .bbs-rank-pro-nav {
    border-radius: 18px;
  }
  .bbs-rank-pro-nav {
    grid-template-columns: 1fr;
  }
  .bbs-rank-head,
  .bbs-rank-table-title {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.1rem;
  }
  .bbs-rank-podium {
    padding: 0 1.1rem 1.1rem;
  }
  .bbs-rank-table-card {
    margin: 0 1.1rem 1.1rem;
  }
  .bbs-rank-row {
    grid-template-columns: 48px minmax(0, 1fr) 92px;
    min-height: 62px;
    padding: 0 0.8rem;
  }
  .bbs-rank-row em {
    display: none;
  }
  .bbs-rank-row strong {
    max-width: 120px;
  }
}

html:not(.bbs-theme-dark) {
  --bbs-brand-start: #3b82f6;
  --bbs-brand-mid: #8b5cf6;
  --bbs-brand-end: #06b6d4;
  --bbs-soft-bg: #f4f8ff;
  --bbs-soft-card: rgba(255, 255, 255, 0.78);
  --bbs-soft-card-strong: rgba(255, 255, 255, 0.92);
  --bbs-soft-border: rgba(214, 226, 244, 0.72);
  --bbs-soft-shadow: 0 20px 50px rgba(63, 91, 135, 0.1);
  --bbs-soft-shadow-hover: 0 26px 64px rgba(63, 91, 135, 0.15);
}

html:not(.bbs-theme-dark) body {
  background: radial-gradient(circle at 12% 8%, rgba(59, 130, 246, 0.14), transparent 28rem), radial-gradient(circle at 86% 4%, rgba(139, 92, 246, 0.13), transparent 26rem), radial-gradient(circle at 74% 82%, rgba(6, 182, 212, 0.1), transparent 30rem), linear-gradient(180deg, #f8fbff 0%, #eef5ff 48%, #f7fbff 100%);
  color: #26364f;
}

html:not(.bbs-theme-dark) .bbs-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
  backdrop-filter: blur(22px) saturate(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

html:not(.bbs-theme-dark) .bbs-topbar-shell {
  min-height: 68px;
  padding: 0 0.35rem;
}

html:not(.bbs-theme-dark) .bbs-topbar-logo {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

html:not(.bbs-theme-dark) .bbs-topbar-brand-main strong,
html:not(.bbs-theme-dark) .card-thread h1,
html:not(.bbs-theme-dark) .card-thread h4,
html:not(.bbs-theme-dark) .bbs-feed-card-body h2 a,
html:not(.bbs-theme-dark) .bbs-recommend-body h1,
html:not(.bbs-theme-dark) .bbs-side-card-head strong,
html:not(.bbs-theme-dark) .bbs-forum-hero h1,
html:not(.bbs-theme-dark) .bbs-rank-head h1 {
  color: #17243a;
}

html:not(.bbs-theme-dark) .bbs-topbar .navbar-nav .nav-link {
  border-radius: 999px;
  color: #607089;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

html:not(.bbs-theme-dark) .bbs-topbar .navbar-nav .nav-link:hover,
html:not(.bbs-theme-dark) .bbs-topbar .navbar-nav .nav-link:focus,
html:not(.bbs-theme-dark) .bbs-topbar .navbar-nav .active > .nav-link {
  color: #1d4ed8;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 10px 24px rgba(59, 130, 246, 0.12);
  transform: translateY(-1px);
}

html:not(.bbs-theme-dark) .bbs-topbar-login,
html:not(.bbs-theme-dark) .bbs-topbar-usernav .nav-link[href*="user-logout"] {
  background: rgba(255, 255, 255, 0.48);
}

html:not(.bbs-theme-dark) .bbs-topbar-icon-btn,
html:not(.bbs-theme-dark) .bbs-topbar-toggler {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: linear-gradient(135deg, var(--bbs-brand-start), var(--bbs-brand-mid));
  box-shadow: 0 12px 26px rgba(59, 130, 246, 0.24);
}

html:not(.bbs-theme-dark) .card,
html:not(.bbs-theme-dark) .breadcrumb,
html:not(.bbs-theme-dark) .bbs-footer-inner,
html:not(.bbs-theme-dark) .bbs-feed-left-card,
html:not(.bbs-theme-dark) .bbs-feed-side-card,
html:not(.bbs-theme-dark) .bbs-side-card,
html:not(.bbs-theme-dark) .bbs-feed-card,
html:not(.bbs-theme-dark) .bbs-recommend-card,
html:not(.bbs-theme-dark) .bbs-feed-tabs,
html:not(.bbs-theme-dark) .bbs-rank-nav-card,
html:not(.bbs-theme-dark) .bbs-rank-board,
html:not(.bbs-theme-dark) .bbs-rank-side-card,
html:not(.bbs-theme-dark) .bbs-rank-closed-card,
html:not(.bbs-theme-dark) .bbs-forum-hero,
html:not(.bbs-theme-dark) .bbs-forum-stat-grid,
html:not(.bbs-theme-dark) .bbs-checkin-card,
html:not(.bbs-theme-dark) .bbs-level-progress-card,
html:not(.bbs-theme-dark) .bbs-user-currency-grid div,
html:not(.bbs-theme-dark) .bbs-thread-neighbor-card,
html:not(.bbs-theme-dark) .bbs-md-editor,
html:not(.bbs-theme-dark) .modal-content,
html:not(.bbs-theme-dark) .dropdown-menu {
  border-color: var(--bbs-soft-border);
  background: var(--bbs-soft-card);
  box-shadow: var(--bbs-soft-shadow);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

html:not(.bbs-theme-dark) .card,
html:not(.bbs-theme-dark) .bbs-side-card,
html:not(.bbs-theme-dark) .bbs-feed-side-card,
html:not(.bbs-theme-dark) .bbs-feed-card,
html:not(.bbs-theme-dark) .bbs-recommend-card,
html:not(.bbs-theme-dark) .bbs-rank-board,
html:not(.bbs-theme-dark) .bbs-forum-hero,
html:not(.bbs-theme-dark) .bbs-checkin-card {
  border-radius: 22px;
}

html:not(.bbs-theme-dark) .card > .card-header,
html:not(.bbs-theme-dark) .card > .card-footer,
html:not(.bbs-theme-dark) .bbs-md-toolbar,
html:not(.bbs-theme-dark) .bbs-md-toolbar-secondary,
html:not(.bbs-theme-dark) .bbs-md-tips {
  border-color: rgba(226, 235, 248, 0.72);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(241, 247, 255, 0.66));
}

html:not(.bbs-theme-dark) .bbs-feed-card,
html:not(.bbs-theme-dark) .bbs-recommend-card,
html:not(.bbs-theme-dark) .bbs-side-card,
html:not(.bbs-theme-dark) .bbs-feed-side-card,
html:not(.bbs-theme-dark) .bbs-rank-podium-item,
html:not(.bbs-theme-dark) .bbs-thread-neighbor-card,
html:not(.bbs-theme-dark) .bbs-user-currency-grid div {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

html:not(.bbs-theme-dark) .bbs-feed-card:hover,
html:not(.bbs-theme-dark) .bbs-recommend-card:hover,
html:not(.bbs-theme-dark) .bbs-side-card:hover,
html:not(.bbs-theme-dark) .bbs-feed-side-card:hover,
html:not(.bbs-theme-dark) .bbs-thread-neighbor-card:hover,
html:not(.bbs-theme-dark) .bbs-user-currency-grid div:hover {
  border-color: rgba(147, 197, 253, 0.56);
  background: var(--bbs-soft-card-strong);
  box-shadow: var(--bbs-soft-shadow-hover);
  transform: translateY(-2px);
}

html:not(.bbs-theme-dark) .btn-primary,
html:not(.bbs-theme-dark) .btn-success,
html:not(.bbs-theme-dark) .bbs-feed-left-action a,
html:not(.bbs-theme-dark) .bbs-readmore-btn,
html:not(.bbs-theme-dark) .bbs-forum-profile-action,
html:not(.bbs-theme-dark) .bbs-forum-hero-action .btn,
html:not(.bbs-theme-dark) .bbs-checkin-action .btn-primary,
html:not(.bbs-theme-dark) .bbs-checkin-action .btn-success,
html:not(.bbs-theme-dark) .page-item.active .page-link,
html:not(.bbs-theme-dark) .card-header-tabs > .nav-item > .nav-link.active {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, var(--bbs-brand-start) 0%, var(--bbs-brand-mid) 54%, var(--bbs-brand-end) 100%);
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

html:not(.bbs-theme-dark) .btn-primary:hover,
html:not(.bbs-theme-dark) .btn-primary:focus,
html:not(.bbs-theme-dark) .btn-success:hover,
html:not(.bbs-theme-dark) .btn-success:focus,
html:not(.bbs-theme-dark) .bbs-feed-left-action a:hover,
html:not(.bbs-theme-dark) .bbs-readmore-btn:hover,
html:not(.bbs-theme-dark) .bbs-readmore-btn:focus,
html:not(.bbs-theme-dark) .bbs-forum-profile-action:hover,
html:not(.bbs-theme-dark) .bbs-forum-hero-action .btn:hover,
html:not(.bbs-theme-dark) .bbs-checkin-action .btn-primary:hover,
html:not(.bbs-theme-dark) .bbs-checkin-action .btn-primary:focus,
html:not(.bbs-theme-dark) .bbs-checkin-action .btn-success:hover,
html:not(.bbs-theme-dark) .bbs-checkin-action .btn-success:focus,
html:not(.bbs-theme-dark) .page-item.active .page-link:hover,
html:not(.bbs-theme-dark) .card-header-tabs > .nav-item > .nav-link.active:hover {
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 54%, #0891b2 100%);
  box-shadow: 0 18px 38px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

html:not(.bbs-theme-dark) .btn-secondary,
html:not(.bbs-theme-dark) .page-link,
html:not(.bbs-theme-dark) .bbs-feed-tag,
html:not(.bbs-theme-dark) .bbs-side-tag-list span,
html:not(.bbs-theme-dark) .bbs-user-currency-mini span,
html:not(.bbs-theme-dark) .bbs-user-level-mini,
html:not(.bbs-theme-dark) .bbs-rank-filter,
html:not(.bbs-theme-dark) .bbs-side-tabs {
  border-color: rgba(214, 226, 244, 0.7);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68), 0 8px 20px rgba(63, 91, 135, 0.05);
}

html:not(.bbs-theme-dark) .form-control,
html:not(.bbs-theme-dark) .custom-select,
html:not(.bbs-theme-dark) .bbs-md-toolbar button,
html:not(.bbs-theme-dark) .bbs-md-emoji-panel button {
  border-color: rgba(205, 219, 239, 0.88);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html:not(.bbs-theme-dark) .form-control:focus,
html:not(.bbs-theme-dark) .custom-select:focus {
  border-color: rgba(59, 130, 246, 0.72);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 0.18rem rgba(59, 130, 246, 0.13), 0 10px 28px rgba(63, 91, 135, 0.08);
}

html:not(.bbs-theme-dark) .bbs-feed-left,
html:not(.bbs-theme-dark) .bbs-feed-right,
html:not(.bbs-theme-dark) .bbs-rank-left,
html:not(.bbs-theme-dark) .bbs-rank-right,
html:not(.bbs-theme-dark) .bbs-thread-aside {
  top: 88px;
}

html:not(.bbs-theme-dark) .bbs-thread-quickbar-btn {
  color: #52708f;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 34px rgba(63, 91, 135, 0.14);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
}

html:not(.bbs-theme-dark) .bbs-thread-quickbar-btn:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--bbs-brand-start), var(--bbs-brand-mid));
  box-shadow: 0 20px 42px rgba(59, 130, 246, 0.28);
}

html:not(.bbs-theme-dark) .bbs-thread-wechat-pop {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.94), rgba(139, 92, 246, 0.94));
  box-shadow: 0 22px 48px rgba(59, 130, 246, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

html:not(.bbs-theme-dark) .bbs-thread-wechat-pop:after {
  border-left-color: rgba(96, 95, 239, 0.94);
}

html:not(.bbs-theme-dark) .bbs-feed-preview,
html:not(.bbs-theme-dark) .bbs-recommend-cover,
html:not(.bbs-theme-dark) .bbs-profile-cover,
html:not(.bbs-theme-dark) .bbs-rank-join-card {
  background-image: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.38), transparent 24%), linear-gradient(135deg, var(--bbs-brand-start) 0%, var(--bbs-brand-mid) 52%, var(--bbs-brand-end) 100%);
}

html:not(.bbs-theme-dark) .bbs-feed-left-item:hover,
html:not(.bbs-theme-dark) .bbs-feed-left-item.active,
html:not(.bbs-theme-dark) .bbs-rank-nav-item:hover,
html:not(.bbs-theme-dark) .bbs-rank-nav-item.active,
html:not(.bbs-theme-dark) .bbs-side-tabs a:hover,
html:not(.bbs-theme-dark) .bbs-side-tabs a.active,
html:not(.bbs-theme-dark) .dropdown-item:hover,
html:not(.bbs-theme-dark) .dropdown-item:focus {
  color: #2563eb;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.1);
}

html:not(.bbs-theme-dark) .bbs-checkin-action .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  color: #fff !important;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.22);
}

html:not(.bbs-theme-dark) .bbs-checkin-action .btn-primary,
html:not(.bbs-theme-dark) .bbs-checkin-action .btn-success {
  border: 0 !important;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 54%, #0891b2 100%) !important;
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.26) !important;
}

html:not(.bbs-theme-dark) .bbs-checkin-action .btn-primary:hover,
html:not(.bbs-theme-dark) .bbs-checkin-action .btn-primary:focus,
html:not(.bbs-theme-dark) .bbs-checkin-action .btn-success:hover,
html:not(.bbs-theme-dark) .bbs-checkin-action .btn-success:focus {
  color: #fff !important;
  background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 54%, #0e7490 100%) !important;
  box-shadow: 0 18px 38px rgba(59, 130, 246, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

html:not(.bbs-theme-dark) .bbs-checkin-action .btn-secondary,
html:not(.bbs-theme-dark) .bbs-checkin-action .btn:disabled {
  color: #55708f !important;
  border: 1px solid rgba(205, 219, 239, 0.9) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 10px 24px rgba(63, 91, 135, 0.08) !important;
  text-shadow: none;
  opacity: 1;
}

@media (max-width: 992px) {
  html:not(.bbs-theme-dark) .bbs-topbar-shell {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }
  html:not(.bbs-theme-dark) .bbs-topbar-collapse {
    border-top-color: transparent;
    background: rgba(255, 255, 255, 0.54);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

html.bbs-theme-dark {
  --bbs-dark-brand-start: #3b82f6;
  --bbs-dark-brand-mid: #8b5cf6;
  --bbs-dark-brand-end: #06b6d4;
  --bbs-dark-card: rgba(17, 25, 40, 0.76);
  --bbs-dark-card-strong: rgba(22, 33, 52, 0.9);
  --bbs-dark-border: rgba(90, 116, 154, 0.34);
  --bbs-dark-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
  --bbs-dark-shadow-hover: 0 28px 68px rgba(0, 0, 0, 0.42);
}

html.bbs-theme-dark body {
  background: radial-gradient(circle at 14% 4%, rgba(59, 130, 246, 0.22), transparent 30rem), radial-gradient(circle at 86% 8%, rgba(139, 92, 246, 0.2), transparent 28rem), radial-gradient(circle at 78% 86%, rgba(6, 182, 212, 0.12), transparent 32rem), linear-gradient(180deg, #07111f 0%, #0b1424 48%, #08111f 100%);
  color: #dce7f7;
}

html.bbs-theme-dark .bbs-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 0;
  background: rgba(9, 17, 30, 0.62);
  box-shadow: none;
  backdrop-filter: blur(24px) saturate(1.16);
  -webkit-backdrop-filter: blur(24px) saturate(1.16);
}

html.bbs-theme-dark .bbs-topbar-shell {
  min-height: 68px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

html.bbs-theme-dark .bbs-topbar-logo {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

html.bbs-theme-dark .bbs-topbar-brand-main strong,
html.bbs-theme-dark .card-thread h1,
html.bbs-theme-dark .card-thread h4,
html.bbs-theme-dark .bbs-feed-card-body h2 a,
html.bbs-theme-dark .bbs-recommend-body h1,
html.bbs-theme-dark .bbs-side-card-head strong,
html.bbs-theme-dark .bbs-forum-hero h1,
html.bbs-theme-dark .bbs-rank-head h1,
html.bbs-theme-dark .bbs-thread-neighbor-card span,
html.bbs-theme-dark .bbs-thread-neighbor-card.empty span,
html.bbs-theme-dark .bbs-thread-neighbor-card.empty strong {
  color: #eef6ff;
}

html.bbs-theme-dark .bbs-topbar .navbar-nav .nav-link {
  border-radius: 999px;
  color: #aebed4;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

html.bbs-theme-dark .bbs-topbar .navbar-nav .nav-link:hover,
html.bbs-theme-dark .bbs-topbar .navbar-nav .nav-link:focus,
html.bbs-theme-dark .bbs-topbar .navbar-nav .active > .nav-link {
  color: #dbeafe;
  background: rgba(30, 41, 59, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 28px rgba(59, 130, 246, 0.16);
  transform: translateY(-1px);
}

html.bbs-theme-dark .bbs-topbar-login,
html.bbs-theme-dark .bbs-topbar-usernav .nav-link[href*="user-logout"] {
  background: rgba(15, 23, 42, 0.44) !important;
}

html.bbs-theme-dark .bbs-topbar-icon-btn,
html.bbs-theme-dark .bbs-topbar-toggler {
  color: #fff;
  border-color: rgba(147, 197, 253, 0.24);
  background: linear-gradient(135deg, var(--bbs-dark-brand-start), var(--bbs-dark-brand-mid));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

html.bbs-theme-dark .card,
html.bbs-theme-dark .breadcrumb,
html.bbs-theme-dark .bbs-footer-inner,
html.bbs-theme-dark .bbs-feed-left-card,
html.bbs-theme-dark .bbs-feed-side-card,
html.bbs-theme-dark .bbs-side-card,
html.bbs-theme-dark .bbs-feed-card,
html.bbs-theme-dark .bbs-recommend-card,
html.bbs-theme-dark .bbs-feed-tabs,
html.bbs-theme-dark .bbs-rank-nav-card,
html.bbs-theme-dark .bbs-rank-board,
html.bbs-theme-dark .bbs-rank-side-card,
html.bbs-theme-dark .bbs-rank-closed-card,
html.bbs-theme-dark .bbs-forum-hero,
html.bbs-theme-dark .bbs-forum-stat-grid,
html.bbs-theme-dark .bbs-checkin-card,
html.bbs-theme-dark .bbs-level-progress-card,
html.bbs-theme-dark .bbs-user-currency-grid div,
html.bbs-theme-dark .bbs-thread-neighbor-card,
html.bbs-theme-dark .bbs-md-editor,
html.bbs-theme-dark .modal-content,
html.bbs-theme-dark .dropdown-menu {
  color: #dce7f7;
  border-color: var(--bbs-dark-border);
  background: var(--bbs-dark-card);
  box-shadow: var(--bbs-dark-shadow);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

html.bbs-theme-dark .card,
html.bbs-theme-dark .bbs-side-card,
html.bbs-theme-dark .bbs-feed-side-card,
html.bbs-theme-dark .bbs-feed-card,
html.bbs-theme-dark .bbs-recommend-card,
html.bbs-theme-dark .bbs-rank-board,
html.bbs-theme-dark .bbs-forum-hero,
html.bbs-theme-dark .bbs-checkin-card,
html.bbs-theme-dark .bbs-thread-neighbor-card {
  border-radius: 22px;
}

html.bbs-theme-dark .card > .card-header,
html.bbs-theme-dark .card > .card-footer,
html.bbs-theme-dark .bbs-md-toolbar,
html.bbs-theme-dark .bbs-md-toolbar-secondary,
html.bbs-theme-dark .bbs-md-tips {
  border-color: rgba(90, 116, 154, 0.28);
  background: linear-gradient(135deg, rgba(22, 33, 52, 0.82), rgba(10, 19, 34, 0.78));
}

html.bbs-theme-dark .bbs-feed-card,
html.bbs-theme-dark .bbs-recommend-card,
html.bbs-theme-dark .bbs-side-card,
html.bbs-theme-dark .bbs-feed-side-card,
html.bbs-theme-dark .bbs-rank-podium-item,
html.bbs-theme-dark .bbs-thread-neighbor-card,
html.bbs-theme-dark .bbs-user-currency-grid div {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

html.bbs-theme-dark .bbs-feed-card:hover,
html.bbs-theme-dark .bbs-recommend-card:hover,
html.bbs-theme-dark .bbs-side-card:hover,
html.bbs-theme-dark .bbs-feed-side-card:hover,
html.bbs-theme-dark .bbs-thread-neighbor-card:hover,
html.bbs-theme-dark .bbs-user-currency-grid div:hover {
  border-color: rgba(96, 165, 250, 0.42);
  background: var(--bbs-dark-card-strong);
  box-shadow: var(--bbs-dark-shadow-hover);
  transform: translateY(-2px);
}

html.bbs-theme-dark .bbs-thread-neighbor-card strong {
  color: #8ab4ff;
}

html.bbs-theme-dark .bbs-thread-neighbor-card:hover strong,
html.bbs-theme-dark .bbs-thread-neighbor-card:hover span {
  color: #bfdbfe;
}

html.bbs-theme-dark .bbs-thread-neighbor-card.empty {
  background: rgba(15, 23, 42, 0.58);
  box-shadow: none;
}

html.bbs-theme-dark .btn-primary,
html.bbs-theme-dark .btn-success,
html.bbs-theme-dark .bbs-feed-left-action a,
html.bbs-theme-dark .bbs-readmore-btn,
html.bbs-theme-dark .bbs-forum-profile-action,
html.bbs-theme-dark .bbs-forum-hero-action .btn,
html.bbs-theme-dark .bbs-checkin-action .btn-primary,
html.bbs-theme-dark .bbs-checkin-action .btn-success,
html.bbs-theme-dark .page-item.active .page-link,
html.bbs-theme-dark .card-header-tabs > .nav-item > .nav-link.active {
  color: #fff !important;
  border: 0;
  background: linear-gradient(135deg, var(--bbs-dark-brand-start) 0%, var(--bbs-dark-brand-mid) 54%, var(--bbs-dark-brand-end) 100%) !important;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  text-shadow: 0 1px 2px rgba(5, 10, 20, 0.32);
}

html.bbs-theme-dark .btn-primary:hover,
html.bbs-theme-dark .btn-primary:focus,
html.bbs-theme-dark .btn-success:hover,
html.bbs-theme-dark .btn-success:focus,
html.bbs-theme-dark .bbs-feed-left-action a:hover,
html.bbs-theme-dark .bbs-readmore-btn:hover,
html.bbs-theme-dark .bbs-readmore-btn:focus,
html.bbs-theme-dark .bbs-forum-profile-action:hover,
html.bbs-theme-dark .bbs-forum-hero-action .btn:hover,
html.bbs-theme-dark .bbs-checkin-action .btn-primary:hover,
html.bbs-theme-dark .bbs-checkin-action .btn-primary:focus,
html.bbs-theme-dark .bbs-checkin-action .btn-success:hover,
html.bbs-theme-dark .bbs-checkin-action .btn-success:focus,
html.bbs-theme-dark .page-item.active .page-link:hover,
html.bbs-theme-dark .card-header-tabs > .nav-item > .nav-link.active:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 54%, #0891b2 100%) !important;
  box-shadow: 0 20px 42px rgba(37, 99, 235, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
  transform: translateY(-1px);
}

html.bbs-theme-dark .btn-secondary,
html.bbs-theme-dark .page-link,
html.bbs-theme-dark .bbs-feed-tag,
html.bbs-theme-dark .bbs-side-tag-list span,
html.bbs-theme-dark .bbs-user-currency-mini span,
html.bbs-theme-dark .bbs-user-level-mini,
html.bbs-theme-dark .bbs-rank-filter,
html.bbs-theme-dark .bbs-side-tabs,
html.bbs-theme-dark .bbs-checkin-action .btn-secondary,
html.bbs-theme-dark .bbs-checkin-action .btn:disabled {
  color: #b8c8dc !important;
  border-color: rgba(90, 116, 154, 0.34) !important;
  background: rgba(15, 23, 42, 0.62) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 26px rgba(0, 0, 0, 0.18) !important;
  opacity: 1;
  text-shadow: none;
}

html.bbs-theme-dark .form-control,
html.bbs-theme-dark .custom-select,
html.bbs-theme-dark .bbs-md-toolbar button,
html.bbs-theme-dark .bbs-md-emoji-panel button {
  color: #dce7f7;
  border-color: rgba(90, 116, 154, 0.36);
  background: rgba(9, 17, 30, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html.bbs-theme-dark .form-control:focus,
html.bbs-theme-dark .custom-select:focus {
  color: #f4f8ff;
  border-color: rgba(96, 165, 250, 0.62);
  background: rgba(9, 17, 30, 0.86);
  box-shadow: 0 0 0 0.18rem rgba(59, 130, 246, 0.16), 0 12px 30px rgba(0, 0, 0, 0.22);
}

html.bbs-theme-dark .bbs-feed-left,
html.bbs-theme-dark .bbs-feed-right,
html.bbs-theme-dark .bbs-rank-left,
html.bbs-theme-dark .bbs-rank-right,
html.bbs-theme-dark .bbs-thread-aside {
  top: 88px;
}

html.bbs-theme-dark .bbs-thread-quickbar-btn {
  color: #b8c8dc;
  border: 1px solid rgba(90, 116, 154, 0.32);
  background: rgba(17, 25, 40, 0.76);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
}

html.bbs-theme-dark .bbs-thread-quickbar-btn:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--bbs-dark-brand-start), var(--bbs-dark-brand-mid));
  box-shadow: 0 22px 46px rgba(37, 99, 235, 0.34);
}

.bbs-rank-podium-item:before,
.bbs-rank-podium-item:hover:before {
  display: none;
  opacity: 0;
  transform: none;
}

.bbs-rank-podium-item.rank-1 {
  background: linear-gradient(180deg, #fff2d9 0%, #fffaf0 100%);
}

.bbs-rank-podium-item.rank-2 {
  background: linear-gradient(180deg, #e7f4ff 0%, #f8fcff 100%);
}

.bbs-rank-podium-item.rank-3 {
  background: linear-gradient(180deg, #ffe8d8 0%, #fff7ef 100%);
}

html.bbs-theme-dark .bbs-rank-podium-item.rank-1 {
  background: linear-gradient(180deg, rgba(146, 64, 14, 0.36), rgba(15, 23, 42, 0.72));
}

html.bbs-theme-dark .bbs-rank-podium-item.rank-2 {
  background: linear-gradient(180deg, rgba(30, 64, 175, 0.32), rgba(15, 23, 42, 0.72));
}

html.bbs-theme-dark .bbs-rank-podium-item.rank-3 {
  background: linear-gradient(180deg, rgba(154, 52, 18, 0.32), rgba(15, 23, 42, 0.72));
}

.bbs-feed-card,
.bbs-recommend-card,
.bbs-side-card,
.bbs-feed-side-card,
.bbs-rank-board,
.bbs-rank-side-card,
.bbs-rank-join-card,
.bbs-rank-podium-item,
.bbs-rank-table-card,
.bbs-thread-neighbor-card,
.bbs-forum-hero,
.bbs-checkin-card,
.bbs-user-currency-grid div {
  transform: translate3d(0, 0, 0);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease, filter 0.28s ease;
  will-change: transform;
}

.bbs-feed-card:hover,
.bbs-recommend-card:hover,
.bbs-side-card:hover,
.bbs-feed-side-card:hover,
.bbs-rank-side-card:hover,
.bbs-rank-join-card:hover,
.bbs-rank-table-card:hover,
.bbs-thread-neighbor-card:hover,
.bbs-forum-hero:hover,
.bbs-checkin-card:hover,
.bbs-user-currency-grid div:hover {
  transform: translate3d(0, -3px, 0);
}

.bbs-rank-board:hover {
  transform: translate3d(0, -2px, 0);
}

.bbs-rank-podium-item:hover {
  transform: translate3d(0, -4px, 0);
  filter: saturate(1.03);
}

.bbs-rank-podium-item.rank-1 {
  transform: translate3d(0, -12px, 0);
}

.bbs-rank-podium-item.rank-1:hover {
  transform: translate3d(0, -16px, 0);
}

.bbs-rank-podium-item:before {
  opacity: 0.42;
  transform: translate3d(0, 8px, 0) scale(0.98);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.bbs-rank-podium-item:hover:before {
  opacity: 0.72;
  transform: translate3d(0, 0, 0) scale(1);
}

.bbs-rank-podium-item:hover .bbs-rank-crown-img {
  transform: translate3d(0, -2px, 0) rotate(-3deg) scale(1.08);
}

.bbs-rank-podium-item:hover a img,
.bbs-side-rank-row:hover .bbs-side-rank-trophy {
  transform: translate3d(0, -2px, 0) scale(1.045);
}

.bbs-feed-card:hover,
.bbs-recommend-card:hover,
.bbs-side-card:hover,
.bbs-feed-side-card:hover,
.bbs-rank-board:hover,
.bbs-rank-side-card:hover,
.bbs-rank-join-card:hover,
.bbs-rank-table-card:hover,
.bbs-thread-neighbor-card:hover,
.bbs-forum-hero:hover,
.bbs-checkin-card:hover,
.bbs-user-currency-grid div:hover {
  border-color: rgba(96, 165, 250, 0.48);
}

html:not(.bbs-theme-dark) .bbs-feed-card:hover,
html:not(.bbs-theme-dark) .bbs-recommend-card:hover,
html:not(.bbs-theme-dark) .bbs-side-card:hover,
html:not(.bbs-theme-dark) .bbs-feed-side-card:hover,
html:not(.bbs-theme-dark) .bbs-rank-board:hover,
html:not(.bbs-theme-dark) .bbs-rank-side-card:hover,
html:not(.bbs-theme-dark) .bbs-rank-join-card:hover,
html:not(.bbs-theme-dark) .bbs-rank-table-card:hover,
html:not(.bbs-theme-dark) .bbs-thread-neighbor-card:hover,
html:not(.bbs-theme-dark) .bbs-forum-hero:hover,
html:not(.bbs-theme-dark) .bbs-checkin-card:hover,
html:not(.bbs-theme-dark) .bbs-user-currency-grid div:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 54px rgba(63, 91, 135, 0.13), 0 0 0 1px rgba(255, 255, 255, 0.46) inset;
}

html.bbs-theme-dark .bbs-feed-card:hover,
html.bbs-theme-dark .bbs-recommend-card:hover,
html.bbs-theme-dark .bbs-side-card:hover,
html.bbs-theme-dark .bbs-feed-side-card:hover,
html.bbs-theme-dark .bbs-rank-board:hover,
html.bbs-theme-dark .bbs-rank-side-card:hover,
html.bbs-theme-dark .bbs-rank-join-card:hover,
html.bbs-theme-dark .bbs-rank-table-card:hover,
html.bbs-theme-dark .bbs-thread-neighbor-card:hover,
html.bbs-theme-dark .bbs-forum-hero:hover,
html.bbs-theme-dark .bbs-checkin-card:hover,
html.bbs-theme-dark .bbs-user-currency-grid div:hover {
  background: rgba(22, 33, 52, 0.92);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(147, 197, 253, 0.12) inset;
}

@media (prefers-reduced-motion: reduce) {
  .bbs-feed-card,
  .bbs-recommend-card,
  .bbs-side-card,
  .bbs-feed-side-card,
  .bbs-rank-board,
  .bbs-rank-side-card,
  .bbs-rank-join-card,
  .bbs-rank-podium-item,
  .bbs-rank-table-card,
  .bbs-thread-neighbor-card,
  .bbs-forum-hero,
  .bbs-checkin-card,
  .bbs-user-currency-grid div,
  .bbs-rank-crown-img,
  .bbs-rank-podium-item a img {
    transition: none !important;
    transform: none !important;
  }
}

html.bbs-theme-dark .bbs-thread-wechat-pop {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.94), rgba(124, 58, 237, 0.94));
  box-shadow: 0 24px 54px rgba(37, 99, 235, 0.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

html.bbs-theme-dark .bbs-thread-wechat-pop:after {
  border-left-color: rgba(88, 80, 236, 0.94);
}

html.bbs-theme-dark .bbs-feed-preview,
html.bbs-theme-dark .bbs-recommend-cover,
html.bbs-theme-dark .bbs-profile-cover,
html.bbs-theme-dark .bbs-rank-join-card {
  background-image: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.2), transparent 24%), linear-gradient(135deg, var(--bbs-dark-brand-start) 0%, var(--bbs-dark-brand-mid) 52%, var(--bbs-dark-brand-end) 100%);
}

html.bbs-theme-dark .bbs-feed-left-item:hover,
html.bbs-theme-dark .bbs-feed-left-item.active,
html.bbs-theme-dark .bbs-rank-nav-item:hover,
html.bbs-theme-dark .bbs-rank-nav-item.active,
html.bbs-theme-dark .bbs-side-tabs a:hover,
html.bbs-theme-dark .bbs-side-tabs a.active,
html.bbs-theme-dark .dropdown-item:hover,
html.bbs-theme-dark .dropdown-item:focus {
  color: #dbeafe;
  background: rgba(30, 41, 59, 0.78);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.14);
}

html.bbs-theme-dark .bbs-checkin-action .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

@media (max-width: 992px) {
  html.bbs-theme-dark .bbs-topbar-shell {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }
  html.bbs-theme-dark .bbs-topbar-collapse {
    border-top-color: transparent;
    background: rgba(9, 17, 30, 0.58);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
}

.bbs-rank-podium-item,
.bbs-rank-table-card,
.bbs-rank-side-card,
.bbs-rank-join-card {
  position: relative;
  overflow: hidden;
  transform: translate3d(0, 0, 0) !important;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease, background 0.24s ease !important;
}

.bbs-rank-podium-item.rank-1 {
  transform: translate3d(0, -12px, 0) !important;
}

.bbs-rank-podium-item:before,
.bbs-rank-podium-item:hover:before {
  display: none !important;
}

.bbs-rank-podium-item:after,
.bbs-rank-table-card:after,
.bbs-rank-side-card:after,
.bbs-rank-join-card:after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -42%;
  z-index: 0;
  width: 34%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.16), transparent);
  opacity: 0;
  transform: skewX(-18deg);
}

.bbs-rank-podium-item > *,
.bbs-rank-table-card > *,
.bbs-rank-side-card > *,
.bbs-rank-join-card > * {
  position: relative;
  z-index: 1;
}

.bbs-rank-podium-item:hover,
.bbs-rank-table-card:hover,
.bbs-rank-side-card:hover,
.bbs-rank-join-card:hover {
  transform: translate3d(0, 0, 0) !important;
  border-color: rgba(59, 130, 246, 0.42) !important;
  filter: none !important;
}

.bbs-rank-podium-item.rank-1:hover {
  transform: translate3d(0, -12px, 0) !important;
}

.bbs-rank-podium-item:hover:after,
.bbs-rank-table-card:hover:after,
.bbs-rank-side-card:hover:after,
.bbs-rank-join-card:hover:after {
  animation: bbsRankCardScan 0.86s cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

@keyframes bbsRankCardScan {
  0% {
    left: -42%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    left: 112%;
    opacity: 0;
  }
}

.bbs-rank-podium-item .bbs-rank-no,
.bbs-rank-podium-item .bbs-rank-crown-img,
.bbs-rank-podium-item a img,
.bbs-rank-podium-item em,
.bbs-rank-side-card a,
.bbs-rank-rule-row,
.bbs-rank-row {
  transition: transform 0.26s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.26s ease, color 0.26s ease, background 0.26s ease;
}

.bbs-rank-podium-item:hover .bbs-rank-no {
  transform: translate3d(0, -2px, 0) scale(1.06);
}

.bbs-rank-podium-item:hover .bbs-rank-crown-img {
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1.06) !important;
  animation: bbsRankCrownNod 0.52s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

@keyframes bbsRankCrownNod {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  38% {
    transform: translate3d(0, -3px, 0) rotate(-3deg) scale(1.08);
  }
  72% {
    transform: translate3d(0, 1px, 0) rotate(2deg) scale(1.04);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1.06);
  }
}

.bbs-rank-podium-item:hover a img {
  transform: translate3d(0, 0, 0) scale(1.035) !important;
}

.bbs-rank-podium-item:hover em {
  transform: translate3d(0, -1px, 0) scale(1.04) !important;
}

.bbs-rank-row:hover {
  transform: none !important;
}

.bbs-rank-row:hover > span:first-child {
  color: #3b82f6;
}

.bbs-rank-row:hover img {
  transform: scale(1.04);
}

.bbs-rank-row:hover span:last-child {
  transform: translate3d(-3px, 0, 0);
}

.bbs-rank-side-card a:hover,
.bbs-rank-rule-row:hover {
  transform: translate3d(4px, 0, 0);
}

html:not(.bbs-theme-dark) .bbs-rank-podium-item:hover,
html:not(.bbs-theme-dark) .bbs-rank-table-card:hover,
html:not(.bbs-theme-dark) .bbs-rank-side-card:hover {
  background-color: rgba(255, 255, 255, 0.82) !important;
  box-shadow: 0 16px 38px rgba(63, 91, 135, 0.11), inset 0 0 0 1px rgba(59, 130, 246, 0.16) !important;
}

html.bbs-theme-dark .bbs-rank-podium-item:after,
html.bbs-theme-dark .bbs-rank-table-card:after,
html.bbs-theme-dark .bbs-rank-side-card:after,
html.bbs-theme-dark .bbs-rank-join-card:after {
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.18), transparent);
}

html.bbs-theme-dark .bbs-rank-podium-item:hover,
html.bbs-theme-dark .bbs-rank-table-card:hover,
html.bbs-theme-dark .bbs-rank-side-card:hover {
  background-color: rgba(17, 25, 40, 0.88) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(96, 165, 250, 0.16) !important;
}

@media (prefers-reduced-motion: reduce) {
  .bbs-rank-podium-item:after,
  .bbs-rank-table-card:after,
  .bbs-rank-side-card:after,
  .bbs-rank-join-card:after {
    animation: none !important;
  }
  .bbs-rank-podium-item .bbs-rank-no,
  .bbs-rank-podium-item .bbs-rank-crown-img,
  .bbs-rank-podium-item a img,
  .bbs-rank-podium-item em,
  .bbs-rank-side-card a,
  .bbs-rank-rule-row,
  .bbs-rank-row {
    transition: none !important;
    transform: none !important;
  }
}

html:not(.bbs-theme-dark) .bbs-rank-join-card,
html:not(.bbs-theme-dark) .bbs-rank-join-card:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
  background: radial-gradient(circle at 78% 72%, rgba(255, 255, 255, 0.24), transparent 18%), linear-gradient(135deg, var(--bbs-brand-start) 0%, var(--bbs-brand-mid) 52%, var(--bbs-brand-end) 100%) !important;
  box-shadow: 0 18px 42px rgba(59, 130, 246, 0.24) !important;
}

html.bbs-theme-dark .bbs-rank-join-card,
html.bbs-theme-dark .bbs-rank-join-card:hover {
  color: #fff !important;
  border-color: rgba(147, 197, 253, 0.24) !important;
  background: radial-gradient(circle at 78% 72%, rgba(255, 255, 255, 0.14), transparent 18%), linear-gradient(135deg, var(--bbs-dark-brand-start) 0%, var(--bbs-dark-brand-mid) 52%, var(--bbs-dark-brand-end) 100%) !important;
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.3) !important;
}

.bbs-rank-join-card strong,
.bbs-rank-join-card:hover strong {
  color: #fff !important;
}

.bbs-rank-join-card span,
.bbs-rank-join-card:hover span {
  color: rgba(255, 255, 255, 0.82) !important;
}

.bbs-rank-join-card > i,
.bbs-rank-join-card:hover > i {
  color: rgba(255, 255, 255, 0.34) !important;
}

.bbs-rank-join-card a,
.bbs-rank-join-card:hover a {
  color: #4f46e5 !important;
  background: #fff !important;
}

.bbs-rank-join-card a:hover {
  color: #2563eb !important;
  text-decoration: none;
}

.bbs-rank-editorial-page {
  display: block;
  grid-template-columns: none;
  gap: 0;
  align-items: initial;
  max-width: 1500px;
  margin: 0 auto;
  color: #26364f;
}

.bbs-rank-ed-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.4rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.bbs-rank-ed-title > span,
.bbs-rank-ed-index-title,
.bbs-rank-ed-section-head > div > span,
.bbs-rank-ed-brief > span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bbs-rank-ed-title h1 {
  margin: 0.55rem 0 0;
  color: #17243a;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.085em;
}

.bbs-rank-ed-title p {
  max-width: 620px;
  margin: 0.95rem 0 0;
  color: #667386;
  font-size: 0.98rem;
  line-height: 1.85;
}

.bbs-rank-ed-tools {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.bbs-rank-ed-tools .bbs-rank-filter {
  min-height: 42px;
  border-radius: 0;
  background: transparent;
  border-bottom: 2px solid #3b82f6;
  box-shadow: none;
}

.bbs-rank-ed-meta {
  min-width: 116px;
  padding: 0.75rem 0.9rem;
  border-left: 1px solid rgba(148, 163, 184, 0.24);
}

.bbs-rank-ed-meta span,
.bbs-rank-ed-meta strong {
  display: block;
}

.bbs-rank-ed-meta span {
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 900;
}

.bbs-rank-ed-meta strong {
  margin-top: 0.2rem;
  color: #2563eb;
  font-size: 1rem;
  font-weight: 950;
}

.bbs-rank-ed-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 300px;
  gap: 1.25rem;
  align-items: start;
}

.bbs-rank-ed-index,
.bbs-rank-ed-aside {
  position: sticky;
  top: 88px;
}

.bbs-rank-ed-index,
.bbs-rank-ed-feature,
.bbs-rank-ed-list-card,
.bbs-rank-ed-brief,
.bbs-rank-ed-join,
.bbs-rank-ed-side-card {
  border: 1px solid rgba(203, 213, 225, 0.62);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.bbs-rank-ed-index {
  padding: 1rem;
  border-radius: 18px;
}

.bbs-rank-ed-nav {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  margin-top: 0.8rem;
}

.bbs-rank-ed-nav a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 0.18rem;
  color: #526174;
  border-bottom: 1px solid rgba(226, 232, 240, 0.72);
  transition: padding-left 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.bbs-rank-ed-nav a:hover,
.bbs-rank-ed-nav a.active {
  padding-left: 0.42rem;
  color: #2563eb;
  border-bottom-color: rgba(37, 99, 235, 0.38);
  text-decoration: none;
}

.bbs-rank-ed-nav i {
  text-align: center;
}

.bbs-rank-ed-nav span {
  font-size: 0.88rem;
  font-weight: 900;
}

.bbs-rank-ed-nav small {
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 900;
}

.bbs-rank-ed-rule-box {
  margin-top: 1rem;
  padding: 0.85rem;
  border-radius: 14px;
  background: #f6f8fc;
}

.bbs-rank-ed-rule-box strong,
.bbs-rank-ed-rule-box span {
  display: block;
}

.bbs-rank-ed-rule-box strong {
  color: #26364f;
  font-size: 0.86rem;
}

.bbs-rank-ed-rule-box span {
  margin-top: 0.28rem;
  color: #94a3b8;
  font-size: 0.74rem;
}

.bbs-rank-ed-main,
.bbs-rank-ed-aside {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.bbs-rank-ed-feature,
.bbs-rank-ed-list-card,
.bbs-rank-ed-brief,
.bbs-rank-ed-join,
.bbs-rank-ed-side-card {
  overflow: hidden;
  border-radius: 20px;
}

.bbs-rank-ed-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.72);
}

.bbs-rank-ed-section-head h2 {
  margin: 0.32rem 0 0;
  color: #17243a;
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.bbs-rank-ed-section-head em {
  color: #2563eb;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 950;
}

.bbs-rank-ed-toplist {
  display: grid;
  grid-template-columns: 1fr;
}

.bbs-rank-ed-top {
  display: grid;
  grid-template-columns: 86px 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.95rem;
  min-height: 92px;
  padding: 0 1.2rem;
  color: #26364f;
  border-bottom: 1px solid rgba(226, 232, 240, 0.72);
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease;
}

.bbs-rank-ed-top:last-child {
  border-bottom: 0;
}

.bbs-rank-ed-top:hover {
  color: #26364f;
  border-bottom-color: rgba(37, 99, 235, 0.2);
  background: rgba(239, 246, 255, 0.55);
  text-decoration: none;
}

.bbs-rank-ed-top-rank {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  color: #94a3b8;
  font-size: 1.42rem;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.bbs-rank-ed-top-rank img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.28s ease;
}

.bbs-rank-ed-top:hover .bbs-rank-ed-top-rank img {
  transform: translateX(3px) rotate(5deg);
}

.bbs-rank-ed-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.bbs-rank-ed-user {
  min-width: 0;
}

.bbs-rank-ed-user strong,
.bbs-rank-ed-user span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-rank-ed-user strong {
  color: #17243a;
  font-size: 0.98rem;
  font-weight: 950;
}

.bbs-rank-ed-user span {
  margin-top: 0.16rem;
  color: #94a3b8;
  font-size: 0.74rem;
  font-weight: 800;
}

.bbs-rank-ed-score {
  min-width: 96px;
  text-align: right;
}

.bbs-rank-ed-score strong,
.bbs-rank-ed-score span {
  display: block;
}

.bbs-rank-ed-score strong {
  color: #f97316;
  font-size: 1.24rem;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.bbs-rank-ed-score span {
  margin-top: 0.18rem;
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 900;
}

.bbs-rank-ed-list {
  padding: 0.2rem 0;
}

.bbs-rank-ed-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 126px;
  align-items: center;
  gap: 0.8rem;
  min-height: 58px;
  padding: 0 1.2rem;
  color: #526174;
  text-decoration: none;
  transition: background 0.2s ease;
}

.bbs-rank-ed-row:not(.bbs-rank-ed-row-head):hover {
  color: #526174;
  background: rgba(239, 246, 255, 0.55);
  text-decoration: none;
}

.bbs-rank-ed-row-head {
  min-height: 38px;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.bbs-rank-ed-row > span:first-child {
  color: #94a3b8;
  font-weight: 950;
}

.bbs-rank-ed-row > span:nth-child(2) {
  display: flex;
  align-items: center;
  min-width: 0;
}

.bbs-rank-ed-row img {
  width: 32px;
  height: 32px;
  margin-right: 0.62rem;
  border-radius: 50%;
  object-fit: cover;
}

.bbs-rank-ed-row strong {
  overflow: hidden;
  color: #26364f;
  font-size: 0.88rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-rank-ed-row em {
  margin-left: 0.46rem;
  color: #94a3b8;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
}

.bbs-rank-ed-row > span:last-child {
  color: #2563eb;
  text-align: right;
  font-size: 0.86rem;
  font-weight: 950;
}

.bbs-rank-ed-brief,
.bbs-rank-ed-join,
.bbs-rank-ed-side-card {
  padding: 1.05rem;
}

.bbs-rank-ed-brief strong,
.bbs-rank-ed-brief p,
.bbs-rank-ed-join strong,
.bbs-rank-ed-join span {
  display: block;
}

.bbs-rank-ed-brief strong,
.bbs-rank-ed-join strong {
  margin-top: 0.58rem;
  color: #17243a;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 950;
}

.bbs-rank-ed-brief p,
.bbs-rank-ed-join span {
  margin: 0.48rem 0 0;
  color: #64748b;
  font-size: 0.82rem;
}

.bbs-rank-ed-join a {
  display: inline-flex;
  margin-top: 0.95rem;
  color: #2563eb;
  font-weight: 950;
}

.bbs-rank-ed-side-card h3 {
  margin: 0 0 0.75rem;
  color: #17243a;
  font-size: 0.98rem;
  font-weight: 950;
}

.bbs-rank-ed-side-card a,
.bbs-rank-ed-rule-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.58rem;
  min-height: 40px;
  color: #526174;
  text-decoration: none;
}

.bbs-rank-ed-side-card a:hover,
.bbs-rank-ed-rule-row:hover {
  color: #2563eb;
  text-decoration: none;
}

.bbs-rank-ed-side-card a em {
  color: #94a3b8;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
}

.bbs-rank-ed-side-card a img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.bbs-rank-ed-side-card a span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbs-rank-ed-side-card a strong,
.bbs-rank-ed-rule-row strong {
  margin-left: auto;
  color: #2563eb;
  font-size: 0.78rem;
}

.bbs-rank-ed-rule-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.bbs-rank-ed-rule-row i {
  color: #94a3b8;
}

.bbs-rank-ed-top,
.bbs-rank-ed-row,
.bbs-rank-ed-nav a,
.bbs-rank-ed-side-card a,
.bbs-rank-ed-rule-row,
.bbs-rank-ed-join a {
  position: relative;
}

.bbs-rank-ed-top:before,
.bbs-rank-ed-row:before,
.bbs-rank-ed-nav a:before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 1px;
  content: "";
  background: #2563eb;
  transform: translateY(-50%);
  transition: width 0.24s ease;
}

.bbs-rank-ed-top:hover:before,
.bbs-rank-ed-row:hover:before,
.bbs-rank-ed-nav a:hover:before,
.bbs-rank-ed-nav a.active:before {
  width: 18px;
}

.bbs-rank-ed-top:hover .bbs-rank-ed-user strong,
.bbs-rank-ed-row:hover strong,
.bbs-rank-ed-side-card a:hover span {
  color: #2563eb;
}

.bbs-rank-ed-join a:after {
  display: inline-block;
  width: 18px;
  height: 1px;
  margin: 0.68rem 0 0 0.5rem;
  content: "";
  background: currentColor;
  transition: width 0.24s ease;
}

.bbs-rank-ed-join a:hover:after {
  width: 34px;
}

html.bbs-theme-dark .bbs-rank-editorial-page {
  color: #dce7f7;
}

html.bbs-theme-dark .bbs-rank-ed-header {
  border-bottom-color: rgba(90, 116, 154, 0.34);
}

html.bbs-theme-dark .bbs-rank-ed-title > span,
html.bbs-theme-dark .bbs-rank-ed-index-title,
html.bbs-theme-dark .bbs-rank-ed-section-head > div > span,
html.bbs-theme-dark .bbs-rank-ed-brief > span {
  color: #8fa4c2;
}

html.bbs-theme-dark .bbs-rank-ed-title h1,
html.bbs-theme-dark .bbs-rank-ed-section-head h2,
html.bbs-theme-dark .bbs-rank-ed-user strong,
html.bbs-theme-dark .bbs-rank-ed-row strong,
html.bbs-theme-dark .bbs-rank-ed-brief strong,
html.bbs-theme-dark .bbs-rank-ed-join strong,
html.bbs-theme-dark .bbs-rank-ed-side-card h3,
html.bbs-theme-dark .bbs-rank-ed-rule-box strong {
  color: #eef6ff;
}

html.bbs-theme-dark .bbs-rank-ed-title p,
html.bbs-theme-dark .bbs-rank-ed-user span,
html.bbs-theme-dark .bbs-rank-ed-brief p,
html.bbs-theme-dark .bbs-rank-ed-join span,
html.bbs-theme-dark .bbs-rank-ed-row,
html.bbs-theme-dark .bbs-rank-ed-side-card a,
html.bbs-theme-dark .bbs-rank-ed-rule-row {
  color: #9fb0c8;
}

html.bbs-theme-dark .bbs-rank-ed-index,
html.bbs-theme-dark .bbs-rank-ed-feature,
html.bbs-theme-dark .bbs-rank-ed-list-card,
html.bbs-theme-dark .bbs-rank-ed-brief,
html.bbs-theme-dark .bbs-rank-ed-join,
html.bbs-theme-dark .bbs-rank-ed-side-card {
  border-color: rgba(90, 116, 154, 0.34);
  background: rgba(17, 25, 40, 0.78);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

html.bbs-theme-dark .bbs-rank-ed-feature,
html.bbs-theme-dark .bbs-rank-ed-list-card,
html.bbs-theme-dark .bbs-rank-ed-side-card {
  background: linear-gradient(180deg, rgba(23, 32, 51, 0.88), rgba(17, 24, 39, 0.86));
}

html.bbs-theme-dark .bbs-rank-ed-section-head,
html.bbs-theme-dark .bbs-rank-ed-top,
html.bbs-theme-dark .bbs-rank-ed-nav a {
  border-color: rgba(90, 116, 154, 0.3);
}

html.bbs-theme-dark .bbs-rank-ed-tools .bbs-rank-filter {
  color: #c8d6ea;
  border-bottom-color: #60a5fa;
  background: transparent;
}

html.bbs-theme-dark .bbs-rank-ed-tools .bbs-rank-filter:hover {
  color: #bfdbfe;
}

html.bbs-theme-dark .bbs-rank-filter-menu {
  border-color: rgba(90, 116, 154, 0.42);
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

html.bbs-theme-dark .bbs-rank-filter-menu a {
  color: #b7c8df;
}

html.bbs-theme-dark .bbs-rank-filter-menu a:hover,
html.bbs-theme-dark .bbs-rank-filter-menu a.active {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.16);
}

html.bbs-theme-dark .bbs-rank-ed-meta {
  border-left-color: rgba(90, 116, 154, 0.34);
}

html.bbs-theme-dark .bbs-rank-ed-meta span,
html.bbs-theme-dark .bbs-rank-ed-nav small,
html.bbs-theme-dark .bbs-rank-ed-row-head,
html.bbs-theme-dark .bbs-rank-ed-row > span:first-child,
html.bbs-theme-dark .bbs-rank-ed-side-card a em,
html.bbs-theme-dark .bbs-rank-ed-rule-row i {
  color: #8493ab;
}

html.bbs-theme-dark .bbs-rank-ed-meta strong,
html.bbs-theme-dark .bbs-rank-ed-section-head em,
html.bbs-theme-dark .bbs-rank-ed-row > span:last-child,
html.bbs-theme-dark .bbs-rank-ed-side-card a strong,
html.bbs-theme-dark .bbs-rank-ed-rule-row strong,
html.bbs-theme-dark .bbs-rank-ed-join a {
  color: #8ab4ff;
}

html.bbs-theme-dark .bbs-rank-ed-nav a {
  color: #aab8cf;
}

html.bbs-theme-dark .bbs-rank-ed-nav a:hover,
html.bbs-theme-dark .bbs-rank-ed-nav a.active {
  color: #bfdbfe;
  border-bottom-color: rgba(96, 165, 250, 0.44);
  background: rgba(59, 130, 246, 0.08);
}

html.bbs-theme-dark .bbs-rank-ed-rule-box {
  border: 1px solid rgba(90, 116, 154, 0.26);
  background: rgba(15, 23, 42, 0.62);
}

html.bbs-theme-dark .bbs-rank-ed-rule-box span,
html.bbs-theme-dark .bbs-rank-ed-row em,
html.bbs-theme-dark .bbs-rank-ed-score span {
  color: #8493ab;
}

html.bbs-theme-dark .bbs-rank-ed-top:hover,
html.bbs-theme-dark .bbs-rank-ed-row:not(.bbs-rank-ed-row-head):hover {
  color: #dce7f7;
  background: rgba(30, 58, 95, 0.42);
}

html.bbs-theme-dark .bbs-rank-ed-top:hover .bbs-rank-ed-user strong,
html.bbs-theme-dark .bbs-rank-ed-row:hover strong,
html.bbs-theme-dark .bbs-rank-ed-side-card a:hover span,
html.bbs-theme-dark .bbs-rank-ed-side-card a:hover em,
html.bbs-theme-dark .bbs-rank-ed-rule-row:hover,
html.bbs-theme-dark .bbs-rank-ed-rule-row:hover i {
  color: #bfdbfe;
}

html.bbs-theme-dark .bbs-rank-ed-top:before,
html.bbs-theme-dark .bbs-rank-ed-row:before,
html.bbs-theme-dark .bbs-rank-ed-nav a:before,
html.bbs-theme-dark .bbs-rank-ed-join a:after {
  background: #60a5fa;
}

html.bbs-theme-dark .bbs-rank-ed-avatar,
html.bbs-theme-dark .bbs-rank-ed-row img,
html.bbs-theme-dark .bbs-rank-ed-side-card a img {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #0f172a;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

html.bbs-theme-dark .bbs-rank-ed-top-rank,
html.bbs-theme-dark .bbs-rank-ed-top-rank span {
  color: #93a4bd;
}

html.bbs-theme-dark .bbs-rank-ed-score strong {
  color: #fbbf24;
}

html.bbs-theme-dark .bbs-rank-ed-join {
  color: #fff;
  border-color: rgba(96, 165, 250, 0.28);
  background: radial-gradient(circle at 78% 72%, rgba(96, 165, 250, 0.18), transparent 22%), linear-gradient(135deg, rgba(79, 70, 229, 0.62), rgba(15, 23, 42, 0.88));
}

html.bbs-theme-dark .bbs-rank-ed-join a:hover,
html.bbs-theme-dark .bbs-rank-ed-side-card a:hover {
  color: #bfdbfe;
  text-decoration: none;
}

html.bbs-theme-dark .bbs-rank-empty {
  color: #8493ab;
  background: rgba(15, 23, 42, 0.42);
}

html.bbs-theme-dark .bbs-rank-closed-card > i {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.16);
}

@media (max-width: 1199.98px) {
  .bbs-rank-ed-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .bbs-rank-ed-aside {
    position: static;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .bbs-rank-ed-header,
  .bbs-rank-ed-layout {
    grid-template-columns: 1fr;
  }
  .bbs-rank-ed-index {
    position: static;
  }
  .bbs-rank-ed-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .bbs-rank-ed-tools,
  .bbs-rank-ed-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .bbs-rank-ed-nav,
  .bbs-rank-ed-aside {
    grid-template-columns: 1fr;
  }
  .bbs-rank-ed-top {
    grid-template-columns: 54px 38px minmax(0, 1fr);
    min-height: 84px;
  }
  .bbs-rank-ed-score {
    grid-column: 3;
    text-align: left;
  }
  .bbs-rank-ed-row {
    grid-template-columns: 42px minmax(0, 1fr) 88px;
    padding: 0 0.85rem;
  }
  .bbs-rank-ed-row em {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bbs-rank-ed-top-rank img,
  .bbs-rank-ed-join a:after,
  .bbs-rank-ed-top:before,
  .bbs-rank-ed-row:before,
  .bbs-rank-ed-nav a:before {
    transition: none !important;
  }
}

.bbs-rank-editorial-page .bbs-rank-ed-header {
  width: 100%;
}

.bbs-rank-editorial-page .bbs-rank-ed-title {
  min-width: 0;
}

.bbs-rank-editorial-page .bbs-rank-ed-title h1,
.bbs-rank-editorial-page .bbs-rank-ed-title p {
  writing-mode: horizontal-tb;
  word-break: normal;
}

.bbs-rank-editorial-page .bbs-rank-ed-aside {
  min-width: 0;
}

.bbs-rank-ed-side-card a {
  grid-template-columns: 30px 28px minmax(0, 1fr) auto;
}

.bbs-rank-ed-side-card a em,
.bbs-rank-ed-side-card a img,
.bbs-rank-ed-side-card a span,
.bbs-rank-ed-side-card a strong {
  min-width: 0;
}

.bbs-rank-ed-side-card a span {
  display: block;
  max-width: 100%;
}

.bbs-rank-ed-side-card a:hover em,
.bbs-rank-ed-rule-row:hover i {
  color: #2563eb;
}

.bbs-rank-ed-side-card a:hover img {
  transform: none;
}

.bbs-rank-ed-rule-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.bbs-rank-ed-rule-row span {
  min-width: 0;
  line-height: 1.45;
  word-break: keep-all;
}

.bbs-rank-ed-rule-row strong {
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .bbs-rank-editorial-page .bbs-rank-ed-layout {
    grid-template-columns: 220px minmax(0, 1fr) 300px;
  }
}

@media (max-width: 575.98px) {
  .bbs-rank-ed-side-card a {
    grid-template-columns: 30px 28px minmax(0, 1fr) auto;
  }
}

html,
body,
.bbs-topbar,
.bbs-topbar-shell,
.card,
.breadcrumb,
.bbs-footer-inner,
.bbs-feed-left-card,
.bbs-feed-side-card,
.bbs-feed-card,
.bbs-side-card,
.bbs-rank-ed-index,
.bbs-rank-ed-feature,
.bbs-rank-ed-list-card,
.bbs-rank-ed-brief,
.bbs-rank-ed-join,
.bbs-rank-ed-side-card,
.form-control,
.custom-select,
.dropdown-menu,
.modal-content {
  transition: background-color 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bbs-theme-reveal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  opacity: 0.98;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.12s ease 0.22s;
  will-change: transform, opacity;
}

.bbs-theme-reveal.from-right {
  transform: translateX(100%);
}

.bbs-theme-reveal.is-dark {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
}

.bbs-theme-reveal.is-light {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.98));
}

.bbs-theme-reveal.show {
  opacity: 0;
  transform: translateX(0);
}

.bbs-theme-switching body {
  animation: bbsThemeSurfaceSettle 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bbs-theme-switching .bbs-topbar,
.bbs-theme-switching .card,
.bbs-theme-switching .bbs-feed-left-card,
.bbs-theme-switching .bbs-feed-side-card,
.bbs-theme-switching .bbs-feed-card,
.bbs-theme-switching .bbs-side-card,
.bbs-theme-switching .bbs-rank-ed-index,
.bbs-theme-switching .bbs-rank-ed-feature,
.bbs-theme-switching .bbs-rank-ed-list-card,
.bbs-theme-switching .bbs-rank-ed-brief,
.bbs-theme-switching .bbs-rank-ed-join,
.bbs-theme-switching .bbs-rank-ed-side-card {
  animation: bbsThemeCardSettle 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes bbsThemeSurfaceSettle {
  0% {
    filter: saturate(0.96) brightness(1.02);
  }
  45% {
    filter: saturate(0.9) brightness(0.98);
  }
  100% {
    filter: saturate(1) brightness(1);
  }
}

@keyframes bbsThemeCardSettle {
  0% {
    transform: translateY(0);
    filter: saturate(0.96);
  }
  48% {
    transform: translateY(1px);
    filter: saturate(0.92);
  }
  100% {
    transform: translateY(0);
    filter: saturate(1);
  }
}

html.bbs-density-compact body {
  font-size: 0.88rem;
}

html.bbs-density-normal body {
  font-size: 0.92rem;
}

html.bbs-density-loose body {
  font-size: 0.98rem;
}

html.bbs-density-compact .container,
html.bbs-density-compact .container-fluid,
html.bbs-density-compact .card-body,
html.bbs-density-compact .card-header,
html.bbs-density-compact .list-group-item,
html.bbs-density-compact .thread,
html.bbs-density-compact .media,
html.bbs-density-compact .message,
html.bbs-density-compact .bbs-feed-card,
html.bbs-density-compact .bbs-side-card {
  --bbs-density-space: 0.82;
}

html.bbs-density-loose .container,
html.bbs-density-loose .container-fluid,
html.bbs-density-loose .card-body,
html.bbs-density-loose .card-header,
html.bbs-density-loose .list-group-item,
html.bbs-density-loose .thread,
html.bbs-density-loose .media,
html.bbs-density-loose .message,
html.bbs-density-loose .bbs-feed-card,
html.bbs-density-loose .bbs-side-card {
  --bbs-density-space: 1.14;
}

html.bbs-density-compact .card-body,
html.bbs-density-compact .card-header,
html.bbs-density-compact .list-group-item,
html.bbs-density-compact .thread,
html.bbs-density-compact .media,
html.bbs-density-compact .bbs-feed-card,
html.bbs-density-compact .bbs-side-card {
  padding-top: calc(1rem * var(--bbs-density-space, 0.82)) !important;
  padding-bottom: calc(1rem * var(--bbs-density-space, 0.82)) !important;
}

html.bbs-density-loose .card-body,
html.bbs-density-loose .card-header,
html.bbs-density-loose .list-group-item,
html.bbs-density-loose .thread,
html.bbs-density-loose .media,
html.bbs-density-loose .bbs-feed-card,
html.bbs-density-loose .bbs-side-card {
  padding-top: calc(1rem * var(--bbs-density-space, 1.14)) !important;
  padding-bottom: calc(1rem * var(--bbs-density-space, 1.14)) !important;
}

html.bbs-density-compact .message,
html.bbs-density-compact .subject,
html.bbs-density-compact p {
  line-height: 1.48;
}

html.bbs-density-normal .message,
html.bbs-density-normal .subject,
html.bbs-density-normal p {
  line-height: 1.62;
}

html.bbs-density-loose .message,
html.bbs-density-loose .subject,
html.bbs-density-loose p {
  line-height: 1.78;
}

.bbs-theme-toggle {
  overflow: hidden;
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bbs-theme-toggle i,
.bbs-theme-toggle span {
  position: relative;
  z-index: 1;
}

.bbs-theme-toggle:before,
.bbs-theme-toggle[aria-pressed="true"]:before {
  display: none !important;
}

.bbs-theme-toggle.switching i {
  animation: none;
}

@keyframes bbsThemeIconFlip {
  0% {
    transform: rotate(0deg) scale(1);
  }
  45% {
    transform: rotate(-90deg) scale(0.72);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body,
  .bbs-topbar,
  .bbs-topbar-shell,
  .card,
  .breadcrumb,
  .bbs-footer-inner,
  .bbs-feed-left-card,
  .bbs-feed-side-card,
  .bbs-feed-card,
  .bbs-side-card,
  .bbs-rank-ed-index,
  .bbs-rank-ed-feature,
  .bbs-rank-ed-list-card,
  .bbs-rank-ed-brief,
  .bbs-rank-ed-join,
  .bbs-rank-ed-side-card,
  .form-control,
  .custom-select,
  .dropdown-menu,
  .modal-content,
  .bbs-theme-reveal,
  .bbs-theme-toggle.switching span,
  .bbs-theme-switching body,
  .bbs-theme-switching .bbs-topbar,
  .bbs-theme-switching .card,
  .bbs-theme-switching .bbs-feed-left-card,
  .bbs-theme-switching .bbs-feed-side-card,
  .bbs-theme-switching .bbs-feed-card,
  .bbs-theme-switching .bbs-side-card,
  .bbs-theme-switching .bbs-rank-ed-index,
  .bbs-theme-switching .bbs-rank-ed-feature,
  .bbs-theme-switching .bbs-rank-ed-list-card,
  .bbs-theme-switching .bbs-rank-ed-brief,
  .bbs-theme-switching .bbs-rank-ed-join,
  .bbs-theme-switching .bbs-rank-ed-side-card {
    transition: none !important;
    animation: none !important;
  }
}

.bbs-topbar .navbar-brand.bbs-topbar-brand,
.bbs-topbar .navbar-brand.bbs-topbar-brand:hover,
.bbs-topbar .navbar-brand.bbs-topbar-brand:focus,
.bbs-topbar .navbar-brand.bbs-topbar-brand:active,
.bbs-topbar .navbar-brand.bbs-topbar-brand:focus-visible {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  text-decoration: none;
}

.bbs-topbar .navbar-brand.bbs-topbar-brand:focus-visible .bbs-topbar-logo {
  box-shadow: none !important;
}

.bbs-topbar .navbar-brand.bbs-topbar-brand .bbs-topbar-logo {
  border-color: transparent !important;
}

:root {
  --bs-primary: #2563eb;
  --bs-primary-rgb: 37, 99, 235;
  --bs-link-color: #2563eb;
  --bs-link-hover-color: #1d4ed8;
  --bbs-bs5-surface: rgba(255, 255, 255, 0.86);
  --bbs-bs5-border: rgba(226, 232, 240, 0.88);
  --bbs-bs5-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  --bbs-bs5-shadow-hover: 0 24px 58px rgba(37, 99, 235, 0.14);
}

.btn-block {
  display: block;
  width: 100%;
}

.media {
  display: flex;
  align-items: flex-start;
}

.media-body {
  flex: 1 1 0;
  min-width: 0;
}

.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: .25rem !important; }
.mr-2 { margin-right: .5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.ml-1 { margin-left: .25rem !important; }
.ml-2 { margin-left: .5rem !important; }
.ml-3 { margin-left: 1rem !important; }
.pr-1 { padding-right: .25rem !important; }
.pr-2 { padding-right: .5rem !important; }
.pr-3 { padding-right: 1rem !important; }
.pl-1 { padding-left: .25rem !important; }
.pl-2 { padding-left: .5rem !important; }
.pl-3 { padding-left: 1rem !important; }
.text-right { text-align: right !important; }
.font-weight-bold { font-weight: 700 !important; }
.custom-select { display: block; width: 100%; padding: .375rem 2.25rem .375rem .75rem; font-size: 1rem; font-weight: 400; line-height: 1.5; appearance: none; background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none); background-repeat: no-repeat; background-position: right .75rem center; background-size: 16px 12px; }
.badge-primary { color: #fff; background-color: var(--bs-primary); }
.badge-success { color: #fff; background-color: var(--bs-success); }
.badge-warning { color: #111827; background-color: var(--bs-warning); }
.badge-info { color: #fff; background-color: var(--bs-info); }

html:not(.bbs-theme-dark) body {
  background:
    radial-gradient(circle at 12% -8%, rgba(37, 99, 235, 0.14), transparent 32rem),
    radial-gradient(circle at 88% 0%, rgba(14, 165, 233, 0.12), transparent 30rem),
    linear-gradient(180deg, #f8fafc 0%, #eef4ff 48%, #f8fafc 100%);
}

.bbs-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.25);
}

.bbs-topbar-shell {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bbs-topbar .navbar-nav .nav-link {
  border-radius: 999px;
  font-weight: 800;
}

.bbs-topbar .navbar-nav .nav-link:hover,
.bbs-topbar .navbar-nav .active > .nav-link {
  background: rgba(var(--bs-primary-rgb), 0.09);
}

.bbs-topbar .navbar-nav .active > .nav-link:after {
  display: none;
}

.bbs-topbar-toggler {
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.card,
.bbs-feed-left-card,
.bbs-feed-side-card,
.bbs-feed-card,
.bbs-side-card,
.bbs-recommend-card,
.bbs-feed-tabs,
.bbs-forum-profile-card,
.bbs-forum-stat-card,
.bbs-forum-info-card,
.modal-content,
.dropdown-menu {
  border-color: var(--bbs-bs5-border);
  border-radius: 1.25rem;
  background: var(--bbs-bs5-surface);
  box-shadow: var(--bbs-bs5-shadow);
  backdrop-filter: blur(14px) saturate(1.15);
}

.bbs-feed-card,
.bbs-recommend-card,
.card {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.bbs-feed-card:hover,
.bbs-recommend-card:hover,
.card:hover {
  border-color: rgba(var(--bs-primary-rgb), 0.22);
  box-shadow: var(--bbs-bs5-shadow-hover);
}

.bbs-feed-card:hover,
.bbs-recommend-card:hover {
  transform: translateY(-3px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  border-radius: .9rem;
  letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  border-color: rgba(var(--bs-primary-rgb), 0.95);
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 56%, #06b6d4 100%);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: #1d4ed8;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 58%, #0891b2 100%);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.28);
}

.btn-secondary {
  color: #334155;
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(248, 250, 252, 0.92);
}

.btn-outline-primary {
  border-color: rgba(var(--bs-primary-rgb), 0.32);
  color: #2563eb;
  background: rgba(var(--bs-primary-rgb), 0.04);
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
  color: #fff;
  border-color: #2563eb;
  background: #2563eb;
}

.form-control,
.form-select,
.custom-select {
  border-radius: .95rem;
  border-color: rgba(203, 213, 225, 0.92);
  background-color: rgba(255, 255, 255, 0.86);
}

.form-control:focus,
.form-select:focus,
.custom-select:focus {
  border-color: rgba(var(--bs-primary-rgb), 0.58);
  box-shadow: 0 0 0 .22rem rgba(var(--bs-primary-rgb), 0.12);
}

.page-link {
  border-radius: 999px !important;
}

.modal-content {
  overflow: hidden;
}

.modal-header,
.modal-footer {
  border-color: rgba(226, 232, 240, 0.85);
}

.bbs-feed-tabs a,
.bbs-side-tabs a,
.bbs-feed-left-item,
.bbs-feed-tag,
.bbs-side-tag-list span {
  border-radius: 999px;
}

.bbs-feed-card-body h2 a,
.bbs-forum-thread-card .bbs-feed-card-body h2 a {
  color: #0f172a;
  font-weight: 900;
}

.bbs-feed-card-foot,
.bbs-feed-card-foot a,
.bbs-feed-card-foot span {
  color: #64748b;
}

html.bbs-theme-dark {
  color-scheme: dark;
}

html.bbs-theme-dark body {
  background:
    radial-gradient(circle at 10% -10%, rgba(37, 99, 235, 0.2), transparent 30rem),
    radial-gradient(circle at 88% 0%, rgba(14, 165, 233, 0.14), transparent 28rem),
    linear-gradient(180deg, #020617 0%, #0f172a 52%, #111827 100%);
}

html.bbs-theme-dark .bbs-topbar,
html.bbs-theme-dark .bbs-topbar-shell,
html.bbs-theme-dark .card,
html.bbs-theme-dark .bbs-feed-left-card,
html.bbs-theme-dark .bbs-feed-side-card,
html.bbs-theme-dark .bbs-feed-card,
html.bbs-theme-dark .bbs-side-card,
html.bbs-theme-dark .bbs-recommend-card,
html.bbs-theme-dark .bbs-feed-tabs,
html.bbs-theme-dark .bbs-forum-profile-card,
html.bbs-theme-dark .bbs-forum-stat-card,
html.bbs-theme-dark .bbs-forum-info-card,
html.bbs-theme-dark .modal-content,
html.bbs-theme-dark .dropdown-menu {
  border-color: rgba(51, 65, 85, 0.9);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

html.bbs-theme-dark .form-control,
html.bbs-theme-dark .form-select,
html.bbs-theme-dark .custom-select {
  color: #e5e7eb;
  border-color: rgba(71, 85, 105, 0.9);
  background-color: rgba(15, 23, 42, 0.88);
}

html.bbs-theme-dark .bbs-feed-card-body h2 a,
html.bbs-theme-dark .bbs-forum-thread-card .bbs-feed-card-body h2 a {
  color: #f8fafc;
}

@media (max-width: 991.98px) {
  .bbs-topbar-shell {
    border-radius: 1rem;
  }

  .bbs-topbar-collapse {
    padding: .75rem 0;
  }

  .bbs-topbar .navbar-nav .nav-link {
    margin: .15rem 0;
  }
}

.bbs-auth-card,
.bbs-post-card {
  overflow: hidden;
}

.bbs-auth-card .input-group-text,
.bbs-post-card .input-group-text {
  color: #64748b;
  border-color: rgba(203, 213, 225, 0.9);
  background: rgba(248, 250, 252, 0.88);
}

.bbs-auth-card .form-control,
.bbs-auth-card .input-group-text {
  min-height: 3rem;
}

.bbs-feed-tabs.nav-pills .nav-link,
.bbs-side-tabs.nav-pills a,
.card-header-tabs.nav-pills .nav-link {
  border-radius: 999px;
  color: #64748b;
  font-weight: 800;
}

.bbs-feed-tabs.nav-pills .nav-link.active,
.bbs-side-tabs.nav-pills a.active,
.card-header-tabs.nav-pills .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.16);
}

.bbs-post-card .form-check-input:checked {
  border-color: #2563eb;
  background-color: #2563eb;
}

.bbs-post-card .bbs-md-editor {
  border-radius: 1.25rem;
  border-color: rgba(203, 213, 225, 0.82);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.bbs-post-card .bbs-md-toolbar button {
  border-radius: .75rem;
}

.bbs-post-card .bbs-md-textarea,
.bbs-post-card .bbs-md-preview {
  min-height: 420px;
}

.bbs-profile-side-card,
#my_main > .card {
  overflow: hidden;
}

.bbs-profile-wallet-card,
.bbs-profile-info-pill,
.bbs-profile-meta-card {
  border: 1px solid rgba(226, 232, 240, 0.82);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.bbs-dashboard .card {
  --bs-card-border-radius: 1.5rem;
}

.bbs-dashboard-stat-grid.row,
.bbs-dashboard-grid.row {
  display: grid;
}

html.bbs-theme-dark .bbs-auth-card .input-group-text,
html.bbs-theme-dark .bbs-post-card .input-group-text {
  color: #cbd5e1;
  border-color: rgba(71, 85, 105, 0.9);
  background: rgba(15, 23, 42, 0.88);
}

html.bbs-theme-dark .bbs-profile-wallet-card,
html.bbs-theme-dark .bbs-profile-info-pill,
html.bbs-theme-dark .bbs-profile-meta-card {
  border-color: rgba(51, 65, 85, 0.9);
  background: rgba(15, 23, 42, 0.72);
}

.card-postlist .postlist {
  width: 100%;
}

.card-postlist .postlist > li.post,
.card-postlist .postlist > li.media {
  display: flex !important;
  align-items: flex-start;
  width: 100%;
  border-bottom: 0;
  border-radius: 1rem;
}

.card-postlist .postlist > li.post > a,
.card-postlist .postlist > li.media > a {
  flex: 0 0 auto;
}

.card-postlist .postlist .media-body {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
}

.card-postlist .postlist .message {
  width: 100%;
}

.card-postlist .postlist .floor-parent,
.card-postlist .postlist .post_reply,
.card-postlist .postlist .post_update,
.card-postlist .postlist .post_delete,
.card-postlist .postlist .js-thread-report {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .card-postlist .postlist > li.post,
  .card-postlist .postlist > li.media {
    gap: .75rem !important;
    padding: 1rem !important;
  }

  .card-postlist .postlist .d-flex.justify-content-between {
    flex-direction: column;
    gap: .5rem;
  }
}
