:root {
  --mas-blue: #0066ff;
  --mas-blue-dark: #0052cc;
  --mas-blue-soft: #eef4ff;
  --mas-navy: #0f172a;
  --mas-slate: #64748b;
  --mas-bg: #f1f5f9;
  --mas-surface: #ffffff;
  --mas-surface-2: #f8fafc;
  --mas-text: #0f172a;
  --mas-text-secondary: #64748b;
  --mas-text-muted: #94a3b8;
  --mas-border: #e2e8f0;
  --mas-radius: 16px;
  --mas-radius-sm: 12px;
  --mas-radius-lg: 20px;
  --mas-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
  --mas-shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.04);
  --mas-toolbar-bg: #e6ecf3;
  --mas-toolbar-border: #cdd6e3;
  --mas-header-h: 64px;
  --mas-max: 1200px;
  --mas-gold: #f59e0b;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--mas-text);
  background: var(--mas-bg);
  line-height: 1.55;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.mas-page {
  min-height: 100vh;
  padding-bottom: 32px;
  max-width: 100vw;
  overflow-x: hidden;
}

/* ── Header (RuStore style) ── */
.mas-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--mas-border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.mas-header__inner {
  max-width: var(--mas-max);
  margin: 0 auto;
  min-height: var(--mas-header-h);
  padding: 8px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.mas-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mas-logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0077ff 0%, #00b4ff 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0, 119, 255, 0.25);
}

.mas-logo__mark svg {
  width: 16px;
  height: 16px;
}

.mas-logo__text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mas-logo__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mas-blue);
  background: var(--mas-blue-soft);
  border: 1px solid rgba(0, 102, 255, 0.15);
  padding: 2px 7px;
  border-radius: 999px;
}

.mas-header__search {
  flex: 1 1 160px;
  min-width: 120px;
  max-width: 420px;
  order: 3;
  width: 100%;
}

@media (min-width: 768px) {
  .mas-header__search {
    order: 0;
    width: auto;
    margin: 0 auto;
  }
}

.mas-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--mas-surface-2);
  border-radius: 999px;
  padding: 0 14px;
  height: 40px;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.mas-search:focus-within {
  background: #fff;
  border-color: rgba(0, 119, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.12);
}

.mas-search svg {
  flex-shrink: 0;
  color: var(--mas-text-secondary);
}

.mas-search input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  min-width: 0;
}

.mas-header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-wrap: wrap;
}

.mas-topnav {
  display: flex;
  gap: 2px;
}

.mas-topnav a {
  font-size: 13px;
  color: var(--mas-text-secondary);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.mas-topnav a:hover {
  color: var(--mas-text);
  background: var(--mas-surface-2);
}

.mas-btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--mas-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.mas-btn-download:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.mas-lang {
  display: flex;
  gap: 2px;
}

.mas-lang a {
  font-size: 12px;
  padding: 4px 7px;
  border-radius: 6px;
  color: var(--mas-text-secondary);
}

.mas-lang a.current,
.mas-lang a:hover {
  color: var(--mas-blue);
  background: var(--mas-blue-soft);
}

/* 语言折叠下拉 */
.mas-lang-dd {
  position: relative;
  flex-shrink: 0;
}

.mas-lang-dd__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  border: 1px solid var(--mas-border);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--mas-text);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.mas-lang-dd__btn:hover,
.mas-lang-dd.is-open .mas-lang-dd__btn {
  border-color: rgba(0, 119, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.08);
}

.mas-lang-dd__icon {
  color: var(--mas-text-secondary);
  flex-shrink: 0;
}

.mas-lang-dd__chev {
  color: var(--mas-text-secondary);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.mas-lang-dd.is-open .mas-lang-dd__chev {
  transform: rotate(180deg);
}

.mas-lang-dd__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 260px;
  max-height: min(520px, 70vh);
  padding: 6px;
  background: #fff;
  border: 1px solid var(--mas-border);
  border-radius: 14px;
  box-shadow: var(--mas-shadow);
  z-index: 220;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mas-lang-dd__panel[hidden] {
  display: none;
}

.mas-lang-dd.is-open .mas-lang-dd__panel {
  display: block;
}

.mas-lang-dd__panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mas-text);
  transition: background 0.15s, color 0.15s;
}

.mas-lang-dd__group + .mas-lang-dd__group {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--mas-border);
}

.mas-lang-dd__group-title {
  padding: 8px 10px 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--mas-text-secondary);
}

.mas-lang-dd__panel a:hover {
  background: var(--mas-surface-2);
}

.mas-lang-dd__panel a.is-active {
  background: var(--mas-blue-soft);
  color: var(--mas-blue);
  font-weight: 700;
}

.mas-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: var(--mas-toolbar-bg);
  color: var(--mas-text);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.mas-menu-btn.is-open {
  background: var(--mas-surface-2);
  border-color: rgba(0, 119, 255, 0.35);
}

.mas-icon-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 12px;
  background: var(--mas-toolbar-bg);
  color: var(--mas-text);
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.mas-show-mobile {
  display: none;
}

.mas-hide-mobile {
  display: block;
}

/* 移动端全屏抽屉菜单 */
.mas-drawer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 9999;
  pointer-events: none;
  visibility: hidden;
}

.mas-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mas-drawer__backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.25s;
}

.mas-drawer.is-open .mas-drawer__backdrop {
  opacity: 1;
}

.mas-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: min(320px, 88vw);
  height: 100dvh;
  background: #ffffff;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.12);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  padding: calc(12px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
  overflow: hidden;
}

.mas-drawer.is-open .mas-drawer__panel {
  transform: translateX(0);
}

.mas-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mas-border);
  background: #ffffff;
  flex-shrink: 0;
}

.mas-drawer__head strong {
  font-size: 16px;
}

.mas-drawer__close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--mas-surface-2);
  color: var(--mas-text);
}

.mas-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  padding: 4px 0;
}

.mas-drawer__nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #111111;
  background: #ffffff;
}

.mas-drawer__nav a:hover,
.mas-drawer__nav a:active {
  background: var(--mas-surface-2);
}

.mas-drawer__nav-divider {
  display: block;
  height: 1px;
  margin: 8px 0;
  background: var(--mas-border);
}

.mas-drawer__lang {
  flex-shrink: 0;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--mas-border);
}

.mas-lang-dd--drawer {
  width: 100%;
}

.mas-lang-dd--drawer .mas-lang-dd__btn {
  width: 100%;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #111111;
  background: #ffffff;
}

.mas-lang-dd--drawer .mas-lang-dd__panel {
  position: static;
  top: auto;
  right: auto;
  min-width: 0;
  width: 100%;
  max-height: 46dvh;
  margin-top: 8px;
  padding: 6px;
  box-shadow: none;
  border-radius: 12px;
  overflow-y: auto;
}

.mas-lang-dd--drawer .mas-lang-dd__panel a {
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
}

.mas-drawer__tg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: auto;
  flex-shrink: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mas-blue);
  background: var(--mas-blue-soft);
  border: 1px solid rgba(0, 119, 255, 0.15);
}

body.mas-nav-open {
  overflow: hidden;
}

/* 移动端横向分类条（RuStore 风格） */
.mas-mtabs {
  display: none;
  gap: 8px;
  padding: 10px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: #fff;
  border-bottom: 1px solid var(--mas-border);
}

