.install-panel {
  width: 100%;
  margin: 20px auto;
}

.install-button {
  width: 100%;
  min-height: 54px;
  max-width: 720px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--install-button-bg);
  border-radius: var(--radius);
  transition: transform 120ms ease;
}

.install-button:active {
  transform: scale(0.98);
}

.install-button > img {
  width: 12px;
  height: 15px;
  margin-top: -15px;
  margin-right: 4px;
}

.install-button__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.install-button__text strong {
  color: var(--install-accent);
  font-size: 16px;
  font-weight: 600;
}

.install-button__text small {
  margin-left: -10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 400;
}

.quick-actions {
  min-height: 45px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-actions__item {
  min-width: 120px;
  max-width: 220px;
  margin: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00a173;
}

.quick-actions__item img {
  flex: 0 0 17px;
  width: 17px;
  height: 20px;
  margin-right: 10px;
}

.quick-actions__item span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #00a173;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  text-overflow: ellipsis;
}

.desktop-qr {
  width: 100%;
  margin: 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1.3);
  transform-origin: center;
}

.desktop-qr__hand {
  position: relative;
  width: 233px;
  height: 142px;
  flex: 0 0 233px;
}

.desktop-qr__hand-image {
  width: 100%;
  height: 100%;
}

.desktop-qr__hand-light {
  position: absolute;
  left: 78px;
  top: 15px;
  width: 63px;
  height: 44px;
  animation: qr-hand-light 3s infinite;
}

.desktop-qr__code-card {
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.desktop-qr__canvas-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop-qr__canvas {
  width: 135px;
  height: 135px;
}

.desktop-qr__frame {
  position: absolute;
  inset: 0;
  width: 150px;
  height: 150px;
  pointer-events: none;
}

.desktop-qr__code-card p {
  margin-top: 5px;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.desktop-qr__arrow {
  width: 51px;
  height: 51px;
  margin: 0 10px;
}

.desktop-qr__phone {
  width: 75px;
  height: 145px;
  padding: 10px 5px;
  border: 2px solid #1e1c24;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.desktop-qr__phone img {
  width: 34px;
  height: 34px;
  margin-top: 10px;
  border-radius: 5px;
}

.desktop-qr__phone span {
  width: 100%;
  height: 20px;
  margin-top: 10px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-size: 7px;
  font-weight: 500;
  line-height: 10px;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.desktop-qr__phone button {
  width: 100%;
  margin-top: 20px;
  padding: 5px 0;
  border-radius: 3px;
  background: var(--brand);
  color: var(--install-accent);
  font-size: 6px;
  line-height: 1;
}

@keyframes qr-hand-light {
  0% {
    top: 15px;
  }

  50% {
    top: 53px;
  }

  100% {
    top: 15px;
  }
}

.share-modal,
.return-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--scrim);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.share-modal.is-visible,
.return-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.share-modal__body {
  position: relative;
  width: 90%;
  max-width: 380px;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.share-modal.is-visible .share-modal__body {
  transform: translateY(0);
}

.share-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
}

.share-modal__close svg {
  width: 16px;
  height: 16px;
  fill: #333333;
}

.share-modal__header {
  padding: 20px 20px 15px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
}

.share-modal__header h2 {
  margin-bottom: 8px;
  color: #333333;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}

.share-modal__header p {
  color: #666666;
  font-size: 14px;
  line-height: 20px;
}

.share-modal__options {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 15px;
}

.share-modal__options button {
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #666666;
  font-size: 12px;
}

.share-modal__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-modal__icon svg {
  width: 48px;
  height: 48px;
}

.return-modal {
  z-index: 9998;
}

.return-modal__body {
  width: min(85%, 353px);
  padding: 25px 20px;
  border-radius: 18px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.return-modal__reward {
  width: 166px;
}

.return-modal__body h2 {
  margin-top: 32px;
  color: #000000;
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
}

.return-modal__app {
  width: 100%;
  margin: 15px 0;
  padding: 15px;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.23);
  display: flex;
}

.return-modal__app > img {
  width: 70px;
  height: 70px;
  margin-right: 15px;
  border-radius: 20%;
  object-fit: cover;
}

.return-modal__app strong {
  display: block;
  color: #000000;
  font-size: 22px;
  font-weight: 500;
  line-height: 24px;
  overflow-wrap: anywhere;
}

.return-modal__app span {
  display: block;
  margin-top: 5px;
  color: var(--brand);
  font-size: 10px;
}

.return-modal__body p {
  color: #000000;
  font-size: 14px;
  line-height: 18px;
  word-break: break-word;
}

.return-modal__body > button {
  width: 100%;
  height: 35px;
  margin-top: 15px;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-size: 14px;
}

.play-tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  width: 100%;
  max-width: var(--page-width);
  height: 68px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: #ffffff;
}

.play-tabs__item {
  min-width: 0;
  height: 67px;
  padding: 7px 2px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.play-tabs__item svg {
  width: 26px;
  height: 26px;
  margin-bottom: 4px;
  fill: currentColor;
}

.play-tabs__item span {
  max-width: 100%;
  overflow: hidden;
  color: currentColor;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.play-tabs__item--active {
  color: var(--brand-strong);
}
