:root {
  color-scheme: light;
  --bg: #e9edf3;
  --surface: #ffffff;
  --surface-soft: #f7f8fa;
  --line: #d7dce3;
  --line-soft: #eef1f4;
  --text: #27313f;
  --muted: #778292;
  --link: #3563a6;
  --link-hover: #1f4d91;
  --accent: #4b79bd;
  --tag: #edf3fb;
  --shadow: 0 1px 2px rgb(0 0 0 / 8%);
  --topbar-bg: linear-gradient(#fbfbfc, #eef1f5);
  --topbar-border: #cfd5dd;
  --brand: #2e3948;
  --nav-text: #596577;
  --control-bg: #ffffff;
  --control-border: #cbd3dd;
  --button-bg: linear-gradient(#fff, #eef2f7);
  --button-text: #37465a;
  --row-bg: #ffffff;
  --strong-text: #121821;
  --body-text: #111820;
  --panel-heading: #505b6b;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111820;
  --surface: #1a232e;
  --surface-soft: #202b37;
  --line: #334253;
  --line-soft: #293747;
  --text: #d8dee8;
  --muted: #9aa7b7;
  --link: #8fb4ee;
  --link-hover: #b9cdf5;
  --accent: #7ba7ee;
  --tag: #25364d;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%);
  --topbar-bg: linear-gradient(#1b2430, #151d27);
  --topbar-border: #2e3c4e;
  --brand: #eef3fb;
  --nav-text: #aeb8c8;
  --control-bg: #111923;
  --control-border: #43536a;
  --button-bg: linear-gradient(#253246, #1b2635);
  --button-text: #d9e2ef;
  --row-bg: #18222d;
  --strong-text: #f3f6fa;
  --body-text: #e7edf5;
  --panel-heading: #c6cfdd;
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

button,
input {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--topbar-border);
  box-shadow: var(--shadow);
}

.topbar-inner {
  width: min(1280px, calc(100% - 24px));
  min-height: 46px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto minmax(180px, 300px);
  align-items: center;
  gap: 18px;
}

.brand {
  color: var(--brand);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand:hover {
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-button {
  height: 30px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--nav-text);
  cursor: pointer;
}

.nav-button:hover,
.nav-button.is-active {
  background: var(--control-bg);
  border-color: var(--line);
  color: var(--text);
}


.theme-toggle {
  width: 104px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--control-border);
  border-radius: 999px;
  background: var(--control-bg);
  color: var(--nav-text);
  cursor: pointer;
  justify-self: end;
  padding: 0 11px;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--text);
}

.theme-toggle-track {
  width: 34px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 999px;
  background: #c9d3e1;
}

.theme-toggle-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
  transition: transform 160ms ease;
}

.theme-toggle-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  color: currentColor;
  flex: 0 0 auto;
}

.theme-toggle-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

[data-theme="dark"] .theme-toggle-track {
  background: #57739a;
}

[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(8px);
}
.search input {
  width: 100%;
  height: 30px;
  border: 1px solid var(--control-border);
  border-radius: 4px;
  background: var(--control-bg);
  color: var(--text);
  padding: 0 10px;
  outline: none;
}

.search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgb(75 121 189 / 15%);
}
.sidebar-toggle {
  width: 36px;
  height: 34px;
  display: none;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--control-border);
  border-radius: 4px;
  background: var(--control-bg);
  color: var(--nav-text);
  cursor: pointer;
}

.sidebar-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgb(20 28 38 / 42%);
}

.sidebar-backdrop[hidden] {
  display: none;
}

.layout {
  width: min(1280px, calc(100% - 24px));
  margin: 14px auto 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px;
}

.content,
.sidebar {
  min-width: 0;
}

.rate-notice {
  position: fixed;
  top: 58px;
  left: 50%;
  z-index: 30;
  width: min(720px, calc(100% - 24px));
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #d8c98f;
  border-radius: 6px;
  background: #fff8d9;
  color: #766334;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 3px 12px rgb(0 0 0 / 12%);
  transform: translateX(-50%);
}

.rate-notice[hidden] {
  display: none;
}
.box,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.box + .box,
.panel + .panel {
  margin-top: 12px;
}

.box-head,
.panel-title {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line-soft);
  color: var(--panel-heading);
  font-weight: 700;
}

.topic-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 54px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
}

.topic-row:last-child {
  border-bottom: 0;
}

.avatar,
.avatar-fallback {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: #dfe5ed;
  object-fit: cover;
}

.avatar-fallback {
  display: grid;
  place-items: center;
  color: #69778b;
  font-weight: 700;
}

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

