@font-face {
  font-family: "Yinian Pixel";
  src: url("assets/yinian.woff2") format("woff2");
  font-display: swap;
}
:root {
  --ink: #281c38;
  --paper: #fffbf2;
  --accent: #ff631f;
  --line: 3px solid var(--ink);
  font: 16px/1.75 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box }
body, h1, h2, h3, p, ul { margin: 0 }
img { display: block; max-width: 100%; object-fit: contain }
a { color: inherit; text-decoration: none; font-weight: 700 }
a:focus-visible, summary:focus-visible { outline: 4px solid #265bcc; outline-offset: 5px }
.wrap { width: min(1120px, 87%); margin-inline: auto }
header { border-bottom: var(--line) }
.bar, .brand, nav, .tap, .action, h2, footer, summary, li, .story {
  display: flex;
  align-items: center;
}
.bar, footer { justify-content: space-between; min-height: 78px }
.brand { font-size: 24px; font-weight: 950; gap: 3px; letter-spacing: .045em }
.brand img { margin-left: -7px }
nav { gap: clamp(22px, 3.4vw, 54px) }
.tap, .action {
  border: var(--line);
  border-radius: 10px;
  justify-content: center;
  box-shadow: 3px 4px var(--ink);
  transition: transform 150ms, box-shadow 150ms;
}
.tap { padding: 3px 18px; gap: 10px; background: #fff; font-family: Arial, sans-serif }
.tap span { font-size: 19px }
.hero {
  height: clamp(528px, 41vw, 790px);
  background: #70dffa url("assets/meadow.png") center bottom / 100% 100% no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: clamp(44px, 5.8vw, 102px);
  border-bottom: var(--line);
  text-align: center;
}
.mascot { position: relative; width: clamp(108px, 9vw, 162px); animation: hover 3.6s ease-in-out infinite }
.mascot img { width: 100%; height: auto; filter: drop-shadow(0 4px 0 #93260043) }
@keyframes hover { 50% { transform: translateY(-7px) } }
.spark {
  position: absolute;
  top: 32%;
  left: -25%;
  width: .34em;
  height: 1em;
  font-size: 25px;
  color: #fffbe2;
  background: currentColor;
  filter: drop-shadow(0 3px 0 #3097bd70);
}
.spark::after { content: ""; position: absolute; inset: 33% -100%; background: currentColor }
.spark:last-child { left: auto; right: -18%; top: 59%; font-size: 18px; color: #ffeb6a }
h1 {
  font: normal clamp(80px, 6.8vw, 130px)/1.14 "Yinian Pixel", sans-serif;
  letter-spacing: .055em;
  padding-left: .055em;
  text-shadow: 0 .062em 0 #fff8e8, 0 .105em 0 #2389b35e;
}
.hero p {
  margin: clamp(16px, 1.5vw, 28px) 0 clamp(24px, 2vw, 38px);
  font-size: clamp(18px, 1.4vw, 25px);
  font-weight: 700;
  letter-spacing: .06em;
}
.action {
  background: #ff782f;
  padding: 10px 30px;
  gap: 18px;
  font-size: 18px;
  font-weight: 850;
  border-radius: 12px;
  box-shadow: 4px 5px var(--ink), inset 0 4px #ffa857;
}
.arrow { width: 16px; height: 18px; background: currentColor; clip-path: polygon(38% 0,62% 0,62% 58%,100% 58%,100% 77%,80% 77%,80% 89%,63% 89%,63% 100%,37% 100%,37% 89%,20% 89%,20% 77%,0 77%,0 58%,38% 58%) }
.games { padding: clamp(50px, 5vw, 88px) 0 clamp(68px, 7vw, 106px) }
h2 { font-size: clamp(28px, 2.35vw, 40px); line-height: 1.3; font-weight: 900; gap: 18px }
.games h2::after { content: ""; flex: 1; margin-left: 10px; border-top: 2px dashed #dcd0bf }
.pad {
  position: relative;
  background: var(--accent);
  width: 1.14em;
  height: .79em;
  clip-path: polygon(10% 0,90% 0,90% 13%,100% 13%,100% 100%,80% 100%,80% 86%,70% 86%,70% 72%,30% 72%,30% 86%,20% 86%,20% 100%,0 100%,0 13%,10% 13%);
}
.pad::before, .pad::after { content: ""; position: absolute; background: var(--ink) }
.pad::before { left: 12%; top: 15%; width: 31%; height: 45%; clip-path: polygon(33% 0,67% 0,67% 33%,100% 33%,100% 67%,67% 67%,67% 100%,33% 100%,33% 67%,0 67%,0 33%,33% 33%) }
.pad::after { right: 13%; top: 20%; width: .15em; height: .15em; box-shadow: -.18em .14em var(--ink) }
article {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 47% 1fr;
  align-items: center;
  gap: 6%;
}
.cover {
  width: 100%; height: auto;
  border: var(--line);
  border-radius: 19px;
  box-shadow: 6px 6px var(--ink);
}
.status { display: inline-flex; align-items: center; gap: 9px; color: #106652; font-size: 15px; font-weight: 700 }
.status::before { content: ""; width: 10px; height: 10px; background: #12a97c; box-shadow: 2px 2px #155349 }
h3 { margin: 8px 0 18px; font-size: clamp(34px, 3vw, 48px); line-height: 1.35 }
.info p, .story p { font-size: 17px; line-height: 1.95; color: #534c5e }
summary {
  cursor: pointer; gap: 14px; width: fit-content;
  margin-top: 24px; padding: 6px 0;
  font-weight: 800; border-bottom: 3px solid var(--accent);
  list-style: none;
}
summary::-webkit-details-marker { display: none }
summary span { width: 14px; height: 3px; background: currentColor }
details:not([open]) summary span::before { display: block; content: ""; width: 100%; height: 100%; transform: rotate(90deg); background: currentColor }
ul { padding: 14px 0 0 }
li { gap: 15px; padding: 5px 0 }
li img { width: 43px; height: 43px }
#about { background: #fff0d9; border-block: var(--line) }
.story { gap: 7%; max-width: 940px; padding-block: 70px }
.story img { flex: none; transform: rotate(-10deg) }
.story h2 { margin-bottom: 20px }
.story p + p { margin-top: 10px }
footer { padding: 12px 0; gap: 14px; font-size: 15px }
footer small { font-size: 14px }
@media (hover:hover) {
  nav a:not(.tap):hover, summary:hover, footer a:hover { color: #b83b00 }
  .tap:hover, .action:hover { transform: translate(-2px,-3px); box-shadow: 5px 7px var(--ink) }
  .brand:hover img { transform: rotate(12deg) }
}
.action:active, .tap:active { transform: translate(2px,3px); box-shadow: 1px 1px var(--ink) }
@media (max-width: 1000px) {
  .hero { background-size: auto 88%; background-position: 63% bottom; background-image: linear-gradient(#70dffa, transparent 12%), url("assets/meadow.png") }
  .info p, .story p { font-size: 16px }
  article { align-items: start }
  .story { padding-block: 50px }
}
@media (max-width: 740px) {
  .wrap { width: 89% }
  .bar { min-height: 66px }
  .brand { font-size: 18px; gap: 1px }
  .brand img { width: 39px; height: 39px }
  nav { font-size: 14px; gap: 16px }
  .tap { font-size: 14px; gap: 4px; padding: 2px 10px; border-width: 2px; box-shadow: 2px 3px }
  .tap span { font-size: 16px }
  .hero {
    height: 510px; padding-bottom: 116px;
    background-size: 100% 322px, auto 322px;
    background-position: center bottom, 96% bottom;
  }
  h1 { font-size: clamp(55px, 14.8vw, 80px) }
  .hero p { font-size: clamp(14px, 3.8vw, 18px); letter-spacing: 0; margin: 20px 0 24px }
  .action { padding: 8px 24px; font-size: 16px }
  .games { padding-block: 42px 56px }
  article { grid-template-columns: 1fr; gap: 32px; margin-top: 23px }
  .cover { box-shadow: 4px 4px }
  .story { display: block; position: relative }
  .story img { position: absolute; right: 0; top: 28px; width: 70px; height: 70px }
  footer, footer small { font-size: 12px }
}
@media (max-width: 460px) {
  nav a:first-child { display: none }
  nav { gap: 13px }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto }
  .mascot { animation: none }
  .tap, .action { transition: none }
}
