/* Standalone SVG masks avoid dependence on the bundled SVG sprite. */
html .header-bar .header-right { --x-action-color: #253247; }
html[theme-mode="dark"] .header-bar .header-right { --x-action-color: #f1f5f9; }
html .header-bar .header-right button.t-button--variant-text {
  position: relative;
  color: var(--x-action-color) !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
html .header-bar .header-right button.t-button--variant-text:is([title="系统通知"], [title="个性化配置"], [title="切换暗黑模式"], [title="切换明亮模式"]) .t-icon {
  display: none !important;
}
html .header-bar .header-right button.t-button--variant-text::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background-color: currentColor;
  -webkit-mask: var(--x-action-icon) center / contain no-repeat;
  mask: var(--x-action-icon) center / contain no-repeat;
}
html .header-bar .header-right button[title="系统通知"] {
  --x-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M10 21h4'/%3E%3C/svg%3E");
}
html .header-bar .header-right button[title="个性化配置"] {
  --x-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 3-.5 2-2 1-2-.5-2 3.5L4 10.5v3L2.5 15l2 3.5 2-.5 2 1 .5 2h4l.5-2 2-1 2 .5 2-3.5-1.5-1.5v-3L20 9l-2-3.5-2 .5-2-1-.5-2z'/%3E%3Ccircle cx='11.5' cy='12' r='3'/%3E%3C/svg%3E");
}
html .header-bar .header-right button[title="切换暗黑模式"] {
  --x-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 13A9 9 0 0 1 11 3.2 9 9 0 1 0 20.8 13Z'/%3E%3C/svg%3E");
}
html .header-bar .header-right button[title="切换明亮模式"] {
  --x-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2m0 16v2M2 12h2m16 0h2M5 5l1.5 1.5m11 11L19 19M5 19l1.5-1.5m11-11L19 5'/%3E%3C/svg%3E");
}
html .header-bar .header-right button.t-button--variant-text:hover { color: #2563eb !important; }
html[theme-mode="dark"] .header-bar .header-right button.t-button--variant-text:hover { color: #93c5fd !important; }
html .header-bar .header-right button.t-button--variant-text:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }
