/* Joining owns its sizing here so the code stays square at every TV size. */
.boarding-pass {
  position: absolute;
  z-index: 14;
  right: 6.2%;
  top: 11%;
  width: 364px;
  padding: 18px 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
  border-radius: 3px;
  transform: none;
}
.ticket-top {
  display: none;
}
.boarding-pass h2 {
  font-size: 30px;
  line-height: 34px;
  margin: 0 0 6px;
}
.boarding-pass p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}
.qr-wrap {
  margin: 12px auto 0;
  width: clamp(224px, calc(100dvh - 448px), 320px);
  max-width: 100%;
  aspect-ratio: 1;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.qr-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  transform: none;
}
.boarding-pass > .text-button {
  display: flex;
  margin: 4px auto 8px;
  padding: 6px 0;
  font-size: 10px;
  line-height: 12px;
}
.boarding-pass .text-button .icon {
  width: 14px;
  height: 14px;
}
.ticket-perforation {
  position: relative;
  margin: 0 -22px 12px;
  border-top: 1px dashed #c7c6b1;
}
.ticket-perforation:before,
.ticket-perforation:after {
  content: '';
  position: absolute;
  top: -7px;
  height: 13px;
  width: 13px;
  border-radius: 50%;
  background: #c4cdb4;
}
.ticket-perforation:before {
  left: -7px;
}
.ticket-perforation:after {
  right: -7px;
}
.boarding-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  line-height: 22px;
}
.boarding-count span {
  font-size: 9px;
  letter-spacing: 0.15em;
}
.boarding-count strong {
  font-size: 20px;
}
.boarding-count small {
  font-size: 12px;
  color: #9a9e8f;
}
.boarding-pass .primary {
  width: 100%;
  font-size: 13px;
  min-height: 48px;
  padding: 13px 17px;
}
.ticket-foot {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  line-height: 12px;
  text-align: center;
  color: var(--muted);
}
.join-code-modal {
  transform: none;
  padding: 28px;
}
.join-code-modal h2 {
  font-size: 30px;
  margin: 12px 0;
}
.join-code-modal .modal-qr {
  width: min(360px, calc(80dvh - 240px), 100%);
  min-width: 224px;
  margin: 16px auto;
}
@media (max-height: 830px) and (min-width: 901px) {
  .boarding-pass {
    top: 9%;
    padding-block: 14px;
  }
  .boarding-pass h2 {
    font-size: 26px;
    line-height: 30px;
  }
  .boarding-pass p {
    display: none;
  }
  .qr-wrap {
    margin-top: 8px;
  }
  .boarding-pass > .text-button {
    margin-bottom: 4px;
  }
  .boarding-count {
    margin-bottom: 8px;
  }
  .boarding-pass .primary {
    min-height: 44px;
    padding-block: 11px;
  }
  .ticket-foot {
    margin-top: 4px;
  }
}
@media (min-width: 1700px) {
  .boarding-pass {
    right: 9%;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .boarding-pass {
    right: 4%;
  }
}
@media (max-width: 900px) {
  .boarding-pass {
    top: 430px;
    right: 50%;
    translate: 50% 0;
    width: min(364px, 86vw);
  }
  .qr-wrap {
    width: 320px;
  }
}
