/* 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("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%20400%20500%27%20preserveAspectRatio=%27xMidYMax%20slice%27%3E%3Crect%20width=%27400%27%20height=%27500%27%20fill=%27%232B4A7A%27/%3E%3Ccircle%20cx=%27232%27%20cy=%27150%27%20r=%2738%27%20fill=%27%23F5B301%27/%3E%3Ccircle%20cx=%2762%27%20cy=%2774%27%20r=%272.2%27%20fill=%27%23FAF6EC%27/%3E%3Ccircle%20cx=%27118%27%20cy=%27128%27%20r=%271.6%27%20fill=%27%23FAF6EC%27/%3E%3Ccircle%20cx=%27176%27%20cy=%2758%27%20r=%272%27%20fill=%27%23FAF6EC%27/%3E%3Ccircle%20cx=%27344%27%20cy=%2764%27%20r=%271.8%27%20fill=%27%23FAF6EC%27/%3E%3Ccircle%20cx=%2736%27%20cy=%27190%27%20r=%271.6%27%20fill=%27%23FAF6EC%27/%3E%3Ccircle%20cx=%27370%27%20cy=%27236%27%20r=%272%27%20fill=%27%23FAF6EC%27/%3E%3Cpath%20d=%27M0%20340%20Q110%20276%20220%20326%20T400%20304%20V500%20H0Z%27%20fill=%27%2335598F%27/%3E%3Cpath%20d=%27M0%20398%20Q130%20346%20262%20392%20T400%20376%20V500%20H0Z%27%20fill=%27%23223A63%27/%3E%3Cpath%20d=%27M142%20500%20L188%20380%20H214%20L274%20500Z%27%20fill=%27%23FAF6EC%27/%3E%3Crect%20x=%27176%27%20y=%27346%27%20width=%2750%27%20height=%2736%27%20fill=%27%23FAF6EC%27/%3E%3Cpath%20d=%27M169%20348%20L201%20318%20L233%20348Z%27%20fill=%27%23F5B301%27/%3E%3Crect%20x=%27193%27%20y=%27358%27%20width=%2716%27%20height=%2724%27%20fill=%27%232B4A7A%27/%3E%3Crect%20x=%27211%27%20y=%27354%27%20width=%279%27%20height=%279%27%20fill=%27%23F5B301%27/%3E%3C/svg%3E") center 78% / 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: start; }
  .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; }
}
