/* ── 语言切换：CSS 驱动，无闪烁 ── */
html.lang-zh [data-lang="ja"] { display: none !important; }
html.lang-ja [data-lang="zh"] { display: none !important; }

/* ── CSS 变量（全局共享） ── */
:root {
  --primary:    #1A3D6B;
  --primary-l:  #2C5F8A;
  --primary-d:  #0E2540;
  --accent:     #E8A838;
  --accent-l:   #F5C355;
  --green:      #1D8A4E;
  --green-bg:   #E6F7EE;
  --red:        #C92B2B;
  --blue:       #3A82C4;
  --bg:         #F0F2F5;
  --surface:    #FFFFFF;
  --surface2:   #F5F7FA;
  --border:     #DEE2E8;
  --text:       #111827;
  --text2:      #4B5563;
  --text3:      #9CA3AF;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06);
  --shadow:     0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.14);
  --radius:     12px;
  --radius-sm:  8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html.lang-ja body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}
a { text-decoration: none; color: inherit; }
