:root {
  --font-sans: "IBM Plex Sans", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --text-xs: 0.6875rem;
  --text-sm: 0.75rem;
  --text-base: 0.8125rem;
  --text-md: 0.875rem;
  --text-lg: 1rem;
  --text-xl: 1.125rem;
  --text-2xl: 1.5rem;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 650;
  --leading-tight: 1.25;
  --leading-normal: 1.5;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: var(--weight-normal);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
strong,
b {
  font-weight: var(--weight-semibold);
}

.platform-logo-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: block;
}

.platform-logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.topbar-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.topbar-logo .platform-logo-mark {
  width: 30px;
  height: 30px;
}

.topbar-logo-text {
  color: var(--text, #f3f6fb);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .topbar-logo-text {
    display: none;
  }
}
