/* ============================================================
   源仓 Store · Showcase 设计层
   在 tokens.css / app.css / home.css 之后加载，
   用 slate + 品牌蓝 + 毛玻璃 + 大圆角重绘全站外观。
   ============================================================ */

/* ---------- 1. 中性色板（覆盖所有主题的表面色） ---------- */
html[data-theme] {
  --md-surface: #ffffff;
  --md-on-surface: #0f172a;
  --md-background: #f8fafc;
  --md-on-background: #0f172a;
  --md-surface-variant: #f1f5f9;
  --md-on-surface-variant: #64748b;
  --md-surface-container-lowest: #ffffff;
  --md-surface-container-low: #f8fafc;
  --md-surface-container: #f1f5f9;
  --md-surface-container-high: #e9eef5;
  --md-surface-container-highest: #e2e8f0;
  --md-outline: #cbd5e1;
  --md-outline-variant: #e2e8f0;
  --md-inverse-surface: #0f172a;
  --md-inverse-on-surface: #f8fafc;

  --shape-xs: 10px;
  --shape-sm: 14px;
  --shape-md: 18px;
  --shape-lg: 22px;
  --shape-xl: 28px;

  --elev-1: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .05);
  --elev-2: 0 4px 12px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --elev-3: 0 10px 30px rgba(15, 23, 42, .09), 0 2px 6px rgba(15, 23, 42, .05);
  --elev-4: 0 20px 50px rgba(15, 23, 42, .14);

  --max-content: 1200px;
}

html[data-theme][data-dark="true"] {
  --md-surface: #0f172a;
  --md-on-surface: #f1f5f9;
  --md-background: #020617;
  --md-on-background: #f1f5f9;
  --md-surface-variant: #1e293b;
  --md-on-surface-variant: #94a3b8;
  --md-surface-container-lowest: #0b1220;
  --md-surface-container-low: #0f172a;
  --md-surface-container: #172033;
  --md-surface-container-high: #1e293b;
  --md-surface-container-highest: #273449;
  --md-outline: #475569;
  --md-outline-variant: #26334a;
  --md-inverse-surface: #f1f5f9;
  --md-inverse-on-surface: #0f172a;

  --elev-1: 0 1px 2px rgba(0, 0, 0, .4);
  --elev-2: 0 6px 18px rgba(0, 0, 0, .45);
  --elev-3: 0 16px 40px rgba(0, 0, 0, .5);
  --elev-4: 0 24px 60px rgba(0, 0, 0, .55);
}

/* 默认主题「源仓蓝」：品牌蓝 + 深色底 */
html[data-theme="azure"] {
  --md-primary: #2563eb;
  --md-on-primary: #ffffff;
  --md-primary-container: #dbeafe;
  --md-on-primary-container: #1e3a8a;
  --md-secondary: #3b82f6;
  --md-on-secondary: #ffffff;
  --md-secondary-container: #dbeafe;
  --md-on-secondary-container: #1e3a8a;
  --md-tertiary: #7c3aed;
  --md-on-tertiary: #ffffff;
  --md-tertiary-container: #ede9fe;
  --md-on-tertiary-container: #4c1d95;
  --md-error: #dc2626;
  --md-on-error: #ffffff;
  --md-error-container: #fee2e2;
  --md-on-error-container: #7f1d1d;
  --md-inverse-primary: #93c5fd;
}
html[data-theme="azure"][data-dark="true"] {
  --md-primary: #60a5fa;
  --md-on-primary: #06264d;
  --md-primary-container: #1e3a8a;
  --md-on-primary-container: #dbeafe;
  --md-secondary: #93c5fd;
  --md-on-secondary: #0b2b52;
  --md-secondary-container: #1e3a8a;
  --md-on-secondary-container: #dbeafe;
  --md-tertiary: #c4b5fd;
  --md-on-tertiary: #2e1065;
  --md-tertiary-container: #4c1d95;
  --md-on-tertiary-container: #ede9fe;
  --md-error: #f87171;
  --md-on-error: #450a0a;
  --md-error-container: #7f1d1d;
  --md-on-error-container: #fee2e2;
  --md-inverse-primary: #2563eb;
}

/* ---------- 2. 基础 ---------- */
body {
  background: var(--md-background);
  color: var(--md-on-surface);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -.005em;
}
::selection { background: color-mix(in srgb, var(--md-primary) 24%, transparent); }
a { color: var(--md-primary); }
:focus-visible { outline: 2px solid var(--md-primary); outline-offset: 2px; }

html[data-style] body {
  transition: background-color .3s ease, color .3s ease;
}

/* ---------- 3. 顶栏 ---------- */
.m3-topbar {
  background: color-mix(in srgb, var(--md-surface) 72%, transparent);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--md-outline-variant);
  box-shadow: none;
}
.m3-topbar.scrolled { box-shadow: var(--elev-2); }
.topbar-inner { height: 66px; gap: 14px; padding: 0 22px; }

.brand { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; gap: 10px; }
.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--md-primary) 32%, transparent);
}
.brand .brand-version {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--md-primary);
  background: color-mix(in srgb, var(--md-primary) 12%, transparent);
}

.top-nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.top-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--md-on-surface-variant);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.top-nav a:hover { background: var(--md-surface-container); color: var(--md-on-surface); }
.top-nav a.active { background: color-mix(in srgb, var(--md-primary) 12%, transparent); color: var(--md-primary); }

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--md-on-surface-variant);
  background: var(--md-surface-container);
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.icon-btn:hover { background: var(--md-surface-container-high); color: var(--md-on-surface); }
.icon-btn:active { transform: scale(.96); }
.icon-btn svg { width: 19px; height: 19px; fill: currentColor; }

.topbar-avatar .avatar { width: 38px; height: 38px; border-radius: 999px; }

