:root { --blue: #1f5ca9; --u: min(1vw, 0.133333px); }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #f4f8fc; }
body { color: #252525; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif; }
button { border: 0; background: transparent; font: inherit; color: inherit; }
.personal-page { width: min(100%, 750px); min-height: 100vh; margin: 0 auto; padding-bottom: 125px; overflow: hidden; background: #f4f8fc; }
.profile-header { height: 200px; background: linear-gradient(135deg, #e0f4ff, #f5faff 68%, #edf7ff); position: relative; }
.profile-header::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .42; background: linear-gradient(45deg, transparent 49%, rgba(255,255,255,.7) 49.3%, transparent 49.8%), linear-gradient(135deg, transparent 66%, rgba(255,255,255,.75) 66.3%, transparent 66.8%); }
.profile-main { height: 100%; display: flex; align-items: center; position: relative; z-index: 1; padding: 0 32px; }
.avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.profile-info { margin-left: 24px; }
.profile-name { display: flex; align-items: center; font-size: 32px; line-height: 45px; white-space: nowrap; }
.id-mark { width: 30px; height: 30px; display: inline-flex; justify-content: center; align-items: center; margin-left: 17px; border-radius: 7px; background: linear-gradient(43deg, #72baff, #2397ff); color: #fff; font-size: 22px; line-height: 22px; }
.profile-code { margin-left: 7px; color: #888; font-size: 24px; }
.profile-department { margin-top: 13px; color: #666; font-size: 28px; line-height: 32px; }
.edit-profile { position: absolute; right: 32px; top: 42px; width: 48px; height: 48px; padding: 0; }
.edit-profile::before { content: ""; position: absolute; left: 10px; top: 7px; width: 25px; height: 35px; border: 4px solid #222; border-radius: 4px; transform: rotate(43deg); }
.edit-profile::after { content: ""; position: absolute; left: 4px; bottom: 2px; width: 41px; height: 4px; background: #222; }
.performance-card { width: calc(100% - 48px); min-height: 900px; margin: 0 24px; position: relative; overflow: hidden; border-radius: 16px; }
.performance-bg { position: absolute; inset: 0; width: 100%; height: 742px; object-fit: fill; }
.performance-content { position: relative; z-index: 1; }
.performance-title { height: 91px; margin: 0 24px; display: flex; align-items: center; gap: 16px; color: #fff; white-space: nowrap; }
.performance-title strong { font-size: 32px; line-height: 40px; font-weight: 600; }
.performance-title span { font-size: 26px; line-height: 32px; }
.score-block { position: relative; margin: 56px 24px 0; }
.score-label { color: #555; font-size: 28px; line-height: 34px; }
.score-value { margin-top: 8px; font-size: 54px; line-height: 56px; font-weight: 700; }
.ranking-badge { position: absolute; top: -76px; right: 12px; width: 162px; height: 191px; display: flex; flex-direction: column; align-items: center; color: #fff; z-index: 2; text-shadow: 0 1px 2px rgba(0,65,160,.3); }
.ranking-badge img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ranking-badge strong { position: relative; margin-top: 42px; font-size: 48px; line-height: 52px; }
.ranking-badge span { position: relative; margin-top: -1px; font-size: 20px; line-height: 24px; }
.indicator-grid { width: 100%; margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.86); box-shadow: 0 0 32px 4px rgba(196,207,219,.16); }
.indicator { min-height: 151px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 26px 16px; border-right: 1px solid #f5f8fa; border-bottom: 1px solid #f5f8fa; text-align: left; }
.indicator:nth-child(3n) { border-right: 0; }
.indicator-label { margin-bottom: 13px; color: #555; font-size: 26px; line-height: 32px; white-space: nowrap; }
.indicator-values { color: #aaa; font-size: 26px; line-height: 40px; white-space: nowrap; }
.indicator-values span { color: #d82028; font-size: 30px; font-weight: 600; }
.indicator-values i { margin: 0 2px; color: #aaa; font-style: normal; }
.indicator-values em { color: #aaa; font-style: normal; }
.indicator-values.second { margin-top: -2px; }
.bad, .good { color: #d82028; }
.bottom-tabs { position: fixed; z-index: 10; bottom: 0; left: 50%; width: min(100%, 750px); height: 100px; transform: translateX(-50%); display: flex; justify-content: space-around; align-items: center; background: rgba(255,255,255,.96); box-shadow: 0 -2px 8px rgba(0,0,0,.06); }
.bottom-tabs button { width: 33.333%; display: flex; flex-direction: column; align-items: center; gap: 3px; color: #a6b8d2; font-size: 22px; }
.bottom-tabs button.active { color: #2077ff; font-weight: 600; }
.tab-icon { width: 48px; height: 48px; position: relative; display: block; }
.person-outline::before, .person-solid::before { content: ""; position: absolute; left: 15px; top: 4px; width: 16px; height: 16px; border: 3px solid currentColor; border-radius: 50%; }
.person-outline::after, .person-solid::after { content: ""; position: absolute; left: 7px; bottom: 3px; width: 32px; height: 18px; border: 3px solid currentColor; border-radius: 16px 16px 4px 4px; }
.person-solid::before, .person-solid::after { background: currentColor; border-color: currentColor; }
.grid-icon { background: linear-gradient(currentColor,currentColor) 5px 5px/15px 15px no-repeat, linear-gradient(currentColor,currentColor) 28px 5px/15px 15px no-repeat, linear-gradient(currentColor,currentColor) 5px 28px/15px 15px no-repeat, linear-gradient(currentColor,currentColor) 28px 28px/15px 15px no-repeat; border: 3px solid currentColor; border-radius: 6px; opacity: .8; }
@media (max-width: 375px) {
  .profile-header { height: 26.667vw; }.profile-main { padding: 0 4.267vw; }.avatar { width: 16vw; height: 16vw; }.profile-info { margin-left: 3.2vw; }.profile-name { font-size: 4.267vw; line-height: 6vw; }.id-mark { width: 4vw; height: 4vw; margin-left: 2.267vw; border-radius: .933vw; font-size: 2.933vw; line-height: 2.933vw; }.profile-code { margin-left: .933vw; font-size: 3.2vw; }.profile-department { margin-top: 1.733vw; font-size: 3.733vw; line-height: 4.267vw; }.edit-profile { right: 4.267vw; top: 5.6vw; width: 6.4vw; height: 6.4vw; }
  .performance-card { width: calc(100% - 6.4vw); margin: 0 3.2vw; min-height: 125vw; border-radius: 2.133vw; }.performance-bg { height: 99.0vw; }.performance-title { height: 12.133vw; margin: 0 3.2vw; gap: 2.133vw; }.performance-title strong { font-size: 4.267vw; line-height: 5.333vw; }.performance-title span { font-size: 3.467vw; line-height: 4.267vw; }.score-block { margin: 7.467vw 3.2vw 0; }.score-label { font-size: 3.733vw; line-height: 4.533vw; }.score-value { margin-top: 1.067vw; font-size: 7.2vw; line-height: 7.467vw; }.ranking-badge { top: -10.133vw; right: 1.6vw; width: 21.6vw; height: 25.467vw; }.ranking-badge strong { margin-top: 5.6vw; font-size: 6.4vw; line-height: 6.933vw; }.ranking-badge span { font-size: 2.667vw; line-height: 3.2vw; }.indicator-grid { margin-top: 4.267vw; border-radius: 2.133vw; }.indicator { min-height: 20.133vw; padding: 3.467vw 1.6vw; }.indicator-label { margin-bottom: 1.733vw; font-size: 3.467vw; line-height: 4.267vw; }.indicator-values { font-size: 3.467vw; line-height: 5.333vw; }.indicator-values span { font-size: 4vw; }.personal-page { padding-bottom: 16vw; }.bottom-tabs { height: 13.333vw; }.bottom-tabs button { gap: .4vw; font-size: 2.933vw; }.tab-icon { width: 6.4vw; height: 6.4vw; }.person-outline::before, .person-solid::before { left: 2vw; top: .533vw; width: 2.133vw; height: 2.133vw; border-width: .4vw; }.person-outline::after, .person-solid::after { left: .933vw; bottom: .4vw; width: 4.267vw; height: 2.4vw; border-width: .4vw; }.grid-icon { background-size: 2vw 2vw,2vw 2vw,2vw 2vw; background-position: .667vw .667vw,3.733vw .667vw,.667vw 3.733vw,3.733vw 3.733vw; border-width: .4vw; }
}
@media (min-width: 376px) {
  .personal-page { width: 750px; margin-left: calc(50% - 375px); margin-right: 0; transform: scale(.5); transform-origin: top left; }
  .bottom-tabs { width: 375px; height: 50px; left: 50%; transform: translateX(-50%); }
  .bottom-tabs button { gap: 1.5px; font-size: 11px; }
  .tab-icon { width: 24px; height: 24px; }
  .person-outline::before, .person-solid::before { left: 7.5px; top: 2px; width: 8px; height: 8px; border-width: 1.5px; }
  .person-outline::after, .person-solid::after { left: 3.5px; bottom: 1.5px; width: 16px; height: 9px; border-width: 1.5px; }
  .grid-icon { background-size: 7.5px 7.5px; background-position: 2.5px 2.5px, 14px 2.5px, 2.5px 14px, 14px 14px; border-width: 1.5px; }
}
