:root {
  --zen-ink: #29231b;
  --zen-ink-soft: #5f5548;
  --zen-night: #211d17;
  --zen-night-soft: #312b22;
  --zen-paper: #f3ead8;
  --zen-paper-light: #fbf5e9;
  --zen-paper-deep: #dfcfb4;
  --zen-gold: #b79b67;
  --zen-gold-light: #d7bf8b;
  --zen-cinnabar: #9c4b38;
  --zen-line: rgba(73, 59, 41, 0.2);
  --zen-shadow: 0 18px 54px rgba(44, 34, 23, 0.16);
}

html {
  background: #d8c8ab;
  color-scheme: light;
}

html[data-zen-theme-mode="dark"] {
  background: #15110d !important;
  color-scheme: dark;
}

html[data-zen-theme-mode="dark"] body {
  background: #15110d !important;
  background-color: #15110d !important;
  color: #efe1c6;
}

body.song-temple {
  min-height: 100vh;
  overflow-x: hidden;
  background: #d8c8ab;
  color: var(--zen-ink);
  font-family: "Songti SC", STSong, "Noto Serif CJK SC", serif;
}

html[data-zen-theme-mode="dark"] body.song-temple {
  background: #15110d !important;
  background-color: #15110d !important;
  color: #efe1c6;
}

body.song-temple::before {
  position: fixed;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(39, 32, 24, 0.08), rgba(247, 236, 216, 0.04) 48%, rgba(45, 36, 26, 0.12)),
    repeating-linear-gradient(0deg, rgba(77, 60, 40, 0.018) 0 1px, transparent 1px 5px);
  content: "";
  pointer-events: none;
}

body.song-temple::after {
  position: fixed;
  z-index: 2;
  inset: 0;
  background: radial-gradient(circle at 50% 38%, transparent 0 38%, rgba(42, 32, 22, 0.1) 100%);
  content: "";
  pointer-events: none;
}

body.song-temple > audio + .fixed.inset-0.z-0.bg-gradient-to-b {
  background: #d8c8ab !important;
}

html[data-zen-theme-mode="dark"] body.song-temple > audio + .fixed.inset-0.z-0.bg-gradient-to-b {
  background: #15110d !important;
}

body.song-temple > .fixed.inset-0.z-0.bg-cover {
  background-image: url("/song/temple-lake-v4.webp") !important;
  background-position: center center !important;
  background-size: cover !important;
  opacity: 1 !important;
}

html[data-zen-theme-mode="dark"] body.song-temple > .fixed.inset-0.z-0.bg-cover {
  opacity: 0.52 !important;
  filter: sepia(0.12) saturate(0.65) brightness(0.48) contrast(1.08);
}

body.song-temple:not(.song-temple-home) > .fixed.inset-0.z-0.bg-cover {
  opacity: 0.3 !important;
  filter: sepia(0.15) saturate(0.72);
}

body.song-temple > .pointer-events-none.fixed.inset-0.z-0[style*="radial-gradient"] {
  background: linear-gradient(180deg, rgba(246, 235, 216, 0.05), rgba(228, 212, 185, 0.24)) !important;
}

body.song-temple:not(.song-temple-home) > .pointer-events-none.fixed.inset-0.z-0[style*="radial-gradient"] {
  background: rgba(238, 226, 204, 0.7) !important;
  backdrop-filter: blur(1px);
}

body.song-temple > .fixed.inset-x-0.top-0.z-0,
body.song-temple > .pointer-events-none.fixed.inset-0.z-0 span {
  display: none !important;
}

body.song-temple main {
  position: relative;
  z-index: 4;
  color: var(--zen-ink);
}

body.song-temple main > div {
  width: min(100%, 1320px);
  max-width: 1320px;
}

body.song-temple h1,
body.song-temple h2,
body.song-temple h3 {
  text-wrap: balance;
}

body.song-temple header {
  height: 86px !important;
  border-bottom: 1px solid rgba(218, 191, 141, 0.18);
  background:
    linear-gradient(180deg, rgba(31, 27, 21, 0.985), rgba(39, 34, 27, 0.96)) !important;
  box-shadow: 0 9px 28px rgba(35, 27, 18, 0.19);
  backdrop-filter: blur(18px);
}

body.song-temple header > div:first-child {
  width: min(100%, 1460px);
  max-width: 1460px !important;
  padding-inline: clamp(1.25rem, 3.8vw, 3.75rem) !important;
}

body.song-temple header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--zen-gold-light), transparent);
  content: "";
  opacity: 0.26;
  transform: scaleX(calc(0.18 + var(--song-scroll, 0) * 0.82));
  transform-origin: center;
}

body.song-temple header.song-scrolled {
  background: rgba(30, 26, 20, 0.985) !important;
  box-shadow: 0 12px 34px rgba(29, 23, 17, 0.26);
}

body.song-temple header a[href="/"] {
  position: relative;
  min-width: 215px;
  gap: 0.85rem !important;
  padding-left: 4.1rem;
  background: url("/favicon.svg") left center / 3.25rem 3.25rem no-repeat;
}

body.song-temple header a[href="/"] > svg {
  display: none;
}

body.song-temple header a[href="/"] > span {
  margin-top: -0.8rem;
  background: none !important;
  color: #ead9b8 !important;
  font-size: 1.52rem !important;
  letter-spacing: 0.1em !important;
  filter: none !important;
  -webkit-text-fill-color: #ead9b8 !important;
}

