:root {
  --bg: #ffffff;
  --bg-soft: #f7fbff;
  --bg-card: rgba(255, 255, 255, .88);
  --text: #18283f;
  --muted: #607086;
  --muted-2: #7a8798;
  --line: #e5ebf4;
  --brand: #36b883;
  --brand-dark: #239a68;
  --blue: #3369ff;
  --cyan: #21b9ee;
  --violet: #7c5cff;
  --danger: #e5484d;
  --shadow: 0 16px 44px rgba(28, 46, 74, .08);
  --shadow-soft: 0 10px 30px rgba(28, 46, 74, .06);
  --radius: 8px;
  --header-height: 64px;
  color: var(--text);
  background: var(--bg);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(51, 105, 255, .12), transparent 30%),
    radial-gradient(circle at 82% 16%, rgba(54, 184, 131, .12), transparent 30%),
    linear-gradient(180deg, #f8fcff 0%, #fff 420px);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.home {
  background: #fff;
}

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

img {
  max-width: 100%;
  height: auto;
}

.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1376px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  height: 100%;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.brand-mark img {
  display: block;
  width: 24px;
  height: 24px;
}

.brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-right,
.main-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-right {
  gap: 8px;
}

.search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 168px;
  height: 40px;
  margin-right: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 10px 0 12px;
  color: var(--muted);
  background: rgba(248, 250, 253, .92);
  font-size: 13px;
}

.search-icon {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
}

.search span:nth-child(2) {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

kbd {
  min-width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 4px;
  color: var(--muted-2);
  background: #fff;
  font: inherit;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--brand);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 2px;
  background: var(--brand);
}

.appearance {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.appearance::before,
.appearance::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid var(--text);
  border-radius: 50%;
}

.appearance::after {
  inset: 4px 17px;
  border-width: 0 2px;
  border-radius: 0;
  transform: rotate(45deg);
  opacity: .8;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 32px 24px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.footer span {
  color: var(--brand-dark);
  font-weight: 700;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.page-hero h1,
.hero h1 {
  letter-spacing: 0;
}

.home .footer {
  background: #fff;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 64px);
  padding: calc(var(--header-height) + 60px) 24px 106px;
  overflow: hidden;
  text-align: center;
}

.bg-filter,
.bg-filter canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bg-filter canvas {
  image-rendering: auto;
  filter: blur(52px) saturate(1.22);
  transform: scale(1.12);
}

.bg-filter::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 47%, rgba(255, 255, 255, .36), rgba(255, 255, 255, .62) 31%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .08) 42%, rgba(255, 255, 255, .82) 96%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(110deg, var(--brand) 10%, #2caec4 48%, var(--violet) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 22px 0 0;
  color: rgba(24, 40, 63, .72);
  font-size: clamp(25px, 3.2vw, 36px);
  font-weight: 900;
  line-height: 1.25;
}

.description {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(24, 40, 63, .62);
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 500;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 900;
}

.btn.primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 30px rgba(54, 184, 131, .24);
}

.btn.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow-soft);
}

.feature-main,
.shop-main,
.download-main,
.changelog-main {
  max-width: 1160px;
  min-height: calc(100vh - var(--header-height));
  margin: 0 auto;
  padding: calc(var(--header-height) + 58px) 32px 76px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 34px;
  align-items: end;
  padding-bottom: 30px;
}

.page-hero h1 {
  max-width: 800px;
  margin: 0;
  color: var(--text);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
}

