/*
 * [INPUT]: HTML 页面语言、安全区与站点按钮颜色令牌。
 * [OUTPUT]: 固定在右下角的客服链接与中英文案显隐。
 * [POS]: 官网、账户、运营后台和 PWA 共用的客服样式。
 * [PROTOCOL]: 变更时更新此头部，然后检查 CLAUDE.md
 */
a.site-support {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 20;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--button-primary, #147640);
  color: #fff;
  box-shadow: 0 4px 16px rgb(0 0 0 / 18%);
  font: 600 14px/1.25 system-ui, sans-serif;
  text-decoration: none;
}

a.site-support:hover { text-decoration: underline; }
a.site-support:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
.site-support-en,
:root:lang(en) .site-support-zh { display: none; }
:root:lang(en) .site-support-en { display: inline; }
