/* XiongMai® 官网下载中心 V1.1.0.1 · 2026-08-07 */
:root {
  --xm-blue: #1677ff;
  --xm-cyan: #42d3ff;
  --xm-deep: #071528;
  --xm-deeper: #040b15;
  --xm-card: #ffffff;
  --xm-bg: #f3f7fb;
  --xm-text: #102238;
  --xm-muted: #617187;
  --xm-line: #dbe5ef;
  --xm-green: #19b77a;
  --xm-orange: #ff9b32;
  --xm-radius-xl: 30px;
  --xm-radius-lg: 22px;
  --xm-shadow: 0 22px 60px rgba(10, 36, 66, 0.12);
}

.xm-download-hero,
.xm-download,
.xm-download-sticky {
  color: var(--xm-text);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.xm-download-hero *,
.xm-download *,
.xm-download-sticky * {
  box-sizing: border-box;
}

.xm-download-hero .container,
.xm-download .container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.xm-download-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 120px 0 90px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 28%, rgba(66, 211, 255, 0.27), transparent 24%),
    radial-gradient(circle at 18% 120%, rgba(22, 119, 255, 0.38), transparent 35%),
    linear-gradient(135deg, #071426 0%, #0b2545 55%, #081c33 100%);
}

.xm-download-hero::before,
.xm-download-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.xm-download-hero::before {
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.xm-download-hero::after {
  right: -120px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(102, 222, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(102, 222, 255, 0.035), 0 0 0 90px rgba(102, 222, 255, 0.02);
}

.xm-download-hero .container {
  position: relative;
  z-index: 1;
}

.xm-download-hero .badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(92, 216, 255, 0.38);
  border-radius: 999px;
  color: #84e8ff;
  background: rgba(21, 104, 173, 0.18);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.xm-download-hero h1 {
  max-width: 760px;
  margin: 22px 0 18px;
  color: #fff;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.xm-download-hero p {
  max-width: 790px;
  margin: 0;
  color: rgba(233, 245, 255, 0.8);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.85;
}

.xm-download-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.xm-download-hero-tags span {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.055);
  font-size: 13px;
  font-weight: 650;
  backdrop-filter: blur(12px);
}

.xm-download {
  overflow: visible;
  background: #fff;
}

.xm-download-section {
  padding: 88px 0;
}

.xm-download-primary-section {
  position: relative;
  padding-top: 0;
  background: linear-gradient(#fff 0%, #f8fbff 100%);
}

.xm-download-primary-section > .container {
  position: relative;
  z-index: 2;
  margin-top: -56px;
}

.xm-download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(330px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

.xm-platform-card,
.xm-qr-card,
.xm-info-card {
  border: 1px solid var(--xm-line);
  border-radius: var(--xm-radius-xl);
  background: var(--xm-card);
  box-shadow: var(--xm-shadow);
}

.xm-platform-card {
  padding: 34px;
}

.xm-platform-android {
  position: relative;
  overflow: hidden;
}

.xm-platform-android::after {
  position: absolute;
  top: -90px;
  right: -90px;
  width: 260px;
  height: 260px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 119, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.xm-platform-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 22px;
}

.xm-app-icon-wrap {
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  padding: 6px;
  overflow: hidden;
  border: 1px solid #d9e6f2;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(26, 62, 103, 0.14);
}

.xm-app-icon-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 19px;
  object-fit: cover;
}

.xm-platform-label,
.xm-card-kicker,
.xm-section-eyebrow,
.xm-section-heading > span {
  color: var(--xm-blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.xm-platform-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.xm-platform-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--xm-green);
  box-shadow: 0 0 0 5px rgba(25, 183, 122, 0.12);
}

.xm-app-heading h2,
.xm-platform-bluefy h2,
.xm-qr-card h2,
.xm-info-card h2 {
  margin: 8px 0;
  color: var(--xm-text);
  font-weight: 760;
  line-height: 1.25;
}

.xm-app-heading h2 {
  font-size: 32px;
}

.xm-app-heading p,
.xm-platform-bluefy p,
.xm-qr-card p,
.xm-info-card > p {
  margin: 0;
  color: var(--xm-muted);
  line-height: 1.75;
}

.xm-available-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #087752;
  background: #eafaf4;
  font-size: 13px;
  font-weight: 700;
}

.xm-available-state span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--xm-green);
}

