:root {
  --paper: #f5f3eb;
  --ink: #203d33;
  --muted: #6e756a;
  --line: #dcded2;
  --green: #234e3e;
  --orange: #bc5635;
  --serif:
    "Iowan Old Style", "Palatino Linotype", "Songti SC", "Noto Serif SC", serif;
  --sans: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 6px;
  border-radius: 3px;
}
svg {
  display: block;
  width: 100%;
  height: auto;
}
.wrap {
  width: min(1184px, calc(100% - 96px));
  margin-inline: auto;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 27px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.7px;
  flex-shrink: 0;
}
.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-content: center;
  background: var(--green);
  color: var(--paper);
  border-radius: 13px 13px 13px 3px;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  position: relative;
  padding-bottom: 6px;
}
.brand-mark span {
  position: absolute;
  color: #e7b95d;
  right: 4px;
  bottom: 0;
  font-size: 32px;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 3px;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
}
.header nav a {
  padding: 9px 0;
  position: relative;
}
.header nav a:hover,
.header nav a[aria-current] {
  color: var(--orange);
}
.header nav a[aria-current]::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: var(--orange);
  bottom: 0;
  left: calc(50% - 8px);
}
.home-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 55px;
  align-items: center;
  padding: 64px 0 68px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 25px;
}
.eyebrow > span {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}
h1 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -2px;
  font-size: clamp(42px, 4.6vw, 65px);
  line-height: 1.3;
  margin: 0;
}
.accent {
  color: var(--orange);
}
.intro {
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted);
  margin: 24px 0 29px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  background: var(--green);
  color: #fffaf0;
  padding: 15px 22px;
  font-size: 14px;
  border-radius: 5px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #32644e;
  transform: translateY(-2px);
}
.hero-note {
  display: block;
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--muted);
  margin-top: 19px;
}
.hero-art {
  background: #1e493c;
  border-radius: 9px 72px 9px 9px;
  color: #c9d7bf;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.art-caption {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.4px;
  padding-right: 22px;
}
.hero-art svg {
  margin: -6px 0 -12px;
}
.art-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 2px;
}
.art-bottom span {
  font-size: 28px;
  color: #e7b95d;
}
.explore {
  padding-bottom: 70px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 23px;
}
.section-heading h2 {
  font-size: 18px;
  letter-spacing: 0.5px;
  margin: 0;
}
.section-heading > span {
  font-size: 11px;
  color: var(--muted);
}
.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.entry {
  border: 1px solid var(--line);
  padding: 24px 26px 21px;
  border-radius: 7px;
  background: #faf9f4;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.entry:hover {
  transform: translateY(-4px);
  border-color: #9caa95;
  box-shadow: 0 10px 24px #24402b09;
}
.entry-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.number {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--muted);
}
.entry-top > span:last-child {
  font-size: 23px;
}
.entry-symbol {
  display: block;
  font-size: 42px;
  font-family: var(--serif);
  height: 61px;
  padding-top: 9px;
  color: var(--green);
}
.entry h3 {
  font-size: 21px;
  margin: 17px 0 11px;
}
.entry p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 24px;
  min-height: 74px;
}
.entry-bottom {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
}
.entry-bottom > span {
  color: var(--muted);
  font-size: 10px;
}
.play-entry {
  background: #efe9dd;
}
.play-entry .entry-symbol {
  color: var(--orange);
}
.footer {
  padding: 27px 0 31px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.footer-brand {
  font-size: 15px;
  font-weight: 700;
}
.footer-brand span {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 18px;
}
.footer > div {
  display: flex;
  gap: 22px;
  font-size: 11px;
  align-items: center;
}
.footer small {
  font-size: 10px;
  color: var(--muted);
}
.footer a:hover {
  color: var(--orange);
}
.collection-hero {
  padding: 29px 0 44px;
}
.back-link {
  font-size: 12px;
  color: var(--muted);
}
.back-link:hover {
  color: var(--orange);
}
.collection-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-top: 37px;
}
.collection-heading .eyebrow {
  margin-bottom: 17px;
}
.collection-heading h1 {
  font-size: clamp(40px, 4.4vw, 60px);
}
.collection-intro {
  max-width: 340px;
  padding-bottom: 7px;
}
.collection-flower {
  display: block;
  font-size: 44px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 15px;
}
.collection-intro h2 {
  font-size: 18px;
  margin: 0 0 10px;
}
.collection-intro p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px 22px;
  padding-bottom: 64px;
}
.game-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fcfbf7;
  transition:
    transform 0.22s,
    box-shadow 0.22s;
}
.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px #213c3310;
}
.game-art {
  position: relative;
  overflow: hidden;
  background: #dce6ce;
}
.game-art svg {
  transition: transform 0.35s;
  padding-top: 18px;
}
.game-card:hover svg {
  transform: scale(1.035);
}
.game-index {
  position: absolute;
  z-index: 1;
  top: 17px;
  left: 20px;
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #375341;
}
.open-game {
  position: absolute;
  bottom: 14px;
  right: 15px;
  background: #fcfbf7;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: var(--green);
}
.game-info {
  padding: 23px 23px 19px;
}
.tag {
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 1px;
}
.game-info h2 {
  font-size: 21px;
  margin: 10px 0;
}
.game-info p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
  min-height: 46px;
}
.game-bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: 21px;
  padding-top: 15px;
  font-size: 10px;
}
.game-bottom > span:first-child {
  color: var(--muted);
}
.mahjong .game-art {
  background: #c4d8cf;
}
.dino .game-art {
  background: #ece0c9;
}
.snake .game-art {
  background: #d9e2c7;
}
.breakout .game-art {
  background: #203e37;
}
.breakout .game-index {
  color: #c5d5c4;
}
.collection-note {
  padding: 35px 27px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px dashed #bcc4b3;
  border-radius: 8px;
}
.collection-note > span {
  font: 28px var(--serif);
  color: var(--orange);
  margin-bottom: 20px;
}
.collection-note h2 {
  font: 500 27px/1.5 var(--serif);
  margin: 0 0 14px;
}
.collection-note p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 240px;
}
.collection-note a {
  font-size: 12px;
  margin-top: 15px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
@media (min-width: 900px) {
  .hero-copy,
  .hero-art {
    animation: arrive 0.65s ease both;
  }
  .hero-art {
    animation-delay: 0.1s;
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .header nav {
    gap: 20px;
  }
  .home-hero {
    gap: 28px;
  }
  .entry {
    padding: 20px;
  }
  .entry-bottom {
    flex-wrap: wrap;
  }
  .footer-brand span {
    display: block;
    margin: 7px 0 0;
  }
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header {
    align-items: flex-start;
    flex-direction: column;
    gap: 21px;
    padding: 22px 0 15px;
  }
  .header nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
  }
  .brand {
    font-size: 19px;
  }
  .brand-mark {
    width: 37px;
    height: 37px;
    font-size: 34px;
  }
  .home-hero {
    grid-template-columns: 1fr;
    padding: 39px 0 38px;
    gap: 32px;
  }
  .hero-copy h1 {
    font-size: 46px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 20px;
  }
  .intro {
    font-size: 14px;
    margin: 20px 0 24px;
  }
  .hero-art {
    max-width: 460px;
    width: 100%;
    justify-self: center;
    padding: 22px;
  }
  .hero-art svg {
    max-height: 270px;
  }
  .entry-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .entry {
    padding: 20px 22px;
    position: relative;
  }
  .entry-symbol {
    position: absolute;
    right: 24px;
    top: 49px;
    font-size: 34px;
  }
  .entry h3 {
    margin-top: 21px;
  }
  .entry p {
    min-height: 0;
    max-width: 85%;
    margin-bottom: 20px;
  }
  .entry-bottom {
    flex-wrap: nowrap;
  }
  .explore {
    padding-bottom: 40px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .section-heading > span {
    font-size: 10px;
  }
  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 23px;
  }
  .footer > div {
    flex-wrap: wrap;
    gap: 20px;
  }
  .collection-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
    padding-top: 29px;
  }
  .collection-heading h1 {
    font-size: 43px;
  }
  .collection-intro {
    position: relative;
    padding-left: 43px;
  }
  .collection-flower {
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 29px;
  }
  .collection-intro h2 {
    font-size: 15px;
  }
  .collection-intro p {
    font-size: 12px;
  }
  .collection-hero {
    padding-bottom: 28px;
  }
  .game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 40px;
  }
  .game-art svg {
    max-height: 220px;
  }
  .game-info {
    padding: 22px;
  }
  .game-info p {
    min-height: 0;
  }
  .collection-note {
    padding: 28px;
  }
  .collection-note h2 br {
    display: none;
  }
  .collection-note > span {
    margin-bottom: 10px;
  }
  .collection-note p {
    max-width: none;
  }
  .desktop-break {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