.lead,
.page-hero p:not(.section-kicker),
.download-hero-copy > p:not(.section-kicker),
.changelog-hero p:not(.section-kicker) {
  max-width: 740px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.feature-hero h1 {
  background: linear-gradient(115deg, var(--brand) 18%, #2ab7c8 54%, var(--violet) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-hero-panel,
.release-summary,
.download-version-card,
.feature-section.clean,
.feature-section.tips,
.feature-section.compliance,
.shop-panel,
.download-panel,
.download-support,
.release-grid div,
.release-card,
.download-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
}

.feature-hero-panel,
.release-summary,
.download-version-card {
  padding: 22px;
}

.feature-hero-panel div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.feature-hero-panel div:first-child {
  padding-top: 0;
}

.feature-hero-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.panel-label,
.release-summary span,
.release-summary em,
.download-version-card span,
.download-version-card em {
  display: block;
  color: var(--muted-2);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.feature-hero-panel strong {
  color: var(--text);
  font-size: 16px;
}

.feature-section {
  border-top: 1px solid var(--line);
  padding: 44px 0;
}

.feature-section.clean,
.feature-section.tips,
.feature-section.compliance {
  border-top: 1px solid var(--line);
  margin: 18px 0 36px;
  padding: 30px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2,
.feature-section h2 {
  margin: 0;
  color: var(--text);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.25;
}

.rich-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.rich-copy p,
.feature-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

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

.capability-card,
.audience-list div,
.support-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 46, 74, .05);
}

.capability-card {
  min-height: 230px;
  padding: 24px;
}

.card-index,
.download-card-icon,
.release-version {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.card-index {
  min-width: 38px;
  height: 28px;
}

.capability-card h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

.capability-card p {
  color: var(--muted);
}

.split,
.compliance {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.split-heading {
  display: grid;
  align-content: start;
  gap: 10px;
}

.split-heading h2 {
  margin: 0;
}

.audience-list {
  display: grid;
  gap: 12px;
}

.audience-list div,
.support-item {
  padding: 18px 20px;
}

.audience-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.audience-list span,
.support-item {
  color: var(--muted);
  line-height: 1.7;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.support-item {
  min-height: 128px;
  font-weight: 800;
}

.compliance {
  background: #fff8e8;
}

.tips span {
  display: inline-block;
  margin-top: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 104px;
  border-radius: var(--radius);
  padding: 24px 28px;
  color: #fff;
  background: linear-gradient(120deg, #2f66ff 0%, #4f83ff 48%, #22b8ee 100%);
  box-shadow: 0 18px 42px rgba(51, 105, 255, .22);
}

.shop-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.shop-logo {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
}

.shop-title h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
}

.shop-title p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
}

.shop-actions,
.download-contact-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.online-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  color: #12243d;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 24px rgba(16, 38, 95, .12);
  font-size: 14px;
  font-weight: 800;
}

.contact-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 6px 14px rgba(16, 38, 95, .18);
}

.qq-logo {
  background: linear-gradient(145deg, #35b9ff, #1172e8);
}

.qq-logo::before {
  content: "QQ";
  font-size: 11px;
  font-weight: 900;
}

.wechat-logo {
  background: linear-gradient(145deg, #2dd875, #08a84f);
}

.wechat-logo::before,
.wechat-logo::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #fff;
}

.wechat-logo::before {
  left: 7px;
  top: 9px;
  width: 14px;
  height: 10px;
}

.wechat-logo::after {
  right: 7px;
  bottom: 8px;
  width: 12px;
  height: 9px;
}

.contact-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
  line-height: 1.12;
  text-align: left;
}

.contact-copy em {
  color: #526273;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.contact-copy strong {
  color: #10233d;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.contact-qr-popover {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 80;
  width: 220px;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: var(--radius);
  padding: 10px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(16, 38, 95, .22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity .16s ease, transform .16s ease;
}

.contact-qr-popover::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.contact-qr-popover img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.online-badge:hover .contact-qr-popover,
.online-badge:focus-within .contact-qr-popover {
  opacity: 1;
  transform: translate(-50%, 0);
}

.shop-panel {
  padding: 24px;
  margin-top: 18px;
}

.shop-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.shop-section-title h2 {
  margin: 0;
  padding-left: 14px;
  border-left: 4px solid var(--blue);
  color: #172b4d;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
}

.shop-section-title.compact h2 {
  font-size: 20px;
}

.merchant-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #4b5565;
}

.merchant-row strong {
  color: var(--blue);
}

.merchant-row em {
  margin-left: 14px;
  color: var(--danger);
  font-style: normal;
  font-weight: 800;
}

.cert-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.shop-searchbar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.shop-searchbar input {
  width: min(420px, 100%);
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 18px;
  color: var(--text);
  background: #fff;
  font: inherit;
}

.shop-searchbar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(0deg, #2a62ff, #4e7dff);
  font-weight: 900;
}

.category-cards,
.goods-grid,
.pay-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.shop-category,
.goods-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.shop-category {
  min-height: 116px;
  padding: 22px 20px;
  cursor: pointer;
}

.shop-category::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(51, 105, 255, .18), rgba(38, 194, 255, .12));
  transform: rotate(18deg);
}

.shop-category.active,
.goods-card.selected {
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(51, 105, 255, .13);
}

.shop-category:hover,
.goods-card:hover {
  border-color: var(--blue);
}