.mas-mtabs::-webkit-scrollbar {
  display: none;
}

.mas-mtabs a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--mas-surface-2);
  border: 1px solid var(--mas-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--mas-text);
  white-space: nowrap;
}

.mas-mtabs a:active {
  background: var(--mas-blue-soft);
  color: var(--mas-blue);
  border-color: rgba(0, 119, 255, 0.2);
}

/* Trust strip */
.mas-trust {
  background: var(--mas-navy);
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mas-trust__inner {
  max-width: var(--mas-max);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
}

.mas-trust__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
}

.mas-trust__item > span:last-child {
  line-height: 1.35;
}

.mas-trust__item svg {
  opacity: 0.85;
  flex-shrink: 0;
}

.mas-trust__item--hide-sm {
  display: none !important;
}

/* ── Hero ── */
.mas-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #eef4ff 100%);
  padding: 32px 16px 28px;
  border-bottom: 1px solid var(--mas-border);
}

.mas-hero__inner {
  max-width: var(--mas-max);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

@media (min-width: 960px) {
  .mas-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 32px;
  }
}

.mas-hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mas-blue);
  margin: 0 0 12px;
}

.mas-hero__title {
  margin: 0 0 8px;
  font-size: clamp(28px, 7vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.mas-hero__title-sub {
  margin: 0 0 16px;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--mas-text);
  overflow-wrap: anywhere;
}

.mas-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.mas-hero__badges span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mas-blue);
  background: var(--mas-blue-soft);
  border: 1px solid rgba(0, 119, 255, 0.12);
}

.mas-hero__subtitle {
  margin: 0 0 22px;
  font-size: 17px;
  color: var(--mas-text-secondary);
  max-width: 520px;
  overflow-wrap: anywhere;
}

.mas-hero__search {
  margin-bottom: 18px;
}

.mas-search--hero {
  background: #fff;
  border: 1px solid var(--mas-border);
  box-shadow: var(--mas-shadow-soft);
  height: 48px;
  padding: 0 18px;
  max-width: 480px;
}

@media (max-width: 767px) {
  .mas-hero__search {
    display: block;
  }
}

.mas-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mas-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}

.mas-hero__btn--primary {
  background: var(--mas-navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.mas-hero__btn--primary:hover {
  transform: translateY(-1px);
}

.mas-hero__btn--ghost {
  background: #fff;
  color: var(--mas-text);
  border: 1px solid var(--mas-border);
}

.mas-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .mas-features {
    grid-template-columns: 1fr;
  }
}

.mas-feature {
  background: var(--mas-surface);
  border-radius: var(--mas-radius);
  padding: 18px 16px;
  border: 1px solid var(--mas-border);
  box-shadow: var(--mas-shadow-soft);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
}

.mas-feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mas-feature__icon svg {
  color: var(--mas-blue);
}

.mas-feature__icon--shield { background: #ecfdf5; }
.mas-feature__icon--apps { background: #eff6ff; }
.mas-feature__icon--pay { background: #fef3c7; }

.mas-feature__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mas-feature__desc {
  margin: 0;
  font-size: 13px;
  color: var(--mas-text-secondary);
  line-height: 1.45;
}

/* ── Banner carousel ── */
.mas-banners {
  padding: 12px 0 20px;
  overflow: hidden;
}

.mas-banners__track {
  display: flex;
  gap: 12px;
  padding: 0 16px 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mas-banners__track::-webkit-scrollbar {
  display: none;
}

.mas-banner {
  flex: 0 0 min(78vw, 280px);
  scroll-snap-align: start;
  height: 120px;
  border-radius: var(--mas-radius-lg);
  padding: 18px 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.mas-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 15%, rgba(0, 0, 0, 0.4) 100%);
}

.mas-banner span {
  position: relative;
  z-index: 1;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.mas-banner--1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.mas-banner--2 { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.mas-banner--3 { background: linear-gradient(135deg, #10b981, #059669); }
.mas-banner--4 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.mas-banner--5 { background: linear-gradient(135deg, #ec4899, #a855f7); }

.mas-banner--photo {
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none;
}

.mas-banner__label {
  position: relative;
  z-index: 1;
}

.mas-banner__title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.mas-banner__sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.92;
}

.mas-tag {
  display: inline-block;
}

/* 首页应用网格（一屏展示更多 App） */
.mas-app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 10px;
  padding: 4px 16px 18px;
}

.mas-app-grid:empty {
  display: none;
  padding: 0;
}

.mas-app-grid .mas-app-card {
  flex: none;
  width: auto;
}

.mas-app-grid .mas-app-card__img,
.mas-app-grid .mas-app-card__icon {
  width: 100%;
  max-width: 76px;
  height: auto;
  aspect-ratio: 1;
  margin-left: auto;
  margin-right: auto;
}

.mas-app-grid--chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 16px 18px;
}

@media (min-width: 640px) {
  .mas-app-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .mas-app-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

/* ── Sections ── */
.mas-section {
  max-width: var(--mas-max);
  margin: 0 auto;
  padding: 8px 0 24px;
}

.mas-section--panel {
  margin-top: 8px;
}

.mas-section--panel .mas-section__head,
.mas-section--panel .mas-scroll-row,
.mas-section--panel .mas-categories-wrap,
.mas-section--panel .mas-app-grid {
  background: var(--mas-surface);
  border: 1px solid var(--mas-border);
}

.mas-section--panel .mas-section__head {
  margin: 0 16px;
  padding: 16px 16px 0;
  border-radius: var(--mas-radius-lg) var(--mas-radius-lg) 0 0;
  border-bottom: none;
}

.mas-section--panel .mas-scroll-row {
  margin: 0 16px;
  padding-bottom: 8px;
  border-top: none;
  border-bottom: none;
  border-radius: 0;
}

.mas-section--panel .mas-app-grid {
  margin: 0 16px 16px;
  padding: 0 16px 16px;
  border-radius: 0 0 var(--mas-radius-lg) var(--mas-radius-lg);
  border-top: none;
}

.mas-section--panel .mas-categories-wrap {
  margin: 0 16px;
  padding-bottom: 16px;
  border-radius: 0 0 var(--mas-radius-lg) var(--mas-radius-lg);
  border-top: none;
}

.mas-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 16px;
}

.mas-section__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mas-section__more {
  font-size: 13px;
  color: var(--mas-blue);
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* ── App cards horizontal (RuStore 108px) ── */
.mas-scroll-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mas-scroll-row::-webkit-scrollbar {
  display: none;
}

.mas-app-card {
  flex: 0 0 108px;
  scroll-snap-align: start;
  text-align: center;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.mas-app-card:hover .mas-app-card__img,
.mas-app-card:hover .mas-app-card__icon {
  transform: scale(1.03);
}

.mas-app-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--mas-shadow-soft);
  transition: transform 0.2s;
}

.mas-app-card__img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto 8px;
  object-fit: cover;
  box-shadow: var(--mas-shadow-soft);
  transition: transform 0.2s;
}

.mas-app-card__name {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  min-height: 32px;
}

.mas-app-card__cat {
  margin: 0 0 4px;
  font-size: 11px;
  color: var(--mas-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mas-app-card__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--mas-gold);
}

.mas-app-card__rating svg {
  width: 11px;
  height: 11px;
}

/* Social chips */
.mas-app-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--mas-surface);
  border-radius: 999px;
  padding: 5px 14px 5px 5px;
  box-shadow: var(--mas-shadow-soft);
  white-space: nowrap;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.mas-app-chip__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.mas-app-chip__img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.mas-app-chip__name {
  font-size: 13px;
  font-weight: 600;
}

/* Categories (two rows like RuStore) */
.mas-categories-wrap {
  padding: 0 16px;
}

.mas-categories__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.mas-categories__row:last-child {
  margin-bottom: 0;
}

.mas-category {
  padding: 10px 14px;
  background: var(--mas-surface);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mas-text-secondary);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--mas-shadow-soft);
  transition: border-color 0.2s, color 0.2s;
}

.mas-category:hover {
  border-color: rgba(0, 119, 255, 0.25);
  color: var(--mas-blue);
}

/* Tags */
.mas-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px;
}

.mas-tag {
  padding: 8px 14px;
  background: var(--mas-surface);
  border-radius: 10px;
  font-size: 13px;
  color: var(--mas-text-secondary);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Blog */
.mas-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .mas-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .mas-blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mas-blog-card {
  background: var(--mas-surface);
  border-radius: var(--mas-radius-lg);
  overflow: hidden;
  box-shadow: var(--mas-shadow-soft);
  transition: transform 0.2s;
}

.mas-blog-card:hover {
  transform: translateY(-2px);
}

.mas-blog-card__img {
  height: 140px;
  background-size: cover;
  background-position: center;
}

.mas-blog-card__img--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mas-surface-2);
}

.mas-blog-card__img--logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.mas-blog-card__body {
  padding: 14px 16px 16px;
}

.mas-blog-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

/* Install guide */
.mas-install {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .mas-install {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mas-install-card {
  background: var(--mas-surface);
  border-radius: var(--mas-radius);
  padding: 20px;
  box-shadow: var(--mas-shadow-soft);
}

.mas-install-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--mas-blue-soft);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--mas-blue);
}

