/* InYourWork static pages unified site footer + language switcher styles. */
/* InYourWork 静态页面统一站点底部 + 语言切换器样式。 */
/* Colors inherit from the page so both light and dark themes stay readable. / 颜色继承页面本身，深浅主题均可读。 */
/* Hidden until translations apply (class set by shared/i18n-head.js for non-English locales). */
/* 翻译应用前隐藏（非英文语言由 shared/i18n-head.js 添加该 class）。 */
html.iyw-i18n-pending body {
  visibility: hidden;
}

/* Locale-gated blocks: only rendered while the matching locale is active. */
/* 按语言显示的内容块：仅在对应语言激活时渲染。 */
html:not([lang="zh-CN"]) [data-i18n-only="zh-CN"] {
  display: none;
}

.iyw-site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  /* Pages end at the body edge; keep breathing room below. / 页面直接到 body 底部，下方留白避免贴边。 */
  margin-bottom: 32px;
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.75;
}

.iyw-site-footer-sep {
  opacity: 0.4;
}

.iyw-lang-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.iyw-lang-switch button {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.iyw-lang-switch button:hover {
  opacity: 0.85;
}

.iyw-lang-switch button.iyw-lang-active {
  opacity: 1;
  font-weight: 600;
}
