/* 镜衍都市：超大字、顶部拼音、页头图、标题字。
   书页和宇宙都要生效，所以不放进 story-mode.css。
   :not(#pm-type-guard) 把特异性抬到 ID，压过 injectCSS 里叠起来的 :not() 字体锁。 */

html.pm-dlc-on body .contents:not(#pm-type-guard) .w-huge,
html.pm-dlc-on .editor-markdown-preview:not(#pm-type-guard) .w-huge,
html.pm-dlc-on .editor-markdown-preview-content:not(#pm-type-guard) .w-huge {
  font-size: 2.6em !important;
  line-height: 1 !important;
  vertical-align: baseline;
}

html.pm-dlc-on body .contents:not(#pm-type-guard) .pm-py,
html.pm-dlc-on .editor-markdown-preview:not(#pm-type-guard) .pm-py,
html.pm-dlc-on .editor-markdown-preview-content:not(#pm-type-guard) .pm-py {
  display: inline-block !important;
  position: relative;
  vertical-align: baseline;
  line-height: inherit;
  margin: 0 .08em;
}

html.pm-dlc-on body .contents:not(#pm-type-guard) .pm-py-t,
html.pm-dlc-on .editor-markdown-preview:not(#pm-type-guard) .pm-py-t,
html.pm-dlc-on .editor-markdown-preview-content:not(#pm-type-guard) .pm-py-t {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: .62em !important;
  line-height: 1 !important;
  letter-spacing: .04em;
  font-weight: 400 !important;
}

html.pm-dlc-on .contents p:has(.pm-py),
html.pm-dlc-on .contents li:has(.pm-py),
html.pm-dlc-on .editor-markdown-preview p:has(.pm-py),
html.pm-dlc-on .editor-markdown-preview li:has(.pm-py) {
  overflow: visible !important;
}

html.pm-dlc-on body .contents:not(#pm-type-guard) .pm-title,
html.pm-dlc-on .editor-markdown-preview:not(#pm-type-guard) .pm-title,
html.pm-dlc-on .editor-markdown-preview-content:not(#pm-type-guard) .pm-title {
  display: inline-block;
  font-family: "Crimson Text", "Source Han Serif SC", "Noto Serif SC",
    "Songti SC", "SimSun", Georgia, serif !important;
  font-size: 2.4em !important;
  font-weight: 500 !important;
  letter-spacing: .18em !important;
  line-height: 1.15 !important;
  background-image: linear-gradient(180deg, #e8c99a 0%, #a56b2d 46%, #6e4318 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

html.pm-dlc-on .v-main .contents:has(.pm-banner),
html.pm-dlc-on .v-main .container:has(.pm-banner),
html.pm-dlc-on .v-main .page-col-content:has(.pm-banner) {
  overflow: visible !important;
}

html.pm-dlc-on body .contents:not(#pm-type-guard) .pm-banner {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 1.4em;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}

html.pm-dlc-on body .contents:not(#pm-type-guard) .pm-banner img {
  display: block;
  width: 100% !important;
  height: 42vh;
  min-height: 220px;
  max-height: 560px;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

html.pm-dlc-on .editor-markdown-preview .pm-banner,
html.pm-dlc-on .editor-markdown-preview-content .pm-banner {
  width: auto;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

html.pm-dlc-on .editor-markdown-preview .pm-banner img,
html.pm-dlc-on .editor-markdown-preview-content .pm-banner img {
  height: 28vh;
  min-height: 140px;
}
