/* v56: lake garden / moonlit terrace. Real art plates, restrained atmospheric layers. */
.garden-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background: #789bb5;
  contain: paint;
  pointer-events: none;
}
.garden-plate {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  user-select: none;
}
.garden-day {
  z-index: 0;
}
.garden-living {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.garden-living[hidden] { display: none; }
.garden-night {
  z-index: 1;
  opacity: 0;
}
.garden-scene[data-mode="night"] .garden-night {
  opacity: 1;
}
.garden-scene.is-animated .garden-night {
  transition: opacity 1100ms cubic-bezier(.4, 0, .2, 1);
}
.garden-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      #0b243548,
      transparent 22%,
      transparent 75%,
      #15223310
    ),
    linear-gradient(0deg, #13263f17, transparent 18%);
  opacity: 0.7;
  pointer-events: none;
}
.garden-scene[data-mode="night"] .garden-shade {
  opacity: 1;
}
.garden-scene.is-animated .garden-shade {
  transition: opacity 1100ms cubic-bezier(.4, 0, .2, 1);
}
.garden-waterlight {
  position: absolute;
  left: 4%;
  top: 57%;
  width: 55%;
  height: 17%;
  background: linear-gradient(
    115deg,
    transparent 20%,
    #f2e3bb0c 46%,
    #f2e3bb21 50%,
    transparent 58%
  );
  z-index: 3;
  mix-blend-mode: screen;
  opacity: 0.6;
  animation: garden-water 19s ease-in-out infinite alternate;
  pointer-events: none;
}
.garden-scene[data-mode="night"] .garden-waterlight {
  background: linear-gradient(
    110deg,
    transparent 20%,
    #d5e5ff10 45%,
    #c3ddff20 50%,
    transparent 56%
  );
  opacity: 0.45;
}
.garden-motes {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}
.garden-motes i {
  position: absolute;
  left: var(--mx);
  top: var(--my);
  width: 3px;
  height: 5px;
  background: #fff6df70;
  border-radius: 70% 0 70% 0;
  opacity: 0;
  animation: garden-mote var(--duration) var(--delay) ease-in-out infinite;
  will-change: transform, opacity;
}
.garden-scene[data-mode="night"] .garden-motes i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #efdcab;
  box-shadow: 0 0 9px #f5dfaa99;
}
.garden-scene.is-paused * {
  animation-play-state: paused !important;
}
.ferrofluid-bg,
.crystal-bg {
  display: none !important;
}
.wallpaper:before,
.wallpaper:after {
  display: none !important;
}
.wallpaper .sky-aurora,
.wallpaper .sky-constellation,
.wallpaper .sky-orbit {
  display: none !important;
}
.wallpaper-copy {
  left: 44%;
  top: 24%;
  width: min(500px, 44vw);
  transition: color 900ms ease;
  z-index: 5;
}
.wallpaper-copy .wallpaper-time {
  font-weight: 250;
  font-size: clamp(58px, 7.6vw, 112px);
  line-height: 1.35;
  color: var(--garden-clock);
  text-shadow: var(--garden-clock-shadow);
  letter-spacing: 0.025em;
}
.wallpaper-copy .wallpaper-kicker {
  color: var(--garden-copy);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-shadow: var(--garden-clock-shadow);
}
.wallpaper-copy p {
  color: var(--garden-copy);
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.13em;
  text-shadow: var(--garden-clock-shadow);
}
.wallpaper-copy .wallpaper-time,
.wallpaper-copy .wallpaper-kicker,
.wallpaper-copy .desktop-date,
.wallpaper-copy p {
  transition:
    color 1100ms ease,
    text-shadow 1100ms ease;
}
html[data-mode="day"] {
  --garden-clock: #244b65;
  --garden-copy: #294f68;
  --garden-clock-shadow: 0 1px 16px #e8f4ff75;
  --pet-ground-shadow: #19344b66;
  --garden-pet-shadow: 0 17px 14px #14324444;
}
html[data-mode="night"] {
  --garden-clock: #edf3ff;
  --garden-copy: #d0e0f4;
  --garden-clock-shadow: 0 2px 20px #071b3e88;
  --pet-ground-shadow: #08152588;
  --garden-pet-shadow: 0 16px 20px #000b26aa;
}
huguang-mascot.desktop-mascot {
  filter: drop-shadow(var(--garden-pet-shadow));
  transition: filter 1100ms ease;
}
.desktop-icons > .desktop-icon > span {
  color: #f3f6ff;
  text-shadow:
    0 1px 3px #09233b,
    0 1px 8px #09233bb3;
}
.desktop-icons > .desktop-icon .pixel-icon {
  filter: drop-shadow(0 3px 4px #122c4655);
}
.start-mode-switch {
  margin: 7px 0 6px;
  padding: 10px 9px;
  border-top: 1px solid #bbceeb20;
  border-bottom: 1px solid #bbceeb20;
}
.start-mode-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #c7d7ee;
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.start-mode-label small {
  color: #9caec6;
  font-size: 9px;
  letter-spacing: 0;
}
.start-mode-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.start-items .start-mode-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  height: auto;
  min-height: 83px;
  border: 1px solid #bad0ee28;
  background: #293a55;
  border-radius: 10px;
  overflow: hidden;
  color: #dfeafa;
  font-size: 11px;
  box-shadow: none;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.start-mode-option::before {
  display: none !important;
}
.start-mode-option .mode-preview {
  height: 53px;
  width: 100%;
  background-size: cover;
  background-position: center;
  filter: none;
}
.start-mode-option[data-start="theme-day"] .mode-preview {
  background-image: url("./assets/garden-day-v58.webp");
}
.start-mode-option[data-start="theme-night"] .mode-preview {
  background-image: url("./assets/garden-night-v58.webp");
}
.start-mode-option .mode-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 9px;
  font-size: 10px;
  line-height: 1.5;
}
.start-mode-option .mode-check {
  width: 10px;
  height: 10px;
  border: 1px solid #b2c8e98c;
  border-radius: 50%;
  padding: 2px;
  background-clip: content-box;
}
.start-mode-option[aria-pressed="true"] {
  border-color: #d3e2fa;
  box-shadow: 0 0 0 1px #d3e2fa22;
}
.start-mode-option[aria-pressed="true"] .mode-check {
  background-color: #d8e6f9;
}
.start-items .start-mode-option:hover,
.start-items .start-mode-option:focus-visible {
  background: #354c6b;
  border-color: #d3e2fa;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px #0002;
}
.start-menu {
  width: 300px;
}
.start-items {
  min-width: 0;
  flex: 1;
}
.start-banner {
  background: linear-gradient(0deg, #345575, #1a2c46);
  color: #cbdff2;
}
.start-mode-switch :focus-visible {
  outline: 2px solid #cfddf3;
  outline-offset: -3px;
}
html[data-mode="day"] .taskbar {
  background: #e9f2f6d9;
  border-color: #fcffffb0;
  box-shadow: 0 8px 34px #14364f26;
  color: #28465d;
}
html[data-mode="day"] .taskbar .win-button {
  color: #2b4960;
  background: #ffffff61;
  border-color: #355a7a1c;
}
html[data-mode="day"] .taskbar .win-button.is-active {
  background: #7f9cb429;
  border-color: #7296b84d;
}
html[data-mode="day"] .taskbar .clock-button {
  color: #2d4e68;
}
html[data-mode="day"] .taskbar .taskbar-divider {
  border-left-color: #3e668b26;
}
html[data-mode="day"] .start-menu,
html[data-mode="day"] .start-submenu,
html[data-mode="day"] .context-menu {
  background: linear-gradient(145deg, #f3f8fbef, #e2edf6f5);
  border-color: #ffffffa6;
  box-shadow: 0 20px 60px #16375233;
  color: #29485f;
}
html[data-mode="day"] .start-items > button,
html[data-mode="day"] .start-programs-trigger,
html[data-mode="day"] .start-submenu > button,
html[data-mode="day"] .context-menu button {
  color: #2a4b65;
}
html[data-mode="day"] .start-items > button:hover,
html[data-mode="day"] .start-programs-trigger:hover,
html[data-mode="day"] .start-submenu > button:hover,
html[data-mode="day"] .context-menu button:hover {
  background: #6f96b623;
  color: #1e3d56;
}
html[data-mode="day"] .start-mode-label {
  color: #385c77;
}
html[data-mode="day"] .start-mode-label small {
  color: #5b7790;
}
html[data-mode="day"] .start-mode-switch {
  border-color: #6c8ca329;
}
html[data-mode="day"] .start-mode-option {
  background: #f2f7fb;
  color: #2b4d67;
  border-color: #7e9fb648;
}
html[data-mode="day"] .start-mode-option[aria-pressed="true"] {
  border-color: #527c9a;
  box-shadow: 0 0 0 1px #527c9a30;
}
html[data-mode="day"] .start-mode-option .mode-check {
  border-color: #6388a3;
}
html[data-mode="day"] .start-mode-option[aria-pressed="true"] .mode-check {
  background-color: #527c9a;
}
html[data-mode="day"] .start-items .start-mode-option:hover {
  background: #e0edf6;
  border-color: #527c9a;
}
html[data-mode="day"] .context-divider {
  background: #597c9926;
}
html[data-mode="day"] .start-items small {
  color: #55758c;
}
@keyframes garden-water {
  from {
    transform: translate3d(-5%, 0, 0);
    opacity: 0.4;
  }
  to {
    transform: translate3d(7%, 2%, 0);
    opacity: 0.7;
  }
}
@keyframes garden-mote {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(0, 10px, 0) rotate(0);
  }
  20%,
  75% {
    opacity: 0.65;
  }
  90% {
    opacity: 0;
    transform: translate3d(var(--drift), -75px, 0) rotate(120deg);
  }
}
@media (max-width: 700px) {
  .garden-plate {
    object-position: 57% center;
  }
  .wallpaper-copy {
    left: 55%;
    top: 22%;
    width: 60vw;
  }
  .wallpaper-copy .wallpaper-time {
    font-size: clamp(44px, 12vw, 70px);
  }
  .wallpaper-copy .wallpaper-kicker {
    font-size: 8px;
    letter-spacing: 0.18em;
  }
  .wallpaper-copy p {
    font-size: 10px;
  }
  .start-menu {
    width: min(300px, calc(100vw - 16px));
  }
  .garden-motes i:nth-child(n + 7) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .garden-scene *,
  .wallpaper-copy * {
    transition: none !important;
    animation: none !important;
  }
  huguang-mascot.desktop-mascot {
    transition: none !important;
  }
}

.start-items button {
  animation: none !important;
}
html[data-mode="day"] .tray {
  background: #f4f9fbb3;
  border-color: #597b9629;
}
html[data-mode="day"] .tray .clock-button {
  color: #294c65;
}
html[data-mode="night"] .wallpaper-copy .wallpaper-time {
  color: #edf3ff;
}
html[data-mode="night"] .wallpaper-copy .wallpaper-kicker,
html[data-mode="night"] .wallpaper-copy p {
  color: #d0e0f4;
}

.start-mode-option .mode-caption {
  font-size: 11px;
}
.taskbar,
.taskbar .tray,
.taskbar .clock-button,
.taskbar .win-button {
  transition:
    background-color 1100ms ease,
    color 900ms ease,
    border-color 900ms ease,
    box-shadow 900ms ease;
}
html[data-mode="night"] #desktop .taskbar {
  background: #12233cda;
  border-color: #b7cdef2b;
}
html[data-mode="night"] #desktop .taskbar .start-button,
html[data-mode="night"] #desktop .taskbar .task-button {
  background: #cde0fa0d;
  border-color: #cde0fa1d;
}
html[data-mode="night"] #desktop .taskbar .start-button:hover,
html[data-mode="night"] #desktop .taskbar .task-button:hover {
  background: #567ca530;
}
html[data-mode="night"] #desktop .taskbar .tray {
  background: #192e48b3;
  border-color: #abc3e129;
}
html[data-mode="night"] .wallpaper-copy .wallpaper-time {
  text-shadow: var(--garden-clock-shadow);
}
@media (prefers-reduced-motion: reduce) {
  .taskbar,
  .taskbar .tray,
  .taskbar .clock-button,
  .taskbar .win-button {
    transition: none !important;
  }
}