/* ---------- 4. 按钮 ---------- */
.m3-btn {
  height: 42px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: background .18s ease, box-shadow .18s ease, color .18s ease, transform .12s ease;
}
.m3-btn:active { transform: scale(.98); }
.m3-btn.sm { height: 34px; padding: 0 14px; font-size: .8rem; border-radius: 12px; }
.m3-btn.filled {
  background: var(--md-primary);
  color: var(--md-on-primary);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--md-primary) 26%, transparent);
}
.m3-btn.filled:hover {
  background: color-mix(in srgb, var(--md-primary) 88%, #000);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--md-primary) 32%, transparent);
  filter: none;
}
.m3-btn.tonal {
  background: color-mix(in srgb, var(--md-primary) 12%, transparent);
  color: var(--md-primary);
}
.m3-btn.tonal:hover { background: color-mix(in srgb, var(--md-primary) 18%, transparent); }
.m3-btn.outlined { border: 1px solid var(--md-outline); color: var(--md-on-surface); background: var(--md-surface); }
.m3-btn.outlined:hover { border-color: var(--md-primary); color: var(--md-primary); }
.m3-btn.text { color: var(--md-primary); padding: 0 14px; }
.m3-btn.text:hover { background: color-mix(in srgb, var(--md-primary) 10%, transparent); }

/* ---------- 5. 卡片 / 面板 ---------- */
.m3-card {
  background: var(--md-surface);
  border: 1px solid var(--md-outline-variant);
  border-radius: var(--shape-xl);
  box-shadow: var(--elev-1);
}
.m3-card.hoverable:hover {
  box-shadow: var(--elev-3);
  border-color: color-mix(in srgb, var(--md-primary) 35%, var(--md-outline-variant));
  transform: translateY(-3px);
}
.glass-card {
  background: color-mix(in srgb, var(--md-surface) 72%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--md-outline-variant);
  border-radius: var(--shape-xl);
}

/* 表单 */
.m3-field { gap: 8px; }
.m3-field-label { font-size: .8rem; font-weight: 600; color: var(--md-on-surface); }
.m3-field input, .m3-field select, .m3-field textarea, .m3-input {
  background: var(--md-surface-container);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 15px;
  font-size: .9rem;
  color: var(--md-on-surface);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.m3-field input:hover, .m3-field select:hover, .m3-field textarea:hover, .m3-input:hover {
  border-color: var(--md-outline-variant);
}
.m3-field input:focus, .m3-field select:focus, .m3-field textarea:focus, .m3-input:focus {
  background: var(--md-surface);
  border-color: var(--md-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--md-primary) 14%, transparent);
}
.m3-field .hint, .m3-field-help { color: var(--md-on-surface-variant); }

/* 胶囊 / 徽章 */
.m3-chip {
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--md-outline-variant);
  background: var(--md-surface);
  font-size: .8rem;
  font-weight: 600;
}
.m3-chip:hover { background: var(--md-surface-container); }
.m3-chip.active {
  background: var(--md-primary);
  color: var(--md-on-primary);
  border-color: transparent;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--md-primary) 25%, transparent);
}
.badge {
  border-radius: 999px;
  padding: 3px 10px;
  font-size: .68rem;
  font-weight: 700;
}

/* 提示 */
.m3-alert { border-radius: 16px; border: 1px solid transparent; }

/* 页面标题 */
.m3-headline { letter-spacing: -.03em; font-weight: 800; }
.m3-title { letter-spacing: -.02em; font-weight: 700; }
.m3-body-medium { color: var(--md-on-surface-variant); }

/* 空状态 */
.empty-state {
  padding: 64px 24px;
  border-radius: var(--shape-xl);
  background: var(--md-surface-container);
  border: 1px dashed var(--md-outline-variant);
}

/* ---------- 6. 首页 ---------- */
.yc-wrap {
  width: min(var(--max-content), calc(100% - 44px));
  margin: 0 auto;
}
.yc-main { padding: 26px 0 72px; }

.yc-hero {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 90% at 12% 10%, rgba(37, 99, 235, .55), transparent 60%),
    radial-gradient(ellipse 55% 80% at 88% 0%, rgba(124, 58, 237, .45), transparent 62%),
    linear-gradient(135deg, #0b1220 0%, #111d33 48%, #1a1030 100%);
  box-shadow: var(--elev-4);
  isolation: isolate;
}
.yc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 70%);
}
.yc-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 36px;
  align-items: center;
  padding: 44px 44px 40px;
}
.yc-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #e0edff;
  background: rgba(96, 165, 250, .18);
  border: 1px solid rgba(147, 197, 253, .35);
  backdrop-filter: blur(8px);
}
.yc-badge i, .yc-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 10px #60a5fa;
}
.yc-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.yc-hero h1 .grad {
  background: linear-gradient(96deg, #93c5fd, #c4b5fd 55%, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.yc-hero p.yc-lead {
  margin: 16px 0 0;
  max-width: 54ch;
  color: #c7d4e6;
  font-size: .98rem;
  line-height: 1.75;
}
.yc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.yc-btn-light, .yc-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, background .18s ease, box-shadow .18s ease;
}
.yc-btn-light {
  background: #fff;
  color: #0b1220;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}
.yc-btn-light:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.yc-btn-ghost {
  color: #e8efff;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
}
.yc-btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.yc-btn-light svg, .yc-btn-ghost svg { width: 18px; height: 18px; fill: currentColor; }

.yc-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.yc-hero-tags span {
  font-size: .72rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  color: #cbd9ee;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
}

.yc-hero-card {
  position: relative;
  align-self: center;
  justify-self: center;
  width: min(260px, 100%);
  padding: 22px;
  border-radius: 26px;
  text-align: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.yc-hero-card img {
  width: 92px;
  height: 92px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
}
.yc-hero-card strong { display: block; margin-top: 14px; font-size: 1rem; letter-spacing: -.01em; }
.yc-hero-card span { display: block; margin-top: 4px; font-size: .74rem; color: #9fb0c9; }

/* 数据条 */
.yc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.yc-stat {
  padding: 18px 20px;
  border-radius: 22px;
  background: var(--md-surface);
  border: 1px solid var(--md-outline-variant);
  box-shadow: var(--elev-1);
}
.yc-stat b { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
.yc-stat span { display: block; margin-top: 3px; font-size: .74rem; font-weight: 600; color: var(--md-on-surface-variant); }

/* 区块 */
.yc-section { margin-top: 46px; }
.yc-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.yc-kicker {
  margin: 0 0 6px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--md-primary);
}
.yc-section-head h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
}
.yc-section-head p { margin: 6px 0 0; font-size: .85rem; color: var(--md-on-surface-variant); }

.yc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }

.yc-card {
  padding: 24px;
  border-radius: 26px;
  background: var(--md-surface);
  border: 1px solid var(--md-outline-variant);
  box-shadow: var(--elev-1);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.yc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--elev-3);
  border-color: color-mix(in srgb, var(--md-primary) 30%, var(--md-outline-variant));
}
.yc-card .yc-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--md-primary);
  background: color-mix(in srgb, var(--md-primary) 12%, transparent);
}
.yc-card .yc-card-icon.accent {
  color: var(--md-tertiary);
  background: color-mix(in srgb, var(--md-tertiary) 12%, transparent);
}
.yc-card .yc-card-icon svg { width: 22px; height: 22px; fill: currentColor; }
.yc-card h3 { margin: 16px 0 8px; font-size: 1.02rem; font-weight: 700; letter-spacing: -.02em; }
.yc-card p { margin: 0 0 10px; font-size: .86rem; line-height: 1.75; color: var(--md-on-surface-variant); }
.yc-card ul.yc-list { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.yc-card ul.yc-list li {
  position: relative;
  padding-left: 18px;
  font-size: .85rem;
  line-height: 1.65;
  color: var(--md-on-surface-variant);
}
.yc-card ul.yc-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--md-primary);
}

