@import url("/puhuiti.css");

:root,
html,
html[data-theme],
html[data-theme="dark"] {
  color-scheme: dark;
  --brand: #5eead4;
  --brand2: #a78bfa;
  --brand-soft: #153b38;
  --accent: #e8622c;
  --ink: #f4f4f4;
  --ink2: #c7ccd6;
  --muted: #8d96a6;
  --line: #2b2b2b;
  --line2: #222222;
  --paper: #0b0b0b;
  --card: #131313;
  --card2: #191919;
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.34);
  --c-yaodian: #67e8f9;
  --c-hongqi: #fb7185;
  --c-zhaiyao: #5eead4;
  --c-siwei: #e8622c;
  --c-yicuo: #f59e0b;
  --c-zhengce: #a78bfa;
}

html {
  background: #0b0b0b;
}

body {
  background: #0b0b0b !important;
  color: #f4f4f4 !important;
  font-family: var(--font-ui, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif) !important;
}

::selection {
  background: rgba(103, 232, 249, 0.28);
  color: #ffffff;
}

a {
  color: #67e8f9;
}

.topbar,
.kb-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 11, 11, 0.96) !important;
  color: #f4f4f4 !important;
  border-bottom: 1px solid #292929;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
}

.topbar .logo,
.kb-bar .logo {
  background: transparent url("/assets/reitsband-mascot.png") center / contain no-repeat !important;
  border: 0 !important;
  color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.topbar h1,
.topbar .sub,
.kb-bar .t,
.kb-bar .tbtn {
  color: inherit;
}

.topbar .sub {
  color: #8d96a6 !important;
}

.tbtn,
.kb-bar .tbtn {
  background: #151515 !important;
  border: 1px solid #353535 !important;
  color: #e9e9e9 !important;
}

.tbtn:hover,
.kb-bar .tbtn:hover {
  border-color: #67e8f9 !important;
  color: #67e8f9 !important;
}

.kb-bar .tbtn.on {
  background: #67e8f9 !important;
  color: #0b0b0b !important;
}

.wrap,
.main,
.layout,
.container {
  color: #f4f4f4;
}

.hero h1,
.mod-title,
.doc h1,
.doc h2,
.doc h3,
.doc h4,
.sec h3,
.diag > .dh,
.q-q,
.tl-ph {
  color: #f4f4f4 !important;
}

.lead,
.sub,
.meta,
.cnt,
.result-bar,
.docfoot,
.diag > .dc {
  color: #8d96a6 !important;
}

.item,
.doc-item,
.list-item,
.card,
.panel,
.sec,
.diag,
.q-card,
.bridge,
.flow-step,
.gl-card,
.ex-card,
.tl-ev,
.calc-live,
.search-box,
.doc {
  background: #131313 !important;
  border-color: #2b2b2b !important;
  color: #f4f4f4 !important;
  box-shadow: var(--shadow) !important;
}

.item:hover,
.doc-item:hover,
.gl-card:hover,
.mod-card:hover {
  border-color: #67e8f9 !important;
}

.item .no,
.doc-item .di-tag {
  background: linear-gradient(135deg, #67e8f9, #a78bfa) !important;
  color: #07111f !important;
}

.item .nm,
.item .body,
.doc-item .di-name {
  color: #ffffff !important;
}

.item .meta,
.doc-item .di-meta,
.doc-item .di-open {
  color: #aab2c0 !important;
}

.item .tag,
.item .badge,
.doc-item .di-meta .chip {
  color: #c7ccd6 !important;
}

.badge,
.tag,
.chip,
.q-typetag,
.q-diff {
  background: #1b1b1b !important;
  border-color: #343434 !important;
  color: #c7ccd6 !important;
}

.cbtn,
.filter-select,
.btn-clear,
.search-input,
.filter-bar input,
.input,
select,
textarea {
  background: #171717 !important;
  border-color: #343434 !important;
  color: #f4f4f4 !important;
}

.cbtn.active {
  background: #67e8f9 !important;
  border-color: #67e8f9 !important;
  color: #07111f !important;
}

.search-input::placeholder,
.filter-bar input::placeholder,
input::placeholder,
textarea::placeholder {
  color: #6f7887 !important;
}

.callout {
  background: #151515 !important;
  border-color: #303030 !important;
  border-left-color: #67e8f9 !important;
  color: #c7ccd6 !important;
}

.callout code,
code,
pre {
  background: #1b1b1b !important;
  border-color: #343434 !important;
  color: #67e8f9 !important;
}

.doc {
  line-height: 1.9;
}

.doc h1 {
  border-bottom-color: #67e8f9 !important;
}

.doc p,
.doc li,
.doc td,
.doc th {
  color: #d7dbe3 !important;
}

.doc blockquote {
  background: #181818 !important;
  border-left-color: #a78bfa !important;
  color: #c7ccd6 !important;
}

.doc table,
.doc th,
.doc td,
.mtx,
.mtx th,
.mtx td {
  border-color: #343434 !important;
}

.doc th,
.mtx th {
  background: #1b1b1b !important;
  color: #ffffff !important;
}

.doc tr:nth-child(even) td,
.mtx tr:nth-child(even) td {
  background: #171717 !important;
}

.q-opt {
  background: #171717 !important;
  border-color: #343434 !important;
  color: #f4f4f4 !important;
}

.q-opt:hover {
  border-color: #67e8f9 !important;
}

.q-opt.correct {
  background: #123326 !important;
  border-color: #34d399 !important;
  color: #a7f3d0 !important;
}

.q-opt.wrong {
  background: #351719 !important;
  border-color: #fb7185 !important;
  color: #fecdd3 !important;
}

.tree-wrap {
  background: #0b0b0b !important;
}

.tree-wrap iframe {
  background: #0b0b0b !important;
}

@media (max-width: 760px) {
  .topbar,
  .kb-bar {
    padding-inline: 12px;
  }

  .wrap {
    padding-inline: 12px;
  }

  .item,
  .doc-item {
    gap: 10px;
  }

  .doc {
    padding: 20px 16px 24px !important;
  }
}
