.detail {
  bottom: 64px;
  width: min(520px, calc(100vw - 48px));
  overflow: auto;
  background: rgba(12, 16, 25, .94);
}

.public-note-content {
  padding-top: 3px;
  border-top: 1px solid var(--line);
  color: #d8dfe9;
  font-size: 14px;
  line-height: 1.75;
}

.public-note-content h1,
.public-note-content h2,
.public-note-content h3,
.public-note-content h4 {
  margin: 1.35em 0 .55em;
  color: #f5f7fb;
  line-height: 1.25;
}

.public-note-content h1 { font-size: 25px; }
.public-note-content h2 { font-size: 20px; }
.public-note-content h3 { font-size: 17px; }
.public-note-content p { margin: 12px 0; }
.public-note-content code {
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .08);
  color: #c8a9ff;
}
.public-note-content pre {
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #080c13;
}
.public-note-content blockquote {
  margin: 15px 0;
  padding: 2px 14px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
}
.public-note-content a,
.public-note-content .wiki-link { color: #8bd3ff; }
.public-note-content .wiki-link {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

@media (max-width: 760px) {
  .detail {
    top: 112px;
    bottom: 65px;
    transform: translateY(calc(100% + 180px));
  }
}
