html, body {
  scroll-behavior: auto !important;
}

.ticket-img-wrapper {
  overflow: hidden;
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
}

.ticket-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  max-height: 180px;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  filter: blur(12px);
  z-index: 0;
  opacity: .75;
}

.ticket-img {
  max-height: 200px;
  display: inline-block; /* 置中 */
  position: relative;
  z-index: 1;
}


.scratch-table th:first-child,
.scratch-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
}


/* ===================== */
/* Background            */
/* ===================== */
.background {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #fcf8cc 0%, #ffeb83 100%);
}

/* ===================== */
/* Post Titles           */
/* ===================== */
.post h1, .post h2, .post h3, .post h4, .post h5, .post h6 {
  font-size: 1.25rem;
}

/* ===================== */
/* Store Title           */
/* ===================== */
.store-title {
  --store-title-font-size: 1rem;
  margin-bottom: 0;
  font-size: var(--store-title-font-size);
}

/* ===================== */
/* Lottery Card          */
/* ===================== */
.lottery-card {
  --lottery-card-padding-x: 0.5rem;
  --lottery-card-padding-y: 1rem;
  --lottery-card-name-font-size: 0.8rem;
  --lottery-card-number-font-size: 2rem;
  --lottery-card-year-font-size: 0.65rem;
  --lottery-card-year-bottom: 0.5rem;

  flex-grow: 1;
  flex-basis: calc(33% - 0.25rem);
  position: relative;
  min-width: unset;
  padding: calc(var(--lottery-card-padding-y) - var(--lottery-card-year-bottom) * 0.5) var(--lottery-card-padding-x) var(--lottery-card-padding-y) var(--lottery-card-padding-x);
  text-align: center;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 0.375rem;
  overflow: hidden;
}

.lottery-card-body {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lottery-card-name {
  margin-bottom: 0.25rem;
  color: #bbb;
  font-size: var(--lottery-card-name-font-size);
  font-weight: normal;
  line-height: 1;
}

.lottery-card-number {
  margin-bottom: 0.5rem;
  color: #bbb;
  font-size: var(--lottery-card-number-font-size);
  line-height: 1;
}

.lottery-card-year {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: var(--bs-danger);
  color: var(--bs-white);
  font-size: var(--lottery-card-year-font-size);
  text-align: center;
}

/* ===================== */
/* Responsive            */
/* ===================== */
@media (min-width: 576px) {
  .store-title {
    font-size: calc(var(--store-title-font-size) * 1.25);
  }
  .lottery-card {
    --lottery-card-padding-y: 1.1rem;
  }
  .lottery-card-name {
    font-size: calc(var(--lottery-card-name-font-size) * 1.25);
  }
  .lottery-card-number {
    font-size: calc(var(--lottery-card-number-font-size) * 1.25);
  }
  .lottery-card-year {
    font-size: calc(var(--lottery-card-year-font-size) * 1.25);
  }
}

@media (min-width: 1200px) {
  .store-title {
    font-size: calc(var(--store-title-font-size) * 1.5);
  }
  .lottery-card {
    --lottery-card-padding-y: 1.3rem;
  }
  .lottery-card-name {
    font-size: calc(var(--lottery-card-name-font-size) * 1.5);
  }
  .lottery-card-number {
    font-size: calc(var(--lottery-card-number-font-size) * 1.5);
  }
  .lottery-card-year {
    font-size: calc(var(--lottery-card-year-font-size) * 1.5);
  }
}
