:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #f6f3f7;
  background: #151416;
  font-synthesis: none;
}
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; min-width: 280px; }
button { font: inherit; }
button:focus-visible { outline: 2px solid #fff; 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: right center;
  transform-origin: 74% 35%;
  animation: ballroom-drift 18s ease-in-out infinite alternate;
}
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(13 13 16 / 91%) 0%, rgb(13 13 16 / 61%) 30%, transparent 65%), linear-gradient(0deg, rgb(13 13 16 / 60%), transparent 30%);
}
@keyframes ballroom-drift {
  from { transform: scale(1.008) translate3d(0, 0, 0); }
  to { transform: scale(1.025) translate3d(-3px, 2px, 0); }
}
html[data-motion="paused"] .scene-art,
html[data-motion="hidden"] .scene-art { animation-play-state: paused; }
.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 36px 64px 28px;
}
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.identity { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: #e1d6e6; }
.identity img { display: block; object-fit: contain; border-radius: 50%; }
.motion-toggle {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border: 1px solid #b9adbb;
  border-radius: 50%;
  background: rgb(17 17 19 / 78%);
  color: #eee9f0;
  cursor: pointer;
}
.motion-toggle:hover { background: #3b3540; }
.play-icon { display: none; }
.motion-toggle[aria-pressed="true"] .pause-icon { display: none; }
.motion-toggle[aria-pressed="true"] .play-icon { display: block; }
main { width: min(100%, 530px); margin: auto 0; padding: 52px 0; }
.theme-name { display: flex; align-items: center; gap: 10px; color: #d2badd; font-size: 13px; margin: 0 0 15px; }
.theme-name span { width: 5px; height: 5px; background: #d8c5e5; transform: rotate(45deg); }
.theme-name::after { content: ""; width: 48px; height: 1px; background: #8e7b9c; }
h1 { font-family: "Songti SC", "STSong", "SimSun", serif; font-size: 54px; line-height: 1.25; margin: 0; font-weight: 900; text-shadow: 0 2px 12px #151416; }
.intro { color: #ded6e1; font-size: 15px; line-height: 1.8; margin: 12px 0 0; }
.links { display: flex; flex-direction: column; gap: 12px; padding-right: 8px; margin-top: 32px; }
.links button {
  --step: 0px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 14px 28px 14px 24px;
  width: calc(100% - var(--step));
  margin-left: var(--step);
  border: 0;
  background: transparent;
  color: #f9f5fa;
  text-align: left;
  cursor: pointer;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
}
.links button::before, .links button::after {
  content: "";
  position: absolute;
  z-index: -1;
  clip-path: polygon(0 0, 96% 0, 100% 50%, 96% 100%, 0 100%);
}
.links button::before { inset: 0; background: #776b80; }
.links button::after { inset: 1px; background: rgb(24 20 31 / 93%); transition: background-color 180ms ease; }
.links button:nth-child(2) { --step: 8px; }
.links button:nth-child(3) { --step: 16px; }
.links button:nth-child(4) { --step: 24px; }
.links button:nth-child(5) { --step: 32px; }
.links .featured::before { background: #d1b6df; }
.links .featured::after { background: rgb(62 44 73 / 96%); }
.links button:hover::after, .links button:focus-visible::after { background: #463d4c; }
.links button:disabled { cursor: wait; opacity: .65; }
.number { font: 12px ui-monospace, Consolas, monospace; color: #c2adcF; }
.featured .number { color: #f0aabf; }
.arrow { font-size: 20px; color: #d8c5e4; font-weight: 400; }
#nav-status { margin: 18px 0 0; padding: 12px 16px; color: #fff1e6; border-left: 3px solid #e1a9a2; background: #282327; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
footer { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #c8becd; }
footer span { width: 24px; height: 1px; background: #8b8091; }
@media (min-width: 681px) and (max-width: 1000px) {
  .page { padding-right: 32px; padding-left: 32px; }
  main { width: 49%; }
  h1 { font-size: 40px; }
  .links button { gap: 10px; padding-left: 16px; padding-right: 22px; font-size: 15px; }
}
@media (max-width: 680px) {
  .page { padding: 18px 22px 24px; }
  .scene { bottom: auto; height: 590px; }
  .scene-art { object-position: 74% top; transform-origin: 73% 24%; }
  .scene::after { background: linear-gradient(180deg, rgb(13 13 16 / 18%) 0%, transparent 35%, rgb(21 20 22 / 64%) 56%, #151416 97%); }
  .identity { gap: 8px; text-shadow: 0 1px 5px #000; }
  .identity img { width: 28px; height: 28px; }
  main { width: 100%; padding: 224px 0 28px; margin: 0; }
  .theme-name { margin-bottom: 9px; }
  h1 { font-size: 38px; }
  .intro { font-size: 13px; margin-top: 8px; }
  .links { margin-top: 22px; gap: 10px; padding-right: 4px; }
  .links button { min-height: 54px; padding: 12px 22px 12px 16px; grid-template-columns: 21px minmax(0, 1fr) 18px; gap: 9px; font-size: 15px; }
  .links button:nth-child(2) { --step: 5px; }
  .links button:nth-child(3) { --step: 10px; }
  .links button:nth-child(4) { --step: 15px; }
  .links button:nth-child(5) { --step: 20px; }
  footer { margin-top: auto; }
}
@media (max-width: 350px) {
  .page { padding-right: 16px; padding-left: 16px; }
  main { padding-top: 204px; }
  h1 { font-size: 34px; }
}
