
:root {
  /* Colors */
  --bg-primary: #000000;
  --bg-secondary: #09090b;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-nav: rgba(0, 0, 0, 0.75);

  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #52525b;

  --brand-primary: #6366f1;
  --brand-secondary: #4f46e5;
  --brand-gradient: linear-gradient(135deg, #4f46e5, #6366f1, #3b82f6);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 64px;
  --portal-notice-h: 0px;

  /* Effects */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.8);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.8), 0 2px 4px -1px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.9), 0 4px 6px -2px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.15);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg-primary: #fafafa;
  --bg-secondary: #f4f4f5;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-nav: rgba(255, 255, 255, 0.75);

  --text-primary: #18181b;
  --text-secondary: #52525b;
  --text-muted: #a1a1aa;

  --border-color: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}


  
  
:root {
  --arts-cyan: #99edff;
  --arts-cyan-deep: #62e2fe;
  --arts-ink: #19191a;
  --arts-ink-soft: #202022;
  --arts-paper: #ffffff;
  --arts-muted: #6b6b70;
  --arts-line: rgba(18, 18, 22, 0.12);
  --arts-lime: #c8f000;
  --arts-yellow: #fff200;
  --arts-purple: #7c4dff;
  --arts-lavender: #ede0ff;
  --arts-mint: #e6ffd2;
  --arts-radius: 4px;
  --arts-card-radius: 16px;
  --brand-primary: #202022;
  --brand-secondary: #19191a;
  --brand-gradient: none;
  --bg-primary: #ffffff;
  --bg-secondary: #f7f7f8;
  --bg-card: #ffffff;
  --bg-nav: #99edff;
  --text-primary: #19191a;
  --text-secondary: #3d3d42;
  --text-muted: #6b6b70;
  --border-color: rgba(18, 18, 22, 0.12);
  --border-hover: rgba(18, 18, 22, 0.28);
  --font-sans: 'Public Sans', 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Outfit', 'Public Sans', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Chivo Mono', 'JetBrains Mono', ui-monospace, monospace;
  --nav-height: 64px;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-glow: none;
  --max-width: 1280px;
}

[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f7f7f8;
  --bg-card: #ffffff;
  --bg-nav: #99edff;
  --text-primary: #19191a;
  --text-secondary: #3d3d42;
  --text-muted: #6b6b70;
  --border-color: rgba(18, 18, 22, 0.12);
}

html[data-theme="dark"] {
  --arts-cyan: #1b4d5c;
  --arts-paper: #0c0c0d;
  --bg-primary: #0c0c0d;
  --bg-secondary: #141416;
  --bg-card: #161618;
  --bg-nav: #1b4d5c;
  --text-primary: #f5f5f5;
  --text-secondary: #c4c4c8;
  --text-muted: #8a8a90;
  --border-color: rgba(255, 255, 255, 0.12);
  --arts-ink: #f5f5f5;
  --arts-ink-soft: #fafafa;
  --arts-muted: #9a9aa0;
  --arts-line: rgba(255, 255, 255, 0.12);
  --arts-lavender: #2a2040;
  --arts-mint: #1d2a12;
}

body.arts-art {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  letter-spacing: -0.011em;
}

body.arts-art-home {
  background: var(--arts-paper);
}

body.arts-art a {
  color: var(--text-primary);
}
body.arts-art a:hover {
  color: var(--text-primary);
  opacity: 0.72;
}

body.arts-art code:not(#api-url-text) {
  font-family: var(--font-mono) !important;
  background: transparent !important;
  border: 1px solid var(--arts-line) !important;
  border-radius: var(--arts-radius) !important;
  color: var(--text-primary) !important;
  font-size: 13px;
}

/* Header + footer chrome: one bar for home / about / contact (and other portal pages) */
body.arts-art .hdr {
  background: #99edff !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  height: 64px !important;
  top: var(--portal-notice-h, 0px) !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  width: 100% !important;
  max-width: none !important;
  border-radius: 0 !important;
}
html[data-theme="dark"] body.arts-art .hdr {
  background: #99edff !important;
}
html[data-theme="dark"] body.arts-art .hdr-logo,
html[data-theme="dark"] body.arts-art .hdr-nav a,
html[data-theme="dark"] body.arts-art .btn-ghost,
html[data-theme="dark"] body.arts-art .btn-icon {
  color: #19191a !important;
}
body.arts-art .hdr.hidden {
  transform: none !important;
}
body.arts-art .hdr-in {
  max-width: 1440px !important;
  padding: 0 28px !important;
}
body.arts-art .hdr-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: #19191a !important;
}
body.arts-art .hdr-logo:not(:has(img))::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 1.6px solid currentColor;
  border-radius: 3px;
  transform: rotate(45deg);
  box-shadow: inset 3px 3px 0 currentColor;
  margin-right: 2px;
}
body.arts-art .hdr-logo img {
  height: 22px;
  border-radius: 0 !important;
}
body.arts-art .hdr-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #19191a !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 6px 10px;
}
body.arts-art .hdr-nav a.on,
body.arts-art .hdr-nav a:hover {
  background: transparent !important;
  color: #19191a !important;
  opacity: 0.62;
}
body.arts-art .hdr-nav a svg {
  display: none !important;
}
body.arts-art .hdr-nav a.on::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9a9aa0;
  display: inline-block;
  margin-left: 6px;
}
body.arts-art .hdr-search input,
body.arts-art .hdr-search-mob input,
html[data-theme="dark"] body.arts-art .hdr-search input,
html[data-theme="dark"] body.arts-art .hdr-search-mob input {
  background: rgba(255, 255, 255, 0.45) !important;
  border: 1px solid rgba(18, 18, 22, 0.22) !important;
  border-radius: var(--arts-radius) !important;
  color: #19191a !important;
  box-shadow: none !important;
  font-family: var(--font-sans);
}
body.arts-art .hdr-search input::placeholder,
html[data-theme="dark"] body.arts-art .hdr-search input::placeholder {
  color: rgba(25, 25, 26, 0.55) !important;
}
body.arts-art .hdr-search svg,
html[data-theme="dark"] body.arts-art .hdr-search svg {
  fill: #19191a !important;
  opacity: 0.65;
}
body.arts-art .hdr-search input:focus,
html[data-theme="dark"] body.arts-art .hdr-search input:focus {
  border-color: #19191a !important;
  background: rgba(255, 255, 255, 0.75) !important;
  box-shadow: none !important;
}
body.arts-art .btn-s {
  border-radius: var(--arts-radius) !important;
  font-weight: 600;
  font-size: 14px;
  height: 36px;
  padding: 0 16px;
}
body.arts-art .btn-ghost {
  color: #19191a !important;
  background: transparent !important;
}
body.arts-art .btn-primary,
body.arts-art .btn-s.btn-primary {
  background: var(--arts-ink-soft) !important;
  color: #fafafa !important;
  border: 1px solid transparent !important;
  filter: none !important;
  transform: none !important;
}
html[data-theme="dark"] body.arts-art .btn-primary,
html[data-theme="dark"] body.arts-art .btn-s.btn-primary {
  background: #fafafa !important;
  color: #0c0c0d !important;
}
body.arts-art .btn-primary:hover {
  filter: none !important;
  transform: none !important;
  opacity: 0.88;
}
body.arts-art .btn-icon {
  color: #19191a !important;
  border-radius: var(--arts-radius) !important;
}
/* 桌面端工具栏（严格单行、36px 纯图标按钮、绝对隐藏移动端滑块与文字） */
body.arts-art .hdr-tools {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-left: 8px !important;
  width: auto !important;
}
body.arts-art .theme-segmented-switch,
body.arts-art .hdr-theme-toggle-mob {
  display: none !important;
}
body.arts-art .hdr-theme-toggle-desk {
  display: inline-flex !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--arts-radius) !important;
}
body.arts-art .hdr-tools .lang-dropdown {
  display: inline-block !important;
  width: auto !important;
  position: relative !important;
}
body.arts-art .hdr-tools .lang-dropdown-btn {
  display: inline-flex !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--arts-radius) !important;
  background: transparent !important;
  border: none !important;
}
body.arts-art .hdr-tools .lang-dropdown-btn .lang-globe-icon,
body.arts-art .hdr-tools .lang-dropdown-btn svg.lang-globe-icon {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  fill: none !important;
  stroke: currentColor !important;
}
body.arts-art .hdr-tools .lang-dropdown-btn .lang-globe-icon *,
body.arts-art .hdr-tools .lang-dropdown-btn svg.lang-globe-icon * {
  fill: none !important;
  stroke: currentColor !important;
}
body.arts-art .hdr-tools .lang-dropdown-btn .hdr-tool-text,
body.arts-art .hdr-tools .lang-dropdown-btn .hdr-tool-chevron {
  display: none !important;
}
body.arts-art #hdr-auth-buttons a[title="GitHub"],
body.arts-art #hdr-auth-buttons a[aria-label="GitHub Repository"],
body.fai-art #hdr-auth-buttons a[title="GitHub"],
body.fai-art #hdr-auth-buttons a[aria-label="GitHub Repository"] {
  display: none !important;
}
body.arts-art .hdr-sep {
  background: var(--arts-line) !important;
}
body.arts-art .hdr-avatar-link {
  border-radius: 50% !important;
  background: #19191a !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(18, 18, 22, 0.15) !important;
}
body.arts-art .hdr-avatar-link .hdr-avatar,
body.arts-art .hdr-avatar-link #hdr-avatar-text {
  color: #ffffff !important;
}

