:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  color: #fff9f1;
  background: #183951;
  font-synthesis: none;
  letter-spacing: 0;
}
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.scene { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.scene picture { display: block; width: 100%; height: 100%; }
.scene-art {
  width: 100%; height: 100%; object-fit: cover; object-position: 64% center;
  animation: sea-drift 18s ease-in-out infinite alternate;
  transform-origin: 72% 35%;
}
.scene::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 31, 58, .62), rgba(15, 31, 58, .13) 48%, transparent 72%), linear-gradient(0deg, rgba(12, 36, 53, .75), transparent 35%);
}
.page {
  position: relative; width: min(100%, 1536px); min-height: 100svh;
  margin-inline: 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: 10px; font-size: 12px; font-weight: 600; text-shadow: 0 1px 8px #16354b; }
.identity img { width: 32px; height: 32px; object-fit: contain; }
.motion-toggle {
  width: 44px; height: 44px; padding: 0; display: grid; place-items: center;
  border: 1px solid #ffcda879; border-radius: 50%; background: #183951b8; color: #ffd5ac;
}
.motion-toggle:hover { background: #294d65; }
button:focus-visible, .links a:focus-visible { outline: 3px solid #fff0ae; outline-offset: 5px; }
main { width: min(100%, 520px); margin-block: auto; padding-block: 68px 48px; }
.heading { margin-bottom: 30px; text-shadow: 0 2px 20px #18293999; }
.theme { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: #ffcfac; }
.theme span { margin-inline: 9px; color: #ff927c; }
h1 { margin: 0; font-size: 56px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
h1 span { color: #ffaf7c; }
.intro { margin: 16px 0 0; font-size: 15px; line-height: 1.8; color: #fff0df; }
.links { display: grid; gap: 12px; width: min(100% - 20px, 414px); }
.links a {
  color: inherit; text-decoration: none;
  position: relative; display: flex; align-items: center; gap: 18px; min-height: 56px;
  width: 100%; padding: 12px 31px 12px 18px; text-align: left;
  background: transparent; border: 0; border-left: 4px solid #ffb18a;
  font-size: 16px; font-weight: 700; isolation: isolate;
}
.links a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(26, 44, 78, .84); border-block: 1px solid #e2c2a943;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
  transition: background-color .2s;
}
.links a:nth-child(2) { margin-left: 4px; }
.links a:nth-child(3) { margin-left: 8px; border-left-color: #ff8e91; }
.links a:nth-child(3)::before { background: #623c50df; }
.links a:nth-child(4) { margin-left: 12px; }
.links a:nth-child(5) { margin-left: 16px; }
.links a:hover::before { background: #3c5976; }
.number { flex: 0 0 22px; color: #ffd3ac; font: 12px ui-monospace, monospace; }
.arrow { margin-left: auto; font-size: 21px; font-weight: 400; color: #ffd3ac; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid #d9d8dd40; color: #f3d1b8; font-size: 11px; }
@keyframes sea-drift { from { transform: scale(1.012) translateX(-2px); } to { transform: scale(1.025) translateX(2px); } }
html[data-motion="paused"] .scene-art, html[data-motion="hidden"] .scene-art { animation-play-state: paused; }
@media (min-width: 1600px) { main { padding-block: 90px; } }
@media (max-width: 1000px) and (min-width: 701px) {
  .page { padding-inline: 30px; }
  h1 { font-size: 44px; }
  main { width: 420px; }
  .links { width: 350px; }
}
@media (max-width: 700px) {
  .page { padding: 18px 22px 20px; }
  .scene { position: absolute; height: 650px; }
  .scene picture { height: 460px; }
  .scene-art { object-position: 72% top; transform-origin: 75% 24%; }
  .scene::after { background: linear-gradient(0deg, #183951 20%, rgba(24, 57, 81, .75) 36%, transparent 63%); }
  main { width: 100%; margin-block: 0; padding-block: 164px 34px; }
  .heading { margin-bottom: 23px; }
  .theme { margin-bottom: 9px; font-size: 12px; }
  h1 { font-size: 36px; }
  .intro { font-size: 13px; margin-top: 10px; }
  .links { width: calc(100% - 16px); gap: 10px; }
  .links a { min-height: 54px; padding-left: 13px; gap: 13px; font-size: 15px; }
  footer { margin-top: auto; }
}
@media (max-width: 350px) {
  .page { padding-inline: 16px; }
  h1 { font-size: 32px; }
  main { padding-top: 158px; }
  .links a { gap: 10px; }
  footer { font-size: 10px; }
}

.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: #fff9f1f2; border: 1px solid #ffd3ac; box-shadow: 0 10px 30px -8px #0000004d; line-height: 1.85; font-size: 15px; color: #2b3a4a; text-align: left; }
.guide h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.4; color: #183951; }
.guide h3 { margin: 22px 0 8px; font-size: 18px; line-height: 1.4; color: #d4643a; }
.guide p { margin: 0 0 10px; }
.guide ul { margin: 0 0 10px; padding-left: 20px; }
.guide li { margin: 6px 0; }
.guide strong { color: #183951; }
@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; } }