.mas-install-card__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.mas-install-card__desc {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--mas-text-secondary);
  line-height: 1.5;
}

.mas-install-card__link {
  font-size: 14px;
  color: var(--mas-blue);
  font-weight: 600;
}

/* Download CTA */
.mas-download {
  background: var(--mas-navy);
  border-radius: var(--mas-radius-lg);
  padding: 0;
  color: #fff;
  margin: 0 16px 32px;
  max-width: calc(var(--mas-max) - 32px);
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mas-download__inner {
  display: grid;
  gap: 24px;
  padding: 32px 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .mas-download__inner {
    grid-template-columns: 1fr auto;
    padding: 40px 48px;
  }
}

.mas-download__label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.mas-download__title {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mas-download__desc {
  margin: 0 0 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 420px;
  line-height: 1.6;
}

.mas-download__qr {
  width: 148px;
  height: 148px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.mas-download__qr svg {
  width: 100%;
  height: 100%;
}

.mas-download__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  background: #fff;
  color: var(--mas-navy);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.15s;
}

.mas-download__btn:hover {
  transform: translateY(-1px);
}

/* Footer */
.mas-footer {
  max-width: var(--mas-max);
  margin: 0 auto;
  padding: 40px 16px 32px;
  border-top: 1px solid var(--mas-border);
  background: #fff;
}

.mas-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .mas-footer__grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.mas-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mas-footer__col a {
  font-size: 13px;
  color: var(--mas-text-secondary);
  transition: color 0.15s;
}

.mas-footer__col a:hover {
  color: var(--mas-blue);
}

.mas-footer__heading {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mas-text);
}

.mas-footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mas-footer__tagline {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--mas-text-secondary);
  line-height: 1.6;
  max-width: 280px;
}

.mas-footer__bottom {
  padding-top: 20px;
  border-top: 1px solid var(--mas-border);
}

/* WeChat mask */
.mas-wechat-mask {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}

.mas-wechat-mask.is-show {
  display: block;
}

.mas-wechat-mask p {
  font-size: 18px;
  margin: 12px 0;
}

