:root { color-scheme: dark; font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif; background: #101410; color: #fff; font-synthesis: none; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; }
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid #d9ff71; outline-offset: 5px; }
[hidden] { display: none !important; }
.masthead { height: 76px; padding: 0 max(28px, calc((100% - 1240px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #f9faf6; color: #181b18; position: relative; z-index: 2; border-bottom: 3px solid #b9e84c; }
.identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.emblem { width: 48px; height: 48px; object-fit: contain; }
.wordmark { display: flex; align-items: center; gap: 16px; }
.wordmark strong { font-size: 21px; font-weight: 850; }
.wordmark span { font-size: 12px; color: #52584c; border-left: 1px solid #a6ac9e; padding-left: 16px; }
.motion-toggle { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; color: #222820; background: transparent; border: 1px solid #c4cbbc; border-radius: 6px; }
.motion-toggle:hover { background: #e2eccf; }
.motion-toggle:focus-visible { outline-color: #47700a; }
.arcade { position: relative; isolation: isolate; min-height: calc(100svh - 76px); display: grid; grid-template-columns: 1fr minmax(0, 480px); align-items: center; padding: 80px max(48px, calc((100% - 1200px) / 2)); overflow: clip; }
.scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.scene picture { display: block; width: 100%; height: 100%; }
.scene-art { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 36% center; transform-origin: 32% 42%; animation: arcade-drift 18s ease-in-out infinite alternate; }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 32%, rgb(9 15 11 / 23%) 49%, rgb(9 15 11 / 79%) 100%), linear-gradient(0deg, rgb(9 15 11 / 48%), transparent 35%); pointer-events: none; }
.directory { grid-column: 2; width: 100%; padding: 16px 0; }
.heading { text-align: right; margin-bottom: 30px; }
.edition { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 0 16px; font-size: 12px; }
.edition span { background: #d9343c; color: #fff; padding: 5px 9px; font-weight: 700; }
.edition b { color: #d4f79b; font-family: Consolas, monospace; font-weight: 500; }
h1 { margin: 0; font-size: 52px; line-height: 1.25; font-weight: 900; text-shadow: 0 2px 16px #081208; white-space: nowrap; }
h1 span { color: #c6f267; }
.intro { margin: 15px 0 0; color: #e1e5dc; font-size: 15px; line-height: 1.7; }
.links { display: flex; flex-direction: column; gap: 12px; }
.links button { --step: 32px; width: calc(100% - 32px); margin-left: var(--step); min-height: 62px; display: flex; align-items: center; gap: 15px; padding: 12px 20px; border: 1px solid #637354; border-left: 3px solid #b9e84c; border-radius: 6px; background: rgb(13 19 15 / 94%); color: #fff; text-align: left; box-shadow: 0 4px 0 rgb(0 0 0 / 35%); transition: background-color 160ms, border-color 160ms; }
.links button:nth-child(2) { --step: 24px; }
.links button:nth-child(3) { --step: 16px; }
.links button:nth-child(4) { --step: 8px; }
.links button:nth-child(5) { --step: 0px; }
.links button:hover { background: #233022; border-color: #d1fa85; }
.links button:disabled { cursor: wait; opacity: .65; }
.lamp { flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%; background: #fa5558; box-shadow: 0 0 8px rgb(255 65 76 / 45%); }
.entry-label { font-size: 18px; font-weight: 750; min-width: 0; overflow-wrap: anywhere; }
.entry-number { margin-left: auto; padding: 4px 6px; font: 13px Consolas, monospace; color: #c6f267; background: #293226; }
.links svg { flex: 0 0 20px; color: #c6f267; }
#nav-status { margin: 20px 0 0; background: #211711; border-left: 3px solid #ff8585; color: #fff3e8; padding: 12px 16px; line-height: 1.6; overflow-wrap: anywhere; }
@keyframes arcade-drift { from { transform: scale(1); } to { transform: scale(1.02); } }
html[data-motion="paused"] .scene-art, html[data-motion="hidden"] .scene-art { animation-play-state: paused; }
@media (min-width: 701px) and (max-width: 1000px) {
  .arcade { grid-template-columns: 1fr minmax(0, 410px); padding: 65px 32px; }
  h1 { font-size: 44px; }
  .scene-art { object-position: 32% center; }
}
@media (max-width: 700px) {
  .masthead { height: 68px; padding: 0 16px; }
  .identity { gap: 10px; }
  .emblem { width: 43px; height: 43px; }
  .wordmark { display: block; }
  .wordmark strong { display: block; font-size: 18px; line-height: 1.2; }
  .wordmark span { display: block; font-size: 10px; padding: 4px 0 0; border: 0; }
  .arcade { display: block; min-height: calc(100svh - 68px); padding: 276px 20px 30px; }
  .scene { height: 540px; }
  .scene-art { object-position: 29% top; transform-origin: 32% 30%; }
  .scene::after { background: linear-gradient(180deg, transparent 37%, rgb(16 20 16 / 24%) 52%, #101410 98%); }
  .directory { position: relative; padding: 0; }
  .heading { margin-bottom: 20px; text-align: right; }
  .edition { margin-bottom: 10px; gap: 9px; font-size: 10px; }
  h1 { font-size: 36px; }
  .intro { margin-top: 10px; font-size: 12px; }
  .links { gap: 10px; }
  .links button { min-height: 54px; padding: 10px 12px; gap: 10px; width: calc(100% - 20px); --step: 20px; }
  .links button:nth-child(2) { --step: 15px; }
  .links button:nth-child(3) { --step: 10px; }
  .links button:nth-child(4) { --step: 5px; }
  .links button:nth-child(5) { --step: 0px; }
  .entry-label { font-size: 16px; }
  .entry-number { font-size: 11px; padding: 3px 4px; }
}
@media (max-width: 360px) {
  .arcade { padding: 252px 14px 24px; }
  .scene { height: 490px; }
  h1 { font-size: 32px; }
  .entry-label { font-size: 15px; }
  .links button { gap: 8px; }
}