.topic-title {
  color: #6f7785;
  display: block;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.topic-meta,
.subtle {
  color: #b7bdc8;
  font-size: 14px;
}

.topic-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 6px;
}

.topic-meta > span:not(:first-child)::before,
.topic-meta > strong:not(:first-child)::before {
  content: "·";
  margin-right: 6px;
  color: #c9ced8;
}

.topic-meta strong {
  color: #7d8491;
  font-weight: 700;
}

.node-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 7px;
  border-radius: 3px;
  background: #f5f4fa;
  color: #8b929f;
  line-height: 1;
}

.node-pill:hover {
  background: #ecebf5;
  color: #5f6f91;
  text-decoration: none;
}

.topic-flag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 6px;
  border-radius: 3px;
  background: #eef3fb;
  color: #7384a5;
  font-size: 12px;
}
.topic-desc {
  margin-top: 6px;
  color: #5f6c7d;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.count-pill {
  min-width: 34px;
  height: 22px;
  align-self: center;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  border-radius: 12px;
  background: #aeb5cc;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  justify-self: end;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 11px;
  border-radius: 3px;
  background: var(--tag);
  color: #526d93;
  font-size: 12px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}

.chip-shell {
  display: inline-flex;
  align-items: center;
}

.chip-shell.is-subscribed .chip {
  height: 36px;
  border: 1px solid #d6dde7;
  border-radius: 4px;
  background: #fff;
  color: #506070;
  padding: 0 12px;
  cursor: pointer;
  font-size: 15px;
}

.subscription-empty {
  align-self: center;
  color: #a5adbb;
  font-size: 14px;
}
.chip {
  height: 36px;
  border: 1px solid #d6dde7;
  border-radius: 4px;
  background: #fff;
  color: #506070;
  padding: 0 12px;
  cursor: pointer;
  font-size: 15px;
}

.chip:hover,
.chip.is-active {
  border-color: #9db5d5;
  background: #f2f6fb;
  color: #2e5d9c;
}

.chip-shell .chip.is-active,
.chip-shell.is-subscribed .chip.is-active {
  border-color: #7d96c3;
  background: #e7eefb;
  color: #234f91;
  box-shadow: inset 0 0 0 1px #aac0e2;
}

.subscription-list {
  display: grid;
}

.subscription-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
}

.subscription-item:last-child {
  border-bottom: 0;
}

.subscription-item a {
  min-width: 0;
  color: #3d4b5f;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subscription-item button {
  width: 26px;
  height: 26px;
  border: 1px solid #d6dde7;
  border-radius: 4px;
  background: #fff;
  color: #7c8798;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}

.subscription-item button:hover {
  border-color: #d7a4a4;
  background: #fff4f4;
  color: #a33b3b;
}

.subscription-empty-side {
  padding: 12px;
  color: #a5adbb;
}
.pager {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line-soft);
}

.pager button,
.primary-button {
  min-height: 30px;
  border: 1px solid #b7c2d0;
  border-radius: 4px;
  background: var(--button-bg);
  color: var(--button-text);
  padding: 0 12px;
  cursor: pointer;
}

.pager button:disabled {
  opacity: 0.45;
  cursor: default;
}

.related-list a {
  display: block;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  color: #3d4b5f;
  overflow-wrap: anywhere;
}

.related-list a:last-child {
  border-bottom: 0;
}

.related-panels {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.site-note {
  display: grid;
  gap: 8px;
  padding: 12px;
  color: var(--muted);
}

.custom-panel-content {
  padding: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.custom-panel-content p,
.custom-panel-content ul,
.custom-panel-content ol {
  margin: 0 0 10px;
}

.custom-panel-content :last-child {
  margin-bottom: 0;
}

.custom-panel-content ul,
.custom-panel-content ol {
  padding-left: 20px;
}

.custom-panel-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.node-nav {
  margin-top: 12px;
}

.node-nav-head {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: #c3c8d1;
  font-size: 17px;
}

.node-nav-head strong {
  color: #bec4cd;
  font-weight: 700;
}

.node-nav-head span {
  margin-left: 6px;
  color: #c9ced6;
  font-weight: 400;
}

.node-nav-head a {
  color: #707a89;
  font-size: 14px;
  white-space: nowrap;
}

.node-nav-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-soft);
}

.node-nav-row:last-child {
  border-bottom: 0;
}

.node-nav-category {
  justify-self: end;
  align-self: start;
  color: #c3c8d1;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.9;
  text-align: right;
}

.node-nav-category:hover {
  color: #8d96a5;
  text-decoration: none;
}

.node-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 20px;
  align-items: center;
}

