:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #fff7f8;
  background: #10272b;
  font-synthesis: none;
  letter-spacing: 0;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid #b9fff0; 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: 28% center;
  transform-origin: 28% 45%;
  animation: water-breath 18s ease-in-out infinite alternate;
}
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 32%, #081a2040 52%, #07191bc9 100%), linear-gradient(0deg, #07191b9e, transparent 23%, transparent 84%, #07191b38);
}
@keyframes water-breath {
  from { transform: scale(1.008) translate3d(0, 0, 0); }
  to { transform: scale(1.022) 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: 100vh;
  min-height: 100svh;
  max-width: 1600px;
  padding: 36px 5%;
  margin: 0 auto;
}
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.identity { display: inline-flex; align-items: center; gap: 10px; padding: 7px 13px 7px 8px; background: #0b1d21c9; border: 1px solid #cb4c6059; border-radius: 30px; font-size: 12px; color: #ffe0e5; }
.identity img { display: block; object-fit: contain; border-radius: 50%; }
.motion-toggle { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; color: #ffe0e5; background: #0b1d21d1; border: 1px solid #edb2bf57; border-radius: 50%; }
.motion-toggle:hover { background: #602637; border-color: #fc8fa2; }
main { width: 470px; max-width: 47%; margin: auto 0 auto auto; padding: 36px 0; }
.heading { text-align: right; margin-bottom: 25px; }
.eyebrow { margin: 0 0 12px; color: #ffaebc; font-size: 12px; }
.eyebrow span { padding: 0 9px; }
h1 { font-family: "STKaiti", "KaiTi", "Noto Serif CJK SC", "Songti SC", serif; font-size: 52px; line-height: 1.3; font-weight: 700; margin: 0; text-shadow: 0 3px 20px #061517; }
.intro { margin: 12px 0 0; font-size: 14px; color: #cee8e3; line-height: 1.8; text-wrap: pretty; }
.links { display: grid; gap: 14px; }
.links button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  width: 100%;
  padding: 14px 22px;
  text-align: left;
  color: #fff7f8;
  border: 1px solid #b752657d;
  border-radius: 7px;
  background: linear-gradient(120deg, #163136e8, #0b1c23f2);
  box-shadow: 0 5px 18px #05151835;
  transition: border-color 160ms, background-color 160ms;
}
.links button::before, .links button::after { content: ""; position: absolute; width: 7px; height: 7px; border-color: #ee8297; border-style: solid; }
.links button::before { top: 5px; left: 5px; border-width: 1px 0 0 1px; }
.links button::after { bottom: 5px; right: 5px; border-width: 0 1px 1px 0; }
.entry-name { display: flex; align-items: center; gap: 13px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.entry-name::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; background: #f78ca2; border-radius: 50%; }
.entry-mark { display: flex; align-items: center; gap: 16px; color: #95bfb9; font-size: 11px; font-variant-numeric: tabular-nums; }
.entry-mark span { color: #f78ca2; font-size: 21px; line-height: 1; }
.links .ruby { border-color: #e98297; background: linear-gradient(120deg, #502231eb, #251c28ef); }
.ruby .entry-name::before { background: #ffc788; }
.jade .entry-name::before { background: #77d5c3; }
.jade .entry-mark span { color: #77d5c3; }
.links button:hover { border-color: #ffc1ce; background: #4a2633f5; }
.links button:disabled { cursor: wait; opacity: .72; }
#nav-status { color: #fff5f5; border-left: 3px solid #f28ca2; padding: 12px 15px; margin: 18px 0 0; background: #371f2af5; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
footer { display: flex; align-items: center; gap: 8px; color: #c1d6d1; font-size: 12px; }
footer span { width: 5px; height: 5px; background: #e4899c; border-radius: 50%; }
@media (max-width: 1000px) and (min-width: 701px) {
  .page { padding: 28px 4%; }
  main { max-width: 49%; }
  h1 { font-size: 42px; }
  .links button { padding-inline: 16px; }
}
@media (max-width: 700px) {
  .scene { position: absolute; height: 600px; }
  .scene-art { object-position: 24% top; transform-origin: 29% 28%; }
  .scene::after { background: linear-gradient(0deg, #10272b 0%, #10272bee 9%, #10272b5c 36%, transparent 57%, #10272b14); }
  .page { padding: 20px 20px 23px; }
  .identity { font-size: 11px; gap: 8px; }
  main { width: 100%; max-width: none; margin: 235px 0 0; padding: 0 0 25px; }
  .heading { margin-bottom: 19px; }
  h1 { font-size: 38px; }
  .eyebrow { margin-bottom: 8px; }
  .intro { font-size: 12px; margin-top: 6px; }
  .links { gap: 10px; }
  .links button { min-height: 54px; padding: 12px 18px; }
  .entry-name { font-size: 15px; }
  footer { margin-top: auto; font-size: 11px; }
}
@media (max-width: 350px) {
  .page { padding-inline: 16px; }
  main { margin-top: 214px; }
  h1 { font-size: 34px; }
  .intro { max-width: 255px; margin-left: auto; }
  .entry-mark { gap: 11px; }
}