.xm-version-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 24px;
}

.xm-version-grid > div {
  min-width: 0;
  padding: 17px 14px;
  border: 1px solid #e3ebf3;
  border-radius: 16px;
  background: #f7fafd;
}

.xm-version-grid span,
.xm-version-grid strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xm-version-grid span {
  margin-bottom: 7px;
  color: #7b899a;
  font-size: 12px;
}

.xm-version-grid strong {
  color: #18324e;
  font-size: 14px;
  font-weight: 750;
}

.xm-download-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 22px;
  border: 0;
  border-radius: 15px;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.xm-download-btn:hover {
  transform: translateY(-2px);
}

.xm-download-btn:focus-visible,
.xm-copy-h5:focus-visible,
.xm-hash-card button:focus-visible,
.xm-faq-list summary:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.28);
  outline-offset: 3px;
}

.xm-download-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.xm-download-btn-primary {
  width: 100%;
  color: #fff !important;
  background: linear-gradient(135deg, #106fee, #2397ff);
  box-shadow: 0 14px 28px rgba(22, 119, 255, 0.25);
}

.xm-download-btn-primary:hover {
  box-shadow: 0 17px 34px rgba(22, 119, 255, 0.32);
}

.xm-download-btn-disabled {
  width: 100%;
  color: #8a98a8;
  background: #edf2f6;
  cursor: not-allowed;
}

.xm-download-source-note {
  margin: 15px 0 0;
  color: #7c8998;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.xm-empty-apk {
  margin: 28px 0 18px;
  padding: 18px;
  border: 1px dashed #c8d5e2;
  border-radius: 16px;
  background: #f7f9fb;
}

.xm-empty-apk strong,
.xm-empty-apk p {
  display: block;
  margin: 0;
}

.xm-empty-apk strong {
  color: #31485f;
}

.xm-empty-apk p {
  margin-top: 7px;
  color: #76879a;
  font-size: 13px;
  line-height: 1.65;
}

.xm-download-side {
  display: grid;
  gap: 22px;
}

.xm-qr-card {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 22px;
  align-items: center;
  padding: 25px;
}

.xm-qr-image {
  padding: 8px;
  border: 1px solid #dbe6ef;
  border-radius: 17px;
  background: #fff;
}

.xm-qr-image img {
  display: block;
  width: 100%;
  height: auto;
}

.xm-qr-card h2,
.xm-platform-bluefy h2 {
  font-size: 21px;
}

.xm-qr-card p,
.xm-platform-bluefy p {
  font-size: 13px;
}

.xm-platform-bluefy {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  color: #fff;
  border-color: rgba(109, 203, 255, 0.18);
  background:
    radial-gradient(circle at 105% -10%, rgba(66, 211, 255, 0.3), transparent 35%),
    linear-gradient(145deg, #07182c, #0c3155);
  box-shadow: 0 22px 52px rgba(4, 28, 55, 0.24);
}

.xm-platform-bluefy .xm-platform-label { color: #77ddff; }
.xm-platform-bluefy h2 { color: #fff; }
.xm-platform-bluefy p { color: rgba(226, 242, 255, 0.73); }
.xm-platform-bluefy strong { color: #fff; }

.xm-bluefy-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(126, 222, 255, 0.26);
  border-radius: 18px;
  color: #70ddff;
  background: rgba(46, 172, 236, 0.12);
}

.xm-bluefy-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.xm-bluefy-mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.xm-bluefy-mini-actions a {
  padding: 8px 11px;
  border: 1px solid rgba(114, 220, 255, 0.22);
  border-radius: 9px;
  color: #dff8ff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.xm-section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.xm-section-heading h2,
.xm-bluefy-guide-head h2 {
  margin: 10px 0 13px;
  color: var(--xm-text);
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 780;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.xm-section-heading p,
.xm-bluefy-guide-head p {
  margin: 0;
  color: var(--xm-muted);
  font-size: 16px;
  line-height: 1.85;
}

.xm-bluefy-guide-section {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(37, 164, 232, 0.27), transparent 26%),
    linear-gradient(140deg, #061221, #0a2846 62%, #071827);
}

.xm-bluefy-guide-section::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.26;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.xm-bluefy-guide-section .container {
  position: relative;
  z-index: 1;
}

.xm-bluefy-guide-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 50px;
  align-items: center;
}

.xm-bluefy-guide-head h2 { color: #fff; }
.xm-bluefy-guide-head p { color: rgba(225, 240, 253, 0.75); }
.xm-section-eyebrow { color: #72ddff; }

.xm-bluefy-actions {
  display: grid;
  gap: 10px;
}

.xm-download-btn-appstore {
  color: #10243a !important;
  background: #fff;
}

.xm-download-btn-bluefy {
  color: #fff !important;
  border: 1px solid rgba(111, 222, 255, 0.3);
  background: linear-gradient(135deg, #0e82d7, #11b7df);
  box-shadow: 0 12px 28px rgba(0, 151, 214, 0.22);
}

.xm-copy-h5 {
  min-height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: rgba(239, 248, 255, 0.85);
  background: rgba(255, 255, 255, 0.07);
  font-weight: 700;
  cursor: pointer;
}

.xm-bluefy-launch-status {
  min-height: 20px;
  color: #9feaff !important;
  font-size: 12px !important;
  text-align: center;
}

.xm-bluefy-url {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 36px 0 20px;
  padding: 15px 18px;
  border: 1px solid rgba(118, 218, 255, 0.2);
  border-radius: 14px;
  color: rgba(223, 242, 255, 0.75);
  background: rgba(255, 255, 255, 0.055);
}

.xm-bluefy-url span {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 750;
}

.xm-bluefy-url code {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xm-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.xm-step-grid-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xm-step-grid article {
  position: relative;
  min-height: 190px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--xm-line);
  border-radius: var(--xm-radius-lg);
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 48, 82, 0.06);
}

.xm-step-grid article > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--xm-blue);
  background: #eaf3ff;
  font-size: 13px;
  font-weight: 850;
}

.xm-step-grid h3 {
  margin: 22px 0 9px;
  color: var(--xm-text);
  font-size: 17px;
}

.xm-step-grid p {
  margin: 0;
  color: var(--xm-muted);
  font-size: 14px;
  line-height: 1.75;
}

.xm-bluefy-guide-section .xm-step-grid article {
  border-color: rgba(111, 213, 255, 0.15);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.xm-bluefy-guide-section .xm-step-grid article > span {
  color: #93e9ff;
  background: rgba(72, 197, 244, 0.13);
}

.xm-bluefy-guide-section .xm-step-grid h3 { color: #fff; }
.xm-bluefy-guide-section .xm-step-grid p { color: rgba(224, 239, 251, 0.7); }
.xm-bluefy-guide-section .xm-step-grid strong { color: #fff; }

.xm-bluefy-notices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.xm-notice {
  padding: 17px;
  border: 1px solid var(--xm-line);
  border-radius: 14px;
  color: var(--xm-muted);
  background: #f7fafd;
  font-size: 13px;
  line-height: 1.65;
}

.xm-notice strong,
.xm-notice span {
  display: block;
}

.xm-notice strong {
  margin-bottom: 5px;
  color: var(--xm-text);
}

.xm-bluefy-notices .xm-notice {
  border-color: rgba(119, 216, 255, 0.15);
  color: rgba(226, 240, 252, 0.69);
  background: rgba(255, 255, 255, 0.05);
}

.xm-bluefy-notices .xm-notice strong { color: #fff; }
.xm-bluefy-notices .xm-notice-important { border-color: rgba(255, 176, 79, 0.34); }

.xm-download-muted-section {
  background: var(--xm-bg);
}

.xm-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.xm-info-card {
  padding: 32px;
  box-shadow: 0 12px 36px rgba(12, 42, 74, 0.07);
}

.xm-info-card h2 {
  margin: 10px 0 20px;
  font-size: 27px;
}

.xm-info-card > p + p { margin-top: 12px; }

.xm-device-row {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.xm-device-mark {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 19px;
  color: #fff;
  background: linear-gradient(135deg, #0b203a, #176bab);
  font-size: 19px;
  font-weight: 850;
}

.xm-device-row h3,
.xm-device-row p {
  margin: 0;
}

.xm-device-row h3 {
  color: var(--xm-text);
  font-size: 17px;
}

.xm-device-row p {
  margin-top: 6px;
  color: var(--xm-muted);
  font-size: 13px;
  line-height: 1.65;
}

.xm-notice-info {
  border-color: #d5e7fa;
  color: #42617e;
  background: #edf6ff;
}

.xm-permission-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--xm-line);
  border-radius: 15px;
  background: var(--xm-line);
}

.xm-permission-list > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 16px;
  background: #fff;
}

.xm-permission-list strong {
  color: var(--xm-text);
  font-size: 13px;
}

.xm-permission-list span {
  color: var(--xm-muted);
  font-size: 13px;
  line-height: 1.65;
}

.xm-hash-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid #dce6ef;
  border-radius: 20px;
  background: #f7fafd;
}

.xm-hash-card span,
.xm-hash-card code {
  display: block;
}

.xm-hash-card span {
  margin-bottom: 8px;
  color: #748398;
  font-size: 12px;
  font-weight: 750;
}

.xm-hash-card code {
  overflow-wrap: anywhere;
  color: #102f4e;
  font-size: 13px;
  line-height: 1.65;
}

.xm-hash-card button {
  min-width: 112px;
  min-height: 42px;
  border: 1px solid #cbd9e6;
  border-radius: 11px;
  color: #285277;
  background: #fff;
  font-weight: 750;
  cursor: pointer;
}

.xm-hash-card button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.xm-security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.xm-security-grid > div {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--xm-line);
  border-radius: 15px;
}

.xm-security-grid strong,
.xm-security-grid span {
  display: block;
}

.xm-security-grid strong {
  margin-bottom: 8px;
  color: #718197;
  font-size: 12px;
}

.xm-security-grid span {
  overflow: hidden;
  color: var(--xm-text);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xm-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: xm-check;
}

.xm-check-list li {
  position: relative;
  padding: 13px 14px 13px 46px;
  border: 1px solid #e1e9f1;
  border-radius: 13px;
  color: var(--xm-muted);
  background: #f9fbfd;
  font-size: 13px;
  line-height: 1.65;
  counter-increment: xm-check;
}

.xm-check-list li::before {
  position: absolute;
  top: 13px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 8px;
  content: counter(xm-check);
  color: var(--xm-blue);
  background: #e8f2ff;
  font-size: 11px;
  font-weight: 850;
}

.xm-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.xm-support-actions a {
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: #153d64;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.xm-support-meta {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  color: #75869a;
  font-size: 12px;
}

.xm-download-faq-section {
  padding-bottom: 120px;
}

.xm-faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

.xm-faq-list details {
  overflow: hidden;
  border: 1px solid var(--xm-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(14, 46, 80, 0.045);
}

.xm-faq-list summary {
  position: relative;
  padding: 20px 58px 20px 22px;
  color: var(--xm-text);
  font-size: 15px;
  font-weight: 730;
  cursor: pointer;
  list-style: none;
}

.xm-faq-list summary::-webkit-details-marker { display: none; }

.xm-faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 21px;
  width: 20px;
  height: 20px;
  content: "+";
  color: var(--xm-blue);
  font-size: 22px;
  line-height: 18px;
  text-align: center;
  transform: translateY(-50%);
}

.xm-faq-list details[open] summary::after { content: "−"; }

.xm-faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--xm-muted);
  font-size: 14px;
  line-height: 1.8;
}

.xm-download-sticky {
  position: fixed;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  left: 14px;
  z-index: 1000;
  display: none;
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 17px;
  background: rgba(6, 24, 43, 0.9);
  box-shadow: 0 16px 40px rgba(5, 22, 42, 0.32);
  backdrop-filter: blur(18px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

body:not(.is-ios) .xm-download-sticky.is-primary-visible {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.xm-download-sticky a,
.xm-download-sticky > span {
  display: none;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 17px;
  color: #fff;
  text-decoration: none;
}

.xm-download-sticky span { color: rgba(228, 242, 252, 0.72); font-size: 12px; }
.xm-download-sticky strong { font-size: 14px; }
.xm-sticky-disabled { opacity: 0.65; }

@media (max-width: 1020px) {
  .xm-download-grid { grid-template-columns: 1fr; }
  .xm-download-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xm-qr-card { grid-template-columns: 110px 1fr; }
  .xm-platform-bluefy { padding: 26px; }
  .xm-version-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xm-bluefy-guide-head { grid-template-columns: 1fr; gap: 30px; }
  .xm-bluefy-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xm-bluefy-actions .xm-copy-h5,
  .xm-bluefy-launch-status { grid-column: 1 / -1; }
  .xm-step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xm-step-grid-six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xm-security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .xm-download-hero .container,
  .xm-download .container { width: min(100% - 28px, 1180px); }
  .xm-download-hero { min-height: 360px; padding: 90px 0 78px; }
  .xm-download-hero h1 { margin-top: 18px; }
  .xm-download-hero-tags { gap: 7px; margin-top: 23px; }
  .xm-download-hero-tags span { padding: 7px 10px; font-size: 11px; }
  .xm-download-section { padding: 62px 0; }
  .xm-download-primary-section { padding-top: 0; }
  .xm-download-primary-section > .container { margin-top: -42px; }
  .xm-download-grid,
  .xm-download-side,
  .xm-two-column { grid-template-columns: 1fr; }
  .xm-platform-card,
  .xm-info-card { padding: 24px; border-radius: 23px; }
  .xm-platform-top { align-items: flex-start; gap: 15px; }
  .xm-app-icon-wrap { flex-basis: 76px; width: 76px; height: 76px; border-radius: 20px; }
  .xm-app-icon-wrap img { border-radius: 14px; }
  .xm-app-heading h2 { margin-top: 5px; font-size: 25px; }
  .xm-app-heading p { font-size: 13px; line-height: 1.55; }
  .xm-qr-card { grid-template-columns: 92px 1fr; padding: 20px; border-radius: 23px; }
  .xm-platform-bluefy { grid-template-columns: 50px 1fr; }
  .xm-bluefy-icon { width: 50px; height: 50px; border-radius: 15px; }
  .xm-bluefy-icon svg { width: 30px; height: 30px; }
  .xm-bluefy-guide-head h2,
  .xm-section-heading h2 { font-size: 31px; }
  .xm-bluefy-actions { grid-template-columns: 1fr; }
  .xm-bluefy-actions .xm-copy-h5,
  .xm-bluefy-launch-status { grid-column: auto; }
  .xm-bluefy-url { display: block; }
  .xm-bluefy-url span { margin-bottom: 8px; }
  .xm-step-grid,
  .xm-step-grid-six,
  .xm-bluefy-notices { grid-template-columns: 1fr; }
  .xm-step-grid article { min-height: 0; padding: 22px; }
  .xm-step-grid h3 { margin-top: 17px; }
  .xm-permission-list > div { grid-template-columns: 1fr; gap: 7px; }
  .xm-hash-card { grid-template-columns: 1fr; }
  .xm-hash-card button { width: 100%; }
  .xm-download-faq-section { padding-bottom: 108px; }
  .xm-download-sticky { display: flex; }
  body.is-ios .xm-download-sticky .xm-sticky-ios { display: flex; }
  body:not(.is-ios) .xm-download-sticky .xm-sticky-android { display: flex; }
}

@media (max-width: 480px) {
  .xm-download-hero { padding-top: 78px; }
  .xm-download-hero h1 { font-size: 36px; }
  .xm-platform-card,
  .xm-info-card { padding: 20px; }
  .xm-platform-top { display: grid; grid-template-columns: 68px 1fr; }
  .xm-app-icon-wrap { width: 68px; height: 68px; }
  .xm-app-heading h2 { font-size: 23px; }
  .xm-version-grid { gap: 8px; }
  .xm-version-grid > div { padding: 14px 11px; }
  .xm-qr-card { grid-template-columns: 78px 1fr; gap: 15px; }
  .xm-qr-card h2,
  .xm-platform-bluefy h2 { font-size: 18px; }
  .xm-platform-bluefy { grid-template-columns: 1fr; }
  .xm-bluefy-mini-actions a { flex: 1 1 auto; text-align: center; }
  .xm-section-heading { margin-bottom: 28px; }
  .xm-security-grid { grid-template-columns: 1fr; }
  .xm-device-row { grid-template-columns: 54px 1fr; }
  .xm-device-mark { width: 54px; height: 54px; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .xm-download-btn { transition: none; }
  .xm-download-btn:hover { transform: none; }
}

@media print {
  .xm-download-sticky,
  .xm-download-btn,
  .xm-copy-h5 { display: none !important; }
  .xm-download-section { padding: 30px 0; }
  .xm-platform-card,
  .xm-qr-card,
  .xm-info-card,
  .xm-step-grid article { break-inside: avoid; box-shadow: none; }
}