/* 项目卡 */
.yc-project {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 24px;
  background: var(--md-surface);
  border: 1px solid var(--md-outline-variant);
  box-shadow: var(--elev-1);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.yc-project:hover {
  transform: translateY(-3px);
  box-shadow: var(--elev-3);
  border-color: color-mix(in srgb, var(--md-primary) 40%, var(--md-outline-variant));
}
.yc-project .icon {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--md-primary);
  background: color-mix(in srgb, var(--md-primary) 12%, transparent);
}
.yc-project .icon svg { width: 22px; height: 22px; fill: currentColor; }
.yc-project .body { min-width: 0; flex: 1; }
.yc-project strong { display: block; font-size: .96rem; font-weight: 700; letter-spacing: -.01em; }
.yc-project span.sub { display: block; margin-top: 3px; font-size: .78rem; color: var(--md-on-surface-variant); }
.yc-project .arrow { color: var(--md-on-surface-variant); font-weight: 700; }
.yc-project.muted { opacity: .72; }

/* 联系卡 */
.yc-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 50% 120% at 100% 0%, color-mix(in srgb, var(--md-primary) 14%, transparent), transparent 70%),
    var(--md-surface);
  border: 1px solid var(--md-outline-variant);
}
.yc-contact h2 { margin: 0; font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; }
.yc-contact p { margin: 8px 0 0; font-size: .86rem; color: var(--md-on-surface-variant); }
.yc-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.yc-contact-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--md-on-surface);
  background: var(--md-surface-container);
  border: 1px solid var(--md-outline-variant);
  transition: border-color .18s ease, color .18s ease;
}
.yc-contact-actions a:hover { border-color: var(--md-primary); color: var(--md-primary); }

/* ---------- 7. 页脚 ---------- */
.site-footer {
  background: var(--md-surface-container-low);
  border-top: 1px solid var(--md-outline-variant);
}
.footer-brand { justify-content: center; }
.footer-tagline { color: var(--md-on-surface-variant); }
.footer-version {
  font-size: .68rem;
  font-weight: 700;
  color: var(--md-primary);
  background: color-mix(in srgb, var(--md-primary) 10%, transparent);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ---------- 8. 响应式 ---------- */
@media (max-width: 980px) {
  .yc-hero-inner { grid-template-columns: 1fr; padding: 34px 28px 30px; }
  .yc-hero-card { justify-self: start; width: min(240px, 100%); }
  .yc-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .topbar-inner { height: 60px; padding: 0 16px; gap: 10px; }
  .yc-wrap { width: calc(100% - 28px); }
  .yc-hero { border-radius: 24px; }
  .yc-hero-inner { padding: 26px 20px 24px; gap: 24px; }
  .yc-hero p.yc-lead { font-size: .9rem; }
  .yc-stats { gap: 10px; }
  .yc-stat { padding: 14px 16px; }
  .yc-stat b { font-size: 1.15rem; }
  .yc-grid { grid-template-columns: 1fr; }
  .yc-contact { padding: 24px 20px; }
  .m3-btn { height: 40px; }
}
@media (max-width: 420px) {
  .yc-stats { grid-template-columns: 1fr 1fr; }
  .yc-hero-actions .yc-btn-light, .yc-hero-actions .yc-btn-ghost { flex: 1; justify-content: center; }
}

/* 降级：不支持 backdrop-filter 时用不透明底 */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .m3-topbar, .glass-card, .yc-hero-card, .yc-badge { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .m3-topbar { background: var(--md-surface); }
}

/* ---------- 9. 认证 / 表单 / 表格 ---------- */
.auth-wrap { padding: 40px 16px 64px; background: transparent !important; }
.auth-card {
  border-radius: 30px;
  padding: 42px 34px;
  background: var(--md-surface);
  border: 1px solid var(--md-outline-variant);
  box-shadow: var(--elev-3);
}
.logo-badge {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, .32);
  font-weight: 800;
}
.auth-card .m3-alert { text-align: center; }
.auth-alt a { font-weight: 700; }

.form-card {
  padding: 28px;
  border-radius: 26px;
  background: var(--md-surface);
}
.form-card .m3-field-label { font-weight: 600; }
.section-title { margin-bottom: 20px; }
.section-title h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.03em; }

.table-wrap {
  border-radius: 22px;
  border: 1px solid var(--md-outline-variant);
  background: var(--md-surface);
  box-shadow: var(--elev-1);
}
.m3-table th { background: var(--md-surface-container-low); font-weight: 700; letter-spacing: .02em; }
.m3-table td { border-bottom: 1px solid var(--md-outline-variant); }

/* 详情页细节 */
.plugin-hero-info {
  border-radius: 28px;
  background: var(--md-surface);
  border: 1px solid var(--md-outline-variant);
  box-shadow: var(--elev-2);
}
.plugin-hero-cover { border-radius: 28px; border: 1px solid var(--md-outline-variant); box-shadow: var(--elev-2); }
.plugin-hero-title-row h1 { letter-spacing: -.03em; font-weight: 800; }
.hero-stat {
  border-radius: 16px;
  background: var(--md-surface-container);
  padding: 12px 14px;
}
.detail-section { padding: 26px; border-radius: 26px; background: var(--md-surface); }
.info-card { padding: 24px; border-radius: 24px; background: var(--md-surface); }
.release-row { border-radius: 16px; }

/* 统计卡 */
.stat-card { border-radius: 22px; background: var(--md-surface); border: 1px solid var(--md-outline-variant); }

/* ---------- 10. 移动端导航修正 ---------- */
.brand { white-space: nowrap; }
@media (max-width: 900px) {
  .top-nav { display: none; }
  .mobile-menu-btn, .icon-btn.mobile-menu-btn { display: grid; }
  .brand { font-size: .98rem; gap: 8px; }
  .brand .brand-version { display: none; }
  .topbar-inner { gap: 8px; }
  .m3-topbar .icon-btn, .m3-topbar .m3-btn.sm { flex: none; }
}

/* ---------- 11. 后台配色对齐 ---------- */
.adm-focus {
  border-radius: 30px;
  background:
    radial-gradient(ellipse 46% 70% at 86% 6%, rgba(96, 165, 250, .30), transparent 62%),
    radial-gradient(ellipse 40% 60% at 4% 110%, rgba(124, 58, 237, .35), transparent 70%),
    linear-gradient(128deg, #0b1220 0%, #16224a 52%, #1d4ed8 100%);
  box-shadow: 0 26px 54px -34px rgba(29, 78, 216, .65);
}
.adm-focus.has-pending {
  background:
    radial-gradient(ellipse 46% 70% at 86% 6%, rgba(251, 191, 36, .28), transparent 62%),
    linear-gradient(128deg, #1a1206 0%, #4a2c07 50%, #b45309 100%);
  box-shadow: 0 26px 54px -34px rgba(180, 83, 9, .6);
}
.admin-sidebar { border-radius: 0 28px 28px 0; }
.adm-shortcut, .adm-stat, .admin-panel, .adm-card { border-radius: 22px; }

/* ---------- 12. 个人资料 / 文件选择 ---------- */
.yc-narrow { width: min(720px, 100%); margin: 0 auto; }
.m3-field input[type="file"] { padding: 10px 12px; background: var(--md-surface-container); }
.m3-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--md-primary) 12%, transparent);
  color: var(--md-primary);
  font-weight: 600;
  font-size: .82rem;
  cursor: pointer;
}
.m3-field input[type="file"]::file-selector-button:hover {
  background: color-mix(in srgb, var(--md-primary) 20%, transparent);
}

