:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  color: #f3f5f3;
  background: #101a1d;
  font-synthesis: none;
  letter-spacing: 0;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible { outline: 2px solid #bdf5e9; outline-offset: 5px; }
.scene { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.scene picture { display: block; width: 100%; height: 100%; }
.scene-art {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% center;
  transform-origin: 78% 32%; animation: harbor-drift 22s ease-in-out infinite alternate;
}
.scene::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(7 16 18 / 45%), transparent 72%), linear-gradient(0deg, rgb(8 16 18 / 88%), transparent 48%);
}
@keyframes harbor-drift {
  from { transform: scale(1.005) translateX(0); }
  to { transform: scale(1.025) translateX(-3px); }
}
html[data-motion="paused"] .scene-art,
html[data-motion="hidden"] .scene-art { animation-play-state: paused; }
.masthead {
  height: 80px; padding: 0 max(32px, calc((100% - 1280px) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgb(12 21 24 / 73%); border-bottom: 1px solid rgb(224 244 240 / 13%);
}
.identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.emblem { display: block; width: 44px; height: 44px; object-fit: contain; border-radius: 50%; }
.identity-copy { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 18px; }
.wordmark { font-size: 22px; font-weight: 600; }
.identity-note { color: #bbc8c9; font-size: 12px; }
.motion-toggle { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border: 1px solid #53696d; border-radius: 50%; background: rgb(15 28 30 / 70%); }
.motion-toggle:hover { background: #254442; }
.icon { width: 19px; height: 19px; display: block; flex: 0 0 auto; }
.icon-play { display: none; }
.motion-toggle[aria-pressed="true"] .icon-pause { display: none; }
.motion-toggle[aria-pressed="true"] .icon-play { display: block; }
.harbor {
  width: min(1280px, calc(100% - 64px)); margin: 0 auto;
  min-height: calc(100svh - 80px); display: flex; flex-direction: column;
  justify-content: flex-end; padding: 80px 0 64px; gap: 120px;
}
.intro { max-width: 800px; }
.theme-name { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; color: #aad8ce; font-size: 13px; }
.theme-name span { color: #6c9591; }
h1 { margin: 0; font-size: 80px; font-weight: 700; line-height: 1.18; text-shadow: 0 3px 28px rgb(0 0 0 / 25%); }
.title-rule { width: 92px; height: 3px; margin-top: 23px; background: #8bd2c1; }
.intro-copy { margin: 24px 0 0; color: #d4dddb; font-size: 18px; line-height: 1.8; }
.dock { width: min(960px, 100%); padding: 18px 0 0; border-top: 1px solid rgb(182 214 208 / 40%); }
.dock-heading { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; font-size: 13px; color: #b9d8d1; }
.dock-heading > span { margin-left: auto; font-size: 11px; color: #aabdb9; }
.links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.links button {
  min-width: 0; min-height: 88px; position: relative; text-align: left;
  padding: 13px 15px; border: 1px solid rgb(185 216 209 / 21%); border-radius: 4px;
  background: rgb(19 35 38 / 89%); transition: background-color 180ms, border-color 180ms;
}
.links button:hover { border-color: #88c7b9; background: #25443f; }
.links button:disabled { cursor: wait; opacity: .65; }
.berth { display: block; color: #a4bdb7; font-size: 11px; margin-bottom: 12px; }
.entry-name { display: block; font-size: 15px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.entry-arrow { position: absolute; right: 14px; top: 10px; color: #9acdbf; font-size: 18px; }
#nav-status { margin: 14px 0 0; padding: 12px 16px; color: #fff1e8; background: #48292d; border-left: 3px solid #eb9a94; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
@media (min-width: 701px) and (max-width: 1000px) {
  h1 { font-size: 64px; }
  .links button { padding-inline: 11px; }
  .entry-name { font-size: 13px; }
}
@media (max-width: 700px) {
  .masthead { height: 72px; padding: 0 20px; background: #101c20; }
  .identity { gap: 10px; }
  .identity-copy { display: grid; gap: 3px; }
  .wordmark { font-size: 18px; }
  .identity-note { font-size: 10px; }
  .emblem { width: 38px; height: 38px; }
  .scene { position: absolute; top: 72px; bottom: auto; height: 590px; }
  .scene-art { object-position: 80% top; transform-origin: 72% 24%; }
  .scene::after { background: linear-gradient(0deg, #101a1d 1%, rgb(16 26 29 / 70%) 27%, transparent 72%); }
  .harbor { width: calc(100% - 40px); min-height: calc(100svh - 72px); padding: 326px 0 28px; gap: 34px; justify-content: flex-start; }
  .theme-name { font-size: 11px; margin-bottom: 13px; }
  h1 { font-size: 44px; line-height: 1.25; }
  .title-rule { width: 64px; margin-top: 16px; height: 2px; }
  .intro-copy { font-size: 13px; margin-top: 14px; }
  .dock { padding-top: 14px; }
  .links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .links button { min-height: 76px; padding: 10px 13px; }
  .berth { margin-bottom: 8px; }
  .links button:last-child { grid-column: 1 / -1; }
}
@media (max-width: 350px) {
  .masthead { padding-inline: 16px; }
  .harbor { width: calc(100% - 32px); padding-top: 296px; gap: 25px; }
  h1 { font-size: 38px; }
  .entry-name { font-size: 14px; }
}

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