:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  color: #191919;
  background: #fafaf8;
  font-synthesis: none;
  letter-spacing: 0;
}
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; letter-spacing: 0; }
[hidden] { display: none !important; }
::selection { color: #fff; background: #b91e30; }
.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% 45%;
  animation: atelier-drift 18s ease-in-out infinite alternate;
}
/* Mask the supplied illustration's baked-in left menu without changing the asset. */
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fafaf8 0%, #fafaf8 33%, rgba(250,250,248,.94) 40%, rgba(250,250,248,.6) 49%, transparent 65%);
}
.atelier {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
  max-width: 1600px;
  margin: 0 auto;
  padding: 36px 64px 30px;
}
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.identity { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; }
.identity img { display: block; object-fit: contain; }
.motion-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid #d8d7d4;
  border-radius: 50%;
  color: #323230;
  background: rgba(255,255,255,.94);
  cursor: pointer;
}
.motion-toggle:hover { border-color: #bf2233; color: #b5192b; }
main { width: 100%; max-width: 544px; padding: 64px 0 80px; }
.edition { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #74716f; }
.edition span:first-child { background: #c51f32; color: #fff; padding: 4px 8px; font-weight: 700; }
h1 { margin: 18px 0 10px; font-size: 54px; line-height: 1.2; font-weight: 900; }
.intro { margin: 0; max-width: 420px; font-size: 14px; line-height: 1.8; color: #5e5958; }
.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 32px; }
.entry {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #dddbd8;
  border-radius: 5px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 4px 16px rgba(0,0,0,.035);
  color: #272222;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.entry-number { font-family: Consolas, monospace; font-size: 11px; font-weight: 400; color: #78716e; }
.entry-arrow { margin-left: auto; color: #b21e2e; }
.featured { grid-column: 1 / -1; border-left: 4px solid #c51f32; min-height: 66px; font-size: 17px; }
.featured .entry-number { color: #b5192b; font-weight: 700; }
.accent { background: #fff0f0; color: #a11828; border-color: #e6bbbd; }
.entry:hover { color: #a11828; background: #fff; border-color: #c51f32; }
.entry:disabled { cursor: wait; opacity: .68; }
button:focus-visible { outline: 3px solid #a7192a; outline-offset: 4px; }
#nav-status { padding: 12px 14px; margin: 16px 0 0; border-left: 3px solid #b5192b; background: #fff; color: #8c1825; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
footer { display: flex; align-items: center; gap: 9px; color: #78716e; font-size: 11px; }
footer span { width: 6px; height: 6px; background: #c51f32; }
@keyframes atelier-drift {
  from { transform: scale(1.006) translateX(0); }
  to { transform: scale(1.022) translateX(-3px); }
}
html[data-motion="paused"] .scene-art,
html[data-motion="hidden"] .scene-art { animation-play-state: paused; }
@media (min-width: 701px) and (max-width: 1050px) {
  .atelier { padding-right: 32px; padding-left: 32px; }
  main { max-width: 460px; }
  h1 { font-size: 46px; }
  .scene::after { background: linear-gradient(90deg, #fafaf8 0%, #fafaf8 30%, rgba(250,250,248,.88) 46%, transparent 72%); }
}
@media (max-width: 700px) {
  .scene { position: absolute; top: 76px; bottom: auto; height: 340px; }
  .scene-art { position: absolute; right: 0; width: 150%; min-width: 609px; object-position: right center; transform-origin: 73% 40%; }
  .scene::after { background: linear-gradient(0deg, #fafaf8 0%, rgba(250,250,248,.35) 14%, transparent 30%); }
  .atelier { min-height: 100svh; padding: 18px 24px 24px; }
  main { max-width: none; margin-top: 327px; padding: 0 0 32px; }
  h1 { font-size: 36px; margin-top: 14px; }
  .intro { font-size: 13px; max-width: 330px; }
  .links { margin-top: 22px; gap: 10px; }
  .entry { padding: 12px 10px; gap: 7px; min-height: 58px; font-size: 13px; }
  .featured { min-height: 60px; font-size: 16px; }
  .entry-number { font-size: 10px; }
  .entry-arrow { font-size: 12px; }
}
@media (max-width: 360px) {
  .atelier { padding-right: 16px; padding-left: 16px; }
  h1 { font-size: 32px; }
  .entry { padding-right: 8px; padding-left: 8px; gap: 5px; font-size: 12px; }
  .featured { font-size: 16px; }
  .entry:not(.featured) .entry-arrow { display: none; }
}
