/* ui */
@media print {
  #_pmd-appbarRoot {
    display: none !important;
  }
  #_pmd-LeftSiderbar {
    display: none !important;
  }
  .site-footer {
    display: none !important;
  }
  #_pmd-originalContent {
    height: min-content !important;
  }
  #_pmd-pageRoot {
    height: min-content !important;
  }
  #_pmd-mainContent {
    height: min-content !important;
  }
  body {
    height: min-content !important;
    background-image: none !important;
  }
  html {
    height: min-content !important;
  }
}
@page {
  @top-right {
    content: "页 " counter(pageNumber);
  }
}

body {
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-position: center 0;
  background-attachment: fixed;
  width: 100vw;
  height: 100vh;
  margin: 0 0 0 0;
  background-image: var(--pmd-bg-src);
}
html::-webkit-scrollbar {
  width: 0;
  height: 0;
}
#_pmd-pageRoot {
  background: rgba(250, 253, 252, var(--pmd-bg-alpha-l, 0.8));
  backdrop-filter: var(--pmd-bg-blur, blur(0px));
  display: flex;
  flex-direction: column;
  height: 100vh;
}
#_pmd-appbarRoot {
  margin: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
#_pmd-mainContent {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
#_pmd-LeftSiderbar {
  display: flex;
  flex-direction: column;
}
#_pmd-originalContent {
  display: flex;
  flex-direction: column;
}

.sidebar_img {
  width: 100%;
  height: 100%;
}
.sidebar_head {
  display: flex;
  flex-direction: column;
  width: 94%;
  padding: 5px 3px 5px 3px;
  margin: 3% 3% 0% 3%;
}
.sidebar_head>div[slot=headline] {
  margin: 0 16px 0;
}
.sidebar_btn {
  width: 100%;
  margin: 1% 0 1% 0;
}
.main-content {
  max-width: 100%;
  min-width: 100%
}

a {
  text-decoration: underline dotted;
}
a:hover {
  text-decoration: underline;
}

#_pmd-pageRoot[dark] {
  background: rgba(5, 2, 3, var(--pmd-bg-alpha-d, 0.82));
  backdrop-filter: var(--pmd-bg-blur, blur(0px));
}
#_pmd-pageRoot[dark] * {
  color-scheme: dark;
}

.selectable {
  user-select: text;
  -moz-user-select: text;
  -webkit-user-select: text;
}
.unselectable {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}