/* ---------- 13. 客户端下载 / 截图 / 更新记录 ---------- */
.yc-app {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.yc-app-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, color-mix(in srgb, var(--md-primary) 12%, transparent), transparent 70%),
    var(--md-surface);
  border: 1px solid var(--md-outline-variant);
  box-shadow: var(--elev-1);
}
.yc-app-brand { display: flex; align-items: center; gap: 14px; }
.yc-app-brand img {
  width: 64px; height: 64px;
  border-radius: 20px;
  box-shadow: 0 12px 26px color-mix(in srgb, var(--md-primary) 22%, transparent);
}
.yc-app-name { min-width: 0; }
.yc-app-name strong { display: block; font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; }
.yc-app-name span { display: block; margin-top: 3px; font-size: .78rem; color: var(--md-on-surface-variant); }
.yc-app-os {
  margin-left: auto;
  flex: none;
  font-size: .66rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--md-primary);
  background: color-mix(in srgb, var(--md-primary) 12%, transparent);
}
.yc-app-desc {
  margin: 16px 0 0;
  font-size: .86rem;
  line-height: 1.72;
  color: var(--md-on-surface-variant);
}
.yc-app-points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.yc-app-points li {
  position: relative;
  padding-left: 24px;
  font-size: .84rem;
  color: var(--md-on-surface);
}
.yc-app-points li::before {
  content: "✓";
  position: absolute;
  left: 1px; top: -1px;
  font-size: .8rem;
  font-weight: 800;
  color: var(--md-primary);
}
.yc-app-actions { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.yc-app-actions .m3-btn svg { width: 17px; height: 17px; fill: currentColor; }
.yc-app-note { margin: 12px 0 0; font-size: .72rem; color: var(--md-on-surface-variant); }

/* 截图条 */
.yc-shots {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid var(--md-outline-variant);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--md-primary) 6%, transparent), transparent 55%),
    var(--md-surface-container-low);
  overflow: hidden;
}
.yc-shots-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.yc-shots-track::-webkit-scrollbar { display: none; }
.yc-shot {
  margin: 0;
  flex: 0 0 auto;
  width: 196px;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #000;
  border: 1px solid var(--md-outline-variant);
  box-shadow: var(--elev-2);
  transition: transform .2s ease;
}
.yc-shot:hover { transform: translateY(-4px); }
.yc-shot img { display: block; width: 100%; height: auto; }
.yc-shots-hint {
  align-self: flex-end;
  margin-top: 8px;
  font-size: .66rem;
  font-weight: 600;
  color: var(--md-on-surface-variant);
  background: color-mix(in srgb, var(--md-surface) 82%, transparent);
  padding: 3px 8px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* 更新记录 */
.yc-changelog {
  margin-top: 16px;
  padding: 24px 26px;
  border-radius: 26px;
  background: var(--md-surface);
  border: 1px solid var(--md-outline-variant);
  box-shadow: var(--elev-1);
}
.yc-changelog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.yc-changelog h3 {
  margin: 6px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.yc-chip-version {
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--md-primary);
  background: color-mix(in srgb, var(--md-primary) 12%, transparent);
}
.yc-changelog-date { font-size: .74rem; font-weight: 600; color: var(--md-on-surface-variant); white-space: nowrap; }
.yc-changelog-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.yc-changelog-list li {
  position: relative;
  padding-left: 24px;
  font-size: .86rem;
  line-height: 1.66;
  color: var(--md-on-surface-variant);
}
.yc-changelog-list li::before {
  content: "";
  position: absolute;
  left: 3px; top: .55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--md-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--md-primary) 14%, transparent);
}
.yc-changelog-empty { margin: 16px 0 0; font-size: .84rem; color: var(--md-on-surface-variant); }

@media (max-width: 980px) {
  .yc-app { grid-template-columns: 1fr; }
  .yc-shot { width: 168px; }
  .yc-shots { padding: 14px; }
}
@media (max-width: 480px) {
  .yc-app-card { padding: 22px 20px; }
  .yc-changelog { padding: 20px; }
  .yc-shot { width: 150px; }
}

/* ---------- 新版页脚 ---------- */
.yc-footer {
  margin: 56px 0 0;
  border-top: 1px solid var(--md-outline-variant);
  background: var(--md-surface-container-low);
}
.yc-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 20px 22px;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.yc-footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-width: 220px;
}
.yc-footer-logo img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: block;
}
.yc-footer-brand strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}
.yc-footer-brand p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--md-on-surface-variant);
}
.yc-footer-cols {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.yc-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 96px;
}
.yc-footer-col h4 {
  margin: 0 0 2px;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--md-on-surface-variant);
  font-weight: 700;
}
.yc-footer-col a {
  font-size: 12.5px;
  color: var(--md-on-surface);
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.15s, color 0.15s;
}
.yc-footer-col a:hover {
  opacity: 1;
  color: var(--md-primary);
}
.yc-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px 22px;
  border-top: 1px solid var(--md-outline-variant);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--md-on-surface-variant);
}
@media (max-width: 720px) {
  .yc-footer-inner { gap: 24px; padding-top: 26px; }
  .yc-footer-cols { gap: 24px; width: 100%; }
  .yc-footer-col { min-width: 88px; }
}

/* ---------- 页脚（居中版） ---------- */
.yc-footer {
  margin-top: 56px;
  border-top: 1px solid var(--md-outline-variant);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(37, 99, 235, 0.06), transparent 60%),
    var(--md-surface-container-low);
  text-align: center;
}
.yc-footer-center {
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.yc-footer-mark img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: block;
  box-shadow: 0 10px 26px -12px rgba(37, 99, 235, 0.55);
}
.yc-footer-name {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
}
.yc-footer-slogan {
  margin: 5px 0 0;
  font-size: 12.5px;
  color: var(--md-on-surface-variant);
}
.yc-footer-nav {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}
.yc-footer-nav a {
  font-size: 12.5px;
  color: var(--md-on-surface);
  opacity: 0.75;
  text-decoration: none;
  transition: opacity 0.15s, color 0.15s;
}
.yc-footer-nav a:hover {
  opacity: 1;
  color: var(--md-primary);
}
.yc-footer-friends {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  font-size: 11.5px;
}
.yc-footer-friends-label {
  color: var(--md-on-surface-variant);
}
.yc-footer-friends a {
  color: var(--md-on-surface);
  opacity: 0.7;
  text-decoration: none;
}
.yc-footer-friends a:hover {
  opacity: 1;
  color: var(--md-primary);
}
.yc-footer-bottom {
  padding: 14px 20px 24px;
  border-top: 1px solid var(--md-outline-variant);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  color: var(--md-on-surface-variant);
}
.yc-footer-dot {
  opacity: 0.4;
}