/* Icon gradients */
.ic-1 { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.ic-2 { background: linear-gradient(135deg, #4834d4, #686de0); }
.ic-3 { background: linear-gradient(135deg, #22a6b3, #7ed6df); }
.ic-4 { background: linear-gradient(135deg, #f0932b, #ffbe76); }
.ic-5 { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.ic-6 { background: linear-gradient(135deg, #00b894, #55efc4); }
.ic-7 { background: linear-gradient(135deg, #0984e3, #74b9ff); }
.ic-8 { background: linear-gradient(135deg, #e17055, #fab1a0); }
.ic-9 { background: linear-gradient(135deg, #2d3436, #636e72); }
.ic-10 { background: linear-gradient(135deg, #fd79a8, #fdcb6e); }

.mas-loading, .mas-empty {
  padding: 20px 16px;
  text-align: center;
  color: var(--mas-text-secondary);
  font-size: 14px;
  width: 100%;
}

/* Credit section */
.mas-section--credit { padding-top: 0; }

.mas-credit-hero {
  margin: 0 16px 16px;
  padding: 24px 20px;
  border-radius: var(--mas-radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: var(--mas-text);
  border: 1px solid var(--mas-border);
  box-shadow: var(--mas-shadow-soft);
}

.mas-credit-hero__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mas-blue);
}

.mas-credit-hero__title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mas-credit-hero__sub {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--mas-text-secondary);
  line-height: 1.55;
}

.mas-credit-stat {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
  background: var(--mas-surface-2);
  border: 1px solid var(--mas-border);
}

.mas-credit-stat__val {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--mas-navy);
}

.mas-credit-stat__label {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--mas-text-secondary);
}

.mas-credit-quick {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--mas-border);
  color: var(--mas-text);
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.15s, color 0.15s;
}

.mas-credit-quick:hover {
  border-color: var(--mas-blue);
  color: var(--mas-blue);
}

.mas-credit-service__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--mas-blue-soft);
  display: grid;
  place-items: center;
  color: var(--mas-blue);
  flex-shrink: 0;
}

.mas-credit-service__icon svg {
  width: 20px;
  height: 20px;
}

.mas-footer__copy {
  font-size: 12px;
  color: var(--mas-text-muted);
  margin: 0;
}

.mas-credit-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.mas-credit-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mas-credit-block { margin-bottom: 8px; }

.mas-credit-products {
  display: grid;
  gap: 16px;
  padding: 0 16px 16px;
  grid-template-columns: 1fr;
}

.mas-credit-product {
  padding: 16px;
  border-radius: var(--mas-radius-lg);
  background: var(--mas-surface);
  box-shadow: var(--mas-shadow-soft);
  cursor: pointer;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--mas-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.mas-credit-product:hover {
  transform: translateY(-2px);
  box-shadow: var(--mas-shadow);
}

.mas-credit-product--rich {
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  gap: 0;
}

.mas-credit-product__media {
  position: relative;
  width: 100%;
}

.mas-credit-product__card-photo {
  width: 100%;
  aspect-ratio: 1.586;
  object-fit: cover;
  display: block;
}

.mas-credit-product__card-photo.is-hidden {
  display: none;
}

.mas-credit-product__card-face {
  position: relative;
  width: 100%;
  aspect-ratio: 1.586;
  padding: 18px 20px;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mas-credit-product__card-face--fallback {
  display: none;
}

.mas-credit-product__card-photo.is-hidden + .mas-credit-product__card-face--fallback {
  display: flex;
}

.mas-credit-product__card-shine {
  position: absolute;
  inset: -30% auto auto -20%;
  width: 70%;
  height: 140%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 58%);
  transform: rotate(18deg);
  pointer-events: none;
}

.mas-credit-product__card-chip {
  position: absolute;
  top: 22px;
  left: 20px;
  width: 38px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f5d76e 0%, #d4af37 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.mas-credit-product__card-chip::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 3px;
}

.mas-credit-product__card-brand {
  position: absolute;
  top: 22px;
  right: 20px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.92;
}

.mas-credit-product__card-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  max-width: 72%;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.mas-credit-product__card-network {
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-size: 22px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.04em;
  opacity: 0.95;
}

.mas-credit-product__card-stars {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-size: 11px;
  line-height: 1;
  opacity: 0.92;
}

.mas-credit-product__region-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
}

.mas-credit-product__img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--mas-surface-2);
}

.mas-credit-product__card {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.mas-credit-product__card-initials {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.mas-credit-product__region {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--mas-text-secondary);
  background: var(--mas-surface-2);
}

.mas-credit-product__body {
  flex: 1;
  min-width: 0;
  padding: 16px 18px 18px;
}

.mas-credit-product__bank {
  display: block;
  font-size: 13px;
  color: var(--mas-blue);
  font-weight: 700;
  margin-bottom: 6px;
}

.mas-credit-product__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.mas-credit-product__benefits {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.mas-credit-product__benefits li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--mas-text-secondary);
}

.mas-credit-product__benefits li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--mas-blue);
  font-weight: 700;
}

.mas-credit-product__note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mas-navy);
  background: var(--mas-blue-soft);
  font-weight: 600;
}

.mas-credit-product__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  color: var(--mas-blue);
  font-size: 15px;
  font-weight: 800;
}

@media (min-width: 640px) {
  .mas-credit-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mas-credit-services {
  display: grid;
  gap: 8px;
  padding: 0 16px 16px;
}

.mas-credit-service {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--mas-surface);
  border-radius: var(--mas-radius-sm);
  box-shadow: var(--mas-shadow-soft);
}

.mas-credit-service__body { flex: 1; min-width: 0; }
.mas-credit-service__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
.mas-credit-service__desc {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--mas-text-secondary);
}
.mas-credit-service__arrow {
  color: var(--mas-text-secondary);
  font-size: 18px;
}

/* Sub pages */
.mas-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 12px;
  padding: 16px;
}

.mas-header--sub { position: sticky; top: 0; }
.mas-header--sub .mas-header__inner {
  max-width: var(--mas-max);
  min-height: 64px;
}
.mas-back {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mas-text);
  white-space: nowrap;
}
.mas-header__title {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}
.mas-header__spacer { width: 48px; }
.mas-sub-main { max-width: var(--mas-max); margin: 0 auto; }
.mas-search--grow { flex: 1; max-width: 520px; }
.mas-search-title {
  font-size: 24px;
  line-height: 1.2;
  margin: 22px 16px 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body[data-page="search"] {
  background: var(--mas-bg);
}

body[data-page="search"] .mas-sub-main {
  padding: 0 16px 32px;
}

body[data-page="search"] .mas-list-grid {
  padding-left: 0;
  padding-right: 0;
}

.mas-search-empty {
  margin: 18px 0 0;
  padding: 34px 18px;
  border-radius: var(--mas-radius-lg);
  background: #fff;
  border: 1px solid var(--mas-border);
  box-shadow: var(--mas-shadow-soft);
  text-align: center;
}

.mas-search-empty__title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--mas-text);
}

.mas-search-empty__desc {
  margin: 0;
  font-size: 14px;
  color: var(--mas-text-secondary);
}

.mas-search-suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.mas-search-suggestions a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--mas-blue-soft);
  color: var(--mas-blue);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(0, 119, 255, 0.16);
}

.mas-search-hot {
  margin-top: 22px;
}

.mas-search-hot__head {
  padding-left: 0;
  padding-right: 0;
}

.mas-search-hot__grid {
  padding-top: 4px;
}

.mas-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid rgba(0, 119, 255, 0.35);
  color: var(--mas-blue);
  border-radius: 999px;
  font-weight: 600;
  margin-left: 8px;
}

.mas-app-detail__hero {
  padding: 24px 16px;
  background: linear-gradient(135deg, #e8f2ff, #f5f6f8);
  background-size: cover;
  background-position: center;
  display: flex;
  gap: 16px;
  align-items: center;
}
.mas-app-detail__logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--mas-shadow);
}
.mas-app-detail__meta h1 {
  margin: 0 0 6px;
  font-size: 22px;
}
.mas-app-detail__meta p {
  margin: 0;
  color: var(--mas-text-secondary);
  font-size: 14px;
}
.mas-app-detail__actions {
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mas-app-detail__info { padding: 0 16px 16px; }
.mas-info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--mas-border);
  font-size: 14px;
}
.mas-info-row span { color: var(--mas-text-secondary); }
.mas-app-detail__content {
  padding: 16px;
  font-size: 14px;
  line-height: 1.7;
}

/* ========== H5 应用详情（对齐 App shopstore.vue）========== */
.mas-page-app {
  background: #f5f6f8;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.mas-sub-main--store {
  max-width: none;
  margin: 0;
}

.mas-store-detail {
  --mas-store-brand: #1677ff;
  --mas-store-line: rgba(0, 0, 0, 0.06);
  --mas-store-muted: #999;
  background: #f5f6f8;
  min-height: 100vh;
}

.mas-store-detail__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  background: #fff;
  border-bottom: 1px solid var(--mas-store-line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.mas-store-detail__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 28px;
  line-height: 1;
  color: #111;
  text-decoration: none;
}

.mas-store-detail__nav-spacer { flex: 1; }

.mas-store-detail__invite {
  font-size: 15px;
  font-weight: 600;
  color: var(--mas-store-brand);
  text-decoration: none;
  white-space: nowrap;
}

.mas-store-detail__header {
  position: relative;
  background: #e8ecf0;
}

