/* Shared by the React homepage and the static /go link hub.
   Keep official badge artwork intact and match its visible height. */
.lmp-app-downloads {
  --store-badge-height: 44px;
  margin-top: 16px;
  min-width: 0;
}
.lmp-store-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: calc(var(--store-badge-height) / 2);
  padding: calc(var(--store-badge-height) / 4) 0;
}
.lmp-store-buttons a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 7px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.lmp-store-buttons a:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 5px;
}
.lmp-store-buttons img {
  display: block;
  width: auto;
  height: var(--store-badge-height);
  max-width: none;
}
.lmp-app-downloads-label {
  margin: 0;
  color: #e2e8f0;
  font: 600 15px/1.4 Inter, system-ui, sans-serif;
}
.lmp-app-downloads--member {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 24px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #293649;
}
.lmp-app-downloads--member .lmp-store-buttons { justify-content: center; }
.lmp-app-downloads--go { margin: 0 0 24px; text-align: center; }
@media (min-width: 1024px) {
  .lmp-app-downloads { --store-badge-height: 48px; }
  .lmp-app-downloads--home .lmp-store-buttons { justify-content: flex-start; }
}
@media (max-width: 359px) {
  .lmp-app-downloads { --store-badge-height: 40px; }
}

/* Homepage controls are separate from the approved /go badges above. */
.home-primary-actions,
.lmp-platform-downloads--home {
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.home-primary-actions,
.lmp-platform-downloads--home .lmp-platform-buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.home-primary-actions > a,
.home-primary-actions > button {
  width: 100%;
  height: 60px;
  padding: 0 16px;
  border-radius: 16px;
  font-size: 17px;
}
.lmp-platform-downloads--home { margin-top: 24px; }
.lmp-platform-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  color: #a8b7c9;
  font: 500 13px/20px Inter, system-ui, sans-serif;
}
.lmp-platform-heading::before,
.lmp-platform-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #334155;
}
.lmp-platform-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  height: 60px;
  padding: 0 20px;
  border: 1px solid #35465d;
  border-radius: 16px;
  background: #17263a;
  color: #f8fafc;
  text-decoration: none;
  font-family: Inter, system-ui, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
.lmp-platform-buttons a:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 4px;
}
.lmp-platform-buttons a > svg {
  width: 28px;
  height: 30px;
  flex: 0 0 auto;
}
.lmp-platform-caption { display: flex; flex-direction: column; text-align: left; }
.lmp-platform-caption small { color: #bdc9d9; font-size: 11px; line-height: 1.3; }
.lmp-platform-caption strong { font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.lmp-platform-downloads--member {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
}
.lmp-platform-label { margin: 0; color: #94a3b8; font-size: 12px; white-space: nowrap; }
.lmp-platform-downloads--member .lmp-platform-buttons { display: flex; gap: 8px; }
.lmp-platform-downloads--member .lmp-platform-buttons a {
  height: 44px;
  padding: 0 12px;
  gap: 7px;
  border-radius: 10px;
  background: #172232;
  font-size: 13px;
  font-weight: 600;
}
.lmp-platform-downloads--member .lmp-platform-buttons svg { width: 18px; height: 20px; }
@media (hover: hover) {
  .lmp-platform-buttons a:hover { background: #20334c; border-color: #64748b; }
}
@media (min-width: 640px) {
  .home-primary-actions,
  .lmp-platform-downloads--home .lmp-platform-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .home-primary-actions,
  .lmp-platform-downloads--home { margin-left: 0; margin-right: 0; }
  .member-home-overview .member-home-header { grid-template-columns: minmax(0, 1fr) auto auto; }
  .member-home-header > .member-home-actions { grid-column: 3; grid-row: 1; }
  .member-home-header > .lmp-platform-downloads--member { grid-column: 2; grid-row: 1; }
}