.node-link-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.node-subscribe {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #d5dbe5;
  border-radius: 50%;
  background: #fff;
  color: #98a1af;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.node-link-item.is-subscribed .node-subscribe {
  border-color: #9db5d5;
  background: #f2f6fb;
  color: #4f74a6;
}

.node-subscribe:hover {
  border-color: #9db5d5;
  color: #2e5d9c;
}
.node-nav-links a {
  color: #767f8e;
  font-size: 17px;
  line-height: 1.45;
  white-space: nowrap;
}

.node-nav-links a:hover {
  color: #3d5f93;
  text-decoration: none;
}
.forum-group {
  border-bottom: 1px solid var(--line-soft);
}

.forum-group:last-child {
  border-bottom: 0;
}

.forum-parent {
  padding: 10px 12px;
  background: #fbfcfd;
  color: #415064;
  font-weight: 700;
}

.forum-node {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 10px 12px;
  border-top: 1px solid var(--line-soft);
}

.forum-node.child {
  padding-left: 28px;
}

.forum-name {
  color: #2f3d4e;
  font-weight: 700;
}

.forum-desc {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.forum-counts {
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
}

.topic-hero {
  overflow: hidden;
}

.topic-hero-main {
  padding: 18px 24px 14px;
}

.topic-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: #7b8492;
  font-size: 17px;
}

.topic-breadcrumb a {
  color: #586f9d;
  font-weight: 700;
}

.topic-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px;
  gap: 20px;
  align-items: start;
  margin-top: 16px;
}

.topic-hero-title {
  margin: 0;
  color: var(--strong-text);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.24;
}

.topic-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  color: #8d96a5;
  font-size: 15px;
}

.topic-hero-avatar {
  justify-self: end;
}

.topic-hero-avatar .avatar,
.topic-hero-avatar .avatar-fallback {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  font-size: 24px;
}

.topic-op-body {
  padding: 18px 24px 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--body-text);
  font-size: 17px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.topic-op-body p,
.reply-body p {
  margin: 0 0 14px;
}

.topic-op-body p:last-child,
.reply-body p:last-child {
  margin-bottom: 0;
}

.topic-op-body a,
.reply-body a {
  color: #4169aa;
}

.topic-op-body img,
.reply-body img,
.forum-desc img {
  max-width: 100%;
  height: auto;
}

.topic-op-body blockquote,
.reply-body blockquote {
  margin: 14px 0;
  padding: 10px 14px;
  border-left: 3px solid #cdd8e6;
  background: #f7f9fc;
  color: #596779;
}

.topic-actionbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 9px 24px;
  border-top: 1px solid #d5d8df;
  background: linear-gradient(#f3f3f6, #d9d9df);
  color: #8a91a0;
  font-size: 15px;
}

.topic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.topic-actions button {
  border: 0;
  background: transparent;
  color: #4f5b70;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.topic-actions button:hover {
  color: #2e5d9c;
}

.replies-box {
  margin-top: 14px;
  overflow: hidden;
}

.replies-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  color: #9aa2af;
  font-size: 17px;
}

.reply {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 32px;
  gap: 16px;
  padding: 20px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
}

.reply:last-child {
  border-bottom: 0;
}

.reply-avatar .avatar,
.reply-avatar .avatar-fallback {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  font-size: 17px;
}

.reply-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  min-height: 24px;
  color: #a3acba;
  font-size: 15px;
}

.reply-author {
  color: #596274;
  font-weight: 700;
}

.reply-body {
  margin-top: 12px;
  color: var(--body-text);
  font-size: 17px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.reply-tools {
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  align-items: flex-start;
  color: #d0d3dd;
  font-size: 15px;
}


.reply-floor {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #f2f3f8;
  color: #c4c9d4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.post {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line-soft);
}

.post:last-child {
  border-bottom: 0;
}

.post-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 24px;
  color: var(--muted);
  font-size: 12px;
}

.post-author {
  color: #3b495b;
  font-weight: 700;
}

.post-body {
  margin-top: 8px;
  color: #2d3745;
  overflow-wrap: anywhere;
}

.loading,
.empty,
.error {
  padding: 28px 12px;
  text-align: center;
  color: var(--muted);
}

.error {
  color: #a33b3b;
}