.mas-store-detail__bg {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

.mas-store-detail__bg--placeholder {
  height: 160px;
  background: linear-gradient(135deg, #dbeafe, #f3e8ff);
}

.mas-store-detail__icon {
  position: absolute;
  left: 14px;
  bottom: -22px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid #fff;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mas-store-detail__share {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  border: none;
  background: var(--mas-store-brand);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(22, 119, 255, 0.35);
  cursor: pointer;
}

.mas-store-detail__profile {
  background: #fff;
  padding: 34px 14px 12px;
  border-bottom: 1px solid var(--mas-store-line);
}

.mas-store-detail__name {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: #111;
  line-height: 1.35;
}

.mas-store-detail__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0;
}

.mas-store-detail__label {
  padding: 3px 10px;
  border-radius: 16px;
  font-size: 12px;
  white-space: nowrap;
  color: var(--mas-store-brand);
  background: #e6f4ff;
  border: 1px solid #91caff;
}

.mas-store-detail__intro {
  margin: 0;
  font-size: 14px;
  color: var(--mas-store-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mas-store-detail__stats-card {
  position: relative;
  margin: 12px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(105, 177, 255, 0.45);
  box-shadow: 0 4px 16px rgba(105, 177, 255, 0.14);
}

.mas-store-detail__stats-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 28px;
  border-radius: 0 0 50% 50% / 0 0 14px 14px;
  background: linear-gradient(180deg, rgba(105, 177, 255, 0.2) 0%, rgba(105, 177, 255, 0) 100%);
  pointer-events: none;
}

.mas-store-detail__stats-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mas-store-detail__stats {
  display: inline-flex;
  flex-wrap: nowrap;
  min-width: 100%;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(105, 177, 255, 0.06) 0%, #fff 52%);
  padding: 12px 8px 16px;
}

.mas-store-detail__stat {
  flex: 0 0 auto;
  min-width: 72px;
  padding: 0 10px;
  text-align: center;
}

.mas-store-detail__stat-num {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #111;
  white-space: nowrap;
  line-height: 1.3;
}

.mas-store-detail__stat-lab {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--mas-store-muted);
  white-space: nowrap;
}

.mas-store-detail__star {
  color: #faad14;
  font-size: 14px;
}

.mas-store-detail__status {
  margin: 0 12px 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fffbe6;
  border: 1px solid #ffe58f;
}

.mas-store-detail__status-line {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  line-height: 1.6;
}

.mas-store-detail__status-line + .mas-store-detail__status-line {
  margin-top: 6px;
}

.mas-store-detail__tabs {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 44px;
  padding: 0 12px;
  background: #fff;
  border-top: 1px solid var(--mas-store-line);
  border-bottom: 1px solid var(--mas-store-line);
}

.mas-store-detail__tab {
  height: 44px;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--mas-store-muted);
  border-bottom: 3px solid transparent;
}

.mas-store-detail__tab--active {
  color: #111;
  border-bottom-color: var(--mas-store-brand);
}

.mas-store-detail__contentbox {
  padding-bottom: 12px;
}

.mas-store-detail__intro-panel {
  margin: 12px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--mas-store-line);
  padding: 12px;
}

.mas-store-detail__richtext {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  word-break: break-word;
}

.mas-store-detail__richtext img {
  max-width: 95%;
  height: auto;
  border-radius: 8px;
}

.mas-intro-img-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin: 12px 0 16px;
  padding-bottom: 6px;
}

.mas-intro-img-scroll-track {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 10px;
  min-width: min-content;
}

.mas-intro-img-scroll-track img {
  width: auto !important;
  max-width: 85vw !important;
  min-width: 140px;
  height: auto !important;
  max-height: 260px;
  object-fit: contain;
  flex-shrink: 0;
}

.mas-store-detail__developer {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--mas-store-muted);
}

.mas-store-detail__bottom-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px 12px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--mas-store-line);
  backdrop-filter: blur(8px);
}

.mas-store-detail__download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  border-radius: 999px;
  background: var(--mas-store-brand);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  border: none;
}

.mas-store-detail__download-btn--pending {
  opacity: 0.72;
}

@media (max-width: 768px) {
  .mas-store-detail__name { font-size: var(--mas-m-text-lg, 18px); }
  .mas-store-detail__intro { font-size: var(--mas-m-text-sm, 15px); }
  .mas-store-detail__stat-num { font-size: var(--mas-m-text-base, 16px); }
  .mas-store-detail__stat-lab { font-size: var(--mas-m-text-xs, 13px); }
  .mas-store-detail__status-line { font-size: var(--mas-m-text-sm, 15px); }
  .mas-store-detail__richtext { font-size: var(--mas-m-text-base, 16px); }
  .mas-store-detail__download-btn { font-size: var(--mas-m-text-lg, 18px); }
  .mas-store-detail__invite { font-size: var(--mas-m-text-sm, 15px); }
}

.mas-blog-card__time {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--mas-text-muted);
}

.mas-notice-detail {
  max-width: var(--mas-max);
  margin: 0 auto;
  padding: 16px;
}

.mas-notice-detail__cover {
  width: 100%;
  border-radius: var(--mas-radius-lg);
  margin-bottom: 16px;
}

.mas-notice-detail__cover--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  background: var(--mas-surface-2);
}

.mas-notice-detail__cover--logo img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.mas-notice-detail__title {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.35;
}

.mas-notice-detail__time {
  margin: 0 0 16px;
  color: var(--mas-text-secondary);
  font-size: 13px;
}

.mas-notice-detail__content {
  font-size: 15px;
  line-height: 1.75;
  color: var(--mas-text);
}

.mas-logo__img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #fff;
}

.mas-logo__img--sm {
  width: 28px;
  height: 28px;
}

.mas-logo__text-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.mas-logo__sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--mas-text-secondary);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mas-btn-download--tg {
  background: transparent;
  color: var(--mas-text);
  border: 1px solid var(--mas-border);
  box-shadow: none;
}

.mas-btn-download--tg:hover {
  border-color: var(--mas-blue);
  color: var(--mas-blue);
}

.mas-btn-download--toolbar {
  display: none;
}

.mas-btn-download--desktop {
  display: inline-flex;
}

/* Official 官网企业内容区块 */
.mas-corp {
  padding: 48px 16px;
  background: var(--mas-bg);
}

.mas-corp--alt {
  background: var(--mas-surface);
}

.mas-corp--contact {
  background: linear-gradient(180deg, var(--mas-surface) 0%, var(--mas-bg) 100%);
}

.mas-corp__inner {
  max-width: var(--mas-max);
  margin: 0 auto;
}

.mas-corp__inner--split {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .mas-corp__inner--split {
    grid-template-columns: 1fr 1fr;
  }
}

.mas-corp__label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--mas-blue);
}

.mas-corp__title {
  margin: 0 0 16px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.mas-corp__lead {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--mas-text-secondary);
}

.mas-corp__text {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--mas-text-secondary);
}

.mas-corp__hero {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}

@media (min-width: 900px) {
  .mas-corp__hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    margin-bottom: 36px;
  }
}

.mas-corp__hero--compact {
  margin-bottom: 24px;
}

.mas-corp__hero-media {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.mas-corp__hero-media--single img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--mas-radius-lg);
  box-shadow: var(--mas-shadow);
  border: 1px solid var(--mas-border);
}

.mas-corp__hero-media--phones {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.mas-corp-phone {
  margin: 0;
  flex: 1;
  min-width: 0;
  text-align: center;
}

.mas-corp-phone img {
  width: 100%;
  display: block;
  border-radius: 14px;
  box-shadow: var(--mas-shadow);
  border: 1px solid var(--mas-border);
  background: #fff;
}

.mas-corp-phone figcaption {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mas-text-secondary);
}

@media (min-width: 900px) {
  .mas-corp__hero-media--phones {
    max-width: none;
    gap: 14px;
  }

  .mas-corp-phone figcaption {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .mas-corp__hero-media--phones {
    gap: 8px;
  }

  .mas-corp-phone figcaption {
    font-size: 11px;
  }
}

.mas-corp__hero-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 22px;
  background: #fff;
  padding: 10px;
  box-shadow: var(--mas-shadow-soft);
  border: 1px solid var(--mas-border);
}

.mas-corp__banner {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: block;
  border-radius: var(--mas-radius-lg);
  box-shadow: var(--mas-shadow);
}

.mas-corp-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .mas-corp-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .mas-corp-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .mas-corp-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.mas-corp-card,
.mas-corp-block,
.mas-corp-adv,
.mas-corp-svc {
  padding: 22px;
  border-radius: var(--mas-radius-lg);
  border: 1px solid var(--mas-border);
  background: var(--mas-bg);
}

