* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      background: #ffffff;
      color: #1e293b;
      height: 100vh;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }
    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 30% 20%, rgba(23, 106, 180, 0.04) 0%, transparent 50%),
                  radial-gradient(circle at 80% 70%, rgba(23, 106, 180, 0.03) 0%, transparent 55%);
      pointer-events: none;
      z-index: 0;
    }
    .app {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      height: 100vh;
      max-width: 100%;
      margin: 0 auto;
      width: 100%;
    }
    .navbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.9rem 1.8rem;
      background: rgba(255, 255, 255, 0.75);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(23, 106, 180, 0.1);
      flex-shrink: 0;
      flex-wrap: wrap;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      transition: opacity 0.2s;
    }
    .logo:hover {
      opacity: 0.85;
    }
    .logo-img {
      height: 36px;
      width: auto;
      display: block;
    }
    .logo-text {
      font-weight: 650;
      font-size: 1.6rem;
      letter-spacing: -0.02em;
      color: #0f172a;
      line-height: 1;
    }
    .logo-text i {
      font-size: 1.6rem;
      color: #176ab4;
      margin-right: 4px;
    }
    .nav-links {
      display: flex;
      gap: 1rem;
      align-items: center;
      flex-wrap: wrap;
    }
    .nav-links a {
      color: #475569;
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 450;
      transition: color 0.2s;
      display: flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
    }
    .nav-links a i {
      font-size: 0.9rem;
      opacity: 0.8;
      color: #176ab4;
    }
    .nav-links a:hover {
      color: #176ab4;
    }
    .wechat-wrapper {
      position: relative;
      display: inline-block;
    }
    .wechat-qrcode {
      position: absolute;
      top: 40px;
      right: 0;
      background: #ffffff;
      border-radius: 16px;
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
      padding: 12px;
      z-index: 200;
      text-align: center;
      border: 1px solid #eef2f8;
      width: 140px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: opacity 0.25s ease, visibility 0.25s, transform 0.25s ease;
      pointer-events: none;
    }
    .wechat-wrapper:hover .wechat-qrcode,
    .wechat-wrapper.active .wechat-qrcode {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
    }
    .wechat-qrcode img {
      width: 110px;
      height: 110px;
      display: block;
      margin: 0 auto;
      border-radius: 8px;
    }
    .wechat-qrcode p {
      margin-top: 8px;
      font-size: 12px;
      color: #334155;
    }
    @media (max-width: 600px) {
      .navbar {
        padding: 0.75rem 1rem;
      }
      .nav-links {
        gap: 0.8rem;
      }
      .nav-links a {
        font-size: 0.8rem;
      }
      .logo-text {
        font-size: 1.1rem;
      }
    }
    .chat-container {
      flex: 1;
      overflow-y: auto;
      padding: 1.5rem 1rem 0.5rem 1rem;
      display: flex;
      flex-direction: column;
      scroll-behavior: smooth;
    }
    .chat-wrapper {
      max-width: 800px;
      width: 100%;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
    }
    .welcome-header {
      text-align: center;
      margin: 0.8rem 0 0.8rem 0;
      animation: fadeIn 0.6s ease;
    }
    .welcome-header h1 {
      font-size: 2.4rem;
      font-weight: 600;
      letter-spacing: -0.02em;
      background: linear-gradient(135deg, #0f172a 0%, #176ab4 85%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      margin-bottom: 0.3rem;
    }
    .welcome-header .sub {
      color: #64748b;
      font-size: 1rem;
      font-weight: 400;
    }
    .message-row {
      display: flex;
      width: 100%;
      animation: messageSlide 0.25s ease-out;
    }
    .message-row.user {
      justify-content: flex-end;
    }
    .message-row.assistant {
      justify-content: flex-start;
    }
    .message-bubble {
      max-width: 85%;
      padding: 0.9rem 1.2rem;
      border-radius: 22px;
      font-size: 0.95rem;
      line-height: 1.5;
      word-break: break-word;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(23, 106, 180, 0.05);
    }
    .user .message-bubble {
      background: #176ab4;
      color: white;
      border-bottom-right-radius: 6px;
    }
    .assistant .message-bubble {
      background: #f8fafc;
      color: #1e293b;
      border-bottom-left-radius: 6px;
      border: 0.5px solid rgba(23, 106, 180, 0.1);
    }
    .typing-indicator {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 0.8rem 1.2rem;
    }
    .typing-indicator span {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #94a3b8;
      animation: typingBounce 1.4s infinite ease-in-out both;
    }
    .typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
    .typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
    @keyframes typingBounce {
      0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
      40% { transform: scale(1); opacity: 1; }
    }
    .suggestions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 1.2rem 0 0.5rem;
      justify-content: center;
    }
    .suggestion-chip {
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(4px);
      border: 0.5px solid rgba(23, 106, 180, 0.15);
      padding: 0.6rem 1.3rem;
      border-radius: 40px;
      font-size: 0.9rem;
      color: #1e293b;
      cursor: pointer;
      transition: all 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .suggestion-chip i {
      font-size: 0.9rem;
      color: #176ab4;
    }
    .suggestion-chip:hover {
      background: #ffffff;
      color: #176ab4;
      border-color: #176ab4;
      transform: translateY(-1px);
      box-shadow: 0 4px 10px rgba(23, 106, 180, 0.08);
    }
    .input-area {
      flex-shrink: 0;
      padding: 1rem 1.2rem 1.5rem 1.2rem;
      background: linear-gradient(to top, #ffffff 20%, rgba(255, 255, 255, 0.7) 100%);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-top: 0.5px solid rgba(23, 106, 180, 0.1);
    }
    .input-container {
      max-width: 800px;
      margin: 0 auto;
      display: flex;
      align-items: flex-end;
      gap: 10px;
      background: #ffffff;
      border-radius: 32px;
      padding: 6px 8px 6px 20px;
      border: 0.5px solid rgba(23, 106, 180, 0.2);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(23, 106, 180, 0.05);
    }
    .input-container:focus-within {
      border-color: #176ab4;
      box-shadow: 0 4px 16px rgba(23, 106, 180, 0.1);
    }
    .input-container textarea {
      flex: 1;
      background: transparent;
      border: none;
      outline: none;
      color: #0f172a;
      font-size: 0.95rem;
      font-family: "Inter", sans-serif;
      resize: none;
      padding: 12px 0;
      max-height: 150px;
    }
    .input-container textarea::placeholder {
      color: #94a3b8;
    }
    .send-btn {
      background: #176ab4;
      border: none;
      width: 44px;
      height: 44px;
      border-radius: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.2rem;
      cursor: pointer;
      transition: 0.2s;
      box-shadow: 0 4px 10px rgba(23, 106, 180, 0.25);
    }
    .send-btn:hover {
      background: #0f5a9e;
      transform: scale(1.02);
    }
    .input-footer {
      max-width: 800px;
      margin: 8px auto 0;
      text-align: center;
      color: #64748b;
      font-size: 0.75rem;
    }
    .chat-container::-webkit-scrollbar {
      width: 5px;
    }
    .chat-container::-webkit-scrollbar-track {
      background: transparent;
    }
    .chat-container::-webkit-scrollbar-thumb {
      background: #cbd5e1;
      border-radius: 20px;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes messageSlide {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @media (max-width: 500px) {
      .welcome-header h1 { font-size: 2rem; }
      .message-bubble { padding: 0.8rem 1rem; font-size: 0.9rem; }
      .input-container { padding: 4px 6px 4px 16px; }
    }
    .hidden { display: none !important; }

    /* 报名材料弹窗样式 */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      backdrop-filter: blur(4px);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      visibility: hidden;
      opacity: 0;
      transition: 0.2s;
    }
    .modal-overlay.active {
      visibility: visible;
      opacity: 1;
    }
    .modal-card {
      background: white;
      border-radius: 24px;
      max-width: 90%;
      width: 500px;
      max-height: 80vh;
      overflow-y: auto;
      padding: 1.5rem;
      position: relative;
    }
    .modal-card h3 {
      margin-bottom: 1rem;
      color: #176ab4;
    }
    .modal-card .close-modal {
      position: absolute;
      top: 12px;
      right: 16px;
      font-size: 1.5rem;
      cursor: pointer;
      color: #888;
    }
    .modal-card ul {
      margin-left: 1.2rem;
    }
    .modal-card li {
      margin: 0.5rem 0;
    }