/* Distribution controls sit below the unchanged Flutter phone frame. */
@font-face {
  font-family: "DM Sans";
  src: url("assets/assets/fonts/DM-Sans.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

.preview-stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 20px 16px;
  overflow-y: auto;
}

.phone-slot { flex-shrink: 0; }

.mobile-downloads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 10px;
  row-gap: 6px;
  width: min(100%, 500px);
  flex-shrink: 0;
  font-family: "DM Sans", system-ui, sans-serif;
}

.mobile-download {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 calc(50% - 5px);
  min-width: 0;
  min-height: 62px;
  padding: 12px 15px;
  border: 1px solid #d3ad4a66;
  border-radius: 14px;
  color: #f7f8ee;
  text-decoration: none;
  background: linear-gradient(135deg, #172017ee, #0c100bee);
  box-shadow: 0 5px 18px #0005;
}

.mobile-download:hover { border-color: #e6c477; background: #1d281b; }
.mobile-download:focus-visible { outline: 2px solid #c9ff4b; outline-offset: 4px; }
.download-platform { color: #e6c477; font: 26px/1 system-ui, sans-serif; }
.mobile-download strong { display: block; font-size: 14px; line-height: 1.3; }
.mobile-download small { display: block; margin-top: 3px; color: #c4c9ba; font-size: 10px; line-height: 1.3; }

.mobile-install-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 14px;
  width: 100%;
  font-size: 10.5px;
  line-height: 1.4;
}

.mobile-install-options a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #c4c9ba;
  text-underline-offset: 3px;
}

.mobile-install-options a:hover { color: #e6c477; }
.mobile-install-options a:focus-visible { outline: 2px solid #c9ff4b; outline-offset: 3px; border-radius: 2px; }
.mobile-install-status {
  width: 100%;
  margin: 0;
  color: #c4c9ba;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

html[data-presentation="standalone"] .mobile-downloads { display: none; }

@media (max-width: 460px) {
  .preview-stage { gap: 12px; padding: 14px 16px; }
  .mobile-download { min-height: 58px; gap: 7px; padding: 10px; }
  .mobile-download small { font-size: 9px; }
}