/* Inner page hero */
body.arts-art .pg-hero {
  background: var(--bg-primary) !important;
  border-bottom: 1px solid var(--arts-line);
  text-align: left;
  padding: calc(var(--nav-height) + 48px) 0 40px;
}
body.arts-art .pg-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.04em;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 0.95;
}

/* Footer */
body.arts-art .ftr {
  background: var(--bg-primary) !important;
  border-top: 1px solid var(--arts-line) !important;
}
body.arts-art .ftr-brand b {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
}
body.arts-art .ftr-col h4 {
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
}
body.arts-art .ftr-btm.ftr-legal {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  gap: 16px 32px;
  padding: 20px 0 28px;
}
body.arts-art .ftr-legal-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  line-height: 1.6;
}
body.arts-art .ftr-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
body.arts-art .ftr-legal-links a {
  color: var(--text-secondary);
  font-weight: 500;
}
body.arts-art .ftr-legal-links a:hover {
  color: var(--text-primary);
}
@media (max-width: 768px) {
  body.arts-art .ftr-btm.ftr-legal {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
body.arts-art .lang-dropdown-menu {
  background: var(--bg-primary) !important;
  border: 1px solid var(--arts-line) !important;
  border-radius: var(--arts-radius) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 4px !important;
}
body.arts-art .lang-dropdown-menu a {
  color: var(--text-primary) !important;
  border-radius: var(--arts-radius) !important;
}
body.arts-art .lang-dropdown-menu a:hover {
  background: rgba(128, 128, 128, 0.12) !important;
  color: var(--text-primary) !important;
}
body.arts-art .lang-dropdown-menu a.active {
  background: #19191a !important;
  color: #fafafa !important;
  border-radius: var(--arts-radius) !important;
  font-weight: 600 !important;
}
html[data-theme="dark"] body.arts-art .lang-dropdown-menu {
  background: #161618 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
html[data-theme="dark"] body.arts-art .lang-dropdown-menu a {
  color: #d4d4d8 !important;
}
html[data-theme="dark"] body.arts-art .lang-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}
html[data-theme="dark"] body.arts-art .lang-dropdown-menu a.active {
  background: #fafafa !important;
  color: #0c0c0d !important;
}

/* Kill the global 5px radius for this style */
body.arts-art .btn-s,
body.arts-art .btn-primary,
body.arts-art .hdr-search input,
body.arts-art .hdr-search-mob input,
body.arts-art .hf-search input,
body.arts-art .cta-primary,
body.arts-art .cta-secondary {
  border-radius: var(--arts-radius) !important;
}
body.arts-art .hf-card,
body.arts-art .feat-card,
body.arts-art .qnav-card,
body.arts-art .ct-item,
body.arts-art .mod-wrap {
  border-radius: var(--arts-card-radius) !important;
}

body.arts-art .hf-card {
  background: #fff !important;
  border: 1px solid var(--arts-line) !important;
  box-shadow: none !important;
}
body.arts-art .hf-card:hover {
  transform: translateY(-2px) !important;
  border-color: var(--arts-ink) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] body.arts-art .hf-card {
  background: #161618 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
html[data-theme="dark"] body.arts-art .hf-card:hover {
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.5) !important;
}
body.arts-art .hf-filter-item.active {
  background: var(--arts-ink-soft) !important;
  color: #fafafa !important;
  border-radius: var(--arts-radius) !important;
}
html[data-theme="dark"] body.arts-art .hf-filter-item.active {
  background: #fafafa !important;
  color: #0c0c0d !important;
}
body.arts-art .hf-search input:focus {
  box-shadow: none !important;
  border-color: var(--arts-ink) !important;
}
html[data-theme="dark"] body.arts-art .hf-search input {
  background: #141416 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #fafafa !important;
}
html[data-theme="dark"] body.arts-art .hf-search input:focus {
  border-color: rgba(255, 255, 255, 0.35) !important;
}

@media (max-width: 768px) {
  body.arts-art .hdr {
    height: 60px !important;
    border-bottom: 1px solid transparent !important;
    transition: background-color 0.18s ease, border-color 0.18s ease !important;
  }
  body.arts-art .hdr-in {
    padding: 0 16px !important;
    justify-content: space-between !important;
  }
  /* 移动端汉堡 / 关闭按钮（极致极简、无生硬白框与阴影） */
  body.arts-art .mob-btn,
  html[data-theme="dark"] body.arts-art .mob-btn {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    margin-left: auto !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
  }
  body.arts-art .mob-btn:active {
    background: rgba(0, 0, 0, 0.06) !important;
  }
  body.arts-art .mob-btn span {
    background: #19191a !important;
    width: 20px !important;
    height: 2px !important;
    margin: 2.5px 0 !important;
    border-radius: 2px !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background-color 0.25s ease !important;
  }

  /* 菜单打开时 Header 瞬间锁定黑白灰中性背景，杜绝任何过渡闪亮线；严禁在 Header 上声明 backdrop-filter，防止创建 Containing Block 导致内部 fixed 抽屉高度塌陷为 0 */
  body.arts-art .hdr.menu-open {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    transition: none !important;
  }
  html[data-theme="dark"] body.arts-art .hdr.menu-open {
    background: #0e0e11 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: none !important;
  }
  html[data-theme="dark"] body.arts-art .hdr.menu-open .hdr-logo {
    color: #ffffff !important;
  }
  html[data-theme="dark"] body.arts-art .hdr.menu-open .mob-btn {
    color: #ffffff !important;
  }
  html[data-theme="dark"] body.arts-art .hdr.menu-open .mob-btn:active {
    background: rgba(255, 255, 255, 0.08) !important;
  }
  html[data-theme="dark"] body.arts-art .hdr.menu-open .mob-btn span {
    background: #ffffff !important;
  }

  /* 抽屉打开时将底层被遮挡的 Hero/Body 瞬间锁色，杜绝任何过渡期间透亮线 */
  body.arts-art.portal-menu-locked,
  body.arts-art.portal-menu-locked .arts-hero {
    background: #f4f4f5 !important;
  }
  html[data-theme="dark"] body.arts-art.portal-menu-locked,
  html[data-theme="dark"] body.arts-art.portal-menu-locked .arts-hero {
    background: #0d0d10 !important;
  }

  /* 移动端菜单抽屉主体（黑白灰高质感毛玻璃半透明、全视口贴底铺满、独立自滚动） */
  body.arts-art .hdr-menu {
    position: fixed !important;
    top: calc(60px + var(--portal-notice-h, 0px)) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100vh - 60px - var(--portal-notice-h, 0px)) !important;
    height: calc(100dvh - 60px - var(--portal-notice-h, 0px)) !important;
    max-height: calc(100dvh - 60px - var(--portal-notice-h, 0px)) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(28px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
    border-top: none !important;
    padding: 16px 16px calc(36px + env(safe-area-inset-bottom, 20px)) !important;
    gap: 12px !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    transform: translateY(-8px) !important;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s !important;
    will-change: opacity, transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  body.arts-art .hdr-menu.open,
  body.arts-art .hdr.menu-open .hdr-menu {
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-menu {
    background: rgba(14, 14, 18, 0.94) !important;
    backdrop-filter: blur(28px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
    border-top: none !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6) !important;
  }

  /* 搜索框精修（黑白灰极简质感） */
  body.arts-art .hdr-search-mob {
    position: relative !important;
    width: 100% !important;
    margin-bottom: 6px !important;
  }
  body.arts-art .hdr-search-mob input {
    height: 44px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    padding: 0 16px 0 42px !important;
    background: rgba(0, 0, 0, 0.035) !important;
    border: 1px solid rgba(18, 18, 22, 0.08) !important;
    color: var(--text-primary) !important;
    transition: all 0.2s ease !important;
  }
  body.arts-art .hdr-search-mob svg {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 17px !important;
    height: 17px !important;
    fill: #8a8a90 !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-search-mob input {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
  }
  body.arts-art .hdr-search-mob input:focus {
    border-color: #18181b !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06) !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-search-mob input:focus {
    border-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08) !important;
  }

  /* 导航链接列表精修（黑白灰卡片流、带图标与Chevron箭头） */
  body.arts-art .hdr-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
  }
  body.arts-art .hdr-nav a {
    display: flex !important;
    align-items: center !important;
    padding: 0 16px !important;
    height: 52px !important;
    font-family: var(--font-sans) !important;
    font-size: 15.5px !important;
    font-weight: 550 !important;
    border-radius: 12px !important;
    color: #27272a !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-bottom: none !important;
    position: relative !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
    transition: background-color 0.18s ease, transform 0.15s ease, border-color 0.18s ease !important;
  }
  @media (hover: hover) {
    body.arts-art .hdr-nav a:hover {
      background: rgba(0, 0, 0, 0.04) !important;
    }
    html[data-theme="dark"] body.arts-art .hdr-nav a:hover {
      background: rgba(255, 255, 255, 0.06) !important;
    }
  }
  body.arts-art .hdr-nav a:active {
    background: rgba(0, 0, 0, 0.06) !important;
    transform: scale(0.99) !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-nav a {
    color: #e4e4e7 !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-nav a:active {
    background: rgba(255, 255, 255, 0.08) !important;
  }

  /* 点亮导航项图标（纯净黑白灰） */
  body.arts-art .hdr-nav a svg {
    display: inline-flex !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 12px !important;
    flex-shrink: 0 !important;
    opacity: 0.75 !important;
    fill: currentColor !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
  }
  body.arts-art .hdr-nav a span {
    flex: 1 !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* 导航项右侧精致微箭头 Chevron */
  body.arts-art .hdr-nav a::after {
    content: '' !important;
    width: 7px !important;
    height: 7px !important;
    border-top: 2px solid rgba(25, 25, 26, 0.25) !important;
    border-right: 2px solid rgba(25, 25, 26, 0.25) !important;
    transform: rotate(45deg) !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease, border-color 0.2s ease !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-nav a::after {
    border-color: rgba(255, 255, 255, 0.25) !important;
  }

  /* 激活项（Active）黑白灰极简微高光 */
  body.arts-art .hdr-nav a.on {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.09) !important;
    border-left: 3.5px solid #18181b !important;
    color: #18181b !important;
    font-weight: 700 !important;
  }
  body.arts-art .hdr-nav a.on svg {
    opacity: 1 !important;
    color: #18181b !important;
  }
  body.arts-art .hdr-nav a.on::after {
    width: 6px !important;
    height: 6px !important;
    border: none !important;
    border-radius: 50% !important;
    background: #18181b !important;
    transform: none !important;
    box-shadow: none !important;
  }

  html[data-theme="dark"] body.arts-art .hdr-nav a.on {
    background: rgba(255, 255, 255, 0.09) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-left: 3.5px solid #ffffff !important;
    color: #ffffff !important;
    font-weight: 700 !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-nav a.on svg {
    opacity: 1 !important;
    color: #ffffff !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-nav a.on::after {
    width: 6px !important;
    height: 6px !important;
    border: none !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    transform: none !important;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5) !important;
  }

  /* 工具栏（系统外观与语言设置）：垂直双行全宽设计，极富设计感的滑动分段滑块与带动画毛玻璃语言面板 */
  body.arts-art .hdr-tools {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 4px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-tools {
    background: transparent !important;
    border: none !important;
  }

  /* 移动端分段滑块 */
  body.arts-art .theme-segmented-switch {
    display: flex !important;
    position: relative !important;
    width: 100% !important;
    height: 44px !important;
    padding: 3px !important;
    border-radius: 12px !important;
    background: rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  html[data-theme="dark"] body.arts-art .theme-segmented-switch {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
  }
  body.arts-art .theme-segmented-switch .theme-switch-slider {
    position: absolute !important;
    top: 3px !important;
    bottom: 3px !important;
    left: 3px !important;
    width: calc(50% - 3px) !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    transform: translateX(0) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }
  html[data-theme="dark"] body.arts-art .theme-segmented-switch .theme-switch-slider {
    transform: translateX(100%) !important;
    background: #27272a !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  }
  body.arts-art .theme-seg-btn {
    position: relative !important;
    z-index: 2 !important;
    flex: 1 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    color: #71717a !important;
    font-size: 13.5px !important;
    font-weight: 550 !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: color 0.2s ease, transform 0.15s ease !important;
  }
  body.arts-art .theme-seg-btn:active {
    transform: scale(0.97) !important;
  }
  body.arts-art .theme-seg-btn .seg-icon {
    width: 17px !important;
    height: 17px !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    fill: none !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s ease !important;
  }
  body.arts-art .theme-seg-btn .seg-icon * {
    fill: none !important;
    stroke: currentColor !important;
  }
  html:not([data-theme="dark"]) body.arts-art .theme-seg-btn[data-theme-val="light"] {
    color: #18181b !important;
    font-weight: 650 !important;
  }
  html:not([data-theme="dark"]) body.arts-art .theme-seg-btn[data-theme-val="light"] .seg-icon {
    transform: rotate(20deg) scale(1.1) !important;
    stroke: #18181b !important;
  }
  html[data-theme="dark"] body.arts-art .theme-seg-btn[data-theme-val="dark"] {
    color: #ffffff !important;
    font-weight: 650 !important;
  }
  html[data-theme="dark"] body.arts-art .theme-seg-btn[data-theme-val="dark"] .seg-icon {
    transform: rotate(-15deg) scale(1.1) !important;
    stroke: #ffffff !important;
  }

  /* 移动端语言下拉触发器 */
  body.arts-art .hdr-tools .lang-dropdown {
    width: 100% !important;
    position: relative !important;
  }
  body.arts-art .hdr-tools .lang-dropdown-btn {
    width: 100% !important;
    height: 44px !important;
    padding: 0 14px !important;
    border-radius: 12px !important;
    background: rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #19191a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    box-shadow: none !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-tools .lang-dropdown-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f4f4f5 !important;
  }
  body.arts-art .hdr-tools .lang-dropdown.open .lang-dropdown-btn {
    border-color: #18181b !important;
    background: rgba(0, 0, 0, 0.07) !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-tools .lang-dropdown.open .lang-dropdown-btn {
    border-color: rgba(255, 255, 255, 0.28) !important;
    background: rgba(255, 255, 255, 0.09) !important;
  }
  body.arts-art .hdr-tools .lang-dropdown-btn .lang-globe-icon,
  body.arts-art .hdr-tools .lang-dropdown-btn svg.lang-globe-icon {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    fill: none !important;
    stroke: currentColor !important;
  }
  body.arts-art .hdr-tools .lang-dropdown-btn .lang-globe-icon *,
  body.arts-art .hdr-tools .lang-dropdown-btn svg.lang-globe-icon * {
    fill: none !important;
    stroke: currentColor !important;
  }
  body.arts-art .hdr-tools .lang-dropdown-btn .hdr-tool-text {
    display: block !important;
    flex: 1 !important;
    text-align: left !important;
    font-size: 14px !important;
    font-weight: 550 !important;
    white-space: nowrap !important;
  }
  body.arts-art .hdr-tools .lang-dropdown-btn .hdr-tool-chevron {
    display: inline-flex !important;
    width: 16px !important;
    height: 16px !important;
    margin-left: auto !important;
    opacity: 0.6 !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
  }
  body.arts-art .hdr-tools .lang-dropdown.open .lang-dropdown-btn .hdr-tool-chevron {
    transform: rotate(180deg) !important;
    opacity: 0.9 !important;
  }

  /* 移动端语言菜单浮层面板 */
  body.arts-art .hdr-tools .lang-dropdown-menu {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 6px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.12) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    z-index: 1000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-6px) scale(0.98) !important;
    transform-origin: top center !important;
    pointer-events: none !important;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s !important;
  }
  body.arts-art .hdr-tools .lang-dropdown.open .lang-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-tools .lang-dropdown-menu {
    background: rgba(20, 20, 24, 0.96) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.6) !important;
  }

  body.arts-art .hdr-tools .lang-dropdown-menu .lang-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    height: 42px !important;
    padding: 0 12px !important;
    border-radius: 9px !important;
    color: #27272a !important;
    font-size: 13.5px !important;
    font-weight: 550 !important;
    background: transparent !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background-color 0.15s ease, transform 0.12s ease !important;
  }
  body.arts-art .hdr-tools .lang-dropdown-menu .lang-item:active {
    transform: scale(0.98) !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-tools .lang-dropdown-menu .lang-item {
    color: #e4e4e7 !important;
  }
  body.arts-art .hdr-tools .lang-dropdown-menu .lang-item .lang-item-badge {
    width: 26px !important;
    height: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    background: rgba(0, 0, 0, 0.06) !important;
    color: #71717a !important;
    font-family: var(--font-mono, monospace) !important;
    flex-shrink: 0 !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-tools .lang-dropdown-menu .lang-item .lang-item-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #a1a1aa !important;
  }
  body.arts-art .hdr-tools .lang-dropdown-menu .lang-item .lang-item-label {
    flex: 1 !important;
    text-align: left !important;
    font-size: 13.5px !important;
    white-space: nowrap !important;
  }
  body.arts-art .hdr-tools .lang-dropdown-menu .lang-item .lang-item-check {
    width: 16px !important;
    height: 16px !important;
    opacity: 0 !important;
    transform: scale(0.6) !important;
    flex-shrink: 0 !important;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  @media (hover: hover) {
    body.arts-art .hdr-tools .lang-dropdown-menu .lang-item:hover {
      background: rgba(0, 0, 0, 0.04) !important;
    }
    html[data-theme="dark"] body.arts-art .hdr-tools .lang-dropdown-menu .lang-item:hover {
      background: rgba(255, 255, 255, 0.06) !important;
    }
  }

  /* 激活选中的语言项 */
  body.arts-art .hdr-tools .lang-dropdown-menu .lang-item.active {
    background: #18181b !important;
    color: #ffffff !important;
  }
  body.arts-art .hdr-tools .lang-dropdown-menu .lang-item.active .lang-item-badge {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
  }
  body.arts-art .hdr-tools .lang-dropdown-menu .lang-item.active .lang-item-label {
    color: #ffffff !important;
    font-weight: 650 !important;
  }
  body.arts-art .hdr-tools .lang-dropdown-menu .lang-item.active .lang-item-check {
    opacity: 1 !important;
    transform: scale(1) !important;
    color: #ffffff !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-tools .lang-dropdown-menu .lang-item.active {
    background: #ffffff !important;
    color: #0c0c0d !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-tools .lang-dropdown-menu .lang-item.active .lang-item-badge {
    background: rgba(0, 0, 0, 0.12) !important;
    color: #0c0c0d !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-tools .lang-dropdown-menu .lang-item.active .lang-item-label {
    color: #0c0c0d !important;
    font-weight: 650 !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-tools .lang-dropdown-menu .lang-item.active .lang-item-check {
    opacity: 1 !important;
    transform: scale(1) !important;
    color: #0c0c0d !important;
  }

  /* 操作区（未登录按钮：黑白灰极简风格） */
  body.arts-art .hdr-act {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 6px !important;
    width: 100% !important;
  }
  body.arts-art .hdr-act[style*="display: none"] {
    display: none !important;
  }
  body.arts-art .hdr-act .btn-s {
    width: 100% !important;
    height: 48px !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: transform 0.15s ease, filter 0.15s ease !important;
  }
  body.arts-art .hdr-act .btn-s:active {
    transform: scale(0.98) !important;
  }
  /* 登录 */
  body.arts-art .hdr-act .btn-ghost {
    background: transparent !important;
    border: 1.5px solid rgba(25, 25, 26, 0.2) !important;
    color: #19191a !important;
  }
  /* 注册 */
  body.arts-art .hdr-act .btn-primary {
    background: #19191a !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  }
  /* 深色登录 */
  html[data-theme="dark"] body.arts-art .hdr-act .btn-ghost {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
  }
  /* 深色注册 */
  html[data-theme="dark"] body.arts-art .hdr-act .btn-primary {
    background: #ffffff !important;
    color: #09090b !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15) !important;
  }

  /* 已登录用户区域：去除笨重外框与嵌套灰底，改为极简顶部细分界线 */
  body.arts-art #hdr-user-profile {
    width: 100% !important;
    margin-top: 6px !important;
  }
  body.arts-art .hdr-user-card-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 4px 6px !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-user-card-wrap {
    background: transparent !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  body.arts-art #hdr-user-profile .hdr-avatar-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body.arts-art #hdr-user-profile .hdr-avatar {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 50% !important;
    background: #19191a !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden !important;
    border: none !important;
  }
  html[data-theme="dark"] body.arts-art #hdr-user-profile .hdr-avatar {
    background: #ffffff !important;
    color: #0d0d10 !important;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.18) !important;
  }
  body.arts-art #hdr-user-profile .hdr-avatar img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
  }
  body.arts-art #hdr-user-profile .hdr-user-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    text-align: left !important;
    flex: 1 !important;
    min-width: 0 !important;
  }
  body.arts-art #hdr-user-profile .hdr-user-name {
    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.2 !important;
    color: var(--text-primary) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  html[data-theme="dark"] body.arts-art #hdr-user-profile .hdr-user-name {
    color: #ffffff !important;
  }
  body.arts-art #hdr-user-profile .hdr-user-role {
    font-size: 12px !important;
    color: var(--text-muted) !important;
    line-height: 1.2 !important;
  }
  html[data-theme="dark"] body.arts-art #hdr-user-profile .hdr-user-role {
    color: #a1a1aa !important;
  }
  /* 退出按钮：轻量极简幽灵风格 */
  body.arts-art .hdr-logout-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 36px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    background: rgba(0, 0, 0, 0.03) !important;
    color: var(--text-muted) !important;
    font-size: 13px !important;
    font-weight: 550 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: all 0.15s ease !important;
  }
  body.arts-art .hdr-logout-btn:active {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
  }
  html[data-theme="dark"] body.arts-art .hdr-logout-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #a1a1aa !important;
  }
}

