/* 登录页 / 邀请页的 Vercel 式黑白极简外观（html.gs，全站统一），和工作台 theme-geist.css 一致：
 * 纯黑底、近黑面板、1px 灰线、白底黑字主按钮、Geist 字体。只覆盖页面里的配色变量和线条。 */
html.gs { color-scheme: dark; --bg: #000; --panel: #0a0a0a; --brand: #0a0a0a; --ink: #ededed; --sub: #a1a1a1; --muted: #8f8f8f;
  --line: #333; --accent: #ededed; --accent-hover: #ccc; --on-accent: #0a0a0a; --danger: #ff7a7e; --danger-soft: rgba(255, 97, 102, .12);
  --font: "Geist", Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; --mono: "Geist Mono", ui-monospace, Menlo, monospace; }
html.gs body { background: #000; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
html.gs img[src*="brand/mark.svg"] { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 56 A33 33 0 0 0 15 21 A33 33 0 0 0 50 56Z M50 56 A33 33 0 0 1 85 21 A33 33 0 0 1 50 56Z' fill='%23ededed'/%3E%3Crect x='45.5' y='50' width='9' height='34' rx='4.5' fill='%23ededed'/%3E%3C/svg%3E"); }
html.gs .orbit { filter: invert(1); opacity: .035; }
html.gs .brand { background: radial-gradient(120% 80% at 0% 0%, #161616, #050505 60%); border: 1px solid #242424; border-radius: 12px; color: var(--ink); }
html.gs :is(.form-side, .card) { background: #000; border: 0; border-radius: 12px; color: var(--ink); box-shadow: none; }
html.gs .card { background: #0a0a0a; border: 1px solid #242424; }
html.gs .logo-tile { background: transparent; border: 1px solid #333; border-radius: 8px; }
html.gs .logo-tile b { color: var(--ink); letter-spacing: -.02em; } html.gs .logo-tile b span { color: var(--muted); } html.gs .logo-tile small { color: var(--muted); }
html.gs .headline h1, html.gs h1 { color: var(--ink); font-weight: 600; letter-spacing: -.05em; }
html.gs .headline p { color: var(--sub); }
html.gs .title { font-weight: 600; letter-spacing: -.04em; }
html.gs :is(.input, input) { background: #0a0a0a; color: var(--ink); border: 1px solid #333; border-radius: 6px; }
html.gs .input:hover { border-color: #454545; }
html.gs .input:focus { border-color: #8f8f8f; box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }
html.gs .sso { background: #0a0a0a; color: var(--ink); border: 1px solid #333; border-radius: 6px; }
html.gs .sso:hover { background: #1a1a1a; border-color: #454545; }
html.gs .sso svg path[fill="#1a1a1a"] { fill: #ededed; }
html.gs :is(.submit, .btn-link) { background: #ededed; color: #0a0a0a; border: 1px solid #ededed; border-radius: 6px; font-weight: 500; }
html.gs :is(.submit, .btn-link):hover { background: #ccc; border-color: #ccc; }
html.gs :is(.submit, .sso, .link, .pw button):focus-visible { outline: none; box-shadow: 0 0 0 1px #000, 0 0 0 3px #52a8ff; }
html.gs .or::before, html.gs .or::after { background: #242424; }
html.gs .err { background: var(--danger-soft); color: var(--danger); border: 1px solid rgba(255, 97, 102, .35); border-radius: 6px; }
html.gs .msg { background: #0a0a0a; border: 1px solid #242424; border-radius: 6px; }
html.gs .link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
html.gs ::placeholder { color: #6b6b6b; }
html.gs .spin { border-color: #333; border-top-color: #ededed; }

/* 登录页左侧：网格 + 光晕 + 渐变标题 + 浮动的产品快照（与首页同一套视觉）；右侧表单加一圈渐变细边 */
html.gs .brand { position: relative; isolation: isolate; overflow: hidden; background: #050505; border-color: #1f1f1f; justify-content: flex-start; gap: 40px; }
html.gs .brand::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(#1a1a1a 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, #1a1a1a 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 25%, transparent 75%); }
html.gs .brand::after { content: ""; position: absolute; left: -10%; top: -30%; width: 120%; height: 80%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(82, 168, 255, .22), rgba(191, 122, 240, .12) 50%, transparent 75%); filter: blur(24px); animation: lg-glow 10s ease-in-out infinite alternate; }
@keyframes lg-glow { to { transform: translate(6%, 4%) scale(1.08); opacity: .8; } }
html.gs .lg-pill { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px 0 5px; border: 1px solid #333; border-radius: 999px; background: rgba(10, 10, 10, .7); font-size: 12.5px; color: #a1a1a1; margin-bottom: 22px; }
html.gs .lg-pill b { font: 500 10.5px var(--mono); color: #000; background: #ededed; border-radius: 999px; padding: 2px 8px; }
html.gs .headline h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.055em; background: linear-gradient(180deg, #fff 30%, #8f8f8f); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.gs .headline p { margin-top: 18px; font-size: 16px; }
html.gs .lg-shot { position: relative; margin-top: auto; max-width: 460px; }
html.gs .lg-win { border-radius: 12px; background: rgba(10, 10, 10, .9); border: 1px solid #242424; box-shadow: 0 30px 80px -20px rgba(82, 168, 255, .25), 0 20px 60px rgba(0, 0, 0, .8); overflow: hidden; animation: lg-float 7s ease-in-out infinite; }
@keyframes lg-float { 50% { transform: translateY(-6px); } }
html.gs .lg-top { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid #1f1f1f; }
html.gs .lg-top i { width: 8px; height: 8px; border-radius: 50%; background: #2a2a2a; }
html.gs .lg-top span { margin-left: auto; font: 500 11px var(--mono); color: #8f8f8f; }
html.gs .lg-kpis { display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 14px 0; gap: 8px; }
html.gs .lg-kpis small { display: block; font-size: 11px; color: #8f8f8f; } html.gs .lg-kpis b { font-size: 22px; font-weight: 600; letter-spacing: -.04em; color: #ededed; }
html.gs .lg-kpis em { font: normal 500 11px var(--mono); color: #3ecf8e; margin-left: 4px; }
html.gs .lg-chart { display: block; width: 100%; height: 80px; margin-top: 6px; }
html.gs .lg-line { stroke-dasharray: 500; stroke-dashoffset: 500; animation: lg-draw 2.4s .3s ease forwards; } @keyframes lg-draw { to { stroke-dashoffset: 0; } }
html.gs .lg-toast { position: absolute; right: -14px; top: -22px; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: #111; border: 1px solid #333; font-size: 13px; color: #a1a1a1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .7); opacity: 0; animation: lg-pop .6s 1.6s cubic-bezier(.2, .9, .3, 1.3) forwards; }
html.gs .lg-toast b { color: #ededed; font-weight: 500; }
html.gs .lg-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 0 4px rgba(62, 207, 142, .18); }
@keyframes lg-pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
html.gs .company { display: flex; gap: 22px; flex-wrap: wrap; font: 500 12.5px var(--mono); color: #5e5e5e; }
html.gs .form-side form { position: relative; padding: 36px 32px 30px; border-radius: 16px; background: #0a0a0a; max-width: 420px;
  box-shadow: 0 0 0 1px #242424, 0 30px 80px -30px rgba(191, 122, 240, .25); }
html.gs .form-side form::before { content: ""; position: absolute; inset: -1px; border-radius: 17px; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, #454545, transparent 40%, transparent 70%, #333); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
html.gs .title { font-size: 28px; }
@media (max-width: 860px) { html.gs .lg-shot { display: none; } html.gs .brand { gap: 24px; } html.gs .form-side form { padding: 26px 20px; } }
@media (prefers-reduced-motion: reduce) { html.gs .brand::after, html.gs .lg-win, html.gs .lg-line, html.gs .lg-toast { animation: none !important; } html.gs .lg-line { stroke-dashoffset: 0; } html.gs .lg-toast { opacity: 1; } }
