/* Scoped fallback for EdgeHTML and browsers without cascade layers/color-mix.
   Intentionally uses plain colors, margins, flexbox and vh, not Tailwind v4 APIs. */
html.legacy-home { background: #fff; color: #242424; font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif; }
.legacy-home body { margin: 0; background: #fff; color: #242424; font-size: 14px; line-height: 1.5; }
.legacy-home *, .legacy-home *:before, .legacy-home *:after { box-sizing: border-box; }
.legacy-home a { color: inherit; text-decoration: none; }
.legacy-home button { font: inherit; color: inherit; cursor: pointer; }
.legacy-home img { display: block; border: 0; }
.legacy-home svg { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
.legacy-home .hidden, .legacy-home [hidden], .legacy-home .shine-text,
.legacy-home button[aria-label="通知"], .legacy-home button[aria-label="切换语言"] { display: none !important; }
.legacy-home .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.legacy-home [data-home-header] { position: relative; z-index: 50; height: auto; min-height: 64px; background: #fff; border-bottom: 1px solid #eee; }
.legacy-home [data-home-nav] { display: flex; align-items: center; flex-wrap: wrap; width: 100%; min-height: 64px; padding: 8px 16px; }
.legacy-home [data-home-brand] { display: flex; align-items: center; flex-shrink: 0; font-size: 17px; font-weight: 600; margin-right: 12px; }
.legacy-home [data-home-brand] > div { display: flex; align-items: center; width: 48px; height: 32px; margin-right: 8px; }
.legacy-home [data-home-brand] img { width: 48px; height: 32px; object-fit: contain; }
.legacy-home [data-home-brand] > span { display: inline !important; }
.legacy-home [data-home-actions] { display: flex; flex-wrap: wrap; align-items: center; margin-left: auto; }
.legacy-home [data-home-actions] > * { margin-left: 10px; }
.legacy-home [data-home-actions] > a { font-size: 12px; font-weight: 600; }
.legacy-home [data-home-actions] > div { display: flex; align-items: center; position: relative; }
.legacy-home [data-home-actions] a[href="/login"],
.legacy-home [data-home-actions] a[href="/register"],
.legacy-home [data-home-actions] a[href$="/dashboard"] { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px 12px; border-radius: 20px; background: #f3f3f3; color: #333; }
.legacy-home [data-home-actions] a[href="/register"],
.legacy-home [data-home-actions] a[href$="/dashboard"] { background: #f4513b; color: white; }
.legacy-home [data-home-actions] button[aria-label="切换主题"] { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 6px; background: #f5f5f5; border: 0; border-radius: 50%; }
.legacy-home [data-home-actions] > div > div:not([class="block"]) { position: absolute; top: 100%; right: 0; z-index: 60; width: 174px; background: #fff; color: #333; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.legacy-home [data-home-actions] [role="menu"] { padding: 4px 0; }
.legacy-home [data-home-actions] [role="menuitem"] { display: flex; align-items: center; width: 100%; min-height: 50px; padding: 8px 12px; border: 0; background: transparent; text-align: left; }
.legacy-home [role="menuitem"] > svg { margin-right: 8px; }
.legacy-home [role="menuitem"] > span, .legacy-home [role="menuitem"] > span > span { display: block; }
.legacy-home [role="menuitem"] > span > span + span { color: #777; font-size: 11px; }
.legacy-home [role="menuitem"]:hover, .legacy-home [role="menuitem"].bg-brand-subtle { background: #fff0eb; }
.legacy-home [data-system-note] { padding: 8px 12px; color: #777; font-size: 12px; }
.legacy-home main { width: 100%; min-width: 0; }
.legacy-home main section { position: relative; display: flex; align-items: center; min-height: calc(100vh - 64px); padding: 48px; background: #fff; overflow: hidden; }
.legacy-home main section > div:not([data-home-grid]) { display: none; }
.legacy-home [data-home-grid] { position: relative; display: flex; align-items: center; width: 100%; max-width: 1280px; margin: 0 auto; }
.legacy-home [data-home-hero] { flex: 1 1 50%; min-width: 0; text-align: left; margin-right: 48px; }
.legacy-home [data-home-hero] > div:first-child { display: inline-flex; align-items: center; border: 1px solid #ddd; border-radius: 24px; padding: 4px 12px; font-size: 13px; color: #666; margin-bottom: 20px; }
.legacy-home [data-home-hero] > div:first-child > span { width: 6px; height: 6px; border-radius: 50%; background: #10b981; margin-right: 8px; }
.legacy-home [data-home-hero] > div:first-child > span > span { display: none; }
.legacy-home h1 { margin: 0; font-size: 46px; line-height: 1.22; letter-spacing: -1px; font-weight: 700; color: #222; }
.legacy-home h1 [class*="bg-gradient-to-r"] { color: #df6636; background: none; -webkit-text-fill-color: currentColor; }
.legacy-home h1 + p { max-width: 448px; font-size: 16px; color: #666; line-height: 1.8; margin: 20px 0 0; }
.legacy-home [data-home-features] { display: flex; flex-wrap: wrap; margin-top: 28px; max-width: 620px; }
.legacy-home [data-home-features] > div { display: flex; align-items: center; width: 50%; padding: 5px 8px 5px 0; font-size: 13px; color: #666; }
.legacy-home [data-home-features] svg { width: 15px; height: 15px; color: #e67023; margin-right: 6px; }
.legacy-home [data-home-features] span + span { margin-left: 4px; color: #888; }
.legacy-home [data-home-terminal] { flex: 0 1 46%; width: 46%; min-width: 0; max-width: 544px; }
.legacy-home [data-home-terminal] > div { border-radius: 14px; border: 1px solid #e9baa3; background: #fff5ef; overflow: hidden; box-shadow: 0 8px 28px rgba(0,0,0,.08); }
.legacy-home [data-home-terminal] > div > div { display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid #ecd7cc; color: #907b6f; font-family: Consolas, monospace; font-size: 12px; }
.legacy-home [data-home-terminal] > div > div > div { width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; background: #e16b5b; }
.legacy-home [data-home-terminal] > div > div > div:nth-child(2) { background: #d8a441; }
.legacy-home [data-home-terminal] > div > div > div:nth-child(3) { background: #33ac88; }
.legacy-home [data-home-terminal] [aria-label] { cursor: pointer; }
.legacy-home [data-home-terminal] > div > div > span:last-child { margin-left: auto; color: #b94d27; }
.legacy-home pre { margin: 0; padding: 16px; overflow-x: auto; color: #714634; font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 1.65; white-space: pre; }
.legacy-home code { font-family: inherit; }
.legacy-home code span { color: inherit; }
.legacy-home [data-home-terminal] > p { margin: 10px 0 0; text-align: center; color: #888; font-size: 12px; }
.legacy-home a:focus, .legacy-home button:focus, .legacy-home [role="button"]:focus { outline: 2px solid #d96a34; outline-offset: 2px; }
html.legacy-home.dark, .legacy-home.dark body, .legacy-home.dark main section { background: #0b0b0b; color: #ededed; }
.legacy-home.dark [data-home-header] { background: #111; border-color: #272727; }
.legacy-home.dark h1 { color: #ededed; }
.legacy-home.dark h1 [class*="bg-gradient-to-r"] { color: #ffaf79; }
.legacy-home.dark h1 + p, .legacy-home.dark [data-home-features] > div { color: #a9a9a9; }
.legacy-home.dark [data-home-hero] > div:first-child { border-color: #333; color: #aaa; }
.legacy-home.dark [data-home-actions] a[href="/login"], .legacy-home.dark [data-home-actions] button[aria-label="切换主题"] { background: #202020; color: #eee; }
.legacy-home.dark [data-home-actions] > div > div:not([class="block"]) { background: #202020; border-color: #444; color: #eee; }
.legacy-home.dark [role="menuitem"]:hover, .legacy-home.dark [role="menuitem"].bg-brand-subtle { background: #3c2921; }
.legacy-home.dark [data-home-terminal] > div { background: #19120e; border-color: #65402c; }
.legacy-home.dark [data-home-terminal] > div > div { border-color: #473022; color: #ad9484; }
.legacy-home.dark pre { color: #dfb491; }
@media (max-width: 1050px) {
  .legacy-home main section { padding: 36px 24px; }
  .legacy-home [data-home-grid] { flex-direction: column; }
  .legacy-home [data-home-hero] { flex: none; width: 100%; margin: 0 0 36px; text-align: center; }
  .legacy-home h1 + p { margin-left: auto; margin-right: auto; }
  .legacy-home [data-home-features] { margin-left: auto; margin-right: auto; text-align: left; }
  .legacy-home [data-home-terminal] { flex: none; width: 100%; max-width: 544px; }
}
@media (max-width: 600px) {
  .legacy-home [data-home-nav] { padding: 8px; }
  .legacy-home [data-home-brand] { margin-right: 4px; }
  .legacy-home [data-home-brand] > span { display: none !important; }
  .legacy-home [data-home-brand] > div { margin-right: 0; }
  .legacy-home [data-home-actions] > * { margin-left: 6px; }
  .legacy-home [data-home-actions] a[href="/login"], .legacy-home [data-home-actions] a[href="/register"] { padding: 6px 9px; }
  .legacy-home h1 { font-size: 30px; line-height: 1.3; }
  .legacy-home [data-home-features] > div { width: 100%; padding: 6px 0; }
  .legacy-home pre { font-size: 11px; }
}