body.arts-art .ct-item,
body.arts-art .soc-a {
  border: 1px solid var(--arts-line) !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.arts-art .ct-item:hover,
body.arts-art .soc-a:hover {
  border-color: var(--arts-ink) !important;
  transform: none !important;
}
html[data-theme="dark"] body.arts-art .ct-item:hover,
html[data-theme="dark"] body.arts-art .soc-a:hover {
  border-color: rgba(255, 255, 255, 0.35) !important;
}

  


*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font-sans);background-color:var(--bg-primary);color:var(--text-primary);line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh;display:flex;flex-direction:column;transition:background-color var(--transition-normal), color var(--transition-normal)}
a{color:var(--brand-secondary);text-decoration:none;transition:color var(--transition-fast)}
a:hover{color:var(--brand-primary)}
code{font-family:'JetBrains Mono','Fira Code',monospace;background:rgba(128,128,128,0.15);color:var(--brand-primary);padding:3px 6px;border-radius:6px;font-size:13px;border:1px solid rgba(128,128,128,0.2)}
[data-theme="light"] code{background:rgba(0, 0, 0, 0.05);color:#0060df}
strong{color:var(--text-primary);font-weight:600}
.wrap{max-width:var(--max-width);margin:0 auto;padding:0 24px;width:100%;position:relative;z-index:10}
.main-content{flex:1}

/* ── Header Navbar ── */
.hdr{position:fixed;top:var(--portal-notice-h, 0px);left:0;right:0;height:var(--nav-height);background:var(--bg-nav);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--border-color);z-index:100;transition:transform var(--transition-normal), background var(--transition-normal), border-color var(--transition-normal)}
.hdr.hidden {transform:translateY(calc(-100% - var(--portal-notice-h, 0px)))}
.hdr-in{max-width:var(--max-width);margin:0 auto;display:flex;align-items:center;padding:0 24px;height:100%;gap:24px}
.hdr-logo{display:flex;align-items:center;gap:12px;color:var(--text-primary)!important;font-weight:700;font-size:1.125rem;letter-spacing:-0.025em;white-space:nowrap}
.hdr-logo img{height:24px;border-radius:4px;object-fit:contain}
.hdr-search{flex:1;max-width:320px;position:relative;display:none}
@media(min-width:992px){.hdr-search{display:block}}
.hdr-search input{width:100%;background:rgba(0,0,0,0.2);border:1px solid var(--border-color);border-radius:6px;padding:6px 12px 6px 32px;color:var(--text-primary);font-size:13px;outline:none;transition:all var(--transition-fast)}
[data-theme="light"] .hdr-search input{background:rgba(255,255,255,0.8)}
.hdr-search input:focus{border-color:var(--brand-primary);box-shadow:var(--shadow-glow)}
.hdr-search input::placeholder{color:var(--text-muted)}
.hdr-search svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:14px;height:14px;fill:var(--text-muted)}
.hdr-menu{display:flex;align-items:center;margin-left:auto;gap:16px}
.hdr-nav{display:flex;gap:4px}
.hdr-nav a{display:flex;align-items:center;gap:6px;padding:6px 12px;border-radius:6px;font-size:14px;font-weight:500;color:var(--text-secondary);transition:all var(--transition-fast)}
.hdr-nav a:hover,.hdr-nav a.on{color:var(--text-primary);background:rgba(128,128,128,0.1)}
.hdr-sep{width:1px;height:24px;background:var(--border-color);margin:0 4px}
.hdr-act{display:flex;gap:12px;align-items:center}
.btn-s{display:inline-flex;align-items:center;justify-content:center;padding:8px 16px;border-radius:9999px;font-size:14px;font-weight:500;transition:all var(--transition-fast);white-space:nowrap}
.btn-ghost{color:var(--text-secondary);background:transparent;border:none}
.btn-ghost:hover{color:var(--text-primary);background:rgba(128,128,128,0.05)}
.btn-primary{background:var(--brand-primary);color:#fff!important;border:none}
.btn-primary:hover{filter:brightness(0.9);transform:translateY(-1px)}
.btn-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;background:transparent;border-radius:50%;color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast)}
.btn-icon:hover{background:rgba(128,128,128,0.1);color:var(--text-primary)}
.btn-icon svg{width:18px;height:18px;fill:currentColor}
.hdr-avatar-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 50% !important; overflow: hidden; background: var(--brand-primary); color: #fff !important; width: 36px; height: 36px; transition: transform var(--transition-fast), box-shadow var(--transition-fast); box-shadow: var(--shadow-sm); }
.hdr-avatar-link:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); filter: brightness(1.1); }
.hdr-user-meta, .hdr-logout-btn, .hdr-tool-text, .hdr-tool-chevron, .hdr-drawer-foot { display: none; }
.hdr-act[style*="display: none"] { display: none !important; }

