

    * { margin: 0; padding: 0; box-sizing: border-box; }

    

    body {

      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

      min-height: 100vh;

      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

      padding: 40px 24px;

      display: flex;

      flex-direction: column;

      align-items: center;

    }

    

    .main-container { width: 100%; max-width: 700px; margin: 0 auto; }

    

    .header { text-align: center; margin-bottom: 30px; }

    

    .title {

      color: white;

      font-size: 36px;

      font-weight: 800;

      margin-bottom: 12px;

      text-shadow: 0 4px 15px rgba(0,0,0,0.2);

      letter-spacing: 1px;

    }

    

    .subtitle { color: rgba(255,255,255,0.9); font-size: 16px; font-weight: 500; }

    

    .channel-badge {

      display: inline-flex;

      align-items: center;

      gap: 8px;

      margin-top: 16px;

      padding: 10px 18px;

      border-radius: 16px;

      background: rgba(255,255,255,0.16);

      border: 1px solid rgba(255,255,255,0.28);

      color: white;

      font-size: 14px;

      font-weight: 700;

      backdrop-filter: blur(6px);

    }

    

    .card {

      background: rgba(255, 255, 255, 0.95);

      backdrop-filter: blur(10px);

      border-radius: 30px;

      padding: 40px;

      box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);

      margin-bottom: 24px;

      border: 1px solid rgba(255,255,255,0.3);

    }

    

    .form-label {

      font-weight: 700;

      color: #1a1a1a;

      margin-bottom: 15px;

      font-size: 15px;

      display: flex;

      align-items: center;

      justify-content: center;

      gap: 10px;

    }

    

    .form-label .icon {

      width: 28px;

      height: 28px;

      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

      border-radius: 10px;

      display: inline-flex;

      align-items: center;

      justify-content: center;

      color: white;

      font-size: 14px;

      box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);

    }

    

    .form-control {

      border: 2px solid #f0f0f0;

      border-radius: 20px;

      padding: 16px 20px;

      font-size: 15px;

      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

      background: #fdfdfd;

      text-align: left;

      color: #333;

      width: 100%;

    }

    

    .form-control:focus {

      border-color: #667eea;

      box-shadow: 0 0 0 5px rgba(102, 126, 234, 0.15);

      background: white;

      outline: none;

    }

    

    textarea.form-control {

      resize: none;

      min-height: 180px;

      font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

      line-height: 1.8;

    }

    

    .hint {

      color: #888;

      font-size: 13px;

      margin-top: 12px;

      font-weight: 500;

    }

    

    .btn-primary {

      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

      border: none;

      border-radius: 20px;

      padding: 16px 40px;

      font-size: 17px;

      font-weight: 700;

      color: white;

      cursor: pointer;

      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

      box-shadow: 0 10px 25px -5px rgba(102, 126, 234, 0.4);

      width: 100%;

      margin-top: 10px;

      display: flex;

      align-items: center;

      justify-content: center;

      gap: 10px;

    }

    

    .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px -5px rgba(102, 126, 234, 0.5); }

    .btn-primary:active { transform: translateY(-1px); }

    .btn-primary:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; }

    

    .btn-secondary {

      background: #f8f9fa;

      border: 2px solid #e9ecef;

      border-radius: 20px;

      padding: 14px 24px;

      font-size: 15px;

      font-weight: 600;

      color: #495057;

      cursor: pointer;

      transition: all 0.3s;

      width: 100%;

      display: flex;

      align-items: center;

      justify-content: center;

      gap: 8px;

    }

    

    .btn-secondary:hover { background: #e9ecef; border-color: #dee2e6; }

    

    .btn-group { display: flex; gap: 12px; margin-top: 16px; }

    

    .progress-section { display: none; }

    

    .progress-card {

      background: rgba(255, 255, 255, 0.95);

      border-radius: 25px;

      padding: 25px;

      margin-bottom: 24px;

      box-shadow: 0 15px 30px rgba(0,0,0,0.1);

    }

    

    .progress-text { font-size: 16px; color: #1a1a1a; font-weight: 700; margin-bottom: 15px; }

    

    .progress-bar-wrapper { background: #f0f0f0; height: 14px; border-radius: 10px; overflow: hidden; }

    

    .progress-bar {

      background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);

      height: 100%;

      border-radius: 10px;

      transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    }

    

    .stats-box {

      background: #fff8e1;

      border-radius: 20px;

      padding: 15px 20px;

      margin-bottom: 20px;

      border: 1px solid #ffe082;

      text-align: left;

    }

    

    .stats-title {

      font-weight: 800;

      color: #f57c00;

      margin-bottom: 10px;

      font-size: 14px;

      text-transform: uppercase;

      letter-spacing: 0.5px;

      display: flex;

      align-items: center;

      gap: 6px;

    }

    

    .stats-row {

      display: flex !important;

      flex-direction: row !important;

      flex-wrap: nowrap !important;

      align-items: center !important;

      gap: 12px !important;

      overflow-x: auto !important;

      width: 100% !important;

      padding-bottom: 5px;

      scrollbar-width: none;

      -ms-overflow-style: none;

    }

    

    .stats-row::-webkit-scrollbar { display: none; }

    

    .stat-item {

      display: inline-flex !important;

      flex-direction: row !important;

      align-items: center !important;

      gap: 4px !important;

      white-space: nowrap !important;

      flex-shrink: 0 !important;

    }

    

    .stat-dot { width: 8px; height: 8px; border-radius: 50%; }

    .stat-dot.error { background: #f44336; }

    .stat-dot.warning { background: #ff9800; }

    .stat-dot.info { background: #2196f3; }

    .stat-dot.success { background: #4caf50; }

    .stat-dot.proxy { background: #9c27b0; }

    

    .stat-label { color: #666; font-size: 13px; font-weight: 600; }

    .stat-value { color: #1a1a1a; font-weight: 800; font-size: 14px; }

    

    .result-item {

      border-radius: 20px;

      padding: 20px;

      margin-bottom: 15px;

      animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);

      border: 1px solid transparent;

    }

    

    @keyframes slideIn {

      from { opacity: 0; transform: translateY(20px); }

      to { opacity: 1; transform: translateY(0); }

    }

    

    .result-item.success { background: #f1f8e9; border-color: #c5e1a5; }

    .result-item.fail { background: #ffebee; border-color: #ffcdd2; }

    .result-item.warning { background: #fff8e1; border-color: #ffe082; }

    

    .result-phone {

      font-size: 17px;

      font-weight: 800;

      color: #1a1a1a;

      margin-bottom: 10px;

      display: flex;

      align-items: center;

      justify-content: flex-start;

      gap: 8px;

    }

    

    .result-message { font-size: 14px; color: #444; line-height: 1.8; font-weight: 500; text-align: left; }

    

    .footer {

      text-align: center;

      margin-top: 40px;

      color: rgba(255,255,255,0.8);

      font-size: 14px;

      font-weight: 500;

    }

    

    .history-btn-wrapper { margin-top: 30px; text-align: center; }

    

    #historyLink, #statsLink {

      background: rgba(255,255,255,0.15);

      backdrop-filter: blur(5px);

      border: 2px solid rgba(255,255,255,0.25);

      border-radius: 18px;

      padding: 12px 25px;

      color: white;

      font-weight: 600;

      transition: all 0.3s;

      display: inline-flex;

      align-items: center;

      gap: 8px;

      text-decoration: none;

    }

    

    #historyLink:hover, #statsLink:hover {

      background: rgba(255,255,255,0.25);

      border-color: rgba(255,255,255,0.4);

      transform: translateY(-2px);

    }

    

    .extraction-info {

      background: #e3f2fd;

      border-radius: 12px;

      padding: 12px 16px;

      margin-top: 12px;

      display: flex;

      align-items: center;

      gap: 10px;

      font-size: 13px;

      color: #1565c0;

      font-weight: 500;

    }

    

    .extraction-info .badge {

      background: #2196f3;

      color: white;

      padding: 2px 10px;

      border-radius: 10px;

      font-size: 12px;

      font-weight: 600;

    }

    

    .tab-switcher {

      display: flex;

      background: rgba(0,0,0,0.05);

      border-radius: 16px;

      padding: 4px;

      margin-bottom: 20px;

    }

    

    .tab {

      flex: 1;

      padding: 12px 16px;

      border-radius: 12px;

      text-align: center;

      font-weight: 600;

      font-size: 14px;

      cursor: pointer;

      transition: all 0.3s;

      color: #666;

    }

    

    .tab.active {

      background: white;

      color: #667eea;

      box-shadow: 0 2px 8px rgba(0,0,0,0.08);

    }

    

    .tab:hover { color: #333; }

    

    @media (max-width: 600px) {

      body { padding: 20px 15px; }

      .card { padding: 30px 20px; border-radius: 25px; }

      .title { font-size: 28px; }

      .stats-box { padding: 12px 15px; }

      .stats-row { gap: 10px !important; justify-content: flex-start !important; }

      .btn-group { flex-direction: column; }

    }

  
/* 原版视觉下新增的登录、积分和订单控件。 */
body>.header{width:100%;max-width:700px}.main-container{padding:0;margin:0 auto}.hidden,[hidden]{display:none!important}
button{font-family:inherit}button.tab{border:0;background:transparent}button.tab.active{background:white}.navigation{background:rgba(255,255,255,.2);margin-bottom:24px}.navigation .tab{color:white}.navigation .tab.active{color:#667eea}.account-badge{flex-wrap:wrap;justify-content:center}.account-badge button{background:transparent;color:white;border:0;padding:0 0 0 10px;box-shadow:none;font-size:13px}.account-badge strong{font-size:17px}.login{max-width:430px;width:100%;margin:0 auto}.login .card{padding:35px}.login h1{text-align:center;font-size:23px;color:#333;margin:0 0 25px}.login .field{margin:16px 0}.login p{text-align:center}.login button{margin-top:20px}.login .field label{color:#333}.wallet-form .field{display:block}.wallet-form textarea.form-control{width:100%;min-height:180px;text-align:left}.wallet-form .btn-group button{flex:1;min-width:0}.wallet-form .btn-primary{margin-top:0}.wallet-form .btn-group{align-items:stretch}.wallet-form .btn-secondary{margin:0;flex:1}.wallet-form .btn-group button{padding:14px 16px}.wallet-form .extraction-info{margin-top:15px}.input-modes .tab{font-size:14px}.hint{line-height:1.7}.card h2{font-size:18px;color:#222}.card .summary{border-top:1px solid #eee;margin-top:18px}.card .money,.card .summary strong{color:#667eea}.card .summary button{min-width:160px}.form-control{font-family:inherit}.field input{width:100%}.card .row{gap:12px}dialog .actions button{width:auto}.footer{color:rgba(255,255,255,.8)}.pager button{padding:7px 12px}.query-empty{display:none}.legacy-toolbar{display:flex;justify-content:center;margin-bottom:22px;gap:18px}.legacy-toolbar button{background:transparent;color:#fff;font-size:13px;padding:0}.card .table-wrap{max-width:100%}#confirmList{max-height:45vh;overflow:auto}#extractionInfo{overflow-wrap:anywhere}#queryEmpty:not([hidden]){display:block;background:rgba(255,255,255,.95);color:#666;border-radius:20px;padding:20px;margin-bottom:24px}#queryEmpty.initial-empty{display:none}.mode-switcher .active{background:#fff;color:#667eea}
@media(max-width:600px){.navigation{gap:0}.navigation .tab{padding:10px 6px;font-size:12px}.header{margin-bottom:24px}.account-badge{padding:8px 12px;font-size:12px;gap:8px}.account-badge strong{font-size:15px}.login .card{padding:28px 22px}.wallet-form .btn-group{flex-direction:row;gap:10px}.wallet-form .btn-group button{font-size:14px;padding:13px 10px;border-radius:16px}.input-modes .tab{padding:10px}.card .summary button{width:100%}.card .admin-head{align-items:flex-start;gap:10px}table{font-size:12px}.title{margin-bottom:8px}.card{margin-top:0}}