/* ---------- 首页 v2 ---------- */
.hp-wrap { max-width: 1200px; margin: 0 auto; padding: 22px 18px 0; }
.hp-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 28px;
  align-items: center;
  padding: 40px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 85% 10%, rgba(139, 92, 246, 0.35), transparent 55%),
    radial-gradient(80% 120% at 10% 0%, rgba(37, 99, 235, 0.4), transparent 60%),
    linear-gradient(140deg, #0b1220, #131a2e 55%, #1b1430);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 30px 80px -40px rgba(2, 6, 23, 0.75);
}
.hp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.18;
  pointer-events: none;
}
.hp-hero-inner { position: relative; z-index: 1; }
.hp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.35);
  background: rgba(30, 58, 138, 0.35);
  color: #bfdbfe;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
}
.hp-dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22); }
.hp-title {
  margin: 18px 0 0;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -1px;
  color: #f8fafc;
}
.hp-grad {
  background: linear-gradient(100deg, #93c5fd, #c4b5fd 55%, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hp-lead {
  margin: 14px 0 0;
  max-width: 44ch;
  color: rgba(226, 232, 240, 0.78);
  font-size: 13.5px;
  line-height: 1.8;
}
.hp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.hp-btn:active { transform: scale(0.97); }
.hp-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hp-btn.primary { background: linear-gradient(135deg, #3b82f6, #8b5cf6); color: #fff; box-shadow: 0 14px 30px -14px rgba(59, 130, 246, 0.9); }
.hp-btn.ghost { background: var(--md-surface-container-low); color: var(--md-on-surface); border: 1px solid var(--md-outline-variant); }
.hp-hero .hp-btn.ghost { background: rgba(255, 255, 255, 0.06); color: #e2e8f0; border-color: rgba(148, 163, 184, 0.32); }
.hp-btn.small { padding: 9px 14px; font-size: 12px; border-radius: 11px; }
.hp-btn.disabled { opacity: 0.6; cursor: default; }
.hp-hero-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hp-mini {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.18);
  text-decoration: none;
}
.hp-mini b { color: #f8fafc; font-size: 15px; }
.hp-mini span { color: rgba(203, 213, 225, 0.7); font-size: 10.5px; }

.hp-hero-visual { position: relative; z-index: 1; display: flex; justify-content: center; }
.hp-avatar-card {
  width: 210px;
  padding: 22px 18px;
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px -30px rgba(2, 6, 23, 0.9);
}
.hp-avatar-card img { width: 96px; height: 96px; border-radius: 24px; object-fit: cover; display: block; margin: 0 auto; }
.hp-avatar-card strong { display: block; margin-top: 12px; color: #f8fafc; font-size: 15px; }
.hp-avatar-card span { display: block; margin-top: 3px; color: rgba(203, 213, 225, 0.7); font-size: 10.5px; }
.hp-float {
  position: absolute;
  padding: 7px 11px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(6px);
}
.hp-float-a { left: -6px; top: 18px; }
.hp-float-b { right: -4px; bottom: 22px; color: #a5b4fc; }

.hp-section { margin-top: 34px; }
.hp-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hp-kicker { margin: 0 0 4px; font-size: 10px; letter-spacing: 1.4px; font-weight: 800; color: var(--md-primary); text-transform: uppercase; }
.hp-section-head h2 { margin: 0; font-size: 22px; font-weight: 900; letter-spacing: -0.4px; }
.hp-text-link { font-size: 12px; color: var(--md-primary); text-decoration: none; font-weight: 700; }
.hp-pill { font-size: 10.5px; padding: 5px 10px; border-radius: 999px; background: var(--md-surface-container-low); border: 1px solid var(--md-outline-variant); color: var(--md-on-surface-variant); }

.hp-app-card {
  border-radius: 22px;
  border: 1px solid var(--md-outline-variant);
  background: var(--md-surface);
  padding: 20px;
  box-shadow: 0 20px 50px -34px rgba(2, 6, 23, 0.5);
}
.hp-app-top { display: flex; align-items: center; gap: 14px; }
.hp-app-icon { width: 58px; height: 58px; border-radius: 16px; }
.hp-app-info { flex: 1; min-width: 0; }
.hp-app-name { font-size: 16px; font-weight: 800; }
.hp-app-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; font-size: 11px; color: var(--md-on-surface-variant); }
.hp-changelog { margin: 14px 0 0; padding: 12px 14px; list-style: none; border-radius: 14px; background: var(--md-surface-container-low); }
.hp-changelog li { font-size: 12px; line-height: 1.9; color: var(--md-on-surface-variant); padding-left: 14px; position: relative; }
.hp-changelog li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 5px; height: 5px; border-radius: 50%; background: var(--md-primary); opacity: 0.7; }
.hp-shots { display: flex; gap: 10px; overflow-x: auto; margin-top: 14px; padding-bottom: 4px; }
.hp-shots img { height: 190px; border-radius: 12px; border: 1px solid var(--md-outline-variant); flex: none; }

.hp-rom-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hp-rom-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--md-outline-variant);
  background: var(--md-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.hp-rom-card:hover { border-color: var(--md-primary); transform: translateY(-1px); }
.hp-rom-name { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-rom-ver { margin-top: 5px; font-family: ui-monospace, monospace; font-size: 11px; color: var(--md-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-rom-meta { display: flex; gap: 8px; margin-top: 5px; font-size: 10px; color: var(--md-on-surface-variant); }

.hp-project-grid { display: grid; gap: 10px; }
.hp-project {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--md-outline-variant);
  background: var(--md-surface);
  text-decoration: none;
  color: inherit;
}
.hp-project-icon {
  width: 40px; height: 40px; flex: none;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(59,130,246,.16), rgba(139,92,246,.14));
  color: var(--md-primary);
}
.hp-project-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hp-project-body { flex: 1; min-width: 0; }
.hp-project-body strong { display: block; font-size: 13.5px; font-weight: 800; }
.hp-project-body span { display: block; margin-top: 2px; font-size: 10.5px; color: var(--md-on-surface-variant); }
.hp-project-arrow { color: var(--md-on-surface-variant); font-size: 16px; }

.hp-about { padding: 18px; border-radius: 18px; border: 1px solid var(--md-outline-variant); background: var(--md-surface); }
.hp-about p { margin: 0 0 10px; font-size: 13px; line-height: 1.9; color: var(--md-on-surface-variant); }
.hp-about-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.hp-about-tags span { font-size: 10.5px; padding: 5px 10px; border-radius: 999px; background: var(--md-surface-container-low); border: 1px solid var(--md-outline-variant); color: var(--md-on-surface-variant); }

.hp-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--md-outline-variant);
  background: linear-gradient(135deg, rgba(59,130,246,.1), rgba(139,92,246,.08));
}
.hp-contact h2 { margin: 0 0 4px; font-size: 20px; font-weight: 900; }
.hp-contact p { margin: 0; font-size: 12px; color: var(--md-on-surface-variant); }

@media (max-width: 980px) {
  .hp-hero { grid-template-columns: 1fr; padding: 28px 22px; }
  .hp-hero-visual { display: none; }
  .hp-title { font-size: 30px; }
  .hp-wrap { padding: 14px 14px 0; }
  .hp-section { margin-top: 26px; }
  .hp-rom-grid { grid-template-columns: 1fr; }
}

/* ---------- 首页紧凑版（整体缩小） ---------- */
.hp-wrap { max-width: 1060px; padding: 16px 16px 0; }
.hp-hero { padding: 28px; gap: 22px; border-radius: 22px; }
.hp-badge { padding: 6px 11px; font-size: 9.5px; letter-spacing: 0.5px; }
.hp-title { margin-top: 14px; font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -0.6px; }
.hp-lead { margin-top: 10px; font-size: 12.5px; line-height: 1.75; max-width: 40ch; }
.hp-cta { margin-top: 16px; gap: 8px; }
.hp-btn { padding: 9px 15px; font-size: 12px; border-radius: 11px; }
.hp-btn.small { padding: 7px 12px; font-size: 11px; }
.hp-hero-stats { margin-top: 16px; gap: 6px; }
.hp-mini { padding: 6px 10px; border-radius: 10px; }
.hp-mini b { font-size: 13px; }
.hp-mini span { font-size: 9.5px; }
.hp-avatar-card { width: 168px; padding: 16px; border-radius: 18px; }
.hp-avatar-card img { width: 74px; height: 74px; border-radius: 18px; }
.hp-avatar-card strong { font-size: 13px; margin-top: 9px; }
.hp-avatar-card span { font-size: 9.5px; }
.hp-float { font-size: 9px; padding: 5px 8px; }

.hp-section { margin-top: 24px; }
.hp-section-head { margin-bottom: 10px; }
.hp-kicker { font-size: 9px; letter-spacing: 1.1px; margin-bottom: 3px; }
.hp-section-head h2 { font-size: 17px; letter-spacing: -0.3px; }
.hp-text-link { font-size: 11px; }
.hp-pill { font-size: 9.5px; padding: 4px 8px; }

.hp-app-card { padding: 15px; border-radius: 18px; }
.hp-app-top { gap: 12px; }
.hp-app-icon { width: 46px; height: 46px; border-radius: 13px; }
.hp-app-name { font-size: 14px; }
.hp-app-meta { font-size: 10px; gap: 7px; margin-top: 3px; }
.hp-changelog { margin-top: 10px; padding: 9px 12px; border-radius: 11px; }
.hp-changelog li { font-size: 11px; line-height: 1.8; }
.hp-shots { margin-top: 10px; gap: 8px; }
.hp-shots img { height: 140px; border-radius: 10px; }

.hp-rom-grid { gap: 8px; }
.hp-rom-card { padding: 11px; border-radius: 13px; }
.hp-rom-name { font-size: 12px; }
.hp-rom-ver { font-size: 10px; margin-top: 4px; }
.hp-rom-meta { font-size: 9.5px; margin-top: 4px; }

.hp-project-grid { gap: 8px; }
.hp-project { padding: 11px; gap: 10px; border-radius: 13px; }
.hp-project-icon { width: 34px; height: 34px; border-radius: 10px; }
.hp-project-icon svg { width: 16px; height: 16px; }
.hp-project-body strong { font-size: 12.5px; }
.hp-project-body span { font-size: 9.5px; }

.hp-about { padding: 14px; border-radius: 15px; }
.hp-about p { font-size: 12px; line-height: 1.85; margin-bottom: 8px; }
.hp-about-tags span { font-size: 9.5px; padding: 4px 9px; }

.hp-contact { padding: 16px; border-radius: 16px; }
.hp-contact h2 { font-size: 17px; }
.hp-contact p { font-size: 11px; }

@media (max-width: 860px) {
  .hp-wrap { padding: 12px 12px 0; }
  .hp-hero { padding: 20px; border-radius: 18px; }
  .hp-title { font-size: 25px; }
  .hp-lead { font-size: 12px; }
  .hp-section { margin-top: 20px; }
  .hp-rom-grid { grid-template-columns: 1fr; }
}

/* Hero 头像卡内信息行 */
.hp-avatar-meta { display: block; margin-top: 8px; font-style: normal; font-size: 9.5px; color: rgba(165, 180, 252, 0.9); letter-spacing: 0.2px; }

/* 平板宽度：Hero 内容居中，避免右侧空白 */
@media (min-width: 701px) and (max-width: 980px) {
  .hp-hero { text-align: center; }
  .hp-hero-inner { max-width: 560px; margin: 0 auto; }
  .hp-lead { margin-left: auto; margin-right: auto; }
  .hp-cta, .hp-hero-stats { justify-content: center; }
}

/* 桌面端 App 卡：信息在左，截图在右，避免大片空白 */
@media (min-width: 861px) {
  .hp-app-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 26px;
    align-items: start;
  }
  .hp-app-top { grid-column: 1; }
  .hp-changelog { grid-column: 1; }
  .hp-shots { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; max-width: 440px; }
  .hp-shots img { height: 168px; }
}

/* ---------- 首页 v3：编辑式排版 ---------- */
.hm { max-width: 1120px; margin: 0 auto; padding: 26px 22px 10px; }

.hm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
  padding: 18px 0 42px;
  border-bottom: 1px solid var(--md-outline-variant);
}
.hm-eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--md-on-surface-variant);
}
.hm-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -1.6px;
  font-weight: 900;
  color: var(--md-on-surface);
}
.hm-hero h1 span {
  background: linear-gradient(100deg, #2563eb, #7c3aed 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hm-lead {
  margin: 16px 0 0;
  max-width: 42ch;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--md-on-surface-variant);
}
.hm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.hm-btn:active { transform: scale(.98); }
.hm-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hm-btn.solid { background: var(--md-on-surface); color: var(--md-surface); }
.hm-btn.solid:hover { box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .6); }
.hm-btn.line { background: transparent; color: var(--md-on-surface); border-color: var(--md-outline-variant); }
.hm-btn.line:hover { background: var(--md-surface-container-low); }
.hm-btn.sm { padding: 9px 14px; font-size: 12px; border-radius: 10px; }
.hm-btn.is-disabled { color: var(--md-on-surface-variant); border-color: var(--md-outline-variant); }

