html, body, main, header, footer {
  padding: 0px;
  margin: 0px;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: #f0f2f5;
  color: #333;
  line-height: 1.6;
}

header {
  background: linear-gradient(135deg, #1a3a5c 0%, #2d6a9f 100%);
  color: #fff;
  text-align: center;
  padding: 20px 16px 30px;
}

.ad-slot {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

#header-title .title-cn {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  margin: 0 0 4px;
}

#header-title .title-en {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 6px;
  margin: 0 0 8px;
  opacity: 0.85;
}

#header-title .title-motto {
  font-size: 14px;
  margin: 0;
  opacity: 0.75;
  font-style: italic;
}

#app {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 24px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 18px;
  color: #1a3a5c;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8edf2;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #2d6a9f;
}

#profile {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

#avatar-area {
  flex-shrink: 0;
}

#avatar {
  width: 110px;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  border: 3px solid #e8edf2;
}

#basic-info {
  flex: 1;
  min-width: 200px;
}

#basic-info .section-title {
  margin-top: 0;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  padding: 6px 0;
  font-size: 15px;
}

.info-label {
  color: #666;
  display: inline-block;
  width: 90px;
}

.info-value {
  color: #1a3a5c;
  font-weight: 600;
}

#contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

#contact-list li {
  font-size: 14px;
  color: #555;
  padding: 8px 12px;
  background: #f7f9fb;
  border-radius: 6px;
}

.contact-icon {
  margin-right: 4px;
}

.skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-list li {
  padding: 8px 0;
  font-size: 14px;
  color: #555;
  border-bottom: 1px dashed #eee;
}

.skill-list li:last-child {
  border-bottom: none;
}

.skill-list li strong {
  color: #1a3a5c;
}

.exp-item {
  margin-bottom: 20px;
}

.exp-item:last-child {
  margin-bottom: 0;
}

.exp-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.exp-title {
  font-size: 16px;
  color: #2d6a9f;
  margin: 0;
}

.exp-company {
  font-size: 14px;
  color: #666;
}

.exp-date {
  font-size: 13px;
  color: #999;
  margin-left: auto;
}

.exp-detail {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.exp-detail li {
  font-size: 14px;
  color: #555;
  padding: 3px 0;
}

.edu-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.edu-major {
  font-size: 16px;
  color: #2d6a9f;
  margin: 0;
}

.edu-school {
  font-size: 14px;
  color: #666;
}

.edu-date {
  font-size: 13px;
  color: #999;
  margin-left: auto;
}

.edu-courses {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.8;
}

#eval-text {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.8;
}

footer {
  text-align: center;
  padding: 20px 16px;
  background: #1a1a2e;
}

.page-info {
  font-size: 13px;
  color: #aaa;
}

.page-info a {
  color: #6db3d8;
  text-decoration: none;
}

.page-info a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  #profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #avatar {
    width: 100px;
    height: 130px;
  }

  #basic-info .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .info-label {
    width: auto;
  }

  #contact-list {
    grid-template-columns: 1fr;
  }

  .exp-header {
    flex-direction: column;
    gap: 4px;
  }

  .exp-date {
    margin-left: 0;
  }

  .edu-header {
    flex-direction: column;
    gap: 4px;
  }

  .edu-date {
    margin-left: 0;
  }

  .section-title {
    text-align: center;
  }

  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}