.mas-corp-card--media {
  position: relative;
  padding-top: 58px;
}

.mas-corp-card__icon {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mas-corp-card__icon svg {
  width: 24px;
  height: 24px;
}

.mas-corp-card__icon--blue {
  background: #e8f1ff;
  color: #0077ff;
}

.mas-corp-card__icon--green {
  background: #e8f8ef;
  color: #0d9f4f;
}

.mas-corp-card__icon--purple {
  background: #f0ebff;
  color: #6b46c1;
}

.mas-corp-card__icon--orange {
  background: #fff3e8;
  color: #ea580c;
}

.mas-corp-block--media {
  padding: 0;
  overflow: hidden;
}

.mas-corp-block__media {
  aspect-ratio: 16 / 9;
  background: var(--mas-surface-2);
}

.mas-corp-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mas-corp-block__body {
  padding: 20px 22px 22px;
}

.mas-corp-block__media img.mas-corp-img--fallback,
.mas-corp__hero-media img.mas-corp-img--fallback {
  object-fit: contain;
  padding: 24px;
  background: var(--mas-surface-2);
}

.mas-corp--alt .mas-corp-card,
.mas-corp--alt .mas-corp-block,
.mas-corp--alt .mas-corp-adv,
.mas-corp--alt .mas-corp-svc {
  background: #fff;
}

.mas-corp-card__num,
.mas-corp-adv > span,
.mas-corp-svc > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--mas-blue-soft);
  color: var(--mas-blue);
  font-size: 14px;
  font-weight: 800;
}

.mas-corp-card--media .mas-corp-card__num {
  position: absolute;
  top: 18px;
  right: 18px;
  margin-bottom: 0;
}

.mas-corp-card h3,
.mas-corp-block h3,
.mas-corp-adv h3,
.mas-corp-svc h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.mas-corp-card p,
.mas-corp-block p,
.mas-corp-adv p,
.mas-corp-svc p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--mas-text-secondary);
}

.mas-corp-office {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.mas-corp-office figure {
  margin: 0;
  border-radius: var(--mas-radius-lg);
  overflow: hidden;
  border: 1px solid var(--mas-border);
  background: #fff;
}

.mas-corp-office img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.mas-corp-office figcaption {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mas-text);
}

.mas-corp-info {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--mas-border);
  border-radius: var(--mas-radius-lg);
  overflow: hidden;
  background: #fff;
}

.mas-corp-info > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--mas-border);
}

.mas-corp-info > div:last-child {
  border-bottom: none;
}

.mas-corp-info dt {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--mas-text-secondary);
}

.mas-corp-info dd {
  margin: 0;
  font-size: 16px;
  color: var(--mas-text);
}

.mas-corp-info a {
  color: var(--mas-blue);
}

.mas-corp-legal {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .mas-corp-legal {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mas-corp-legal article {
  padding: 20px;
  border-radius: var(--mas-radius-lg);
  border: 1px solid var(--mas-border);
  background: var(--mas-surface);
}

.mas-corp-legal h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
}

.mas-corp-legal ul {
  margin: 0;
  padding-left: 18px;
}

.mas-corp-legal li {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mas-text-secondary);
}

.mas-corp-contact {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .mas-corp-contact {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mas-corp-contact__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: var(--mas-radius-lg);
  border: 1px solid var(--mas-border);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.mas-corp-contact__item:hover {
  border-color: rgba(0, 119, 255, 0.35);
  box-shadow: var(--mas-shadow-sm);
}

.mas-corp-contact__item strong {
  font-size: 13px;
  color: var(--mas-text-secondary);
}

.mas-corp-contact__item span {
  font-size: 15px;
  font-weight: 600;
  color: var(--mas-text);
}

.mas-corp-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mas-footer__addr {
  font-size: 13px;
  color: var(--mas-text-secondary);
  line-height: 1.5;
}

/* 移动端页脚折叠 + 语言 */
.mas-footer__tools {
  margin-bottom: 8px;
}

.mas-lang-dd--footer {
  width: 100%;
}

.mas-lang-dd--footer .mas-lang-dd__btn {
  width: 100%;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 15px;
}

.mas-lang-dd__btn-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mas-lang-dd--footer .mas-lang-dd__panel {
  left: 0;
  right: 0;
  min-width: 0;
}

.mas-footer__acc {
  border-top: 1px solid var(--mas-border);
  margin-bottom: 20px;
}

.mas-footer-acc {
  border-bottom: 1px solid var(--mas-border);
}

.mas-footer-acc--flat .mas-footer-acc__title {
  padding: 16px 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--mas-text);
}

.mas-footer-acc summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.mas-footer-acc summary::-webkit-details-marker {
  display: none;
}

.mas-footer-acc__chev {
  flex-shrink: 0;
  color: var(--mas-text-secondary);
  transition: transform 0.2s;
}

.mas-footer-acc[open] .mas-footer-acc__chev {
  transform: rotate(180deg);
}

.mas-footer-acc__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 0 14px;
}

.mas-footer-acc__body a {
  display: flex;
  align-items: center;
  min-height: 42px;
  font-size: 15px;
  color: var(--mas-text-secondary);
}

.mas-footer__brand-mobile {
  flex-direction: column;
  gap: 0;
  padding-top: 8px;
}

.mas-footer__brand-mobile .mas-footer__brand {
  margin-bottom: 8px;
}

/* 底部悬浮下载条（RuStore 风格：四角圆角浮动条） */
.mas-sticky-dl {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding: 0 12px calc(10px + env(safe-area-inset-bottom));
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.mas-sticky-dl__inner {
  max-width: var(--mas-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 20px;
  background: var(--mas-blue);
  box-shadow:
    0 4px 20px rgba(0, 102, 255, 0.32),
    0 10px 36px rgba(15, 23, 42, 0.14);
  pointer-events: auto;
}

.mas-sticky-dl__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  background: #fff;
}

.mas-sticky-dl__copy {
  flex: 1;
  min-width: 0;
}

.mas-sticky-dl__copy strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  overflow-wrap: anywhere;
}

.mas-sticky-dl__copy span {
  display: none;
}

.mas-sticky-dl__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  max-width: 46vw;
  padding: 10px 18px;
  border-radius: 14px;
  background: #fff;
  color: var(--mas-blue);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  white-space: normal;
}

.mas-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 10000;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.96);
  color: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.26);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

body[data-page="home"] .mas-consent {
  bottom: calc(92px + env(safe-area-inset-bottom));
}

.mas-consent.is-show {
  opacity: 1;
  transform: translateY(0);
}

.mas-consent.is-hiding {
  opacity: 0;
  transform: translateY(16px);
}

.mas-consent__copy {
  flex: 1;
  min-width: 0;
}

.mas-consent__copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  line-height: 1.35;
}

.mas-consent__copy span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.55;
}

.mas-consent__btn {
  flex-shrink: 0;
  min-width: 88px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--mas-navy);
  font-size: 14px;
  font-weight: 800;
}

body[data-page="home"] .mas-page {
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
  .mas-sticky-dl {
    display: none;
  }

  body[data-page="home"] .mas-page {
    padding-bottom: 0;
  }
}

.mas-notice-detail__content img {
  max-width: 100%;
  height: auto;
}

