/* A quiet opening within the existing jade landscape. */
:root body .celestial-site.celestial-palace .living-scroll .professional-report-entry {
  position: relative;
  isolation: isolate;
  width: min(100%, 440px);
  margin-inline: auto;
  padding: 30px 16px calc(clamp(90px, 28vw, 272px) + 16px);
  gap: 0;
  background: none;
}
:root body .celestial-site.celestial-palace .living-scroll .professional-report-entry::before {
  content: '';
  position: absolute;
  inset: 45% -12% 0;
  z-index: -1;
  pointer-events: none;
  background: url('/assets/tianshu-entry-landscape.webp') center bottom / auto 110px no-repeat;
  opacity: .16;
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
}
:root body .celestial-site.celestial-palace .living-scroll .tianshu-entry-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: .14em;
  padding-left: .14em;
  color: #694a32;
}
:root body .celestial-site.celestial-palace .living-scroll .tianshu-entry-invitation {
  width: auto;
  max-width: 100%;
  margin: 14px 0 25px;
  font: 15px/2 var(--body);
  letter-spacing: .08em;
  color: #526357;
  white-space: pre-line;
}
:root body .celestial-site.celestial-palace .living-scroll .professional-report-entry .tianshu-entry-button {
  width: 250px;
  height: 48px;
  min-height: 48px;
  padding: 6px 30px;
  font-size: 18px;
  filter: saturate(.65) drop-shadow(0 2px 2px #38533514);
}
@media (hover: hover) {
  :root body .celestial-site.celestial-palace .living-scroll .professional-report-entry .tianshu-entry-button:hover:not(:disabled) {
    filter: saturate(.8) brightness(1.025) drop-shadow(0 3px 3px #38533520);
  }
}
:root body .celestial-site.celestial-palace .living-scroll .professional-report-entry .tianshu-entry-button:active:not(:disabled) {
  filter: saturate(.65) brightness(.97);
}
@media (max-width: 680px) {
  :root body .celestial-site.celestial-palace .living-scroll .professional-report-entry {padding: 23px 12px calc(clamp(90px, 28vw, 272px) + 16px);}
  :root body .celestial-site.celestial-palace .living-scroll .tianshu-entry-title {font-size: 28px;}
  :root body .celestial-site.celestial-palace .living-scroll .tianshu-entry-invitation {font-size: 14px;margin: 12px 0 23px;}
}

/* Compact companion to the full book entrance; only the button catches taps. */
:root body .celestial-site.celestial-palace .tianshu-scene-dock {
  max-width: min(100%, 520px);
  height: calc(82px + env(safe-area-inset-bottom, 0px));
  padding: 4px 0 calc(4px + env(safe-area-inset-bottom, 0px));
  background-size: auto 82px;
  background-position: center bottom;
  pointer-events: none;
}
:root body .celestial-site.celestial-palace .tianshu-dock-content {
  width: 210px;
  max-width: 76%;
  margin: 0;
  gap: 2px;
  background: none;
  pointer-events: none;
}
:root body .celestial-site.celestial-palace .tianshu-dock-content strong {
  font: 700 18px/1.3 var(--display);
  letter-spacing: .1em;
  color: #694a32;
  text-shadow: 0 1px 2px #fafcf7;
}
:root body .celestial-site.celestial-palace .tianshu-scene-dock button {
  width: 210px;
  max-width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 6px 28px;
  border: 0;
  border-image: none;
  border-radius: 16px;
  background: url('/assets/jade-button-book-358db28e1cb8.webp') center / 100% 100% no-repeat;
  box-shadow: none;
  color: #183e29;
  font: 700 16px/1.3 var(--display);
  letter-spacing: .06em;
  text-shadow: none;
  filter: saturate(.65) drop-shadow(0 2px 2px #38533514);
  pointer-events: auto;
  cursor: pointer;
  transition: transform 150ms ease, filter 150ms ease;
}
:root body .celestial-site.celestial-palace .tianshu-scene-dock button::before,
:root body .celestial-site.celestial-palace .tianshu-scene-dock button::after {content: none;display: none;}
:root body .celestial-site.celestial-palace .tianshu-scene-dock button:focus-visible {outline: 2px solid #315d49;outline-offset: 2px;}
:root body .celestial-site.celestial-palace .tianshu-scene-dock button:active {transform: translateY(1px);filter: saturate(.65) brightness(.97);}
@media (hover: hover) {
  :root body .celestial-site.celestial-palace .tianshu-scene-dock button:hover {filter: saturate(.8) brightness(1.025);}
}
@media (min-width: 1024px) {
  :root body .celestial-site.celestial-palace .tianshu-scene-dock::before,
  :root body .celestial-site.celestial-palace .tianshu-scene-dock::after {top: auto;bottom: 0;width: 125px;height: 76px;background-size: auto 76px;}
}
@media (prefers-reduced-motion: reduce) {
  :root body .celestial-site.celestial-palace .tianshu-scene-dock button {transition: none;}
}

/* Approved ink-green calligraphy: text remains accessible, artwork supplies visible label. */
:root body .celestial-site.celestial-palace .living-scroll .professional-report-entry .tianshu-entry-button,
:root body .celestial-site.celestial-palace .tianshu-scene-dock button {
  background: url('/assets/tianshu-button-kai-0fca0502ef35.webp') center / contain no-repeat;
  font-size: 0;
  text-shadow: none;
  filter: drop-shadow(0 2px 2px #38533514);
}
:root body .celestial-site.celestial-palace .living-scroll .professional-report-entry .tianshu-entry-button span { font-size: 0; text-shadow: none; }

/* Keep the original immortals and dock dimensions; give the single action depth. */
:root body .celestial-site.celestial-palace .tianshu-dock-content strong { display: none; }
:root body .celestial-site.celestial-palace .tianshu-scene-dock button {
  filter: saturate(1.2) contrast(1.08) drop-shadow(0 2px 0 #507146aa) drop-shadow(0 4px 3px #354b3540);
}
@media (hover: hover) {
  :root body .celestial-site.celestial-palace .tianshu-scene-dock button:hover {
    filter: saturate(1.2) contrast(1.08) brightness(1.04) drop-shadow(0 2px 0 #507146aa) drop-shadow(0 5px 4px #354b3540);
    transform: translateY(-1px);
  }
}
:root body .celestial-site.celestial-palace .tianshu-scene-dock button:active {
  transform: translateY(1px);
  filter: saturate(1.2) contrast(1.08) drop-shadow(0 1px 0 #507146aa) drop-shadow(0 2px 2px #354b3530);
}

/* Clip the moving light to the original jade artwork, including its carved ends. */
:root body .celestial-site.celestial-palace .tianshu-scene-dock button { position: relative; }
:root body .celestial-site.celestial-palace .tianshu-scene-dock .dock-jade-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  mask: url('/assets/tianshu-button-kai-0fca0502ef35.webp') center / contain no-repeat;
}
:root body .celestial-site.celestial-palace .tianshu-scene-dock .dock-jade-sheen > span {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: linear-gradient(110deg, transparent 32%, #fff4c566 44%, #fffdf3cc 50%, #fff4c566 56%, transparent 68%);
}
@media (prefers-reduced-motion: reduce) {
  :root body .celestial-site.celestial-palace .tianshu-scene-dock .dock-jade-sheen { display: none; }
}
