    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
      background: linear-gradient(180deg, rgba(5, 8, 22, 0.92) 0%, rgba(8, 18, 32, 0.98) 44%, #050816 100%), #050816;
      color: white;
      overflow-x: hidden;
    }
    .page-grid {
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
      background-size: 72px 72px;
    }
    .glass {
      background: rgba(255, 255, 255, 0.055);
      backdrop-filter: blur(18px);
      border: 1px solid rgba(255, 255, 255, 0.09);
    }
    .glass-light {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.06);
    }
    .gradient-text {
      background: linear-gradient(135deg, #67E8F9 0%, #A7F3D0 46%, #FDE68A 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .gradient-bg {
      background: linear-gradient(135deg, #67E8F9 0%, #A7F3D0 46%, #FDE68A 100%);
    }
    .nav-link:focus-visible, .action-link:focus-visible {
      outline: 2px solid #67E8F9;
      outline-offset: 4px;
    }
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(12px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .animate-fadeInUp { animation: fadeInUp 0.6s ease-out both; }
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    .animate-fadeIn { animation: fadeIn 0.5s ease-in-out both; }
    @keyframes slideUp {
      from { transform: translateY(20px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
    .animate-slideUp { animation: slideUp 0.6s ease-out both; }
    @keyframes pulseSlow {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.7; }
    }
    .animate-pulseSlow { animation: pulseSlow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
    @media (max-width: 640px) {
      html, body { max-width: 100vw; overflow-x: hidden; }
      body .max-w-7xl { max-width: 100% !important; }
      .site-header-inner {
        padding-left: 1rem; padding-right: 1rem;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%; max-width: 100vw !important;
        overflow: visible !important;
      }
      .brand-link { gap: 0.75rem; min-width: 0; }
      .brand-mark { width: 2.5rem; height: 2.5rem; flex: 0 0 auto; }
      .brand-title { font-size: 1.35rem; line-height: 1.1; }
      .brand-subtitle { display: none; }
      .top-cta { display: none; }
    }
    .avatar-circle {
      width: 64px; height: 64px; border-radius: 50%;
      background: linear-gradient(135deg, #67E8F9, #A7F3D0);
      display: flex; align-items: center; justify-content: center;
      font-size: 24px; font-weight: 800; color: #050816; flex-shrink: 0;
    }
    .progress-bar {
      height: 8px; border-radius: 999px;
      background: rgba(255,255,255,0.08); overflow: hidden;
    }
    .progress-value {
      height: 100%; border-radius: 999px;
      background: linear-gradient(135deg, #67E8F9, #A7F3D0);
      transition: width 1s ease;
    }
    .course-card {
      transition: transform 0.3s ease, border-color 0.3s ease;
    }
    .course-card:hover {
      transform: translateY(-4px);
      border-color: rgba(103, 232, 249, 0.3);
    }
    .toast-box { position: fixed; top: 80px; right: 20px; z-index: 9999; }
    .toast {
      display: flex; align-items: center; gap: 10px;
      padding: 14px 20px; border-radius: 14px;
      background: rgba(15, 23, 42, 0.95); border: 1px solid rgba(255,255,255,0.1);
      backdrop-filter: blur(12px); color: white; font-size: 14px;
      animation: fadeInUp 0.3s ease-out;
    }
    .toast-success { border-color: rgba(52, 211, 153, 0.4); }
    .toast-error { border-color: rgba(239, 68, 68, 0.4); }
    .toast-info { border-color: rgba(96, 165, 250, 0.4); }
    header { overflow: visible !important; }
    #headerActions { overflow: visible !important; }
    .user-dropdown {
      position: absolute; top: 100%; right: 0; margin-top: 8px;
      min-width: 200px; border-radius: 14px;
      background: rgba(15, 23, 42, 0.98); border: 1px solid rgba(255,255,255,0.1);
      backdrop-filter: blur(18px); overflow: hidden;
      box-shadow: 0 20px 50px rgba(0,0,0,0.4);
      display: none;
      z-index: 100;
    }
    .user-dropdown.show { display: block; }
    .dropdown-item {
      display: flex; align-items: center; gap: 10px;
      padding: 12px 16px; font-size: 14px; color: #d1d5db;
      transition: background 0.15s; cursor: pointer; border: none;
      background: none; width: 100%; text-align: left;
    }
    .dropdown-item:hover { background: rgba(255,255,255,0.08); color: white; }
    .dropdown-item.danger { color: #f87171; }
    .dropdown-item.danger:hover { background: rgba(239,68,68,0.1); }
    .dropdown-divider { height: 1px; background: rgba(255,255,255,0.08); }
    .menu-item {
      display: flex; align-items: center; gap: 14px;
      padding: 16px 20px; border-radius: 14px;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.06);
      transition: all 0.2s ease; cursor: pointer;
    }
    .menu-item:hover {
      background: rgba(255,255,255,0.08);
      border-color: rgba(103, 232, 249, 0.3);
    }
    .menu-item.danger:hover {
      background: rgba(239, 68, 68, 0.1);
      border-color: rgba(239, 68, 68, 0.3);
    }
    .menu-icon {
      width: 40px; height: 40px; border-radius: 10px;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .achievement-badge {
      display: flex; flex-direction: column; align-items: center;
      padding: 12px 8px; border-radius: 12px;
      background: rgba(255,255,255,0.03);
    }
    .achievement-badge.unlocked {
      background: rgba(255,255,255,0.06);
    }
    .achievement-badge.locked { opacity: 0.4; }
    .quick-action {
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      padding: 16px 12px; border-radius: 14px;
      border: 1px solid rgba(255,255,255,0.06);
      transition: all 0.2s ease; cursor: pointer;
    }
    .quick-action:hover {
      border-color: rgba(103, 232, 249, 0.3);
      background: rgba(103, 232, 249, 0.05);
    }
    .tab-btn {
      padding: 6px 14px; border-radius: 8px; font-size: 13px;
      transition: all 0.2s; cursor: pointer; border: none;
      background: transparent; color: #9ca3af;
    }
    .tab-btn.active {
      background: rgba(103, 232, 249, 0.15);
      color: #67E8F9;
    }
    .tab-btn:hover:not(.active) {
      background: rgba(255,255,255,0.05);
    }
    .chart-container { position: relative; height: 220px; }
    .modal-panel { animation: fadeInUp 0.3s ease-out; }
    .session-item {
      display: flex; align-items: center; gap: 12px;
      padding: 14px 16px; border-radius: 12px;
      background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    }
    .session-item.current { border-color: rgba(103,232,249,0.3); background: rgba(103,232,249,0.05); }
    .log-item {
      display: flex; align-items: flex-start; gap: 12px;
      padding: 14px 16px; border-radius: 12px;
      background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    }
    .log-item.success { border-left: 3px solid rgba(52,211,153,0.5); }
    .log-item.failed { border-left: 3px solid rgba(239,68,68,0.5); }
    .device-icon {
      width: 40px; height: 40px; border-radius: 10px;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .revoke-btn {
      padding: 4px 12px; border-radius: 8px; font-size: 12px;
      background: rgba(239,68,68,0.15); color: #f87171;
      border: 1px solid rgba(239,68,68,0.3); cursor: pointer;
      transition: all 0.2s;
    }
    .revoke-btn:hover { background: rgba(239,68,68,0.25); }
