/* ============================================================
   森焱智作官网 · 全局样式  v1.0.0
   主色：森焱绿 #17864B→#2FBE6E  焰橙 #F5821F→#FFB612
   ============================================================ */
:root {
  --green: #17864B;
  --green-lt: #2FBE6E;
  --orange: #F5821F;
  --orange-lt: #FFB612;
  --ink: #14231B;
  --ink-2: #41544A;
  --muted: #6B7F73;
  --bg-alt: #F4FAF6;
  --line: #E3EFE7;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(20, 60, 40, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color: var(--ink); background: #fff; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: all .25s ease; white-space: nowrap;
}
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-lt) 55%, var(--orange-lt) 130%);
  color: #fff; box-shadow: 0 6px 20px rgba(23, 134, 75, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(23, 134, 75, .45); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-outline { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* ---------- 公告条 ---------- */
.announce {
  background: linear-gradient(90deg, #0E1F16, #14532D 55%, #7C3D10);
  color: #E8F5EC; font-size: 13.5px; position: relative; z-index: 60; cursor: pointer;
}
.announce-inner { display: flex; align-items: center; gap: 10px; padding: 9px 24px; flex-wrap: wrap; }
.announce-tag {
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  color: #fff; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 6px;
}
.announce-link { color: #FFD48A; font-weight: 600; margin-left: auto; }
.announce-close { background: none; border: none; color: #9DBFAA; font-size: 18px; cursor: pointer; padding: 0 2px; }
.announce-close:hover { color: #fff; }

/* ---------- 导航 ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(20,60,40,.08); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.nav-logo-name { font-size: 19px; font-weight: 800; letter-spacing: 1px; }
.nav-menu { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  background: none; border: none; font: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--green); background: var(--bg-alt); }
.caret { font-size: 10px; color: var(--muted); }
.badge {
  font-size: 10.5px; font-weight: 700; color: var(--orange);
  background: #FFF3E4; padding: 1px 7px; border-radius: 99px; margin-left: 6px;
}
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 300px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px;
  display: none; grid-template-columns: 1fr 1fr; gap: 8px 22px;
}
.nav-item.has-drop:hover .dropdown, .nav-item.has-drop.open .dropdown { display: grid; }
.drop-title { font-size: 12px; font-weight: 700; color: var(--muted); padding: 6px 10px 2px; letter-spacing: .5px; }
.drop-link { display: block; padding: 7px 10px; border-radius: 9px; font-size: 14px; color: var(--ink-2); transition: all .18s; }
.drop-link:hover { background: var(--bg-alt); color: var(--green); }
/* 模型导航 · 系列归类（v1.3.6） */
.dropdown.model-drop { min-width: 430px; grid-template-columns: 1fr; gap: 0; }
.series-head { font-size: 13.5px; font-weight: 800; color: var(--green); padding: 6px 10px 4px; letter-spacing: .5px; }
.drop-sub { font-size: 12px; font-weight: 700; color: var(--ink-2); padding: 9px 10px 2px; }
.drop-link .spec { font-size: 11.5px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.drop-note { font-size: 11.5px; color: var(--muted); padding: 2px 10px 4px; line-height: 1.6; }
.series-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 10px; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
.series-name { padding: 9px 11px; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); transition: all .18s; }
.series-name:hover { background: var(--bg-alt); color: var(--green); }
.series-name span { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 92px 0 84px; background: linear-gradient(180deg, #F4FBF6 0%, #FFFFFF 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; }
.orb-green { width: 480px; height: 480px; background: radial-gradient(circle, #7FE0A8, transparent 65%); top: -140px; left: -120px; }
.orb-orange { width: 420px; height: 420px; background: radial-gradient(circle, #FFCE8F, transparent 65%); bottom: -160px; right: -100px; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(23,134,75,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(23,134,75,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--green); background: #E7F6ED; border: 1px solid #CBE9D6;
  padding: 5px 14px; border-radius: 99px; margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(36px, 5.2vw, 60px); font-weight: 900; line-height: 1.18; letter-spacing: 1px; min-height: 1.25em;
  background: linear-gradient(100deg, var(--ink) 30%, var(--green) 65%, var(--orange) 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 560px; }
.hero-sub b { color: var(--green); }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta { margin-top: 16px; font-size: 13px; color: var(--muted); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
  position: relative; width: min(360px, 82%); border-radius: 28px; padding: 36px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.hero-card-glow {
  position: absolute; inset: -30px; z-index: -1; border-radius: 40px; filter: blur(46px); opacity: .5;
  background: conic-gradient(from 40deg, #7FE0A8, #FFCE8F, #7FE0A8);
}
.hero-logo-img { border-radius: 18px; width: 100%; display: block; }
.hero-chip {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 99px;
  padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite; white-space: nowrap;
}
.hero-chip-1 { top: 4%; left: 2%; animation-delay: .4s; }
.hero-chip-2 { top: 30%; right: -4%; animation-delay: 1s; }
.hero-chip-3 { bottom: 12%; left: -4%; animation-delay: 1.6s; }
.hero-chip-4 { bottom: -6%; right: 8%; animation-delay: 2.2s; }
.hero-chip-5 { top: -8%; right: 14%; animation-delay: 2.8s; }
.hero-chip-6 { top: 52%; left: -9%; animation-delay: 3.4s; }
.hero-chip-7 { top: 58%; right: -9%; animation-delay: 4s; }
.hero-chip-8 { bottom: -4%; left: -9%; animation-delay: 4.6s; }
@media (max-width: 720px) {
  .hero-chip-5 { right: -2%; top: -6%; }
  .hero-chip-6 { left: -2%; }
  .hero-chip-7 { right: -2%; }
  .hero-chip-8 { left: -2%; bottom: -2%; }
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 统计 ---------- */
.stats { padding: 40px 0 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 26px 12px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.stat-num { font-size: 40px; font-weight: 900; color: var(--green); line-height: 1.1; }
.stat-label { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ---------- 区块通用 ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(160deg, #0E1F16 0%, #14532D 100%); color: #EAF6EE; }
.section-dark .sec-title { color: #fff; }
.section-dark .sec-sub { color: #A9CDB8; }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: 1px; }
.sec-sub { margin-top: 12px; font-size: 16px; color: var(--muted); }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 关于 ---------- */
.about .sec-title { text-align: center; }
.about-p { max-width: 860px; margin: 18px auto 0; font-size: 16.5px; color: var(--ink-2); text-align: center; }

/* ---------- 产品卡 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px 30px;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px;
}
.product-card h3 { font-size: 20px; margin-bottom: 10px; }
.card-desc { font-size: 14.5px; color: var(--ink-2); min-height: 108px; }
.card-feats { list-style: none; margin: 16px 0 20px; }
.card-feats li { font-size: 13.5px; color: var(--muted); padding: 4px 0 4px 22px; position: relative; }
.card-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.card-link { font-size: 14.5px; font-weight: 700; color: var(--green); }
.card-link:hover { color: var(--orange); }

/* ---------- 模型能力 ---------- */
.mod-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.mod-tab {
  padding: 10px 26px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .22s;
}
.mod-tab:hover { border-color: var(--green); color: var(--green); }
.mod-tab.active { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(23,134,75,.3); }
.mod-panel { max-width: 960px; margin: 0 auto; }
.mod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.mod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: all .25s; }
.mod-card:hover { border-color: var(--green-lt); box-shadow: var(--shadow); transform: translateY(-3px); }
.mod-card h4 { font-size: 15.5px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mod-card .tag { font-size: 10.5px; color: var(--orange); background: #FFF3E4; border-radius: 99px; padding: 1px 8px; font-weight: 700; }
.mod-card p { font-size: 13px; color: var(--muted); }

/* ---------- 企业服务 ---------- */
.ent-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 34px 30px; transition: all .3s; }
.ent-card:hover { background: rgba(255,255,255,.10); transform: translateY(-6px); }
.ent-num { font-size: 15px; font-weight: 800; color: var(--orange-lt); letter-spacing: 2px; margin-bottom: 14px; }
.ent-card h3 { font-size: 19px; margin-bottom: 12px; color: #fff; }
.ent-card p { font-size: 14.5px; color: #BBD8C6; }
.ent-cta {
  margin-top: 44px; display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap;
  font-size: 17px; font-weight: 600; color: #DFF2E5;
}

/* ---------- 场景 ---------- */
.scene-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; transition: all .25s; }
.scene-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CBE9D6; }
.scene-emoji { font-size: 32px; margin-bottom: 12px; }
.scene-card h4 { font-size: 16px; margin-bottom: 6px; }
.scene-card p { font-size: 13px; color: var(--muted); }

/* ---------- API ---------- */
.api-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
.api-info h3 { font-size: 24px; margin-bottom: 14px; }
.api-info p { font-size: 15px; color: var(--ink-2); }
.api-list { list-style: none; margin: 20px 0 26px; }
.api-list li { padding: 7px 0; font-size: 14px; color: var(--ink-2); }
.api-list code {
  font-family: Consolas, "Courier New", monospace; font-size: 13px;
  background: #E9F5EE; color: var(--green); padding: 2px 9px; border-radius: 7px; margin-right: 8px;
}
.api-code { background: #0D1B13; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #1E3A2A; }
.code-head { display: flex; align-items: center; gap: 7px; padding: 13px 18px; background: #12271B; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot:nth-child(1) { background: #F5821F; }
.dot:nth-child(2) { background: #FFB612; }
.dot:nth-child(3) { background: #2FBE6E; }
.code-title { margin-left: auto; font-size: 12px; color: #7FA98E; }
.api-code pre {
  padding: 24px 22px; overflow-x: auto;
  font-family: Consolas, "Courier New", monospace; font-size: 13.5px; line-height: 1.75; color: #CDE8D6;
}

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--green) 0%, #14532D 55%, #7C3D10 110%); padding: 80px 0; text-align: center; color: #fff; }
.cta-inner h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; }
.cta-inner p { margin: 14px 0 30px; font-size: 16px; color: #D8EFE0; }
.cta-inner .hero-cta { justify-content: center; }

/* ---------- 页脚 ---------- */
.footer { background: #0A150F; color: #9DBFAA; padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid #1C3326; }
.footer-logo { width: 72px; border-radius: 14px; margin-bottom: 14px; }
.footer-slogan { color: #E4F3E9; font-weight: 700; font-size: 15px; }
.footer-domain { font-size: 13px; color: #6F8F7C; margin-top: 4px; font-family: Consolas, monospace; }
.footer-biz { font-size: 12.5px; color: #5F7F6E; margin-top: 10px; }
.footer-col h5 { color: #E4F3E9; font-size: 14.5px; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; padding: 5px 0; color: #9DBFAA; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 12px; }
.social-dot { font-size: 11.5px; border: 1px solid #2A4A37; border-radius: 99px; padding: 4px 12px; cursor: pointer; }
.social-dot:hover { border-color: var(--green-lt); color: #fff; }
.footer-bottom { display: flex; justify-content: center; align-items: center; gap: 10px 22px; flex-wrap: wrap; padding-top: 22px; font-size: 12.5px; color: #5F7F6E; text-align: center; }
.beian { color: inherit; text-decoration: none; }
.beian:hover { color: #9CCDB2; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 30px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .api-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .nav-menu {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
    background: #fff; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 84px 20px 20px; box-shadow: -8px 0 30px rgba(0,0,0,.12); transition: right .3s; z-index: 55;
    overflow-y: auto;
  }
  .nav-menu.open { right: 0; }
  .nav-burger { display: block; z-index: 56; }
  .dropdown { position: static; display: none; grid-template-columns: 1fr; box-shadow: none; border: none; padding: 0 0 0 14px; }
  .nav-item.has-drop.open .dropdown { display: block; }
  .dropdown.model-drop { min-width: 0; }
  .series-row { grid-template-columns: 1fr; }
  .nav-actions .btn-ghost { display: none; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .stats-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 12px; }
  .footer-top { grid-template-columns: 1fr; }
  .announce-text { display: none; }
  .section { padding: 64px 0; }
  .hero { padding: 60px 0; }
  .card-desc { min-height: 0; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ============================================================
   登录 / 注册弹窗 & 导航用户态  v1.1.0
   ============================================================ */
/* ---------- 导航用户态 ---------- */
.nav-user { display: flex; align-items: center; gap: 10px; }
.user-chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 6px 5px 14px; cursor: default;
}
.user-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--green), var(--green-lt));
  color: #fff; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.user-name { font-size: 14px; font-weight: 700; color: var(--ink); max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-bal { font-size: 12px; color: var(--green); font-weight: 700; }
.user-quit {
  border: none; background: #fff; color: var(--muted); font-size: 12px;
  border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; cursor: pointer; transition: all .2s;
}
.user-quit:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- 弹窗 ---------- */
.auth-mask {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(10, 21, 15, .55); backdrop-filter: blur(6px);
}
.auth-mask.open { display: flex; }
.auth-modal {
  position: relative; width: 420px; max-width: 100%; max-height: 92vh; overflow-y: auto;
  background: #fff; border-radius: 24px; padding: 34px 34px 26px;
  box-shadow: 0 24px 80px rgba(10, 30, 20, .35);
  animation: modalIn .28s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.auth-close {
  position: absolute; top: 14px; right: 16px; width: 34px; height: 34px;
  border: none; border-radius: 50%; background: var(--bg-alt); color: var(--muted);
  font-size: 20px; cursor: pointer; transition: all .2s;
}
.auth-close:hover { background: #FFE9D4; color: var(--orange); }
.auth-head { text-align: center; margin-bottom: 22px; }
.auth-logo { width: 58px; height: 58px; border-radius: 14px; margin: 0 auto 12px; }
.auth-head h3 { font-size: 22px; font-weight: 800; }
.auth-head-sub { font-size: 13px; color: var(--muted); margin-top: 5px; }
.auth-tabs {
  display: flex; background: var(--bg-alt); border-radius: 12px; padding: 4px; margin-bottom: 22px;
}
.auth-tab {
  flex: 1; border: none; background: none; padding: 9px 0; border-radius: 9px;
  font: inherit; font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .22s;
}
.auth-tab.active { background: #fff; color: var(--green); box-shadow: 0 2px 8px rgba(20,60,40,.12); }
.a-field { margin-bottom: 15px; }
.a-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.a-field input {
  width: 100%; padding: 11px 14px; font: inherit; font-size: 14.5px;
  border: 1.5px solid var(--line); border-radius: 12px; outline: none; transition: border .2s, box-shadow .2s;
  background: #FCFEFC;
}
.a-field input:focus { border-color: var(--green-lt); box-shadow: 0 0 0 3px rgba(47,190,110,.14); }
.a-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.a-code-row { display: flex; gap: 10px; }
.a-code-row input { flex: 1; }
.a-sms-btn {
  flex: none; border: 1.5px solid var(--green); background: #E7F6ED; color: var(--green);
  font: inherit; font-size: 13.5px; font-weight: 700; border-radius: 12px; padding: 0 16px; cursor: pointer;
  transition: all .2s;
}
.a-sms-btn:hover:not(:disabled) { background: var(--green); color: #fff; }
.a-sms-btn:disabled { border-color: var(--line); background: var(--bg-alt); color: var(--muted); cursor: not-allowed; }
.a-err { min-height: 20px; font-size: 13px; color: #D64545; margin: -4px 0 8px; }
.a-submit {
  width: 100%; border: none; cursor: pointer; padding: 13px 0; border-radius: 12px;
  font: inherit; font-size: 16px; font-weight: 800; color: #fff; letter-spacing: 4px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-lt) 55%, var(--orange-lt) 140%);
  box-shadow: 0 6px 18px rgba(23,134,75,.35); transition: all .25s;
}
.a-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(23,134,75,.45); }
.a-submit:disabled { opacity: .6; cursor: not-allowed; }
.a-foot { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--muted); }
.a-foot a { color: var(--green); font-weight: 600; }
.a-foot a:hover { color: var(--orange); }
.hidden { display: none !important; }

/* ---------- 轻量 Toast（登录/注册反馈） ---------- */
.sy-toast {
  position: fixed; left: 50%; top: 82px; z-index: 200;
  transform: translateX(-50%) translateY(-14px);
  background: rgba(14, 31, 22, .94); color: #fff; border: 1px solid rgba(255,255,255,.12);
  padding: 11px 22px; border-radius: 14px; font-size: 14px; font-weight: 600;
  box-shadow: 0 14px 40px rgba(10, 30, 20, .35);
  opacity: 0; pointer-events: none; transition: opacity .28s, transform .28s;
}
.sy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 480px) {
  .auth-modal { padding: 26px 20px 20px; border-radius: 18px; }
  .a-field-row { grid-template-columns: 1fr; }
  .user-bal { display: none; }
}
