:root {
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #171717;
  background: #f5f1ef;
  font-synthesis: none;
  --pink: #ff72b5;
  --ink: #171717;
  --muted: #71696e;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 0;
  background:
    radial-gradient(ellipse at 10% 0%, #ffe7f0, transparent 64%),
    radial-gradient(ellipse at 95% 100%, #dfebe2, transparent 62%), #f7f3f0;
  min-height: 100svh;
}
button,
input,
select,
textarea,
a {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 12px;
  min-height: 46px;
  padding: 10px 16px;
  box-shadow: 2px 2px 0 var(--ink);
  transition:
    background 0.16s,
    transform 0.16s;
}
button:active:not(.no) {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #a83272;
  outline-offset: 4px;
}
h1:focus {
  outline: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button svg {
  width: 32px;
  height: 32px;
  flex: none;
}
main {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
}
.panel {
  width: 100%;
  max-width: 440px;
  border: 3px solid var(--ink);
  border-radius: 25px;
  box-shadow: 6px 6px 0 var(--ink);
  background: rgba(255, 255, 255, 0.95);
  padding: 34px 27px 30px;
  position: relative;
  text-align: center;
  animation: arrive 0.25s ease-out;
}
h1 {
  font-size: 29px;
  line-height: 1.45;
  margin: 8px 0 14px;
  font-weight: 800;
  letter-spacing: -0.6px;
  overflow-wrap: anywhere;
}
.emoji {
  display: block;
  font-size: 31px;
  line-height: 1.3;
  margin-top: 6px;
}
.emoji.compact {
  font-size: 26px;
  margin-top: 3px;
}
.subtitle {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 12px 0 26px;
  overflow-wrap: anywhere;
}
.seal {
  display: block;
  width: 130px;
  height: 130px;
  object-fit: contain;
  margin: 0 auto 12px;
  transition: transform 0.35s;
}
.seal.shy {
  transform: rotate(-9deg) translateY(-3px);
}
.seal.small {
  width: 80px;
  height: 80px;
  margin: 6px auto 18px;
}
.primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--pink);
  border: 3px solid var(--ink);
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 12px;
  min-height: 48px;
  padding: 11px 18px;
  line-height: 1.4;
}
.next {
  width: 100%;
  margin-top: 22px;
}
.back {
  position: absolute;
  left: 10px;
  top: 9px;
  padding: 5px;
  width: 44px;
  min-height: 44px;
  font-size: 23px;
  border: 0;
  box-shadow: none;
  background: transparent;
  z-index: 2;
}
.arena {
  height: 164px;
  position: relative;
  max-width: 326px;
  margin: 0 auto;
}
.yes {
  position: absolute;
  top: 4px;
  left: 0;
  min-width: 124px;
  border-radius: 30px;
  z-index: 1;
}
.runway {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.no {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
  border-radius: 30px;
  min-height: 48px;
  width: 124px;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 3px 3px 0 var(--ink);
  border-width: 3px;
  transition: transform 0.36s cubic-bezier(0.2, 0.78, 0.28, 1);
  touch-action: none;
  will-change: transform;
}
.dodge-note {
  min-height: 19px;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.step-welcome {
  padding-top: 30px;
}
.step-promise {
  padding-top: 28px;
  padding-bottom: 34px;
}
.step-promise h1 {
  font-size: 28px;
}
.step-promise .subtitle {
  margin: 16px 0 8px;
}
.schedule {
  display: grid;
  gap: 16px;
  text-align: left;
  margin-top: 26px;
}
.schedule label {
  font-size: 13px;
  font-weight: 600;
  display: block;
}
.schedule input,
.schedule select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 51px;
  margin-top: 7px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 16px;
  box-shadow: 2px 2px 0 var(--ink);
}
.schedule input {
  appearance: none;
}
.schedule input::-webkit-date-and-time-value {
  text-align: left;
}
.waiting {
  margin: 17px -6px 0;
  font-size: 12px;
}
.step-when .next {
  margin-top: 25px;
}
.step-activities {
  padding-top: 33px;
}
.step-activities h1 {
  margin-bottom: 22px;
}
.activity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.activity {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 106px;
  padding: 15px 8px 11px;
  line-height: 1.45;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.activity.selected {
  background: #fff0f7;
  border-color: #171717;
}
.activity .check {
  position: absolute;
  right: 6px;
  top: 5px;
  border-radius: 50%;
  font-style: normal;
  width: 17px;
  height: 17px;
  line-height: 17px;
  color: white;
  background: #23844e;
  font-size: 11px;
  opacity: 0;
}
.activity.selected .check {
  opacity: 1;
}
.activity-tools {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  align-items: center;
  margin-top: 10px;
}
.text-button {
  border: 0;
  box-shadow: none;
  min-height: 44px;
  padding: 8px 0;
  background: none;
  font-size: 12px;
  color: var(--muted);
}
.shuffle {
  white-space: nowrap;
  font-size: 12px;
}
.custom-toggle {
  text-align: left;
}
.custom-input {
  width: 100%;
  min-width: 0;
  font-size: 16px;
  padding: 11px 10px;
  border: 1px solid #c5bfc1;
  border-radius: 10px;
  background: #fff9fc;
  margin: 4px 0;
}
.step-activities .next {
  margin-top: 12px;
}
.final-title {
  font-size: 23px;
  letter-spacing: -0.5px;
  margin-bottom: 21px;
}
.step-review,
.step-result {
  padding: 33px 20px 23px;
}
.date-ticket {
  text-align: left;
  border: 2px solid var(--ink);
  border-radius: 15px;
  background: #fffefb;
  box-shadow: 3px 3px 0 #171717;
  overflow: hidden;
}
.ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #ffdeed;
  padding: 11px 15px;
  font-size: 14px;
  font-weight: 700;
}
.ticket-top small {
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}
.ticket-names {
  padding: 0 15px;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.ticket-names span {
  color: var(--muted);
  font-weight: 400;
}
.ticket-datetime {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  padding: 14px 15px 13px;
  gap: 10px;
  border-bottom: 1px dashed #c8bcc2;
}
.ticket-datetime > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ticket-datetime > div + div {
  border-left: 1px solid #e8dce2;
  padding-left: 15px;
}
.ticket-datetime small,
.ticket-plans > small {
  font-size: 11px;
  color: var(--muted);
}
.ticket-datetime strong {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -1px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ticket-datetime em {
  font-style: normal;
  font-size: 14px;
  margin: 0 2px;
}
.ticket-datetime span {
  font-size: 10px;
  color: var(--muted);
}
.ticket-plans {
  padding: 16px 15px 0;
}
.ticket-plans ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.ticket-plans li {
  font-size: 12px;
  padding: 6px 9px;
  line-height: 1.5;
  background: #fff0f6;
  border-radius: 7px;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.ticket-plans li:before {
  content: "✓";
  color: #a43d6e;
  margin-right: 5px;
}
.ticket-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 17px 14px;
  min-height: 104px;
}
.ticket-bottom p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.stamp,
.stamp-empty {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #c23174;
  border-radius: 50%;
  color: #c23174;
  transform: rotate(-10deg);
  outline: 1px solid #c23174;
  outline-offset: -6px;
  gap: 3px;
}
.stamp span {
  font-size: 9px;
}
.stamp strong {
  font-size: 21px;
}
.stamp-empty {
  color: #bcacb4;
  border: 1px dashed #d8cbd1;
  outline: none;
  font-size: 12px;
}
.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}
.result-actions .primary {
  grid-column: 1/-1;
}
.result-actions button {
  font-size: 13px;
  padding: 10px 5px;
}
.return-note {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 13px 0 0;
}
.error {
  color: #a82160;
  font-size: 13px;
  line-height: 1.6;
  margin: 15px 0 0;
}
.toast {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translate(-50%, 12px);
  max-width: calc(100vw - 32px);
  width: max-content;
  color: #fff;
  background: #282126;
  box-shadow: 0 4px 20px #0002;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.6;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 20;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.gate {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: #f6edf2;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}
.gate > div {
  max-width: 340px;
}
.gate h1 {
  font-size: 23px;
}
.gate p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.gate-flower {
  font-size: 40px;
  color: #be4f82;
}
.gate[hidden] {
  display: none;
}
dialog {
  width: calc(100% - 28px);
  max-width: 500px;
  max-height: calc(100svh - 36px);
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  background: #fffdfb;
  overflow: auto;
}
dialog::backdrop {
  background: #28212699;
}
dialog h2 {
  font-size: 20px;
  margin: 13px 32px 16px 0;
}
dialog p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.dialog-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 44px;
  min-height: 44px;
  border: 0;
  box-shadow: none;
  background: transparent;
  font-size: 26px;
  padding: 0;
}
.export-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.download {
  margin-top: 16px;
  display: flex;
}
dialog textarea {
  display: block;
  width: 100%;
  min-height: 190px;
  resize: vertical;
  padding: 10px;
  font-size: 14px;
  line-height: 1.7;
  border: 1px solid #b9aeb5;
  border-radius: 8px;
}
.skip-animation {
  font-size: 11px;
  min-height: 30px;
  padding: 4px;
  position: absolute;
  right: 25px;
  bottom: 4px;
}
.just-stamped .stamp {
  animation: stamp-in 0.65s cubic-bezier(0.18, 0.72, 0.28, 1.2) both;
}
.just-stamped {
  animation: paper-tap 0.55s ease-out;
}
.hint {
  font-size: 12px;
}
@keyframes arrive {
  from {
    opacity: 0.5;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes stamp-in {
  0% {
    opacity: 0;
    transform: rotate(-22deg) scale(1.9);
  }
  50% {
    opacity: 1;
    transform: rotate(-10deg) scale(0.95);
  }
  100% {
    transform: rotate(-10deg) scale(1);
  }
}
@keyframes paper-tap {
  40% {
    transform: translateY(2px);
  }
  70% {
    transform: translateY(-1px);
  }
}
@media (max-width: 370px) {
  main {
    padding: 17px 13px 23px;
  }
  .panel {
    padding-left: 19px;
    padding-right: 19px;
  }
  h1 {
    font-size: 26px;
  }
  .arena {
    margin: 0 -5px;
  }
  .step-activities {
    padding: 31px 18px 23px;
  }
  .activity-grid {
    gap: 9px;
  }
  .activity {
    min-height: 98px;
    font-size: 12px;
    padding: 14px 6px 10px;
  }
  .activity-tools .text-button {
    font-size: 11px;
  }
  .step-review,
  .step-result {
    padding-left: 13px;
    padding-right: 13px;
  }
  .final-title {
    font-size: 21px;
  }
  .ticket-datetime {
    padding: 14px 12px 13px;
  }
  .ticket-datetime strong {
    font-size: 24px;
  }
  .ticket-datetime > div + div {
    padding-left: 11px;
  }
  .ticket-top {
    padding: 11px 12px;
  }
  .ticket-plans {
    padding-left: 12px;
    padding-right: 12px;
  }
  .ticket-bottom {
    padding-left: 13px;
    padding-right: 13px;
  }
  .step-welcome .seal {
    width: 115px;
    height: 115px;
  }
}
@media (max-height: 690px) and (max-width: 600px) {
  main {
    padding-top: 16px;
    padding-bottom: 22px;
  }
  .panel {
    padding-top: 28px;
    padding-bottom: 22px;
  }
  .seal.small {
    width: 66px;
    height: 66px;
    margin-bottom: 12px;
  }
  .step-activities h1 {
    margin: 4px 0 16px;
  }
  .activity {
    min-height: 93px;
    gap: 6px;
  }
  .activity svg {
    width: 28px;
    height: 28px;
  }
  .final-title {
    margin-bottom: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .no {
    transition: transform 0.07s linear !important;
  }
  .seal.shy {
    transform: none;
  }
  .toast {
    transform: translateX(-50%);
  }
  .toast.show {
    transform: translateX(-50%);
  }
}
/* A small pack opens into the same six choices; selected cards never leave their place. */
.pack-subtitle {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 8px;
}
.unopened-pack {
  height: 328px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.card-pack {
  position: relative;
  width: 180px;
  height: 236px;
  border: 3px solid #171717;
  border-radius: 12px 12px 20px 20px;
  background: linear-gradient(145deg, #ffe6f3, #ffcde4);
  box-shadow: 5px 6px 0 #171717;
  transform: rotate(-5deg);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  overflow: hidden;
  z-index: 2;
  padding: 21px 12px 39px;
}
.card-pack:before,
.card-pack:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 9px;
  background: repeating-linear-gradient(
    90deg,
    #cc789e 0 2px,
    transparent 2px 6px
  );
  opacity: 0.45;
}
.card-pack:before {
  top: 5px;
}
.card-pack:after {
  bottom: 5px;
}
.card-pack svg {
  width: 49px;
  height: 49px;
  stroke-width: 1.4;
}
.card-pack > strong {
  font-size: 28px;
  letter-spacing: 4px;
}
.pack-mini {
  font-size: 10px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.pack-count {
  font-size: 11px;
  color: #77465e;
}
.pack-rip {
  position: absolute;
  bottom: 21px;
  left: 0;
  right: 0;
  font-size: 10px;
  border-top: 1px dashed #b77797;
  padding-top: 9px;
}
.pack-backs {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.pack-backs i {
  position: absolute;
  width: 157px;
  height: 215px;
  border: 2px solid #171717;
  border-radius: 13px;
  background: #fff9e7;
  box-shadow: 2px 2px 0 #171717;
  transform: translate(22px, -16px) rotate(10deg);
}
.pack-backs i:nth-child(2) {
  transform: translate(-22px, -12px) rotate(-16deg);
  background: #f6e4ee;
}
.pack-backs i:nth-child(3) {
  transform: translate(5px, -22px) rotate(0deg);
  background: #fae8ad;
}
.pack-spark {
  position: absolute;
  font-size: 35px;
  color: #b47b18;
  z-index: 3;
}
.spark-one {
  top: 20px;
  right: 23px;
  transform: rotate(16deg);
}
.spark-two {
  bottom: 22px;
  left: 27px;
  font-size: 25px;
}
.draw-stage {
  position: relative;
  perspective: 800px;
}
.activity {
  padding: 0;
  min-height: 106px;
  isolation: isolate;
  transform-style: preserve-3d;
}
.card-front {
  width: 100%;
  height: 100%;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 7px 10px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  backface-visibility: hidden;
}
.card-front > span {
  overflow-wrap: anywhere;
}
.card-front > svg {
  width: 30px;
  height: 30px;
}
.card-back {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: repeating-linear-gradient(45deg, #ffe0ed 0 9px, #ffe8f2 9px 18px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  backface-visibility: hidden;
}
.card-back small {
  font-size: 9px;
}
.rarity-ssr {
  background: linear-gradient(130deg, #fff8de, #f9de8c 55%, #fff5d0);
  border-color: #946414;
  box-shadow: 2px 2px 0 #765215;
}
.rarity-ssr.selected {
  background: linear-gradient(135deg, #fff0b9, #f7ce67 55%, #fff0b5);
  border-color: #664409;
}
.rarity-ssr .card-front > svg {
  color: #88600b;
}
.rarity-label {
  position: absolute;
  top: 5px;
  left: 7px;
  font-size: 9px;
  letter-spacing: 1px;
  line-height: 1.1;
  color: #805300;
  font-weight: 900;
}
.rarity-ssr .card-front:after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    110deg,
    transparent 35%,
    #fff8 47%,
    transparent 60%
  );
  transform: translateX(-120%);
  pointer-events: none;
  animation: gold-glint 3.5s ease-in-out 1.3s 1;
}
.dealt-card {
  animation: deal-card 0.72s cubic-bezier(0.18, 0.7, 0.24, 1) var(--deal-delay)
    both;
  pointer-events: none;
  z-index: 3;
}
.dealt-card .card-back {
  display: flex;
  animation: card-back-out 0.72s linear var(--deal-delay) both;
}
.dealt-card .card-front {
  animation: card-front-in 0.72s linear var(--deal-delay) both;
}
.deal-source {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 156px;
  height: 180px;
  border: 3px solid #171717;
  background: #ffd5e8;
  border-radius: 12px;
  box-shadow: 3px 4px 0 #171717;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translate(-50%, -50%) rotate(-6deg);
  animation: pack-vanish 0.6s ease-out 0.16s both;
  pointer-events: none;
  z-index: 2;
}
.deal-source svg {
  width: 38px;
  height: 38px;
}
.deal-source strong {
  font-size: 23px;
  letter-spacing: 3px;
}
.skip-deal {
  position: absolute;
  bottom: -33px;
  right: 0;
  background: #fff9fc;
  z-index: 5;
  padding: 6px;
  min-height: 31px;
  font-size: 11px;
}
.ticket-code {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  border-top: 1px dashed #ddcfd7;
  margin: 15px 12px 0;
  padding: 12px 0 15px;
}
.qr-symbol {
  width: 132px;
  max-width: 50%;
  flex-shrink: 0;
  line-height: 0;
  background: #fff;
}
.qr-symbol svg {
  display: block;
  width: 100%;
  height: auto;
}
.code-note {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.code-note p {
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.code-note p strong {
  display: block;
  color: #43323b;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 3px;
}
.code-note p span {
  display: block;
}
.result-actions {
  display: block;
}
.result-actions .primary {
  width: 100%;
}
@keyframes deal-card {
  0% {
    opacity: 0;
    transform: translate(var(--deal-x), var(--deal-y)) scale(0.68)
      rotate(var(--deal-turn));
  }
  18% {
    opacity: 1;
  }
  55% {
    transform: translate(
        calc(var(--deal-x) * 0.25),
        calc(var(--deal-y) * 0.25 - 15px)
      )
      scale(0.94) rotateY(85deg) rotate(0);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotateY(0);
  }
}
@keyframes card-back-out {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}
@keyframes card-front-in {
  0%,
  49% {
    opacity: 0;
  }
  50%,
  100% {
    opacity: 1;
  }
}
@keyframes pack-vanish {
  to {
    opacity: 0;
    transform: translate(-50%, -38%) rotate(-12deg) scale(0.85);
  }
}
@keyframes gold-glint {
  0%,
  30% {
    transform: translateX(-120%);
  }
  75%,
  100% {
    transform: translateX(120%);
  }
}
@media (max-width: 370px) {
  .activity {
    padding: 0;
    min-height: 99px;
  }
  .card-front {
    min-height: 97px;
    font-size: 12px;
    padding: 20px 6px 9px;
    gap: 7px;
  }
  .qr-symbol {
    width: 121px;
  }
  .ticket-code {
    gap: 8px;
  }
  .unopened-pack {
    height: 296px;
  }
  .card-pack {
    width: 170px;
    height: 222px;
  }
}
@media (max-height: 690px) and (max-width: 600px) {
  .activity {
    min-height: 91px;
  }
  .card-front {
    min-height: 89px;
  }
  .unopened-pack {
    height: 270px;
  }
  .card-pack {
    height: 212px;
    width: 164px;
  }
  .pack-backs i {
    height: 194px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .deal-source,
  .card-back {
    display: none !important;
  }
  .dealt-card,
  .dealt-card .card-front {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .rarity-ssr .card-front:after {
    display: none;
  }
}
.recipient-tag {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  background: #fff0f7;
  border-bottom: 1px solid #dfa4bf;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.6;
  padding: 3px 12px;
  transform: rotate(-3deg);
  margin: -1px 0 5px;
  color: #89516c;
}
.private-door {
  background: #fffdfa;
  border: 3px solid #171717;
  border-radius: 23px;
  box-shadow: 6px 6px 0 #171717;
  padding: 26px 24px;
}
.private-door h1 {
  font-size: 26px;
}
.letter-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 47px;
  border: 2px solid #171717;
  background: #ffd7e8;
  font-size: 32px;
  transform: rotate(-8deg);
  box-shadow: 3px 3px 0 #171717;
  border-radius: 6px;
}
.gate .letter-to {
  font-size: 12px;
  overflow-wrap: anywhere;
  margin: 23px 0 8px;
  color: #9c4d76;
}
.private-door input {
  display: block;
  border: 2px solid #171717;
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 16px;
  width: 100%;
  margin: 17px 0 12px;
  min-height: 48px;
}
.private-door .primary {
  width: 100%;
  font-size: 14px;
}
.gate .unlock-error {
  color: #a32661;
  font-size: 12px;
  margin: 10px 0 0;
  line-height: 1.6;
}
.code-note {
  gap: 5px;
}
.code-note .stamp {
  width: 64px;
  height: 64px;
}
.code-note .stamp strong {
  font-size: 18px;
}
.code-note .stamp span {
  font-size: 8px;
}
.code-note p .keepsake-line {
  font-size: 10px;
  line-height: 1.55;
  font-weight: 500;
  margin-bottom: 0;
}
.memory-mark {
  color: #b66a91;
  line-height: 0;
}
.memory-mark svg {
  width: 74px;
  height: 18px;
  display: block;
  margin: 0 auto;
}
.code-note p > span:last-child {
  font-size: 9px;
  color: #80757c;
}
.step-result {
  padding-top: 28px;
  padding-bottom: 20px;
}
.step-result .final-title {
  margin-bottom: 16px;
}
.step-result .ticket-code {
  margin-top: 12px;
  padding-top: 8px;
  padding-bottom: 11px;
}
.step-result .result-actions {
  margin-top: 14px;
}
.step-result .return-note {
  margin-top: 10px;
}
