  * { font-family: 'Noto Sans SC', sans-serif; }
  [x-cloak] { display: none !important; }

  .page-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #0f172a 100%);
    min-height: 100dvh;
  }

  .glass-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
  }

  .score-input {
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
    color: white;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    border-radius: 16px;
    transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
    outline: none;
    width: 100%;
    padding: 1.5rem;
    letter-spacing: 0.1em;
  }
  .score-input:focus {
    border-color: #3b82f6;
    background: rgba(59,130,246,0.1);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.2);
  }
  .score-input::placeholder { color: rgba(255,255,255,0.2); }

  .athlete-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  }
  .athlete-card.current {
    background: rgba(59,130,246,0.15);
    border-color: rgba(59,130,246,0.5);
    box-shadow: 0 0 24px rgba(59,130,246,0.2);
  }
  .athlete-card.done {
    background: rgba(34,197,94,0.08);
    border-color: rgba(34,197,94,0.2);
  }

  .btn-submit {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
    cursor: pointer;
    width: 100%;
  }
  .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(59,130,246,0.4);
  }
  .btn-submit:active { transform: scale(0.98); }
  .btn-submit:disabled {
    background: rgba(255,255,255,0.1);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }

  .numpad-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
  }
  .numpad-btn:active { background: rgba(59,130,246,0.3); transform: scale(0.95); }
  .numpad-btn.del { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.2); }
  .numpad-btn.del:active { background: rgba(239,68,68,0.3); }

  .progress-bar {
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    transition: width 0.6s cubic-bezier(0.16,1,0.3,1);
    border-radius: 99px;
  }

  .avatar-ring {
    box-shadow: 0 0 0 3px rgba(59,130,246,0.4), 0 0 24px rgba(59,130,246,0.3);
  }

  @keyframes slideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  .slide-in { animation: slideIn 0.4s cubic-bezier(0.16,1,0.3,1); }

  @keyframes successPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.15); }
    100% { transform: scale(1); }
  }
  .success-pop { animation: successPop 0.4s cubic-bezier(0.34,1.56,0.64,1); }

  .scrollbar-thin::-webkit-scrollbar { width: 4px; }
  .scrollbar-thin::-webkit-scrollbar-track { background: transparent; }
  .scrollbar-thin::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

  .login-bg { background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%); }

  /* ===== 移动端适配 ===== */
  @media (max-width: 640px) {
    /* 登录/注册卡片 */
    .glass-card {
      border-radius: 16px;
    }

    /* 成绩输入框 */
    .score-input {
      font-size: 2.2rem;
      padding: 1rem;
      border-radius: 12px;
    }

    /* 数字键盘 */
    .numpad-btn {
      font-size: 1.25rem;
      min-height: 52px;
      border-radius: 10px;
      padding: 0.6rem;
    }

    /* 提交按钮 */
    .btn-submit {
      font-size: 1rem;
      padding: 0.85rem 1.5rem;
      border-radius: 14px;
    }

    /* 头像 */
    .avatar-ring {
      width: 3.5rem !important;
      height: 3.5rem !important;
      font-size: 1.25rem !important;
    }

    /* 运动员卡片 */
    .athlete-card {
      border-radius: 12px;
      padding: 0.6rem !important;
    }

    /* 顶部栏简化 */
    header .max-w-2xl {
      padding-left: 0.75rem;
      padding-right: 0.75rem;
    }

    /* 底部安全区（iPhone） */
    .page-bg {
      padding-bottom: env(safe-area-inset-bottom, 0);
    }
  }

  /* 超小屏 */
  @media (max-width: 380px) {
    .score-input {
      font-size: 1.8rem;
      padding: 0.75rem;
    }
    .numpad-btn {
      font-size: 1.1rem;
      min-height: 46px;
    }
  }
