.sd-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #edf5fb;
  text-decoration: none;
  white-space: nowrap;
}

.sd-brand:hover,
.sd-brand:focus-visible {
  color: #edf5fb;
  text-decoration: none;
  outline: none;
}

.sd-brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(36, 211, 154, .34);
  border-radius: 8px;
  background: #0f1c18;
  transition: border-color 160ms ease, background 160ms ease;
}

.sd-brand:hover .sd-brand-mark,
.sd-brand:focus-visible .sd-brand-mark {
  border-color: rgba(36, 211, 154, .68);
  background: rgba(36, 211, 154, .1);
}

.sd-brand-mark img {
  width: 31px;
  height: 31px;
  display: block;
  border: 0;
  border-radius: 0;
}

.sd-brand-copy {
  min-width: 0;
  display: block;
}

.sd-brand-title,
.sd-brand-sub {
  display: block;
  letter-spacing: 0;
}

.sd-brand-title {
  color: #edf5fb;
  font-family: "IBM Plex Sans", "Noto Sans TC", "PingFang TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
}

.sd-brand-sub {
  margin-top: 3px;
  color: #8e9dac;
  font-family: "SFMono-Regular", "Cascadia Code", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .16em;
  text-transform: uppercase;
}

@media (max-width: 420px) {
  .sd-brand {
    gap: 9px;
  }

  .sd-brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .sd-brand-mark img {
    width: 28px;
    height: 28px;
  }

  .sd-brand-title {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sd-brand-mark {
    transition: none;
  }
}