.shop-category h3,
.goods-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #172b4d;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.shop-category p {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  color: var(--muted);
}

.goods-card {
  min-height: 150px;
  padding: 26px 22px;
  cursor: pointer;
}

.goods-head {
  display: grid;
  gap: 12px;
}

.goods-card h3 {
  min-height: 48px;
  word-break: keep-all;
}

.goods-card strong {
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.goods-card > span {
  display: inline-flex;
  margin-top: 12px;
  color: #00a553;
  font-size: 17px;
  font-weight: 800;
}

.goods-card.selected::after {
  content: "✓";
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: end center;
  width: 42px;
  height: 42px;
  padding-bottom: 3px;
  color: #fff;
  background: linear-gradient(135deg, transparent 0 49%, var(--blue) 50%);
  font-weight: 900;
}

.icon-title > span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.shop-description {
  border-radius: var(--radius);
  padding: 20px;
  color: var(--muted);
  background: #f7faff;
}

.shop-description p {
  margin: 0;
}

.shop-description p + p {
  margin-top: 10px;
}

.checkout-panel h2 {
  margin: 0 0 18px;
  color: #172b4d;
  font-size: 20px;
}

.pay-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pay-method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: #263a55;
  background: #f8fbff;
  font-weight: 800;
  text-align: center;
}