@media (max-width: 860px) {
  body.sidebar-open {
    overflow: hidden;
  }

  .topbar-inner {
    grid-template-columns: minmax(0, 1fr) auto 40px;
    gap: 8px 10px;
    padding: 8px 0;
  }

  .brand {
    grid-column: 1 / 3;
  }

  .nav {
    grid-column: 1 / -1;
  }

  .theme-toggle {
  width: 104px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--control-border);
  border-radius: 999px;
  background: var(--control-bg);
  color: var(--nav-text);
  cursor: pointer;
  justify-self: end;
  padding: 0 11px;
}

  .search {
    grid-column: 2 / -1;
  }

  .nav {
    overflow-x: auto;
  }

  .sidebar-toggle {
    grid-column: 3;
    grid-row: 1;
    display: inline-grid;
    justify-self: end;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 40;
    width: min(340px, calc(100vw - 42px));
    height: 100dvh;
    padding: 12px;
    overflow-y: auto;
    background: var(--bg);
    box-shadow: -12px 0 28px rgb(0 0 0 / 22%);
    transform: translateX(100%);
    transition: transform 180ms ease;
  }

  body.sidebar-open .sidebar {
    transform: translateX(0);
  }

  .node-nav-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 14px;
  }

  .node-nav-category {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .layout,
  .topbar-inner {
    width: calc(100% - 16px);
  }

  .topic-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px;
    padding: 12px;
  }

  .avatar,
  .avatar-fallback {
    width: 38px;
    height: 38px;
  }

  .topic-title {
    font-size: 17px;
  }

  .topic-meta {
    gap: 5px;
    font-size: 12px;
  }

  .count-pill {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .topic-hero-main,
  .topic-op-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .topic-breadcrumb {
    font-size: 15px;
  }

  .topic-hero-grid {
    grid-template-columns: minmax(0, 1fr) 54px;
    gap: 12px;
    margin-top: 14px;
  }

  .topic-hero-title {
    font-size: 24px;
  }

  .topic-hero-meta,
  .topic-actionbar,
  .replies-head {
    font-size: 14px;
  }

  .topic-hero-avatar .avatar,
  .topic-hero-avatar .avatar-fallback {
    width: 50px;
    height: 50px;
    font-size: 17px;
  }

  .topic-op-body,
  .reply-body {
    font-size: 15px;
  }

  .topic-actionbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 16px;
  }

  .reply {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 12px;
  }

  .reply-avatar .avatar,
  .reply-avatar .avatar-fallback {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }

  .reply-tools {
    grid-column: 2;
    justify-content: flex-start;
    margin-top: -4px;
  }

  .post {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .node-nav-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    font-size: 15px;
  }

  .node-nav-links {
    gap: 8px 14px;
  }

  .node-nav-links a,
  .node-nav-category {
    font-size: 17px;
    white-space: normal;
  }
}

[data-theme="dark"] .topic-row,
[data-theme="dark"] .toolbar,
[data-theme="dark"] .reply,
[data-theme="dark"] .forum-parent,
[data-theme="dark"] .chip,
[data-theme="dark"] .chip-shell.is-subscribed .chip,
[data-theme="dark"] .node-subscribe,
[data-theme="dark"] .subscription-item button,
[data-theme="dark"] .sidebar-toggle {
  background: var(--row-bg);
  color: var(--text);
  border-color: var(--line);
}

[data-theme="dark"] .topic-title,
[data-theme="dark"] .related-list a,
[data-theme="dark"] .subscription-item a,
[data-theme="dark"] .forum-name,
[data-theme="dark"] .post-author,
[data-theme="dark"] .reply-author,
[data-theme="dark"] .node-nav-links a {
  color: var(--text);
}

[data-theme="dark"] .topic-meta,
[data-theme="dark"] .subtle,
[data-theme="dark"] .topic-desc,
[data-theme="dark"] .forum-desc,
[data-theme="dark"] .forum-counts,
[data-theme="dark"] .reply-meta,
[data-theme="dark"] .post-head,
[data-theme="dark"] .node-nav-head,
[data-theme="dark"] .node-nav-category {
  color: var(--muted);
}

[data-theme="dark"] .node-pill,
[data-theme="dark"] .topic-flag,
[data-theme="dark"] .tag,
[data-theme="dark"] .reply-floor {
  background: #26364a;
  color: #bfd0e6;
}

[data-theme="dark"] .avatar,
[data-theme="dark"] .avatar-fallback {
  background: #2f4055;
  color: #dce6f3;
}

[data-theme="dark"] .topic-op-body blockquote,
[data-theme="dark"] .reply-body blockquote {
  border-left-color: #4a5f78;
  background: #17212c;
  color: #cbd6e3;
}

[data-theme="dark"] .topic-actionbar {
  background: linear-gradient(#202b38, #17202b);
  border-top-color: var(--line);
}

[data-theme="dark"] .rate-notice {
  border-color: #6b5b2c;
  background: #302916;
  color: #ecdca7;
}