body.song-temple header a[href="/"]::after {
  position: absolute;
  top: 3.2rem;
  left: 4.15rem;
  color: rgba(225, 207, 173, 0.64);
  content: "以心向善 · 福泽家人";
  font-size: 0.67rem;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

body.song-temple header nav {
  gap: clamp(1.15rem, 2vw, 2rem) !important;
}

body.song-temple header nav a {
  position: relative;
  flex-shrink: 0;
  color: rgba(239, 225, 199, 0.76) !important;
  font-size: 1rem !important;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

body.song-temple header nav a::after {
  position: absolute;
  right: 54%;
  bottom: -1.05rem;
  left: 54%;
  height: 3px;
  border-radius: 2px;
  background: var(--zen-gold-light);
  content: "";
  opacity: 0;
  transition: 220ms ease;
}

body.song-temple header nav a:hover,
body.song-temple header nav a.song-current {
  color: #f3e5c8 !important;
}

body.song-temple header nav a.song-current::after {
  right: 32%;
  left: 32%;
  opacity: 1;
}

body.song-temple header button,
body.song-temple header > div a:not([href="/"]) {
  border-color: rgba(215, 191, 139, 0.4) !important;
  color: rgba(235, 219, 190, 0.78) !important;
}

.zen-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.zen-theme-toggle {
  display: inline-grid !important;
  width: 2.25rem !important;
  height: 2.25rem !important;
  place-items: center;
  padding: 0 !important;
  border: 1px solid rgba(215, 191, 139, 0.34) !important;
  border-radius: 50% !important;
  background: rgba(215, 191, 139, 0.08) !important;
  color: rgba(238, 222, 192, 0.82) !important;
  box-shadow: inset 0 1px 0 rgba(255, 246, 224, 0.08);
}

.zen-theme-toggle:hover {
  border-color: rgba(235, 215, 178, 0.64) !important;
  background: rgba(215, 191, 139, 0.14) !important;
  color: #f3e5c8 !important;
}

.zen-theme-toggle-icon {
  display: grid;
  width: 1.1rem;
  height: 1.1rem;
  place-items: center;
}

.zen-theme-icon {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  grid-area: 1 / 1;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.zen-theme-icon-sun {
  display: none;
}

body.zen-theme-dark .zen-theme-icon-moon {
  display: none;
}

body.zen-theme-dark .zen-theme-icon-sun {
  display: block;
}

.zen-language-switcher {
  position: fixed;
  z-index: 70;
  top: calc(env(safe-area-inset-top) + 6.15rem);
  right: clamp(0.8rem, 2vw, 1.5rem);
  color: rgba(235, 219, 190, 0.82);
  font-family: "Songti SC", STSong, "Noto Serif CJK SC", serif;
  font-size: 0.82rem;
  white-space: nowrap;
}

body.song-temple .zen-language-switcher {
  display: none !important;
}

.zen-language-button {
  display: inline-flex;
  min-width: 8rem;
  height: 2.65rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 0.85rem 0 0.55rem;
  border: 1px solid rgba(215, 191, 139, 0.42);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(53, 44, 33, 0.92), rgba(34, 29, 22, 0.92)),
    radial-gradient(circle at 18% 18%, rgba(243, 229, 200, 0.18), transparent 38%);
  box-shadow:
    0 12px 30px rgba(32, 25, 17, 0.22),
    inset 0 1px 0 rgba(255, 246, 224, 0.14);
  color: #f3e5c8;
  cursor: pointer;
  letter-spacing: 0.04em;
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.zen-language-button:hover,
.zen-language-open .zen-language-button {
  border-color: rgba(235, 215, 178, 0.72);
  box-shadow:
    0 16px 38px rgba(32, 25, 17, 0.28),
    inset 0 1px 0 rgba(255, 246, 224, 0.2);
  transform: translateY(-1px);
}

.zen-language-mark {
  display: grid;
  width: 1.72rem;
  height: 1.72rem;
  place-items: center;
  border: 1px solid rgba(235, 215, 178, 0.45);
  border-radius: 50%;
  background: rgba(183, 155, 103, 0.18);
  color: #f7e9c9;
  font-size: 0.72rem;
  letter-spacing: 0;
}

.zen-language-current {
  min-width: 4.2rem;
  text-align: left;
}

.zen-language-chevron {
  color: rgba(235, 219, 190, 0.78);
  font-size: 0.9rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.zen-language-open .zen-language-chevron {
  transform: rotate(180deg);
}

.zen-language-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  display: grid;
  width: 12.5rem;
  gap: 0.28rem;
  padding: 0.45rem;
  border: 1px solid rgba(111, 85, 52, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(252, 244, 228, 0.98), rgba(230, 214, 189, 0.98));
  box-shadow: 0 24px 62px rgba(38, 29, 19, 0.32);
  color: var(--zen-ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.35rem) scale(0.97);
  transform-origin: top right;
  transition: opacity 160ms ease, transform 160ms ease;
}

.zen-language-open .zen-language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.zen-language-menu button {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.65rem;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.45rem 0.65rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.zen-language-menu button:hover,
.zen-language-menu button.zen-language-active {
  background: rgba(156, 75, 56, 0.1);
  color: var(--zen-cinnabar);
}

.zen-language-menu button:hover {
  transform: translateX(-2px);
}

.zen-language-menu b {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(119, 91, 55, 0.1);
  color: #80643f;
  font-size: 0.74rem;
  font-weight: 500;
}

.zen-language-menu button.zen-language-active b {
  background: var(--zen-cinnabar);
  color: #f7e9c9;
}

@media (max-width: 760px) {
  .zen-language-switcher {
    top: calc(env(safe-area-inset-top) + 5.85rem);
    right: 0.72rem;
    font-size: 0.78rem;
  }

  .zen-language-button {
    min-width: 6.2rem;
    height: 2.45rem;
    padding-right: 0.65rem;
  }

  .zen-language-current {
    min-width: 2rem;
    max-width: 3.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .zen-language-menu {
    width: min(12rem, calc(100vw - 1.5rem));
  }
}

body.song-temple header button:hover,
body.song-temple header > div a:not([href="/"]):hover {
  background: rgba(215, 191, 139, 0.09) !important;
  color: #f3e5c8 !important;
}

body.song-temple main {
  padding-top: 86px !important;
}

/* Reference-inspired home stage */
body.song-temple-home .song-home-content,
body.song-temple-home main > div:first-child {
  padding-right: clamp(1rem, 4vw, 4rem) !important;
  padding-left: clamp(1rem, 4vw, 4rem) !important;
}

body.song-temple-home .song-hero,
body.song-temple-home main > div:first-child > section:first-child {
  position: relative;
  isolation: isolate;
  min-height: clamp(470px, 55vh, 590px) !important;
  overflow: hidden;
  padding: 0 !important;
  color: var(--zen-ink);
}

body.song-temple-home .song-hero > :not(.zen-hero-copy):not(.zen-ambient-motion),
body.song-temple-home main > div:first-child > section:first-child > :not(.zen-hero-copy):not(.zen-ambient-motion) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.zen-hero-copy {
  position: absolute;
  z-index: 3;
  top: 18%;
  left: 50%;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  color: #2b261f;
  filter: drop-shadow(0 1px 0 rgba(255, 250, 239, 0.4));
  transform: translateX(-28%);
  animation: zen-copy-enter 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.zen-ambient-motion {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.zen-scene-motion {
  position: fixed;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.zen-original-chime {
  position: absolute;
  top: calc(50vh - max(36.328vh, 24.219vw));
  left: calc(50vw - max(31.901vw, 47.852vh));
  width: max(4.948vw, 7.422vh);
  height: auto;
  filter: drop-shadow(0 5px 4px rgba(36, 28, 20, 0.2));
  transform-origin: 50% 10.7%;
  animation: zen-original-chime-sway 4.9s ease-in-out infinite;
  will-change: transform;
}

.zen-bird-sky {
  position: absolute;
  inset: 0;
}

.zen-bird-flight {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(1.15rem, 1.8vw, 2rem);
  height: clamp(0.7rem, 1.05vw, 1.2rem);
  offset-anchor: 50% 50%;
  offset-distance: 0%;
  will-change: offset-distance;
}

.zen-bird-shape {
  display: block;
  width: 100%;
  height: 100%;
  color: rgba(51, 44, 35, 0.88);
  filter: drop-shadow(0 1px 1px rgba(247, 234, 210, 0.34));
  transform: scaleX(var(--bird-facing, 1)) scale(var(--bird-scale, 0.8));
  transform-origin: center;
}

.zen-bird-shape svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.zen-bird-shape path {
  fill: currentColor;
}

.zen-bird-wing {
  transform-box: fill-box;
}

.zen-bird-wing-left {
  transform-origin: 100% 70%;
  animation: zen-wing-left var(--wing-speed, 620ms) ease-in-out infinite alternate;
}

.zen-bird-wing-right {
  transform-origin: 0 70%;
  animation: zen-wing-right var(--wing-speed, 620ms) ease-in-out infinite alternate;
}

.zen-bird-body {
  opacity: 0.94;
}

.zen-water-motion {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 25%;
  overflow: hidden;
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 28%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 28%, #000 82%, transparent);
}

.zen-water-motion::before,
.zen-water-motion::after {
  position: absolute;
  right: -12%;
  left: -12%;
  content: "";
}

.zen-water-motion::before {
  top: 28%;
  height: 44%;
  background:
    repeating-linear-gradient(
      177deg,
      transparent 0 11px,
      rgba(249, 238, 218, 0.24) 12px,
      transparent 13px 23px
    );
  filter: blur(0.6px);
  transform: skewX(-8deg);
  animation: zen-water-drift 9s ease-in-out infinite alternate;
}

.zen-water-motion::after {
  top: 43%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(252, 241, 219, 0.42), transparent);
  filter: blur(1px);
  animation: zen-water-glint 6.5s ease-in-out infinite;
}

.zen-water-ripple {
  position: absolute;
  width: clamp(5rem, 9vw, 9rem);
  height: clamp(0.7rem, 1.2vw, 1.15rem);
  border: 1px solid rgba(70, 60, 48, 0.28);
  border-radius: 50%;
  box-shadow: 0 1px 0 rgba(253, 243, 222, 0.48);
  opacity: 0;
  transform: scale(0.35);
  animation: zen-water-ripple 5.8s ease-out infinite;
}

.zen-water-ripple:nth-child(1) {
  top: 62%;
  left: 22%;
}

.zen-water-ripple:nth-child(2) {
  top: 75%;
  left: 61%;
  animation-delay: -2.1s;
}

.zen-water-ripple:nth-child(3) {
  top: 52%;
  left: 76%;
  animation-delay: -4.05s;
}

.zen-hero-prayer,
.zen-hero-motto,
.zen-hero-title {
  display: flex;
  align-items: flex-start;
}

.zen-hero-prayer {
  margin-top: 1.7rem;
  gap: 0.2rem;
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  line-height: 1.8;
}

.zen-hero-prayer::before {
  margin: 0.2rem 0.25rem 0 0;
  color: #5c4d37;
  content: "♢";
  font-size: 1.25rem;
}

.zen-hero-motto {
  margin-top: 1rem;
  font-size: 1.35rem;
  letter-spacing: 0.28em;
}

.zen-hero-title {
  position: relative;
  gap: 0.05rem;
  font-family: STKaiti, KaiTi, "Songti SC", serif;
  letter-spacing: 0.12em;
}

.zen-hero-title strong {
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: clamp(2.75rem, 4.5vw, 4.7rem);
  font-weight: 500;
  line-height: 1.08;
  white-space: nowrap;
}

.zen-hero-title strong span {
  display: block;
  height: 1.05em;
}

.zen-hero-title i {
  position: absolute;
  right: -1.6rem;
  bottom: 0.65rem;
  display: grid;
  width: 1.55rem;
  height: 2.65rem;
  place-items: center;
  border-radius: 2px;
  background: var(--zen-cinnabar);
  color: #f4dfc6;
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}

body.song-temple-home .song-feature-court,
body.song-temple-home main > div:first-child > section:nth-of-type(2) {
  position: relative;
  margin: -2.5rem 0 2.5rem;
  padding: 0;
  background: none !important;
}

body.song-temple-home .song-feature-court > div:first-child,
body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:first-child {
  display: none;
}

body.song-temple-home .song-feature-court > div:last-child,
body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 0.72rem !important;
}

body.song-temple-home .zen-service-item,
body.song-temple-home .song-feature-court > div:last-child > div,
body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div {
  grid-column: span 1;
  opacity: 0;
  animation: zen-card-enter 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(80ms + var(--card-index) * 55ms);
}

body.song-temple-home .zen-service-item:nth-child(n + 6),
body.song-temple-home .song-feature-court > div:last-child > div:nth-child(n + 6),
body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div:nth-child(n + 6) {
  grid-column: span 1;
}

body.song-temple-home .zen-service-card,
body.song-temple-home .song-feature-court > div:last-child > div > a > div,
body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div {
  position: relative;
  display: grid;
  min-height: 0;
  height: 184px;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 0.45rem 0.85rem;
  overflow: hidden;
  padding: 1.2rem 1rem !important;
  border: 1px solid rgba(103, 78, 46, 0.2) !important;
  border-radius: 9px !important;
  background: linear-gradient(145deg, rgba(250, 242, 226, 0.95), rgba(232, 217, 193, 0.91)) !important;
  box-shadow:
    0 8px 22px rgba(58, 43, 25, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.64) !important;
  color: var(--zen-ink) !important;
  backdrop-filter: blur(7px);
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

body.song-temple-home .zen-card-glow {
  position: absolute;
  inset: -1px;
  z-index: 0;
  display: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 255, 255, 0.55), transparent 30%);
  pointer-events: none;
}

body.song-temple-home .zen-service-card-glow-active .zen-card-glow,
body.song-temple-home a:hover .zen-card-glow,
body.song-temple-home a:focus-visible .zen-card-glow {
  display: block !important;
}

body.song-temple-home .zen-service-card > :not(.zen-card-glow),
body.song-temple-home .song-feature-court > div:last-child > div > a > div > :not(.zen-card-glow),
body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div > :not(.zen-card-glow) {
  position: relative;
  z-index: 1;
}

body.song-temple-home .zen-service-card::after,
body.song-temple-home .song-feature-court > div:last-child > div > a > div::after,
body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div::after {
  position: absolute;
  right: 1rem;
  bottom: 0.65rem;
  width: 3.2rem;
  height: 1rem;
  border-top: 1px solid rgba(156, 75, 56, 0.18);
  border-radius: 50%;
  content: "";
  opacity: 0.75;
  z-index: 0;
}

body.song-temple-home a:hover .zen-service-card,
body.song-temple-home .song-feature-court > div:last-child > div > a:hover > div,
body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div > a:hover > div {
  z-index: 2;
  border-color: rgba(135, 98, 55, 0.42) !important;
  box-shadow:
    0 18px 40px rgba(58, 43, 25, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
  transform: translateY(-6px);
}

body.song-temple-home .zen-service-card > .flex,
body.song-temple-home .song-feature-court > div:last-child > div > a > div > .flex,
body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div > .flex {
  display: flex !important;
  width: 4.3rem;
  height: 4.3rem;
  grid-row: 1 / 3;
  grid-column: 1;
  align-items: center !important;
  justify-content: center !important;
  align-self: center;
  border-radius: 50%;
  background: rgba(193, 166, 119, 0.19);
}

body.song-temple-home .zen-service-card > .flex svg,
body.song-temple-home .song-feature-court > div:last-child > div > a > div > .flex svg,
body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div > .flex svg {
  width: 2.25rem !important;
  height: 2.25rem !important;
  color: #8d7653 !important;
  stroke-width: 1.35;
}

body.song-temple-home .zen-service-card > .flex span,
body.song-temple-home .song-feature-court > div:last-child > div > a > div > .flex span,
body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div > .flex span {
  display: none;
}

body.song-temple-home .zen-service-card h3,
body.song-temple-home .song-feature-court > div:last-child > div > a > div h3,
body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div h3 {
  align-self: end;
  margin: 0;
  color: #30291f !important;
  overflow: hidden;
  font-size: clamp(0.94rem, 1.1vw, 1.08rem) !important;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.song-temple-home .zen-service-card > p,
body.song-temple-home .song-feature-court > div:last-child > div > a > div > p,
body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div > p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(55, 47, 38, 0.74) !important;
  font-size: 0.8rem !important;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

body.song-temple-home .zen-classic-library {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: end;
  padding-top: 0.25rem;
}

body.song-temple-home .song-home-content > section > div[style*="opacity:0"],
body.song-temple-home .song-home-content > section > div[style*="opacity: 0"],
body.song-temple-home main > div:first-child > section > div[style*="opacity:0"],
body.song-temple-home main > div:first-child > section > div[style*="opacity: 0"] {
  opacity: 1 !important;
  transform: none !important;
}

body.song-temple-home .zen-classic-book {
  min-width: 0;
  margin: 0;
}

body.song-temple-home .zen-classic-book picture {
  display: block;
}

body.song-temple-home .zen-classic-book img {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 7;
  border-radius: 7px;
  background: #d9c28f;
  box-shadow:
    0 14px 28px rgba(73, 50, 25, 0.18),
    0 2px 0 rgba(255, 255, 255, 0.45) inset;
  object-fit: cover;
}

body.song-temple-home .zen-classic-book figcaption {
  margin-top: 0.45rem;
  overflow: hidden;
  color: rgba(70, 54, 34, 0.78);
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.song-temple-home .zen-classic-text-grid {
  display: none !important;
}

body.song-temple-home main > div:first-child > section:nth-of-type(3) .grid.grid-cols-3.gap-2.pt-2.md\:grid-cols-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 0.85rem !important;
}

body.song-temple-home main > div:first-child > section:nth-of-type(3) .grid.grid-cols-3.gap-2.pt-2.md\:grid-cols-6 > div {
  display: grid;
  aspect-ratio: 3 / 4;
  place-items: center;
  padding: 0.9rem 0.4rem !important;
  border-color: rgba(103, 78, 46, 0.2) !important;
  border-radius: 7px !important;
  background:
    linear-gradient(90deg, rgba(84, 57, 33, 0.28) 0 13%, transparent 13%),
    linear-gradient(145deg, rgba(218, 193, 143, 0.95), rgba(152, 110, 67, 0.92)) !important;
  box-shadow: 0 14px 28px rgba(73, 50, 25, 0.16);
  color: #35271a !important;
  font-family: KaiTi, STKaiti, serif;
  font-size: 1rem !important;
  line-height: 1.15;
  text-align: center;
  writing-mode: vertical-rl;
}

@media (max-width: 900px) {
  body.song-temple-home .zen-classic-library,
  body.song-temple-home main > div:first-child > section:nth-of-type(3) .grid.grid-cols-3.gap-2.pt-2.md\:grid-cols-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 540px) {
  body.song-temple-home .zen-classic-library,
  body.song-temple-home main > div:first-child > section:nth-of-type(3) .grid.grid-cols-3.gap-2.pt-2.md\:grid-cols-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }
}

/* Daily quote rail */
.zen-daily-rail {
  position: fixed;
  z-index: 45;
  top: 51%;
  right: clamp(0.55rem, 1.7vw, 1.7rem);
  color: #f2e2c2;
  transform: translateY(-42%);
}

.zen-daily-trigger {
  display: flex;
  width: 3.55rem;
  min-height: 24rem;
  align-items: center;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.85rem 0.65rem;
  border: 1px solid rgba(231, 207, 164, 0.42);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(72, 61, 46, 0.68), rgba(54, 45, 34, 0.76));
  box-shadow: 0 12px 30px rgba(39, 30, 20, 0.2);
  color: inherit;
  backdrop-filter: blur(9px);
  transition: 220ms ease;
}

.zen-daily-trigger:hover {
  border-color: rgba(241, 220, 180, 0.72);
  background: linear-gradient(180deg, rgba(81, 67, 49, 0.82), rgba(55, 46, 34, 0.9));
  transform: translateX(-3px);
}

.zen-daily-trigger > span:not(.zen-daily-bell) {
  font-size: 1rem;
  letter-spacing: 0.2em;
  line-height: 1.35;
}

.zen-daily-bell {
  font-size: 1.2rem;
  writing-mode: horizontal-tb;
}

.zen-daily-trigger small {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(235, 215, 178, 0.3);
  color: rgba(242, 226, 196, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.zen-daily-trigger b {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  margin-top: auto;
  place-items: center;
  border: 1px solid rgba(235, 215, 178, 0.45);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 400;
  writing-mode: horizontal-tb;
}

.zen-daily-panel {
  position: absolute;
  top: 50%;
  right: 4.25rem;
  width: 21rem;
  padding: 2.2rem;
  border: 1px solid rgba(110, 84, 50, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(252, 244, 228, 0.97), rgba(231, 215, 190, 0.97));
  box-shadow: 0 24px 70px rgba(41, 31, 20, 0.3);
  color: var(--zen-ink);
  opacity: 0;
  pointer-events: none;
  transform: translate(1rem, -50%) scale(0.96);
  transform-origin: right center;
  transition: 220ms ease;
}

.zen-daily-open .zen-daily-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%) scale(1);
}

.zen-daily-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: none;
  color: var(--zen-ink-soft);
  font-size: 1.5rem;
}

.zen-daily-kicker {
  color: var(--zen-cinnabar);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
}

.zen-daily-panel blockquote {
  margin: 1.2rem 0 0.8rem;
  font-family: STKaiti, KaiTi, serif;
  font-size: 1.65rem;
  line-height: 1.8;
}

.zen-daily-panel cite {
  display: block;
  color: var(--zen-ink-soft);
  font-size: 0.82rem;
  font-style: normal;
  text-align: right;
}

.zen-daily-panel a {
  display: block;
  margin-top: 1.4rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(122, 91, 53, 0.28);
  border-radius: 4px;
  color: var(--zen-ink);
  text-align: center;
}

.zen-daily-panel a:hover {
  border-color: var(--zen-cinnabar);
  color: var(--zen-cinnabar);
}

.zen-feedback-rail {
  position: fixed;
  z-index: 44;
  right: 5.5rem;
  bottom: clamp(1rem, 3vw, 2rem);
  color: #f2e2c2;
}

.zen-feedback-trigger {
  min-width: 3.55rem;
  min-height: 2.4rem;
  border: 1px solid rgba(231, 207, 164, 0.38);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(72, 61, 46, 0.68), rgba(54, 45, 34, 0.78));
  box-shadow: 0 12px 30px rgba(39, 30, 20, 0.18);
  color: inherit;
  font-size: 0.82rem;
  letter-spacing: 0;
  backdrop-filter: blur(9px);
}

.zen-feedback-panel {
  position: absolute;
  right: 0;
  bottom: 3rem;
  width: 20rem;
  padding: 1.35rem;
  border: 1px solid rgba(110, 84, 50, 0.28);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(252, 244, 228, 0.98), rgba(231, 215, 190, 0.98));
  box-shadow: 0 24px 70px rgba(41, 31, 20, 0.28);
  color: var(--zen-ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.65rem) scale(0.96);
  transform-origin: right bottom;
  transition: 180ms ease;
}

.zen-feedback-open .zen-feedback-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.zen-feedback-close {
  position: absolute;
  top: 0.45rem;
  right: 0.65rem;
  width: 1.8rem;
  height: 1.8rem;
  border: 0;
  background: none;
  color: var(--zen-ink-soft);
  font-size: 1.35rem;
}

.zen-feedback-kicker {
  display: block;
  color: var(--zen-cinnabar);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
}

.zen-feedback-panel p {
  margin: 0.6rem 0 0.9rem;
  color: var(--zen-ink-soft);
  font-size: 0.86rem;
  line-height: 1.6;
}

.zen-feedback-rating {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.zen-feedback-rating button {
  height: 2.1rem;
  border: 1px solid rgba(122, 91, 53, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  color: var(--zen-ink-soft);
}

.zen-feedback-rating button.active {
  border-color: rgba(166, 58, 42, 0.45);
  background: rgba(166, 58, 42, 0.12);
  color: var(--zen-cinnabar);
}

.zen-feedback-panel textarea {
  width: 100%;
  resize: vertical;
  min-height: 5rem;
  border: 1px solid rgba(122, 91, 53, 0.24);
  border-radius: 8px;
  outline: 0;
  background: rgba(255, 255, 255, 0.32);
  color: var(--zen-ink);
  padding: 0.7rem 0.75rem;
  font: inherit;
}

.zen-feedback-submit {
  width: 100%;
  margin-top: 0.75rem;
  border: 1px solid rgba(166, 58, 42, 0.45);
  border-radius: 8px;
  background: var(--zen-cinnabar);
  color: #fff;
  padding: 0.68rem 0.9rem;
}

.zen-feedback-status {
  display: block;
  min-height: 1.1rem;
  margin-top: 0.5rem;
  color: var(--zen-ink-soft);
  font-size: 0.76rem;
}

/* Shared paper component system */
body.song-temple .text-gold,
body.song-temple .text-gold\/60,
body.song-temple .text-gold\/70,
body.song-temple .text-gold\/80,
body.song-temple .text-gold\/85,
body.song-temple .text-gold\/95,
body.song-temple .text-gold-dark {
  color: #8b7048 !important;
}

body.song-temple .text-paper,
body.song-temple .text-paper\/75,
body.song-temple .text-paper-dark,
body.song-temple .text-paper-dark\/45,
body.song-temple .text-paper-dark\/50,
body.song-temple .text-paper-dark\/55,
body.song-temple .text-paper-dark\/60,
body.song-temple .text-paper-dark\/65,
body.song-temple .text-paper-dark\/70,
body.song-temple .text-paper-dark\/75,
body.song-temple .text-paper-dark\/80,
body.song-temple .text-paper-dark\/85,
body.song-temple .text-paper-dark\/90,
body.song-temple .text-paper-dark\/95 {
  color: var(--zen-ink) !important;
}

body.song-temple .text-ink,
body.song-temple .text-ink-light,
body.song-temple .text-ink-muted {
  color: var(--zen-ink) !important;
}

body.song-temple .text-vermillion,
body.song-temple .text-vermillion-light {
  color: var(--zen-cinnabar) !important;
}

body.song-temple .bg-xuan-card,
body.song-temple .bg-xuan-card\/70,
body.song-temple .bg-xuan-card\/95,
body.song-temple .bg-xuan-card\/97,
body.song-temple .bg-xuan-surface,
body.song-temple .bg-xuan-surface\/30,
body.song-temple .bg-xuan-surface\/40,
body.song-temple .bg-xuan-surface\/50,
body.song-temple .bg-xuan-surface\/60,
body.song-temple .bg-xuan-surface\/70 {
  background-color: rgba(246, 237, 219, 0.88) !important;
}

body.song-temple .bg-paper-warm {
  background-color: rgba(247, 238, 220, 0.96) !important;
}

body.song-temple .bg-gold\/5,
body.song-temple .bg-gold\/10,
body.song-temple .bg-gold\/15,
body.song-temple .bg-gold\/20,
body.song-temple .bg-gold\/30,
body.song-temple .bg-gold\/40 {
  background-color: rgba(143, 112, 72, 0.09) !important;
}

body.song-temple .border-gold,
body.song-temple .border-gold\/10,
body.song-temple .border-gold\/15,
body.song-temple .border-gold\/20,
body.song-temple .border-gold\/25,
body.song-temple .border-gold\/30,
body.song-temple .border-gold\/40,
body.song-temple .border-gold\/50,
body.song-temple .border-gold\/60 {
  border-color: rgba(112, 84, 49, 0.23) !important;
}

body.song-temple [class*="shadow-paper"],
body.song-temple [class*="shadow-card"],
body.song-temple [class*="shadow-gold"] {
  box-shadow: var(--zen-shadow) !important;
}

body.song-temple button[aria-pressed="true"],
body.song-temple button.zen-naming-mode-card-active,
body.song-temple button.border-gold\/60.bg-gold\/10,
body.zen-naming-page button.border-gold\/40.bg-gold\/10,
body.song-temple [role="tab"][aria-selected="true"] {
  border-color: rgba(171, 124, 57, 0.58) !important;
  background-color: rgba(164, 119, 55, 0.13) !important;
  box-shadow:
    0 0 0 1px rgba(222, 190, 128, 0.36),
    0 0 22px rgba(196, 151, 75, 0.28),
    0 12px 30px rgba(72, 49, 22, 0.12),
    inset 0 1px 0 rgba(255, 248, 230, 0.52) !important;
}

body.song-temple.zen-theme-dark button[aria-pressed="true"],
body.song-temple.zen-theme-dark button.zen-naming-mode-card-active,
body.song-temple.zen-theme-dark button.border-gold\/60.bg-gold\/10,
body.zen-naming-page.zen-theme-dark button.border-gold\/40.bg-gold\/10,
body.song-temple.zen-theme-dark [role="tab"][aria-selected="true"] {
  border-color: rgba(235, 209, 160, 0.55) !important;
  background-color: rgba(211, 178, 105, 0.16) !important;
  box-shadow:
    0 0 0 1px rgba(237, 209, 154, 0.32),
    0 0 26px rgba(218, 181, 105, 0.28),
    0 14px 34px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 241, 211, 0.12) !important;
}

body.song-temple .rounded-lg.border.bg-xuan-card\/95,
body.song-temple .rounded-lg.border.bg-xuan-card\/97,
body.song-temple .rounded-lg.border.bg-paper-warm,
body.song-temple .rounded-xl.border.bg-xuan-card,
body.song-temple .rounded-xl.border.bg-xuan-surface,
body.song-temple .rounded-xl.border.bg-xuan-surface\/40,
body.song-temple .rounded-t-xl.rounded-b-xl {
  border: 1px solid rgba(106, 80, 48, 0.2) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(145deg, rgba(251, 244, 230, 0.97), rgba(232, 218, 194, 0.94)) !important;
  box-shadow:
    0 16px 46px rgba(57, 43, 27, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.62) !important;
  color: var(--zen-ink) !important;
  backdrop-filter: blur(7px);
}

body.song-temple input[class],
body.song-temple textarea[class],
body.song-temple select[class] {
  border-color: rgba(104, 79, 49, 0.3) !important;
  border-radius: 5px !important;
  background: rgba(255, 249, 238, 0.86) !important;
  color: var(--zen-ink) !important;
  box-shadow: inset 0 1px 4px rgba(66, 49, 29, 0.06);
}

body.song-temple input[class]::placeholder,
body.song-temple textarea[class]::placeholder {
  color: rgba(95, 79, 59, 0.54) !important;
}

body.song-temple input[class]:focus,
body.song-temple textarea[class]:focus,
body.song-temple select[class]:focus {
  border-color: var(--zen-gold) !important;
  box-shadow: 0 0 0 3px rgba(183, 155, 103, 0.14) !important;
  outline: none;
}

body.zen-qifu-page .song-page-content input[class],
body.zen-qifu-page .song-page-content textarea[class],
body.zen-qifu-page .song-page-content select[class] {
  box-sizing: border-box;
  width: 100% !important;
}

body.zen-qifu-page .zen-qifu-identity-grid {
  align-items: start;
}

body.zen-qifu-page .zen-qifu-identity-grid > label {
  align-content: start;
  display: grid !important;
  grid-template-rows: 1.5rem 3rem;
  gap: 0.5rem;
  margin: 0 !important;
}

body.zen-qifu-page .zen-qifu-identity-grid > label > span:first-child {
  display: flex;
  grid-row: 1;
  height: 1.5rem;
  align-items: center;
  line-height: 1.5rem;
}

body.zen-qifu-page .zen-qifu-identity-grid > label > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.zen-qifu-page .zen-qifu-identity-grid input,
body.zen-qifu-page .zen-qifu-identity-grid select {
  align-self: start;
  grid-row: 2;
  min-height: 3rem !important;
  height: 3rem !important;
}

body.zen-qifu-page .zen-qifu-identity-grid select {
  position: relative;
  top: 0;
}

.zen-withdraw-identity-note {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(156, 75, 56, 0.22);
  border-radius: 8px;
  background: rgba(156, 75, 56, 0.07);
  color: var(--zen-ink);
}

.zen-withdraw-identity-note strong {
  color: var(--zen-cinnabar);
  font-family: STKaiti, KaiTi, serif;
  font-size: 1rem;
  font-weight: 500;
}

.zen-withdraw-identity-note span,
.zen-withdraw-identity-note small {
  color: rgba(71, 57, 39, 0.78);
  font-size: 0.78rem;
  line-height: 1.65;
}

.zen-withdraw-phone-confirm {
  display: grid;
  gap: 0.45rem;
}

.zen-withdraw-phone-confirm > span {
  color: rgba(71, 57, 39, 0.72);
  font-size: 0.78rem;
}

body.zen-naming-page .song-page-content {
  gap: 1.15rem;
}

.zen-naming-mode {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zen-naming-mode-card {
  display: grid;
  gap: 0.45rem;
  min-height: 112px;
  padding: 1rem;
  border: 1px solid rgba(106, 80, 48, 0.18);
  border-radius: 8px;
  background: rgba(247, 238, 220, 0.68);
  color: var(--zen-ink);
  text-align: left;
  box-shadow: 0 12px 32px rgba(57, 43, 27, 0.08);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.zen-naming-mode-card:hover,
.zen-naming-mode-card-active {
  border-color: rgba(156, 75, 56, 0.34);
  background:
    linear-gradient(145deg, rgba(249, 241, 226, 0.9), rgba(232, 218, 194, 0.82));
  box-shadow: 0 16px 42px rgba(57, 43, 27, 0.13);
}

.zen-naming-mode-card strong {
  color: var(--zen-cinnabar);
  font-family: STKaiti, KaiTi, serif;
  font-size: 1.18rem;
  font-weight: 500;
}

.zen-naming-mode-card span {
  color: rgba(71, 57, 39, 0.76);
  font-size: 0.92rem;
  line-height: 1.65;
}

.zen-native-naming-node[hidden],
.zen-name-evaluation-panel[hidden] {
  display: none !important;
}

.zen-naming-supplement-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zen-naming-supplement-grid label {
  display: grid;
  gap: 0.4rem;
}

.zen-naming-supplement-grid span {
  color: rgba(71, 57, 39, 0.74);
  font-size: 0.82rem;
}

body.zen-naming-page .song-page-content input[class],
body.zen-naming-page .song-page-content select[class] {
  box-sizing: border-box;
  width: 100% !important;
  min-height: 2.75rem;
  border: 1px solid rgba(104, 79, 49, 0.3) !important;
  border-radius: 5px !important;
  background: rgba(255, 249, 238, 0.86) !important;
  color: var(--zen-ink) !important;
  box-shadow: inset 0 1px 4px rgba(66, 49, 29, 0.06);
}

.zen-naming-supplement-grid small {
  color: rgba(71, 57, 39, 0.56);
  font-size: 0.74rem;
  line-height: 1.55;
}

.zen-naming-principle {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(106, 80, 48, 0.14);
  border-left: 3px solid rgba(156, 75, 56, 0.46);
  border-radius: 8px;
  background: rgba(255, 249, 238, 0.46);
  color: rgba(71, 57, 39, 0.78);
  font-size: 0.9rem;
  line-height: 1.7;
}

.zen-naming-principle strong {
  color: var(--zen-cinnabar);
  font-family: STKaiti, KaiTi, serif;
  font-weight: 500;
}

.zen-name-evaluation-birth-backdrop[hidden],
.zen-name-evaluation-birth-menu[hidden] {
  display: none !important;
}

.zen-name-evaluation-output {
  margin-top: 1rem;
}

.zen-name-evaluation-loading,
.zen-name-evaluation-error {
  padding: 0.85rem 0;
  color: rgba(71, 57, 39, 0.72);
  text-align: center;
}

.zen-name-evaluation-error {
  color: var(--zen-cinnabar);
}

.zen-name-evaluation-result-card {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(106, 80, 48, 0.16);
}

.zen-name-evaluation-result-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.zen-name-evaluation-rank {
  flex: 0 0 auto;
  color: var(--zen-gold);
  font-family: STKaiti, KaiTi, serif;
  font-size: 2rem;
  line-height: 1;
}

.zen-name-evaluation-summary {
  flex: 1 1 auto;
  min-width: 0;
}

.zen-name-evaluation-score {
  display: grid;
  min-width: 4.6rem;
  justify-items: center;
  gap: 0.15rem;
  color: var(--zen-cinnabar);
  text-align: center;
}

.zen-name-evaluation-score span {
  font-family: STKaiti, KaiTi, serif;
  font-size: 0.95rem;
  line-height: 1;
}

.zen-name-evaluation-score strong {
  color: var(--zen-cinnabar);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  line-height: 1;
}

.zen-name-evaluation-summary h3 {
  color: var(--zen-ink);
  font-family: STKaiti, KaiTi, serif;
  font-size: 1.75rem;
  font-weight: 500;
}

.zen-name-evaluation-summary p,
.zen-name-evaluation-result-card p,
.zen-name-evaluation-result-card li {
  color: rgba(71, 57, 39, 0.78);
  line-height: 1.75;
}

.zen-name-evaluation-scores {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.zen-name-evaluation-scores div {
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(106, 80, 48, 0.13);
  border-radius: 7px;
  background: rgba(255, 249, 238, 0.42);
}

.zen-name-evaluation-scores span,
.zen-name-evaluation-result-card h4 {
  display: block;
  color: rgba(71, 57, 39, 0.64);
  font-size: 0.78rem;
}

.zen-name-evaluation-scores strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--zen-cinnabar);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.zen-name-evaluation-result-card ul {
  display: grid;
  gap: 0.35rem;
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

body.song-temple [data-modal="true"] {
  position: fixed !important;
  inset: 0 !important;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(47, 38, 27, 0.34), rgba(87, 68, 43, 0.18)) !important;
  backdrop-filter: blur(8px);
}

body.song-temple [data-modal="true"] > div {
  min-width: 0;
  max-width: min(28rem, 100%) !important;
  border: 1px solid rgba(106, 80, 48, 0.22) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(145deg, rgba(249, 241, 226, 0.96), rgba(229, 214, 190, 0.94)) !important;
  box-shadow:
    0 22px 70px rgba(42, 31, 20, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.54) !important;
  color: var(--zen-ink) !important;
}

body.song-temple [data-modal="true"] [class*="bg-xuan"],
body.song-temple [data-modal="true"] [class*="bg-black"] {
  background-color: rgba(246, 237, 219, 0.9) !important;
  color: var(--zen-ink) !important;
}

body.song-temple [data-modal="true"] [class*="from-gold"],
body.song-temple [data-modal="true"] [class*="from-xuan"] {
  background:
    linear-gradient(145deg, rgba(249, 241, 226, 0.9), rgba(229, 214, 190, 0.84)) !important;
}

body.song-temple [data-modal="true"] [class*="text-paper"],
body.song-temple [data-modal="true"] [class*="text-ink"] {
  color: var(--zen-ink) !important;
}

body.song-temple [data-modal="true"] button[aria-label="关闭"] {
  background: rgba(122, 91, 53, 0.1) !important;
  color: rgba(69, 53, 35, 0.72) !important;
}

body.song-temple .song-page-content [class*="from-xuan-card"][class*="to-xuan-card"],
body.song-temple .song-page-content [class*="from-xuan-card"][class*="via-xuan-surface"] {
  border: 1px solid rgba(106, 80, 48, 0.2) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(145deg, rgba(251, 244, 230, 0.94), rgba(232, 218, 194, 0.88)) !important;
  box-shadow:
    0 16px 46px rgba(57, 43, 27, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.52) !important;
  color: var(--zen-ink) !important;
}

body.song-temple .song-page-content [class*="from-xuan-card"][class*="to-xuan-card"] [class*="text-paper"],
body.song-temple .song-page-content [class*="from-xuan-card"][class*="via-xuan-surface"] [class*="text-paper"] {
  color: var(--zen-ink) !important;
}

body.song-temple button.bg-vermillion,
body.song-temple a.bg-vermillion {
  border: 1px solid rgba(101, 43, 31, 0.54);
  border-radius: 5px !important;
  background: linear-gradient(180deg, #a85843, #8e402f) !important;
  box-shadow:
    0 10px 28px rgba(84, 39, 28, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  color: #fff8eb !important;
}

body.song-temple button.border-gold\/40.bg-transparent {
  border-color: rgba(112, 84, 49, 0.35) !important;
  background: rgba(247, 238, 220, 0.26) !important;
  color: var(--zen-ink) !important;
}

body.song-temple .gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--zen-gold), transparent) !important;
}

.song-pressed {
  transform: translateY(1px) scale(0.985) !important;
}

body.zen-navigating main {
  opacity: 0.55;
  transform: translateY(4px);
  transition: 180ms ease;
}

/* Inner pages */
body.song-temple .song-page-content {
  display: grid;
  gap: 1.6rem;
  max-width: 1160px !important;
  padding-top: 2.3rem;
}

body.song-temple .song-page-heading {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 2rem !important;
  border: 1px solid rgba(107, 81, 49, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(248, 239, 222, 0.94), rgba(246, 234, 212, 0.78)),
    url("/song/temple-lake-v3.webp") center 56% / cover !important;
  box-shadow: var(--zen-shadow);
  color: var(--zen-ink) !important;
}

body.song-temple .song-page-heading::before,
body.song-temple .song-page-heading::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

body.song-temple .song-page-heading::before {
  inset: 0;
  background: linear-gradient(90deg, rgba(249, 241, 226, 0.92) 0 35%, rgba(248, 239, 222, 0.42) 68%, rgba(223, 205, 174, 0.16));
}

body.song-temple .song-page-heading::after {
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--zen-cinnabar);
}

body.song-temple .song-page-heading > * {
  position: relative;
  z-index: 1;
}

.zen-page-kicker {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--zen-cinnabar);
  font-size: 0.75rem;
  letter-spacing: 0.36em;
}

body.song-temple .song-page-heading h1,
body.song-temple .song-page-heading h2,
body.song-temple .song-page-heading h3,
body.song-temple .song-page-heading p,
body.song-temple .song-page-heading [class*="text-paper"],
body.song-temple .song-page-heading [class*="text-gold"] {
  color: var(--zen-ink) !important;
}

body.song-temple .song-page-heading h1 {
  font-family: STKaiti, KaiTi, serif;
  font-size: clamp(2.25rem, 4vw, 3.5rem) !important;
  font-weight: 500;
}

body.song-temple .song-page-block {
  position: relative;
}

body.song-temple footer {
  border-color: rgba(104, 79, 49, 0.18) !important;
}

html.zen-more-page-root,
html.zen-more-page-root body.song-temple {
  overflow-x: hidden !important;
  overscroll-behavior-x: none;
}

body.song-temple.zen-more-page,
body.song-temple.zen-more-page main,
body.song-temple.zen-more-page .song-page-content {
  max-width: 100vw;
  overflow-x: clip;
}

body.song-temple.zen-more-page {
  touch-action: pan-y;
}

@media (max-width: 767px) {
  body.song-temple.zen-more-page .song-page-block > [class*="bg-xuan-card"][class*="p-card-pad"],
  body.song-temple.zen-more-page main > div > div > [class*="bg-xuan-card"][class*="p-card-pad"] {
    padding-inline: 1rem !important;
  }
}

/* Mobile navigation */
body.song-temple .fixed.inset-x-0.bottom-0.z-40 {
  border-color: rgba(221, 197, 153, 0.16) !important;
  background: rgba(36, 31, 24, 0.8) !important;
  box-shadow: 0 -8px 24px rgba(45, 34, 23, 0.18);
  -webkit-backdrop-filter: blur(12px) saturate(135%) !important;
  backdrop-filter: blur(12px) saturate(135%) !important;
}

body.song-temple .fixed.inset-x-0.bottom-0.z-40 a {
  color: rgba(239, 224, 197, 0.58) !important;
}

body.song-temple .fixed.inset-x-0.bottom-0.z-40 a.song-current {
  color: #f1d9aa !important;
}

body.song-temple button.fixed[class*="bottom-"] {
  border-color: rgba(224, 199, 154, 0.35) !important;
  background: rgba(48, 40, 30, 0.96) !important;
  color: #efd5a4 !important;
  box-shadow: 0 12px 32px rgba(39, 29, 19, 0.26) !important;
}

/* Public account login */
body.zen-login-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(36, 29, 21, 0.42), rgba(235, 220, 194, 0.12) 50%, rgba(36, 29, 21, 0.34)),
    url("/song/temple-lake-v3.webp") center / cover fixed;
}

