/* ✅ 主发布按钮自定义样式 */
.compose-form__submit > button.button[type="submit"] {
  position: relative;
  text-indent: -9999px;
  background-color: transparent !important;
  color: gold !important;
  border: 2px solid gold !important;
  border-radius: 4px;
  padding: 6px 40px;   /* 更宽松 */
  white-space: nowrap;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  line-height: normal;        /* ✅ 修复按钮高度 */
  min-width: auto;
  height: auto;
}

/* ✅ 使用伪元素显示自定义文字 */
.compose-form__submit > button.button[type="submit"]::after {
  content: "荧光闪烁！";
  display: block;
  text-indent: 0;
  line-height: 1.2;
  color: gold !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

/* ✅ 多语言支持 */
:lang(en) .compose-form__submit > button.button[type="submit"]::after {
  content: "Lumos!";
}
:lang(zh-TW) .compose-form__submit > button.button[type="submit"]::after,
:lang(zh-HK) .compose-form__submit > button.button[type="submit"]::after {
  content: "路摸思！";
}

/* ✅ 首页右上角按钮样式：保持与发布按钮一致 */
.ui__header__links > a[href="/publish"] {
  position: relative;
  text-indent: -9999px;
  background-color: transparent !important;
  color: gold !important;
  border: 2px solid gold !important;
  border-radius: 4px;
  padding: 6px 40px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  line-height: normal;
}

/* ✅ 显示伪元素文字 */
.ui__header__links > a[href="/publish"]::after {
  content: "荧光闪烁！";
  text-indent: 0;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: gold !important;
  white-space: nowrap;
  font-weight: bold;
  font-size: 14px;
}

/* ✅ 多语言支持 */
:lang(en) .ui__header__links > a[href="/publish"]::after {
  content: "Lumos!";
}

:lang(zh-TW) .ui__header__links > a[href="/publish"]::after,
:lang(zh-HK) .ui__header__links > a[href="/publish"]::after {
  content: "路摸思！";
}