.hm-facts { display: flex; gap: 30px; margin: 28px 0 0; padding: 0; }
.hm-facts div { display: flex; flex-direction: column-reverse; gap: 3px; }
.hm-facts dd { margin: 0; font-size: 24px; font-weight: 900; letter-spacing: -0.6px; color: var(--md-on-surface); }
.hm-facts dt { font-size: 10.5px; letter-spacing: .4px; color: var(--md-on-surface-variant); }
.hm-facts div + div { padding-left: 30px; border-left: 1px solid var(--md-outline-variant); }

.hm-hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 280px; }
.hm-blob {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, .28), rgba(124, 58, 237, .18) 45%, transparent 70%);
  filter: blur(6px);
}
.hm-art-card {
  position: relative;
  width: 220px;
  padding: 26px 20px;
  border-radius: 26px;
  text-align: center;
  background: var(--md-surface);
  border: 1px solid var(--md-outline-variant);
  box-shadow: 0 24px 60px -30px rgba(15, 23, 42, .45);
  transform: rotate(-2deg);
}
.hm-art-card img { width: 108px; height: 108px; border-radius: 26px; object-fit: cover; display: block; margin: 0 auto; }
.hm-art-name { margin-top: 12px; font-size: 14px; font-weight: 800; }
.hm-art-sub { margin-top: 2px; font-size: 10px; color: var(--md-on-surface-variant); }
.hm-art-chip {
  position: absolute;
  font-size: 10px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--md-surface);
  border: 1px solid var(--md-outline-variant);
  color: var(--md-on-surface-variant);
  box-shadow: 0 8px 20px -12px rgba(15, 23, 42, .4);
}
.hm-chip-1 { top: 22px; right: 6%; transform: rotate(3deg); }
.hm-chip-2 { bottom: 30px; left: 6%; transform: rotate(-3deg); }

