:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #fff;
  background: #182b21;
  letter-spacing: 0;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button { font: inherit; color: inherit; }
button:focus-visible { outline: 3px solid #f3c8d5; outline-offset: 5px; }
[hidden] { display: none !important; }
.conservatory { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.conservatory picture { display: block; width: 100%; height: 100%; }
.scene {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: 61% 30%;
  animation: conservatory-breeze 24s ease-in-out infinite alternate;
  will-change: transform;
}
.conservatory::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,26,19,.92), rgba(13,26,19,.69) 29%, rgba(13,26,19,.12) 55%, transparent 74%), linear-gradient(0deg, rgba(13,26,19,.65), transparent 28%);
}
.page { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; max-width: 1600px; margin: auto; padding: 36px 64px 28px; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.identity { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #e0eddb; }
.identity img { display: block; width: 32px; height: 32px; object-fit: contain; border-radius: 50%; }
.motion-toggle { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #a9bba1; border-radius: 50%; background: rgba(18,35,25,.78); cursor: pointer; }
.motion-toggle:hover { background: #344f3c; }
.play-icon { display: none; }
.motion-toggle[aria-pressed="true"] .play-icon { display: block; }
.motion-toggle[aria-pressed="true"] .pause-icon { display: none; }
main { width: 430px; max-width: 100%; margin: auto 0; padding: 44px 0; }
.theme { display: flex; align-items: center; gap: 10px; margin: 0 0 13px; font-size: 12px; color: #c4dabc; }
.theme span { width: 6px; height: 6px; border-radius: 50%; background: #dd9aaa; }
h1 { margin: 0; font-family: "Noto Serif CJK SC", "Songti SC", "SimSun", serif; font-size: 54px; line-height: 1.3; font-weight: 800; text-shadow: 0 2px 15px rgba(0,0,0,.25); }
.intro { margin: 13px 0 0; font-size: 14px; line-height: 1.85; color: #e0e9dd; }
.links { display: grid; gap: 12px; margin-top: 28px; }
.links button { position: relative; display: grid; grid-template-columns: 24px minmax(0,1fr) 22px; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 12px 19px; border: 1px solid #809883; border-radius: 5px; background: rgba(24,43,33,.84); text-align: left; cursor: pointer; box-shadow: inset 0 0 0 3px rgba(179,200,167,.035), 0 3px 12px rgba(9,24,14,.1); transition: background-color .2s, border-color .2s; }
.links button:hover { background: rgba(49,77,53,.96); border-color: #c2d8b7; }
.links button:disabled { cursor: wait; opacity: .7; }
.links button > span:nth-child(2) { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.number { font-family: Georgia, serif; font-size: 12px; color: #afc8a6; }
.arrow { font-size: 20px; color: #c8dabd; text-align: right; }
.links .rose-entry { background: rgba(28,52,37,.93); border-color: #b7c5aa; }
.rose-entry .number, .rose-entry .arrow { color: #f0b0c2; }
#nav-status { margin: 14px 0 0; padding: 12px 14px; border-left: 3px solid #efa8bd; background: #34252c; color: #ffe8ed; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
footer { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #c5d3bf; }
footer span { display: block; width: 20px; height: 1px; background: #bc8393; }
@keyframes conservatory-breeze { from { transform: scale(1.005) translate3d(0,0,0); } to { transform: scale(1.025) translate3d(-3px,-2px,0); } }
html[data-motion="paused"] .scene, html[data-motion="hidden"] .scene { animation-play-state: paused; }
@media (min-width: 601px) and (max-width: 1000px) {
  .page { padding-right: 32px; padding-left: 32px; }
  main { width: 360px; }
  h1 { font-size: 46px; }
  .scene { object-position: 58% center; }
}
@media (max-width: 600px) {
  .page { padding: 18px 22px 22px; }
  .identity { font-size: 11px; gap: 8px; }
  .identity img { width: 28px; height: 28px; }
  .scene { object-position: 65% top; transform-origin: 67% 25%; }
  .conservatory::after { background: linear-gradient(180deg, rgba(13,26,19,.2), rgba(13,26,19,.04) 22%, rgba(13,26,19,.74) 42%, rgba(13,26,19,.91) 81%), linear-gradient(90deg, rgba(13,26,19,.26), transparent 80%); }
  main { width: 100%; margin: 0; padding: 166px 0 26px; }
  .theme { margin-bottom: 9px; font-size: 11px; }
  h1 { font-size: 36px; }
  .intro { margin-top: 9px; font-size: 12px; line-height: 1.8; }
  .links { margin-top: 22px; gap: 10px; }
  .links button { min-height: 56px; padding: 11px 16px; }
  .links button > span:nth-child(2) { font-size: 15px; }
  footer { margin-top: auto; font-size: 10px; }
}
@media (max-width: 350px) {
  .page { padding-right: 18px; padding-left: 18px; }
  main { padding-top: 145px; }
  h1 { font-size: 32px; }
  .links button { gap: 8px; }
}

.guide { position: relative; z-index: 3; box-sizing: border-box; width: calc(100% - 48px); max-width: 860px; margin: 24px auto 34px; padding: 30px 36px; border-radius: 12px; background: #fffaf6f2; border: 1px solid #ecd2d6; box-shadow: 0 10px 30px -8px #0000004d; line-height: 1.85; font-size: 15px; color: #3a2a2e; text-align: left; }
.guide h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.4; color: #2a1a20; }
.guide h3 { margin: 22px 0 8px; font-size: 18px; line-height: 1.4; color: #b0405c; }
.guide p { margin: 0 0 10px; }
.guide ul { margin: 0 0 10px; padding-left: 20px; }
.guide li { margin: 6px 0; }
.guide strong { color: #2a1a20; }
@media (max-width: 700px) { .guide { width: calc(100% - 24px); margin: 8px auto 24px; padding: 22px 18px; font-size: 14px; } .guide h2 { font-size: 20px; } .guide h3 { font-size: 16px; } }
