:root {
  color-scheme: light;
  font-family: Georgia, 'Times New Roman', serif;
  color: #17120e;
}
* { box-sizing: border-box; }
html { overflow-x: hidden; }
body { margin: 0; background: #eee5d8; display: flex; justify-content: center; }
.page-frame { position: relative; flex: none; overflow: clip; }
.paper {
  position: relative;
  width: 375px;
  min-height: 667px;
  padding: 87.4px 19.9px 49px;
  background: #fff0d9 url("assets/jrdg-background.jpg") top center / 375px 667px no-repeat;
  transform-origin: top left;
}
.monogram {
  position: absolute;
  top: 7.6px;
  left: 27px;
  width: 46px;
  height: 41px;
  object-fit: contain;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.games { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 2px;
  border: 1.5px solid #982614;
  border-radius: 9px;
  background-color: rgb(105 26 20 / 8%);
}
.featured { grid-column: 1 / -1; }
.card img { display: block; width: 100%; height: auto; border-radius: 6px; }
.card p {
  margin: 3px 7px 6px;
  flex: 1;
  font-size: 11.44px;
  line-height: calc(1.16em + 2px);
  -webkit-text-stroke: .12px currentColor;
}
.play {
  align-self: center;
  width: 100px;
  height: 21px;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 6px;
  background: #982614 url("assets/jrdg-button-red.png") center / 100% 100% no-repeat;
  color: #fff1d9;
  font-size: 15px;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
}
.featured .play { width: 117px; height: 23.5px; }
.play span { font-size: 11px; }
.tangdle-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1200 / 630;
  border: 1px solid #8b8226;
  border-radius: 6px;
  background: #fff1cf;
  color: #321044;
  text-decoration: none;
}
.tangdle-art strong { font-size: 30px; font-style: italic; }
.tiles { font-size: 11px; border: 1px solid #756641; border-radius: 3px; padding: 2px; }
.floral { position: absolute; left: 0; top: -11px; color: #7d8226; font-size: 45px; opacity: .7; }
.bottom { left: auto; top: auto; right: 0; bottom: -11px; transform: rotate(180deg); }
/* Bounds of the Support artwork on the 941 × 1672 source image. */
.support {
  position: absolute;
  left: 102px;
  top: 626.6px;
  width: 171px;
  height: 24.5px;
  border-radius: 8px;
}
a:focus-visible { outline: 2px solid #245f83; outline-offset: 2px; }
