@font-face {
  font-family: Yomogi;
  src: url("assets/yomogi-family.ttf");
  font-display: swap;
}

* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --ink: #49332d;
  --muted: #6c5044;
  --pink: #f6ccdc;
  --berry: #8b3155;
  --paper: #fffaf0;
  --line: #e9d7bb;
  --body: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse at 50% 0, #fff0c8, transparent 620px), #fffaf0;
  font: 1rem/1.65 var(--body);
}
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Yomogi, var(--body); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3vw, 2.05rem); line-height: 1.35; margin-bottom: 18px; }
h3 { line-height: 1.35; font-size: 1.17rem; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #8b3155; outline-offset: 4px; }
button { font: inherit; }
[hidden] { display: none !important; }
.hub { max-width: 1100px; padding: 20px 28px 38px; margin: auto; }
.hub-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.back, .wallet {
  display: inline-flex; justify-content: center; align-items: center; gap: .3em; min-height: 44px;
  border: 1px solid var(--line); border-radius: 999px; background: #fffdf5; padding: 7px 15px;
  font-size: .875rem; font-weight: 700;
}
.wallet { background: #fde5a1; border-color: #eccd74; font-variant-numeric: tabular-nums; }
.hub-header {
  display: grid; grid-template-columns: 43% 57%; align-items: stretch;
  margin: 20px 0 36px; background: #fff1d0; overflow: hidden;
  border: 1px solid #e8cc94; border-radius: 32px; box-shadow: 0 6px #f2dfb6;
}
.hero-copy { padding: clamp(22px, 4vw, 48px); align-self: center; }
.hero-copy h1 { font-size: clamp(2.15rem, 4.7vw, 3.5rem); line-height: 1.15; letter-spacing: -.04em; }
.title-line { display: block; white-space: nowrap; }
.title-line span { color: #ac4670; margin-left: .08em; }
.hero-copy p { margin: 15px 0 19px; color: var(--muted); }
.hero-picture { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.go { display: inline-block; color: var(--berry); font-weight: 800; margin-top: 6px; }
.hero-cta, .primary {
  display: inline-flex; justify-content: center; align-items: center; min-height: 46px;
  background: #873854; color: white; border-radius: 999px; padding: 9px 17px; border: 0; cursor: pointer;
}
.new-grid, .game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.new-card, .hub-card {
  display: flex; flex-direction: column; border: 1px solid var(--line);
  border-radius: 22px; background: #fffdf7; box-shadow: 0 4px #eadbbf;
  transition: transform .15s ease, box-shadow .15s ease; overflow: hidden;
}
.crane-cover{position:relative;overflow:hidden;background:linear-gradient(#dff7ff,#ffd4e5)}
.crane-cover i{display:block;flex:none;width:auto;height:92%;aspect-ratio:1;align-self:center;background:url('assets/crane-plush-sprites-v1.png') 0 0/200% 200% no-repeat;filter:drop-shadow(0 5px 3px #7f4b6233)}
.crane-cover span{position:absolute;right:8%;top:2%;font-size:54px;color:#7d8a91;transform:rotate(12deg);font-weight:900;text-shadow:0 2px #fff}
.game-art.crane-cover{height:180px;padding:0;background:#fff2e3}
.game-art.crane-cover img{display:block;width:100%;height:180px;object-fit:contain}
@media(max-width:640px){.game-art.crane-cover{height:auto;min-height:116px}}
.new-card:hover, .hub-card:hover { transform: translateY(-3px); box-shadow: 0 7px #eadbbf; }
.new-art { height: 152px; display: flex; align-items: center; justify-content: center; position: relative; }
.hide .new-art { background: #d9edc5; isolation: isolate; }
.hide .new-art img { width: 124px; height: 124px; object-fit: contain; }
.bush { position: absolute; font-size: 62px; bottom: 5px; }
.bush.left { left: calc(50% - 98px); transform: rotate(-23deg); z-index: -1; }
.bush.right { right: calc(50% - 98px); transform: rotate(19deg); }
.bells .new-art { background: #fae0eb; }
.bell-art span {
  display: grid; place-items: center; width: 58px; height: 64px; background: #fff9f3;
  border: 2px solid #c98aa3; border-radius: 15px; box-shadow: 0 4px #c98aa3;
  font-size: 32px; transform: rotate(-13deg);
}
.bell-art span:nth-child(2) { z-index: 1; transform: translateY(-12px); background: #fff1bc; }
.bell-art span:last-child { transform: rotate(13deg); }
.puzzle .new-art { background: #e2e5fb; }
.puzzle-art > div { width: 122px; height: 122px; position: relative; padding: 6px; border: 3px solid #ad9acd; background: #fff7da; border-radius: 12px; transform: rotate(-8deg); overflow: hidden; }
.puzzle-art img { width: 100%; height: 100%; }
.puzzle-art i { position: absolute; inset: 0 33.33%; border-inline: 2px solid #fff7da; }
.puzzle-art i:last-child { inset: 33.33% 0; border-inline: 0; border-block: 2px solid #fff7da; }
.new-copy, .game-copy { padding: 18px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; }
.new-copy p, .game-copy p { color: var(--muted); }
.new-copy .point-note, .game-copy .point-note { margin-top: auto; }
.point-note {
  padding: 2px 9px; border-radius: 8px; background: #f9edc8; color: #67481f;
  display: inline-block; font-size: .875rem; font-weight: 700;
}
.classic { margin-top: 42px; }
.game-art { width: 100%; height: 116px; display: grid; place-items: center; background: #f6eddc; }
.game-art img { width: 104px; height: 100px; object-fit: contain; }
.card-cover { display: flex; justify-content: center; align-items: center; isolation: isolate; }
.cover-tile {
  width: 56px; height: 73px; display: grid; place-items: center; background: #fffdf8;
  border: 2px solid #d8c4ab; border-radius: 9px; box-shadow: 0 3px #cfb99c; transform: rotate(-9deg);
}
.cover-tile + .cover-tile { margin-left: -9px; transform: rotate(9deg); }
.triple .cover-tile:nth-child(2) { transform: rotate(0); z-index: 1; }
.triple .cover-tile:last-child { z-index: 2; }
.cover-tile img { width: 100%; height: 66px; }
.familiar-card-cover .cover-tile { display: flex; flex-direction: column; justify-content: center; background: #e5f4dd; }
.familiar-symbol { font-size: 24px; }
.familiar-word { font-size: .875rem; }
.game-meta, .kicker { color: var(--muted); font-size: .875rem; }
footer { display: grid; justify-items: center; text-align: center; margin-top: 37px; padding-top: 21px; border-top: 1px dashed var(--line); color: var(--muted); gap: 8px; }
footer a { color: var(--berry); font-weight: 700; min-height: 44px; padding: 9px 6px; }
footer small { font-size: .875rem; }

@media (max-width: 850px) {
  .hero-copy { padding: 24px; }
  .new-grid, .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .hub { padding: 14px 15px 30px; }
  .hub-header { grid-template-columns: 1fr; border-radius: 24px; margin: 18px 0 30px; }
  .hero-copy { padding: 21px; }
  .hero-copy h1 { font-size: clamp(1.9rem, 9vw, 3rem); }
  .hero-picture { max-height: 250px; }
  .new-grid, .game-grid { grid-template-columns: 1fr; gap: 14px; }
  .new-card, .hub-card { flex-direction: row; }
  .new-art, .game-art { width: 104px; flex: none; height: auto; overflow: hidden; }
  .new-copy, .game-copy { padding: 14px; }
  .hide .new-art img { width: 81px; height: 81px; }
  .bush { bottom: 18%; font-size: 40px; }
  .bush.left { left: -3px; }
  .bush.right { right: -1px; }
  .bell-art span { width: 29px; height: 43px; font-size: 20px; border-radius: 9px; }
  .puzzle-art > div { width: 77px; height: 77px; }
  .cover-tile { width: 34px; height: 50px; }
  .cover-tile img { height: 43px; }
  .familiar-symbol { font-size: 19px; }
  .familiar-word { font-size: .73rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.fortune-cover{display:flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#fff2b9,#ffe5ef)}.fortune-cover img{width:160px;height:145px;object-fit:contain}.fortune-hub-card .kicker{color:#aa3c6a}
/* Free omikuji entry; scoped so point games keep their existing presentation. */
.omikuji .new-art{background:#ffe2ee}.omikuji .new-art img{width:136px;height:136px;object-fit:contain}@media(max-width:600px){.omikuji .new-art img{width:86px;height:86px}}