/* Mobile Menu Button */
.mob-btn{display:none;background:none;border:none;color:var(--text-primary);cursor:pointer;padding:8px;z-index:1000}
.mob-btn span{display:block;width:20px;height:2px;background:currentColor;margin:4px 0;transition:transform var(--transition-fast);border-radius:1px}
.hdr-search-mob{display:none}

/* ── Sub Page Hero ── */
.pg-hero{padding:calc(var(--nav-height) + 40px) 0 40px;text-align:left;border-bottom:1px solid var(--border-color);background:var(--bg-secondary);transition:background-color var(--transition-normal)}
.pg-hero h1{font-size:32px;font-weight:800;margin-bottom:12px;letter-spacing:-0.5px;color:var(--text-primary)}
.pg-hero p{color:var(--text-secondary);font-size:16px;max-width:600px}

/* ── Models Table ── */
.mod-sec{padding:40px 0 80px}
.mod-wrap{overflow-x:auto;border-radius:12px;border:1px solid var(--border-color);background:var(--bg-card);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:var(--shadow-md)}
.mod-tbl{width:100%;border-collapse:collapse}
.mod-tbl th{text-align:left;padding:14px 20px;font-size:12px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:1px;background:rgba(128,128,128,0.05);border-bottom:1px solid var(--border-color)}
.mod-tbl td{padding:14px 20px;font-size:14px;border-bottom:1px solid var(--border-color);color:var(--text-secondary)}
.mod-tbl tr:last-child td{border-bottom:none}
.mod-tbl tbody tr:hover td{background:rgba(128,128,128,0.05)}
.mod-name{font-weight:600;color:var(--text-primary);font-size:15px}
.tag{display:inline-block;padding:2px 8px;border-radius:4px;font-size:12px;font-weight:600;background:rgba(128,128,128,0.1);color:var(--text-secondary);border:1px solid var(--border-color)}
.mod-note{margin-top:24px;padding:16px;border-radius:8px;background:var(--bg-secondary);border:1px solid var(--border-color);font-size:14px;color:var(--text-muted)}
.empty-h{text-align:center;color:var(--text-muted);padding:48px 0!important}

