.public-qr-slide .public-qr-content {
  justify-content: center;
  gap: 18px;
}
.public-qr-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.public-qr-slide .public-qr-heading h2 {
  font-size: 47px;
  line-height: 1.02;
}
.public-qr-heading > p {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.35;
  text-align: right;
  padding-bottom: 3px;
}
.public-qr-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.public-qr-card {
  width: 100%;
  max-width: 310px;
  margin: 0 auto;
  min-width: 0;
}
.public-qr-stage {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid #cfd7ca;
  isolation: isolate;
  box-shadow: 0 8px 24px #172c3810;
}
.public-qr-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
}
.public-qr-paper {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  color: #293c38;
}
.public-qr-menu .public-qr-paper {
  left: 40%;
  top: 22%;
  width: 35%;
  height: 45%;
  gap: 7px;
}
.public-qr-paper > small {
  font-size: 8px;
  letter-spacing: 0.15em;
  font-weight: 650;
}
.public-qr-paper > strong {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}
.public-qr-paper > span {
  font-size: 7px;
  line-height: 1.25;
}
.public-qr-slot {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background: #fff;
  padding: 3px;
}
.public-qr-original {
  display: block;
  width: 100%;
  height: 100%;
}
.public-qr-advert .public-qr-paper {
  left: 33%;
  top: 12%;
  width: 38%;
  height: 57%;
  gap: 10px;
}
.public-qr-advert .public-qr-paper > strong {
  font-size: 29px;
  color: #a64a30;
}
.public-qr-advert .public-advert-copy {
  font-size: 8px;
}
.public-qr-parking .public-qr-paper {
  left: 30%;
  top: 33%;
  width: 38%;
  height: 41%;
  transform: rotate(-3deg);
}
.public-parking-notice {
  width: 100%;
  height: 100%;
  object-fit: fill;
  box-shadow: 0 1px 3px #172c3820;
}
.public-qr-parking .public-qr-slot {
  position: absolute;
  right: 9%;
  bottom: 7%;
  width: 70px;
  height: 70px;
  background: none;
  padding: 0;
}
.public-qr-overlay {
  position: absolute;
  inset: -6px;
  display: block;
  padding: 6px;
  border: 1px solid #b8b1a4;
  background: #fff;
  box-shadow: 2px 5px 8px #0c1d3840;
  transform: translate(90px, -115px) rotate(22deg) scale(1.15);
  transition: none;
}
.public-qr-overlay::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #e3dece 0 50%, #fff 51%);
  box-shadow: -1px -1px 2px #172c3820;
}
.public-qr-overlay img {
  display: block;
  width: 100%;
  height: 100%;
}
.public-qr-slide.active .public-qr-overlay.is-visible {
  transform: translate(0, 0) rotate(-5deg);
  animation: public-qr-paste 1.15s cubic-bezier(0.22, 0.7, 0.25, 1) both;
  animation-delay: var(--paste-delay, 0s);
}
.public-qr-advert {
  --paste-delay: 0.3s;
}
.public-qr-parking {
  --paste-delay: 0.6s;
}
@keyframes public-qr-paste {
  0% {
    opacity: 0;
    transform: translate(110px, -150px) rotate(24deg) scale(1.25);
    box-shadow: 10px 28px 22px #08132245;
  }
  18% {
    opacity: 1;
  }
  68% {
    transform: translate(0, -8px) rotate(-7deg) scale(1.06);
    box-shadow: 2px 14px 14px #08132245;
  }
  87% {
    transform: translate(0, 1px) rotate(-5deg) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(-5deg) scale(1);
    box-shadow: 2px 5px 8px #0c1d3840;
  }
}
.public-qr-board.is-replaying .public-qr-overlay.is-visible {
  animation: none;
}
.public-qr-board.is-paused .public-qr-overlay.is-visible {
  animation-play-state: paused;
}
.public-qr-swap {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border-radius: 5px;
  padding: 5px 9px;
  color: #fff;
  background: #a53b26;
  box-shadow: 0 2px 6px #08132222;
  font-size: 11px;
  font-weight: 650;
  transform: none;
  transition-delay: 1.15s;
}
.public-qr-card figcaption {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1px 6px;
  margin-top: 10px;
}
.public-qr-card figcaption > span {
  grid-row: span 2;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  padding-top: 2px;
}
.public-qr-card figcaption strong {
  font-size: 18px;
  line-height: 1.15;
}
.public-qr-card figcaption small {
  color: var(--muted);
  font-size: 12px;
}
.public-qr-bottom {
  display: flex;
  align-items: center;
  gap: 22px;
}
.public-qr-lesson {
  font-size: 24px;
  color: var(--muted);
  line-height: 1.15;
}
.public-qr-lesson strong {
  color: var(--ink);
}
.public-qr-replay {
  display: flex;
  gap: 7px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.public-qr-replay .icon {
  width: 14px;
  height: 14px;
  transform: rotate(-135deg);
}
.public-qr-replay:hover {
  background: #eaf0e3;
}
.public-qr-replay:focus-visible,
.public-qr-overlay:focus-visible {
  outline: 3px solid #405beb;
  outline-offset: 4px;
}
.public-qr-bottom > small {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
  max-width: 205px;
  text-align: right;
  line-height: 1.4;
}
@media (max-width: 759px) {
  .public-qr-slide .public-qr-content {
    gap: 25px;
  }
  .public-qr-heading {
    display: block;
  }
  .public-qr-slide .public-qr-heading h2 {
    font-size: 41px;
  }
  .public-qr-heading > p {
    font-size: 18px;
    text-align: left;
    margin-top: 16px;
  }
  .public-qr-board {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .public-qr-card {
    max-width: 410px;
    width: 100%;
    margin: 0 auto;
  }
  .public-qr-stage {
    overflow: hidden;
  }
  .public-qr-card figcaption strong {
    font-size: 19px;
  }
  .public-qr-card figcaption small {
    font-size: 14px;
  }
  .public-qr-bottom {
    flex-wrap: wrap;
    gap: 17px;
  }
  .public-qr-bottom > small {
    max-width: none;
    width: 100%;
    text-align: left;
    margin: 0;
    font-size: 12px;
  }
  .public-qr-replay {
    min-height: 44px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .public-qr-slide .public-qr-overlay,
  .public-qr-slide .public-qr-overlay.is-visible {
    animation: none !important;
    transition: none !important;
    transform: rotate(-5deg) !important;
  }
  .public-qr-swap {
    transition: none;
  }
  .public-qr-replay {
    display: none;
  }
}
@media print {
  .public-qr-slide .public-qr-overlay.reveal {
    animation: none !important;
    transform: rotate(-5deg) !important;
  }
  .public-qr-slide .public-qr-replay {
    display: none;
  }
}
