/* Anthropic Serif：全局字体覆盖，中文使用衬线字体回退。 */
@font-face {
  font-family: "Anthropic Serif";
  src: url("./fonts/AnthropicSerif-Roman-Web.woff2") format("woff2");
  font-style: normal; font-weight: 300 800; font-display: swap;
}
@font-face {
  font-family: "Anthropic Serif";
  src: url("./fonts/AnthropicSerif-Italic-Web.woff2") format("woff2");
  font-style: italic; font-weight: 300 800; font-display: swap;
}
:root { --prism-serif: "Anthropic Serif", "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", SimSun, serif; }
html, body,
body *:not(:where(.console-terminal, .console-terminal *, .console-command, .console-command *, .xterm, .xterm *)),
body *:not(:where(.console-terminal, .console-terminal *, .console-command, .console-command *, .xterm, .xterm *))::before,
body *:not(:where(.console-terminal, .console-terminal *, .console-command, .console-command *, .xterm, .xterm *))::after {
  font-family: var(--prism-serif) !important;
  font-weight: 400 !important;
  font-synthesis: none;
  font-optical-sizing: auto;
}

/* Panel branding */
.brand-mark, .login-brand-mark {
  padding: 0; overflow: hidden; border: 0 !important;
  background: transparent !important; border-radius: 6px;
}
.brand-avatar { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-identity::before {
  content: ""; display: block; width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 6px; background: url("./brand-avatar.jpg") center / cover no-repeat;
}