.pay-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  color: #fff;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.pay-icon.wechat { background: #12b86a; }
.pay-icon.alipay { background: #1678ff; }
.pay-icon.union { background: #c04f7b; }
.pay-icon.bank { background: #2457c5; }
.pay-icon.digital { background: #c74d68; }
.pay-icon.visa { background: #2457c5; }
.pay-icon.usdt { background: #22a699; }
.pay-icon.direct { background: #d6a121; }
.pay-icon.wechat::before { content: "微"; }
.pay-icon.alipay::before { content: "支"; }
.pay-icon.union::before { content: "银"; }
.pay-icon.bank::before { content: "卡"; }
.pay-icon.digital::before { content: "数"; }
.pay-icon.visa::before { content: "V"; }
.pay-icon.usdt::before { content: "U"; }
.pay-icon.direct::before { content: "¥"; }

.release-summary strong,
.download-version-card strong {
  display: block;
  margin: 8px 0;
  color: var(--blue);
  font-size: 36px;
  line-height: 1;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.release-grid div {
  padding: 18px 20px;
}

.release-grid strong {
  display: block;
  font-size: 17px;
}

.release-grid span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.changelog-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.release-filter {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-soft);
}

.release-filter button {
  border: 0;
  border-radius: 6px;
  padding: 10px 12px;
  color: #4b5565;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.release-filter button:hover {
  color: var(--blue);
  background: #eef4ff;
}

.release-filter button.active {
  color: #fff;
  background: var(--blue);
}

.timeline {
  position: relative;
  display: grid;
  gap: 16px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 13px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), rgba(51, 105, 255, .08));
}

.release-card {
  position: relative;
  margin-left: 42px;
  padding: 24px 26px;
}

.release-card[hidden] {
  display: none;
}

.release-card::before {
  content: "";
  position: absolute;
  top: 28px;
  left: -36px;
  width: 16px;
  height: 16px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(51, 105, 255, .28);
}

.release-card.latest {
  border-color: rgba(51, 105, 255, .55);
  box-shadow: 0 16px 40px rgba(51, 105, 255, .12);
}

.release-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.release-version {
  padding: 4px 10px;
}

.release-meta time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.release-meta em {
  border-radius: 999px;
  padding: 4px 10px;
  color: #0d8a4f;
  background: #e9fbf2;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.release-meta em.feature { color: #2855c8; background: #eef4ff; }
.release-meta em.fix { color: #b7791f; background: #fff7df; }
.release-meta em.class { color: #8a4fd1; background: #f4ecff; }
.release-meta em.support { color: #b83280; background: #fff0f7; }

.release-card h2 {
  margin: 0 0 14px;
  color: #172b4d;
  font-size: 22px;
  line-height: 1.35;
}

.release-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #4b5565;
  line-height: 1.75;
}

.release-pagination {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.release-pagination[hidden] {
  display: none;
}

.release-pagination button {
  min-width: 40px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(28, 46, 74, .05);
}

.release-pagination button:hover:not(:disabled),
.release-pagination button.active {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.release-pagination button:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.download-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.download-primary,
.download-resource a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(51, 105, 255, .25);
}

.download-primary {
  min-height: 48px;
  padding: 0 24px;
  font-size: 16px;
}

.download-primary-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
}

.download-note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.download-version-card a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
}

.download-panel,
.download-support {
  padding: 24px;
}

.download-panel + .download-grid,
.download-grid + .download-panel,
.download-panel + .download-support {
  margin-top: 18px;
}

.download-section-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.download-title-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.download-section-title h2 {
  margin: 0;
  color: #172b4d;
  font-size: 22px;
  line-height: 1.3;
}

.download-section-title p {
  margin: 6px 0 0;
  color: var(--muted);
}

.download-resource {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: var(--radius);
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(51, 105, 255, .96), rgba(34, 184, 240, .94)),
    radial-gradient(circle at 92% 24%, rgba(255, 255, 255, .24), transparent 28%);
}

.download-resource h3 {
  margin: 10px 0 8px;
  font-size: 28px;
  line-height: 1.25;
}

.download-resource p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
}

.resource-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  color: #1d5ce8;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

.download-resource a {
  flex: 0 0 auto;
  min-width: 136px;
  min-height: 44px;
  color: #235ce9;
  background: #fff;
  box-shadow: none;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.download-card {
  padding: 22px;
}

.download-card-icon {
  padding: 4px 9px;
  color: var(--blue);
  background: #eef4ff;
}

.download-card h3 {
  margin: 14px 0 8px;
  color: #172b4d;
  font-size: 20px;
}

.download-card p {
  min-height: 56px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.download-card strong {
  color: var(--brand-dark);
  font-size: 15px;
}

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

.step-list div {
  border-radius: var(--radius);
  padding: 18px;
  background: #f7faff;
}

.step-list span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.step-list strong {
  display: block;
  margin-top: 12px;
  color: #172b4d;
}

.step-list p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.download-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  margin-top: 18px;
}

.download-support h2 {
  margin: 0;
  color: #172b4d;
  font-size: 28px;
}

.download-support p:not(.section-kicker) {
  max-width: 640px;
  margin: 10px 0 0;
  color: var(--muted);
}

@media (max-width: 1120px) {
  .navbar-inner {
    padding: 0 24px;
  }

  .search {
    width: 126px;
  }

  .goods-grid,
  .category-cards,
  .pay-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .brand-text {
    max-width: 260px;
  }

  .search {
    display: none;
  }

  .page-hero,
  .split,
  .compliance,
  .rich-copy,
  .changelog-layout,
  .download-support,
  .download-hero {
    grid-template-columns: 1fr;
  }

  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-grid,
  .release-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .release-filter {
    position: static;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .release-pagination {
    grid-column: 1;
  }

  .shop-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .navbar-inner {
    padding: 0 16px;
  }

  .brand-text {
    max-width: 168px;
    font-size: 14px;
  }

  .main-nav a:nth-child(n + 3) {
    display: none;
  }

  .appearance {
    display: none;
  }

  .feature-main,
  .shop-main,
  .download-main,
  .changelog-main {
    padding: calc(var(--header-height) + 34px) 16px 58px;
  }

  .hero {
    min-height: calc(100vh - 64px);
    padding: calc(var(--header-height) + 34px) 18px 80px;
  }

  .feature-section.clean,
  .feature-section.tips,
  .feature-section.compliance,
  .shop-panel,
  .download-panel,
  .download-support,
  .release-card {
    padding: 20px;
  }

  .support-grid,
  .goods-grid,
  .category-cards,
  .pay-options,
  .step-list {
    grid-template-columns: 1fr;
  }

  .release-grid,
  .release-filter {
    grid-template-columns: 1fr;
  }

  .release-card {
    margin-left: 26px;
  }

  .timeline::before {
    left: 4px;
  }

  .release-card::before {
    left: -28px;
  }

  .shop-title {
    align-items: flex-start;
  }

  .shop-actions,
  .download-contact-list,
  .download-actions,
  .shop-searchbar,
  .download-resource {
    align-items: stretch;
    flex-direction: column;
  }

  .online-badge,
  .download-resource a,
  .download-primary {
    width: 100%;
  }

  .contact-qr-popover {
    left: auto;
    right: 0;
    transform: translate(0, -6px);
  }

  .online-badge:hover .contact-qr-popover,
  .online-badge:focus-within .contact-qr-popover {
    transform: translate(0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