.hm-section { padding: 34px 0 0; }
.hm-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.hm-index { font-size: 11px; font-weight: 800; color: var(--md-on-surface-variant); letter-spacing: 1px; }
.hm-head h2 { margin: 0; font-size: 20px; font-weight: 900; letter-spacing: -0.4px; }
.hm-note { margin-left: auto; font-size: 10.5px; color: var(--md-on-surface-variant); }
.hm-more { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--md-primary); text-decoration: none; }

.hm-app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--md-outline-variant);
  background: var(--md-surface);
}
.hm-app-main { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hm-app-id { display: flex; align-items: center; gap: 13px; }
.hm-app-id img { width: 52px; height: 52px; border-radius: 14px; }
.hm-app-id b { display: block; font-size: 15px; font-weight: 800; }
.hm-app-id span { display: block; margin-top: 3px; font-size: 11px; color: var(--md-on-surface-variant); }
.hm-log { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.hm-log li { position: relative; padding-left: 13px; font-size: 12px; line-height: 1.7; color: var(--md-on-surface-variant); }
.hm-log li::before { content: ""; position: absolute; left: 0; top: .72em; width: 4px; height: 4px; border-radius: 50%; background: var(--md-primary); }
.hm-shots { display: flex; gap: 10px; align-items: flex-start; }
.hm-shots img { height: 176px; border-radius: 12px; border: 1px solid var(--md-outline-variant); flex: none; }

.hm-list { border-top: 1px solid var(--md-outline-variant); }
.hm-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 13px 4px;
  border-bottom: 1px solid var(--md-outline-variant);
  text-decoration: none;
  color: inherit;
  transition: background .15s ease, padding .15s ease;
}
.hm-row:hover { background: var(--md-surface-container-low); padding-left: 10px; padding-right: 10px; }
.hm-row-name { font-size: 13.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-row-ver { font-family: ui-monospace, monospace; font-size: 11.5px; color: var(--md-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-row-meta { font-size: 10.5px; color: var(--md-on-surface-variant); white-space: nowrap; }
.hm-row-arrow { color: var(--md-on-surface-variant); font-size: 13px; }

.hm-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hm-tile {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--md-outline-variant);
  background: var(--md-surface);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .15s ease, transform .15s ease;
}
.hm-tile:hover { border-color: var(--md-primary); transform: translateY(-2px); }
.hm-tile-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--md-surface-container-low); color: var(--md-primary); margin-bottom: 6px; }
.hm-tile-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-tile b { font-size: 13.5px; font-weight: 800; }
.hm-tile > span:last-child { font-size: 11px; color: var(--md-on-surface-variant); line-height: 1.6; }

.hm-about-body { max-width: 62ch; }
.hm-about-body p { margin: 0 0 10px; font-size: 13px; line-height: 1.95; color: var(--md-on-surface-variant); }
.hm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hm-tags span { font-size: 10.5px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--md-outline-variant); color: var(--md-on-surface-variant); }

.hm-contact {
  margin: 40px 0 10px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--md-outline-variant);
  background: var(--md-surface-container-low);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.hm-contact b { display: block; font-size: 14px; font-weight: 800; }
.hm-contact span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--md-on-surface-variant); }

@media (max-width: 900px) {
  .hm { padding: 18px 16px 8px; }
  .hm-hero { grid-template-columns: 1fr; gap: 26px; padding-bottom: 30px; }
  .hm-hero-art { order: -1; min-height: 210px; }
  .hm-art-card { width: 180px; padding: 18px; }
  .hm-art-card img { width: 84px; height: 84px; border-radius: 20px; }
  .hm-hero h1 { font-size: 32px; letter-spacing: -1px; }
  .hm-facts { gap: 18px; margin-top: 20px; }
  .hm-facts dd { font-size: 19px; }
  .hm-facts div + div { padding-left: 18px; }
  .hm-app { grid-template-columns: 1fr; padding: 16px; }
  .hm-shots img { height: 150px; }
  .hm-tiles { grid-template-columns: 1fr; }
  .hm-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 3px; }
  .hm-row-name { grid-column: 1; grid-row: 1; }
  .hm-row-ver { grid-column: 1; grid-row: 2; }
  .hm-row-meta { grid-column: 1; grid-row: 3; }
  .hm-row-arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; justify-self: end; }
}

/* ---------- App 下载页 ---------- */
.dl { max-width: 1080px; margin: 0 auto; padding: 24px 22px 10px; }

.dl-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: center;
  padding: 40px 36px;
  border-radius: 28px;
  overflow: hidden;
  color: #f8fafc;
  background:
    radial-gradient(80% 120% at 85% 10%, rgba(139, 92, 246, .45), transparent 60%),
    radial-gradient(70% 100% at 5% 0%, rgba(37, 99, 235, .5), transparent 60%),
    linear-gradient(140deg, #0b1220, #141b31 60%, #1c1633);
}
.dl-hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -60px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, .35), transparent 65%);
  filter: blur(10px);
}
.dl-hero-body { position: relative; z-index: 1; }
.dl-app-mark img { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8); }
.dl-hero h1 { margin: 16px 0 0; font-size: clamp(30px, 4.4vw, 44px); font-weight: 900; letter-spacing: -1px; }
.dl-tagline { margin: 8px 0 0; font-size: 13px; color: rgba(226, 232, 240, .75); }
.dl-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.dl-chips span {
  font-size: 10.5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .3);
  background: rgba(255, 255, 255, .06);
  color: rgba(226, 232, 240, .85);
}
.dl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.dl-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dl-btn.primary { background: #fff; color: #0f172a; }
.dl-btn.ghost { background: rgba(255, 255, 255, .08); color: #e2e8f0; border-color: rgba(148, 163, 184, .35); }
.dl-btn.is-disabled { opacity: .65; cursor: default; }
.dl-meta { margin-top: 12px; font-size: 10.5px; color: rgba(148, 163, 184, .8); }
.dl-cta .dl-btn.ghost { background: var(--md-surface); color: var(--md-on-surface); border-color: var(--md-outline-variant); }

.dl-hero-shots { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-end; min-height: 300px; }
.dl-phone {
  width: 190px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .3);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  background: #0f172a;
  position: relative;
}
.dl-phone img { display: block; width: 100%; height: auto; }
.dl-phone.back {
  position: absolute;
  right: 0;
  bottom: -18px;
  width: 150px;
  transform: rotate(6deg);
  opacity: .92;
}
.dl-phone.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 300px;
  color: rgba(226, 232, 240, .7);
  font-size: 11px;
}
.dl-phone.placeholder img { width: 72px; height: 72px; border-radius: 18px; }