body.zen-login-page::before {
  z-index: 0;
  background: linear-gradient(180deg, rgba(30, 25, 19, 0.22), rgba(224, 205, 174, 0.16));
}

body.zen-login-page .ambient {
  display: none;
}

body.zen-login-page .login-shell {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  min-height: 100svh;
  place-items: center;
  padding: 2rem 1rem;
}

body.zen-login-page .login-card {
  width: min(100%, 440px);
  padding: clamp(2.2rem, 6vw, 3.5rem);
  border: 1px solid rgba(112, 84, 49, 0.28);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(252, 244, 228, 0.97), rgba(232, 217, 193, 0.95));
  box-shadow: 0 28px 90px rgba(42, 31, 20, 0.34);
  color: var(--zen-ink);
  backdrop-filter: blur(12px);
}

body.zen-login-page .brand-mark {
  width: 5.4rem;
  height: 5.4rem;
  margin: 0 auto 1.2rem;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: url("/favicon.svg") center / contain no-repeat;
  color: transparent;
}

body.zen-login-page .eyebrow {
  color: var(--zen-cinnabar);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-align: center;
}

body.zen-login-page h1 {
  margin: 0.7rem 0;
  color: var(--zen-ink);
  font-family: STKaiti, KaiTi, serif;
  font-size: 2.3rem;
  font-weight: 500;
  text-align: center;
}