/* ── Contact ── */
.ct-sec{padding:40px 0 80px}
.ct-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.ct-info{display:flex;flex-direction:column;gap:16px}
.ct-item{display:flex;gap:16px;padding:20px;border-radius:12px;background:var(--bg-card);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid var(--border-color);box-shadow:var(--shadow-sm);transition:all var(--transition-normal)}
.ct-item:hover{border-color:var(--border-hover);transform:translateY(-2px);box-shadow:var(--shadow-md)}
.ct-item .ci{font-size:20px;flex-shrink:0;width:40px;height:40px;background:rgba(128,128,128,0.1);border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--text-primary)}
.ct-item strong{display:block;color:var(--text-primary);font-size:15px;font-weight:600;margin-bottom:4px}
.ct-item p{color:var(--text-secondary);font-size:14px;margin:0;line-height:1.5}
.soc h3{font-size:18px;font-weight:700;margin-bottom:16px;color:var(--text-primary)}
.soc-grid{display:flex;flex-wrap:wrap;gap:10px}
.soc-a{padding:8px 16px;border-radius:8px;font-size:14px;font-weight:500;background:var(--bg-card);border:1px solid var(--border-color);color:var(--text-secondary);transition:all var(--transition-fast);box-shadow:var(--shadow-sm)}
.soc-a:hover{border-color:var(--brand-secondary);color:var(--brand-secondary);background:rgba(128,128,128,0.05);transform:translateY(-1px)}

