#creds .honors-layout {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

#creds .honors-archive {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.14fr) minmax(0, .9fr);
  gap: 36px;
  align-items: start;
}

#creds .honors-column {
  min-width: 0;
}

#creds .honors-column > h3 {
  margin: 0;
  padding: 0 0 16px;
  border-bottom: 1px solid #bcbcbc;
  color: #111;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.02em;
}

#creds .honors-records {
  list-style: none;
  padding: 0;
  margin: 0;
}

#creds .honors-records > li {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 0;
  border-bottom: 1px solid #ededed;
  color: #242424;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  overflow-wrap: break-word;
}

#creds .honors-records > li.has-code {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  padding: 9px 0;
}

#creds .honor-name {
  color: #242424;
}

#creds .honor-code {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  color: #7a838e;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

#creds .honors-records > .honors-metric { padding-block: 9px; }

#creds .honors-metric > span:first-child {
  display: inline-flex;
  align-items: baseline;
  column-gap: .28em;
}

#creds .honors-metric strong {

  color: #111;
  font-size: 26px;
  font-weight: 550;
  line-height: 1;
  letter-spacing: -.035em;
  font-variant-numeric: lining-nums tabular-nums;
}

#creds .honors-records > .honors-more {
  border-bottom: 0;
  color: #b0b0b0;
  letter-spacing: .04em;
  font-size: 30px;
  line-height: 1;
  min-height: 0;
  padding-top: 8px;
  padding-bottom: 6px;
}

@media (min-width: 1101px) {
  #creds {
    padding-top: calc(var(--about-nav-height, 88px) + 28px);
    padding-bottom: 28px;
    align-items: center;
  }
}

@media (min-width: 851px) and (max-width: 1100px) {
  #creds .honors-archive { gap: 24px; }
  #creds .honors-records > li { font-size: 15px; }
}

@media (max-width: 850px) {
  #creds .honors-archive { grid-template-columns: 1fr; gap: 36px; }
  #creds .honors-column > h3 { padding-bottom: 16px; font-size: 20px; }
  #creds .honors-records > li { min-height: 52px; font-size: 16px; }
  #creds .honors-records > li.has-code { padding: 11px 0; gap: 4px; }
}

/* 手风琴标题按钮：桌面端保持纯文本外观，不产生任何视觉变化 */
#creds .honors-toggle {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-align: left;
  cursor: inherit;
}
#creds .honors-caret { display: none; }

/* 移动端手风琴（仅当 JS 在触屏设备上加上 is-accordion 时生效） */
@media (max-width: 850px) {
  #creds.is-accordion .honors-archive { gap: 0; }
  #creds.is-accordion .honors-column { border-bottom: 1px solid #e6e6e6; }
  #creds.is-accordion .honors-column:first-child { border-top: 1px solid #e6e6e6; }
  #creds.is-accordion .honors-column > h3 { padding: 0; border-bottom: 0; }
  #creds.is-accordion .honors-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.02em;
    color: #111;
    cursor: pointer;
  }
  #creds.is-accordion .honors-caret {
    display: block;
    width: 18px;
    height: 18px;
    flex: none;
    color: #111;
    transition: transform .3s ease;
  }
  #creds.is-accordion .honors-column.is-open .honors-caret { transform: rotate(180deg); }
  #creds.is-accordion .honors-records {
    max-height: 0;
    overflow: hidden;
    transition: max-height .36s cubic-bezier(.4, 0, .2, 1);
  }
  #creds.is-accordion .honors-column.is-open .honors-records { padding-bottom: 10px; }
  #creds.is-accordion .honors-toggle:focus-visible { outline: 2px solid #1677ff; outline-offset: 4px; border-radius: 4px; }
}
