:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --text-main: #2f3135;
  --text-sub: #8b8f99;
  --line: #eceff3;
  --mint-top: #24b585;
  --mint-bottom: #4aca95;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text-main);
}

.app-shell {
  min-height: 100dvh;
  max-width: 430px;
  margin: 0 auto;
  background: var(--bg);
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.top-bar h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.icon-btn {
  border: 0;
  background: none;
  color: #666a73;
  font-size: 44px;
  line-height: 1;
  width: 48px;
  height: 48px;
}

.content {
  padding: 12px;
}

.banner {
  border-radius: 12px;
  background: linear-gradient(135deg, #3f7be8, #5d90ec);
  color: #fff;
  padding: 14px;
  font-size: 16px;
  font-weight: 500;
}

.banner p {
  margin: 0;
}

.quick-entry {
  margin-top: 14px;
  border-radius: 28px;
  background: var(--surface);
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-shadow: 0 6px 16px rgba(13, 35, 67, 0.08);
}

.entry-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
}

.entry-icon {
  color: #47a6e7;
  font-size: 26px;
}

.entry-right {
  color: #9da3ad;
  font-size: 40px;
}

.profile-card {
  margin-top: 18px;
  border-radius: 12px;
  padding: 18px;
  color: #eafcf4;
  background: linear-gradient(180deg, var(--mint-top), var(--mint-bottom));
  box-shadow: 0 10px 18px rgba(56, 174, 126, 0.25);
}

.profile-top {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 8px;
  align-items: start;
}

.photos {
  display: flex;
  gap: 10px;
}

figure {
  margin: 0;
}

.photos img {
  width: 102px;
  height: 124px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  object-fit: cover;
  display: block;
}

.photos figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  color: #e6fff5;
}

.identity h2 {
  margin: 6px 0 8px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  word-break: keep-all;
  font-weight: 600;
}

.identity p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #e0fff2;
}

.school-line {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.school-line h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.degree-pill {
  font-size: 12px;
  border-radius: 999px;
  background: rgba(16, 129, 91, 0.45);
  padding: 4px 10px;
}

.major-line {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #defced;
}

.detail-panel {
  margin-top: 18px;
  border-radius: 10px;
  background: var(--surface);
  padding: 4px 16px;
}

.detail-panel dl {
  margin: 0;
}

.detail-panel .detail-row {
  display: grid;
  grid-template-columns: 126px 1fr;
  column-gap: 12px;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
}

.detail-panel .detail-row:last-child {
  border-bottom: 0;
}

.detail-panel dt {
  color: #9ca0a8;
  font-size: 17px;
}

.detail-panel dd {
  margin: 0;
  color: #34363b;
  font-size: 17px;
}

@media (max-width: 389px) {
  .profile-top {
    grid-template-columns: 1fr;
  }

  .identity h2 {
    font-size: 42px;
  }

  .identity p,
  .major-line,
  .school-line h3 {
    font-size: 22px;
  }
}