/* ── About ── */
.ab-sec{padding:40px 0 80px}
.ab-body{max-width:800px;margin:0 auto;font-size:16px;line-height:1.8;color:var(--text-secondary)}
.ab-body h2{font-size:26px;color:var(--text-primary);margin:36px 0 16px;font-weight:800;letter-spacing:-0.5px}
.ab-body h3{font-size:20px;color:var(--text-primary);margin:24px 0 12px;font-weight:700}
.ab-body p{margin-bottom:16px}
.ab-body ul,.ab-body ol{margin:0 0 16px 20px}
.ab-body li{margin-bottom:8px}

/* ── Footer ── */
.ftr{border-top:1px solid var(--border-color);padding:48px 0 0;margin-top:auto;background:var(--bg-secondary);transition:background-color var(--transition-normal), border-color var(--transition-normal)}
.ftr-in{max-width:var(--max-width);margin:0 auto;padding:0 24px}
.ftr-top{display:flex;justify-content:space-between;gap:40px;padding-bottom:32px}
.ftr-brand{max-width:360px}
.ftr-brand b{font-size:18px;color:var(--text-primary);display:block;margin-bottom:12px;letter-spacing:-0.5px;font-weight:800}
.ftr-brand p{color:var(--text-secondary);font-size:14px;line-height:1.6}
.ftr-brand .ftr-meta{margin-top:12px;color:var(--text-muted);font-size:13px;line-height:1.5}
.ftr-brand .ftr-meta p{margin:0 0 4px;color:var(--text-muted);font-size:13px}
.ftr-links{display:flex;gap:48px;flex-wrap:wrap}
.ftr-col{min-width:140px;max-width:240px}
.ftr-col h4{font-size:13px;font-weight:700;color:var(--text-primary);margin-bottom:16px;letter-spacing:0.5px;text-transform:uppercase}
.ftr-col a{display:block;font-size:14px;color:var(--text-secondary);margin-bottom:10px;transition:color var(--transition-fast);font-weight:500}
.ftr-col a:hover{color:var(--text-primary)}
.ftr-col p{color:var(--text-secondary);font-size:14px;line-height:1.6;margin:0}
.ftr-btm{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:20px 0;border-top:1px solid var(--border-color);font-size:13px;color:var(--text-muted);text-align:center}
.ftr-btm a{color:var(--text-secondary);font-weight:500;transition:color var(--transition-fast)}
.ftr-btm a:hover{color:var(--text-primary)}