.dl-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.dl-feature {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--md-outline-variant);
  background: var(--md-surface);
}
.dl-feature-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--md-surface-container-low);
  color: var(--md-primary);
  margin-bottom: 8px;
}
.dl-feature-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dl-feature b { font-size: 12.5px; }
.dl-feature p { margin: 4px 0 0; font-size: 10.5px; line-height: 1.7; color: var(--md-on-surface-variant); }

.dl-section { margin-top: 34px; }
.dl-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.dl-head h2 { margin: 0; font-size: 19px; font-weight: 900; letter-spacing: -.4px; }
.dl-head span { font-size: 11px; color: var(--md-on-surface-variant); }
.dl-log { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--md-outline-variant); }
.dl-log li { position: relative; display: flex; gap: 12px; padding: 0 0 16px 18px; font-size: 12.5px; line-height: 1.8; color: var(--md-on-surface-variant); }
.dl-dot { position: absolute; left: -4.5px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--md-primary); box-shadow: 0 0 0 3px var(--md-surface); }
.dl-empty { font-size: 12px; color: var(--md-on-surface-variant); }

.dl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dl-steps > div { padding: 16px; border-radius: 16px; border: 1px solid var(--md-outline-variant); background: var(--md-surface); }
.dl-steps span { font-size: 10px; font-weight: 800; letter-spacing: 1px; color: var(--md-primary); }
.dl-steps b { display: block; margin-top: 6px; font-size: 13px; }
.dl-steps p { margin: 5px 0 0; font-size: 11px; line-height: 1.7; color: var(--md-on-surface-variant); }

.dl-cta {
  margin-top: 34px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--md-outline-variant);
  background: var(--md-surface-container-low);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.dl-cta b { display: block; font-size: 14px; }
.dl-cta span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--md-on-surface-variant); }

@media (max-width: 900px) {
  .dl { padding: 16px 14px 8px; }
  .dl-hero { grid-template-columns: 1fr; padding: 26px 22px; text-align: left; }
  .dl-hero-shots { min-height: 240px; justify-content: flex-start; }
  .dl-phone { width: 160px; }
  .dl-phone.back { right: auto; left: 130px; width: 120px; bottom: -10px; }
  .dl-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-steps { grid-template-columns: 1fr; }
}

/* ---------- App 下载页（浅色编辑版，与首页一致） ---------- */
.dl-hero {
  color: var(--md-on-surface);
  background:
    radial-gradient(70% 120% at 90% 10%, rgba(124, 58, 237, .10), transparent 60%),
    radial-gradient(60% 100% at 5% 0%, rgba(37, 99, 235, .08), transparent 60%),
    var(--md-surface);
  border: 1px solid var(--md-outline-variant);
  box-shadow: 0 24px 60px -40px rgba(15, 23, 42, .25);
}
.dl-hero-glow { display: none; }
.dl-app-mark img { box-shadow: 0 16px 40px -20px rgba(37, 99, 235, .6); }
.dl-hero h1 { color: var(--md-on-surface); }
.dl-hero h1::after {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
}
.dl-tagline { color: var(--md-on-surface-variant); }
.dl-chips span {
  background: var(--md-surface-container-low);
  border-color: var(--md-outline-variant);
  color: var(--md-on-surface-variant);
}
.dl-btn.primary { background: var(--md-on-surface); color: var(--md-surface); }
.dl-btn.ghost { background: transparent; color: var(--md-on-surface); border-color: var(--md-outline-variant); }
.dl-btn.ghost:hover { background: var(--md-surface-container-low); }
.dl-meta { color: var(--md-on-surface-variant); }
.dl-phone {
  background: var(--md-surface);
  border-color: var(--md-outline-variant);
  box-shadow: 0 28px 60px -34px rgba(15, 23, 42, .35);
}
.dl-phone.placeholder { color: var(--md-on-surface-variant); }

/* ---------- 首页 App 区块 v2 ---------- */
.hm-app2 {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 26px;
  align-items: center;
  padding: 30px 30px;
  border-radius: 24px;
  border: 1px solid var(--md-outline-variant);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(124, 58, 237, .10), transparent 60%),
    radial-gradient(50% 110% at 0% 100%, rgba(37, 99, 235, .08), transparent 60%),
    var(--md-surface);
  overflow: hidden;
}
.hm-app2-head { display: flex; align-items: center; gap: 14px; }
.hm-app2-head img { width: 58px; height: 58px; border-radius: 16px; box-shadow: 0 14px 30px -16px rgba(37, 99, 235, .65); }
.hm-app2-head b { display: block; font-size: 15px; font-weight: 800; }
.hm-app2-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.hm-app2-chips span {
  font-size: 9.5px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--md-outline-variant);
  color: var(--md-on-surface-variant);
  background: var(--md-surface-container-low);
}
.hm-app2-title {
  margin: 20px 0 0;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.8px;
  color: var(--md-on-surface);
}
.hm-app2-sub { margin: 10px 0 0; max-width: 40ch; font-size: 12.5px; line-height: 1.85; color: var(--md-on-surface-variant); }
.hm-app2-feats { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.hm-app2-feats li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--md-on-surface); }
.hm-app2-feats li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}
.hm-app2-actions { display: flex; align-items: center; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.hm-app2-more { font-size: 12px; font-weight: 700; color: var(--md-primary); text-decoration: none; }

.hm-app2-shots { position: relative; display: flex; justify-content: center; align-items: center; min-height: 260px; }
.hm-app2-shots img {
  position: absolute;
  width: 132px;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--md-outline-variant);
  box-shadow: 0 26px 50px -26px rgba(15, 23, 42, .5);
  background: var(--md-surface);
}
.hm-app2-shots .shot-0 { transform: rotate(-7deg) translate(-64px, 6px); z-index: 1; }
.hm-app2-shots .shot-1 { transform: rotate(0deg) translate(0px, -6px); z-index: 3; }
.hm-app2-shots .shot-2 { transform: rotate(7deg) translate(64px, 6px); z-index: 2; }

@media (max-width: 900px) {
  .hm-app2 { grid-template-columns: 1fr; padding: 20px; gap: 18px; }
  .hm-app2-shots { min-height: 0; justify-content: flex-start; gap: 8px; overflow: hidden; padding-bottom: 0; }
  .hm-app2-shots img { position: static; width: calc(50% - 4px); height: 240px; object-fit: cover; object-position: top center; transform: none !important; flex: none; }
  .hm-app2-shots img.shot-2 { display: none; }
  .hm-app2-title { margin-top: 16px; font-size: 24px; }
}
