/* GoodShort download promotion — loaded last to override legacy styles. */
:root {
  --gs-pink: #fe3355;
  --gs-orange: #ff802b;
  --gs-download-gradient: linear-gradient(105deg, var(--gs-pink) 0%, var(--gs-orange) 100%);
  --gs-dock-safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* The legacy header actions are intentionally absent from the download-focused page. */
.head-center-right,
.head-center .head-center-right {
  display: none !important;
}

/* Keep the original logo/navigation header a single, compact 64px row. */
.head-vis,
.head-vis[data-v-7ac29dd9],
.head-vis[data-v-46a06c32] {
  height: 64px !important;
  min-height: 64px !important;
}

.head-center,
.head-center[data-v-7ac29dd9],
.head-center[data-v-46a06c32] {
  min-height: 64px !important;
  height: 64px;
  flex-wrap: nowrap !important;
}

.head-center .head-center-left {
  width: auto !important;
  min-width: 0;
}

/* Existing App campaign banner: preserve its roomy desktop card while refreshing its CTA. */
.pb.gs-app-banner,
.pb.gs-app-banner[data-v-7ac29dd9],
.pb.gs-app-banner[data-v-46a06c32] {
  width: min(1080px, calc(100% - 48px));
  min-height: 88px;
  height: auto !important;
  box-sizing: border-box;
  padding: 16px 34px;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}

.gs-app-banner .pb-img {
  flex: 0 0 auto;
  align-self: stretch;
  width: 145px;
  height: 72px;
  display: flex;
  align-items: center;
}

.gs-app-banner-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.gs-app-banner-title {
  margin: 0;
  color: #25212a;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .01em;
}

.gs-app-banner-title span {
  color: var(--gs-pink);
}

.gs-app-banner-note {
  margin: 5px 0 0;
  color: #81757a;
  font-size: 12px;
  line-height: 1.45;
}

.gs-app-download-btn,
.gs-download-dock-button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  text-decoration: none;
}

.gs-app-download-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--gs-download-gradient);
  box-shadow: 0 7px 16px rgba(254, 51, 85, .22);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: box-shadow .18s ease, transform .18s ease;
}

.gs-app-download-btn span,
.gs-download-dock-button span {
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}

.gs-app-download-btn:hover {
  color: #fff;
  box-shadow: 0 9px 20px rgba(254, 51, 85, .3);
  transform: translateY(-1px);
}

.gs-app-download-btn:focus-visible,
.gs-download-dock-button:focus-visible {
  outline: 3px solid rgba(254, 51, 85, .34);
  outline-offset: 3px;
}

/* The previous QR floating element competes with the fixed download call-to-action. */
.download {
  display: none !important;
}

/* Reserve space for the fixed CTA so page-end content always stays accessible. */
body {
  padding-bottom: calc(110px + var(--gs-dock-safe-bottom));
}

.gs-download-dock {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: calc(20px + var(--gs-dock-safe-bottom));
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 48px));
  height: 84px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 15px 12px 16px;
  border: 1px solid rgba(254, 51, 85, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 30px rgba(80, 30, 40, .13), 0 2px 7px rgba(254, 51, 85, .08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.gs-download-dock-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gs-download-dock-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: block;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(41, 19, 28, .12);
}

.gs-download-dock-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gs-download-dock-copy strong {
  overflow: hidden;
  color: #2a2025;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gs-download-dock-copy small {
  overflow: hidden;
  color: #80777b;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gs-download-dock-button {
  min-width: 134px;
  min-height: 48px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-sizing: border-box;
  padding: 0 18px;
  border-radius: 12px;
  color: #fff;
  background: var(--gs-download-gradient);
  box-shadow: 0 7px 16px rgba(254, 51, 85, .22);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: box-shadow .18s ease, transform .18s ease;
}

.gs-download-dock-button:hover {
  color: #fff;
  box-shadow: 0 9px 21px rgba(254, 51, 85, .31);
  transform: translateY(-1px);
}

/* Toasts should remain visible above the persistent bottom call-to-action. */
.gs-toast {
  bottom: calc(124px + var(--gs-dock-safe-bottom)) !important;
}

@media (max-width: 950px) {
  .head-vis,
  .head-vis[data-v-7ac29dd9],
  .head-vis[data-v-46a06c32] {
    height: 64px !important;
    min-height: 64px !important;
  }

  .head-center,
  .head-center[data-v-7ac29dd9],
  .head-center[data-v-46a06c32] {
    height: 64px !important;
    min-height: 64px !important;
    flex-wrap: nowrap !important;
  }

  .head-center .head-center-left {
    width: auto !important;
  }
}

@media (max-width: 600px) {
  body {
    padding-bottom: calc(98px + var(--gs-dock-safe-bottom));
  }

  .pb.gs-app-banner,
  .pb.gs-app-banner[data-v-7ac29dd9],
  .pb.gs-app-banner[data-v-46a06c32] {
    width: calc(100% - 24px);
    min-height: 72px;
    padding: 12px !important;
    gap: 10px;
  }

  .gs-app-banner .pb-img {
    display: none !important;
  }

  .gs-app-banner-copy {
    min-width: 0;
  }

  .gs-app-banner-title {
    font-size: 16px;
    line-height: 1.25;
  }

  .gs-app-banner-note {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.35;
  }

  .gs-app-download-btn {
    min-height: 36px;
    gap: 5px;
    padding: 0 12px;
    font-size: 12px;
  }

  .gs-app-download-btn span {
    font-size: 14px;
  }

  .gs-download-dock {
    bottom: calc(12px + var(--gs-dock-safe-bottom));
    width: calc(100% - 24px);
    min-height: 74px;
    height: auto;
    gap: 10px;
    padding: 10px 10px 10px 11px;
    border-radius: 14px;
  }

  .gs-download-dock-brand {
    gap: 9px;
  }

  .gs-download-dock-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 10px;
  }

  .gs-download-dock-copy {
    gap: 2px;
  }

  .gs-download-dock-copy strong {
    font-size: 14px;
  }

  .gs-download-dock-copy small {
    font-size: 12px;
  }

  .gs-download-dock-button {
    min-width: 114px;
    min-height: 44px;
    gap: 6px;
    padding: 0 12px;
    border-radius: 11px;
    font-size: 14px;
  }

  .gs-download-dock-button span {
    font-size: 15px;
  }

  .gs-toast {
    bottom: calc(104px + var(--gs-dock-safe-bottom)) !important;
  }
}

@media (max-width: 359px) {
  .gs-download-dock {
    gap: 7px;
    padding-right: 8px;
    padding-left: 9px;
  }

  .gs-download-dock-brand {
    gap: 7px;
  }

  .gs-download-dock-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 8px;
  }

  .gs-download-dock-copy strong {
    font-size: 12px;
  }

  .gs-download-dock-copy small {
    font-size: 11px;
  }

  .gs-download-dock-button {
    min-width: 96px;
    min-height: 40px;
    gap: 4px;
    padding: 0 9px;
    font-size: 12px;
  }

  .gs-download-dock-button span {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gs-app-download-btn,
  .gs-download-dock-button {
    transition: none;
  }

  .gs-app-download-btn:hover,
  .gs-download-dock-button:hover {
    transform: none;
  }
}
