/* Approved Luoyun daytime presentation; every rule is limited to the light theme. */
html[data-theme="light"],
html[data-theme="light"][data-wallpaper="true"] {
  color-scheme: light;
  --bg: #d6e3df;
  --card: rgba(244, 249, 240, .78);
  --card-strong: rgba(224, 239, 224, .94);
  --text: #203e3b;
  --text-muted: #526d69;
  --line: rgba(87, 123, 111, .25);
  --line-strong: rgba(87, 123, 111, .48);
  --accent: #4f7958;
  --focus: #627d5f;
  --gold: #806c3c;
  --nav-hover: #203e2e;
  --header-bg: linear-gradient(115deg, rgba(245, 251, 242, .88), rgba(221, 238, 229, .76) 65%, rgba(240, 246, 230, .82));
  --quote-bg: rgba(236, 245, 225, .91);
  --quote-text: #42603e;
  --quote-glow: rgba(247, 252, 230, .3);
}
html[data-theme="light"] .site-header {
  border-color: rgba(244, 251, 240, .85);
  background: var(--header-bg);
  box-shadow: 0 10px 30px -15px rgba(28, 65, 53, .28), inset 0 1px rgba(255, 255, 245, .95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
html[data-theme="light"] .brand { color: #25493d; }
html[data-theme="light"] .main-nav a { color: #4e6a60; }
html[data-theme="light"] .main-nav a:hover,
html[data-theme="light"] .main-nav a[aria-current="page"] {
  color: #263f2d;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}
html[data-theme="light"] .main-nav a[aria-current="page"]::after { display: none; }
html[data-theme="light"] .header-actions .icon-button:hover,
html[data-theme="light"] .header-actions .icon-button[aria-expanded="true"] {
  color: #203e2e;
  border-color: transparent;
  background: transparent;
}
html[data-theme="light"] .wallpaper-only-toggle { color: #42634e; }
html[data-theme="light"] .wallpaper-only-toggle:hover { color: #203e2e; }
html[data-theme="light"] .settings-panel {
  color: #294c39;
  background: rgba(243, 250, 234, .97);
  border-color: rgba(132, 160, 123, .42);
  box-shadow: 0 20px 40px -15px rgba(32, 65, 44, .28), inset 0 1px #fffef3;
}
html[data-theme="light"] .settings-panel input { accent-color: #658b60; }
html[data-theme="light"] .settings-panel p,
html[data-theme="light"] .settings-panel label { color: #536f53; }

html[data-theme="light"] .search-form {
  --search-ink: #264d3e;
  --search-muted: #56705e;
  --search-focus: #80916b;
  border-color: rgba(252, 255, 237, .85);
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(245, 250, 237, .94), rgba(218, 237, 222, .86));
  box-shadow: inset 0 1px 2px #fffff7, inset 0 -1px 2px rgba(72, 108, 80, .12), 0 10px 24px -18px rgba(32, 68, 48, .4);
}
html[data-theme="light"] .search-form::before { opacity: .1; }
html[data-theme="light"] .search-form::after { opacity: .14; }
html[data-theme="light"] .search-form > .icon { color: #5c7d67; }
html[data-theme="light"] .search-form input { color: #264d3e; }
html[data-theme="light"] .search-form input::placeholder { color: #56705e; opacity: 1; }
html[data-theme="light"] .search-form:focus-within {
  border-color: #80916b;
  box-shadow: inset 0 1px 2px #fffff7, 0 0 0 3px rgba(109, 143, 99, .12), 0 10px 24px -18px rgba(32, 68, 48, .4);
}
html[data-theme="light"] .search-form button {
  border-color: rgba(245, 247, 204, .65);
  border-radius: 17px;
  background: linear-gradient(140deg, #507958, #315c46);
  color: #fff9e6;
  box-shadow: inset 0 1px 2px rgba(255, 255, 222, .44), 0 3px 9px rgba(44, 78, 48, .15);
}
html[data-theme="light"] .search-form button:hover { background: linear-gradient(140deg, #4c7959, #274f3c); }

/* Full-color Han Li artwork dissolves into a quiet jade-white reading edge. */
html[data-theme="light"] .profile-card {
  position: relative;
  isolation: isolate;
  min-height: 310px;
  border-color: rgba(250, 255, 240, .86);
  border-radius: 22px;
  background: #e7efe4;
  box-shadow: 0 18px 32px -23px rgba(28, 65, 51, .45), inset 0 1px rgba(255, 255, 248, .95);
}
html[data-theme="light"] .profile-card .profile-scene {
  position: absolute;
  z-index: -3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 81% 40%;
  filter: saturate(.83) brightness(1.04);
  pointer-events: none;
}
html[data-theme="light"] .profile-card .profile-scene-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  background: linear-gradient(90deg, #eef3e7 0%, rgba(238, 243, 231, .98) 23%, rgba(238, 243, 231, .94) 39%, rgba(238, 243, 231, .63) 53%, rgba(231, 241, 227, .12) 75%, rgba(230, 239, 225, .05)), linear-gradient(0deg, rgba(219, 234, 217, .65), transparent 50%);
  pointer-events: none;
}
html[data-theme="light"] .profile-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 32px;
  width: 46%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(165, 145, 82, .58), transparent);
  pointer-events: none;
}
html[data-theme="light"] .profile-card .profile-body {
  position: relative;
  min-height: 310px;
  height: 100%;
  padding: 32px;
  justify-content: space-between;
}
html[data-theme="light"] .profile-card .profile-main { align-items: center; gap: 22px; }
html[data-theme="light"] .profile-card .avatar {
  flex-basis: 96px;
  width: 96px;
  height: 96px;
  padding: 3px;
  border: 1px solid rgba(244, 235, 199, .95);
  border-radius: 50%;
  background: linear-gradient(140deg, #e5ead3, #84a98d 44%, #345c4b 66%, #c4b97d);
  box-shadow: 0 9px 24px -10px rgba(43, 84, 60, .35), 0 0 0 5px rgba(255, 255, 239, .35);
  overflow: hidden;
}
html[data-theme="light"] .profile-card .avatar > span { color: #3d634d; background: #eef3e7; }
html[data-theme="light"] .profile-card .avatar img.theme-avatar { filter: saturate(.72) brightness(1.05); }
html[data-theme="light"] .profile-card .profile-name-group { max-width: 350px; }
html[data-theme="light"] .profile-card .profile-eyebrow {
  display: block;
  margin: 0 0 10px;
  color: #7e6c3f;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .18em;
}
html[data-theme="light"] .profile-card .profile-name-group h2 {
  margin: 0 0 10px;
  color: #244639;
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .1em;
  text-shadow: 0 1px rgba(255, 255, 245, .5);
}
html[data-theme="light"] .profile-card .profile-name-group p { max-width: 30ch; color: #4b6859; font-size: 13px; font-weight: 400; line-height: 1.9; }
html[data-theme="light"] .profile-card .tag-list { margin-top: 12px; }
html[data-theme="light"] .profile-card .tag { border-color: rgba(98, 132, 100, .28); background: rgba(237, 246, 228, .76); color: #4b6859; font-size: 10px; }
html[data-theme="light"] .profile-card .profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 250px;
  max-width: 100%;
  gap: 0;
  margin-top: auto;
  padding-top: 36px;
  border: 0;
}
html[data-theme="light"] .profile-card .profile-stats > div { align-items: flex-start; gap: 6px; padding: 0 22px; text-align: left; }
html[data-theme="light"] .profile-card .profile-stats > div:first-child { padding-left: 0; }
html[data-theme="light"] .profile-card .profile-stats > div + div { border-left: 1px solid rgba(76, 113, 91, .23); }
html[data-theme="light"] .profile-card .profile-stats > div + div::before { display: none; }
html[data-theme="light"] .profile-card .profile-stats > div:nth-child(n) strong { color: #3e6652; font-family: Georgia, "Noto Serif SC", serif; font-size: 27px; font-weight: 400; line-height: 1; }
html[data-theme="light"] .profile-card .profile-stats span { color: #526e5d; font-size: 11px; font-weight: 400; letter-spacing: .15em; }
html[data-theme="light"] .profile-card .profile-seal {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: block;
  width: 27px;
  padding: 7px 4px;
  border: 1px solid rgba(115, 105, 56, .55);
  border-radius: 3px;
  background: rgba(241, 244, 217, .76);
  color: #776631;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 11px;
  line-height: 1.6;
  writing-mode: vertical-rl;
  text-align: center;
  letter-spacing: .2em;
  text-shadow: 0 1px rgba(255, 255, 244, .6);
  pointer-events: none;
}

html[data-theme="light"] .music-card {
  --player-accent: #618267;
  --player-accent-strong: #345d44;
  --player-copy: #294d3b;
  --player-muted: #526c59;
  --player-time: #4c6857;
  --player-lyric: #4f705b;
  --player-track: rgba(97, 132, 106, .25);
  isolation: isolate;
  min-height: 310px;
  padding: 28px;
  border-color: rgba(249, 255, 243, .83);
  border-radius: 22px;
  background: #e3eee5;
  box-shadow: 0 18px 32px -23px rgba(28, 65, 51, .42), inset 0 1px rgba(255, 255, 248, .95);
}
html[data-theme="light"] .music-card::before,
html[data-theme="light"] .music-card.is-playing::before {
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(244, 249, 237, .75), rgba(223, 239, 224, .53)), linear-gradient(0deg, rgba(228, 240, 222, .7), transparent 70%);
  filter: none;
}
html[data-theme="light"] .music-card .music-scene {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76% 43%;
  opacity: .38;
  filter: saturate(.67) brightness(1.08);
  pointer-events: none;
}
html[data-theme="light"] .music-card .track-header { gap: 17px; margin: 0 0 22px; }
html[data-theme="light"] .music-card .album-art { flex-basis: 76px; width: 76px; height: 76px; border: 2px solid #edf0d9; background: #d4e0ce; box-shadow: 0 0 0 4px rgba(177, 198, 164, .24), 0 8px 16px -7px rgba(43, 78, 48, .35); }
html[data-theme="light"] .music-card .album-art::after { width: 16px; height: 16px; border-color: rgba(115, 143, 117, .5); background: #eef3df; box-shadow: 0 0 0 3px rgba(229, 239, 215, .23); }
html[data-theme="light"] .music-card .music-source { padding: 0; border-radius: 0; background: transparent; color: #806c3c; font-size: 9px; font-weight: 500; letter-spacing: .18em; box-shadow: none; }
html[data-theme="light"] .music-card .track-copy h2 { margin-top: 7px; color: #294d3b; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 23px; font-weight: 600; line-height: 1.4; letter-spacing: .04em; text-shadow: none; }
html[data-theme="light"] .music-card #track-artist { margin-top: 3px; color: #526c59; font-size: 12px; font-weight: 400; text-shadow: none; }
html[data-theme="light"] .music-card .lyrics #lyric-current { color: #4f705b; font-size: 12px; font-weight: 400; }
html[data-theme="light"] .music-card .progress-row { gap: 8px; margin-bottom: 15px; font-size: 10px; font-weight: 400; }
html[data-theme="light"] .music-card .progress-row span { flex-basis: 32px; min-width: 32px; }
html[data-theme="light"] .music-card .progress-row input {
  height: 44px;
  margin-block: -20px;
  background: linear-gradient(to right, #628567 var(--player-progress, 0%), var(--player-track) var(--player-progress, 0%));
  background-size: 100% 4px;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: none;
}
html[data-theme="light"] .music-card .progress-row input::-webkit-slider-runnable-track { height: 4px; }
html[data-theme="light"] .music-card .progress-row input::-webkit-slider-thumb { width: 10px; height: 10px; margin-top: -3px; background: #618267; }
html[data-theme="light"] .music-card .progress-row input::-moz-range-track { height: 4px; }
html[data-theme="light"] .music-card .progress-row input::-moz-range-thumb { width: 10px; height: 10px; background: #618267; }
html[data-theme="light"] .music-card .player-controls { gap: 18px; }
html[data-theme="light"] .music-card .transport { color: #466b54; }
html[data-theme="light"] .music-card .transport:enabled:hover { color: #234a32; }
html[data-theme="light"] .music-card .play-button { color: #fff9df; border: 1px solid rgba(255, 255, 225, .9); background: radial-gradient(circle at 25% 15%, #86a780, #416b50 73%); box-shadow: inset 0 1px 2px rgba(255, 255, 220, .65), 0 5px 14px -5px rgba(45, 84, 54, .5); }
html[data-theme="light"] .music-card .play-button:enabled:hover { background: radial-gradient(circle at 25% 15%, #799d74, #345d44 73%); transform: scale(1.06); }

html[data-theme="light"] .signal-quote { border-color: rgba(247, 252, 230, .88); border-radius: 22px; background: linear-gradient(110deg, rgba(236, 245, 225, .91), rgba(217, 234, 219, .79)); color: #42603e; box-shadow: inset 0 1px rgba(255, 255, 248, .7), 0 10px 25px -20px rgba(38, 73, 48, .3); }
html[data-theme="light"] .signal-quote .lyric-line { color: #42603e; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 17px; font-weight: 500; text-shadow: 0 1px rgba(255, 255, 239, .65); }
html[data-theme="light"] .lyric-wave i { background: #91a381; }
html[data-theme="light"] .lyric-mark { color: #778360; }
html[data-theme="light"] .home-content .card,
html[data-theme="light"] .content-panel { border-color: rgba(249, 255, 243, .83); border-radius: 22px; background: linear-gradient(115deg, rgba(247, 250, 237, .9), rgba(222, 239, 222, .76)); box-shadow: 0 18px 32px -23px rgba(28, 65, 51, .3), inset 0 1px rgba(255, 255, 248, .95); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
html[data-theme="light"] .card-heading { border-bottom-color: rgba(87, 123, 111, .19); }
html[data-theme="light"] .card-heading h2 { color: #34523d; }
html[data-theme="light"] .empty-state h3 { color: #4b6859; }
html[data-theme="light"] .empty-state p { color: #5a735d; }
html[data-theme="light"] .site-footer,
html[data-theme="light"][data-wallpaper="true"] .site-footer { border-color: rgba(87, 123, 111, .25); border-radius: 18px 18px 0 0; background: rgba(237, 246, 229, .76); color: #244e42; text-shadow: 0 1px 5px rgba(250, 253, 238, .9); }

@media (max-width: 767px) {
  html[data-theme="light"] .main-nav { background: rgba(243, 250, 234, .97); }
  html[data-theme="light"] .profile-card { min-height: 290px; }
  html[data-theme="light"] .profile-card .profile-body { min-height: 290px; padding: 24px; }
  html[data-theme="light"] .profile-card .profile-main { gap: 17px; }
  html[data-theme="light"] .profile-card .avatar { flex-basis: 76px; width: 76px; height: 76px; }
  html[data-theme="light"] .profile-card .profile-name-group h2 { font-size: 27px; }
  html[data-theme="light"] .profile-card .profile-name-group p { font-size: 12px; }
  html[data-theme="light"] .profile-card .profile-scene { object-position: 87% 40%; opacity: .9; }
  html[data-theme="light"] .profile-card .profile-scene-shade { background: linear-gradient(90deg, rgba(238, 244, 231, .99), rgba(238, 244, 231, .91) 43%, rgba(231, 241, 225, .33)), linear-gradient(0deg, rgba(223, 238, 219, .65), transparent 65%); }
  html[data-theme="light"] .profile-card .profile-stats { width: 240px; padding-top: 32px; }
  html[data-theme="light"] .profile-card .profile-stats > div { padding-inline: 20px; }
  html[data-theme="light"] .profile-card .profile-stats > div:first-child { padding-left: 0; }
  html[data-theme="light"] .music-card { min-height: 285px; padding: 24px; }
  html[data-theme="light"] .music-card .music-scene { opacity: .3; }
  html[data-theme="light"] .music-card .album-art { flex-basis: 70px; width: 70px; height: 70px; }
  html[data-theme="light"] .signal-quote .lyric-line { font-size: 14px; letter-spacing: .04em; }
}
@media (max-width: 420px) {
  html[data-theme="light"] .profile-card .profile-body { padding: 22px; }
  html[data-theme="light"] .profile-card .profile-main { gap: 14px; }
  html[data-theme="light"] .profile-card .avatar { flex-basis: 64px; width: 64px; height: 64px; }
  html[data-theme="light"] .profile-card .profile-name-group h2 { font-size: 24px; }
  html[data-theme="light"] .profile-card .profile-name-group p { max-width: 16ch; }
  html[data-theme="light"] .profile-card .profile-eyebrow { font-size: 9px; letter-spacing: .1em; }
  html[data-theme="light"] .profile-card .profile-stats { width: 228px; }
  html[data-theme="light"] .profile-card .profile-seal { display: none; }
  html[data-theme="light"] .music-card { padding: 22px; }
  html[data-theme="light"] .music-card .album-art { flex-basis: 68px; width: 68px; height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme="light"] .music-card .play-button { transition: none; }
  html[data-theme="light"] .music-card .play-button:enabled:hover { transform: none; }
}