body.zen-login-page .muted {
  color: var(--zen-ink-soft);
  line-height: 1.8;
  text-align: center;
}

body.zen-login-page .primary {
  width: 100%;
  margin-top: 1.5rem;
  border: 1px solid rgba(101, 43, 31, 0.54);
  border-radius: 5px;
  background: linear-gradient(180deg, #a85843, #8e402f);
  color: #fff8eb;
  box-shadow: 0 10px 28px rgba(84, 39, 28, 0.2);
}

body.zen-login-page .primary:disabled {
  opacity: 0.56;
}

body.zen-login-page .login-card > a {
  color: #80643f !important;
}

body.zen-login-page .login-card > a:hover {
  color: var(--zen-cinnabar) !important;
}

@media (max-width: 1180px) {
  body.song-temple header nav {
    gap: 0.9rem !important;
  }

  body.song-temple header nav a {
    font-size: 0.86rem !important;
  }

  body.song-temple-home .song-feature-court > div:last-child {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.song-temple-home .zen-service-item,
  body.song-temple-home .zen-service-item:nth-child(n + 6) {
    grid-column: span 1;
  }

  body.song-temple-home .zen-service-item:last-child {
    grid-column: span 1;
  }
}

@media (max-width: 767px) {
  body.song-temple {
    background: #d7c6a7;
  }

  body.zen-login-page {
    background:
      linear-gradient(180deg, rgba(43, 34, 25, 0.22), rgba(226, 208, 176, 0.12)),
      url("/song/temple-lake-v3.webp") 58% center / cover fixed;
  }

  body.song-temple > .fixed.inset-0.z-0.bg-cover {
    background-position: 58% center !important;
  }

  body.song-temple::after {
    background: linear-gradient(180deg, rgba(243, 229, 202, 0.15), rgba(222, 203, 170, 0.25));
  }

  body.song-temple header {
    height: 62px !important;
  }

  body.song-temple header > div:first-child {
    padding-inline: 0.9rem !important;
  }

  body.song-temple header a[href="/"] {
    min-width: auto;
    gap: 0.55rem !important;
    padding-left: 2.9rem;
    background-size: 2.35rem 2.35rem;
  }

  body.song-temple header a[href="/"] > svg {
    display: none;
  }

  body.song-temple header a[href="/"] > span {
    margin-top: 0;
    font-size: 1.25rem !important;
  }

  body.song-temple header a[href="/"]::after,
  body.song-temple header nav {
    display: none;
  }

  body.song-temple main {
    padding-top: 62px !important;
  }

  body.song-temple main > div {
    padding-right: 0.75rem !important;
    padding-left: 0.75rem !important;
  }

  body.song-temple-home .song-hero {
    min-height: 455px !important;
  }

  .zen-original-chime {
    display: none;
  }

  .zen-bird-flight {
    width: 1.65rem;
    height: 0.95rem;
  }

  .zen-water-motion {
    bottom: 0;
    height: 25%;
    opacity: 0.54;
  }

  .zen-hero-copy {
    top: 15%;
    left: 50%;
    gap: 1rem;
    transform: translateX(-24%);
  }

  .zen-hero-prayer {
    display: none;
  }

  .zen-hero-motto {
    margin-top: 1.2rem;
    font-size: 1rem;
  }

  .zen-hero-title strong {
    font-size: 2.7rem;
  }

  body.song-temple-home .song-feature-court,
  body.song-temple-home main > div:first-child > section:nth-of-type(2) {
    margin-top: -1.25rem;
  }

  body.song-temple-home .song-feature-court > div:last-child,
  body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child {
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
  }

  body.song-temple-home .zen-service-item,
  body.song-temple-home .zen-service-item:nth-child(n + 6),
  body.song-temple-home .zen-service-item:last-child,
  body.song-temple-home .song-feature-court > div:last-child > div,
  body.song-temple-home .song-feature-court > div:last-child > div:nth-child(n + 6),
  body.song-temple-home .song-feature-court > div:last-child > div:last-child,
  body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div,
  body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div:nth-child(n + 6),
  body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div:last-child {
    grid-column: span 1;
  }

  body.song-temple-home .zen-service-item:last-child,
  body.song-temple-home .song-feature-court > div:last-child > div:last-child,
  body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div:last-child {
    grid-column: 1 / -1;
  }

  body.song-temple-home .zen-service-card,
  body.song-temple-home .song-feature-court > div:last-child > div > a > div,
  body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div {
    min-height: 124px;
    height: auto;
    grid-template-columns: 3.1rem minmax(0, 1fr);
    gap: 0.35rem 0.55rem;
    padding: 1rem 0.8rem !important;
  }

  body.song-temple-home .zen-service-card > .flex,
  body.song-temple-home .song-feature-court > div:last-child > div > a > div > .flex,
  body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div > .flex {
    width: 2.9rem;
    height: 2.9rem;
  }

  body.song-temple-home .zen-service-card > .flex svg,
  body.song-temple-home .song-feature-court > div:last-child > div > a > div > .flex svg,
  body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div > .flex svg {
    width: 1.85rem !important;
    height: 1.85rem !important;
  }

  body.song-temple-home .zen-service-card h3,
  body.song-temple-home .song-feature-court > div:last-child > div > a > div h3,
  body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div h3 {
    font-size: 0.9rem !important;
  }

  body.song-temple-home .zen-service-card > p,
  body.song-temple-home .song-feature-court > div:last-child > div > a > div > p,
  body.song-temple-home main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div > p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.75rem !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  body.song-temple-home .zen-classic-library {
    display: none !important;
  }

  body.song-temple-home .zen-classic-text-grid,
  body.song-temple-home main > div:first-child > section:nth-of-type(3) .grid.grid-cols-3.gap-2.pt-2.md\:grid-cols-6 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
  }

  body.song-temple-home .zen-classic-text-grid > div,
  body.song-temple-home main > div:first-child > section:nth-of-type(3) .grid.grid-cols-3.gap-2.pt-2.md\:grid-cols-6 > div {
    display: block;
    aspect-ratio: auto;
    padding: 0.72rem 0.35rem !important;
    border-color: rgba(235, 209, 160, 0.15) !important;
    border-radius: 0.5rem !important;
    background: rgba(255, 248, 231, 0.06) !important;
    box-shadow: none !important;
    color: rgba(239, 225, 199, 0.82) !important;
    font-family: inherit;
    font-size: 0.82rem !important;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    writing-mode: horizontal-tb;
  }

  body.song-temple-home:not(.zen-theme-dark) .zen-classic-text-grid > div,
  body.song-temple-home:not(.zen-theme-dark) main > div:first-child > section:nth-of-type(3) .grid.grid-cols-3.gap-2.pt-2.md\:grid-cols-6 > div {
    border-color: rgba(122, 86, 45, 0.28) !important;
    background:
      linear-gradient(180deg, rgba(255, 250, 237, 0.96), rgba(231, 211, 174, 0.9)) !important;
    box-shadow:
      0 8px 18px rgba(95, 67, 34, 0.12),
      0 1px 0 rgba(255, 255, 255, 0.7) inset !important;
    color: #4a3520 !important;
  }

  .zen-daily-rail {
    top: auto;
    right: 0.75rem;
    bottom: 5.65rem;
    transform: none;
  }

  .zen-daily-trigger {
    width: 3rem;
    min-height: 3rem;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    writing-mode: horizontal-tb;
  }

  .zen-daily-trigger > span:not(.zen-daily-bell),
  .zen-daily-trigger small,
  .zen-daily-trigger b {
    display: none;
  }

  .zen-daily-trigger .zen-daily-bell {
    font-size: 1.1rem;
  }

  .zen-daily-panel {
    top: auto;
    right: 0;
    bottom: 3.7rem;
    width: min(20rem, calc(100vw - 1.5rem));
    transform: translateY(0.75rem) scale(0.96);
    transform-origin: right bottom;
  }

  .zen-daily-open .zen-daily-panel {
    transform: translateY(0) scale(1);
  }

  .zen-feedback-rail {
    right: 4.3rem;
    bottom: 5.95rem;
  }

  .zen-feedback-trigger {
    min-width: 3rem;
    min-height: 3rem;
    border-radius: 50%;
    padding: 0;
    font-size: 0.72rem;
  }

  .zen-feedback-panel {
    right: -3.55rem;
    bottom: 3.75rem;
    width: min(20rem, calc(100vw - 1.5rem));
  }

  body.song-temple .song-page-content {
    padding-top: 1rem;
  }

  body.song-temple .song-page-heading {
    min-height: 180px;
    padding: 2.7rem 1rem !important;
    background-position: 64% 54% !important;
  }

  body.song-temple .song-page-heading::before {
    background: rgba(247, 237, 217, 0.76);
  }

  .zen-naming-mode,
  .zen-naming-supplement-grid,
  .zen-name-evaluation-scores {
    grid-template-columns: 1fr;
  }

  .zen-naming-mode-card {
    min-height: 0;
    padding: 0.9rem;
  }

  .zen-name-evaluation-score strong {
    font-size: 2.55rem;
  }

  body.song-temple .fixed.inset-x-0.bottom-0.z-40 {
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(222, 198, 155, 0.18) !important;
    border-radius: 0 !important;
  }
}

body.song-temple.zen-theme-dark {
  --zen-ink: #efe1c6;
  --zen-ink-soft: #c9b99d;
  --zen-night: #15110d;
  --zen-night-soft: #211a14;
  --zen-paper: #2a231b;
  --zen-paper-light: #352c22;
  --zen-paper-deep: #18130f;
  --zen-gold: #d0b36f;
  --zen-gold-light: #ecd08f;
  --zen-cinnabar: #c86d55;
  --zen-line: rgba(235, 209, 160, 0.18);
  --zen-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  background: #15110d !important;
  background-color: #15110d !important;
  color: var(--zen-ink);
}

body.song-temple.zen-theme-dark::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(39, 30, 21, 0.2) 45%, rgba(0, 0, 0, 0.36)),
    repeating-linear-gradient(0deg, rgba(238, 213, 170, 0.025) 0 1px, transparent 1px 5px);
}