/* ── Responsive ── */
@media(max-width:992px){
  .ftr-top{flex-direction:column;gap:32px}
  .ftr-links{flex-wrap:wrap;gap:32px}
}
@media(max-width:768px){
  .hdr-in{justify-content:space-between}
  .hdr-menu{
    position:fixed;
    top:calc(var(--nav-height) + var(--portal-notice-h, 0px));
    left:0;
    right:0;
    bottom:0;
    background:var(--bg-primary);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    flex-direction:column;
    padding:24px 20px calc(32px + env(safe-area-inset-bottom, 0px));
    z-index:999;
    align-items:stretch;
    justify-content:flex-start;
    gap:18px;
    opacity:0;
    pointer-events:none;
    transform:translateY(-8px);
    transition:opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
  }
  .hdr-menu.open,
  .hdr.menu-open .hdr-menu,
  .navbar.menu-open .hdr-menu{
    opacity:1 !important;
    pointer-events:auto !important;
    transform:translateY(0) !important;
  }
  .hdr-nav{flex-direction:column;gap:8px}
  .hdr-nav a{padding:10px 14px;font-size:15px;display:flex;align-items:center}
  .hdr-sep{display:none}
  .hdr-act{flex-direction:column;gap:10px;margin-top:8px}
  .hdr-act .btn-s{width:100%;height:42px;display:flex;align-items:center;justify-content:center;font-size:15px}
  .mob-btn{display:flex;flex-direction:column;justify-content:center;align-items:center;width:40px;height:40px;padding:0;margin-left:auto}
  .mob-btn span{display:block;width:20px;height:2px;background:currentColor;margin:3px 0;transition:transform 0.25s ease, opacity 0.25s ease;border-radius:1px;transform-origin:center}
  .mob-btn.active span:nth-child(1),
  .hdr.menu-open .mob-btn span:nth-child(1){transform:translateY(8px) rotate(45deg)}
  .mob-btn.active span:nth-child(2),
  .hdr.menu-open .mob-btn span:nth-child(2){opacity:0;transform:scaleX(0)}
  .mob-btn.active span:nth-child(3),
  .hdr.menu-open .mob-btn span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
  body.portal-menu-locked{overflow:hidden !important;touch-action:none}
  .hdr-search-mob{display:block;position:relative;width:100%;margin-bottom:4px}
  .hdr-search-mob input{width:100%;background:rgba(0,0,0,0.06);border:1px solid var(--border-color);border-radius:6px;padding:10px 12px 10px 36px;color:var(--text-primary);font-size:14px;outline:none}
  [data-theme="light"] .hdr-search-mob input{background:rgba(255,255,255,0.8)}
  .hdr-search-mob svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;fill:var(--text-muted)}
  .ct-grid{grid-template-columns:1fr}
  .ftr-btm{flex-direction:column;gap:12px;text-align:center}
  .pg-hero{padding:calc(var(--nav-height) + 24px) 0 32px}
}


/* 非经典风格沿用各自圆角，避免被后面的 5px 规则盖掉 */

body.dark .invert-dark,
[data-theme="dark"] .invert-dark {
  filter: brightness(0) invert(1) !important;
}

/* ── Theme Switch & Segmented Switch ── */
.theme-segmented-switch,
.hdr-theme-toggle-mob {
  display: none !important;
}
.hdr-theme-toggle-desk {
  display: inline-flex !important;
}

@media (max-width: 768px) {
  .hdr-theme-toggle-desk {
    display: none !important;
  }
  .theme-segmented-switch,
  .hdr-theme-toggle-mob {
    display: flex !important;
  }
  .hdr-tools {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 4px 0 !important;
  }
  .hdr-tools .lang-dropdown {
    width: 100% !important;
    position: relative !important;
    display: block !important;
  }
  .hdr-tools .lang-dropdown-btn {
    width: 100% !important;
    height: 44px !important;
    padding: 0 14px !important;
    border-radius: 12px !important;
    background: rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: inherit !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    cursor: pointer !important;
  }
  [data-theme="dark"] .hdr-tools .lang-dropdown-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  .hdr-tools .lang-dropdown-btn .hdr-tool-text {
    display: block !important;
    flex: 1 !important;
    text-align: left !important;
    font-size: 14px !important;
    font-weight: 550 !important;
    white-space: nowrap !important;
  }
  .hdr-tools .lang-dropdown-btn .hdr-tool-chevron {
    display: inline-flex !important;
    width: 16px !important;
    height: 16px !important;
    margin-left: auto !important;
    opacity: 0.6 !important;
    transition: transform 0.22s ease !important;
  }
  .hdr-tools .lang-dropdown.open .lang-dropdown-btn .hdr-tool-chevron {
    transform: rotate(180deg) !important;
  }
  .hdr-tools .lang-dropdown-menu {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin-top: 6px !important;
    box-sizing: border-box !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: none !important;
    box-shadow: none !important;
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 10px !important;
    transition: max-height 0.26s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, visibility 0.2s !important;
    pointer-events: none !important;
  }
  [data-theme="dark"] .hdr-tools .lang-dropdown-menu {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .hdr-tools .lang-dropdown.open .lang-dropdown-menu {
    max-height: 380px !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow-y: auto !important;
    pointer-events: auto !important;
  }
}

/* 保护描边 SVG 避免被全局 .btn-icon svg { fill: currentColor; } 强行填成实心黑圆 */
svg.lang-globe-icon,
svg.lang-globe-icon *,
.theme-seg-btn svg.seg-icon,
.theme-seg-btn svg.seg-icon * {
  fill: none !important;
  stroke: currentColor !important;
}

.theme-segmented-switch {
  position: relative;
  align-items: center;
  width: 100%;
  height: 44px;
  padding: 3px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
[data-theme="dark"] .theme-segmented-switch {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.theme-segmented-switch .theme-switch-slider {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.06);
  transform: translateX(0);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
  pointer-events: none;
  z-index: 1;
}
[data-theme="dark"] .theme-segmented-switch .theme-switch-slider {
  transform: translateX(100%);
  background: #27272a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.theme-seg-btn {
  position: relative;
  z-index: 2;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 550;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease, transform 0.15s ease;
}
.theme-seg-btn:active {
  transform: scale(0.97);
}
.theme-seg-btn .seg-icon {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s ease;
}
html:not([data-theme="dark"]) .theme-seg-btn[data-theme-val="light"] {
  color: var(--text-primary);
  font-weight: 650;
}
html:not([data-theme="dark"]) .theme-seg-btn[data-theme-val="light"] .seg-icon {
  transform: rotate(20deg) scale(1.1);
  stroke: var(--text-primary);
}
html[data-theme="dark"] .theme-seg-btn[data-theme-val="dark"] {
  color: #ffffff;
  font-weight: 650;
}
html[data-theme="dark"] .theme-seg-btn[data-theme-val="dark"] .seg-icon {
  transform: rotate(-15deg) scale(1.1);
  stroke: #ffffff;
}

/* ── Language Dropdown ── */
.lang-dropdown {
  position: relative;
  display: inline-block;
}
.lang-dropdown-btn {
  cursor: pointer;
}
.lang-dropdown-btn .lang-globe-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  display: inline-block;
}
.lang-dropdown-btn .hdr-tool-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.lang-dropdown.open .lang-dropdown-btn .hdr-tool-chevron {
  transform: rotate(180deg);
}

@media (min-width: 769px) {
  .theme-segmented-switch,
  .hdr-theme-toggle-mob {
    display: none !important;
  }
  .hdr-theme-toggle-desk {
    display: inline-flex !important;
  }
  .hdr-tools {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-left: 8px !important;
    width: auto !important;
  }
  .hdr-tools .lang-dropdown {
    display: inline-block !important;
    width: auto !important;
  }
  .hdr-tools .lang-dropdown-btn {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .hdr-tools .lang-dropdown-btn .hdr-tool-text,
  .hdr-tools .lang-dropdown-btn .hdr-tool-chevron {
    display: none !important;
  }
}
.lang-dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 5px;
  min-width: 140px;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  pointer-events: none;
}
.lang-dropdown.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.lang-dropdown-menu a,
.lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  transition: all var(--transition-fast);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lang-item-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 18px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(128, 128, 128, 0.12);
  color: var(--text-muted);
  font-family: monospace;
  flex-shrink: 0;
}
.lang-item-label {
  flex: 1;
  white-space: nowrap;
}
.lang-item-check {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.lang-dropdown-menu a:hover,
.lang-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}
[data-theme="light"] .lang-dropdown-menu a:hover,
[data-theme="light"] .lang-item:hover {
  background: rgba(0, 0, 0, 0.05);
}
.lang-dropdown-menu a.active,
.lang-item.active {
  background: var(--brand-primary);
  color: #ffffff !important;
}
.lang-item.active .lang-item-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.lang-item.active .lang-item-check {
  opacity: 1;
  transform: scale(1);
  color: #ffffff;
}


