/* VJob 登录中心 · 暖米白 + 藏青 + 金黄 · 统一绘本风 */
:root {
  --bg: #FAF6EC; --navy: #2B4A7A; --navy-d: #223A63; --gold: #F5B301; --gold-d: #E0A200;
  --ink: #2B2B2B; --muted: #5C584D; --line: #DDD3BC; --card: #FFFFFF; --err: #A8382A; --r: 16px;
  --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", STSong, "Songti TC", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
  background: var(--bg); color: var(--ink);
  font: 16px/1.65 -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
svg, img { max-width: 100%; }

/* 顶部：Logo · 导航 · 语言药丸（全站只此一份） */
.top { display: flex; align-items: center; gap: 12px; padding: 16px clamp(16px, 4vw, 48px); max-width: 1200px; width: 100%; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.mark { display: inline-block; width: 14px; height: 14px; margin-right: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--navy); }
.links { margin-left: auto; display: flex; gap: 4px; }
.links a { white-space: nowrap; padding: 7px 14px; border-radius: 999px; color: var(--navy); font-weight: 600; text-decoration: none; }
.links a:hover { background: #EFE7D2; }
.links a[aria-current="page"] { background: var(--navy); color: #fff; }
.pill { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.pill span { padding: 3px 11px; border-radius: 999px; color: var(--muted); }
html[lang="zh-CN"] .pill [data-l="zh"], html[lang="en"] .pill [data-l="en"] { background: var(--navy); color: #fff; }
.top .pill { margin-left: 0; }
.top.no-links .pill { margin-left: auto; }

/* 舞台：三分法（插画 1/3 · 卡片 2/3） */
.stage { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 8px clamp(16px, 4vw, 48px) 56px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.scene { min-height: 132px; border-radius: var(--r); border: 1px solid var(--line); background: var(--navy) url("/hero.jpg") center 62% / cover no-repeat; }
.card { width: 100%; max-width: 560px; margin: 0 auto; padding: clamp(22px, 4vw, 40px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
@media (min-width: 900px) {
  .stage { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: stretch; }
  .card { align-self: center; }
  .scene { min-height: 580px; height: 100%; background-position: center bottom; }
}

h1 { margin: 0 0 6px; font-family: var(--serif); font-size: clamp(26px, 4vw, 32px); line-height: 1.25; color: var(--navy); }
.sub { margin: 0 0 24px; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }

/* 表单 */
.field { margin: 0 0 16px; }
label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
input { width: 100%; min-width: 0; height: 46px; padding: 0 14px; font: inherit; color: var(--ink); background: #fff; border: 1px solid #CFC5AC; border-radius: 10px; }
input::placeholder { color: #8B8678; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.cap-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cap-img { flex: none; width: 160px; height: 56px; border: 1px solid #CFC5AC; border-radius: 10px; background: #FFF9E8; overflow: hidden; }
.cap-img svg { display: block; width: 100%; height: 100%; }
.cap-row input { flex: 1 1 120px; letter-spacing: 3px; text-transform: uppercase; }
.linkbtn { margin: 8px 0 0; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 20px; font: inherit; font-weight: 700; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: background-color .15s; }
.btn.primary { background: var(--gold); color: var(--ink); }
.btn.primary:hover { background: var(--gold-d); }
.btn.ghost { margin: 0 0 16px; background: #fff; color: var(--navy); border-color: var(--navy); }
.btn.ghost:hover { background: #F1EBDA; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.msg { min-height: 1.7em; margin: 4px 0 12px; font-size: 14px; }
.msg.err { color: var(--err); }
.msg.ok { color: var(--navy); }
.aux { margin: 18px 0 0; font-size: 14px; }
.aux a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }
.me p { margin: 0 0 16px; }
.em { overflow-wrap: anywhere; color: var(--navy); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (max-width: 420px) {
  .top { gap: 6px; padding: 12px 16px; }
  .brand { font-size: 16px; }
  .mark { margin-right: 10px; }
  .links a { padding: 6px 9px; }
  .pill { font-size: 12px; }
  .pill span { padding: 3px 8px; }
}
