.origin-game-list[data-local-lottery="ready"] {
  align-content: start;
  grid-auto-rows: calc(var(--u-rem) * 4.28);
}

.local-lottery-card {
  min-width: 0;
  min-height: 0;
  height: 100%;
  justify-content: flex-start;
  padding: 0;
}

.local-lottery-card .origin-game-card__image-shell {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  flex: none;
  overflow: hidden;
  border-radius: calc(var(--u-rem) * 0.3) calc(var(--u-rem) * 0.3) 0 0;
  background: none;
  box-shadow: none;
}

.local-lottery-card .origin-game-card__image {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: none;
}

.local-lottery-card .origin-game-card__meta {
  display: flex;
  width: 100%;
  min-height: calc(var(--u-rem) * 0.92);
  flex: none;
  padding: calc(var(--u-rem) * 0.1) calc(var(--u-rem) * 0.16);
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: #fff;
}

.local-lottery-card .origin-game-card__meta strong {
  display: -webkit-box;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}

body.local-game-open {
  overflow: hidden;
}

.local-lottery-host {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 50%;
  display: grid;
  width: min(100%, 620px);
  height: 100dvh;
  grid-template-rows: minmax(0, 1fr);
  background: #f4f7fc;
  transform: translateX(-50%);
  box-shadow: 0 0 42px rgba(34, 62, 106, 0.18);
}

.local-lottery-host > iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #f4f7fc;
}
