/* 吴俊辉 · 个人简历样式表 */
:root {
    --ink: #16233a;
    --ink-soft: #45556e;
    --accent: #1d5fbf;
    --accent-2: #0ea5c6;
    --line: #e3e9f2;
    --card: #ffffff;
    --bg: #f3f6fb;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
      radial-gradient(1200px 500px at 85% -10%, rgba(14,165,198,.10), transparent 60%),
      radial-gradient(1000px 480px at -10% 0%, rgba(29,95,191,.12), transparent 55%),
      var(--bg);
    line-height: 1.75;
    overflow-x: hidden;
  }
  .wrap { max-width: 920px; margin: 0 auto; padding: 48px 22px 64px; }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    background: linear-gradient(135deg, #123a7d 0%, #1d5fbf 55%, #0ea5c6 120%);
    border-radius: 22px;
    padding: 42px 44px;
    color: #fff;
    display: flex; gap: 38px; align-items: center; flex-wrap: wrap;
    box-shadow: 0 24px 60px -18px rgba(18,58,125,.45);
    overflow: hidden;
  }
  .hero::after {
    content: ""; position: absolute; right: -90px; top: -90px;
    width: 280px; height: 280px; border-radius: 50%;
    background: rgba(255,255,255,.08);
  }
  .hero::before {
    content: ""; position: absolute; right: 60px; bottom: -120px;
    width: 220px; height: 220px; border-radius: 50%;
    border: 40px solid rgba(255,255,255,.06);
  }
  .photo {
    width: 150px; height: 200px; object-fit: cover;
    border-radius: 14px;
    border: 3px solid rgba(255,255,255,.85);
    box-shadow: 0 14px 34px -10px rgba(0,0,0,.45);
    position: relative; z-index: 1; flex-shrink: 0;
    background: #fff;
  }
  .hero-main { position: relative; z-index: 1; min-width: 260px; flex: 1; }
  .hero-name { font-size: 38px; font-weight: 700; letter-spacing: 6px; }
  .hero-title {
    margin-top: 6px; font-size: 16px; letter-spacing: 2px;
    color: #cfe4ff;
  }
  .hero-title b { color: #fff; font-weight: 600; }
  .chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
  .chip {
    font-size: 13.5px; padding: 6px 14px; border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.32);
    backdrop-filter: blur(4px);
    max-width: 100%; word-break: break-all;
  }
  .badges { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
  .badge {
    font-size: 13px; padding: 5px 13px; border-radius: 8px;
    background: #fff; color: #123a7d; font-weight: 600;
    box-shadow: 0 6px 16px -6px rgba(0,0,0,.3);
    max-width: 100%; word-break: break-word;
  }
  .badge.gold { background: linear-gradient(135deg,#ffe9b0,#f7c948); color: #5c3d00; }

  /* ---------- Sections ---------- */
  .section { margin-top: 40px; }
  .sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
  .sec-bar {
    width: 6px; height: 26px; border-radius: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    flex-shrink: 0;
  }
  .sec-title { font-size: 22px; font-weight: 700; letter-spacing: 3px; }
  .sec-line { flex: 1; height: 1px; background: var(--line); }

  .card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 10px 30px -14px rgba(22,35,58,.12);
  }
  .card + .card { margin-top: 16px; }

  /* 个人简介 */
  .intro p { color: var(--ink-soft); font-size: 15.5px; }
  .intro p + p { margin-top: 10px; }
  .intro .hl { color: var(--accent); font-weight: 600; }

  /* 时间线 */
  .tl { position: relative; padding-left: 24px; }
  .tl::before {
    content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px;
    width: 2px; background: linear-gradient(180deg, var(--accent), var(--accent-2));
    border-radius: 2px; opacity: .35;
  }
  .tl-item { position: relative; padding-bottom: 22px; }
  .tl-item:last-child { padding-bottom: 0; }
  .tl-item::before {
    content: ""; position: absolute; left: -24px; top: 9px;
    width: 12px; height: 12px; border-radius: 50%;
    background: #fff; border: 3px solid var(--accent);
    box-shadow: 0 0 0 4px rgba(29,95,191,.12);
  }
  .tl-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
  .tl-title { font-size: 17px; font-weight: 700; word-break: break-word; }
  .tl-title small { font-weight: 500; color: var(--ink-soft); font-size: 14px; margin-left: 8px; }
  .tl-date {
    font-size: 13.5px; font-weight: 600; color: var(--accent);
    background: rgba(29,95,191,.08); padding: 3px 12px; border-radius: 999px;
    white-space: nowrap;
  }
  .tl-list { margin-top: 8px; list-style: none; }
  .tl-list li {
    position: relative; padding-left: 18px;
    color: var(--ink-soft); font-size: 14.5px;
    word-break: break-word;
  }
  .tl-list li::before {
    content: ""; position: absolute; left: 2px; top: 12px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent-2);
  }
  .tl-list li b { color: var(--ink); }

  /* 技能标签 */
  .tags { display: flex; flex-wrap: wrap; gap: 9px; }
  .tag {
    font-size: 13px; padding: 5px 13px; border-radius: 8px;
    background: #eef4fd; color: #1d4f9e; border: 1px solid #d7e5f8;
    font-weight: 500; word-break: break-word;
  }
  .tag.core { background: linear-gradient(135deg,#1d5fbf,#0ea5c6); color: #fff; border: none; }

  /* 竞赛 */
  .award-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  @media (max-width: 700px) { .award-grid { grid-template-columns: 1fr; } }
  .award {
    background: var(--card); border: 1px solid var(--line); border-radius: 16px;
    padding: 20px 24px; position: relative; overflow: hidden;
    box-shadow: 0 10px 30px -14px rgba(22,35,58,.12);
  }
  .award::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
  }
  .award-rank { font-size: 13px; font-weight: 700; color: var(--accent-2); letter-spacing: 1px; }
  .award-name { font-size: 16px; font-weight: 700; margin-top: 4px; word-break: break-word; }
  .award-desc { font-size: 14px; color: var(--ink-soft); margin-top: 6px; word-break: break-word; }

  .footer {
    margin-top: 48px; text-align: center;
    color: #8fa1ba; font-size: 12.5px; letter-spacing: 1px;
  }