body.song-temple.zen-theme-dark::after {
  background: radial-gradient(circle at 50% 35%, transparent 0 32%, rgba(0, 0, 0, 0.38) 100%);
}

body.song-temple.zen-theme-dark > audio + .fixed.inset-0.z-0.bg-gradient-to-b {
  background: #15110d !important;
}

body.song-temple.zen-theme-dark > .fixed.inset-0.z-0.bg-cover {
  opacity: 0.52 !important;
  filter: sepia(0.12) saturate(0.65) brightness(0.48) contrast(1.08);
}

body.song-temple.zen-theme-dark:not(.song-temple-home) > .fixed.inset-0.z-0.bg-cover {
  opacity: 0.32 !important;
}

body.song-temple.zen-theme-dark > .pointer-events-none.fixed.inset-0.z-0[style*="radial-gradient"],
body.song-temple.zen-theme-dark:not(.song-temple-home) > .pointer-events-none.fixed.inset-0.z-0[style*="radial-gradient"] {
  background: linear-gradient(180deg, rgba(11, 9, 7, 0.52), rgba(31, 24, 17, 0.84)) !important;
  backdrop-filter: blur(1px);
}

body.song-temple.zen-theme-dark header,
body.song-temple.zen-theme-dark header.song-scrolled {
  border-bottom-color: rgba(235, 209, 160, 0.16);
  background:
    linear-gradient(180deg, rgba(17, 14, 11, 0.99), rgba(24, 20, 15, 0.98)) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

body.song-temple.zen-theme-dark .text-gold,
body.song-temple.zen-theme-dark .text-gold\/60,
body.song-temple.zen-theme-dark .text-gold\/70,
body.song-temple.zen-theme-dark .text-gold\/80,
body.song-temple.zen-theme-dark .text-gold\/85,
body.song-temple.zen-theme-dark .text-gold\/95,
body.song-temple.zen-theme-dark .text-gold-dark {
  color: #d7bd80 !important;
}

body.song-temple.zen-theme-dark .bg-xuan-card,
body.song-temple.zen-theme-dark .bg-xuan-card\/70,
body.song-temple.zen-theme-dark .bg-xuan-card\/95,
body.song-temple.zen-theme-dark .bg-xuan-card\/97,
body.song-temple.zen-theme-dark .bg-xuan-surface,
body.song-temple.zen-theme-dark .bg-xuan-surface\/30,
body.song-temple.zen-theme-dark .bg-xuan-surface\/40,
body.song-temple.zen-theme-dark .bg-xuan-surface\/50,
body.song-temple.zen-theme-dark .bg-xuan-surface\/60,
body.song-temple.zen-theme-dark .bg-xuan-surface\/70 {
  background-color: rgba(43, 36, 28, 0.9) !important;
}

body.song-temple.zen-theme-dark .bg-paper-warm,
body.song-temple.zen-theme-dark .bg-gold\/5,
body.song-temple.zen-theme-dark .bg-gold\/10,
body.song-temple.zen-theme-dark .bg-gold\/15,
body.song-temple.zen-theme-dark .bg-gold\/20,
body.song-temple.zen-theme-dark .bg-gold\/30,
body.song-temple.zen-theme-dark .bg-gold\/40 {
  background-color: rgba(208, 179, 111, 0.12) !important;
}

body.song-temple.zen-theme-dark .border-gold,
body.song-temple.zen-theme-dark .border-gold\/10,
body.song-temple.zen-theme-dark .border-gold\/15,
body.song-temple.zen-theme-dark .border-gold\/20,
body.song-temple.zen-theme-dark .border-gold\/25,
body.song-temple.zen-theme-dark .border-gold\/30,
body.song-temple.zen-theme-dark .border-gold\/40,
body.song-temple.zen-theme-dark .border-gold\/50,
body.song-temple.zen-theme-dark .border-gold\/60 {
  border-color: rgba(235, 209, 160, 0.22) !important;
}

body.song-temple.zen-theme-dark .rounded-lg.border.bg-xuan-card\/95,
body.song-temple.zen-theme-dark .rounded-lg.border.bg-xuan-card\/97,
body.song-temple.zen-theme-dark .rounded-lg.border.bg-paper-warm,
body.song-temple.zen-theme-dark .rounded-xl.border.bg-xuan-card,
body.song-temple.zen-theme-dark .rounded-xl.border.bg-xuan-surface,
body.song-temple.zen-theme-dark .rounded-xl.border.bg-xuan-surface\/40,
body.song-temple.zen-theme-dark .rounded-t-xl.rounded-b-xl,
body.song-temple.zen-theme-dark .zen-name-evaluation-panel,
body.song-temple.zen-theme-dark .song-page-content [class*="from-xuan-card"][class*="to-xuan-card"],
body.song-temple.zen-theme-dark .song-page-content [class*="from-xuan-card"][class*="via-xuan-surface"] {
  border-color: rgba(235, 209, 160, 0.18) !important;
  background:
    linear-gradient(145deg, rgba(47, 39, 30, 0.94), rgba(31, 25, 19, 0.92)) !important;
  box-shadow:
    0 18px 56px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 241, 211, 0.08) !important;
  color: var(--zen-ink) !important;
}

