@charset "UTF-8";
:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --ink: #252721;
  --red: #c93824;
  --muted: #696b61;
  --line: #d8d6cb;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--red); outline-offset: 6px; }
img { display: block; max-width: 100%; }
::selection { background: #e5b39d; color: var(--ink); }
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.mono, .eyebrow { font-family: var(--mono); }
.eyebrow { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .12em; line-height: 1.7; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 10; left: 20px; top: 12px; padding: 12px 18px; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { height: 114px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-name { display: block; font-weight: 850; font-size: 29px; line-height: 1.3; letter-spacing: .07em; }
.brand-en { display: block; font: 9px/1.7 var(--mono); letter-spacing: .16em; }
nav { display: flex; align-items: center; gap: 36px; font-size: 13px; font-weight: 600; }
nav a { padding-block: 12px; transition: color .2s; }
nav a:hover { color: var(--red); }
.nav-count { font: 10px var(--mono); margin-left: 7px; vertical-align: super; color: var(--red); }
.nav-github { display: flex; gap: 12px; align-items: center; }
.nav-github > span:first-child { font-size: 20px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; min-height: 654px; padding-block: 60px 76px; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy .eyebrow { display: flex; gap: 10px; align-items: center; }
.little-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
h1 { font-size: clamp(56px, 6.1vw, 88px); line-height: 1.38; font-weight: 900; letter-spacing: -.065em; margin: 23px 0 22px; font-feature-settings: "palt"; }
.red-period { color: var(--red); }
.hero-description { font-size: 15px; line-height: 2.1; letter-spacing: .04em; margin: 0 0 28px; }
.mobile-break { display: none; }
.button { min-height: 52px; padding: 15px 23px; display: inline-flex; gap: 33px; align-items: center; justify-content: space-between; font-weight: 700; font-size: 13px; line-height: 1.5; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-3px); }
.button-red { background: var(--red); color: #fffaf3; }
.button-red:hover { background: #b8301e; }
.button > span[aria-hidden] { font-size: 23px; font-weight: 400; line-height: 1; }
.hero-footnote { margin: 23px 0 0; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 8px; letter-spacing: .02em; }
.tiny-star { font-size: 19px; color: var(--red); }
.hero-art { position: relative; height: 492px; min-width: 0; background-image: radial-gradient(#25272122 .8px, transparent .8px); background-size: 19px 19px; background-position: center; }
.art-coordinate { position: absolute; top: 2px; left: 28px; font-size: 9px; letter-spacing: .06em; color: var(--muted); }
.art-orbit { width: 375px; height: 375px; position: absolute; left: 18%; top: 54px; border: 1px solid #c8c7ba; border-radius: 50%; }
.hero-poster { position: absolute; width: 79%; border: 6px solid var(--paper); box-shadow: 1px 7px 0 #25272118; }
.hero-poster img { width: 100%; height: auto; }
.poster-brave { left: 0; top: 64px; transform: rotate(-12deg); }
.poster-swarm { right: 0; top: 186px; width: 73%; transform: rotate(9deg); }
.hero-wheel { position: absolute; right: 10px; top: 22px; width: 119px; height: 119px; border: 5px solid var(--ink); border-radius: 50%; background: repeating-conic-gradient(#e8b938 0 45deg, #e9744c 45deg 90deg); transform: rotate(14deg); box-shadow: 4px 5px 0 #25272122; display: grid; place-items: center; }
.hero-wheel::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--ink); border-radius: 50%; }
.hero-wheel::after { content: ""; position: absolute; top: -13px; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 21px solid var(--ink); }
.hero-wheel span { display: grid; place-items: center; width: 49px; height: 49px; background: var(--paper); border: 2px solid var(--ink); border-radius: 50%; font: 900 19px var(--mono); }
.hero-spark { position: absolute; left: 10px; bottom: 40px; font-size: 89px; color: var(--red); line-height: 1; transform: rotate(12deg); }
.crab-stamp { position: absolute; top: 211px; left: 44%; width: 118px; height: 118px; border: 1px solid var(--red); outline: 4px solid var(--paper); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; background: var(--paper); transform: rotate(-10deg); }
.crab-stamp span { font: 700 10px var(--mono); letter-spacing: .1em; color: var(--red); }
.art-caption { position: absolute; bottom: -28px; right: 9px; font-size: 9px; letter-spacing: .08em; }
.shelf-intro { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 28px; padding-block: 19px; font-size: 11px; letter-spacing: .06em; }
.shelf-intro > .mono:first-child { color: var(--red); font-weight: 700; }
.shelf-total { margin-left: auto; color: var(--muted); }
.shelf-total > span { padding-left: 24px; color: var(--ink); }
.collection { padding-block: 80px 76px; }
.section-heading { display: flex; justify-content: space-between; gap: 25px; align-items: end; }
.section-heading .eyebrow { color: var(--red); font-size: 10px; }
.section-heading h2 { font-size: clamp(25px, 2.65vw, 37px); margin: 14px 0 0; line-height: 1.4; font-weight: 800; letter-spacing: -.045em; }
.section-heading > p { position: relative; margin: 0 38px 2px 0; font-size: 11px; line-height: 1.9; color: var(--muted); }
.section-heading > p > span { position: absolute; right: -34px; top: 1px; font-size: 25px; color: var(--ink); }
.filters { display: flex; gap: 9px; flex-wrap: wrap; margin-block: 32px 34px; }
.filter { border: 1px solid var(--line); border-radius: 3px; padding: 9px 17px; min-height: 42px; background: transparent; color: var(--muted); font-size: 12px; transition: background .15s, color .15s; }
.filter > span { font: 10px var(--mono); margin-left: 10px; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { color: var(--paper); border-color: var(--ink); background: var(--ink); }
.game-grid { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; row-gap: 54px; }
.filters:not([hidden]) ~ .game-grid { margin-top: 0; }
.game-card { min-width: 0; }
.game-card > a { display: block; }
.game-cover { position: relative; overflow: hidden; background: #e8e4d8; border-radius: 4px; }
.game-cover > img { width: 100%; height: auto; transition: transform .45s cubic-bezier(.2,.65,.3,1); }
.game-card > a:hover .game-cover > img { transform: scale(1.035); }
.cover-open { position: absolute; bottom: 18px; right: 18px; border: 1px solid #ffffff70; background: #f4f1e8; color: var(--ink); padding: 7px 13px; font-size: 11px; font-weight: 700; transform: translateY(65px); transition: transform .2s; }
.game-card > a:is(:hover, :focus-visible) .cover-open { transform: none; }
.cover-badge { position: absolute; top: 16px; right: 16px; color: var(--paper); background: var(--ink); padding: 5px 11px; font-size: 11px; letter-spacing: .03em; }
.game-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 19px; }
.game-meta > .mono { font-size: 10px; color: var(--muted); letter-spacing: .07em; }
.game-arrow { font: 23px/1 var(--mono); transition: color .2s, transform .2s; }
.game-card a:hover .game-arrow { color: var(--red); transform: translate(2px, -2px); }
.game-card h3 { font-size: clamp(22px, 2.1vw, 29px); line-height: 1.5; margin: 7px 0 10px; font-weight: 800; letter-spacing: -.025em; }
.game-description { margin: 0; font-size: 13px; line-height: 1.95; color: #5b5e54; max-width: 93%; }
.game-tags { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 18px 0 0; gap: 7px; }
.game-tags li { padding: 4px 9px; background: #e8e6dc; font-size: 10px; color: #56594e; line-height: 1.6; }
.game-note { margin: 12px 0 0; font-size: 11px; line-height: 1.8; color: var(--muted); }
.more-play { margin-top: 60px; border-top: 1px solid var(--line); padding-top: 25px; display: flex; gap: 18px; align-items: center; }
.plus-sign { font: 35px/1 var(--mono); color: var(--red); }
.more-play p { font-size: 13px; font-weight: 600; margin: 0; }
.more-play p > span { display: block; font-size: 10px; font-weight: 400; color: var(--muted); margin-top: 5px; }
.more-play > .mono { font-size: 10px; letter-spacing: .03em; color: var(--muted); margin-left: auto; }
.about { background: #282e27; color: var(--paper); overflow: hidden; }
.about-inner { display: grid; position: relative; grid-template-columns: 1fr 1fr; gap: 50px; padding-block: 80px 84px; }
.about-heading .eyebrow { color: #b1b9a7; font-size: 10px; }
.about h2 { margin: 24px 0 21px; font-size: clamp(38px, 4vw, 56px); line-height: 1.5; font-weight: 800; letter-spacing: .015em; }
.about-tagline { font-size: 12px; color: #bfc4b7; letter-spacing: .08em; }
.about-copy { position: relative; z-index: 1; }
.about-copy p { font-size: 13px; line-height: 2.1; color: #d0d5c7; margin: 17px 0 20px; }
.about-copy .about-name { color: var(--paper); font-size: 27px; font-weight: 700; line-height: 1.6; margin-top: 2px; }
.about-name span { margin-left: 13px; font: 11px var(--mono); font-weight: 400; color: #bfc4b7; }
.button-outline { border: 1px solid #878e7f; color: var(--paper); background: transparent; gap: 13px; font-size: 11px; margin-top: 8px; }
.button-outline > span[aria-hidden] { margin-left: 10px; font-size: 21px; }
.button-outline:hover { background: #3b4438; }
.about-crab { position: absolute; width: 200px; left: 23%; bottom: -64px; opacity: .13; transform: rotate(-14deg); }
.site-footer { display: flex; align-items: center; gap: 30px; min-height: 126px; }
.footer-brand { gap: 9px; }
.footer-brand .brand-name { font-size: 19px; }
.site-footer > p { color: var(--muted); font-size: 11px; line-height: 1.8; }
.site-footer > p > span { display: block; letter-spacing: .025em; }
.back-top { display: flex; gap: 25px; align-items: center; font-size: 11px; margin-left: auto; }
.back-top > span { border: 1px solid var(--line); width: 35px; height: 35px; display: grid; place-items: center; font-size: 19px; }
@media (min-width: 1600px) { .hero { min-height: 696px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .hero { min-height: 595px; }
  h1 { font-size: 6.8vw; }
  .hero-art { height: 420px; }
  .art-orbit { width: 290px; height: 290px; }
  .poster-brave { top: 75px; }
  .poster-swarm { top: 232px; }
  .crab-stamp { top: 205px; width: 96px; height: 96px; }
  .crab-stamp img { width: 50px; height: 50px; }
  .hero-wheel { width: 96px; height: 96px; right: -5px; top: 27px; }
  .hero-wheel span { width: 42px; height: 42px; font-size: 16px; }
  .art-caption { bottom: -10px; font-size: 8px; }
  .hero-spark { font-size: 65px; bottom: 7px; }
  .game-grid { gap: 42px 26px; }
  .about-inner { gap: 32px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 20px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 86px; }
  .brand { gap: 8px; }
  .brand > img { width: 35px; height: 35px; }
  .brand-name { font-size: 23px; }
  .brand-en { font-size: 7px; }
  nav { gap: 18px; font-size: 11px; }
  .nav-github { display: none; }
  .nav-count { font-size: 8px; margin-left: 4px; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 37px; gap: 20px; min-height: auto; }
  .hero-copy { padding-left: 4px; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: .09em; }
  h1 { font-size: clamp(53px, 10.8vw, 78px); line-height: 1.36; margin-block: 23px 22px; }
  .hero-description { font-size: 13px; line-height: 2; margin-bottom: 22px; }
  .button { min-height: 49px; font-size: 12px; padding: 13px 20px; }
  .hero-footnote { margin-top: 18px; font-size: 10px; }
  .hero-art { width: min(100%, 480px); height: 370px; margin: 12px auto 0; }
  .art-coordinate { top: 0; left: 14px; font-size: 8px; }
  .art-orbit { width: 270px; height: 270px; top: 35px; }
  .hero-poster { width: 76%; border-width: 4px; }
  .poster-brave { left: 4px; top: 44px; }
  .poster-swarm { right: 5px; top: 177px; }
  .hero-wheel { right: 4px; top: 13px; width: 88px; height: 88px; border-width: 4px; }
  .hero-wheel span { width: 37px; height: 37px; font-size: 14px; }
  .hero-wheel::after { border-left-width: 7px; border-right-width: 7px; border-top-width: 18px; }
  .crab-stamp { top: 156px; left: 44%; width: 89px; height: 89px; }
  .crab-stamp img { width: 47px; height: 47px; }
  .crab-stamp span { font-size: 8px; }
  .hero-spark { left: 7px; bottom: 37px; font-size: 65px; }
  .art-caption { bottom: -13px; font-size: 8px; }
  .shelf-intro { padding-block: 16px; gap: 15px; font-size: 9px; }
  .shelf-intro > span:nth-child(2) { display: none; }
  .shelf-total { font-size: 8px; }
  .shelf-total > span { padding-left: 8px; }
  .collection { padding-block: 44px 45px; }
  .section-heading { display: block; }
  .section-heading .eyebrow { font-size: 9px; }
  .section-heading h2 { margin-top: 13px; font-size: 27px; }
  .section-heading > p { font-size: 10px; margin: 15px 0 0; }
  .section-heading > p br, .section-heading > p > span { display: none; }
  .filters { gap: 6px; margin-block: 24px 26px; }
  .filter { font-size: 10px; min-height: 39px; padding: 8px 11px; }
  .filter > span { font-size: 9px; margin-left: 6px; }
  .game-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 26px; }
  .game-cover { border-radius: 3px; }
  .game-meta { margin-top: 17px; }
  .game-meta > .mono { font-size: 9px; }
  .game-card h3 { font-size: 24px; margin-block: 5px 9px; }
  .game-description { max-width: 100%; font-size: 12px; }
  .game-tags { margin-top: 14px; }
  .game-note { font-size: 11px; margin-top: 11px; }
  .cover-badge { font-size: 10px; top: 12px; right: 12px; }
  .cover-open { display: none; }
  .more-play { margin-top: 38px; padding-top: 22px; gap: 12px; }
  .more-play p { font-size: 12px; }
  .more-play > .mono { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 30px; padding-block: 46px 48px; }
  .about h2 { font-size: 41px; margin-block: 19px 13px; line-height: 1.45; }
  .about-tagline { font-size: 11px; }
  .about-copy .about-name { font-size: 25px; margin-top: 0; }
  .about-copy p { font-size: 12px; }
  .about-crab { left: auto; right: -25px; bottom: -40px; width: 160px; }
  .button-outline { font-size: 10px; gap: 12px; }
  .site-footer { min-height: 156px; gap: 14px; flex-wrap: wrap; padding-block: 25px; }
  .footer-brand .brand-name { font-size: 18px; }
  .footer-brand > img { width: 29px; height: 29px; }
  .site-footer > p { margin-left: auto; font-size: 11px; text-align: right; }
  .back-top { width: 100%; justify-content: end; gap: 15px; font-size: 10px; }
  .back-top > span { height: 29px; width: 29px; font-size: 16px; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 32px); }
  nav { gap: 12px; font-size: 10px; }
  .brand-name { font-size: 21px; }
  .brand > img { width: 30px; height: 30px; }
  .hero { padding-top: 39px; }
  h1 { font-size: 53px; }
  .hero-description { font-size: 12px; }
  .mobile-break { display: initial; }
  .hero-art { height: 310px; }
  .art-orbit { width: 230px; height: 230px; }
  .poster-swarm { top: 143px; }
  .hero-wheel { width: 73px; height: 73px; }
  .hero-wheel span { width: 32px; height: 32px; font-size: 12px; }
  .crab-stamp { top: 142px; width: 77px; height: 77px; }
  .crab-stamp img { width: 40px; height: 40px; }
  .hero-spark { bottom: 25px; font-size: 52px; }
  .art-caption { font-size: 7px; bottom: -16px; }
  .section-heading h2 { font-size: 24px; }
  .filter { padding-inline: 9px; }
  .desktop-break { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