/* ── 手机端自适应（RuStore 风格） ── */
@media (max-width: 767px) {
  :root {
    --mas-header-h: 52px;
    --mas-m-text-xs: 14px;
    --mas-m-text-sm: 16px;
    --mas-m-text-base: 17px;
    --mas-m-text-md: 18px;
    --mas-m-text-lg: 20px;
    --mas-m-text-xl: 24px;
    --mas-m-text-2xl: 32px;
    --mas-m-text-3xl: 36px;
  }

  html {
    font-size: 17px;
  }

  body {
    font-size: var(--mas-m-text-base);
    line-height: 1.6;
  }

  .mas-show-mobile {
    display: block;
  }

  .mas-icon-btn.mas-show-mobile,
  .mas-menu-btn.mas-show-mobile {
    display: inline-flex;
  }

  .mas-hide-mobile {
    display: none !important;
  }

  /* 真机：祖先 overflow 会导致 sticky 失效，改 fixed 始终悬浮 */
  .mas-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    padding-top: env(safe-area-inset-top, 0px);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
  }

  .mas-page {
    padding-top: calc(var(--mas-header-h) + env(safe-area-inset-top, 0px));
  }

  .mas-header__inner {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 8px 12px;
  }

  .mas-header--sub .mas-header__inner {
    min-height: 62px;
    padding: 10px 14px;
  }

  .mas-header--sub .mas-back {
    min-height: 42px;
    font-size: var(--mas-m-text-sm);
  }

  .mas-search--grow {
    height: 42px;
    max-width: none;
    min-width: 0;
    padding: 0 14px;
    border-color: rgba(0, 119, 255, 0.35);
    background: #fff;
  }

  .mas-search--grow input {
    font-size: var(--mas-m-text-sm);
  }

  body[data-page="search"] .mas-sub-main {
    padding: 0 18px 36px;
  }

  .mas-search-title {
    margin: 22px 0 12px;
    font-size: var(--mas-m-text-xl);
  }

  .mas-search-empty {
    margin-top: 14px;
    padding: 32px 18px;
  }

  .mas-search-empty__title {
    font-size: var(--mas-m-text-lg);
  }

  .mas-search-empty__desc,
  .mas-search-suggestions a {
    font-size: var(--mas-m-text-sm);
  }

  .mas-logo {
    flex: 1 1 0;
    min-width: 0;
    max-width: calc(100% - 152px);
    overflow: hidden;
  }

  .mas-logo__img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .mas-logo__text-wrap {
    display: flex !important;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .mas-logo__sub {
    display: none;
  }

  .mas-logo__text {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mas-text);
    -webkit-text-fill-color: currentColor;
  }

  .mas-header__actions {
    flex: 0 0 auto;
    flex-shrink: 0;
    flex-wrap: nowrap;
    gap: 8px;
    margin-left: auto;
  }

  .mas-menu-btn,
  .mas-icon-btn {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: var(--mas-toolbar-bg);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  }

  .mas-btn-download--toolbar {
    display: inline-flex;
    height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--mas-toolbar-bg);
    color: var(--mas-text);
    border: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    font-size: 15px;
    font-weight: 600;
  }

  .mas-btn-download--toolbar:hover {
    background: #dce4ee;
    transform: none;
  }

  .mas-btn-download--toolbar svg {
    display: none;
  }

  .mas-btn-download--desktop {
    display: none !important;
  }

  .mas-btn-download--desktop.mas-hide-mobile {
    display: none !important;
  }

  .mas-btn-download:not(.mas-btn-download--toolbar):not(.mas-btn-download--tg) {
    padding: 9px 16px;
    font-size: var(--mas-m-text-sm);
  }

  .mas-btn-download svg {
    display: none;
  }

  .mas-btn-download__text {
    display: inline;
  }

  .mas-trust {
    overflow: visible;
  }

  .mas-trust__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 6px;
    padding: 11px 12px;
    align-items: center;
    justify-items: center;
    justify-content: center;
  }

  .mas-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    max-width: 108px;
    margin: 0 auto;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    color: rgba(255, 255, 255, 0.93);
  }

  .mas-trust__item svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.92;
  }

  .mas-trust__item > span:last-child {
    display: block;
    width: 100%;
    min-width: 0;
    text-align: center;
    word-break: keep-all;
    white-space: normal;
  }

  .mas-mtabs a {
    font-size: var(--mas-m-text-sm);
    min-height: 40px;
    padding: 0 16px;
  }

  .mas-mtabs {
    display: flex;
  }

  .mas-hero {
    padding: 24px 16px 32px;
  }

  .mas-hero__inner {
    gap: 20px;
  }

  .mas-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mas-hero__eyebrow {
    font-size: var(--mas-m-text-sm);
    letter-spacing: 0.06em;
  }

  .mas-hero__title {
    font-size: clamp(34px, 9vw, 42px);
    line-height: 1.1;
  }

  .mas-hero__title-sub {
    font-size: clamp(24px, 6.5vw, 32px);
    margin-bottom: 14px;
    line-height: 1.35;
  }

  .mas-hero__subtitle {
    font-size: var(--mas-m-text-md);
    margin-bottom: 18px;
    line-height: 1.7;
    max-width: 100%;
  }

  .mas-hero__badges {
    justify-content: center;
    margin-bottom: 18px;
  }

  .mas-hero__badges span {
    font-size: var(--mas-m-text-sm);
    padding: 8px 14px;
  }

  .mas-hero__search {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 16px;
  }

  .mas-search input,
  .mas-search--hero input {
    font-size: var(--mas-m-text-md);
  }

  .mas-search,
  .mas-search--hero {
    height: 50px;
    max-width: none;
  }

  .mas-hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .mas-hero__btn {
    width: auto;
    flex: 1 1 calc(50% - 5px);
    min-width: 140px;
    padding: 14px 18px;
    font-size: var(--mas-m-text-md);
  }

  .mas-features {
    display: none;
  }

  .mas-section {
    padding-left: 0;
    padding-right: 0;
  }

  .mas-section__head {
    padding-left: 12px;
    padding-right: 12px;
  }

  .mas-section__title {
    font-size: var(--mas-m-text-xl);
  }

  .mas-section__more {
    font-size: var(--mas-m-text-sm);
  }

  .mas-app-card__name {
    font-size: var(--mas-m-text-sm);
    min-height: 38px;
  }

  .mas-app-card__cat {
    font-size: var(--mas-m-text-xs);
  }

  .mas-app-card__rating {
    font-size: var(--mas-m-text-xs);
  }

  .mas-blog-card__body {
    padding: 16px 18px 18px;
  }

  .mas-blog-card__title {
    font-size: var(--mas-m-text-md);
    line-height: 1.45;
  }

  .mas-blog-card__time {
    font-size: var(--mas-m-text-sm);
  }

  .mas-tag {
    font-size: var(--mas-m-text-sm);
    padding: 10px 16px;
  }

  .mas-install-card__title {
    font-size: var(--mas-m-text-lg);
  }

  .mas-install-card__desc {
    font-size: var(--mas-m-text-sm);
  }

  .mas-install-card__link {
    font-size: var(--mas-m-text-sm);
  }

  .mas-corp__title {
    font-size: var(--mas-m-text-2xl);
  }

  .mas-corp__lead {
    font-size: var(--mas-m-text-md);
  }

  .mas-corp__text {
    font-size: var(--mas-m-text-base);
  }

  .mas-corp-card h3,
  .mas-corp-block h3,
  .mas-corp-adv h3,
  .mas-corp-svc h3 {
    font-size: var(--mas-m-text-md);
  }

  .mas-corp-card p,
  .mas-corp-block p,
  .mas-corp-adv p,
  .mas-corp-svc p {
    font-size: var(--mas-m-text-sm);
  }

  .mas-corp-info dt {
    font-size: var(--mas-m-text-sm);
  }

  .mas-corp-info dd {
    font-size: var(--mas-m-text-base);
  }

  .mas-corp-legal h3 {
    font-size: var(--mas-m-text-base);
  }

  .mas-corp-legal li {
    font-size: var(--mas-m-text-sm);
  }

  .mas-corp-contact__item strong {
    font-size: var(--mas-m-text-sm);
  }

  .mas-corp-contact__item span {
    font-size: var(--mas-m-text-base);
  }

  .mas-download__title {
    font-size: var(--mas-m-text-xl);
  }

  .mas-download__desc {
    font-size: var(--mas-m-text-sm);
  }

  .mas-download__label {
    font-size: var(--mas-m-text-xs);
  }

  .mas-download__btn {
    font-size: var(--mas-m-text-sm);
  }

  .mas-drawer__head strong {
    font-size: var(--mas-m-text-lg);
  }

  .mas-drawer__nav a {
    font-size: var(--mas-m-text-md);
    min-height: 50px;
  }

  .mas-drawer__tg {
    font-size: var(--mas-m-text-base);
    min-height: 50px;
  }

  .mas-lang-dd--drawer .mas-lang-dd__btn {
    font-size: var(--mas-m-text-md);
    min-height: 50px;
  }

  .mas-lang-dd--drawer .mas-lang-dd__panel a {
    font-size: var(--mas-m-text-base);
    padding: 13px 14px;
  }

  .mas-lang-dd--footer .mas-lang-dd__btn {
    font-size: var(--mas-m-text-md);
  }

  .mas-lang-dd__panel a {
    font-size: var(--mas-m-text-base);
    padding: 12px 14px;
  }

  .mas-footer-acc summary,
  .mas-footer-acc--flat .mas-footer-acc__title {
    font-size: var(--mas-m-text-lg);
    padding: 18px 0 10px;
  }

  .mas-footer-acc__body a {
    font-size: var(--mas-m-text-base);
    min-height: 46px;
  }

  .mas-footer__copy {
    font-size: var(--mas-m-text-xs);
  }

  .mas-empty,
  .mas-loading {
    font-size: var(--mas-m-text-base);
  }

  .mas-sticky-dl {
    padding: 0 10px calc(8px + env(safe-area-inset-bottom));
  }

  .mas-sticky-dl__inner {
    padding: 10px 12px;
    border-radius: 18px;
    gap: 10px;
  }

  .mas-sticky-dl__logo {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .mas-sticky-dl__copy strong {
    font-size: var(--mas-m-text-base);
  }

  .mas-sticky-dl__btn {
    font-size: var(--mas-m-text-sm);
    min-width: 76px;
    padding: 10px 16px;
    border-radius: 12px;
  }

  .mas-consent {
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
  }

  .mas-consent__copy strong {
    font-size: var(--mas-m-text-base);
  }

  .mas-consent__copy span {
    font-size: var(--mas-m-text-xs);
  }

  .mas-consent__btn {
    width: 100%;
    min-height: 46px;
    font-size: var(--mas-m-text-sm);
  }

  .mas-section--panel .mas-section__head,
  .mas-section--panel .mas-scroll-row,
  .mas-section--panel .mas-categories-wrap,
  .mas-section--panel .mas-app-grid {
    margin-left: 12px;
    margin-right: 12px;
  }

  .mas-app-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 8px;
    padding: 4px 12px 16px;
  }

  .mas-app-grid--chips {
    padding: 4px 12px 16px;
  }

  .mas-blog-grid {
    grid-template-columns: 1fr;
    padding: 0 12px;
    gap: 12px;
  }

  .mas-install {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 12px 4px;
    scrollbar-width: none;
  }

  .mas-install::-webkit-scrollbar {
    display: none;
  }

  .mas-install-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
    min-width: 260px;
  }

  .mas-corp {
    padding: 32px 12px;
  }

  .mas-corp-info > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 14px;
  }

  .mas-corp-contact__actions {
    flex-direction: column;
  }

  .mas-corp-contact__actions .mas-hero__btn {
    width: 100%;
  }

  .mas-corp-legal {
    grid-template-columns: 1fr;
  }

  .mas-download {
    margin: 0 12px;
    border-radius: var(--mas-radius);
  }

  .mas-download__inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 24px 16px;
  }

  .mas-download__btn {
    width: 100%;
    justify-content: center;
  }

  .mas-footer {
    padding: 20px 12px calc(24px + env(safe-area-inset-bottom));
    max-width: none;
  }

  .mas-footer__tagline {
    max-width: none;
    font-size: var(--mas-m-text-base);
    line-height: 1.7;
    margin-top: 16px;
  }

  .mas-footer__bottom {
    padding-top: 16px;
    text-align: center;
  }

  .mas-tags {
    padding-left: 12px;
    padding-right: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mas-tags::-webkit-scrollbar {
    display: none;
  }

  .mas-tag {
    flex: 0 0 auto;
  }

  .mas-banner__title {
    font-size: var(--mas-m-text-md);
  }

  .mas-banner__sub {
    font-size: var(--mas-m-text-sm);
  }

  .mas-category {
    font-size: var(--mas-m-text-sm);
    padding: 10px 16px;
  }

  .mas-credit-hero__title {
    font-size: var(--mas-m-text-2xl);
    text-align: center;
  }

  .mas-credit-hero__sub,
  .mas-credit-hero__eyebrow {
    font-size: var(--mas-m-text-base);
    text-align: center;
  }

  .mas-credit-hero {
    text-align: center;
  }

  .mas-credit-quick-row {
    justify-content: center;
  }

  .mas-credit-stat__val {
    font-size: var(--mas-m-text-xl);
  }

  .mas-credit-stat__label {
    font-size: var(--mas-m-text-sm);
  }

  .mas-credit-product__title {
    font-size: var(--mas-m-text-lg);
  }

  .mas-credit-product__bank {
    font-size: var(--mas-m-text-sm);
  }

  .mas-credit-product__benefits li {
    font-size: var(--mas-m-text-base);
  }

  .mas-credit-product__note {
    font-size: var(--mas-m-text-base);
  }

  .mas-credit-product__cta {
    font-size: var(--mas-m-text-md);
  }

  .mas-credit-product__card-name {
    font-size: var(--mas-m-text-base);
  }

  .mas-credit-service__name {
    font-size: var(--mas-m-text-base);
  }

  .mas-credit-service__desc {
    font-size: var(--mas-m-text-sm);
  }

  .mas-credit-quick {
    font-size: var(--mas-m-text-sm);
  }
}

@media (min-width: 768px) {
  .mas-drawer {
    display: none !important;
  }
}

/* App 内功能提示 */
.mas-app-tip {
  position: fixed;
  left: 50%;
  bottom: calc(100px + env(safe-area-inset-bottom));
  z-index: 10000;
  max-width: min(320px, calc(100vw - 32px));
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.28);
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.mas-app-tip.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