body.song-temple.zen-theme-dark input[class],
body.song-temple.zen-theme-dark textarea[class],
body.song-temple.zen-theme-dark select[class] {
  border-color: rgba(235, 209, 160, 0.2) !important;
  background: rgba(22, 18, 14, 0.72) !important;
  color: var(--zen-ink) !important;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.24);
}

body.song-temple.zen-theme-dark input[class]::placeholder,
body.song-temple.zen-theme-dark textarea[class]::placeholder {
  color: rgba(235, 222, 196, 0.45) !important;
}

body.song-temple.zen-theme-dark input[class]:focus,
body.song-temple.zen-theme-dark textarea[class]:focus,
body.song-temple.zen-theme-dark select[class]:focus {
  border-color: rgba(236, 208, 143, 0.62) !important;
  box-shadow: 0 0 0 3px rgba(208, 179, 111, 0.15) !important;
}

body.song-temple.zen-theme-dark .zen-naming-mode-card {
  border-color: rgba(235, 209, 160, 0.16);
  background: rgba(44, 37, 29, 0.7);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

body.song-temple.zen-theme-dark .zen-naming-mode-card:hover,
body.song-temple.zen-theme-dark .zen-naming-mode-card-active {
  border-color: rgba(200, 109, 85, 0.42);
  background:
    linear-gradient(145deg, rgba(53, 43, 33, 0.94), rgba(36, 29, 22, 0.9));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

body.song-temple.zen-theme-dark .zen-naming-mode-card span,
body.song-temple.zen-theme-dark .zen-naming-supplement-grid span,
body.song-temple.zen-theme-dark .zen-naming-supplement-grid small,
body.song-temple.zen-theme-dark .zen-name-evaluation-summary p,
body.song-temple.zen-theme-dark .zen-name-evaluation-result-card p,
body.song-temple.zen-theme-dark .zen-name-evaluation-result-card li {
  color: rgba(239, 225, 199, 0.72);
}

body.song-temple.zen-theme-dark .zen-naming-principle {
  border-color: rgba(235, 209, 160, 0.14);
  border-left-color: rgba(200, 109, 85, 0.6);
  background: rgba(22, 18, 14, 0.38);
  color: rgba(239, 225, 199, 0.76);
}

body.song-temple.zen-theme-dark .zen-name-evaluation-result-card {
  border-top-color: rgba(235, 209, 160, 0.14);
}

body.song-temple.zen-theme-dark .zen-name-evaluation-scores div {
  border-color: rgba(235, 209, 160, 0.13);
  background: rgba(22, 18, 14, 0.36);
}

body.song-temple.zen-theme-dark .zen-name-evaluation-scores span,
body.song-temple.zen-theme-dark .zen-name-evaluation-result-card h4 {
  color: rgba(239, 225, 199, 0.56);
}

body.song-temple.zen-theme-dark .song-page-heading {
  border-color: rgba(235, 209, 160, 0.16);
  background:
    linear-gradient(90deg, rgba(30, 24, 18, 0.94), rgba(26, 21, 16, 0.72)),
    url("/song/temple-lake-v3.webp") center 56% / cover !important;
}

body.song-temple.zen-theme-dark .song-page-heading::before {
  background: linear-gradient(90deg, rgba(22, 17, 13, 0.88) 0 38%, rgba(22, 17, 13, 0.42) 72%, rgba(22, 17, 13, 0.14));
}

body.song-temple.zen-theme-dark .song-page-heading h1,
body.song-temple.zen-theme-dark .song-page-heading h2,
body.song-temple.zen-theme-dark .song-page-heading h3,
body.song-temple.zen-theme-dark .song-page-heading p,
body.song-temple.zen-theme-dark .song-page-heading [class*="text-paper"],
body.song-temple.zen-theme-dark .song-page-heading [class*="text-gold"] {
  color: var(--zen-ink) !important;
}

body.song-temple-home.zen-theme-dark .zen-service-card,
body.song-temple-home.zen-theme-dark .song-feature-court > div:last-child > div > a > div,
body.song-temple-home.zen-theme-dark main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div {
  border-color: rgba(235, 209, 160, 0.15) !important;
  background: linear-gradient(145deg, rgba(46, 38, 29, 0.94), rgba(30, 24, 18, 0.9)) !important;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 241, 211, 0.08) !important;
}

body.song-temple-home.zen-theme-dark .zen-card-glow {
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(236, 208, 143, 0.14), transparent 30%);
}

