.ai-orcid-square:before {
  content: "\e841";
  font-family: 'Academicons';
}
.ai {
  display: inline-block;
  font: normal normal normal 14px/1 Academicons;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ai-fw {
  width: 1.28571429em;
  text-align: center;
}

.paper-box {
  padding: 1.2em 0;
}

.publications-anchor {
  display: block;
  height: 0;
  margin: 0;
}

.publications-anchor + .paper-box {
  padding-top: 0;
  margin-top: 0;
}

@media (min-width: 1280px) {
  .masthead__inner-wrap {
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .masthead__menu,
  .greedy-nav {
    width: 100%;
  }

  .greedy-nav {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .greedy-nav .visible-links {
    margin: 0 auto;
  }
}

.paper-title .paper-badge-text {
  margin-left: 6px;
}

.paper-box:last-child {
  border-bottom: none;
}

.paper-title {
  font-weight: 600;
  font-size: 1.05em;
  margin-bottom: 0.2em;
}

.paper-meta {
  color: #555;
  margin: 0.35em 0;
  font-size: 0.95em;
}

.paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.35em;
  align-items: center;
}

.paper-links a {
  text-decoration: none;
}

.paper-links span {
  display: inline-flex;
}

.paper-links img {
  vertical-align: middle;
  height: 20px;
}

.paper-badge-text {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 4px;
  background-color: #5F6F8A;
  color: #fff;
  font-size: 0.76em;
  line-height: 20px;
  height: 20px;
  border: none;
  font-family: inherit;
  appearance: none;
}

.citation-trigger {
  cursor: pointer;
}

.paper-badge-text.citation-trigger {
  background-color: #4D6A86;
  padding: 0 6px;
  font-size: 0.74em;
  line-height: 20px;
  height: 20px;
}

.thesis-button {
  background-color: #55728A;
}

.sidebar .profile_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sidebar .author__avatar {
  margin-left: auto;
  margin-right: auto;
}

.sidebar .author__content {
  text-align: center;
}

.sidebar .author__urls-wrapper {
  width: 100%;
  text-align: center;
}

.sidebar .author__urls,
.sidebar .author__urls_sm {
  text-align: center;
}

.sidebar .author__urls li,
.sidebar .author__urls li a,
.sidebar .author__urls li div {
  text-align: center;
}

.sidebar .author__urls li .author__description {
  text-align: center;
  width: 100%;
  margin-bottom: 1em;
}

.lang-switch {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 8px;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid #ddd;
  font-size: 0.9em;
}

/* 引用弹窗样式 */
.citation-popup {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  z-index: 1000;
  width: 550px;
  max-height: 320px;
  overflow-y: auto;
  padding: 15px;
}

.citation-format-container {
  display: flex;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.citation-format-container:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.citation-format-label {
  flex: 0 0 50px;
  font-weight: bold;
  color: #555;
  padding-top: 8px;
}

.citation-format {
  flex: 1;
  position: relative;
  padding: 8px 12px;
  background-color: #f8f9fa;
  border-radius: 4px;
  font-size: 0.9em;
  border: 1px solid #e9ecef;
}

.citation-format:hover .copy-btn {
  opacity: 1;
}

.copy-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background-color: #0366d6;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.8em;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background-color 0.2s;
}

.copy-btn:hover {
  background-color: #0550ab;
}

/* 毕业设计样式 */
.thesis-title {
  cursor: pointer;
  color: #0366d6;
  font-weight: 500;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
}

.thesis-title:hover {
  color: #0550ab;
  text-decoration: underline;
}

.thesis-title::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.8em;
  margin-left: 5px;
  transition: transform 0.2s;
}

.thesis-title.active::after {
  transform: rotate(180deg);
}

.thesis-abstract {
  display: none;
  padding: 20px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 15px 0;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: inset 0 1px 5px rgba(0,0,0,0.05);
  line-height: 1.6;
} 

.thesis-pdf {
  margin-top: 12px;
}

.thesis-pdf object,
.thesis-pdf iframe {
  width: 100%;
  height: 360px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.thesis-toolbar {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.thesis-download {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
}

.thesis-abstract .paper-title {
  text-align: center;
}

.thesis-content strong:first-of-type {
  display: block;
  text-align: center;
  margin: 6px 0 10px;
}

.thesis-content {
  text-align: justify;
  text-justify: inter-word;
}

.thesis-toolbar .paper-badge-text.active {
  background-color: #0366d6;
}

.sidebar .author__urls li {
  padding-left: 0;
}

.sidebar .author__urls li div i {
  display: inline-block;
  width: 1.28571429em;
  text-align: center;
}
