/* AIVE site-wide design system v2 · isolated candidate */
:root {
  --v2-bg: #06101a;
  --v2-bg-soft: #0a1420;
  --v2-panel: #0d1827;
  --v2-panel-strong: #111e2f;
  --v2-panel-muted: #09131f;
  --v2-line: #203044;
  --v2-line-strong: #315168;
  --v2-text: #f4f7fa;
  --v2-muted: #a4b0bd;
  --v2-dim: #728397;
  --v2-accent: #65d9ff;
  --v2-accent-soft: rgba(101, 217, 255, .10);
  --v2-success: #6ee7b7;
  --v2-warning: #f4c76a;
  --v2-danger: #fb8b8b;
  --v2-shadow: 0 22px 60px rgba(0, 0, 0, .24);
  --v2-font: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

html { scroll-padding-top: 80px; overflow-x: hidden; }
body.aive-v2 {
  min-height: 100vh;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  color: var(--v2-text) !important;
  background: var(--v2-bg) !important;
  font-family: var(--v2-font) !important;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.aive-v2::before,
body.aive-v2::after { display: none !important; }
body.aive-v2 *, body.aive-v2 *::before, body.aive-v2 *::after { box-sizing: border-box; }
body.aive-v2 a { text-underline-offset: 3px; }
body.aive-v2 button,
body.aive-v2 input,
body.aive-v2 textarea,
body.aive-v2 select { font-family: inherit !important; }
body.aive-v2.menu-open { overflow: hidden !important; }

/* Shared site header */
.aive-site-header {
  position: fixed !important;
  inset: 0 0 auto !important;
  z-index: 1000 !important;
  width: 100% !important;
  min-height: 72px;
  border-bottom: 1px solid rgba(143, 168, 190, .14) !important;
  background: rgba(4, 10, 17, .92) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px);
}
.aive-site-nav {
  width: min(1220px, calc(100% - 40px)) !important;
  height: 72px !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
}
.aive-site-nav .nav-logo {
  min-width: 166px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: var(--v2-text) !important;
  text-decoration: none !important;
}
.aive-site-nav .nav-logo-img {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  box-shadow: none !important;
  filter: none !important;
}
.aive-site-nav .nav-brand-text {
  min-width: 0;
  display: grid !important;
  gap: 2px !important;
  line-height: 1.05 !important;
}
.aive-site-nav .nav-brand-text strong {
  color: var(--v2-text) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
}
.aive-site-nav .nav-brand-text small {
  color: var(--v2-dim) !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
  white-space: nowrap;
}
.aive-site-nav .nav-menu {
  min-width: 0;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  list-style: none !important;
}
.aive-site-nav .nav-menu > li { margin: 0 !important; padding: 0 !important; }
.aive-site-nav .nav-menu > li > a {
  min-height: 38px;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--v2-muted) !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: inset 0 -1px transparent;
}
.aive-site-nav .nav-menu > li > a:hover,
.aive-site-nav .nav-menu > li > a.active {
  color: var(--v2-text) !important;
  background: transparent !important;
  box-shadow: inset 0 -1px var(--v2-accent);
}
.aive-site-nav .nav-right {
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.aive-site-nav .nav-cta {
  min-height: 36px !important;
  padding: 0 11px !important;
  border: 1px solid var(--v2-line) !important;
  border-radius: 9px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  color: var(--v2-muted) !important;
  background: transparent !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.aive-site-nav .nav-cta:hover { color: var(--v2-text) !important; border-color: var(--v2-line-strong) !important; transform: none !important; }
.aive-site-nav .nav-mobile-toggle {
  display: none !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
}
.aive-site-nav .nav-mobile-toggle span {
  width: 22px !important;
  height: 2px !important;
  border-radius: 2px !important;
  display: block !important;
  background: var(--v2-text) !important;
  transition: transform .18s ease, opacity .18s ease;
}
.aive-site-nav .nav-mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.aive-site-nav .nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.aive-site-nav .nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Shared site footer */
.aive-site-footer {
  width: 100%;
  margin: 0 !important;
  padding: 60px 0 28px !important;
  border-top: 1px solid var(--v2-line) !important;
  color: var(--v2-muted) !important;
  background: var(--v2-bg-soft) !important;
}
.aive-site-footer .aive-footer-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.aive-site-footer .footer-inner {
  display: grid !important;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(130px, .65fr)) !important;
  gap: 46px !important;
}
.aive-site-footer .footer-brand-area p { max-width: 430px; margin: 18px 0 0 !important; color: var(--v2-muted) !important; font-size: 13px !important; line-height: 1.8 !important; }
.aive-site-footer .yh-footer-brand { display: inline-flex !important; align-items: center !important; gap: 10px !important; color: var(--v2-text) !important; font-size: 16px !important; text-decoration: none !important; }
.aive-site-footer .footer-logo { width: 34px !important; height: 34px !important; border-radius: 0 !important; object-fit: contain !important; }
.aive-site-footer .footer-col { display: grid !important; align-content: start !important; gap: 10px !important; text-align: left !important; }
.aive-site-footer .footer-col h4 { margin: 0 0 7px !important; color: var(--v2-text) !important; font-size: 13px !important; font-weight: 700 !important; }
.aive-site-footer .footer-col a { color: var(--v2-muted) !important; font-size: 12px !important; line-height: 1.55 !important; text-decoration: none !important; }
.aive-site-footer .footer-col a:hover { color: var(--v2-accent) !important; }
.aive-site-footer .footer-bottom {
  width: 100% !important;
  margin: 34px 0 0 !important;
  padding: 22px 0 0 !important;
  border-top: 1px solid var(--v2-line) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px 18px !important;
  color: var(--v2-dim) !important;
  font-size: 12px !important;
  text-align: center !important;
}
.aive-site-footer .footer-bottom a { display: inline-flex !important; align-items: center !important; gap: 6px !important; color: var(--v2-dim) !important; text-decoration: none !important; }
.aive-site-footer .beian-icon { width: 15px !important; height: 15px !important; opacity: .78; }

/* Shared typography and controls */
body.aive-v2 h1,
body.aive-v2 h2,
body.aive-v2 h3,
body.aive-v2 h4 { font-family: var(--v2-font) !important; font-style: normal !important; }
body.aive-v2 input,
body.aive-v2 textarea,
body.aive-v2 select {
  border: 1px solid var(--v2-line) !important;
  border-radius: 9px !important;
  color: var(--v2-text) !important;
  background: var(--v2-panel-muted) !important;
  box-shadow: none !important;
}
body.aive-v2 input:focus,
body.aive-v2 textarea:focus,
body.aive-v2 select:focus {
  border-color: var(--v2-line-strong) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px var(--v2-accent-soft) !important;
}
body.aive-v2 input::placeholder,
body.aive-v2 textarea::placeholder { color: var(--v2-dim) !important; }

/* Homepage: preserve editorial layout, align scale and language */
.aive-surface-home .aive-abc-hero { background: #07111d !important; }
.aive-surface-home .aive-abc-hero .hero-title {
  max-width: 700px !important;
  color: #fff !important;
  font-size: clamp(50px, 4.6vw, 66px) !important;
  line-height: 1 !important;
  letter-spacing: -.045em !important;
}
.aive-surface-home .aive-abc-hero .hero-subtitle { color: #b7c3cf !important; }
.aive-surface-home .aive-abc-hero .btn-primary {
  border-color: #fff !important;
  border-radius: 10px !important;
  color: #07111d !important;
  background: #fff !important;
}
.aive-surface-home .aive-abc-hero .btn-outline { border-radius: 10px !important; }
.aive-surface-home .aive-abc-heading h2,
.aive-surface-home .aive-workspace-heading h2 { letter-spacing: -.045em !important; }

/* Standard page shells */
.aive-surface-tools .tools-page,
.aive-surface-blog .blog-page,
.aive-surface-wechat .mp-page,
.aive-surface-account .page {
  width: min(1100px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 132px 0 88px !important;
}
.aive-surface-tools .tools-page > h1,
.aive-surface-blog .blog-page > h1,
.aive-surface-wechat .mp-page > h1,
.aive-surface-account .page-header h1 {
  margin: 0 0 12px !important;
  color: var(--v2-text) !important;
  font-size: clamp(42px, 4.2vw, 56px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
  text-align: left !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}
.aive-surface-tools .tools-page > .subtitle,
.aive-surface-blog .blog-page > .subtitle,
.aive-surface-wechat .mp-page > .subtitle,
.aive-surface-account .page-header p {
  max-width: 700px !important;
  margin: 0 0 38px !important;
  color: var(--v2-muted) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  text-align: left !important;
}

/* Tools */
.aive-surface-tools .category-tabs {
  margin: 0 0 28px !important;
  padding: 0 0 14px !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  border-bottom: 1px solid var(--v2-line);
}
.aive-surface-tools .category-tab {
  min-height: 38px;
  padding: 0 13px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: var(--v2-muted) !important;
  background: transparent !important;
  box-shadow: none !important;
}
.aive-surface-tools .category-tab:hover,
.aive-surface-tools .category-tab.active {
  color: var(--v2-text) !important;
  border-color: var(--v2-line-strong) !important;
  background: var(--v2-accent-soft) !important;
}
.aive-surface-tools .tools-grid-page { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 14px !important; }
.aive-surface-tools .tool-item {
  min-width: 0;
  padding: 22px !important;
  border: 1px solid var(--v2-line) !important;
  border-radius: 12px !important;
  color: var(--v2-text) !important;
  background: var(--v2-panel) !important;
  box-shadow: none !important;
}
.aive-surface-tools .tool-item:hover { border-color: var(--v2-line-strong) !important; transform: translateY(-2px) !important; box-shadow: var(--v2-shadow) !important; }
.aive-surface-tools .tool-item h3 { color: var(--v2-text) !important; font-size: 16px !important; }
.aive-surface-tools .tool-item .tool-desc { color: var(--v2-muted) !important; line-height: 1.65 !important; }
.aive-surface-tools .tool-item .tool-meta span { border-color: var(--v2-line) !important; color: var(--v2-muted) !important; background: var(--v2-panel-muted) !important; }
.aive-surface-tools .tool-item .tool-link { color: var(--v2-accent) !important; }
.aive-surface-tools .tool-item .price { color: var(--v2-success) !important; }

/* Blog index */
.aive-surface-blog .blog-stats { margin: -24px 0 30px !important; color: var(--v2-dim) !important; text-align: left !important; }
.aive-surface-blog .blog-filters { margin: 0 0 16px !important; justify-content: flex-start !important; gap: 7px !important; }
.aive-surface-blog .blog-filters .filter-btn,
.aive-surface-blog .blog-pagination .page-btn {
  border: 1px solid var(--v2-line) !important;
  border-radius: 8px !important;
  color: var(--v2-muted) !important;
  background: transparent !important;
  box-shadow: none !important;
}
.aive-surface-blog .blog-filters .filter-btn:hover,
.aive-surface-blog .blog-filters .filter-btn.active,
.aive-surface-blog .blog-pagination .page-btn:hover,
.aive-surface-blog .blog-pagination .page-btn.active {
  border-color: var(--v2-line-strong) !important;
  color: var(--v2-text) !important;
  background: var(--v2-accent-soft) !important;
}
.aive-surface-blog .blog-search { max-width: 520px !important; margin: 0 0 30px !important; }
.aive-surface-blog .blog-search input { min-height: 44px; border-radius: 9px !important; }
.aive-surface-blog .blog-search .search-icon { color: var(--v2-dim) !important; }
.aive-surface-blog .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 14px !important; }
.aive-surface-blog .blog-card {
  min-width: 0;
  padding: 24px !important;
  border: 1px solid var(--v2-line) !important;
  border-radius: 12px !important;
  background: var(--v2-panel) !important;
  box-shadow: none !important;
}
.aive-surface-blog .blog-card:hover { border-color: var(--v2-line-strong) !important; transform: translateY(-2px) !important; box-shadow: var(--v2-shadow) !important; }
.aive-surface-blog .blog-card h2 { color: var(--v2-text) !important; line-height: 1.52 !important; }
.aive-surface-blog .blog-card p,
.aive-surface-blog .blog-card .meta { color: var(--v2-muted) !important; }
.aive-surface-blog .blog-card .tag { border: 1px solid var(--v2-line) !important; color: var(--v2-accent) !important; background: var(--v2-accent-soft) !important; }
.aive-surface-blog .blog-card .read-more { color: var(--v2-accent) !important; }

/* WeChat service */
.aive-surface-wechat .mp-page { width: min(980px, calc(100% - 48px)) !important; }
.aive-surface-wechat .mp-header,
.aive-surface-wechat .mp-service-card,
.aive-surface-wechat .article-item,
.aive-surface-wechat .tip-box {
  border: 1px solid var(--v2-line) !important;
  border-radius: 12px !important;
  color: var(--v2-text) !important;
  background: var(--v2-panel) !important;
  box-shadow: none !important;
}
.aive-surface-wechat .mp-header { padding: 28px !important; }
.aive-surface-wechat .mp-info h2,
.aive-surface-wechat .mp-section-title,
.aive-surface-wechat .mp-service-card strong,
.aive-surface-wechat .article-item .art-title { color: var(--v2-text) !important; }
.aive-surface-wechat .mp-info .account,
.aive-surface-wechat .mp-info .desc,
.aive-surface-wechat .mp-service-card span,
.aive-surface-wechat .tip-box { color: var(--v2-muted) !important; }
.aive-surface-wechat .article-item:hover { border-color: var(--v2-line-strong) !important; transform: translateY(-1px); }

/* Image generator: preserve the approved form, converge shell and type */
.aive-surface-image { --img-bg: var(--v2-bg); --img-panel: var(--v2-panel); --img-panel-strong: var(--v2-panel-strong); --img-border: var(--v2-line); --img-border-strong: var(--v2-line-strong); --img-text: var(--v2-text); --img-muted: var(--v2-muted); --img-soft: var(--v2-dim); --img-accent: var(--v2-accent); }
.aive-surface-image .page {
  width: min(1100px, calc(100% - 48px)) !important;
  margin-inline: auto !important;
}
.aive-surface-image .hero h1 { font-family: var(--v2-font) !important; letter-spacing: -.035em !important; }
.aive-surface-image .tool-panel,
.aive-surface-image .credits-bar,
.aive-surface-image .model-intro,
.aive-surface-image .result-card,
.aive-surface-image .history-item { border-radius: 12px !important; box-shadow: none !important; }

/* Authentication */
body.aive-v2.aive-auth-page {
  color: var(--v2-text) !important;
  background: var(--v2-bg) !important;
}
body.aive-v2.aive-auth-page::before { display: none !important; }
.aive-surface-auth .container {
  width: min(100% - 36px, 520px) !important;
  max-width: 520px !important;
  margin: 0 auto !important;
  padding: 132px 0 76px !important;
}
.aive-surface-auth .card {
  padding: 36px 30px 30px !important;
  border: 1px solid var(--v2-line) !important;
  border-radius: 14px !important;
  color: var(--v2-text) !important;
  background: var(--v2-panel) !important;
  box-shadow: var(--v2-shadow) !important;
  backdrop-filter: none !important;
}
.aive-surface-auth .card::before { height: 1px !important; background: var(--v2-accent) !important; }
.aive-surface-auth .card::after { display: none !important; }
.aive-surface-auth .logo img { border-radius: 10px !important; box-shadow: none !important; }
.aive-surface-auth .logo h1 {
  margin-top: 14px !important;
  color: var(--v2-text) !important;
  font-size: 27px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -.025em !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}
.aive-surface-auth .logo::after { color: var(--v2-dim) !important; letter-spacing: .08em !important; }
.aive-surface-auth .tabs {
  padding: 4px !important;
  border: 1px solid var(--v2-line) !important;
  border-radius: 10px !important;
  background: var(--v2-panel-muted) !important;
}
.aive-surface-auth .tab { border-radius: 7px !important; color: var(--v2-muted) !important; }
.aive-surface-auth .tab.active { color: var(--v2-text) !important; background: var(--v2-accent-soft) !important; box-shadow: inset 0 0 0 1px var(--v2-line-strong) !important; }
.aive-surface-auth .form-group label { color: var(--v2-muted) !important; }
.aive-surface-auth .btn-submit {
  border: 1px solid #fff !important;
  border-radius: 9px !important;
  color: #06101a !important;
  background: #fff !important;
  box-shadow: none !important;
}
.aive-surface-auth .footer-links,
.aive-surface-auth .back-link { color: var(--v2-muted) !important; }
.aive-surface-auth .footer-links a,
.aive-surface-auth .form a,
.aive-surface-auth .back-link:hover { color: var(--v2-accent) !important; }

/* Account */
.aive-surface-account .page { width: min(1000px, calc(100% - 48px)) !important; }
.aive-surface-account .info-grid { gap: 14px !important; }
.aive-surface-account .info-card,
.aive-surface-account .record-item,
.aive-surface-account .tabs {
  border: 1px solid var(--v2-line) !important;
  border-radius: 12px !important;
  color: var(--v2-text) !important;
  background: var(--v2-panel) !important;
}
.aive-surface-account .info-card .card-icon,
.aive-surface-account .record-icon { border-radius: 9px !important; color: var(--v2-accent) !important; background: var(--v2-accent-soft) !important; }
.aive-surface-account .card-label,
.aive-surface-account .card-note,
.aive-surface-account .record-info .detail,
.aive-surface-account .record-info .time { color: var(--v2-muted) !important; }
.aive-surface-account .tab { border-radius: 8px !important; color: var(--v2-muted) !important; }
.aive-surface-account .tab.active { color: var(--v2-text) !important; background: var(--v2-accent-soft) !important; box-shadow: inset 0 0 0 1px var(--v2-line-strong) !important; }

/* Articles, legal and media surfaces */
.aive-surface-article .article-page,
.aive-surface-article > .container,
.aive-surface-article .article-wrap,
.aive-surface-article .article,
.aive-surface-legal > .back,
.aive-surface-legal > h1,
.aive-surface-legal > h2,
.aive-surface-legal > p,
.aive-surface-legal > ul {
  width: min(820px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.aive-surface-article .article-page,
.aive-surface-article > .container,
.aive-surface-article .article-wrap,
.aive-surface-article .article { padding: 132px 0 84px !important; }
.aive-surface-article > .container > header {
  margin: 0 0 30px !important;
  padding: 0 0 28px !important;
  border-bottom: 1px solid var(--v2-line) !important;
  background: transparent !important;
}
.aive-surface-article > .container > header .logo { display: none !important; }
.aive-surface-article .article-page h1,
.aive-surface-article > .container h1,
.aive-surface-article .article-wrap h1,
.aive-surface-article .article h1 {
  margin: 0 0 18px !important;
  color: var(--v2-text) !important;
  font-size: clamp(36px, 4.4vw, 50px) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: -.035em !important;
}
.aive-surface-article .meta,
.aive-surface-article .article-page .meta { color: var(--v2-dim) !important; }
.aive-surface-article .article-page h2,
.aive-surface-article > .container h2,
.aive-surface-article .article-wrap h2,
.aive-surface-article .article h2 {
  margin: 48px 0 18px !important;
  padding: 0 0 11px !important;
  border-bottom: 1px solid var(--v2-line) !important;
  color: var(--v2-text) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}
.aive-surface-article .article-page h3,
.aive-surface-article > .container h3,
.aive-surface-article > .container h4,
.aive-surface-article .article-wrap h3,
.aive-surface-article .article-wrap h4,
.aive-surface-article .article h3,
.aive-surface-article .article h4 { color: var(--v2-text) !important; }
.aive-surface-article .article-page p,
.aive-surface-article .article-page li,
.aive-surface-article > .container p,
.aive-surface-article > .container li,
.aive-surface-article .article-wrap p,
.aive-surface-article .article-wrap li,
.aive-surface-article .article p,
.aive-surface-article .article li {
  color: var(--v2-muted) !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
}
.aive-surface-article .highlight-box,
.aive-surface-article .evidence-box,
.aive-surface-article .tip-box,
.aive-surface-article .step-box,
.aive-surface-article .summary-box,
.aive-surface-article .cta-box,
.aive-surface-article .box,
.aive-surface-article .tool-card,
.aive-surface-article .lead {
  border: 1px solid var(--v2-line) !important;
  border-left: 3px solid var(--v2-accent) !important;
  border-radius: 8px !important;
  color: var(--v2-text) !important;
  background: var(--v2-panel) !important;
  box-shadow: none !important;
}
.aive-surface-article table { border-collapse: collapse !important; }
.aive-surface-article th,
.aive-surface-article td { border-color: var(--v2-line) !important; color: var(--v2-muted) !important; background: var(--v2-panel) !important; }
.aive-surface-article pre,
.aive-surface-article code { border-radius: 6px !important; color: var(--v2-text) !important; background: var(--v2-panel-muted) !important; }
.aive-surface-article .back-link,
.aive-surface-article .back,
.aive-surface-article a { color: var(--v2-accent) !important; }
.aive-surface-article .tool-tag { border: 1px solid var(--v2-line) !important; color: var(--v2-accent) !important; background: var(--v2-accent-soft) !important; }
.aive-surface-article .tag,
.aive-surface-article .tag-free,
.aive-surface-article .tag-paid { border: 1px solid var(--v2-line) !important; color: var(--v2-accent) !important; background: var(--v2-accent-soft) !important; }
.aive-surface-article blockquote { border-left-color: var(--v2-accent) !important; color: var(--v2-muted) !important; }
body.aive-v2.aive-surface-legal { padding-top: 132px !important; }
.aive-surface-legal > .back { display: block !important; margin-bottom: 28px !important; color: var(--v2-accent) !important; }
.aive-surface-legal > h1 { margin-top: 0 !important; color: var(--v2-text) !important; font-size: clamp(38px, 4.2vw, 52px) !important; line-height: 1.1 !important; letter-spacing: -.035em !important; }
.aive-surface-legal > h2 { color: var(--v2-text) !important; }
.aive-surface-legal > p,
.aive-surface-legal > ul { color: var(--v2-muted) !important; font-size: 15px !important; line-height: 1.85 !important; }
.aive-surface-legal > ul { padding-left: 22px !important; }
.aive-surface-legal .aive-site-footer { margin-top: 84px !important; }
.aive-surface-media .aive-media-page { min-height: calc(100vh - 72px); padding: 112px 20px 60px; display: grid; place-items: center; }
.aive-surface-media .aive-media-panel {
  width: min(640px, 100%);
  padding: 34px;
  border: 1px solid var(--v2-line);
  border-radius: 12px;
  background: var(--v2-panel);
}
.aive-surface-media .aive-media-panel > span { color: var(--v2-accent); font-size: 12px; font-weight: 700; }
.aive-surface-media .aive-media-panel h1 { margin: 12px 0; color: var(--v2-text); font-size: 42px; line-height: 1.1; }
.aive-surface-media .aive-media-panel p { margin: 0; color: var(--v2-muted); line-height: 1.8; }
.aive-surface-media .aive-media-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 9px; }
.aive-surface-media .aive-media-actions a { padding: 9px 13px; border: 1px solid var(--v2-line); border-radius: 8px; color: var(--v2-text); text-decoration: none; }
.aive-surface-media .aive-media-actions a:hover { border-color: var(--v2-line-strong); background: var(--v2-accent-soft); }

@media (max-width: 1180px) {
  .aive-site-nav { width: min(100% - 28px, 1120px) !important; gap: 16px !important; }
  .aive-site-nav .nav-menu { gap: 15px !important; }
  .aive-site-nav .nav-brand-text small { display: none !important; }
  .aive-site-nav .nav-logo { min-width: 112px !important; }
}
@media (max-width: 900px) {
  .aive-site-nav .nav-menu { gap: 11px !important; }
  .aive-site-nav .nav-menu > li > a { font-size: 12px !important; }
  .aive-site-footer .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .aive-surface-tools .tools-grid-page,
  .aive-surface-blog .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
  .aive-site-nav { width: 100% !important; padding: 0 16px !important; }
  .aive-site-nav .nav-logo { min-width: 0 !important; }
  .aive-site-nav .nav-brand-text small { display: none !important; }
  .aive-site-nav .nav-menu {
    display: none !important;
    position: fixed !important;
    top: 72px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-height: calc(100vh - 88px) !important;
    margin: 0 !important;
    padding: 10px !important;
    overflow-y: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 3px !important;
    border: 1px solid var(--v2-line) !important;
    border-radius: 12px !important;
    background: var(--v2-panel-strong) !important;
    box-shadow: var(--v2-shadow) !important;
  }
  .aive-site-nav .nav-menu.open { display: flex !important; }
  .aive-site-nav .nav-menu > li > a {
    width: 100% !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    justify-content: flex-start !important;
    border-radius: 8px !important;
  }
  .aive-site-nav .nav-menu > li > a:hover,
  .aive-site-nav .nav-menu > li > a.active { box-shadow: none !important; background: var(--v2-accent-soft) !important; }
  .aive-site-nav .nav-right { display: none !important; }
  .aive-site-nav .nav-mobile-toggle { display: flex !important; }
  .aive-site-footer { padding-top: 44px !important; }
  .aive-site-footer .aive-footer-shell { width: min(100% - 32px, 1180px); }
  .aive-site-footer .footer-inner { grid-template-columns: 1fr !important; gap: 28px !important; }
  .aive-site-footer .footer-brand-area,
  .aive-site-footer .footer-col { text-align: left !important; }
  .aive-site-footer .footer-bottom { flex-direction: column !important; gap: 8px !important; }
  .aive-surface-home .aive-abc-hero { padding-top: 108px !important; }
  .aive-surface-home .aive-abc-hero .hero-title { font-size: 38px !important; line-height: 1.05 !important; letter-spacing: -.03em !important; }
  .aive-surface-tools .tools-page,
  .aive-surface-blog .blog-page,
  .aive-surface-wechat .mp-page,
  .aive-surface-account .page { width: calc(100% - 32px) !important; padding: 108px 0 62px !important; }
  .aive-surface-tools .tools-page > h1,
  .aive-surface-blog .blog-page > h1,
  .aive-surface-wechat .mp-page > h1,
  .aive-surface-account .page-header h1 { font-size: 34px !important; line-height: 1.12 !important; }
  .aive-surface-tools .tools-page > .subtitle,
  .aive-surface-blog .blog-page > .subtitle,
  .aive-surface-wechat .mp-page > .subtitle,
  .aive-surface-account .page-header p { margin-bottom: 28px !important; }
  .aive-surface-tools .tools-grid-page,
  .aive-surface-blog .blog-grid { grid-template-columns: 1fr !important; }
  .aive-surface-tools .category-tabs { flex-wrap: nowrap !important; overflow-x: auto !important; justify-content: flex-start !important; scrollbar-width: none; }
  .aive-surface-tools .category-tab { flex: 0 0 auto; }
  .aive-surface-wechat .mp-header { padding: 22px 18px !important; }
  .aive-surface-auth .container { padding-top: 108px !important; }
  .aive-surface-auth .card { padding: 28px 20px 24px !important; border-radius: 12px !important; }
  .aive-surface-account .info-grid { grid-template-columns: 1fr !important; }
  .aive-surface-article .article-page,
  .aive-surface-article > .container,
  .aive-surface-article .article-wrap,
  .aive-surface-article .article { width: calc(100% - 32px) !important; padding: 108px 0 64px !important; }
  .aive-surface-article .article-page h1,
  .aive-surface-article > .container h1,
  .aive-surface-article .article-wrap h1,
  .aive-surface-article .article h1 { font-size: 32px !important; line-height: 1.22 !important; }
  .aive-surface-article .article-page h2,
  .aive-surface-article > .container h2,
  .aive-surface-article .article-wrap h2,
  .aive-surface-article .article h2 { font-size: 23px !important; }
  .aive-surface-article .article-page p,
  .aive-surface-article .article-page li,
  .aive-surface-article > .container p,
  .aive-surface-article > .container li,
  .aive-surface-article .article-wrap p,
  .aive-surface-article .article-wrap li,
  .aive-surface-article .article p,
  .aive-surface-article .article li { font-size: 15.5px !important; }
  body.aive-v2.aive-surface-legal { padding-top: 108px !important; }
  .aive-surface-legal > .back,
  .aive-surface-legal > h1,
  .aive-surface-legal > h2,
  .aive-surface-legal > p,
  .aive-surface-legal > ul { width: calc(100% - 32px) !important; }
  .aive-surface-legal > h1 { font-size: 34px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.aive-v2 *, body.aive-v2 *::before, body.aive-v2 *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
