.social-section {
  width: min(calc(100% - 48px), 840px);
  margin-inline: auto;
  padding: 72px 0 50px;
  color: var(--ink, #191919);
}

.social-section .social-section__title {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin: 0 0 20px;
  font: 400 54px/.95 var(--display, 'Anton', sans-serif);
  letter-spacing: -.025em;
}

.social-section .social-section__subtitle {
  color: var(--muted, #77736b);
  font: 400 20px/1.4 'Work Sans', 'Noto Sans SC', sans-serif;
  letter-spacing: 0;
}

.social-section .social-section__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-section .social-section__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 21px;
  align-items: center;
  gap: 18px;
  min-width: 0;
  min-height: 90px;
  padding: 15px 0;
  border-top: 1px solid var(--line, #d9d6ce);
  transition: padding-left .7s var(--ui-ease);
}

.social-section .social-section__icon {
  display: grid;
  width: 48px;
  height: 36px;
  place-items: center;
  color: var(--ink, #191919);
  transition: transform .6s var(--ui-ease);
}

.social-section .social-section__glyph {
  display: block;
  fill: currentColor;
}

.social-section .social-section__glyph--github {
  width: 32px;
  height: 32px;
}

.social-section .social-section__glyph--x {
  width: 29px;
  height: 29px;
}

.social-section .social-section__glyph--email {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-section .social-section__glyph--douyin {
  width: 43px;
  height: 43px;
}

.social-section .social-section__glyph--bilibili {
  width: 31px;
  height: 31px;
}

.social-section .social-section__glyph--xiaohongshu {
  width: 48px;
  height: 24px;
}

.social-section .social-section__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.social-section .social-section__name {
  justify-self: start;
  max-width: 100%;
  background: linear-gradient(var(--orange),var(--orange)) no-repeat 0 68% / 0 42%;
  transition: background-size .6s var(--ui-ease);
  overflow: hidden;
  color: var(--ink, #191919);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-section .social-section__account {
  transition: color .5s var(--ui-ease);
  overflow: hidden;
  color: var(--muted, #77736b);
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-section .social-section__arrow {
  display: block;
  width: 21px;
  height: 21px;
  color: var(--ink, #191919);
  transition: color .5s var(--ui-ease), transform .7s var(--ui-ease);
}

.social-section .social-section__arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* Oil's row, icon, word highlight and arrow move together, without icon frames. */
.social-section .social-section__item.ui-reveal {
  transition: opacity 1.3s var(--ui-ease), translate 1.3s var(--ui-ease), padding-left .7s var(--ui-ease);
}
.social-section .social-section__item:focus-within .social-section__name {
  background-size: 100% 42%;
}
.social-section .social-section__item:focus-within .social-section__account {
  color: var(--ink);
}
.social-section .social-section__item:focus-within .social-section__arrow {
  color: var(--orange);
  transform: translate(3px,-3px);
}
@media (hover: hover) and (pointer: fine) {
  .social-section .social-section__item:hover {
    padding-left: 8px;
  }
  .social-section .social-section__item:hover .social-section__icon {
    transform: rotate(-6deg) scale(1.07);
  }
  .social-section .social-section__item:hover .social-section__name {
    background-size: 100% 42%;
  }
  .social-section .social-section__item:hover .social-section__account {
    color: var(--ink);
  }
  .social-section .social-section__item:hover .social-section__arrow {
    color: var(--orange);
    transform: translate(3px,-3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .social-section .social-section__item:hover { padding-left: 0; }
  .social-section .social-section__item:is(:hover,:focus-within) :is(.social-section__icon,.social-section__arrow) { transform: none; }
}

.social-section .social-section__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.social-section .social-section__footer a:first-child {
  font: 400 24px/1 var(--display, 'Anton', sans-serif);
  letter-spacing: -.02em;
}

.social-section .social-section__footer a:last-child {
  color: var(--muted, #77736b);
  font-size: 15px;
}

@media (max-width: 600px) {
  .social-section {
    width: calc(100% - 40px);
    padding-top: 32px;
    padding-bottom: 36px;
  }

  .social-section .social-section__title {
    gap: 13px;
    margin-bottom: 16px;
    font-size: 42px;
  }

  .social-section .social-section__subtitle {
    font-size: 17px;
  }

  .social-section .social-section__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .social-section .social-section__item {
    min-height: 84px;
  }
}