body.song-temple-home.zen-theme-dark a:hover .zen-service-card,
body.song-temple-home.zen-theme-dark .song-feature-court > div:last-child > div > a:hover > div,
body.song-temple-home.zen-theme-dark main > div:first-child > section:nth-of-type(2) > div:last-child > div > a:hover > div {
  border-color: rgba(236, 208, 143, 0.34) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 241, 211, 0.1) !important;
}

body.song-temple-home.zen-theme-dark .zen-service-card h3,
body.song-temple-home.zen-theme-dark .song-feature-court > div:last-child > div > a > div h3,
body.song-temple-home.zen-theme-dark main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div h3 {
  color: var(--zen-ink) !important;
}

body.song-temple-home.zen-theme-dark .zen-service-card > p,
body.song-temple-home.zen-theme-dark .song-feature-court > div:last-child > div > a > div > p,
body.song-temple-home.zen-theme-dark main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div > p {
  color: rgba(239, 225, 199, 0.68) !important;
}

body.song-temple-home.zen-theme-dark .zen-service-card > .flex,
body.song-temple-home.zen-theme-dark .song-feature-court > div:last-child > div > a > div > .flex,
body.song-temple-home.zen-theme-dark main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div > .flex {
  background: rgba(208, 179, 111, 0.15);
}