.portal-notice-bar{display:none;position:fixed;top:0;left:0;right:0;height:45px;z-index:1000;align-items:center;justify-content:center;padding:0 24px;box-sizing:border-box;background:var(--bg-secondary,#111);color:var(--text-primary,#fff);border-bottom:1px solid var(--border-color,rgba(255,255,255,.08));text-align:center}
.portal-notice-bar.is-on{display:flex}
.portal-notice-text{max-width:min(960px,100%);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px}
body.portal-has-notice{padding-top:45px}


/* Base Container */
.about-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 1.5rem 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section */
.abt-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}
.abt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--brand-primary, #6366f1);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.abt-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}
.abt-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}
.abt-title-highlight {
  background: var(--brand-gradient, linear-gradient(135deg, #4f46e5, #6366f1, #3b82f6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.abt-subtitle {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
  max-width: 48rem;
  margin: 0 auto;
}

/* Stats Section */
.abt-stats-wrap {
  width: 100%;
  margin: 2.5rem 0 4rem;
}
.abt-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .abt-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}
.abt-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.abt-stat-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(99, 102, 241, 0.15);
}
.abt-stat-val {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 0.375rem;
}
.abt-stat-val.highlight {
  color: var(--brand-primary, #6366f1);
}
.abt-stat-lbl {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Section Header */
.abt-sec-head {
  text-align: center;
  margin-bottom: 2.5rem;
  width: 100%;
}
.abt-sec-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-primary, #6366f1);
  margin-bottom: 0.5rem;
}
.abt-sec-title {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.abt-sec-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 36rem;
  margin: 0 auto;
}

/* Feature Grid */
.abt-feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
  margin-bottom: 4rem;
}
@media (min-width: 640px) {
  .abt-feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .abt-feat-grid { grid-template-columns: repeat(3, 1fr); }
}
.abt-feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.875rem;
  padding: 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.abt-feat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.4);
}
.abt-feat-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  color: var(--brand-primary, #6366f1);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.abt-feat-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}
.abt-feat-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.abt-feat-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Ecosystem Supported Ribbon */
.abt-eco-section {
  width: 100%;
  margin-bottom: 4rem;
  padding: 2.5rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  text-align: center;
}
.abt-eco-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.abt-eco-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.abt-eco-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 0.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}
.abt-eco-chip:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-1px);
}

/* Custom Admin Content Area */
.abt-custom-content {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto 3rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* CTA Banner */
.abt-cta-box {
  width: 100%;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(99, 102, 241, 0.03) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5);
  margin-top: 1rem;
}
.abt-cta-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 0.75rem;
}
.abt-cta-desc {
  color: var(--text-secondary);
  max-width: 36rem;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.abt-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.abt-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  background: var(--brand-gradient, linear-gradient(135deg, #4f46e5, #6366f1));
  color: #ffffff !important;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
}
.abt-btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(99, 102, 241, 0.45);
}
.abt-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}
.abt-btn-secondary:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary) !important;
  transform: translateY(-1px);
}

/* 赛博黑客与荧光高亮主题下的高对比度按钮样式 */
.cyber-chrome-body .abt-btn-primary {
  background: #00ff66 !important;
  color: #030504 !important;
  border: 1px solid #00ff66 !important;
  font-weight: 800 !important;
  text-shadow: none !important;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.6) !important;
}
.cyber-chrome-body .abt-btn-primary:hover {
  background: #66ffb3 !important;
  color: #030504 !important;
  box-shadow: 0 0 25px #00ff66 !important;
}
.cyber-chrome-body .abt-btn-secondary {
  background: rgba(0, 255, 102, 0.05) !important;
  color: #00ff66 !important;
  border: 1px solid #00ff66 !important;
  box-shadow: inset 0 0 8px rgba(0, 255, 102, 0.1) !important;
}
.cyber-chrome-body .abt-btn-secondary:hover {
  background: rgba(0, 255, 102, 0.15) !important;
  box-shadow: 0 0 18px rgba(0, 255, 102, 0.4) !important;
}

.abt-fai { width: 100%; padding: 0 0 64px; }
.abt-fai-top {
  background: #99edff;
  color: #19191a;
  text-align: center;
  padding: calc(var(--nav-height) + 64px) 24px 72px;
}
.abt-fai-top h1 {
  margin: 0;
  font-family: var(--font-display), inherit;
  font-weight: 500;
  font-size: clamp(2.75rem, 5vw, 3.75rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.abt-fai-top p {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(25, 25, 26, 0.72);
}
.abt-fai-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 860px;
  margin: 48px auto 0;
}
.abt-fai-stats b {
  display: block;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #19191a;
}
.abt-fai-stats span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(25, 25, 26, 0.5);
}
.abt-fai-press {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  max-width: 760px;
  margin: 40px auto 0;
  padding: 26px 28px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--bg-card);
  text-align: left;
}
.abt-fai-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  color: var(--text-primary);
}
.abt-fai-press h2 {
  margin: 2px 0 8px;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.abt-fai-press p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.abt-fai-press a {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}
.abt-fai-press a:hover { color: var(--text-primary); }
.abt-fai-models { max-width: 920px; margin: 64px auto 0; padding: 0 24px; }
.abt-fai-models h2 {
  margin: 0 0 22px;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.abt-fai-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.abt-fai-model {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}
.abt-fai-model svg { flex: 0 0 auto; }
.abt-fai-extra {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 0 24px;
  color: var(--text-secondary);
  line-height: 1.7;
}
@media (max-width: 760px) {
  .abt-fai-top { padding: calc(var(--nav-height) + 32px) 16px 44px; }
  .abt-fai-top h1 { font-size: clamp(2.2rem, 7.5vw, 3.2rem); line-height: 1.15; }
  .abt-fai-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 8px; margin-top: 32px; }
  .abt-fai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .abt-fai-model { min-height: 46px; font-size: 13px; }
  .abt-fai-press { margin-left: 16px; margin-right: 16px; padding: 20px 16px; flex-direction: column; gap: 14px; }
  .abt-fai-models { padding: 0 16px; margin-top: 48px; }
  .abt-fai-extra { padding: 0 16px; }
}

