:root {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: rgba(0, 0, 0, .88);
  background: #f5f5f5;
  font-synthesis: none;
  --ant-primary: #1677ff;
  --ant-primary-hover: #4096ff;
  --ant-primary-active: #0958d9;
  --ant-success: #52c41a;
  --ant-warning: #faad14;
  --ant-danger: #ff4d4f;
  --ant-text: rgba(0, 0, 0, .88);
  --ant-text-secondary: rgba(0, 0, 0, .65);
  --ant-text-tertiary: rgba(0, 0, 0, .45);
  --ant-border: #f0f0f0;
  --ant-border-strong: #d9d9d9;
  --ant-bg-layout: #f5f5f5;
  --ant-bg-container: #fff;
  --ant-fill-secondary: rgba(0, 0, 0, .04);
  --ant-radius: 8px;
  --ant-radius-lg: 12px;
  --ant-shadow-card: 0 1px 2px -2px rgba(0,0,0,.16), 0 3px 6px 0 rgba(0,0,0,.12), 0 5px 12px 4px rgba(0,0,0,.09);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--ant-bg-layout); }
body {
  min-height: 100vh;
  margin: 0;
  background: var(--ant-bg-layout);
  color: var(--ant-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, input, textarea { font: inherit; }

.pro-global-header {
  position: sticky;
  z-index: 30;
  top: 0;
  height: 56px;
  border-bottom: 1px solid var(--ant-border);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
}
.pro-global-header-inner {
  display: flex;
  width: min(1200px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.pro-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--ant-text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.pro-brand-logo {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  flex: none;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(135deg, #1677ff, #69b1ff);
  box-shadow: 0 4px 12px rgba(22,119,255,.22);
}
.pro-brand-logo::before,
.pro-brand-logo::after {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 2px;
  content: "";
}
.pro-brand-logo::before { transform: translate(-4px,-4px); }
.pro-brand-logo::after { transform: translate(4px,4px); }
.pro-brand-copy { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pro-header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ant-text-secondary);
  font-size: 13px;
}
.pro-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ant-success);
  box-shadow: 0 0 0 3px rgba(82,196,26,.12);
}

.pro-page-container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 calc(40px + env(safe-area-inset-bottom));
}
.pro-breadcrumb {
  display: flex;
  min-width: 0;
  margin: 0 0 16px;
  align-items: center;
  gap: 8px;
  color: var(--ant-text-tertiary);
  font-size: 13px;
}
.pro-breadcrumb a { color: var(--ant-text-secondary); text-decoration: none; }
.pro-breadcrumb a:hover { color: var(--ant-primary); }
.pro-breadcrumb-separator { color: rgba(0,0,0,.25); }
.pro-breadcrumb-current { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pro-card {
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius);
  background: var(--ant-bg-container);
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.release-page-header-card { overflow: hidden; }
.release-hero-grid {
  display: grid;
  padding: 32px;
  grid-template-columns: minmax(0,1fr) 310px;
  gap: 32px;
  align-items: center;
}
.release-product-identity {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 22px;
}
.release-app-icon,
.directory-app-icon {
  display: grid;
  overflow: hidden;
  flex: none;
  place-items: center;
  background: linear-gradient(135deg, #1677ff, #69b1ff);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(22,119,255,.2);
}
.release-app-icon { width: 88px; height: 88px; border-radius: 20px; font-size: 34px; }
.release-app-icon img,
.directory-app-icon img { width: 100%; height: 100%; object-fit: cover; }
.release-product-copy { min-width: 0; }
.release-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ant-tag {
  display: inline-flex;
  min-height: 24px;
  padding: 0 8px;
  align-items: center;
  border: 1px solid #91caff;
  border-radius: 6px;
  background: #e6f4ff;
  color: #0958d9;
  font-size: 12px;
  line-height: 22px;
}
.ant-tag-success { border-color: #b7eb8f; background: #f6ffed; color: #389e0d; }
.ant-tag-warning { border-color: #ffd591; background: #fff7e6; color: #d46b08; }
.release-product-copy h1 {
  margin: 0;
  color: var(--ant-text);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.release-product-copy p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--ant-text-secondary);
  font-size: 14px;
  line-height: 1.75;
}
.release-primary-action {
  padding: 20px;
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius-lg);
  background: #fafafa;
}
.release-action-label { color: var(--ant-text-tertiary); font-size: 12px; }
.release-action-version { display: block; margin: 5px 0 16px; font-size: 22px; font-weight: 600; }
.primary-download {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  background: var(--ant-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(5,145,255,.1);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.primary-download:hover { background: var(--ant-primary-hover); box-shadow: 0 3px 8px rgba(22,119,255,.24); transform: translateY(-1px); }
.primary-download:active { background: var(--ant-primary-active); transform: none; }
.primary-download svg { width: 16px; height: 16px; }
.download-hint { margin: 11px 0 0; color: var(--ant-text-tertiary); font-size: 12px; line-height: 1.55; text-align: center; }
.release-no-version { padding: 16px; border: 1px dashed var(--ant-border-strong); border-radius: 8px; background: #fff; text-align: center; }
.release-no-version strong { font-size: 14px; }
.release-no-version p { margin: 6px 0 0; color: var(--ant-text-tertiary); font-size: 12px; }

.release-statistic-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid var(--ant-border);
  background: #fafafa;
}
.ant-statistic-item { min-width: 0; padding: 20px 32px; border-inline-end: 1px solid var(--ant-border); }
.ant-statistic-item:last-child { border-inline-end: 0; }
.ant-statistic-title { margin-bottom: 6px; color: var(--ant-text-tertiary); font-size: 13px; }
.ant-statistic-value { overflow: hidden; color: var(--ant-text); font-size: 22px; font-weight: 600; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }

.release-content-grid {
  display: grid;
  margin-top: 16px;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 16px;
  align-items: start;
}
.pro-card-head {
  display: flex;
  min-height: 56px;
  padding: 0 24px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--ant-border);
}
.pro-card-title { margin: 0; font-size: 16px; font-weight: 600; }
.pro-card-extra { color: var(--ant-text-tertiary); font-size: 12px; }
.pro-card-body { padding: 24px; }
.release-change-list { display: grid; margin: 0; padding: 0; gap: 16px; list-style: none; }
.release-change-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ant-text-secondary); font-size: 14px; line-height: 1.7; }
.change-index {
  display: grid;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #e6f4ff;
  color: var(--ant-primary);
  font-size: 12px;
  font-weight: 600;
}
.release-side-stack { display: grid; gap: 16px; }
.release-description-list { margin: 0; }
.release-description-row {
  display: grid;
  padding: 10px 0;
  grid-template-columns: 88px minmax(0,1fr);
  gap: 12px;
  border-bottom: 1px solid var(--ant-border);
  font-size: 13px;
}
.release-description-row:first-child { padding-top: 0; }
.release-description-row:last-child { padding-bottom: 0; border-bottom: 0; }
.release-description-row dt { color: var(--ant-text-tertiary); }
.release-description-row dd { margin: 0; color: var(--ant-text); text-align: right; word-break: break-word; }
.release-support-card .pro-card-body { padding: 20px; }
.release-support-icon {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 8px;
  background: #e6f4ff;
  color: var(--ant-primary);
}
.release-support-icon svg { width: 20px; height: 20px; }
.release-support-card h3 { margin: 0 0 7px; font-size: 15px; }
.release-support-card p { margin: 0; color: var(--ant-text-secondary); font-size: 13px; line-height: 1.65; }
.release-support-link {
  display: inline-flex;
  min-height: 36px;
  margin-top: 16px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid #91caff;
  border-radius: 6px;
  background: #fff;
  color: var(--ant-primary);
  font-size: 13px;
  text-decoration: none;
}
.release-support-link:hover { border-color: var(--ant-primary); background: #f0f7ff; }
.release-footer {
  display: flex;
  padding: 24px 0 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ant-text-tertiary);
  font-size: 12px;
}

.directory-heading-card { padding: 28px 32px; }
.directory-heading-card h1 { margin: 6px 0 8px; font-size: 28px; font-weight: 600; }
.directory-heading-card p { margin: 0; color: var(--ant-text-secondary); line-height: 1.7; }
.directory-eyebrow { color: var(--ant-primary); font-size: 12px; font-weight: 600; }
.directory-list { display: grid; margin-top: 16px; gap: 12px; }
.directory-app-card {
  display: flex;
  padding: 20px 24px;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--ant-border);
  border-radius: var(--ant-radius);
  background: #fff;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.directory-app-card:hover { border-color: #91caff; box-shadow: 0 4px 16px rgba(0,0,0,.06); transform: translateY(-1px); }
.directory-app-icon { width: 52px; height: 52px; border-radius: 12px; font-size: 20px; }
.directory-app-main { min-width: 0; flex: 1; }
.directory-app-main strong { font-size: 15px; font-weight: 600; }
.directory-app-main p { margin: 5px 0 8px; overflow: hidden; color: var(--ant-text-secondary); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.directory-app-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--ant-text-tertiary); font-size: 12px; }
.directory-arrow { color: var(--ant-text-tertiary); font-size: 18px; }
.release-empty { padding: 56px 28px; text-align: center; }
.empty-symbol { display: grid; width: 48px; height: 48px; margin: 0 auto; place-items: center; border-radius: 50%; background: #fff2f0; color: var(--ant-danger); font-size: 21px; font-weight: 600; }
.release-empty h1, .release-empty h2 { margin: 16px 0 8px; }
.release-empty p { margin: 0; color: var(--ant-text-secondary); }

@media (max-width: 992px) {
  .release-hero-grid { grid-template-columns: minmax(0,1fr) 280px; gap: 24px; }
  .release-content-grid { grid-template-columns: minmax(0,1fr) 280px; }
}

@media (max-width: 768px) {
  .pro-global-header-inner,
  .pro-page-container { width: calc(100% - 32px); }
  .pro-page-container { padding-top: 16px; }
  .release-hero-grid { padding: 24px; grid-template-columns: 1fr; }
  .release-primary-action { display: grid; grid-template-columns: minmax(0,1fr) minmax(180px,240px); align-items: center; gap: 16px; }
  .release-action-version { margin-bottom: 0; }
  .download-hint { grid-column: 1 / -1; margin-top: -4px; }
  .release-content-grid { grid-template-columns: 1fr; }
  .release-side-stack { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .release-footer { flex-direction: column; align-items: flex-start; gap: 5px; }
}

@media (max-width: 480px) {
  .pro-global-header { height: 52px; }
  .pro-global-header-inner,
  .pro-page-container { width: calc(100% - 24px); }
  .pro-brand { gap: 9px; font-size: 14px; }
  .pro-brand-logo { width: 28px; height: 28px; }
  .pro-header-status { font-size: 0; }
  .pro-breadcrumb { margin-bottom: 12px; font-size: 12px; }
  .release-hero-grid { padding: 20px 16px; }
  .release-product-identity { gap: 14px; }
  .release-app-icon { width: 68px; height: 68px; border-radius: 16px; font-size: 27px; }
  .release-product-copy h1 { font-size: 25px; }
  .release-product-copy p { margin-top: 8px; font-size: 13px; line-height: 1.65; }
  .release-tags { margin-bottom: 9px; }
  .ant-tag { min-height: 22px; font-size: 11px; line-height: 20px; }
  .release-primary-action { padding: 16px; grid-template-columns: 1fr; gap: 12px; }
  .primary-download { min-height: 46px; }
  .release-statistic-row { grid-template-columns: 1fr; }
  .ant-statistic-item { display: flex; padding: 14px 16px; align-items: center; justify-content: space-between; border-inline-end: 0; border-bottom: 1px solid var(--ant-border); }
  .ant-statistic-item:last-child { border-bottom: 0; }
  .ant-statistic-title { margin: 0; }
  .ant-statistic-value { font-size: 17px; }
  .pro-card-head { min-height: 52px; padding: 0 16px; }
  .pro-card-body { padding: 18px 16px; }
  .release-side-stack { grid-template-columns: 1fr; }
  .release-change-list { gap: 14px; }
  .release-change-list li { font-size: 13px; }
  .directory-heading-card { padding: 22px 18px; }
  .directory-heading-card h1 { font-size: 23px; }
  .directory-app-card { padding: 16px; }
  .directory-app-main p { white-space: normal; }
}
