:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #f4f8f3;
  background: #10221e;
  letter-spacing: 0;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid #fff5cd; outline-offset: 5px; }
[hidden] { display: none !important; }
.scene { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.scene picture { display: block; width: 100%; height: 100%; }
.scene-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  transform-origin: 67% 40%;
  animation: garden-drift 22s ease-in-out infinite alternate;
  will-change: transform;
}
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 23, 19, .75), rgba(5, 23, 19, .34) 37%, transparent 67%), linear-gradient(0deg, rgba(6, 19, 17, .75), transparent 22%, transparent 84%, rgba(6, 19, 17, .25));
}
@keyframes garden-drift {
  from { transform: scale(1.008) translate3d(0, 0, 0); }
  to { transform: scale(1.025) translate3d(-3px, 2px, 0); }
}
html[data-motion="paused"] *, html[data-motion="hidden"] * { animation-play-state: paused !important; }
.page { position: relative; max-width: 1536px; min-height: 100svh; margin: 0 auto; padding: 28px 48px 22px; display: flex; flex-direction: column; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.identity { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; text-shadow: 0 1px 8px #061812; }
.identity img { display: block; object-fit: contain; border-radius: 50%; }
.motion-toggle { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; background: rgba(12, 35, 29, .8); border: 1px solid #78a494; border-radius: 4px; }
.motion-toggle:hover { background: #254b3e; }
main { display: flex; align-items: center; flex: 1; padding: 45px 0; }
.navigation { width: min(450px, 43%); }
.heading { margin-bottom: 25px; padding-left: 22px; border-left: 1px solid rgba(157, 206, 180, .55); text-shadow: 0 2px 14px #071912; }
.theme { display: flex; align-items: center; gap: 11px; margin: 0 0 17px; color: #d1e6d9; font-size: 14px; }
.seal { display: grid; place-items: center; width: 26px; height: 30px; color: #ffebdf; background: #a33e36; border: 1px solid #e09179; font-family: "STKaiti", "KaiTi", serif; font-size: 19px; text-shadow: none; }
h1 { margin: 0 0 14px; font-family: "Songti SC", "SimSun", serif; font-size: 48px; font-weight: 700; line-height: 1.25; }
h1 span { color: #f09581; }
.intro { margin: 0; font-size: 14px; line-height: 1.9; color: #e0ece3; }
.links { display: grid; gap: 10px; }
.links button { width: 100%; min-height: 62px; padding: 15px 19px; display: grid; grid-template-columns: 26px minmax(0, 1fr) 22px; align-items: center; gap: 12px; text-align: left; background: rgba(14, 36, 28, .86); border: 1px solid rgba(155, 202, 177, .32); border-left: 3px solid #75ba9b; border-radius: 0 5px 5px 0; transition: background-color .18s, border-color .18s; }
.links button:hover { background: rgba(33, 69, 52, .96); border-color: #9cd9b9; }
.links button:disabled { cursor: wait; opacity: .68; }
.entry-name { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.number { font: 12px ui-monospace, "Cascadia Code", monospace; color: #aed7be; }
.arrow { font-size: 22px; line-height: 1; color: #b8ddc6; text-align: right; }
.links .entry-red { border-left-color: #db7e69; }
.entry-red .number, .entry-red .arrow { color: #f1a18b; }
#nav-status { margin: 16px 0 0; padding: 12px 15px; background: #402c27; border-left: 3px solid #efa38b; color: #fff3e9; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
footer { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(155, 194, 168, .3); padding-top: 16px; font-size: 11px; line-height: 1.6; color: #bed3c8; }
@media (min-width: 701px) and (max-width: 1000px) {
  .page { padding-left: 30px; padding-right: 30px; }
  .navigation { width: 46%; }
  h1 { font-size: 36px; }
  .links button { padding-left: 13px; padding-right: 13px; gap: 8px; }
}
@media (max-width: 700px) {
  .page { padding: 20px 22px 18px; }
  .scene { bottom: auto; height: 520px; }
  .scene-art { object-position: 66% top; transform-origin: 67% 28%; }
  .scene::after { background: linear-gradient(0deg, #10221e 0%, rgba(16, 34, 30, .94) 13%, rgba(16, 34, 30, .5) 40%, transparent 65%); }
  .identity { gap: 8px; font-size: 11px; }
  .identity img { width: 34px; height: 34px; }
  main { align-items: flex-start; padding: 195px 0 28px; }
  .navigation { width: 100%; }
  .heading { padding-left: 16px; margin-bottom: 20px; }
  .theme { margin-bottom: 10px; font-size: 12px; }
  h1 { font-size: 34px; margin-bottom: 8px; }
  .intro { font-size: 13px; line-height: 1.75; }
  .links { gap: 8px; }
  .links button { min-height: 54px; padding: 12px 16px; gap: 10px; background: rgba(17, 41, 33, .89); }
  .entry-name { font-size: 16px; }
  footer { font-size: 10px; gap: 8px; }
}
@media (max-width: 350px) {
  .page { padding-left: 16px; padding-right: 16px; }
  .scene { height: 465px; }
  main { padding-top: 159px; }
  h1 { font-size: 30px; }
  .links button { padding-left: 12px; padding-right: 12px; }
}