body.song-temple-home.zen-theme-dark .zen-service-card > .flex svg,
body.song-temple-home.zen-theme-dark .song-feature-court > div:last-child > div > a > div > .flex svg,
body.song-temple-home.zen-theme-dark main > div:first-child > section:nth-of-type(2) > div:last-child > div > a > div > .flex svg {
  color: #d6bd80 !important;
}

body.song-temple-home.zen-theme-dark .zen-classic-book img {
  background: #514131;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.36),
    0 1px 0 rgba(255, 241, 211, 0.14) inset;
  filter: saturate(1.02) brightness(1.06) contrast(1.04);
}

body.song-temple-home.zen-theme-dark .zen-classic-book figcaption {
  color: rgba(239, 225, 199, 0.72);
}

body.song-temple-home.zen-theme-dark main > div:first-child > section:nth-of-type(3) .grid.grid-cols-3.gap-2.pt-2.md\:grid-cols-6 > div {
  border-color: rgba(235, 209, 160, 0.16) !important;
  background:
    linear-gradient(90deg, rgba(12, 9, 7, 0.36) 0 13%, transparent 13%),
    linear-gradient(145deg, rgba(88, 69, 46, 0.88), rgba(43, 33, 24, 0.92)) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  color: rgba(245, 229, 196, 0.9) !important;
}

body.song-temple-home.zen-theme-dark .zen-hero-copy {
  color: #ecd08f;
  filter:
    drop-shadow(0 2px 8px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 18px rgba(236, 208, 143, 0.18));
}

body.song-temple-home.zen-theme-dark .zen-hero-prayer,
body.song-temple-home.zen-theme-dark .zen-hero-motto {
  color: rgba(239, 225, 199, 0.76);
}

body.song-temple-home.zen-theme-dark .zen-hero-prayer::before {
  color: rgba(236, 208, 143, 0.72);
}

body.song-temple-home.zen-theme-dark .zen-hero-title {
  color: rgba(245, 229, 196, 0.92);
}

body.song-temple-home.zen-theme-dark .zen-hero-title strong {
  text-shadow:
    0 2px 9px rgba(0, 0, 0, 0.72),
    0 0 22px rgba(236, 208, 143, 0.14);
}

body.song-temple-home.zen-theme-dark .zen-hero-title i {
  background: rgba(200, 109, 85, 0.92);
  box-shadow:
    0 7px 18px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 238, 202, 0.18);
  color: #f6dfbd;
}

body.song-temple.zen-theme-dark .zen-daily-panel,
body.song-temple.zen-theme-dark .zen-feedback-panel,
body.song-temple.zen-theme-dark [data-modal="true"] > div {
  border-color: rgba(235, 209, 160, 0.18) !important;
  background:
    linear-gradient(145deg, rgba(47, 39, 30, 0.96), rgba(29, 23, 18, 0.96)) !important;
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.48) !important;
  color: var(--zen-ink) !important;
}

body.song-temple.zen-theme-dark [data-modal="true"] {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.56), rgba(33, 25, 18, 0.42)) !important;
}

body.song-temple.zen-theme-dark [data-modal="true"] [class*="bg-xuan"],
body.song-temple.zen-theme-dark [data-modal="true"] [class*="bg-black"],
body.song-temple.zen-theme-dark [data-modal="true"] [class*="from-gold"],
body.song-temple.zen-theme-dark [data-modal="true"] [class*="from-xuan"] {
  background:
    linear-gradient(145deg, rgba(43, 36, 28, 0.94), rgba(29, 23, 18, 0.9)) !important;
  color: var(--zen-ink) !important;
}

body.song-temple.zen-theme-dark .zen-daily-panel a,
body.song-temple.zen-theme-dark .zen-feedback-panel textarea,
body.song-temple.zen-theme-dark .zen-feedback-rating button,
body.song-temple.zen-theme-dark button.border-gold\/40.bg-transparent {
  border-color: rgba(235, 209, 160, 0.24) !important;
  background: rgba(208, 179, 111, 0.08) !important;
  color: var(--zen-ink) !important;
}

body.song-temple.zen-theme-dark .fixed.inset-x-0.bottom-0.z-40 {
  border-color: rgba(235, 209, 160, 0.18) !important;
  background: rgba(20, 16, 12, 0.8) !important;
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.34) !important;
}

body.song-temple.zen-theme-dark button.fixed[class*="bottom-"] {
  border-color: rgba(235, 209, 160, 0.18) !important;
  background: rgba(20, 16, 12, 0.97) !important;
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.34) !important;
}

body.song-temple.zen-theme-dark footer {
  border-color: rgba(235, 209, 160, 0.14) !important;
}

@media (max-width: 767px), (max-width: 1024px) and (hover: none) and (pointer: coarse), (prefers-reduced-motion: reduce) {
  body.song-temple > .fixed.inset-0.z-0.bg-gradient-to-b,
  body.song-temple > .fixed.inset-0.z-0.bg-cover,
  body.song-temple > .fixed.inset-x-0.top-0.z-0,
  body.song-temple > .pointer-events-none.fixed.inset-0.z-0 {
    position: absolute !important;
  }

  body.song-temple > .pointer-events-none.fixed.inset-0.z-0 span.animate-glow-rise,
  body.song-temple .zen-scene-motion,
  body.song-temple .zen-ambient-motion,
  body.song-temple .zen-bird-sky,
  body.song-temple .zen-original-chime,
  body.song-temple .zen-water-motion,
  body.song-temple .zen-water-ripple {
    display: none !important;
  }

  body.song-temple .animate-glow-rise,
  body.song-temple .animate-bounce,
  body.song-temple .animate-ping,
  body.song-temple .animate-pulse,
  body.song-temple .animate-spin,
  body.song-temple .animate-taiji-spin,
  body.song-temple .animate-thinking-pulse,
  body.song-temple .animate-thinking-dot,
  body.song-temple [style*="animation-iteration-count:infinite"],
  body.song-temple [style*="animation-iteration-count: infinite"],
  body.song-temple [style*="ring-expand"] {
    animation: none !important;
  }

  body.song-temple header,
  body.song-temple button.fixed[class*="bottom-"],
  body.song-temple [class*="backdrop-blur"]:not(.fixed.inset-x-0.bottom-0),
  body.song-temple .zen-daily-panel,
  body.song-temple [data-modal="true"] > div {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  body.song-temple,
  body.zen-login-page,
  body.song-temple-home .song-hero,
  body.song-temple .song-page-heading {
    background-attachment: scroll !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zen-bird-sky {
    display: none;
  }

  body.song-temple *,
  body.song-temple *::before,
  body.song-temple *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes zen-copy-enter {
  from {
    opacity: 0;
    transform: translate(-28%, 1.5rem);
  }
  to {
    opacity: 1;
    transform: translate(-28%, 0);
  }
}

@keyframes zen-card-enter {
  from {
    opacity: 0;
    transform: translateY(1.4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zen-original-chime-sway {
  0%,
  100% {
    transform: rotate(-1.7deg) translateX(-1px);
  }
  42% {
    transform: rotate(2.4deg) translateX(1px);
  }
  68% {
    transform: rotate(0.4deg);
  }
}

@keyframes zen-wing-left {
  from {
    transform: rotate(24deg) scaleY(0.62);
  }
  to {
    transform: rotate(-27deg) scaleY(1.08);
  }
}

@keyframes zen-wing-right {
  from {
    transform: rotate(-24deg) scaleY(0.62);
  }
  to {
    transform: rotate(27deg) scaleY(1.08);
  }
}

@keyframes zen-water-drift {
  from {
    background-position: 0 0;
    transform: translateX(-2%) skewX(-8deg);
  }
  to {
    background-position: 7rem 1.2rem;
    transform: translateX(2%) skewX(5deg);
  }
}

@keyframes zen-water-glint {
  0%,
  100% {
    opacity: 0.2;
    transform: translateX(-18%) scaleX(0.68);
  }
  50% {
    opacity: 0.72;
    transform: translateX(18%) scaleX(1);
  }
}

@keyframes zen-water-ripple {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }
  18% {
    opacity: 0.78;
  }
  78%,
  100% {
    opacity: 0;
    transform: scale(1.75);
  }
}
[data-puti-referral-hidden] {
  display: none !important;
}
