/* ============================================================
 * EduMaster ç»ä¸åç«¯è®¾è®¡ç³»ç» (frontend.css)
 * ------------------------------------------------------------
 * ä½ç¨ï¼
 *  1) å®ä¹å¨ç«åçè®¾è®¡ä»¤çï¼æ·±è #0E2A47 / è #1B4A77 / é #C8A45C
 *     + ä¸­æ§è² / é´è· / åè§ / é´å½± / å­ä½ï¼ã
 *  2) å¨å±æåæ¨¡åèªå·±å®ä¹çä¸»è²åéï¼--*-primary / --*-brand /
 *     --*-main / --*-accent ç­ï¼ç»ä¸éå®åå°åçè²ï¼å¸¦ !importantï¼
 *     ç¡®ä¿è¦çæå è½½çæ¨¡å CSSï¼ï¼ä»èä¸æ¬¡æ§è®© 70+ è·¯ç±é¡µéè²ç»ä¸ï¼
 *     æ ééä¸ªæ¹åæ¨¡æ¿ã
 *  3) æä¾å¯å¤ç¨ç .ls-* å¬å±ç»ä»¶ç±»ï¼å¡ç/æé®/åºå/å¾½æ /æ æ ¼/æ ç­¾/
 *     åè¡¨/éé¡¹å¡/ç»è®¡/æç¤º/è¡¨åï¼ï¼ä¾æ¨¡åæ¨¡æ¿æééçº³ï¼éæ­¥æ¶æç»æã
 *
 * å è½½é¡ºåºï¼å¨ tailwind-output.css / style.css ä¹åï¼theme.php æ³¨åï¼ï¼
 * ä½ remap ä½¿ç¨ !importantï¼ä¸å è½½ååæ å³ï¼å§ç»çæã
 * ============================================================ */

/* ---------- 1. åçè®¾è®¡ä»¤ç ---------- */
:root {
  /* åçä¸ä¸»è² */
  --ls-navy:        #0E2A47;   /* æ·±èï¼æ é¢/åºæ /å¼ºè°ï¼ */
  --ls-blue:        #1B4A77;   /* åçèï¼ä¸»æé®/é¾æ¥/ä¸»è²ï¼ */
  --ls-gold:        #C8A45C;   /* éï¼ç¹ç¼/åé/é«äº®ï¼ */

  /* åçè¡çæµè²ï¼ç¨äºåºè²/æè¾¹/æ¬åï¼ */
  --ls-blue-soft:   #EAF0F6;
  --ls-blue-soft-2: #F4F8FC;
  --ls-blue-line:   #D6E0EC;
  --ls-gold-soft:   #F4ECDD;
  --ls-gold-line:   #E4D4AE;
  --ls-navy-soft:   #16293F;

  /* ä¸­æ§è²é¶ */
  --ls-ink:    #1A2230;
  --ls-body:   #3A4452;
  --ls-muted:  #6B7686;
  --ls-faint:  #98A2B3;
  --ls-line:   #E6EAF0;
  --ls-line-2: #EEF1F6;
  --ls-bg:     #F5F7FA;
  --ls-bg-2:   #FBFCFE;
  --ls-card:   #FFFFFF;
  --ls-invert: #FFFFFF;

  /* è¯­ä¹ç¶æè²ï¼ä¿çï¼ä¸çº³å¥åçéå®åï¼ */
  --ls-success: #2E9E6B;
  --ls-success-soft: #E7F5EE;
  --ls-danger:  #D9534F;
  --ls-danger-soft:  #FBEAEA;
  --ls-warn:    #D99A2B;
  --ls-warn-soft:    #FBF1DD;
  --ls-info:    #2F6FB0;
  --ls-info-soft:    #E8F1F9;

  /* é´è·æ å°ºï¼4 çåæ°ï¼ */
  --ls-s1: 4px;  --ls-s2: 8px;  --ls-s3: 12px; --ls-s4: 16px;
  --ls-s5: 20px; --ls-s6: 24px; --ls-s8: 32px; --ls-s10: 40px; --ls-s12: 48px;

  /* åè§ */
  --ls-r-sm: 8px;
  --ls-r:    12px;
  --ls-r-lg: 16px;
  --ls-r-xl: 20px;
  --ls-r-pill: 999px;

  /* é´å½± */
  --ls-sh-sm: 0 1px 2px rgba(14,42,71,.06);
  --ls-sh:    0 4px 16px rgba(14,42,71,.08);
  --ls-sh-lg: 0 10px 30px rgba(14,42,71,.12);
  --ls-sh-blue: 0 8px 24px rgba(27,74,119,.16);

  /* å­ä½ */
  --ls-font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
             "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ls-font-serif: "Songti SC", "SimSun", Georgia, "Times New Roman", serif;

  /* å®¹å¨ä¸æ æ ¼æ­ç¹ï¼ä¸ç°æ max-w-7xl å¯¹é½ï¼ */
  --ls-container: 1280px;
}

/* ---------- 2. å¨å±åçè²éå®åï¼ç»ä¸ 70+ æ¨¡åä¸»è²ï¼ ---------- */
/* è¯´æï¼ä»¥ä¸åéåä¸ºåæ¨¡åèªå®ä¸»è²ï¼èé/ç»¿/ç´«/çº¢ç­ï¼ï¼ç°ç»ä¸æ¶å£å°åçè/æ·±èã
 * ä½¿ç¨ !important ç¡®ä¿å³ä¾¿æ¨¡å CSS å¨ footer æå è½½ä¹è½è¦çã
 * ä»éå®å"èº«ä»½ä¸»è²"ï¼ä¸ç¢°è¯­ä¹ç¶æè²ï¼æå/å±é©/è­¦åï¼ï¼é¿åç ´åä¸å¡å«ä¹ã */
:root {
  /* æ°å­èµæº dresources */
  --dr-primary:   var(--ls-blue)   !important;
  --dr-primary-d: var(--ls-navy)   !important;
  --dr-accent:    var(--ls-gold)   !important;

  /* å¨å®¢ witkey */
  --wk-primary:        var(--ls-blue)   !important;
  --wk-primary-light:  var(--ls-blue-soft) !important;
  --wk-primary-dark:   var(--ls-navy)   !important;
  --wk-accent:         var(--ls-gold)   !important;

  /* äºæå¸åº market */
  --mk-brand:      var(--ls-navy)   !important;
  --mk-brand-soft: var(--ls-blue-soft) !important;

  /* æè jobs */
  --lsj-primary:       var(--ls-blue)   !important;
  --lsj-primary-soft:  var(--ls-blue-soft) !important;
  --lsj-primary-line:  var(--ls-blue-line) !important;
  --lsj-primary-dark:  var(--ls-navy)   !important;

  /* èå¬ kaogongï¼æ·±èç³»ï¼å½ä¸å°åçæ·±è/èï¼ */
  --kg-primary:   var(--ls-navy)   !important;
  --kg-primary-l: var(--ls-blue)   !important;
  --kg-primary-h: var(--ls-navy-soft) !important;

  /* æºè½ä½ OA / agent-oa */
  --ao-primary:   var(--ls-blue)   !important;
  --ao-primary-l: var(--ls-blue-soft) !important;
  --ao-primary-d: var(--ls-navy)   !important;

  /* AI å·¥å· / æå°± */
  --ai-primary:       var(--ls-blue)   !important;
  --ai-primary-dark:  var(--ls-navy)   !important;
  --ach-brand:        var(--ls-blue)   !important;
  --ach-brand-dark:   var(--ls-navy)   !important;

  /* æ¦è§ / éç¥ / åååå° */
  --ov-primary:    var(--ls-blue)   !important;
  --tn-brand:      var(--ls-blue)   !important;
  --sd-primary:        var(--ls-blue)   !important;
  --sd-primary-soft:   var(--ls-blue-soft) !important;

  /* èè¯ä¸­å¿ exam-hub ç --eh-main å·²æ¯ #1B4A77ï¼== åçèï¼ï¼æ ééå®åï¼ä¿çã */
}

/* ---------- 3. å¬å±ç»ä»¶ç±» .ls-* ---------- */
/* æ¨¡åæ¨¡æ¿å¯éæ­¥æ¿æ¢èªæç±»åä¸ºä»¥ä¸ç»ä»¶ç±»ï¼ç»æä¸éè²å³ç»ä¸ã */

/* é¡µé¢å®¹å¨ */
.ls-page {
  max-width: var(--ls-container);
  margin: 0 auto;
  padding: var(--ls-s6) var(--ls-s5) var(--ls-s12);
}
@media (max-width: 640px) { .ls-page { padding: var(--ls-s5) var(--ls-s4) var(--ls-s10); } }

/* åºå + åºåæ é¢ */
.ls-section { margin-bottom: var(--ls-s8); }
.ls-section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--ls-s3); margin-bottom: var(--ls-s4);
}
.ls-section-title {
  display: flex; align-items: center; gap: var(--ls-s2);
  font-size: 18px; font-weight: 700; color: var(--ls-navy);
  margin: 0; line-height: 1.3;
}
.ls-section-title::before {
  content: ""; width: 4px; height: 18px; border-radius: 2px;
  background: linear-gradient(180deg, var(--ls-blue), var(--ls-gold));
}
.ls-section-more {
  font-size: 13px; color: var(--ls-blue); text-decoration: none;
  display: inline-flex; align-items: center; gap: 2px;
}
.ls-section-more:hover { text-decoration: underline; }

/* æ æ ¼ */
.ls-grid {
  display: grid; gap: var(--ls-s4);
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.ls-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ls-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ls-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .ls-grid-3, .ls-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ls-grid-2, .ls-grid-3, .ls-grid-4 { grid-template-columns: 1fr; } }

/* å¡ç */
.ls-card {
  background: var(--ls-card); border: 1px solid var(--ls-line);
  border-radius: var(--ls-r-lg); padding: var(--ls-s5);
  box-shadow: var(--ls-sh-sm); transition: box-shadow .2s, transform .2s, border-color .2s;
}
.ls-card-hover:hover {
  box-shadow: var(--ls-sh); transform: translateY(-2px);
  border-color: var(--ls-blue-line);
}
.ls-card-title { font-size: 16px; font-weight: 700; color: var(--ls-navy); margin: 0 0 var(--ls-s2); }
.ls-card-body { color: var(--ls-body); font-size: 14px; line-height: 1.7; }
.ls-card-meta { color: var(--ls-muted); font-size: 12px; margin-top: var(--ls-s3); }

/* æé® */
.ls-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--ls-r-pill); font-size: 14px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
  line-height: 1.2; white-space: nowrap;
}
.ls-btn-primary { background: var(--ls-blue); color: #fff; box-shadow: var(--ls-sh-blue); }
.ls-btn-primary:hover { background: var(--ls-navy); color: #fff; }
.ls-btn-gold { background: var(--ls-gold); color: var(--ls-navy); }
.ls-btn-gold:hover { filter: brightness(.96); color: var(--ls-navy); }
.ls-btn-ghost { background: #fff; color: var(--ls-blue); border-color: var(--ls-blue-line); }
.ls-btn-ghost:hover { background: var(--ls-blue-soft); color: var(--ls-blue); }
.ls-btn-soft { background: var(--ls-blue-soft); color: var(--ls-blue); }
.ls-btn-soft:hover { background: var(--ls-blue-line); color: var(--ls-navy); }
.ls-btn-block { width: 100%; }
.ls-btn-sm { padding: 6px 13px; font-size: 13px; }
.ls-btn-lg { padding: 12px 26px; font-size: 15px; }
.ls-btn-success { background: var(--ls-success); color: #fff; }
.ls-btn-success:hover { background: #257e55; color: #fff; }
.ls-btn-danger { background: var(--ls-danger); color: #fff; }
.ls-btn-danger:hover { background: #c04743; color: #fff; }
/* åºåä¸åéçº¿ï¼åçæµçº¿ï¼ */
.ls-hr-top { border-top: 1px solid var(--ls-line); }

/* å¾½æ  / æ ç­¾ / è¯ç */
.ls-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: var(--ls-r-pill);
  font-size: 12px; font-weight: 600; line-height: 1.6;
}
.ls-badge-primary { background: var(--ls-blue-soft); color: var(--ls-blue); }
.ls-badge-gold   { background: var(--ls-gold-soft); color: #8a6d2f; }
.ls-badge-success{ background: var(--ls-success-soft); color: var(--ls-success); }
.ls-badge-danger { background: var(--ls-danger-soft);  color: var(--ls-danger); }
.ls-badge-warn   { background: var(--ls-warn-soft);    color: #9a6b14; }
.ls-badge-muted  { background: var(--ls-line-2); color: var(--ls-muted); }
.ls-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: var(--ls-r-pill);
  background: #fff; border: 1px solid var(--ls-line);
  font-size: 13px; color: var(--ls-body); cursor: pointer;
  transition: all .18s;
}
.ls-chip:hover, .ls-chip.active {
  border-color: var(--ls-blue); color: var(--ls-blue); background: var(--ls-blue-soft);
}
.ls-chip.active { font-weight: 600; }

/* åè¡¨ */
.ls-list { display: flex; flex-direction: column; gap: var(--ls-s2); }
.ls-list-item {
  display: flex; align-items: center; gap: var(--ls-s3);
  padding: var(--ls-s3) var(--ls-s4); background: #fff;
  border: 1px solid var(--ls-line); border-radius: var(--ls-r);
  transition: border-color .18s, background .18s;
}
.ls-list-item:hover { border-color: var(--ls-blue-line); background: var(--ls-blue-soft-2); }
.ls-list-item .ls-li-title { font-weight: 600; color: var(--ls-navy); }
.ls-list-item .ls-li-sub { color: var(--ls-muted); font-size: 13px; }
.ls-list-item .ls-li-right { margin-left: auto; color: var(--ls-muted); }

/* éé¡¹å¡ */
.ls-tabs { display: flex; gap: var(--ls-s1); border-bottom: 1px solid var(--ls-line); margin-bottom: var(--ls-s5); flex-wrap: wrap; }
.ls-tab {
  padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--ls-muted);
  border: none; background: none; cursor: pointer; position: relative;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .18s;
}
.ls-tab:hover { color: var(--ls-blue); }
.ls-tab.active { color: var(--ls-blue); border-bottom-color: var(--ls-gold); }

/* ç»è®¡å¡ */
.ls-stat {
  background: #fff; border: 1px solid var(--ls-line); border-radius: var(--ls-r-lg);
  padding: var(--ls-s5); position: relative; overflow: hidden;
}
.ls-stat::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--ls-blue), var(--ls-gold));
}
.ls-stat .ls-stat-num { font-size: 26px; font-weight: 800; color: var(--ls-navy); line-height: 1.1; }
.ls-stat .ls-stat-label { font-size: 13px; color: var(--ls-muted); margin-top: 4px; }
.ls-stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--ls-s4); }

/* æç¤ºæ¡ */
.ls-alert {
  display: flex; gap: var(--ls-s3); align-items: flex-start;
  padding: var(--ls-s4); border-radius: var(--ls-r); font-size: 14px; line-height: 1.6;
  border: 1px solid transparent;
}
.ls-alert-info  { background: var(--ls-info-soft);  color: var(--ls-info);  border-color: #cfe2f3; }
.ls-alert-success { background: var(--ls-success-soft); color: var(--ls-success); border-color: #cdeede; }
.ls-alert-warn  { background: var(--ls-warn-soft);  color: #9a6b14; border-color: #f0e0bd; }
.ls-alert-danger { background: var(--ls-danger-soft); color: var(--ls-danger); border-color: #f3cccc; }

/* ç©ºç¶æ */
.ls-empty {
  text-align: center; padding: var(--ls-s12) var(--ls-s5); color: var(--ls-muted);
  background: var(--ls-bg-2); border: 1px dashed var(--ls-line); border-radius: var(--ls-r-lg);
}
.ls-empty .ls-empty-ico { font-size: 40px; opacity: .5; margin-bottom: var(--ls-s3); }
.ls-empty .ls-empty-title { font-size: 15px; color: var(--ls-body); font-weight: 600; margin-bottom: 4px; }

/* è¡¨å */
.ls-field { margin-bottom: var(--ls-s4); }
.ls-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ls-body); margin-bottom: 6px; }
.ls-input, .ls-textarea, .ls-select {
  width: 100%; padding: 10px 13px; font-size: 14px; color: var(--ls-ink);
  background: #fff; border: 1px solid var(--ls-line); border-radius: var(--ls-r);
  font-family: var(--ls-font); transition: border-color .18s, box-shadow .18s;
}
.ls-input:focus, .ls-textarea:focus, .ls-select:focus {
  outline: none; border-color: var(--ls-blue); box-shadow: 0 0 0 3px var(--ls-blue-soft);
}
.ls-textarea { min-height: 96px; resize: vertical; }

/* å·¥å·è¡ */
.ls-toolbar { display: flex; flex-wrap: wrap; gap: var(--ls-s3); align-items: center; margin-bottom: var(--ls-s5); }
.ls-toolbar .ls-spacer { margin-left: auto; }

/* å¤´å */
.ls-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  background: var(--ls-blue-soft); color: var(--ls-blue);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: none;
}

/* ææ¬è¾å© */
.ls-muted { color: var(--ls-muted); }
.ls-ink { color: var(--ls-ink); }
.ls-navy { color: var(--ls-navy); }
.ls-blue { color: var(--ls-blue); }
.ls-gold { color: var(--ls-gold); }
.ls-divider { height: 1px; background: var(--ls-line); border: 0; margin: var(--ls-s5) 0; }
.ls-mt-0 { margin-top: 0; } .ls-mt-3 { margin-top: var(--ls-s3); } .ls-mt-4 { margin-top: var(--ls-s4); } .ls-mt-5 { margin-top: var(--ls-s5); }
.ls-mb-3 { margin-bottom: var(--ls-s3); } .ls-mb-4 { margin-bottom: var(--ls-s4); } .ls-mb-5 { margin-bottom: var(--ls-s5); }

/* ---------- 4. è·¯ç±å£³ .ls-route è·¨æ¨¡åTailwindå·¥å·ç±»åçæ¶å£ ---------- */
/* ç± page-generic.php æææçæ®µåè·¯ç±æ¨¡ååè£¹å¨ .ls-route åã
 * ä¸æ¹è§åéå¯¹è·¨æ¨¡åé«é¢ãä¸"åèªä¸ºæ¿"ç Tailwind å·¥å·ç±»ååçéå®åï¼
 * é¾æ¥è / ä¸»æé®åºè² / å¼ºè°è²ï¼ç»ä¸å°åçè²ï¼ä½¿ 70+ æ¨¡åè§è§ä¸è´ã
 * éæ©å¨ä¸º .ls-route + å·¥å·ç±»ï¼åç±»ï¼ç¹å¼æ§é«äº Tailwind åç±»ï¼ï¼æ é !importantã */
.ls-route a.text-blue-600,
.ls-route .text-blue-600 { color: var(--ls-blue); }
.ls-route a.hover\:text-blue-600:hover { color: var(--ls-blue); }
.ls-route .border-blue-600 { border-color: var(--ls-blue); }
.ls-route .bg-blue-600 { background-color: var(--ls-blue); }
/* ä¸»æé®å¸¸è§åºè²ï¼æ·±ç°/é»ï¼ç»ä¸ä¸ºåçèï¼ä¿è¯ä¸»æä½ä¸è´ */
.ls-route .bg-gray-900,
.ls-route .hover\:bg-gray-900:hover { background-color: var(--ls-blue); }
.ls-route .hover\:bg-gray-800:hover { background-color: var(--ls-navy); }
/* å¼ºè°è²æ¶å£ï¼ç´«âåçèï¼ç»¿âæåè²ï¼è¯­ä¹è²ä¿çï¼ï¼é¿åå¤è²æé */
.ls-route .text-purple-600 { color: var(--ls-blue); }
.ls-route .text-green-600 { color: var(--ls-success); }
.ls-route .bg-green-600 { background-color: var(--ls-success); }
.ls-route .bg-purple-600 { background-color: var(--ls-blue); }
/* å¡çè¾¹æ¡ç»ä¸ä¸ºåçæµçº¿ï¼åè§ç»ä¸ */
.ls-route .border-gray-200 { border-color: var(--ls-line); }
.ls-route .rounded-lg,
.ls-route .rounded-xl { border-radius: var(--ls-r-lg); }

/* ==== æ¥æº: mobile.css ==== */
/* ============================================================
   EduMaster Mobile UI ââ æ¨äº¦æ¶å®å¶ (v2)
   ä»ä¿çææ ¸å¿ãæææçç§»å¨ç«¯è§å
   ç®æ ï¼APP çº§ä½éª ââ åå®¹ææ»¡ãè§¦æ§åå¥½ãè§è§ç´§å
   ============================================================ */

/* ---------- éç¨å·¥å·ç±» ---------- */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* é¡¶é¨å¯¼èªçµè¯ï¼ææº/å¹³æ¿(<1024px)å¼ºå¶éèï¼é¿å logo ä¸æ¹ä¸¤è¡ï¼æ¡é¢(â¥1024)ä¿çæ¾ç¤ºæ¹ä¾¿èç³» */
@media (max-width: 1023.98px) {
  #main-header a[href*="tel:"] { display: none !important; }
}

/* ============================================================
   Dock æ¨ªæå¸å±ï¼å§ç»çæï¼ä¸ä¾èµæ­ç¹ï¼ï¼ä»»æè§å£ 7 é¡¹é½æ¨ªæä¸å´©
   .mobile-tab-bar å¨ lg(1024px) æéèï¼768-1023px å®½å±åºé´è¥é 
   @media(767px) æè®¾ flexï¼å nav éåä¸ºåçº§ â 7 ä¸ª tab é¡¹ç«æå 
   å·¦ä¸ãä¸æ¹å¤§çç©ºç½ãè¿éææ¨ªæ + fixed åºé¨å®ä½æå°æ­ç¹ä¹å¤ã
   ============================================================ */
#mobile-nav-dock.mobile-tab-bar {
    display: flex !important;
    flex-direction: row !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    justify-content: space-around !important;
    align-items: center !important;
    height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    background: #ffffff !important;
    border-top: 1px solid #f3f4f6 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05) !important;
}
#mobile-nav-dock .mobile-tab-item {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ---------- æ¡é¢ç«¯éè Dockï¼ä» mobile.css å è½½æ¶ï¼å®½å±ä¸åºç°åºé¨æµ®æï¼ ---------- */
@media (min-width: 1024px) {
    #mobile-nav-dock.mobile-tab-bar { display: none !important; }
}

/* ============================================================
   ææºç«¯ä¸»è§å (â¤767px)
   ============================================================ */
@media (max-width: 767px) {

    /* ---------- å¨å±åºç¡ ---------- */
    /* æ³¨æï¼ç»ä¸è¦ç» html è®¾ç½® overflow-x:hidden ââ å¨ iOS Safari ä¸ä¼è§¦å
       å·²ç¥ bugï¼position:fixed é¡¶æ éåãæ´é¡µçºµåæ»å¨å¡æ­»ã
       æ¹ç¨ body ç overflow-x: clipï¼åªè£ææ¨ªåæº¢åºï¼ä¸åå»ºæ»å¨å®¹å¨ï¼
       çºµååçæ»å¨ä¸æ¯æ§æ»å¨åæ­£å¸¸ã */
    body { overflow-x: clip; }
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
        font-size: 14px;
        line-height: 1.55;
        -webkit-tap-highlight-color: transparent;
        -webkit-font-smoothing: antialiased;
    }
    main { padding-top: 0 !important; padding-bottom: 0 !important; }

    /* ---------- ææºç«¯åºé¨ Dock å¯¼èª ---------- */
    .mobile-tab-bar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
        background: #ffffff !important;
        border-top: 1px solid #f3f4f6 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05) !important;
        padding-bottom: env(safe-area-inset-bottom) !important;
    }
    .mobile-tab-item {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px !important;
        height: 100% !important;
        padding: 0 1px !important;
        color: #6b7280 !important;
        text-decoration: none !important;
        font-size: 10px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        transition: color 0.2s ease, background-color 0.2s ease, transform 0.15s ease !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    .mobile-tab-item:active {
        transform: scale(0.92) !important;
    }
    .mobile-tab-item.active,
    .mobile-tab-item:hover {
        color: var(--color-primary, #2563eb) !important;
    }
    .mobile-tab-item svg {
        width: 20px !important;
        height: 20px !important;
        flex-shrink: 0 !important;
        transition: transform 0.15s ease !important;
    }

    /* AI å¥å£ï¼å±ä¸­çªåºï¼åå½¢æ¸åæé® + ä¸æµ® */
    .mobile-tab-item-ai {
        position: relative !important;
        top: -10px !important;
        color: #2563eb !important;
        font-weight: 700 !important;
    }
    .mobile-tab-ai-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%) !important;
        color: #fff !important;
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35) !important;
        margin-bottom: 2px !important;
        transition: transform 0.15s ease, box-shadow 0.2s ease !important;
    }
    .mobile-tab-ai-icon svg {
        width: 23px !important;
        height: 23px !important;
    }
    /* æçªå±ï¼<=360pxï¼6 ä¸ªå¥å£è¿ä¸æ­¥åç¼©ï¼é¿åæå­æ¢è¡ */
    @media (max-width: 360px) {
        .mobile-tab-item { font-size: 9.5px !important; }
        .mobile-tab-item svg { width: 19px !important; height: 19px !important; }
        .mobile-tab-ai-icon { width: 42px !important; height: 42px !important; }
    }
    .mobile-tab-item-ai:active .mobile-tab-ai-icon {
        transform: scale(0.92) !important;
    }
    .mobile-tab-item-ai.active .mobile-tab-ai-icon,
    .mobile-tab-item-ai:hover .mobile-tab-ai-icon {
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45) !important;
    }

    /* ---------- å®¹å¨ï¼å»æå¤§çç½ï¼åå®¹ææ»¡å±å¹ ---------- */
    .max-w-7xl, .max-w-4xl, .max-w-3xl, .max-w-2xl, .max-w-xl, .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        max-width: 100% !important;
    }
    .max-w-2xl { max-width: 100% !important; }

    /* ---------- é´è·ç±»å¨å±æ¶ç´§ ---------- */
    .gap-2 { gap: 4px !important; }
    .gap-3 { gap: 6px !important; }
    .gap-4 { gap: 8px !important; }
    .gap-5 { gap: 8px !important; }
    .gap-6 { gap: 10px !important; }
    .gap-8 { gap: 12px !important; }
    .gap-10 { gap: 14px !important; }
    .gap-12 { gap: 16px !important; }

    .space-y-4 > * + * { margin-top: 10px !important; }
    .space-y-6 > * + * { margin-top: 12px !important; }
    .space-y-8 > * + * { margin-top: 16px !important; }
    .space-y-10 > * + * { margin-top: 18px !important; }
    .space-y-12 > * + * { margin-top: 20px !important; }

    .mt-4 { margin-top: 8px !important; }
    .mt-6 { margin-top: 10px !important; }
    .mt-8 { margin-top: 12px !important; }
    .mt-10 { margin-top: 14px !important; }
    .mt-12 { margin-top: 16px !important; }
    .mt-16 { margin-top: 20px !important; }

    .mb-4 { margin-bottom: 8px !important; }
    .mb-6 { margin-bottom: 10px !important; }
    .mb-8 { margin-bottom: 12px !important; }
    .mb-10 { margin-bottom: 14px !important; }
    .mb-12 { margin-bottom: 16px !important; }

    .pt-6 { padding-top: 10px !important; }
    .pt-8 { padding-top: 12px !important; }
    .pt-10 { padding-top: 14px !important; }
    .pt-12 { padding-top: 16px !important; }

    .pb-6 { padding-bottom: 10px !important; }
    .pb-8 { padding-bottom: 12px !important; }
    .pb-10 { padding-bottom: 14px !important; }
    .pb-12 { padding-bottom: 16px !important; }

    .px-4 { padding-left: 10px !important; padding-right: 10px !important; }
    .px-5 { padding-left: 12px !important; padding-right: 12px !important; }
    .px-6 { padding-left: 12px !important; padding-right: 12px !important; }
    .px-8 { padding-left: 14px !important; padding-right: 14px !important; }

    .py-4 { padding-top: 8px !important; padding-bottom: 8px !important; }
    .py-6 { padding-top: 10px !important; padding-bottom: 10px !important; }
    .py-8 { padding-top: 12px !important; padding-bottom: 12px !important; }
    .py-10 { padding-top: 14px !important; padding-bottom: 14px !important; }
    .py-12 { padding-top: 16px !important; padding-bottom: 16px !important; }

    .p-4 { padding: 8px !important; }
    .p-5 { padding: 10px !important; }
    .p-6 { padding: 12px !important; }
    .p-8 { padding: 14px !important; }

    .rounded-xl { border-radius: 12px !important; }
    .rounded-2xl { border-radius: 14px !important; }
    .rounded-3xl { border-radius: 16px !important; }

    /* ---------- å­å·æ¶ç´§ ---------- */
    .text-5xl { font-size: 26px !important; line-height: 1.2 !important; }
    .text-4xl { font-size: 22px !important; line-height: 1.25 !important; }
    .text-3xl { font-size: 20px !important; line-height: 1.3 !important; }
    .text-2xl { font-size: 18px !important; line-height: 1.35 !important; }
    .text-xl { font-size: 16px !important; line-height: 1.4 !important; }
    .text-lg { font-size: 14.5px !important; line-height: 1.55 !important; }
    .text-base { font-size: 14px !important; }
    .text-sm { font-size: 12.5px !important; }
    .text-xs { font-size: 11.5px !important; }

    /* ---------- Hero åºåï¼é¦é¡µé¡¶é¨ï¼ ---------- */
    section.relative.pt-6.pb-8 { padding-top: 8px !important; padding-bottom: 12px !important; }
    .max-w-4xl.mx-auto.text-center { padding-left: 8px; padding-right: 8px; }

    .max-w-4xl.mx-auto.text-center h1,
    .max-w-4xl.mx-auto.text-center .text-3xl,
    .max-w-4xl.mx-auto.text-center .text-4xl,
    .max-w-4xl.mx-auto.text-center .text-5xl {
        font-size: 24px !important;
        line-height: 1.25 !important;
        letter-spacing: -0.01em;
        margin-bottom: 8px !important;
    }
    .max-w-4xl.mx-auto.text-center .text-2xl { font-size: 17px !important; line-height: 1.4 !important; }
    .max-w-4xl.mx-auto.text-center .text-lg,
    .max-w-4xl.mx-auto.text-center .text-xl {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    .max-w-4xl.mx-auto.text-center .inline-flex.items-center.gap-2.px-4.py-1\.5 {
        padding: 4px 10px !important;
        font-size: 11px !important;
        margin-bottom: 10px !important;
    }
    .max-w-4xl.mx-auto.text-center button,
    .max-w-4xl.mx-auto.text-center a.px-6,
    .max-w-4xl.mx-auto.text-center a.px-8 {
        padding: 9px 16px !important;
        font-size: 13px !important;
        min-height: 40px;
        border-radius: 10px;
    }

    /* ---------- å¬åæ¡ ---------- */
    .bg-gradient-to-r.from-orange-50.to-red-50 {
        padding: 6px 0 !important;
        border-bottom-width: 1px !important;
    }

    /* ---------- Section éç¨ ---------- */
    section { padding-top: 14px !important; padding-bottom: 14px !important; }
    section h2.text-3xl, section h2.text-2xl {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }

    /* ---------- å¡çç½æ ¼ï¼è¯¾ç¨/æç« /ååï¼ ---------- */
    .grid.grid-cols-2, .grid.grid-cols-3, .grid.grid-cols-4,
    .grid.grid-cols-5, .grid.grid-cols-6, .grid.lg\:grid-cols-3,
    .grid.lg\:grid-cols-4, .grid.lg\:grid-cols-5, .grid.md\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    /* è¯¾ç¨é¡µï¼force-grid-3 éé«äºä¸é¢éç¨ 2 åè§åï¼ç¹å¼æ§æåï¼grid+ç±»ï¼ */
    .grid.force-grid-3,
    .grid.grid-cols-3.force-grid-3,
    .grid.grid-cols-2.force-grid-3 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    /* é¦é¡µãç²¾åè¯¾ç¨ / åä½èååãï¼ææºç«¯åºå®ä¸è¡ 3 ä¸ªï¼ç´§å APP æï¼ï¼è¦çä¸é¢éç¨ 2 åè§å */
    .grid.home-cards-3 { grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; }

    /* é¦é¡µç­é¨æè¡æ¦ï¼è¯¾ç¨/æç« /ååä¸æ¦ï¼ï¼ææºç«¯åºå®ä¸è¡ 4 ä¸ªã
       å¿é¡»ç¨ id æåç¹å¼æ§ï¼è¦çä¸é¢ .grid.home-cards-3 ç 3 åä¸éç¨ 2 åè§åï¼
       æ¡é¢ç«¯ï¼â¥768pxï¼ä¸åæ¬è§åå½±åï¼ä»æ index.php ç md:grid-cols-6 æ¾ç¤º 6 åã */
    #rank-course, #rank-product, #rank-article {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
    }

    /* é¦é¡µ 4 é¡¹åºåï¼åä½èæç / æ°å­èµæºä¸­å¿ï¼ï¼ææºç«¯ 2Ã2ï¼é¿å 3+1 å­¤è¡ */
    .grid.home-cards-2 { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }

    /* é¦é¡µæ«ç å¨è¯¢ï¼ææºç«¯åºå®ä¸è¡ 3 ä¸ª */
    .grid.home-qr-3 { grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; }
    .grid.home-qr-3 .max-w-\[120px\],
    .grid.home-qr-3 .sm\:max-w-\[140px\] { max-width: 90px !important; }
    .grid.home-qr-3 .text-3xl { font-size: 24px !important; }

    /* é¦é¡µé¡¶é¨æ°æ®å¡ï¼æ°çå¡çæ ·å¼ééï¼ææºç«¯æ¹ä¸º APP é£æ ¼ 4 åç´§åæ ¼å­ï¼ */
    .grid.home-stats { grid-template-columns: repeat(4, 1fr) !important; gap: 8px !important; padding: 10px !important; }
    .grid.home-stats > a { padding: 0 !important; }
    .grid.home-stats .w-10.h-10 { width: 30px !important; height: 30px !important; margin-bottom: 6px !important; border-radius: 9px !important; }
    .grid.home-stats .w-10.h-10 svg { width: 15px !important; height: 15px !important; }
    .grid.home-stats p.font-extrabold { font-size: 16px !important; line-height: 1.15 !important; }
    .grid.home-stats p.text-xs { font-size: 10px !important; margin-top: 3px !important; line-height: 1.25 !important; }
    .home-stats-wrap { border-radius: 12px !important; box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important; }

    /* é¦é¡µç­é¨æè¡æ¦ tab åæ¢ï¼ææºç«¯æ¹æ APP åæ®µæ§å¶å¨ï¼æ´ç´§å */
    .home-rank-tabs {
        border-radius: 10px !important;
        padding: 3px !important;
        gap: 3px !important;
        background: #f3f4f6 !important;
        border-color: transparent !important;
        box-shadow: inset 0 1px 2px rgba(0,0,0,0.05) !important;
    }
    .home-rank-tabs button {
        flex: 1 1 0 !important;
        min-width: 58px !important;
        padding: 5px 10px !important;
        font-size: 12.5px !important;
        line-height: 1.4 !important;
        border-radius: 8px !important;
        background: transparent !important;
        color: #6b7280 !important;
        font-weight: 500 !important;
        border: none !important;
        box-shadow: none !important;
    }
    .home-rank-tabs button.bg-gray-900,
    .home-rank-tabs button[aria-pressed="true"],
    .home-rank-tabs button.active {
        background: #ffffff !important;
        color: #111827 !important;
        box-shadow: 0 1px 2px rgba(0,0,0,0.08) !important;
        font-weight: 600 !important;
    }
    .home-rank-tabs button:active { transform: scale(0.96); }

    .grid.grid-cols-3 .p-4,
    .grid.grid-cols-4 .p-4,
    .grid.lg\:grid-cols-3 .p-4,
    .grid.lg\:grid-cols-4 .p-4,
    .grid.grid-cols-2 .p-4 { padding: 8px !important; }

    /* å¸å±åç½æ ¼ï¼åå®¹+ä¾§æ ï¼å¦èä½ä¸­å¿ / ä¼ä¸ä¸­å¿ï¼ï¼
       æ¾å¼ grid-cols-1 + lg:grid-cols-3/4 çï¼ææºç«¯å¿é¡»ååå å ï¼
       é¿åè¢«ä¸é¢çéç¨è§ååæä¸¤åå¯¼è´åå®¹éä½ãå¡çç½æ ¼ï¼grid-cols-2/3 ç´æ¥ç±»ï¼ä¸åå½±åã */
    .grid.grid-cols-1.lg\:grid-cols-3,
    .grid.grid-cols-1.lg\:grid-cols-4 {
        grid-template-columns: 1fr !important;
    }

    .grid > a .text-lg, .grid > div .text-lg,
    .grid > a h3, .grid > a h4 {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-top: 8px !important;
        margin-bottom: 4px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .grid .text-sm, .grid .text-base { font-size: 12.5px !important; line-height: 1.45 !important; }
    .grid .text-gray-500 { font-size: 11.5px !important; }
    .grid .text-primary, .grid .text-blue-600, .grid .font-bold { font-size: 14px !important; }

    /* ---------- å¾æ ç½æ ¼ï¼å¿«éå¥å£/æå¡å¯¼èªï¼ ---------- */
    .grid.grid-cols-6, .grid.grid-cols-8 {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 8px !important;
    }
    .grid.grid-cols-6 a, .grid.grid-cols-8 a { padding: 8px 4px !important; }
    .grid.grid-cols-6 .w-12, .grid.grid-cols-8 .w-12 { width: 40px !important; height: 40px !important; }
    .grid.grid-cols-6 .w-16, .grid.grid-cols-8 .w-16 { width: 44px !important; height: 44px !important; }
    .grid.grid-cols-6 .text-sm, .grid.grid-cols-8 .text-sm { font-size: 11px !important; margin-top: 4px !important; }

    /* ---------- æ¨ªåæ»å¨åç±»æ ç­¾ ---------- */
    .flex.flex-wrap.gap-2, .flex.flex-wrap.gap-3 { gap: 6px !important; }
    .flex.flex-wrap.gap-2 a, .flex.flex-wrap.gap-3 a { font-size: 12px !important; padding: 5px 10px !important; }

    .flex.gap-2.overflow-x-auto, .flex.gap-3.overflow-x-auto {
        gap: 6px !important;
        padding-bottom: 4px !important;
    }
    .flex.gap-2.overflow-x-auto a, .flex.gap-3.overflow-x-auto a {
        padding: 6px 12px !important;
        font-size: 12px !important;
        border-radius: 100px !important;
        white-space: nowrap;
        min-height: 40px;
    }

    /* ---------- æç« é¡µï¼single.phpï¼ ---------- */
    .single-main { min-height: 100vh; padding-bottom: 40px !important; }
    article.bg-white.rounded, article.bg-white, article {
        border-radius: 12px !important;
        padding: 14px !important;
        margin-bottom: 12px !important;
    }
    article .text-2xl, article .text-3xl { font-size: 20px !important; margin-bottom: 8px !important; }
    article h2.text-xl { font-size: 16px !important; margin-bottom: 8px !important; }
    article h2.text-lg { font-size: 15px !important; margin-bottom: 6px !important; }
    article .text-lg { font-size: 14px !important; line-height: 1.6 !important; }
    article .text-sm { font-size: 12.5px !important; }

    /* æç« æ­£æåå®¹ */
    .article-content, .main-content {
        font-size: 15px !important;
        line-height: 1.75 !important;
        width: 100% !important;
    }
    .article-content p { margin-bottom: 12px !important; }
    .article-content h1 { font-size: 22px !important; margin-top: 16px !important; margin-bottom: 10px !important; }
    .article-content h2 { font-size: 18.5px !important; margin-top: 16px !important; margin-bottom: 10px !important; font-weight: 700 !important; }
    .article-content h3 { font-size: 16.5px !important; margin-top: 14px !important; margin-bottom: 8px !important; font-weight: 700 !important; }
    .article-content h4 { font-size: 15px !important; margin-top: 12px !important; margin-bottom: 6px !important; }
    .article-content img { border-radius: 10px !important; margin: 10px 0 !important; max-width: 100%; height: auto; }
    .article-content blockquote {
        padding: 10px 12px !important;
        margin: 12px 0 !important;
        border-radius: 8px !important;
        font-size: 14px !important;
    }
    .article-content ul, .article-content ol { padding-left: 18px !important; margin: 10px 0 !important; }
    .article-content li { margin-bottom: 6px !important; }
    .article-content code {
        padding: 2px 6px !important;
        border-radius: 4px !important;
        font-size: 13px !important;
    }
    .article-content pre {
        padding: 10px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        overflow-x: auto;
    }
    .article-content table { font-size: 12.5px !important; width: 100%; overflow-x: auto; display: block; }
    .article-content th, .article-content td { padding: 6px 8px !important; }

    /* æç«  info card / related post */
    article .info-card { padding: 10px !important; margin-bottom: 10px !important; border-radius: 8px !important; }
    article .info-title { font-size: 13px !important; margin-bottom: 8px !important; }
    article .info-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 6px !important; }
    article .info-item { padding: 6px !important; }
    article .info-value { font-size: 14px !important; }
    article .info-label { font-size: 10.5px !important; }
    article .action-buttons { flex-direction: column !important; margin-top: 12px !important; padding-top: 10px !important; gap: 6px !important; }
    article .action-btn { padding: 10px !important; font-size: 13px !important; min-height: 44px; border-radius: 10px; }
    article .related-posts { padding: 10px !important; border-radius: 8px !important; margin-top: 12px !important; }
    article .related-title { font-size: 13px !important; margin-bottom: 8px !important; }
    article .related-list { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
    article .related-thumb { height: 80px !important; border-radius: 8px !important; }

    /* æç« é¡µï¼ä¾§è¾¹æ éèï¼ä¸»åå®¹å æ»¡ */
    .article-container {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 0 10px !important;
    }
    .sidebar, .sidebar-desktop-only { display: none !important; }
    .main-content { padding: 12px !important; border-radius: 10px !important; width: 100% !important; }
    .article-header { padding-bottom: 10px !important; margin-bottom: 10px !important; }
    .article-title { font-size: 20px !important; line-height: 1.3 !important; }
    .article-meta { font-size: 12px !important; gap: 8px !important; }

    /* ---------- è¯¾ç¨è¯¦æé¡µ ---------- */
    .course-detail { padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px)) !important; }
    .course-header { padding: 30px 16px !important; }
    .course-header .title { font-size: 1.6rem !important; }
    .course-header .back { padding: 6px 14px !important; font-size: 12px !important; }
    .course-info-bar { margin: -24px 12px 20px !important; padding: 14px !important; gap: 10px !important; flex-wrap: wrap; }
    .course-info-bar .item { width: calc(50% - 6px) !important; padding: 10px !important; }
    .course-info-bar .value { font-size: 1.2rem !important; }
    .course-content { padding: 0 12px !important; }
    .course-section { padding: 14px !important; margin-bottom: 12px !important; border-radius: 12px !important; }
    .course-section h3 { font-size: 16px !important; }
    .teacher-card { padding: 14px !important; gap: 12px !important; border-radius: 12px !important; }
    .teacher-avatar { width: 50px !important; height: 50px !important; font-size: 20px !important; }
    .teacher-name { font-size: 15px !important; }
    .chapter-item { padding: 12px !important; border-radius: 10px !important; }
    .chapter-item:hover { transform: none !important; }
    .chapter-item .title span:first-child { font-size: 13px !important; }

    .course-buy {
        padding: 12px 16px !important;
        gap: 10px !important;
        bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important;
        z-index: 99998 !important;
    }
    .course-buy .btn { padding: 12px 22px !important; font-size: 14px !important; border-radius: 10px !important; }
    .course-price { font-size: 1.15rem !important; }

    /* ---------- Hero åºåï¼é¨åé¡µé¢é¡¶é¨ï¼ ---------- */
    .hero { height: 150px !important; margin-top: -10px !important; }
    .hero-content { padding: 10px !important; }
    .hero-title { font-size: 18px !important; margin-bottom: 6px !important; }
    .category-tag { font-size: 10px !important; padding: 3px 8px !important; margin-bottom: 4px !important; border-radius: 100px !important; }
    .hero-meta { gap: 6px !important; font-size: 11.5px !important; flex-wrap: wrap; }

    /* ---------- ä½èå¡ç ---------- */
    .author-card { flex-direction: column !important; padding: 12px !important; gap: 10px !important; border-radius: 12px !important; }
    .author-avatar { width: 44px !important; height: 44px !important; }
    .author-info { text-align: center !important; }
    .author-name { font-size: 14px !important; }
    .author-bio { font-size: 12px !important; }
    .author-stats { justify-content: center !important; font-size: 11.5px !important; gap: 12px !important; }
    .author-actions { flex-direction: row !important; gap: 8px !important; width: 100% !important; }
    .author-actions button { flex: 1 !important; padding: 8px 10px !important; font-size: 12.5px !important; border-radius: 8px !important; }

    /* ---------- è¡¨åä¸è¾å¥ ---------- */
    input[type="text"], input[type="email"], input[type="password"],
    input[type="search"], input[type="tel"], input[type="number"],
    textarea, select {
        font-size: 16px !important;
        padding: 10px 12px !important;
        border-radius: 10px !important;
        min-height: 44px;
        box-sizing: border-box;
    }
    input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; }
    label { font-size: 13px !important; }

    /* ---------- æé® & è§¦æ§ç®æ  ---------- */
    button, .btn, a.button, a[role="button"],
    input[type="submit"], input[type="button"], input[type="reset"],
    .px-4.py-2, .px-5.py-2, .px-6.py-2, .px-6.py-3, .px-8.py-3 {
        min-height: 40px !important;
        font-size: 14px !important;
        border-radius: 10px !important;
    }

    /* ---------- å¾½ç«  / æ ç­¾ ---------- */
    .badge, .tag, .chip,
    .inline-block.px-2.py-1, .inline-flex.px-2.py-1 {
        padding: 3px 10px !important;
        font-size: 11.5px !important;
        border-radius: 100px !important;
    }

    /* ---------- é¢åå± ---------- */
    nav.flex.items-center.gap-2.text-sm { font-size: 12.5px !important; padding: 8px 0 !important; }

    /* ---------- åé¡µ ---------- */
    .pagination { gap: 6px !important; margin-top: 16px !important; flex-wrap: wrap; justify-content: center; }
    .pagination a, .pagination span {
        min-width: 36px !important;
        height: 36px !important;
        padding: 6px 10px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }
    nav.flex.justify-center.gap-2 { gap: 6px !important; margin-top: 20px !important; flex-wrap: wrap; justify-content: center; }
    nav.flex.justify-center.gap-2 a, nav.flex.justify-center.gap-2 span,
    nav.flex.justify-center.gap-2 button {
        min-width: 36px !important;
        min-height: 36px !important;
        padding: 6px 10px !important;
        font-size: 13px !important;
    }

    /* ---------- æç´¢æ¡ / æç´¢å¡ç ---------- */
    .search-card { padding: 12px !important; border-radius: 12px !important; margin-bottom: 14px !important; }
    .search-form { grid-template-columns: 1fr !important; gap: 10px !important; }
    .search-input { font-size: 14px !important; padding: 10px 12px !important; border-radius: 8px !important; }
    .search-select { font-size: 14px !important; padding: 10px 12px !important; border-radius: 8px !important; }
    .search-btn { padding: 12px !important; font-size: 14px !important; border-radius: 8px !important; }

    .search-bar { padding: 8px 14px !important; border-radius: 24px !important; margin-bottom: 14px !important; }
    .search-bar .search-input { font-size: 13px !important; padding: 8px 12px !important; border-radius: 20px !important; }
    .search-bar .search-btn { padding: 8px 16px !important; font-size: 13px !important; border-radius: 20px !important; }

    /* ---------- ç­éå¨ ---------- */
    .filters { gap: 8px !important; flex-wrap: nowrap !important; overflow-x: auto !important; padding: 0 12px 10px !important; margin-bottom: 10px !important; }
    .filter-btn { padding: 6px 12px !important; font-size: 12px !important; white-space: nowrap !important; border-radius: 100px !important; }

    /* ---------- èä½ / åå®¹ ç½æ ¼ ---------- */
    .job-grid, .content-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
    .job-card { padding: 12px !important; border-radius: 12px !important; }
    .job-title { font-size: 15px !important; }
    .job-company { font-size: 13px !important; }
    .job-tags { margin-bottom: 8px !important; gap: 6px !important; }
    .job-tag { padding: 3px 8px !important; font-size: 11px !important; border-radius: 4px !important; }
    .job-footer { flex-direction: column !important; gap: 8px !important; align-items: flex-start !important; }
    .job-salary { font-size: 16px !important; }

    .content-card { border-radius: 10px !important; }
    .card-content { padding: 10px !important; }
    .card-title { font-size: 13.5px !important; margin-bottom: 4px !important; line-height: 1.4 !important; }
    .card-meta { font-size: 11.5px !important; gap: 8px !important; }
    .card-price { font-size: 14px !important; }

    /* ---------- ç©ºç¶æ ---------- */
    .empty-state { padding: 40px 20px !important; }
    .empty-state h3 { font-size: 16px !important; }
    .empty-state p { font-size: 13px !important; }

    /* ---------- è¡¨æ ¼ï¼æ¨ªåæ»å¨ ---------- */
    table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    table td, table th { white-space: nowrap; }

    /* ---------- Modal / å¼¹çª ---------- */
    .fixed.inset-0 .max-w-lg,
    .fixed.inset-0 .max-w-md,
    .fixed.inset-0 .max-w-sm,
    .fixed.inset-0 .max-w-xl,
    .fixed.inset-0 .max-w-2xl {
        width: calc(100% - 32px) !important;
        margin: 0 16px !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
    }

    /* ---------- ä½èé¡µ / æ ç­¾é¡µ æ»å¨ ---------- */
    .author-tabs { overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; flex-wrap: nowrap !important; }
    .author-tabs a { white-space: nowrap !important; font-size: 13px !important; padding: 8px 14px !important; border-radius: 100px !important; }

    /* ---------- æ ç­¾/æ¡£æ¡é¡µæ é¢ ---------- */
    .page-title { font-size: 22px !important; margin-bottom: 6px !important; }
    .page-subtitle { font-size: 12px !important; }
    .page-header { text-align: center !important; margin-bottom: 14px !important; }

    /* ---------- line clamp ---------- */
    .line-clamp-2 { display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }

    /* ============================================================
       APP çº§å¢å¼ºï¼é¡¶æ å®å¨åº / Dock éä¸­æ / å¸é¡¶ç­é / é¡µèç²¾ç® / åä½æµ®çªéè
       ============================================================ */

    /* ---------- é¡¶é¨ APP æ ï¼åæµ·å®å¨åº + æ¯ç»ç ---------- */
    #main-header {
        padding-top: env(safe-area-inset-top, 0px) !important;
        background: rgba(255, 255, 255, 0.92) !important;
        -webkit-backdrop-filter: saturate(180%) blur(12px);
        backdrop-filter: saturate(180%) blur(12px);
        border-bottom-color: rgba(243, 244, 246, 0.7) !important;
    }
    /* å ä½æ¡é«åº¦ = é¡¶æ (56px) + åæµ·å®å¨åºï¼é¿ååå®¹è¢«åºå®é¡¶æ é®æ¡ */
    #mobile-header-spacer { height: calc(56px + env(safe-area-inset-top, 0px)) !important; }

    /* ---------- ç§»å¨ç«¯èåé®ç½©ï¼é»æ­å¾®ä¿¡ WebView å½ä¸­æµè¯æ¦æª ----------
       #mobile-menu-overlay æ¯ fixed inset-0 å¨å±å±ï¼ä»é  translate-x-full æèªèº«
       ç§»åºè§åºéèãiOS å¾®ä¿¡ WKWebView å¯¹ãè¢« transform ç§»åºè§å£ãä½ pointer-events
       é»è®¤ autoãç fixed åç´ ä»ä¼åå½ä¸­æµè¯æ¦æªï¼å¯¼è´æ´é¡µãå¾å¤ç¹ä¸å¨ãã
       ååºï¼é»è®¤ pointer-events:noneï¼ç¹å»ç©¿éå°ä¸å±ï¼ï¼ä»å¨èåæå¼ï¼ç§»é¤
       translate-x-fullï¼æ¶å¯ç¨èªå¨ï¼ä¸å½±åå³é­æ¶çæ»åºå¨ç»ï¼visibility å§ç»å¯è§ï¼ã */
    #mobile-menu-overlay { pointer-events: none !important; }
    #mobile-menu-overlay:not(.translate-x-full) { pointer-events: auto !important; }

    /* ---------- åºé¨ Dockï¼éä¸­æé«äº®ï¼APP è´¨æï¼ ---------- */
    .mobile-tab-item.active {
        background: rgba(37, 99, 235, 0.08);
        border-radius: 14px;
        color: var(--color-primary, #2563eb) !important;
    }
    .mobile-tab-item.active svg { transform: translateY(-1px) scale(1.05); }

    /* ---------- æ¨ªåç­é / åç±»æ ç­¾ï¼å¸é¡¶ï¼APP å¸¸è§äº¤äºï¼ ---------- */
    .filters {
        position: sticky !important;
        top: calc(56px + env(safe-area-inset-top, 0px)) !important;
        z-index: 30 !important;
        background: rgba(249, 250, 251, 0.96) !important;
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        margin: 0 !important;
        border-bottom: 1px solid #f3f4f6;
    }

    /* ---------- é¡µèï¼ç§»å¨ç«¯ç²¾ç®ä¸ºæç®çææ¡ï¼é¿åé¾æ¥å¢ï¼ ---------- */
    footer { padding-top: 0 !important; padding-bottom: 14px !important; }
    footer > .max-w-7xl > div:first-child,
    footer > .max-w-7xl > div:nth-child(2) { display: none !important; }
    footer .pt-8.border-t { padding-top: 16px !important; padding-bottom: 4px !important; }
    footer .pt-8.border-t .text-sm { font-size: 12px !important; }
    footer .pt-8.border-t .gap-6 { gap: 12px !important; }

    /* ---------- éèä¸ Dock éå çæ¡é¢æµ®çªï¼è¿åé¡¶é¨ï¼ ---------- */
    .back-to-top { display: none !important; }

    /* OPC åä½ä¸­å¿ï¼#opc-back-top æ¬æµ®æé®åå¨ 64px Dock ä¸ï¼ææºç«¯éèï¼APP å½¢æç¨ Dockï¼ */
    #opc-back-top { display: none !important; }

    /* æèé¡µèªç åºé¨å¯¼èª .lsj-mnav ä¸å¨å± 7 é¡¹ Dock åå±éå ï¼ææºç«¯éèï¼ç»ä¸èµ° Dockãæ±èãé¡¹ */
    .lsj-mnav { display: none !important; }

    /* å¨å®¢å¤§å FABï¼æ¬é«å° Dock ä¹ä¸é¿åè¢«çæ­»ï¼éç¨ç¢å é¤æé®è¡¥è¶³è§¦æ§åº */
    .wk-fab {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
        z-index: 9998 !important;
    }
    .wk-ms-del { min-width: 36px !important; min-height: 36px !important; padding: 8px !important; }
    .wk-filter-row { padding: 8px 0 !important; }
    /* å¨å®¢å¤§åå­¦çå¿«å / ææ å¡ï¼2 åçªå¡åè padding æ¶ç´§ */
    .wk-hall-grid { gap: 10px !important; }
    .wk-hall-grid > div { padding: 10px 12px !important; border-radius: 10px !important; }

    /* ---------- ä¼ä¸ä¸­å¿ï¼route-misc company åæ¯ï¼ææºç«¯æ¶ç´§ ----------
       hero å¤§çç½ãåè½ 2Ã2 å¡ãç²¾é logoãèªèµ nowrap æ¤å */
    .wk-company-center .hero-co { padding: 18px 14px !important; }
    .wk-company-center .hero-co h1 { margin-top: 6px !important; font-size: 20px !important; }
    .wk-company-center .grid.grid-cols-2 .text-2xl { font-size: 16px !important; margin-bottom: 4px !important; }
    .wk-company-center .grid.grid-cols-2 .p-5 { padding: 10px !important; }
    .wk-company-center .grid.grid-cols-2 .w-16.h-16 { width: 44px !important; height: 44px !important; }
    .wk-company-center .flex.items-center.justify-between { gap: 10px !important; }
    .wk-company-center .whitespace-nowrap { white-space: nowrap !important; }

    /* ---------- OPC åä½èå·¥ä½å°ï¼opc-creator.php .oc-*ï¼ææºç«¯æ¶ç´§ ---------- */
    .oc-stat { padding: 12px !important; }
    .oc-stat .v { font-size: 18px !important; }
    .oc-stat .l { font-size: 10px !important; }
    .oc-table { font-size: 12.5px !important; }
    .oc-table td, .oc-table th { padding: 6px 0 !important; }
    .oc-wrap .grid.grid-cols-2 { grid-template-columns: 1fr !important; }
    /* OPC æ°å¢å·¥ä½å°é¢æ¿ï¼ä»ªè¡¨ç/å¥é¤/è®¢å/AIå©æï¼ææºç«¯æ¶ç´§ */
    .opc-card, .opc-tier, .oc-card { border-radius: 12px !important; }
    .opc-tier { padding: 18px 14px !important; }
    .opc-tier .opc-tier-price { font-size: 24px !important; }
    .opc-sec-head h2 { font-size: 19px !important; }
    .opc-stats { gap: 8px !important; }
    .opc-stat { padding: 12px 10px !important; }
    .opc-stat .opc-stat-v { font-size: 18px !important; }
    .opc-qr-row { grid-template-columns: 1fr 1fr !important; }
    .opc-otable { font-size: 12px !important; }

    /* ---------- å³ä¸è§éç¥ééï¼ææºç«¯éè ----------
       56Ã56 fixed æé®å¨ç§»å¨ç«¯é®æ¡åå®¹ãä¸åºé¨ Dock å²çªï¼æ¾å¾é¡µé¢"ç©º/ä¸å¼å®¹"ã */
    #ls-notification-bell { display: none !important; }

    /* ---------- ååé¡µæ é¢åºï¼ææºç«¯æ´ç´§å ----------
       é¿å"åå®¢åå"æ é¢åºä¸ä¸çç½è¿å¤ãæ¾å¾ç©ºã */
    .ls-shop-page .page-header { margin: 8px 0 4px !important; text-align: left !important; }
    .ls-shop-page .page-title { font-size: 18px !important; line-height: 1.3 !important; margin-bottom: 2px !important; }
    .ls-shop-page .page-subtitle { font-size: 11px !important; margin-top: 2px !important; color: #9ca3af !important; }

    /* ---------- æ´ç´§åï¼åå®¹ææ»¡å±å¹ ---------- */
    .max-w-7xl, .max-w-4xl, .max-w-3xl, .max-w-xl, .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    section { padding-top: 12px !important; padding-bottom: 12px !important; }

    /* ---------- ç§»å¨ç«¯ä¾§æ»èåï¼ç´§å APP å ----------
       ç¨æ·æªå¾åé¦æ½å±èåæçæ¾æ£ï¼åç½é¡µä¸å APPã
       header.php å·²æ¹ä¸ºç´§å markupï¼è¿éç¨æ´éç¨çå­éæ©å¨ååºï¼
       é²æ­¢ Tailwind å·¥å·ç±»è¢«å¶ä»æ ·å¼è¦çã */
    #mobile-menu-overlay > .border-b {
        padding: 10px 12px !important;
    }
    #mobile-menu-overlay > .border-b a {
        gap: 8px !important;
    }
    #mobile-menu-overlay > .border-b img {
        height: 28px !important;
    }
    #mobile-menu-overlay > .border-b [class*="rounded-"] svg {
        width: 20px !important;
        height: 20px !important;
    }

    #mobile-menu-overlay > nav {
        padding: 10px 12px !important;
    }

    /* æç´¢æ¡ */
    #mobile-menu-overlay form[role="search"] {
        padding: 6px 10px !important;
        margin-bottom: 10px !important;
        border-radius: 10px !important;
    }
    #mobile-menu-overlay form[role="search"] svg {
        width: 16px !important;
        height: 16px !important;
    }
    #mobile-menu-overlay form[role="search"] input {
        font-size: 13px !important;
    }
    #mobile-menu-overlay form[role="search"] button {
        font-size: 12px !important;
        padding: 0 !important;
        min-height: auto !important;
    }

    /* å¿«æ·å¥å£ï¼å¼ºå¶ 5 åç´§åå¾æ  */
    #mobile-menu-overlay .grid {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 6px !important;
        margin-bottom: 10px !important;
    }
    #mobile-menu-overlay .grid > a {
        padding: 6px 2px !important;
        gap: 3px !important;
        border-radius: 8px !important;
    }
    #mobile-menu-overlay .grid > a > div {
        width: 30px !important;
        height: 30px !important;
        border-radius: 8px !important;
    }
    #mobile-menu-overlay .grid > a > div svg {
        width: 15px !important;
        height: 15px !important;
    }
    #mobile-menu-overlay .grid > a span {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    /* åç»æ é¢ */
    #mobile-menu-overlay [class*="tracking-wider"] {
        font-size: 10px !important;
        margin-bottom: 4px !important;
        letter-spacing: 0.02em !important;
        color: #9ca3af !important;
    }

    /* åè¡¨é¡¹ï¼ tighter */
    #mobile-menu-overlay > nav > div {
        margin-bottom: 8px !important;
    }
    #mobile-menu-overlay > nav > div > * + * {
        margin-top: 0 !important;
    }
    #mobile-menu-overlay a.flex.items-center {
        padding: 5px 10px !important;
        font-size: 13px !important;
        min-height: 32px !important;
        border-radius: 8px !important;
    }
    #mobile-menu-overlay a.flex.items-center svg {
        width: 16px !important;
        height: 16px !important;
    }

    /* åºé¨æä½åº */
    #mobile-menu-overlay > .border-t {
        padding: 10px 12px !important;
    }
    #mobile-menu-overlay > .border-t a {
        padding: 6px 10px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
        min-height: 32px !important;
    }
    #mobile-menu-overlay > .border-t a svg {
        width: 16px !important;
        height: 16px !important;
    }

    /* ---------- è¯¾ç¨é¡µï¼ææºç«¯ 3 åç´§åï¼APP è´¨æï¼ ----------
       route-courses.php çè¯¾ç¨å¡ç/åç±»å¡çé»è®¤å·² grid-cols-3ï¼
       è¿éåååºå¼ºå¶ 3 åå¹¶åç¼©å¡çåè¾¹è·ï¼é¿åæ¢è¡ã */
    .grid.force-grid-3 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    .grid.force-grid-3 > a > .h-36 {
        height: 84px !important;
    }
    .grid.force-grid-3 > a > div.p-4 {
        padding: 8px !important;
    }
    .grid.force-grid-3 > a h3 {
        font-size: 12px !important;
        line-height: 1.25 !important;
        margin-bottom: 4px !important;
    }
    .grid.force-grid-3 > a p.text-xs {
        font-size: 10px !important;
        margin-bottom: 4px !important;
    }
    /* åç±»å¯¼èªå¡çï¼å«æè¿°æå­ï¼ï¼3 åä¸åç¼©å¾æ ä¸æå­ï¼é¿åæº¢åº */
    .grid.force-grid-3 > a .w-10.h-10 {
        width: 28px !important;
        height: 28px !important;
        font-size: 14px !important;
    }
    .grid.force-grid-3 > a .flex.items-start {
        gap: 6px !important;
    }

    /* ---------- é»æ­¢æ©¡ç®ç­/é¾æå·æ°å¹²æ° APP ææ ---------- */
    body { overscroll-behavior-y: contain; }

    /* ---------- æ»å¨æ¡éèï¼APP è´¨æï¼ ---------- */
    *::-webkit-scrollbar { width: 0; height: 0; }
    * { -ms-overflow-style: none; scrollbar-width: none; }

    /* ============================================================
       ä¸ªäººä¸­å¿ï¼åå®¢æ§å¶å°ï¼ç§»å¨ç«¯éé
       ç®æ ï¼é¦å±ç´æ¥åç°ä¸»åå®¹ï¼ä¾§è¾¹å¯¼èªé»è®¤æå åç½®
       ============================================================ */
    /* ä¸»å®¹å¨ï¼å»æ 80px å·¨å¤§ä¸çç½ï¼ä¸é¡¶æ /Dock å®å¨åºå¯¹é½ */
    main.min-h-screen.bg-gray-50.pt-20.pb-24 {
        padding-top: calc(56px + env(safe-area-inset-top, 0px)) !important;
        padding-bottom: 10px !important;
    }
    .ls-pc-root { padding: 0 10px !important; margin-top: 0 !important; }

    /* å¤´é¨ï¼å¼ºå¶æ·±èèæ¯ + é«å¯¹æ¯ç½å­ï¼è§£å³ç¨æ·å/é®ç®±/æé®çä¸æ¸ */
    .ls-pc-header {
        background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
        color: #fff !important;
        padding: 14px 16px !important;
        border-radius: 16px !important;
        margin-bottom: 10px !important;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25) !important;
    }
    .ls-pc-header-inner { flex-direction: row !important; align-items: center !important; padding: 0 !important; gap: 12px !important; }
    .ls-pc-avatar { width: 48px !important; height: 48px !important; border-radius: 14px !important; border: 2px solid rgba(255,255,255,0.35) !important; flex-shrink: 0 !important; }
    .ls-pc-avatar img { filter: none !important; }
    .ls-pc-userinfo { min-width: 0 !important; }
    .ls-pc-username { font-size: 17px !important; font-weight: 700 !important; color: #fff !important; gap: 6px !important; line-height: 1.3 !important; text-shadow: 0 1px 2px rgba(0,0,0,0.15) !important; }
    .ls-pc-username span { color: #fff !important; }
    .ls-pc-useremail { font-size: 12px !important; color: rgba(255,255,255,0.92) !important; margin-top: 3px !important; }
    .ls-pc-header-actions { flex-wrap: nowrap !important; gap: 8px !important; margin-top: 0 !important; margin-left: auto !important; }
    .ls-pc-header-actions > * {
        padding: 7px 12px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
        white-space: nowrap !important;
        background: #fff !important;
        color: #1e40af !important;
        border: none !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
    }
    .ls-pc-header-actions > a[href*="wp-admin"] { background: #fff !important; color: #1e40af !important; }
    .ls-pc-points-pill { display: none !important; }

    /* å¸å±ï¼ä¸»åå®¹å¨åï¼ä¾§è¾¹æ æå åç½® */
    .ls-pc-flex { flex-direction: column-reverse !important; gap: 10px !important; }
    .ls-pc-content { order: -1; width: 100% !important; min-width: 0 !important; }
    .ls-pc-sidebar { width: 100% !important; }

    /* ä¾§è¾¹æ å¯¼èªï¼ç´§åç½æ ¼ï¼åå°å¤§çç©ºç½ */
    .ls-pc-nav { border-radius: 14px !important; overflow: hidden !important; }
    .ls-pc-nav-title-wrap { padding: 10px 12px 6px !important; background: transparent !important; border-bottom: none !important; }
    .ls-pc-nav-title { font-size: 12px !important; color: #6b7280 !important; letter-spacing: 0.02em !important; }
    .ls-pc-navlist {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        padding: 6px 10px 10px !important;
    }
    .ls-pc-navlist:not(.is-expanded) {
        max-height: 168px;
        overflow: hidden;
        position: relative;
    }
    .ls-pc-navlist:not(.is-expanded)::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,1)); pointer-events: none; }
    .ls-pc-navlist.is-expanded { max-height: none; }
    .ls-pc-navlist > div { grid-column: 1 / -1 !important; padding: 10px 4px 4px !important; font-size: 11px !important; color: #9ca3af !important; }
    .ls-pc-navlist > a {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 10px 4px !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        border-radius: 10px !important;
        min-height: 64px !important;
        text-align: center !important;
        background: #f8fafc !important;
        color: #374151 !important;
    }
    .ls-pc-navlist > a span { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; width: 100% !important; }
    .ls-pc-navlist > a.bg-blue-50, .ls-pc-navlist > a[class*="bg-blue"] {
        background: #eff6ff !important;
        color: #1d4ed8 !important;
        font-weight: 700 !important;
        box-shadow: inset 0 0 0 1px #bfdbfe !important;
    }
    .ls-pc-nav-more {
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 9px;
        font-size: 13px;
        font-weight: 600;
        color: #1d4ed8;
        background: #eff6ff;
        border-top: 1px solid #dbeafe;
        border-radius: 0 0 14px 14px;
        min-height: 42px;
    }

    /* ---------- é¦é¡µè¶ç´§åå¸å±ï¼è¿ä¸æ­¥åå°çç½ï¼åå®¹ä¸åï¼ ---------- */
    main > .relative.pt-10.pb-8 { padding-top: 8px !important; padding-bottom: 10px !important; }
    main .max-w-4xl.mx-auto.text-center { padding-left: 6px; padding-right: 6px; }
    main .max-w-4xl.mx-auto.text-center > .inline-flex.items-center.gap-2 {
        margin-bottom: 6px !important;
        padding: 3px 8px !important;
        font-size: 10.5px !important;
    }
    main .max-w-4xl.mx-auto.text-center > h1 {
        margin-bottom: 6px !important;
        font-size: 22px !important;
        line-height: 1.25 !important;
    }
    main .max-w-4xl.mx-auto.text-center > h1 span { margin-top: 2px !important; }
    main .max-w-4xl.mx-auto.text-center > p.text-gray-500 {
        margin-bottom: 8px !important;
        font-size: 12.5px !important;
        line-height: 1.5 !important;
    }
    main .max-w-4xl.mx-auto.text-center > .flex.items-center.justify-center.gap-3 {
        margin-bottom: 6px !important;
        gap: 6px !important;
        font-size: 11px !important;
    }
    main .max-w-4xl.mx-auto.text-center > .mb-8.flex.flex-col.sm\:flex-row {
        margin-bottom: 8px !important;
        gap: 6px !important;
    }
    main .max-w-4xl.mx-auto.text-center > .mb-8.flex.flex-col.sm\:flex-row a {
        padding: 7px 14px !important;
        font-size: 12px !important;
        min-height: 36px;
    }

    /* ç»è®¡å¡ï¼è¶å°å±ï¼ï¼4 åç´§å APP æ ¼å­ */
    .home-stats-wrap { margin-top: 8px !important; border-radius: 10px !important; }
    .grid.home-stats { grid-template-columns: repeat(4, 1fr) !important; }
    .grid.home-stats > a { padding: 0 !important; }
    .grid.home-stats .w-10.h-10 {
        width: 26px !important; height: 26px !important;
        margin-bottom: 5px !important; border-radius: 8px !important;
    }
    .grid.home-stats .w-10.h-10 svg { width: 13px !important; height: 13px !important; }
    .grid.home-stats p.font-extrabold { font-size: 15px !important; line-height: 1.15 !important; margin-bottom: 0 !important; }
    .grid.home-stats p.text-xs { font-size: 9.5px !important; margin-top: 2px !important; }

    /* ç»è®¡å¡ä¸æ¹ 4 ä¸ªåç±»æ ç­¾ */
    .home-stats-wrap .grid.grid-cols-4.border-t > a {
        padding: 5px 2px !important;
        gap: 3px !important;
        font-size: 10.5px !important;
    }
    .home-stats-wrap .grid.grid-cols-4.border-t svg { width: 14px !important; height: 14px !important; }

    /* æ ¸å¿æç */
    .py-10.bg-gray-50\/50 { padding-top: 10px !important; padding-bottom: 10px !important; }
    .py-10.bg-gray-50\/50 .text-center.mb-10 { margin-bottom: 6px !important; }
    .py-10.bg-gray-50\/50 .text-center > span {
        margin-bottom: 4px !important;
        padding: 2px 8px !important;
        font-size: 10px !important;
    }
    .py-10.bg-gray-50\/50 .text-center h2 { font-size: 17px !important; margin-bottom: 4px !important; }
    .py-10.bg-gray-50\/50 .text-center p { margin-top: 2px !important; font-size: 12px !important; }
    .grid.home-cards-2 { gap: 8px !important; }
    .grid.home-cards-2 > a { padding: 10px !important; border-radius: 10px !important; }
    .grid.home-cards-2 > a .w-10,
    .grid.home-cards-2 > a .sm\:w-16 {
        width: 36px !important; height: 36px !important;
        margin-bottom: 2px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
    }
    .grid.home-cards-2 > a h3 { margin-bottom: 2px !important; font-size: 13px !important; }
    .grid.home-cards-2 > a p { font-size: 11px !important; line-height: 1.35 !important; }

    /* ä¸»åå®¹å¡ç */
    .ls-pc-content { padding-top: 0 !important; }
    .ls-pc-content > div { padding: 12px !important; border-radius: 12px !important; }
    .ls-pc-content .space-y-6 > * + * { margin-top: 10px !important; }
    .ls-pc-content h3 { font-size: 15px !important; margin-bottom: 8px !important; }

    /* å­¦ä¹ ä»ªè¡¨çç»è®¡å¡ */
    .ls-pc-learning-stats { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    .ls-pc-learning-stats > div { padding: 12px !important; border-radius: 12px !important; }
    .ls-pc-learning-stats .text-3xl { font-size: 22px !important; }
    .ls-pc-learning-stats .text-sm { font-size: 12px !important; }

    /* è¶å¿å¾ + æ¦è§é¢æ¿ */
    .ls-pc-chart-panel, .ls-pc-overview-panel { padding: 12px !important; border-radius: 12px !important; }
    .ls-pc-chart-panel .relative.h-48 { height: 160px !important; }
    .ls-pc-overview-panel .space-y-3 > div { padding: 10px 12px !important; border-radius: 10px !important; }
    .ls-pc-overview-panel .font-bold { font-size: 15px !important; }

    /* è¯¾ç¨è¿åº¦å¡ç */
    .ls-pc-content .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-3 { grid-template-columns: 1fr !important; gap: 8px !important; }
    .ls-pc-content .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-3 > a { padding: 10px !important; border-radius: 10px !important; }
    .ls-pc-content .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-3 .w-16.h-16 { width: 48px !important; height: 48px !important; border-radius: 8px !important; }
}

/* ============================================================
   å°å±ææºä¼å (â¤380px)
   ============================================================ */
@media (max-width: 380px) {
    .grid.grid-cols-6, .grid.grid-cols-5 { grid-template-columns: repeat(4, 1fr) !important; gap: 6px !important; }
    .max-w-4xl.mx-auto.text-center h1, .max-w-4xl.mx-auto.text-center .text-3xl { font-size: 20px !important; }
    section h2.text-2xl, section h2.text-3xl { font-size: 16px !important; }
    body { font-size: 13.5px; }
}

/* ============================================================
   å¤§å±ææºä¼å (500-767px) ââ 3 åæ´ç´§å
   ============================================================ */
@media (min-width: 500px) and (max-width: 767px) {
    .max-w-4xl.mx-auto.text-center h1 { font-size: 28px !important; }
}
/* ============================================================
   æ°å­èµæºæ¨¡å dr-* ææºç«¯éé
   ============================================================ */
@media (max-width: 767px) {
    /* å®¹å¨ç´§å */
    .dr-wrap { padding: 12px 12px 80px; }
    .dr-topbar-inner { padding: 8px 12px; gap: 8px; }
    .dr-logo { font-size: 15px; }
    
    /* Hero åºååå */
    .dr-hero { flex-direction: column; padding: 20px 16px; gap: 16px; }
    .dr-hero-text { min-width: 0; }
    .dr-searchbar { max-width: 100%; }
    
    /* ç»è®¡å¡ç2å */
    .dr-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .dr-stat b { font-size: 18px; }
    
    /* å¸å±åå */
    .dr-layout { grid-template-columns: 1fr; }
    .dr-side { position: static; }
    
    /* å¡çç½æ ¼2å */
    .dr-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .dr-stage-row { grid-template-columns: repeat(2, 1fr); }
    .dr-netdisk-row { grid-template-columns: repeat(2, 1fr); }
    
    /* å¡çç´§å */
    .dr-card { }
    .dr-card-body { padding: 10px; gap: 4px; }
    .dr-card-title { font-size: 13px; }
    .dr-card-cover-ph { font-size: 32px; }
    
    /* è¯¦æé¡µåå */
    .dr-detail-head { flex-direction: column; gap: 12px; }
    .dr-detail-cover { width: 100%; flex: none; max-width: 320px; margin: 0 auto; }
    .dr-detail-info h1 { font-size: 18px; }
    .dr-detail-price { font-size: 20px; }
    
    /* ç­éæ å å  */
    .dr-filters { padding: 12px; }
    .dr-filter-field { min-width: 100%; }
    
    /* ä¾§è¾¹å¡ç */
    .dr-card-side { padding: 14px; }
    
    /* FAB ä¸ç§» */
    .dr-fab { bottom: 72px; right: 14px; }
    .dr-fab a { width: 44px; height: 44px; font-size: 20px; }
}

/* ============================================================
   äºæå¸åºæ¨¡å mk-* ææºç«¯éé
   ============================================================ */
@media (max-width: 767px) {
    /* å®¹å¨ç´§å */
    .mk-wrap { padding: 0 12px; }
    
    /* ä¸»å¸å±åå */
    .mk-main { grid-template-columns: 1fr; min-height: auto; }
    .mk-list-col { border-right: none; overflow-y: visible; }
    .mk-detail-col { position: static; height: auto; overflow-y: visible; border-top: 1px solid var(--mk-line); }
    .mk-detail-col.empty { display: none; }
    
    /* åååè¡¨2å */
    .mk-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mk-grid-3 { grid-template-columns: repeat(2, 1fr); }
    
    /* ååå¡çç´§å */
    .mk-card { padding: 12px; margin-bottom: 10px; }
    .mk-card-title { font-size: 14px; }
    .mk-card-price { font-size: 16px; }
    
    /* ç­éæ æ»å¨ */
    .mk-filters { flex-wrap: wrap; gap: 8px; }
    .mk-filter-group { width: 100%; }
    
    /* åå¸è¡¨åç´§å */
    .mk-form-group { margin-bottom: 12px; }
    .mk-input, .mk-select { font-size: 14px; padding: 10px 12px; }
    
    /* è¯¦æé¡µå¾çå¨å± */
    .mk-detail-gallery { margin: 0 -12px; }
    .mk-detail-gallery img { width: 100%; }
    
    /* åå®¶ä¿¡æ¯å å  */
    .mk-seller-row { flex-direction: column; gap: 8px; }
    .mk-seller-avatar { flex: none; }
    
    /* èå¤©åè¡¨ç´§å */
    .mk-chat-list { padding: 8px 0; }
    .mk-chat-item { padding: 12px; }
    
    /* è®¢ååè¡¨åå */
    .mk-order-list { flex-direction: column; }
    .mk-order-item { flex-direction: column; align-items: flex-start; }
    
    /* äº¤ææµç¨æ­¥éª¤ç«æ */
    .mk-tradein-steps { flex-direction: column; }
    .mk-tradein-step { width: 100%; }
    
    /* éè¿åè¡¨ */
    .mk-nearby-grid { grid-template-columns: 1fr; }
    
    /* çº çº·è¡¨åç´§å */
    .mk-dispute-form { padding: 16px; }
    .mk-form-row { flex-direction: column; gap: 12px; }
    
    /* äºå¨ä¸­å¿æ ç­¾æ  */
    .mk-engagement-tabs { flex-wrap: wrap; }
    .mk-tab { flex: 1; min-width: 80px; }
    
    /* ç®¡çé¢æ¿åå */
    .mk-admin-grid { grid-template-columns: 1fr; }
    .mk-admin-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   éç¨ï¼éèæ¡é¢ä¸ç¨åç´ 
   ============================================================ */
@media (max-width: 767px) {
    .dr-desktop-only { display: none !important; }
    .mk-desktop-only { display: none !important; }
    .lg\:block { display: none !important; }
    .md\:block { display: none !important; }
    .lg\:flex { display: none !important; }
    .md\:flex { display: none !important; }
    .lg\:grid { display: block !important; }
    .md\:grid { display: block !important; }
}

/* ==== æ¥æº: mobile-app.css ==== */
/* ============================================================
   EduMaster Mobile App UI ââ ç´§ååçé£æ ¼ä¼å
   ç®æ ï¼ä¿¡æ¯å¯åº¦é« Â· è§è§å±æ¬¡æ¸ Â· ç±»åçAPPä½éª
   ============================================================ */

/* ---------- å¨å±åºç¡ä¼å ---------- */
@media (max-width: 767px) {
    /* ç´§åé´è·ç³»ç» */
    :root {
        --app-padding: 12px;
        --app-gap: 8px;
        --app-radius: 10px;
    }
    
    body {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }
    
    /* å®¹å¨ç´§åå */
    .max-w-7xl,
    .max-w-4xl,
    .max-w-3xl {
        padding-left: var(--app-padding) !important;
        padding-right: var(--app-padding) !important;
    }
    
    /* éç¨é´è·åç¼© */
    .space-y-4 > * + * { margin-top: 8px !important; }
    .space-y-6 > * + * { margin-top: 10px !important; }
    .space-y-8 > * + * { margin-top: 12px !important; }
    
    .space-x-2 > * + * { margin-left: 6px !important; }
    .space-x-4 > * + * { margin-left: 8px !important; }
    .space-x-6 > * + * { margin-left: 10px !important; }
    
    /* å¨å±paddingåç¼© */
    .p-4 { padding: 10px !important; }
    .p-5 { padding: 12px !important; }
    .p-6 { padding: 14px !important; }
    .p-8 { padding: 16px !important; }
    
    .px-4 { padding-left: 12px !important; padding-right: 12px !important; }
    .px-5 { padding-left: 14px !important; padding-right: 14px !important; }
    .px-6 { padding-left: 16px !important; padding-right: 16px !important; }
    .px-8 { padding-left: 18px !important; padding-right: 18px !important; }
    
    .py-2 { padding-top: 6px !important; padding-bottom: 6px !important; }
    .py-3 { padding-top: 8px !important; padding-bottom: 8px !important; }
    .py-4 { padding-top: 10px !important; padding-bottom: 10px !important; }
    .py-5 { padding-top: 12px !important; padding-bottom: 12px !important; }
    .py-6 { padding-top: 14px !important; padding-bottom: 14px !important; }
    .py-8 { padding-top: 16px !important; padding-bottom: 16px !important; }
    
    /* éç¨marginåç¼© */
    .mt-2 { margin-top: 6px !important; }
    .mt-3 { margin-top: 8px !important; }
    .mt-4 { margin-top: 10px !important; }
    .mt-5 { margin-top: 12px !important; }
    .mt-6 { margin-top: 14px !important; }
    .mt-8 { margin-top: 16px !important; }
    
    .mb-2 { margin-bottom: 6px !important; }
    .mb-3 { margin-bottom: 8px !important; }
    .mb-4 { margin-bottom: 10px !important; }
    .mb-5 { margin-bottom: 12px !important; }
    .mb-6 { margin-bottom: 14px !important; }
    .mb-8 { margin-bottom: 16px !important; }
    
    /* å¨å±gapåç¼© */
    .gap-1 { gap: 4px !important; }
    .gap-2 { gap: 6px !important; }
    .gap-3 { gap: 8px !important; }
    .gap-4 { gap: 10px !important; }
    .gap-5 { gap: 12px !important; }
    .gap-6 { gap: 14px !important; }
    .gap-8 { gap: 16px !important; }
    
    /* å­å·ç´§åå */
    .text-xs { font-size: 11px !important; }
    .text-sm { font-size: 12.5px !important; }
    .text-base { font-size: 13.5px !important; }
    .text-lg { font-size: 14.5px !important; }
    .text-xl { font-size: 15.5px !important; }
    .text-2xl { font-size: 17px !important; }
    .text-3xl { font-size: 19px !important; }
    .text-4xl { font-size: 21px !important; }
    .text-5xl { font-size: 24px !important; }
    
    /* è¡é«ç´§å */
    p, li, td, th, .text-sm, .text-base, .text-lg {
        line-height: 1.4 !important;
    }
}

/* ============================================================
   å¡çç»ä»¶ä¼å
   ============================================================ */
@media (max-width: 767px) {
    /* éç¨å¡çç´§å */
    .rounded-xl { border-radius: 10px !important; }
    .rounded-2xl { border-radius: 12px !important; }
    
    /* å¡çåè¾¹è· */
    .p-3 { padding: 10px !important; }
    .p-4 { padding: 12px !important; }
    .p-5 { padding: 14px !important; }
    
    /* å¡çæ é¢ */
    .card-title,
    .card-header,
    [class*="card"] h2,
    [class*="card"] h3,
    [class*="card"] h4 {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }
    
    /* å¡çæè¿° */
    .card-desc,
    .card-body p,
    [class*="card"] p {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
}

/* ============================================================
   æé®ç»ä»¶ä¼å
   ============================================================ */
@media (max-width: 767px) {
    /* æé®ç´§å */
    button,
    .btn,
    [role="button"] {
        padding: 8px 14px !important;
        font-size: 13px !important;
        min-height: 36px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* æé®ç»ç´§å */
    .btn-group,
    [class*="btn-group"] {
        gap: 6px !important;
    }
    
    /* ç¹å»åé¦å¢å¼º */
    button:active,
    .btn:active,
    [role="button"]:active {
        transform: scale(0.96) !important;
        opacity: 0.9 !important;
    }
}

/* ============================================================
   åè¡¨ç»ä»¶ä¼å
   ============================================================ */
@media (max-width: 767px) {
    /* åè¡¨é¡¹ç´§å */
    .list-item,
    [class*="list"] > div,
    [class*="list"] > a,
    [class*="list"] > li {
        padding: 10px 12px !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* åè¡¨åéçº¿ */
    .list-item + .list-item,
    [class*="list"] > div + div,
    [class*="list"] > a + a {
        border-top-width: 1px !important;
    }
    
    /* åè¡¨å¾æ ç´§å */
    .list-item svg,
    .list-item img.icon,
    [class*="list"] svg,
    [class*="list"] img.icon {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0 !important;
    }
    
    /* åè¡¨æå­ç´§å */
    .list-item .title,
    .list-item .name,
    .list-item h3,
    .list-item h4,
    [class*="list"] .title,
    [class*="list"] .name {
        font-size: 13.5px !important;
        font-weight: 500 !important;
    }
    
    .list-item .desc,
    .list-item .subtitle,
    [class*="list"] .desc,
    [class*="list"] .subtitle {
        font-size: 11.5px !important;
        color: #6b7280 !important;
    }
}

/* ============================================================
   å¯¼èªæ ä¼å
   ============================================================ */
@media (max-width: 767px) {
    /* é¡¶é¨å¯¼èªç´§å */
    header,
    .navbar,
    .topbar,
    [class*="header"] {
        padding: 8px var(--app-padding) !important;
        height: 48px !important;
    }
    
    /* å¯¼èªlogo/æ é¢ */
    .navbar-brand,
    .topbar-logo,
    [class*="logo"] {
        font-size: 15px !important;
        height: 28px !important;
    }
    
    /* å¯¼èªå¾æ  */
    .navbar-icon,
    .topbar-icon,
    [class*="header"] svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    /* é¢åå±ç´§å */
    .breadcrumb {
        padding: 6px var(--app-padding) !important;
        font-size: 12px !important;
    }
}

/* ============================================================
   è¡¨åç»ä»¶ä¼å
   ============================================================ */
@media (max-width: 767px) {
    /* è¾å¥æ¡ç´§å */
    input,
    textarea,
    select,
    .form-control {
        padding: 8px 12px !important;
        font-size: 14px !important;
        height: 36px !important;
        border-radius: 8px !important;
    }
    
    /* è¡¨åæ ç­¾ç´§å */
    label,
    .form-label {
        font-size: 12px !important;
        margin-bottom: 4px !important;
        color: #374151 !important;
    }
    
    /* è¡¨åç»ç´§å */
    .form-group,
    .mb-3,
    .mb-4 {
        margin-bottom: 10px !important;
    }
    
    /* è¡¨åæç¤ºæå­ */
    .form-text,
    .form-hint,
    .text-muted {
        font-size: 11px !important;
    }
}

/* ============================================================
   å¾½ç« æ ç­¾ä¼å
   ============================================================ */
@media (max-width: 767px) {
    .badge,
    .tag,
    [class*="badge"],
    [class*="tag"] {
        padding: 2px 8px !important;
        font-size: 10px !important;
        border-radius: 4px !important;
    }
    
    /* è¯çæ ç­¾ */
    .chip,
    [class*="chip"] {
        padding: 3px 10px !important;
        font-size: 11px !important;
    }
}

/* ============================================================
   ç½æ ¼å¸å±ä¼åï¼æ ¸å¿ï¼
   ============================================================ */
@media (max-width: 767px) {
    /* é»è®¤ååï¼ç¹æ®ç½æ ¼è°æ´ */
    .grid-cols-2 { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    .grid-cols-3 { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    .grid-cols-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    .grid-cols-5 { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    .grid-cols-6 { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    
    /* å¡çç½æ ¼ç´§å */
    .grid > div,
    .grid > a,
    [class*="grid"] > div {
        padding: 8px !important;
    }
    
    /* ç»è®¡å¡çç´§å */
    .stat-card,
    [class*="stat"] {
        padding: 10px !important;
    }
    
    .stat-card .value,
    .stat-card .number,
    [class*="stat"] .value,
    [class*="stat"] .number {
        font-size: 18px !important;
    }
    
    .stat-card .label,
    [class*="stat"] .label {
        font-size: 11px !important;
    }
}

/* ============================================================
   å¾çåªä½ä¼å
   ============================================================ */
@media (max-width: 767px) {
    /* å¾çèªéåº */
    img,
    .card-img,
    [class*="cover"] img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* å°é¢å¾ç´§å */
    .cover-img,
    [class*="cover"] img {
        aspect-ratio: 16/10 !important;
    }
    
    /* å¤´åç´§å */
    .avatar,
    [class*="avatar"] img {
        width: 32px !important;
        height: 32px !important;
    }
    
    .avatar-sm,
    [class*="avatar-sm"] img {
        width: 24px !important;
        height: 24px !important;
    }
}

/* ============================================================
   è¡¨æ ¼ä¼å
   ============================================================ */
@media (max-width: 767px) {
    table {
        font-size: 12px !important;
    }
    
    th, td {
        padding: 6px 8px !important;
    }
    
    /* æ¨ªåæ»å¨ */
    .table-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

/* ============================================================
   åé¡µä¼å
   ============================================================ */
@media (max-width: 767px) {
    .pagination,
    [class*="pager"] {
        padding: 8px 0 !important;
        gap: 4px !important;
    }
    
    .pagination button,
    .pagination a,
    [class*="pager"] button,
    [class*="pager"] a {
        padding: 6px 12px !important;
        font-size: 12px !important;
        min-width: 32px !important;
        text-align: center !important;
    }
}

/* ============================================================
   Heroåºåä¼å
   ============================================================ */
@media (max-width: 767px) {
    .hero,
    [class*="hero"],
    section:first-of-type {
        padding: 16px var(--app-padding) !important;
        margin-bottom: 12px !important;
    }
    
    .hero h1,
    .hero h2,
    [class*="hero"] h1,
    [class*="hero"] h2 {
        font-size: 20px !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
    }
    
    .hero p,
    .hero .desc,
    [class*="hero"] p,
    [class*="hero"] .desc {
        font-size: 13px !important;
        margin-bottom: 12px !important;
    }
    
    .hero .actions,
    .hero .buttons,
    [class*="hero"] .actions,
    [class*="hero"] .buttons {
        gap: 8px !important;
    }
}

/* ============================================================
   ç©ºç¶æä¼å
   ============================================================ */
@media (max-width: 767px) {
    .empty-state,
    [class*="empty"],
    .no-data {
        padding: 30px 16px !important;
    }
    
    .empty-state svg,
    .empty-state img,
    [class*="empty"] svg,
    [class*="empty"] img {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 12px !important;
    }
    
    .empty-state h3,
    .empty-state h4,
    [class*="empty"] h3,
    [class*="empty"] h4 {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }
    
    .empty-state p,
    [class*="empty"] p {
        font-size: 12px !important;
    }
}

/* ============================================================
   Tabå¯¼èªä¼å
   ============================================================ */
@media (max-width: 767px) {
    .tabs,
    [class*="tab-nav"],
    .nav-tabs {
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding: 0 var(--app-padding) !important;
    }
    
    .tabs::-webkit-scrollbar,
    [class*="tab-nav"]::-webkit-scrollbar {
        display: none !important;
    }
    
    .tab-item,
    [class*="tab"] a,
    [class*="tab"] button {
        padding: 8px 14px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
        min-width: fit-content !important;
    }
    
    .tab-item.active,
    [class*="tab"].active {
        font-weight: 600 !important;
    }
}

/* ============================================================
   æç´¢æ ä¼å
   ============================================================ */
@media (max-width: 767px) {
    .search-bar,
    [class*="search"],
    .filter-bar {
        padding: 8px var(--app-padding) !important;
        gap: 8px !important;
    }
    
    .search-bar input,
    .search-bar input[type="search"],
    [class*="search"] input {
        padding: 8px 12px 8px 36px !important;
        font-size: 13px !important;
        height: 36px !important;
        border-radius: 18px !important;
        background: #f3f4f6 !important;
        border: none !important;
    }
    
    .search-bar button,
    [class*="search"] button {
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* ============================================================
   æ¬æµ®æé®ä¼å
   ============================================================ */
@media (max-width: 767px) {
    .fab,
    [class*="fab"],
    .float-btn {
        width: 44px !important;
        height: 44px !important;
        bottom: 72px !important;
        right: 16px !important;
    }
    
    .fab svg,
    .fab i,
    [class*="fab"] svg,
    [class*="fab"] i {
        width: 22px !important;
        height: 22px !important;
    }
}

/* ============================================================
   åºé¨å®å¨åºééï¼iPhone X+ï¼
   ============================================================ */
@media (max-width: 767px) {
    body {
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    }
    
    /* åºé¨åºå®æ éé */
    .fixed-bottom,
    [class*="bottom-bar"],
    nav[role="navigation"] {
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
        height: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* ============================================================
   è§¦æ¸ä¼åï¼44pxæå°ç¹å»åºï¼
   ============================================================ */
@media (max-width: 767px) {
    a, button, [role="button"], label {
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* é¾æ¥åè¾¹è· */
    a {
        padding: 8px 12px !important;
    }
    
    /* è¡¨ååç´ ç¹å»åº */
    input, select, textarea, button {
        min-height: 44px !important;
    }
    /* æ­£æ/ææ¬å®¹å¨åçè¡åé¾æ¥ä¿æåæ ·ï¼ä¸è¢«è§¦æ¸ä¼åæåï¼ */
    main a, .entry-content a, article a, .prose a,
    .ls-card a, .copyright a, .footer-copyright a,
    .text-gray-500 a, .text-gray-600 a, .text-gray-400 a,
    .comment-content a, .page-content a, .single-content a {
        min-height: auto !important;
        display: inline !important;
        padding: 0 !important;
        align-items: initial !important;
        justify-content: initial !important;
        vertical-align: baseline !important;
    }
}

/* ============================================================
   è±æ / å¤è¯­è¨ç§»å¨ç«¯æçä¿æ¤ï¼ç¿»è¯åå¼å®¹ï¼
   ââ è±æææ¡æ®éæ¯ä¸­æé¿ï¼æä¸é¿åè¯é»è®¤ä¸æ­è¡ï¼ææç ´
   åºå®å®½åº¦å®¹å¨ãåºé¨ Tabãæé®ä¸å¡çãæ­¤æ®µå¨ç§»å¨ç«¯å¨å±
   å¯ç¨å®å¨æ¢è¡ä¸çç¥ä¿æ¤ï¼ç¡®ä¿åæ¢è±æå APP æçä¸å´©ã
   ============================================================ */
@media (max-width: 767px) {

    /* 1) å¨å±å®å¨æ¢è¡ï¼é¿åè¯å¯æ­è¡ï¼æç»æ¨ªåæº¢åº */
    body,
    p, h1, h2, h3, h4, h5, h6,
    a, span, div, li, td, th, label,
    [class*="title"], [class*="desc"], [class*="name"],
    [class*="card"], [class*="item"], [class*="content"] {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    /* 2) åºé¨ Tab æ ç­¾ï¼è±æé¿æ ç­¾æªæ­çç¥ï¼ä¸æ¤åºå®¹å¨ */
    #mobile-nav-dock .mobile-tab-item {
        min-width: 0 !important;
        padding: 0 1px !important;
    }
    #mobile-nav-dock .mobile-tab-item span {
        display: block !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        line-height: 1.2 !important;
        padding: 0 1px !important;
    }

    /* 3) æé®ï¼è¿é¿ææ¡å®å¨æ­è¡ï¼é¿åæº¢åºå®¹å¨ */
    button, .btn, [role="button"] {
        min-width: 0 !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        text-align: center !important;
    }

    /* 4) å¼¹æ§/ç½æ ¼å­é¡¹æå°å®½åº¦å½é¶ï¼é²è±ææç ´ä¸è¡ */
    .flex > *, .flex-wrap > *, .grid > *,
    [class*="flex"] > *, [class*="grid"] > * {
        min-width: 0 !important;
    }

    /* 5) è¡¨åæ§ä»¶æå°å®½åº¦å½é¶ï¼è±æä¸æ¨ªåæº¢åº */
    input, select, textarea, .form-control {
        min-width: 0 !important;
    }

    /* 6) å¾½ç« /æ ç­¾/ç»è®¡æ ç­¾ç­åºå®å®½åº¦ææ¬çç¥ä¿æ¤ */
    [class*="badge"], [class*="tag"], [class*="chip"],
    [class*="stat"] [class*="label"] {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
}

/* è±ææ¨¡å¼ï¼html lang=en*ï¼é¢å¤æ¶ç´§ï¼Tab æ ç­¾æ´ç´§å */
@media (max-width: 767px) {
    html[lang^="en"] #mobile-nav-dock .mobile-tab-item span {
        font-size: 9px !important;
        letter-spacing: -0.01em;
    }
}

/* ============================================================
   æ§è½ä¼åï¼åå°éç»ï¼
   ============================================================ */
@media (max-width: 767px) {
    * {
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none !important;
    }
    
    /* å¯ç¨ç¡¬ä»¶å é */
    .card,
    [class*="card"],
    .item,
    [class*="item"] {
        transform: translateZ(0) !important;
        backface-visibility: hidden !important;
    }
}

/* ==== æ¥æº: dark-mode.css ==== */
/* ============================================================
   edumaster å¤é´æ¨¡å¼ï¼dark-modeï¼
   body å  .dark-mode åå¨ç«åæ¢æè²ã
   JS ç± edumaster-bundle.js ç bindNightMode å¤çï¼ç¹å» data-toggle-nightï¼ã
   è¿éè¡¥é½ .dark-mode çå®éæ ·å¼ï¼å¦åå¼å³æ è§è§ææã
   è¦ç Tailwind å¸¸ç¨èæ¯/æå­/è¾¹æ¡ç±»ï¼ä½ç¨äº body åä»£ï¼ç¹å¼æ§æ´é«ã
   ============================================================ */

:root { color-scheme: light; }
html.dark-mode {
    color-scheme: dark;
    /* è®¾è®¡ä»¤çæè²è¦çï¼ä½¿ææ var(--ls-*) ç»ä»¶èªå¨åæ */
    --ls-blue-soft:   #14233c;
    --ls-blue-soft-2: #14233c;
    --ls-blue-line:   #2c3f58;
    --ls-gold-soft:   #302714;
    --ls-gold-line:   #4a3d1f;
    --ls-navy-soft:   #16293f;
    --ls-ink:    #f1f5f9;
    --ls-body:   #cbd5e1;
    --ls-muted:  #94a3b8;
    --ls-faint:  #64748b;
    --ls-line:   #2c3f58;
    --ls-line-2: #223349;
    --ls-bg:     #0b1220;
    --ls-bg-2:   #101828;
    --ls-card:   #16202f;
    --ls-invert: #131c2b;
    --ls-success-soft: #0f2e25;
    --ls-danger-soft:  #33161b;
    --ls-warn-soft:    #33250f;
    --ls-info-soft:    #12273a;
    /* äºæå¸åº market.css */
    --mk-paper:   #0b1220;
    --mk-surface: #16202f;
    --mk-ink:     #f1f5f9;
    --mk-line:    #2c3f58;
    --mk-brand-soft:  #14233c;
    --mk-warn-soft:   #33250f;
    --mk-danger-soft: #33161b;
    --mk-info-soft:   #12273a;
    /* å¨å®¢ witkey.css */
    --wk-text:          #f1f5f9;
    --wk-text-sub:      #cbd5e1;
    --wk-text-mute:     #94a3b8;
    --wk-border:        #2c3f58;
    --wk-bg:            #0b1220;
    --wk-card:          #16202f;
    --wk-primary-light: #14233c;
    /* ä¸ªäººä¸­å¿/è¿è¥ user-dashboard .ls-ov-wrap */
    --ov-text:  #e2e8f0;
    --ov-muted: #94a3b8;
    --ov-border:#2c3f58;
    --ov-bg:    #0b1220;
    --ov-card:  #16202f;
    /* æ°å­èµæº dresources.css */
    --dr-bg:   #0b1220;
    --dr-card: #16202f;
    --dr-text: #f1f5f9;
    --dr-sub:  #cbd5e1;
    --dr-line: #2c3f58;
    /* å­¦é¢ school-redesign.css */
    --ls-school-bg:      #0b1220;
    --ls-school-text:    #f1f5f9;
    --ls-school-muted:   #cbd5e1;
    --ls-school-card-bg: #16202f;
    --ls-school-gold-light: #4a3d1f;
    /* äºæå¸åº market.css æ¬¡çº§/å¼±æå­ + æ¬¡çº§çº¿ */
    --mk-ink-2:  #cbd5e1;
    --mk-ink-3:  #94a3b8;
    --mk-line-2: #223349;
    /* æå¸å·¥ä½å° ao-education.css */
    --ao-bg:        #0b1220;
    --ao-surface:   #16202f;
    --ao-border:    #2c3f58;
    --ao-border-s:  #223349;
    --ao-text:      #f1f5f9;
    --ao-text-2:    #cbd5e1;
    --ao-muted:     #94a3b8;
    --ao-primary-l: #14233c;
    /* åçä¸»è²æè²å¯è¯»ï¼#0E2A47/#1B4A77 è½å¨ #16202f ä¸ä» 1.1:1 / 1.8:1ã
       æ¹äº®åææç´æ¥ var(--ls-navy)/var(--ls-blue) çæå­ï¼ä»¥å :root é
       éå®åå°å®ä»¬ç --kg/--wk/--mk/--lsj/--dr/--ao/--ai/--ach/--ov/--tn/--sd
       ä¸»è²ä¸å¹¶åäº®ï¼å± 90+ æ¡ color è§åä¸æ¬¡æ§ä¿®å¤ï¼ã
       å®åºåç½æé®è§æä»¶æ«å°¾ãåçå®åºå¨æè²ä¸ååãåã */
    --ls-navy: #93c5fd;
    --ls-blue: #60a5fa;
}

/* ---- é¡µé¢åºè²ï¼dark-mode ç»ä¸æå¨ <html>ï¼ç± <head> é²éªèæ¬ + JS åæ¢å±åç»´æ¤ï¼ ---- */
html.dark-mode body {
    background-color: #0b1220 !important;
    color: #d7dde7 !important;
}
body.dark-mode {
    background-color: #0b1220 !important;
    color: #d7dde7 !important;
}

/* ---- å¡ç / å®¹å¨èæ¯ï¼ç½ â æ·±ï¼ ---- */
.dark-mode .bg-white       { background-color: #16202f !important; }
.dark-mode .bg-gray-50     { background-color: #131c2b !important; }
.dark-mode .bg-gray-100    { background-color: #182436 !important; }
.dark-mode .bg-gray-200    { background-color: #223349 !important; }
.dark-mode .bg-gray-300    { background-color: #2c3f58 !important; }
.dark-mode .bg-slate-50    { background-color: #131c2b !important; }
.dark-mode .bg-slate-100   { background-color: #182436 !important; }
.dark-mode .bg-slate-200   { background-color: #223349 !important; }

/* ---- æµè² soft èæ¯ï¼bg-*-50 / bg-*-100ï¼è½¬æ·±è²åéæ ---- */
.dark-mode .bg-blue-50     { background-color: #14233c !important; }
.dark-mode .bg-indigo-50   { background-color: #171f3a !important; }
.dark-mode .bg-emerald-50  { background-color: #122e2c !important; }
.dark-mode .bg-amber-50    { background-color: #302714 !important; }
.dark-mode .bg-rose-50     { background-color: #321a22 !important; }
.dark-mode .bg-sky-50      { background-color: #11283a !important; }
.dark-mode .bg-violet-50   { background-color: #1d1a36 !important; }
.dark-mode .bg-teal-50     { background-color: #102e2c !important; }
.dark-mode .bg-orange-50   { background-color: #302314 !important; }
.dark-mode .bg-fuchsia-50  { background-color: #2c1636 !important; }
.dark-mode .bg-lime-50     { background-color: #1d2c12 !important; }
.dark-mode .bg-cyan-50     { background-color: #0f2a30 !important; }
.dark-mode .bg-blue-100    { background-color: #14233c !important; }
.dark-mode .bg-indigo-100  { background-color: #171f3a !important; }
.dark-mode .bg-emerald-100 { background-color: #122e2c !important; }
.dark-mode .bg-amber-100   { background-color: #302714 !important; }
.dark-mode .bg-rose-100    { background-color: #321a22 !important; }
.dark-mode .bg-sky-100     { background-color: #11283a !important; }

/* ---- æ·±è²èæ¯ä¿ææ´æ·± ---- */
.dark-mode .bg-gray-900    { background-color: #070d1a !important; }
.dark-mode .bg-gray-800    { background-color: #0d1524 !important; }
.dark-mode .bg-slate-800   { background-color: #0d1524 !important; }
.dark-mode .bg-slate-900   { background-color: #070d1a !important; }

/* ---- æå­ï¼æ·±ç°ç³»åè½¬æµè²ï¼æµç°ç³»åéåº¦ï¼ ---- */
.dark-mode .text-gray-900  { color: #f1f5f9 !important; }
.dark-mode .text-gray-800  { color: #e2e8f0 !important; }
.dark-mode .text-gray-700  { color: #cbd5e1 !important; }
.dark-mode .text-gray-600  { color: #b3bdc9 !important; }
.dark-mode .text-gray-500  { color: #94a3b8 !important; }
.dark-mode .text-gray-400  { color: #94a3b8 !important; }
.dark-mode .text-slate-900 { color: #f1f5f9 !important; }
.dark-mode .text-slate-800 { color: #e2e8f0 !important; }
.dark-mode .text-slate-700 { color: #cbd5e1 !important; }
.dark-mode .text-slate-600 { color: #b3bdc9 !important; }
.dark-mode .text-slate-500 { color: #94a3b8 !important; }
.dark-mode .text-slate-400 { color: #94a3b8 !important; }
/* ç½å­å¨æ·±åºä¸ä¿æå¯è¯»ï¼è¥åä¸ºæ·±åºä¸çç½å­ï¼å¿è½¬ï¼ */
.dark-mode .text-white     { color: #f8fafc !important; }

/* ---- è¾¹æ¡ï¼æµç°è½¬æ·±ï¼ ---- */
.dark-mode .border-gray-100,
.dark-mode .border-gray-200,
.dark-mode .border-gray-300,
.dark-mode .border-slate-100,
.dark-mode .border-slate-200,
.dark-mode .border-slate-300 {
    border-color: #2c3f58 !important;
}
.dark-mode .divide-gray-100 > :not([hidden]) ~ :not([hidden]),
.dark-mode .divide-gray-200 > :not([hidden]) ~ :not([hidden]) {
    border-color: #2c3f58 !important;
}

/* ---- è¾å¥æ§ä»¶ ---- */
.dark-mode input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
.dark-mode textarea,
.dark-mode select {
    background-color: #16202f !important;
    color: #e2e8f0 !important;
    border-color: #334155 !important;
}
.dark-mode input::placeholder,
.dark-mode textarea::placeholder { color: #94a3b8 !important; }

/* ---- å¤´é¨ / åºé¨å¯¼èª ---- */
.dark-mode #main-header,
.dark-mode .ls-topbar,
.dark-mode #mobile-header {
    background-color: #101828 !important;
    border-color: #223349 !important;
}

/* ---- éç¨é¢æ¿æ é¢/å¯æ é¢å¨æ·±åºå¯è¯» ---- */
.dark-mode .text-black   { color: #e5e7eb !important; }
.dark-mode .heading,
.dark-mode h1, .dark-mode h2, .dark-mode h3, .dark-mode h4, .dark-mode h5, .dark-mode h6 {
    color: #f1f5f9 !important;
}

/* ---- é´å½±å¡çå¨æ·±åºä¸æ´èªç¶ ---- */
.dark-mode .shadow-sm,
.dark-mode .shadow,
.dark-mode .shadow-md {
    box-shadow: 0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3) !important;
}

/* ---- ç§»å¨ç«¯æ½å±/é®ç½© ---- */
.dark-mode #mobile-menu-overlay,
.dark-mode .ls-drawer,
.dark-mode .mobile-menu-panel {
    background-color: #101828 !important;
}

/* å¤é´å¼å³ pressed è§è§åé¦ï¼æ¡é¢+ç§»å¨æé®ï¼ */
[data-toggle-night][aria-pressed="true"] {
    background: #16202f !important;
    color: #e2e8f0 !important;
    border-color: #2c3f58 !important;
}
/* ç§»å¨ç«¯åºé¨æä½æ ï¼wk/drï¼æè² */
html.dark-mode .wk-actionbar,
html.dark-mode .dr-actionbar {
    background: #16202f !important;
    border-top-color: #2c3f58 !important;
}
/* ---- ä¿®å¤ç½åºç¡¬ç¼ç ä¸æµè²åºï¼æè²ï¼ ---- */
html.dark-mode #mobile-nav-dock.mobile-tab-bar {
    background: #101828 !important;
    border-top-color: #223349 !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,.4) !important;
}
html.dark-mode .home-rank-tabs button.bg-gray-900,
html.dark-mode .home-rank-tabs button[aria-pressed="true"],
html.dark-mode .home-rank-tabs button.active {
    background: #16202f !important;
    color: #f1f5f9 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.4) !important;
}
html.dark-mode .ls-pc-header-actions > * {
    background: #16202f !important;
    color: #93c5fd !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.3) !important;
}
/* ååè¯¦æé¡µç»ä»¶ */
html.dark-mode .sp-header { background: #101828 !important; border-bottom-color: #223349 !important; }
html.dark-mode .sp-summary-name { color: #f1f5f9 !important; }
html.dark-mode .ls-btn-ghost { background: #16202f !important; color: #cbd5e1 !important; border-color: #2c3f58 !important; }
/* åéæç½ bg-white/xx â åéææ·± */
html.dark-mode .bg-white\/50 { background-color: rgba(13,18,32,0.5) !important; }
html.dark-mode .bg-white\/70 { background-color: rgba(13,18,32,0.7) !important; }
html.dark-mode .bg-white\/80 { background-color: rgba(13,18,32,0.8) !important; }
html.dark-mode .bg-white\/90 { background-color: rgba(13,18,32,0.9) !important; }
html.dark-mode .bg-white\/10 { background-color: rgba(13,18,32,0.1) !important; }
html.dark-mode .bg-white\/15 { background-color: rgba(13,18,32,0.15) !important; }
html.dark-mode .bg-white\/20 { background-color: rgba(13,18,32,0.2) !important; }
html.dark-mode .bg-white\/25 { background-color: rgba(13,18,32,0.25) !important; }
html.dark-mode .bg-white\/30 { background-color: rgba(13,18,32,0.3) !important; }
html.dark-mode .bg-white\/40 { background-color: rgba(13,18,32,0.4) !important; }
/* å½©è²æµåº â æ·±è² */
html.dark-mode .bg-pink-100, html.dark-mode .bg-rose-100 { background-color: #3a1a22 !important; }
html.dark-mode .bg-red-100 { background-color: #3a1a22 !important; }
html.dark-mode .bg-yellow-100, html.dark-mode .bg-amber-100 { background-color: #3a2f1a !important; }
html.dark-mode .bg-purple-100, html.dark-mode .bg-violet-100 { background-color: #2a1f3a !important; }
html.dark-mode .bg-green-100, html.dark-mode .bg-emerald-100 { background-color: #1a3222 !important; }

/* ==== æ¥æº: shop-product.css ==== */
/* ============================================================
   EduMaster - ååè¯¦æé¡µæ ·å¼ï¼single-shop_product.phpï¼
   ä½ç¨åéå® .sp-* / .product-*ï¼å¨å±å è½½ä¸å½±åå¶å®é¡µé¢ã
   ============================================================ */

/* ---------- é¡¶é¨é¢åå±å¯¼èª ---------- */
.sp-header {
    background: #fff;
    border-bottom: 1px solid #eef0f3;
    position: sticky;
    top: 0;
    z-index: 50;
}
.sp-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.sp-header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    flex-wrap: wrap;
}
.sp-header-nav a { color: #6b7280; text-decoration: none; }
.sp-header-nav a:hover { color: #2563eb; }
.sp-header-nav span { color: #d1d5db; }
.sp-crumb-current { color: #111827; font-weight: 600; }
.sp-header-actions { flex-shrink: 0; }
.sp-header-btn {
    display: inline-block;
    padding: 6px 14px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
}
.sp-header-btn:hover { background: #e5e7eb; }

/* ---------- åºéºæè¦ ---------- */
.sp-summary-wrap {
    max-width: 1200px;
    margin: 16px auto 0;
    padding: 0 16px;
}
.sp-summary {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(16,24,40,.04);
}
.sp-summary-avatar {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: #eff6ff;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
}
.sp-summary-logo { width: 100%; height: 100%; object-fit: cover; }
.sp-icon-lg { font-size: 28px; }
.sp-summary-info { flex: 1; min-width: 0; }
.sp-summary-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sp-summary-name { font-size: 16px; font-weight: 700; color: #111827; }
.sp-summary-badge {
    font-size: 11px; color: #16a34a; background: #dcfce7;
    padding: 2px 8px; border-radius: 999px;
}
.sp-summary-rating { font-size: 12px; color: #f59e0b; font-weight: 600; }
.sp-summary-meta {
    margin-top: 6px; display: flex; gap: 12px; flex-wrap: wrap;
    font-size: 12px; color: #6b7280;
}
.sp-desc-text { color: #9ca3af; }
.sp-summary-stats { display: flex; gap: 8px; flex-shrink: 0; }
.sp-summary-stat, .sp-summary-stat-outline {
    display: inline-flex; align-items: center;
    padding: 8px 14px; border-radius: 10px;
    font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.sp-summary-stat { background: #2563eb; color: #fff; }
.sp-summary-stat:hover { background: #1d4ed8; }
.sp-summary-stat-outline { background: #fff; color: #ef4444; border: 1px solid #fecaca; }
.sp-summary-stat-outline:hover { background: #fef2f2; }

/* ---------- ä¸»å¸å±ï¼ä¸»åå®¹ + ä¾§è¾¹æ  ---------- */
.sp-main-layout {
    max-width: 1200px;
    margin: 16px auto 0;
    padding: 0 16px 40px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}
.product-main-content { min-width: 0; }
.product-sidebar { min-width: 0; }

/* ---------- éç¨å¡ç ---------- */
.sp-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(16,24,40,.04);
}
.sp-card-title-lg {
    display: flex; align-items: center; gap: 8px;
    font-size: 17px; font-weight: 700; color: #111827;
    margin: 0 0 16px;
}
.sp-accent-bar { width: 4px; height: 18px; background: #2563eb; border-radius: 2px; display: inline-block; }
.sp-accent-bar-sm { width: 4px; height: 16px; background: #2563eb; border-radius: 2px; display: inline-block; }
.sp-accent-bar-orange { width: 4px; height: 16px; background: #f97316; border-radius: 2px; display: inline-block; }
.sp-accent-bar-green { width: 4px; height: 16px; background: #16a34a; border-radius: 2px; display: inline-block; }

/* ---------- äº§åå¾æç½æ ¼ ---------- */
.sp-product-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
}
.product-image-wrap { min-width: 0; }
.sp-gallery {
    border-radius: 12px; overflow: hidden;
    background: #f3f4f6;
    aspect-ratio: 1 / 1;
    display: flex; align-items: center; justify-content: center;
}
.sp-main-image { width: 100%; height: 100%; object-fit: cover; }
.sp-icon-big { font-size: 64px; }
.product-info-wrap { min-width: 0; }

.sp-product-title {
    font-size: 22px; font-weight: 700; color: #111827; margin: 0 0 8px;
    line-height: 1.3;
}
.sp-product-desc { color: #6b7280; font-size: 14px; margin: 0 0 16px; line-height: 1.6; }

.sp-price-box {
    background: linear-gradient(135deg,#fff7ed,#fffbeb);
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
.sp-price-row { display: flex; align-items: baseline; gap: 10px; }
.sp-price-current { font-size: 28px; font-weight: 800; color: #ea580c; }
.sp-price-original { font-size: 15px; color: #9ca3af; }
.sp-price-meta {
    margin-top: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    font-size: 12px; color: #92400e;
}
.sp-price-tag {
    background: #ea580c; color: #fff; padding: 2px 8px; border-radius: 6px; font-weight: 600;
}

/* ---------- åæ° ---------- */
.sp-params {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px;
    padding: 12px 0; border-top: 1px dashed #e5e7eb; margin-bottom: 16px;
}
.sp-param-item { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.sp-param-label { color: #9ca3af; min-width: 42px; }
.sp-param-value { color: #374151; font-weight: 600; }
.sp-stock-instock { color: #16a34a; font-weight: 600; font-size: 13px; }
.sp-stock-out { color: #ef4444; font-weight: 600; font-size: 13px; }
.sp-author-name { color: #2563eb; font-weight: 600; }

/* ---------- æä½æé® ---------- */
.sp-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sp-btn-primary, .sp-btn-buy, .sp-btn-fav {
    flex: 1; min-width: 120px; text-align: center;
    padding: 13px 16px; border-radius: 10px; font-size: 15px; font-weight: 700;
    text-decoration: none; transition: opacity .15s;
}
.sp-btn-primary { background: #2563eb; color: #fff; }
.sp-btn-primary:hover { background: #1d4ed8; }
.sp-btn-buy { background: linear-gradient(135deg,#f97316,#ea580c); color: #fff; }
.sp-btn-buy:hover { opacity: .92; }
.sp-btn-fav {
    flex: 0 0 auto; min-width: 96px;
    background: #fff; color: #ef4444; border: 1px solid #fecaca;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}

/* ---------- äº§åè¯¦æ / æ ç­¾ ---------- */
.sp-content { font-size: 14px; color: #374151; line-height: 1.8; }
.sp-content img { max-width: 100%; height: auto; border-radius: 8px; }
.sp-desc-color { color: #4b5563; }
.sp-content-empty { color: #9ca3af; padding: 12px 0; }
.sp-footer { margin-top: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.sp-footer-label { color: #9ca3af; }
.sp-tag {
    background: #eff6ff; color: #2563eb; padding: 4px 10px; border-radius: 999px;
    font-size: 12px; text-decoration: none;
}
.sp-tag:hover { background: #dbeafe; }

/* ---------- ä¾§è¾¹æ å¡ç ---------- */
.sp-sidebar-card {
    background: #fff; border: 1px solid #eef0f3; border-radius: 14px;
    padding: 18px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(16,24,40,.04);
}
.sp-sidebar-title {
    display: flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 700; color: #111827; margin: 0 0 14px;
}
.sp-seller-card { display: flex; align-items: center; gap: 12px; }
.sp-seller-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.sp-seller-name { font-size: 15px; font-weight: 700; color: #111827; }
.sp-seller-meta { font-size: 12px; color: #16a34a; margin-top: 2px; }
.sp-seller-stats { display: flex; gap: 8px; margin: 14px 0; }
.sp-seller-stat {
    flex: 1; text-align: center; background: #f9fafb; border-radius: 10px; padding: 10px 4px;
}
.sp-seller-stat-val { font-size: 16px; font-weight: 800; color: #111827; }
.sp-seller-stat-val.green { color: #16a34a; }
.sp-seller-stat-val.yellow { color: #f59e0b; }
.sp-seller-stat-label { font-size: 11px; color: #9ca3af; margin-top: 2px; }
.sp-view-all {
    display: block; text-align: center; padding: 10px;
    border: 1px solid #e5e7eb; border-radius: 10px; color: #2563eb;
    font-size: 13px; font-weight: 600; text-decoration: none;
}
.sp-view-all:hover { background: #eff6ff; }

/* ---------- ç¸å³æ¨è / ç­éæè¡ ---------- */
.sp-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sp-related-item { text-decoration: none; color: inherit; }
.sp-r-card {
    border: 1px solid #f1f3f5; border-radius: 10px; overflow: hidden; background: #fff;
    transition: box-shadow .15s;
}
.sp-related-item:hover .sp-r-card { box-shadow: 0 4px 12px rgba(16,24,40,.08); }
.sp-related-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #f3f4f6; display: block; }
.sp-related-name { font-size: 13px; color: #374151; padding: 8px 10px 2px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-related-price { font-size: 14px; font-weight: 700; color: #ea580c; padding: 0 10px 10px; }

.sp-rank-list { display: flex; flex-direction: column; gap: 10px; }
.sp-rank-item { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 8px; border-radius: 10px; }
.sp-rank-item:hover { background: #f9fafb; }
.sp-rank-item img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #f3f4f6; }
.sp-rank-title { font-size: 13px; color: #374151; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-rank-price { font-size: 13px; font-weight: 700; color: #ea580c; }
.sp-rank-empty, .sp-rank-empty { color: #9ca3af; font-size: 13px; padding: 8px 0; }

/* ---------- è¯ä»· ---------- */
.sp-review-summary {
    display: flex; align-items: center; gap: 16px;
    background: #f9fafb; border-radius: 12px; padding: 16px; margin-bottom: 16px;
}
.sp-review-score-num { font-size: 32px; font-weight: 800; color: #111827; line-height: 1; }
.sp-review-score-label { font-size: 12px; color: #9ca3af; margin-top: 4px; }
.sp-review-flex { flex: 1; }
.sp-review-subtitle { font-size: 14px; font-weight: 600; color: #374151; }
.sp-review-stars { color: #f59e0b; font-size: 16px; margin-top: 4px; letter-spacing: 2px; }
.sp-review-list { display: flex; flex-direction: column; gap: 12px; }
.sp-review-item { border-bottom: 1px solid #f1f3f5; padding-bottom: 12px; }
.sp-review-header { display: flex; align-items: center; gap: 10px; }
.sp-review-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.sp-review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sp-review-author { font-size: 14px; font-weight: 600; color: #111827; }
.sp-review-date { font-size: 12px; color: #9ca3af; margin-top: 2px; }
.sp-review-rating { margin-left: auto; color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.sp-review-text { font-size: 14px; color: #4b5563; line-height: 1.7; margin-top: 8px; }
.sp-review-empty { text-align: center; color: #9ca3af; padding: 20px 0; }
.sp-review-empty-icon { font-size: 28px; margin-bottom: 6px; }

.sp-review-form { margin-top: 18px; border-top: 1px dashed #e5e7eb; padding-top: 16px; }
.sp-review-form-title { font-size: 15px; font-weight: 700; color: #111827; margin: 0 0 12px; }
.sp-form-row { margin-bottom: 12px; }
.sp-review-label { display: block; font-size: 13px; color: #6b7280; margin-bottom: 6px; }
.sp-star-rating { display: flex; gap: 4px; }
.sp-star-rating span {
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #d1d5db; cursor: pointer; border-radius: 6px;
}
.sp-star-rating span:hover, .sp-star-rating span.active { color: #f59e0b; background: #fffbeb; }
.sp-form-textarea {
    width: 100%; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px;
    font-size: 14px; resize: vertical; box-sizing: border-box;
}
.sp-form-textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.sp-submit-btn {
    background: #2563eb; color: #fff; border: none; border-radius: 10px;
    padding: 11px 28px; font-size: 14px; font-weight: 700; cursor: pointer;
}
.sp-submit-btn:hover { background: #1d4ed8; }

/* ---------- åºé¨æä½æ¡ï¼æªç»å½æ¶çç»å½æç¤ºï¼ç§»å¨ç«¯åºå®å¸åºï¼ ---------- */
.sp-footer-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
    padding: 12px 16px; margin-top: 18px;
}
.sp-footer-bar-text { font-size: 13px; color: #6b7280; }
.sp-footer-bar-btn {
    background: #2563eb; color: #fff; text-decoration: none;
    padding: 10px 20px; border-radius: 10px; font-size: 14px; font-weight: 700;
}
.sp-footer-bar-btn:hover { background: #1d4ed8; }

/* ---------- åååç¹ ---------- */
.sp-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.sp-highlight-item {
    display: inline-flex; align-items: center; gap: 4px;
    background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0;
    padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.4;
}

/* ---------- æå¡æ¿è¯º ---------- */
.sp-service-strip { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 4px; }
.sp-service-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12.5px; color: #374151; background: #f9fafb; border: 1px solid #e5e7eb;
    padding: 5px 11px; border-radius: 8px; line-height: 1.4;
}
.sp-service-icon { font-size: 13px; }

/* ---------- è¥éæ´»å¨æ ç­¾ ---------- */
.sp-promo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sp-promo-tag {
    display: inline-flex; align-items: center; font-size: 12px; font-weight: 700;
    padding: 3px 9px; border-radius: 6px; line-height: 1.5;
}
.sp-promo-fullcut { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.sp-promo-points { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.sp-promo-limit  { background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; }

/* ---------- ååè§é¢ ---------- */
.sp-video-wrap { border-radius: 12px; overflow: hidden; background: #000; }
.sp-video { width: 100%; max-height: 480px; display: block; background: #000; }

/* ---------- è§æ ¼åæ° ---------- */
.sp-spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sp-spec-table tr { border-bottom: 1px solid #f1f3f5; }
.sp-spec-table tr:last-child { border-bottom: none; }
.sp-spec-table th {
    text-align: left; width: 30%; padding: 11px 12px; color: #6b7280; font-weight: 500;
    background: #f9fafb; vertical-align: top;
}
.sp-spec-table td { padding: 11px 12px; color: #374151; }

/* ---------- ééä¿¡æ¯ ---------- */
.sp-logi-list { display: flex; flex-direction: column; }
.sp-logi-item {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 2px; border-bottom: 1px dashed #eef0f3; font-size: 13.5px;
}
.sp-logi-item:last-child { border-bottom: none; }
.sp-logi-label { color: #9ca3af; min-width: 56px; }
.sp-logi-value { color: #374151; font-weight: 600; }

/* ============================================================
   ååºå¼ï¼å¹³æ¿ / ææº
   ============================================================ */
@media (max-width: 992px) {
    .sp-main-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .sp-summary { flex-wrap: wrap; }
    .sp-summary-stats { width: 100%; }
    .sp-summary-stat, .sp-summary-stat-outline { flex: 1; justify-content: center; }

    .sp-product-grid { grid-template-columns: 1fr; }
    .sp-gallery { aspect-ratio: 4 / 3; max-height: 320px; }

    .sp-params { grid-template-columns: 1fr 1fr; }

    .sp-card { padding: 16px; }
    .sp-product-title { font-size: 19px; }
    .sp-price-current { font-size: 24px; }

    .sp-actions { position: sticky; bottom: 0; }
    .sp-btn-primary, .sp-btn-buy { flex: 1; }

    /* ç§»å¨ç«¯åºé¨åºå®å¸åºæä½æ¡ */
    .sp-footer-bar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        background: #fff; border: 1px solid #e5e7eb; border-radius: 0;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        box-shadow: 0 -2px 10px rgba(16,24,40,.06);
    }
    /* ç»åºé¨åºå®æ¡çåºç©ºé´ */
    .product-main { padding-bottom: 80px; }
}

/* ==== æ¥æº: course-detail.css ==== */
/* ============================================================
   è¯¾ç¨è¯¦æé¡µæ ·å¼ï¼course / content_edu å±ç¨ single-content_edu.phpï¼
   v2 â Tab å¯¼èª + èè¯æ¨è + äº®ç¹/ç®æ åè¡¨ + å¨é¢ç§»å¨ç«¯éé
   ============================================================ */

.course-detail {
    max-width: 1280px;
    margin: 0 auto;
    background: #ffffff;
    min-height: 100vh;
    padding-bottom: 28px;
    border: 1px solid #eceef3;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 24px rgba(17, 24, 39, 0.06);
}
@media (min-width: 1600px) {
    .course-detail { max-width: 1440px; }
}

/* ---------- å¤´é¨ ---------- */
.course-header {
    position: relative;
    padding: 40px 28px 32px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #3b82f6 100%);
    color: #fff;
    border-radius: 0 0 24px 24px;
}
.course-header .back {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    font-size: 13px;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    text-decoration: none;
    transition: background .2s;
}
.course-header .back:hover { background: rgba(255, 255, 255, 0.32); }
.course-header .title {
    margin: 0 0 14px;
    font-size: 1.9rem;
    line-height: 1.35;
    font-weight: 800;
    color: #fff;
}
.course-header .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
}
.course-header .meta-item { display: inline-flex; align-items: center; gap: 4px; }

/* ---------- ä¿¡æ¯æ¡ï¼4 åç½æ ¼ï¼ä¸ç§»è¦çå¤´é¨ ---------- */
.course-info-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: -28px 20px 22px;
    padding: 18px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.12);
}
.course-info-bar .item {
    text-align: center;
    padding: 12px 8px;
    border-radius: 12px;
    background: #f7f8fc;
}
.course-info-bar .value { font-size: 1.25rem; font-weight: 800; color: #4f46e5; }
.course-info-bar .value small { font-size: 12px; font-weight: 500; color: #6b7280; margin-left: 2px; }
.course-info-bar .label { margin-top: 4px; font-size: 12px; color: #888; }

/* ä»·æ ¼åºåä»·å é¤çº¿ */
.price-val { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.price-now { font-size: 1.4rem; font-weight: 800; color: #e11d48; }
.price-free { font-size: 1.4rem; font-weight: 800; color: #10b981; }
.price-orig { font-size: 13px; font-weight: 400; color: #9ca3af; text-decoration: line-through; margin-top: 2px; }

/* ---------- Tab å¯¼èªï¼stickyï¼ ---------- */
.course-tabs {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 2px solid #f0f1f5;
    margin: 0 20px 0;
    border-radius: 12px 12px 0 0;
}
.tab-nav {
    display: flex;
    gap: 4px;
    padding: 6px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
    flex: 0 0 auto;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s;
}
.tab-btn:hover { color: #4f46e5; background: #eef2ff; }
.tab-btn.active {
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* ---------- Tab é¢æ¿ ---------- */
.tab-panel { display: none; animation: fadeTab .25s ease; }
.tab-panel.active { display: block; }
@keyframes fadeTab { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- åå®¹åº ---------- */
.course-content { padding: 16px 20px 0; }
.course-section {
    padding: 20px;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.04);
}
.course-section h3 {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
    padding-left: 12px;
    border-left: 4px solid #4f46e5;
}
.course-section .desc { font-size: 15px; line-height: 1.8; color: #374151; word-break: break-word; max-width: 820px; }
.course-section .desc p { margin: 0 0 12px; }
.course-section .desc img { max-width: 100%; height: auto; border-radius: 12px; display: block; margin: 14px auto; }
.course-section .desc h1,
.course-section .desc h2,
.course-section .desc h3,
.course-section .desc h4 { margin: 18px 0 10px; color: #111827; }

/* å¯ææ¬ååº */
.course-section .desc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.course-section .desc th, .course-section .desc td { border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top; }
.course-section .desc th { background: #f9fafb; font-weight: 700; color: #111827; }
.course-section .desc tr:nth-child(even) td { background: #fafbfc; }
.course-section .desc ul, .course-section .desc ol { margin: 12px 0; padding-left: 24px; }
.course-section .desc li { margin: 6px 0; }
.course-section .desc strong { color: #111827; font-weight: 700; }
.course-section .desc code { display: inline-block; padding: 2px 6px; background: #f3f4f6; border-radius: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 13px; color: #dc2626; }
.course-section .desc pre { background: #1f2937; color: #f3f4f6; padding: 16px; border-radius: 12px; overflow-x: auto; font-size: 13px; line-height: 1.6; }
.course-section .desc pre code { background: transparent; color: inherit; padding: 0; }

/* ---------- å¯ç ä¿æ¤æç¤º ---------- */
.course-content.course-content-password {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding-top: 40px;
    padding-bottom: 60px;
}
.course-password-section {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    text-align: center;
    padding: 36px 28px;
}
.course-password-section .password-lock {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    background: #eef2ff;
    border-radius: 50%;
}
.course-password-section h3 {
    border-left: 0;
    padding-left: 0;
    margin-bottom: 8px;
}
.course-password-section .password-hint {
    margin: 0 0 22px;
    font-size: 14px;
    color: #6b7280;
}
.course-password-section .post-password-form { text-align: left; }
.course-password-section .post-password-form p {
    margin: 0 0 12px;
    font-size: 14px;
    color: #4b5563;
}
.course-password-section .post-password-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: #374151;
}
.course-password-section .post-password-form input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 15px;
    color: #111827;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.course-password-section .post-password-form input[type="password"]:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}
.course-password-section .post-password-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: #4f46e5;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: background .2s;
}
.course-password-section .post-password-form input[type="submit"]:hover { background: #4338ca; }

/* ---------- äº®ç¹/ç®æ åè¡¨ ---------- */
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border: 1px solid #fde68a;
    border-radius: 12px;
    transition: transform .15s;
}
.feature-item:hover { transform: translateX(4px); }
.feature-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #d97706;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.2);
}
.feature-text { font-size: 14px; line-height: 1.6; color: #422006; font-weight: 500; }

/* å­¦ä¹ ç®æ åè¡¨ï¼ç»¿è²è°ï¼ */
.outcome-list .feature-item {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #6ee7b7;
}
.outcome-list .feature-icon { color: #059669; box-shadow: 0 2px 6px rgba(5, 150, 105, 0.2); }
.outcome-list .feature-icon.check { font-size: 13px; }
.outcome-list .feature-text { color: #064e3b; }

/* ---------- åä¿®è¦æ± ---------- */
.prereq-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    font-size: 14px;
    color: #9a3412;
    line-height: 1.6;
}
.prereq-icon { flex: 0 0 auto; font-size: 18px; }

/* ---------- åç±»æ ç­¾ ---------- */
.category-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.category-tag {
    font-size: 12px;
    padding: 5px 14px;
    background: #eef2ff;
    color: #4f46e5;
    border-radius: 999px;
    font-weight: 500;
}

/* ---------- Meta Stripï¼è¯­è¨/æºæï¼ ---------- */
.course-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 20px;
    background: #f8fafc;
    border-radius: 12px;
}
.meta-strip-item { font-size: 13px; color: #475569; }

/* ---------- è®²å¸å¡ ---------- */
.teacher-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    border-radius: 16px;
}
.teacher-avatar {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
    overflow: hidden;
}
.teacher-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.teacher-info { flex: 1; min-width: 0; }
.teacher-name { font-size: 17px; font-weight: 700; color: #1f2937; }
.teacher-title { margin-top: 4px; font-size: 13px; color: #6b7280; line-height: 1.5; }
.teacher-stats { margin-top: 8px; display: flex; gap: 12px; }
.teacher-stat-item { font-size: 12px; color: #4f46e5; font-weight: 600; }

/* ---------- ç« èåè¡¨ ---------- */
.chapter-list, .outline-text-list { display: flex; flex-direction: column; gap: 10px; }
.chapter-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #f9fafb;
    border: 1px solid #eef0f5;
    border-radius: 12px;
    transition: transform .15s, box-shadow .15s, border-color .15s;
    cursor: pointer;
}
.chapter-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08);
    border-color: #c7d2fe;
}
.chapter-num {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border-radius: 50%;
}
.chapter-title {
    flex: 1;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}
.chapter-dur {
    font-size: 12px;
    color: #9ca3af;
    flex: 0 0 auto;
    background: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
}

/* ---------- èè¯æ¨è ---------- */
/* æ¬è¯¾è¯ä¹¦ badge */
.course-cert-own {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-radius: 14px;
}
.cert-own-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}
.cert-own-label { font-size: 12px; color: #3b82f6; font-weight: 600; }
.cert-own-name { font-size: 16px; font-weight: 700; color: #1e40af; margin-top: 2px; }

/* èè¯å¡çç½æ ¼ */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.cert-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.1);
}
.cert-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-bottom: 1px solid #e9d5ff;
}
.cert-card-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.15);
}
.cert-card-name { font-size: 15px; font-weight: 700; color: #5b21b6; line-height: 1.4; }
.cert-card-body { padding: 14px 16px; flex: 1; }
.cert-card-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; }
.cert-label { color: #6b7280; font-weight: 500; flex: 0 0 auto; }
.cert-val { color: #374151; font-weight: 500; }
.cert-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    background: #ede9fe;
    color: #5b21b6;
}
.cert-card-desc { font-size: 13px; line-height: 1.6; color: #6b7280; margin: 8px 0 0; }
.cert-card-link {
    display: block;
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #4f46e5;
    background: #f5f3ff;
    border-top: 1px solid #e9d5ff;
    text-decoration: none;
    transition: background .2s;
}
.cert-card-link:hover { background: #ede9fe; }

/* ---------- åºé¨æä½æ  ---------- */
.course-buy {
    position: relative;
    margin: 24px 20px 0;
    width: auto;
    max-width: 1000px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid #eceef3;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(17, 24, 39, 0.06);
}
.course-buy .btn { flex: 0 0 auto; }
.course-price { font-size: 1.25rem; font-weight: 800; color: #4f46e5; }

/* ---------- æé® ---------- */
.course-detail .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2;
    transition: background .2s, transform .1s;
    white-space: nowrap;
}
.course-detail .btn:active { transform: scale(0.98); }
.course-detail .btn-primary { background: #4f46e5; color: #fff; }
.course-detail .btn-primary:hover { background: #4338ca; }
.course-detail .btn-outline { background: #fff; color: #4f46e5; border-color: #c7d2fe; }
.course-detail .btn-outline:hover { background: #eef2ff; }

/* ---------- å³èæçè®¡åååº ---------- */
.course-section .bg-gradient-to-br { background-image: linear-gradient(to bottom right, #eff6ff, #eef2ff); }
.course-section .from-blue-50 { --tw-gradient-from: #eff6ff; }
.course-section .to-indigo-50 { --tw-gradient-to: #eef2ff; }

/* ---------- ç¸å³æ¨è ---------- */
.related-content-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}
@media (min-width: 1600px) {
    .related-content-wrap { max-width: 1440px; }
}
.related-content-wrap h3 { text-align: center; }

/* ============================================================
   ç§»å¨ç«¯ééï¼<= 768pxï¼
   ============================================================ */
@media (max-width: 768px) {
    .course-detail {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
        padding-bottom: 84px;
    }

    .course-header {
        padding: 28px 16px 28px;
        border-radius: 0 0 20px 20px;
    }
    .course-header .back { margin-bottom: 12px; padding: 5px 12px; font-size: 12px; }
    .course-header .title { margin-bottom: 12px; font-size: 1.35rem; line-height: 1.4; }
    .course-header .meta { gap: 8px 12px; font-size: 12px; }

    .course-info-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin: -22px 12px 16px;
        padding: 12px;
        border-radius: 14px;
    }
    .course-info-bar .item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 10px 14px;
        border-radius: 10px;
        text-align: left;
    }
    .course-info-bar .value { font-size: 15px; line-height: 1.3; white-space: nowrap; }
    .course-info-bar .value small { font-size: 11px; }
    .course-info-bar .label { margin-top: 0; font-size: 11px; color: #9ca3af; white-space: nowrap; }
    .price-now, .price-free { font-size: 1.1rem; }
    .price-orig { font-size: 11px; }

    /* Tab å¯¼èªï¼æ¨ªæ» */
    .course-tabs {
        margin: 0 12px 0;
        border-radius: 12px 12px 0 0;
    }
    .tab-btn { padding: 8px 14px; font-size: 13px; }

    .course-content { padding: 12px 12px 0; }
    .course-section { padding: 14px; margin-bottom: 12px; border-radius: 14px; }
    .course-content.course-content-password { min-height: 40vh; padding-top: 28px; padding-bottom: 40px; }
    .course-password-section { padding: 28px 20px; }
    .course-password-section .password-lock { width: 56px; height: 56px; font-size: 26px; }
    .course-password-section h3 { font-size: 16px; }
    .course-password-section .password-hint { font-size: 13px; }
    .course-section h3 { margin-bottom: 10px; font-size: 15px; padding-left: 10px; border-left-width: 3px; }
    .course-section .desc { font-size: 14px; line-height: 1.75; }
    .course-section .desc table { font-size: 13px; }
    .course-section .desc th, .course-section .desc td { padding: 8px 10px; }

    /* äº®ç¹/ç®æ  */
    .feature-item { padding: 10px 12px; gap: 8px; }
    .feature-icon { flex: 0 0 22px; width: 22px; height: 22px; font-size: 12px; }
    .feature-text { font-size: 13px; }

    /* åä¿®è¦æ± */
    .prereq-box { padding: 12px 14px; font-size: 13px; }
    .prereq-icon { font-size: 16px; }

    /* è®²å¸å¡ */
    .teacher-card { gap: 12px; padding: 14px; }
    .teacher-avatar { width: 52px; height: 52px; flex: 0 0 52px; font-size: 24px; }
    .teacher-name { font-size: 15px; }
    .teacher-title { font-size: 12px; }

    /* ç« èåè¡¨ */
    .chapter-item { padding: 12px 14px; gap: 10px; }
    .chapter-num { flex: 0 0 28px; width: 28px; height: 28px; font-size: 12px; }
    .chapter-title { font-size: 13px; }
    .chapter-dur { font-size: 11px; padding: 2px 8px; }

    /* èè¯æ¨è */
    .course-cert-own { padding: 12px 14px; gap: 10px; }
    .cert-own-icon { flex: 0 0 40px; width: 40px; height: 40px; font-size: 20px; }
    .cert-own-name { font-size: 14px; }
    .cert-grid { grid-template-columns: 1fr; gap: 12px; }
    .cert-card-top { padding: 12px 14px; gap: 10px; }
    .cert-card-icon { flex: 0 0 36px; width: 36px; height: 36px; font-size: 18px; }
    .cert-card-name { font-size: 14px; }
    .cert-card-body { padding: 12px 14px; }
    .cert-card-row { font-size: 12px; }
    .cert-card-desc { font-size: 12px; }
    .cert-card-link { padding: 8px 14px; font-size: 13px; }

    /* Meta strip */
    .course-meta-strip { padding: 10px 14px; gap: 10px; }
    .meta-strip-item { font-size: 12px; }

    /* åºé¨æä½æ ï¼å¸åº */
    .course-buy {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        width: 100%;
        max-width: 760px;
        margin: 0;
        padding: 10px 12px;
        gap: 10px;
        border-radius: 14px 14px 0 0;
        border: 0;
        border-top: 1px solid #eceef3;
        border-left: 1px solid #eceef3;
        border-right: 1px solid #eceef3;
        box-shadow: 0 -6px 24px rgba(17, 24, 39, 0.08);
        z-index: 99998;
    }
    .course-detail .btn { padding: 11px 16px; font-size: 14px; border-radius: 10px; flex: 1 1 auto; min-width: 0; }
    .course-detail .btn-outline { flex: 0 0 auto; }
    .course-price { font-size: 1rem; }

    .related-content-wrap { padding-left: 12px; padding-right: 12px; }
}

/* è¶å°å±ï¼<= 380pxï¼é¢å¤æ¶ç´§ */
@media (max-width: 380px) {
    .course-header .title { font-size: 1.15rem; }
    .course-info-bar { grid-template-columns: 1fr; gap: 6px; margin: -18px 8px 14px; padding: 8px; }
    .course-info-bar .item { padding: 8px 12px; }
    .course-info-bar .value { font-size: 14px; }
    .cert-card-top { padding: 10px 12px; }
}

/* ==== æ¥æº: cart.css ==== */
/* ============================================================
   è´­ç©è½¦æ½å± & è´­ç©è½¦é¡µ ååºæ ·å¼
   èæ¯ï¼è´­ç©è½¦æ½å±(#cart-drawer / #cart-overlay / #cart-content)å®ä¹å¨ footer.phpï¼
   ä½¿ç¨äº bg-gray-900/30ãz-[100] ç­ãä»»æå¼ Tailwind ç±»ãã
   è¥ tailwind-output.css æå»ºæ¶æªæ«æ footer.phpï¼è¿äºç±»ä¼ç¼ºå¤±ï¼
   å¯¼è´é®ç½©æ è²ãå±çº§ä¸å¯¹ãçè³æ½å±ä¸ç´çå±è¡¨ç°ä¸ºãç©ºç½ãã
   æ¬æä»¶ç¨æ¾å¼è§åååºï¼ä¿è¯è´­ç©è½¦å¨ä»»ä½æåµä¸é½æ­£å¸¸æ¾ç¤ºã
   éæ©å¨åä¸º #id æ .cart-itemï¼ä»è´­ç©è½¦ä½¿ç¨ï¼ï¼ä¸ä¼ä¸ä¸»é¢å¶å®é¡µé¢å²çªã
   ============================================================ */

/* æ½å±å®¹å¨ï¼é»è®¤éèï¼.visible æ¶æ¾ç¤º */
#cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    transition: visibility .3s, opacity .3s;
}
#cart-drawer.visible { visibility: visible; opacity: 1; }

/* é®ç½©å±ï¼ååº Tailwind ç¼ºå¤±ç bg-gray-900/30 + backdrop-blur-smï¼ */
#cart-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.3);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity .3s;
}
#cart-drawer.visible #cart-overlay { opacity: 1; }

/* å³ä¾§æ½å±é¢æ¿ï¼ååº Tailwind ç¼ºå¤±ç max-w-sm / translate-x-full / shadow-2xl / z-[100]ï¼ */
#cart-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 384px;
    height: 100%;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform .3s;
    display: flex;
    flex-direction: column;
}
#cart-drawer.visible #cart-content { transform: translateX(0); }

/* AI èå¤©çªååºï¼footer.php åæ ·ç¨äº z-[95] ä»»æå¼ç±»ï¼ */
#ai-chat-window {
    z-index: 95;
}

/* è´­ç©è½¦é¡µ(route-cart.php)ååå¡çååºï¼é²æ­¢ Tailwind ç±»ç¼ºå¤±æ¶æ´åç©ºç½ */
.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
}

/* ==== æ¥æº: jobs.css ==== */
/* ============================================================
   æèæ±èä¸­å¿ ââ ä¸ä½åæèé¨æ·è®¾è®¡ç³»ç»
   æä»¶ï¼assets/css/jobs.css
   ä½ç¨åï¼å¨é¨ä½¿ç¨ lsj- åç¼ï¼ä¸ä¾èµ Tailwindï¼FTP ä¸ä¼ å³çæã
   é£æ ¼ï¼ä¸ä¸ç¨³éåå¡è Â· èªèµçº¢ Â· ç­é¨ç¥ç Â· é«å¯åº¦ä¿¡æ¯ Â· ç§»å¨ç«¯ç±» APPã
   ============================================================ */

:root {
    --lsj-primary: #1f4fb0;
    --lsj-primary-dark: #173b85;
    --lsj-primary-soft: rgba(31, 79, 176, .08);
    --lsj-primary-line: rgba(31, 79, 176, .18);
    --lsj-hot: #e23b3b;          /* èªèµ / ç´§æ¥ï¼ä¸­å½æèæ¯ä¾ç¨çº¢ */
    --lsj-hot-soft: rgba(226, 59, 59, .08);
    --lsj-hot-line: rgba(226, 59, 59, .28);
    --lsj-amber: #e8920a;        /* ç­é¨æ ç­¾ */
    --lsj-amber-soft: rgba(232, 146, 10, .10);
    --lsj-bg: #f4f6fa;
    --lsj-card: #ffffff;
    --lsj-text: #1a2230;
    --lsj-sub: #5a6577;
    --lsj-mute: #94a0b3;
    --lsj-border: #e9edf3;
    --lsj-border-strong: #dde3ec;
    --lsj-tag-bg: #f1f4f9;
    --lsj-tag-text: #5a6577;
    --lsj-radius: 16px;
    --lsj-radius-sm: 12px;
    --lsj-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 22px rgba(16, 24, 40, .05);
    --lsj-shadow-hover: 0 6px 18px rgba(23, 59, 133, .12), 0 16px 40px rgba(16, 24, 40, .08);
}

/* ---------- å®¹å¨ ---------- */
.lsj-app {
    background: var(--lsj-bg);
    min-height: 60vh;
    padding: 28px 0 64px;
}
.lsj-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (max-width: 640px) {
    .lsj-app { padding: 16px 0 96px; }
    .lsj-wrap { padding: 0 14px; }
}

/* ---------- é¡¶é¨ Hero ---------- */
.lsj-head {
    position: relative;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(31, 79, 176, .10), transparent 55%),
        linear-gradient(135deg, #ffffff, #f7f9fd);
    border: 1px solid var(--lsj-border);
    border-radius: var(--lsj-radius);
    padding: 26px 28px 28px;
    box-shadow: var(--lsj-shadow);
    overflow: hidden;
}
.lsj-head-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.lsj-head-left { flex: 1 1 420px; min-width: 0; }
.lsj-bread {
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--lsj-primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.lsj-head h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--lsj-text);
    margin: 0 0 8px;
    letter-spacing: .5px;
}
.lsj-sub {
    font-size: 14px;
    line-height: 1.7;
    color: var(--lsj-sub);
    margin: 0 0 18px;
    max-width: 640px;
}
.lsj-stat-row { display: flex; gap: 30px; flex-wrap: wrap; }
.lsj-stat b {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--lsj-primary);
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}
.lsj-stat span { font-size: 12.5px; color: var(--lsj-mute); margin-top: 2px; display: block; }
.lsj-stat--hot b { color: var(--lsj-hot); }

.lsj-head-cta { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.lsj-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 11px 20px; border-radius: 999px;
    font-size: 14px; font-weight: 700; text-decoration: none;
    transition: transform .15s, box-shadow .15s, background .15s, color .15s;
    white-space: nowrap;
}
.lsj-btn svg { width: 17px; height: 17px; }
.lsj-btn-solid { background: var(--lsj-primary); color: #fff; box-shadow: 0 6px 16px rgba(31, 79, 176, .25); }
.lsj-btn-solid:hover { background: var(--lsj-primary-dark); transform: translateY(-1px); }
.lsj-btn-ghost { background: #fff; color: var(--lsj-primary); border: 1px solid var(--lsj-primary-line); }
.lsj-btn-ghost:hover { background: var(--lsj-primary-soft); transform: translateY(-1px); }

/* ---------- æç´¢æ  ---------- */
.lsj-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--lsj-border-strong);
    border-radius: 999px;
    padding: 7px 7px 7px 18px;
    margin-top: 20px;
    box-shadow: var(--lsj-shadow);
    transition: border-color .18s, box-shadow .18s;
}
.lsj-search:focus-within {
    border-color: var(--lsj-primary);
    box-shadow: 0 0 0 3px var(--lsj-primary-soft);
}
.lsj-search-ico { color: var(--lsj-primary); opacity: .8; flex-shrink: 0; display: inline-flex; }
.lsj-search input[type="text"] {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    font-size: 14.5px; color: var(--lsj-text); padding: 9px 0;
}
.lsj-search input::placeholder { color: var(--lsj-mute); }
.lsj-search button {
    flex-shrink: 0; border: 0; cursor: pointer;
    background: var(--lsj-primary); color: #fff;
    font-size: 14px; font-weight: 700; letter-spacing: 2px;
    padding: 10px 26px; border-radius: 999px;
    transition: background .18s;
}
.lsj-search button:hover { background: var(--lsj-primary-dark); }

/* ---------- ç±»å Tab ---------- */
.lsj-tabs {
    display: flex; gap: 4px; margin: 20px 0 14px;
    border-bottom: 1px solid var(--lsj-border);
    overflow-x: auto; scrollbar-width: none;
}
.lsj-tabs::-webkit-scrollbar { display: none; }
.lsj-tab {
    position: relative; flex-shrink: 0; padding: 12px 16px 14px;
    font-size: 15px; font-weight: 700; color: var(--lsj-sub);
    text-decoration: none; white-space: nowrap; transition: color .15s;
}
.lsj-tab:hover { color: var(--lsj-text); }
.lsj-tab::after {
    content: ''; position: absolute; left: 16px; right: 16px; bottom: -1px;
    height: 3px; border-radius: 3px 3px 0 0; background: transparent; transition: background .15s;
}
.lsj-tab.is-active { color: var(--lsj-primary); }
.lsj-tab.is-active::after { background: var(--lsj-primary); }

/* ---------- èä½åç±»å¯¼èªæ  ---------- */
.lsj-catnav {
    background: var(--lsj-card); border: 1px solid var(--lsj-border);
    border-radius: var(--lsj-radius); padding: 16px 18px 18px; margin-bottom: 18px;
    box-shadow: var(--lsj-shadow);
}
.lsj-catnav-head {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 700; color: var(--lsj-text); margin-bottom: 13px;
}
.lsj-catnav-head svg { color: var(--lsj-primary); }
.lsj-catnav-grid {
    display: grid; gap: 9px;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
}
.lsj-cat {
    display: flex; align-items: center; justify-content: space-between; gap: 6px;
    padding: 10px 12px; border-radius: 10px; text-decoration: none;
    background: var(--lsj-tag-bg); border: 1px solid transparent;
    transition: all .15s;
}
.lsj-cat:hover { background: #fff; border-color: var(--lsj-primary-line); transform: translateY(-1px); }
.lsj-cat-name { font-size: 13.5px; color: var(--lsj-text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lsj-cat-count { font-size: 11.5px; color: var(--lsj-mute); background: #fff; border-radius: 999px; padding: 1px 7px; flex-shrink: 0; }
.lsj-cat.is-active { background: var(--lsj-primary); border-color: var(--lsj-primary); }
.lsj-cat.is-active .lsj-cat-name { color: #fff; }
.lsj-cat.is-active .lsj-cat-count { color: var(--lsj-primary); background: rgba(255, 255, 255, .9); }

/* ---------- åå®¹åºåï¼ç­é¨ / ææ° / ä¼ä¸ / èµè®¯ï¼ ---------- */
.lsj-block { margin-bottom: 24px; }
.lsj-block-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px; gap: 12px;
}
.lsj-block-title {
    display: flex; align-items: center; gap: 9px;
    font-size: 18px; font-weight: 800; color: var(--lsj-text); margin: 0;
}
.lsj-block-title svg { color: var(--lsj-primary); }
.lsj-block-more {
    font-size: 13px; color: var(--lsj-sub); text-decoration: none; font-weight: 600; white-space: nowrap;
    transition: color .15s;
}
.lsj-block-more:hover { color: var(--lsj-primary); }

/* èä½ç½æ ¼ */
.lsj-job-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 880px) { .lsj-job-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }

/* ä¼ä¸å±ç¤ºç½æ ¼ */
.lsj-co-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .lsj-co-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .lsj-co-grid { grid-template-columns: repeat(4, 1fr); } }
.lsj-co-card {
    display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit;
    background: var(--lsj-card); border: 1px solid var(--lsj-border);
    border-radius: var(--lsj-radius-sm); padding: 14px; transition: border-color .16s, box-shadow .16s, transform .16s;
}
.lsj-co-card:hover { border-color: var(--lsj-primary-line); box-shadow: var(--lsj-shadow-hover); transform: translateY(-2px); }
.lsj-co-logo {
    width: 46px; height: 46px; border-radius: 12px; background: var(--lsj-tag-bg);
    color: var(--lsj-primary); display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800; flex-shrink: 0; overflow: hidden;
}
.lsj-co-logo img { width: 100%; height: 100%; object-fit: cover; }
.lsj-co-info { min-width: 0; }
.lsj-co-name { font-size: 14.5px; font-weight: 700; color: var(--lsj-text); display: flex; align-items: center; gap: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lsj-co-meta { font-size: 12.5px; color: var(--lsj-sub); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lsj-co-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }

/* è¡ä¸èµè®¯ */
.lsj-news { list-style: none; margin: 0; padding: 0; background: var(--lsj-card); border: 1px solid var(--lsj-border); border-radius: var(--lsj-radius); overflow: hidden; }
.lsj-news-item + .lsj-news-item { border-top: 1px solid var(--lsj-border); }
.lsj-news-link { display: block; padding: 13px 16px; text-decoration: none; transition: background .15s; }
.lsj-news-link:hover { background: var(--lsj-bg); }
.lsj-news-title { display: block; font-size: 14.5px; font-weight: 600; color: var(--lsj-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .15s; }
.lsj-news-link:hover .lsj-news-title { color: var(--lsj-primary); }
.lsj-news-meta { display: flex; gap: 10px; align-items: baseline; margin-top: 4px; }
.lsj-news-date { font-size: 12px; color: var(--lsj-mute); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.lsj-news-desc { font-size: 12.5px; color: var(--lsj-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- å­ç­é chips ---------- */
.lsj-filters { display: flex; gap: 7px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.lsj-filters::-webkit-scrollbar { display: none; }
.lsj-chip {
    flex-shrink: 0; padding: 7px 14px; font-size: 13px; color: var(--lsj-sub);
    background: #fff; border: 1px solid var(--lsj-border); border-radius: 999px;
    text-decoration: none; white-space: nowrap; transition: all .15s;
}
.lsj-chip:hover { color: var(--lsj-text); border-color: var(--lsj-border-strong); }
.lsj-chip.is-active { color: #fff; background: var(--lsj-primary); border-color: var(--lsj-primary); }

/* ---------- ä¸»ä½å¸å± ---------- */
.lsj-body { display: flex; gap: 24px; align-items: flex-start; }
.lsj-main { flex: 1 1 auto; min-width: 0; }
.lsj-side { width: 304px; flex: 0 0 304px; }

.lsj-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.lsj-count { font-size: 13.5px; color: var(--lsj-sub); }
.lsj-count b { color: var(--lsj-text); font-weight: 800; }

/* ---------- å¡çåè¡¨ ---------- */
.lsj-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 1180px) { .lsj-list { grid-template-columns: 1fr 1fr; gap: 14px; } }

.lsj-card {
    position: relative; overflow: hidden;
    display: block; background: var(--lsj-card);
    border: 1px solid var(--lsj-border); border-radius: var(--lsj-radius-sm);
    padding: 16px 18px; text-decoration: none; color: inherit;
    transition: border-color .16s, box-shadow .16s, transform .16s;
}
.lsj-card:hover { border-color: var(--lsj-primary-line); box-shadow: var(--lsj-shadow-hover); transform: translateY(-2px); }

/* èä½å¡ç */
.lsj-job { display: flex; gap: 14px; }
.lsj-logo {
    width: 46px; height: 46px; border-radius: 12px; background: var(--lsj-tag-bg);
    color: var(--lsj-primary); display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800; flex-shrink: 0; overflow: hidden;
}
.lsj-logo img { width: 100%; height: 100%; object-fit: cover; }
.lsj-job-main { flex: 1; min-width: 0; }
.lsj-job-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lsj-job-title { font-size: 15.5px; font-weight: 700; color: var(--lsj-text); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lsj-job:hover .lsj-job-title { color: var(--lsj-primary); }
.lsj-job-pay { text-align: right; flex-shrink: 0; }
.lsj-job-salary { display: block; font-size: 16px; font-weight: 800; color: var(--lsj-hot); line-height: 1.2; font-variant-numeric: tabular-nums; }
.lsj-job-date { display: block; font-size: 11.5px; color: var(--lsj-mute); margin-top: 3px; }
.lsj-job-meta { font-size: 12.5px; color: var(--lsj-sub); margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lsj-job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* ç­é¨ / æ¥æ æ è¯ */
.lsj-job.is-hot { border-color: var(--lsj-hot-line); background: linear-gradient(180deg, var(--lsj-hot-soft), #fff 60%); }
.lsj-ribbon {
    position: absolute; top: 0; right: 0;
    background: var(--lsj-hot); color: #fff; font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-bottom-left-radius: 10px; letter-spacing: .5px;
}

/* ä»»å¡å¡ç */
.lsj-task .lsj-job-salary { color: var(--lsj-amber); }

/* æ ç­¾ */
.lsj-tag {
    font-size: 11.5px; color: var(--lsj-tag-text); background: var(--lsj-tag-bg);
    border-radius: 6px; padding: 3px 8px; white-space: nowrap;
}
.lsj-tag--primary { color: var(--lsj-primary); background: var(--lsj-primary-soft); }
.lsj-tag--green { color: #0f9d58; background: rgba(15, 157, 88, .10); }
.lsj-tag--blue { color: #2563eb; background: rgba(37, 99, 235, .10); }
.lsj-tag--purple { color: #7c3aed; background: rgba(124, 58, 237, .10); }
.lsj-tag--orange { color: #e8730c; background: rgba(232, 115, 12, .10); }

/* ä¼ä¸å¡ç */
.lsj-company { display: flex; gap: 13px; align-items: flex-start; }
.lsj-company .lsj-logo { width: 48px; height: 48px; border-radius: 13px; }
.lsj-company-name { font-size: 15.5px; font-weight: 700; color: var(--lsj-text); margin: 0; display: flex; align-items: center; gap: 6px; }
.lsj-company:hover .lsj-company-name { color: var(--lsj-primary); }
.lsj-company-meta { font-size: 12.5px; color: var(--lsj-sub); margin-top: 4px; }
.lsj-verified { display: inline-block; font-size: 11px; color: #fff; background: var(--lsj-primary); border-radius: 6px; padding: 1px 7px; font-weight: 600; }
.lsj-company-site { font-size: 12px; color: var(--lsj-primary); text-decoration: none; white-space: nowrap; flex-shrink: 0; align-self: center; }

/* ç®åå¡ç */
.lsj-resume { display: flex; gap: 13px; align-items: flex-start; }
.lsj-avatar {
    width: 46px; height: 46px; border-radius: 50%; background: var(--lsj-primary-soft);
    color: var(--lsj-primary); display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800; flex-shrink: 0;
}
.lsj-resume-name { font-size: 15.5px; font-weight: 700; color: var(--lsj-text); margin: 0; }
.lsj-resume:hover .lsj-resume-name { color: var(--lsj-primary); }
.lsj-resume-pay { font-size: 14.5px; font-weight: 800; color: #7c3aed; text-align: right; flex-shrink: 0; }

/* ---------- ä¾§è¾¹æ  ---------- */
.lsj-panel {
    background: var(--lsj-card); border: 1px solid var(--lsj-border);
    border-radius: var(--lsj-radius-sm); padding: 16px 18px; margin-bottom: 16px;
}
.lsj-panel-title {
    font-size: 14.5px; font-weight: 800; color: var(--lsj-text); margin: 0 0 12px;
    display: flex; align-items: center; gap: 8px;
}
.lsj-panel-title::before { content: ''; width: 3px; height: 15px; border-radius: 2px; background: var(--lsj-primary); }
.lsj-side-sticky { position: sticky; top: 90px; }

/* å¿«æ·å¥å£ */
.lsj-quick { display: flex; flex-direction: column; gap: 2px; }
.lsj-quick-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 10px; border-radius: 9px; text-decoration: none;
    color: var(--lsj-sub); font-size: 13.5px; transition: background .15s, color .15s;
}
.lsj-quick-item:hover { background: var(--lsj-bg); color: var(--lsj-text); }
.lsj-quick-item b { color: var(--lsj-mute); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }

/* å¥é©»ä¼ä¸ */
.lsj-co-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 9px; text-decoration: none; transition: background .15s; }
.lsj-co-item:hover { background: var(--lsj-bg); }
.lsj-co-logo {
    width: 36px; height: 36px; border-radius: 10px; background: var(--lsj-tag-bg);
    color: var(--lsj-primary); display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800; flex-shrink: 0; overflow: hidden;
}
.lsj-co-logo img { width: 100%; height: 100%; object-fit: cover; }
.lsj-co-name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; color: var(--lsj-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lsj-co-ind { font-size: 12px; color: var(--lsj-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* æ±è / æè CTA */
.lsj-cta {
    background: linear-gradient(135deg, var(--lsj-primary), var(--lsj-primary-dark));
    border-radius: var(--lsj-radius-sm); padding: 18px 18px; color: #fff; margin-bottom: 16px;
    box-shadow: 0 8px 22px rgba(31, 79, 176, .18);
}
.lsj-cta h4 { margin: 0 0 6px; font-size: 15px; font-weight: 800; }
.lsj-cta p { margin: 0 0 13px; font-size: 12.5px; opacity: .9; line-height: 1.6; }
.lsj-cta a {
    display: inline-block; background: #fff; color: var(--lsj-primary);
    font-size: 13.5px; font-weight: 800; padding: 9px 18px; border-radius: 999px; text-decoration: none;
    transition: transform .15s;
}
.lsj-cta a:hover { transform: translateY(-1px); }
.lsj-cta--alt {
    background: linear-gradient(135deg, #fff, #f7f9fd);
    border: 1px solid var(--lsj-border); color: var(--lsj-text); box-shadow: var(--lsj-shadow);
}
.lsj-cta--alt h4 { color: var(--lsj-text); }
.lsj-cta--alt p { color: var(--lsj-sub); opacity: 1; }
.lsj-cta--alt a { background: var(--lsj-primary); color: #fff; }

/* ---------- åé¡µ ---------- */
.lsj-pager { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.lsj-page {
    min-width: 36px; height: 36px; padding: 0 11px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--lsj-border); border-radius: 10px;
    font-size: 13.5px; color: var(--lsj-sub); text-decoration: none; transition: all .15s;
}
.lsj-page:hover { border-color: var(--lsj-primary-line); color: var(--lsj-primary); }
.lsj-page.is-active { background: var(--lsj-primary); border-color: var(--lsj-primary); color: #fff; }

/* ---------- ç©ºç¶æ ---------- */
.lsj-empty {
    text-align: center; padding: 52px 20px; color: var(--lsj-mute);
    background: var(--lsj-card); border: 1px dashed var(--lsj-border-strong); border-radius: var(--lsj-radius-sm);
}
.lsj-empty b { display: block; font-size: 15.5px; color: var(--lsj-sub); font-weight: 700; margin-bottom: 4px; }

/* ---------- ç§»å¨ç«¯ï¼APP ååå + åºé¨å¯¼èª ---------- */
@media (max-width: 1023px) {
    .lsj-body { flex-direction: column; gap: 18px; }
    .lsj-side { width: 100%; flex: 1 1 auto; }
    .lsj-side-sticky { position: static; }
    .lsj-main { order: 1; }
    .lsj-side { order: 2; }
}
@media (max-width: 768px) {
    /* ä¿®å¤ï¼ææºç«¯ head å®¹å¨é«åº¦å¡é· + overflow è£åªï¼å¯¼è´ h1/å¯æ é¢/ç»è®¡å¡çä¸è§ã
       å¼ºå¶å®¹å¨èªéåºåå®¹é«åº¦å¹¶åæ¶è£åªï¼ä¿è¯"å°å·äººææèç½"ç­æ é¢å®æ´æ¾ç¤ºã */
    .lsj-head { height: auto !important; min-height: auto !important; overflow: visible !important; }
    .lsj-head { padding: 20px 16px 22px; }
    .lsj-head-top { flex-direction: column; }
    /* é»æ­¢ head-left flex:1 æä¼¸ææé®æ¤å°å®¹å¨åºé¨ï¼æ¶é¤ç»è®¡ä¸æé®ä¹é´çå¤§æ®µç©ºç½ */
    .lsj-head-left { flex: 0 0 auto; }
    .lsj-head h1 { font-size: 23px; }
    .lsj-head-cta { flex-direction: row; width: 100%; }
    .lsj-head-cta .lsj-btn { flex: 1; justify-content: center; }
    .lsj-stat-row { gap: 22px; }
    .lsj-stat b { font-size: 19px; }
    .lsj-search { padding-left: 15px; }
    .lsj-search button { padding: 10px 18px; letter-spacing: 1px; }
    .lsj-card { padding: 14px; }
    .lsj-logo, .lsj-resume .lsj-avatar { width: 42px; height: 42px; }
    .lsj-job-title, .lsj-company-name, .lsj-resume-name { font-size: 14.5px; }
    .lsj-job-tags { margin-top: 8px; }
    /* ç§»å¨ç«¯æèå¡çæçä¼åï¼æ é¢ç¬å ä¸è¡å¯å®æ´æ¾ç¤ºï¼ä¸æªæ­ï¼ï¼èªèµ+æ¥æç§»è³ä¸ä¸è¡å³å¯¹é½ */
    .lsj-job-top { flex-wrap: wrap; row-gap: 4px; }
    .lsj-job-title { white-space: normal; line-height: 1.4; }
    .lsj-job-pay { width: 100%; text-align: right; }
    .lsj-co-grid { grid-template-columns: 1fr 1fr; }
}

/* ç§»å¨ç«¯åºé¨å¯¼èªï¼ç±» APPï¼ */
.lsj-mnav { display: none; }
@media (max-width: 768px) {
    .lsj-mnav {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
        background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
        border-top: 1px solid var(--lsj-border); box-shadow: 0 -4px 18px rgba(16, 24, 40, .08);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .lsj-mnav a {
        flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
        padding: 9px 0 8px; text-decoration: none; color: var(--lsj-mute); font-size: 11px;
        transition: color .15s;
    }
    .lsj-mnav a svg { width: 21px; height: 21px; }
    .lsj-mnav a.is-active { color: var(--lsj-primary); font-weight: 700; }
}

/* ==== æ¥æº: kaogong.css ==== */
/* ==========================================================================
   èå¬å·é¢å¹³å° ââ ä½ç¨åæ ·å¼è¡¨
   ä½ç¨åï¼.ls-kg-ï¼å¨å±å¥éï¼é åç¼éç¦»ï¼ä¸å½±åå¶å®é¡µé¢ï¼
   è®¾è®¡åºè°ï¼èéä¸»è² / çº¸é¢ç½åº / åå¶çåéçº¿ / ä¸ç¨æ¸åä¸ç»çææ
   ========================================================================== */

.ls-kg-root {
    --kg-primary: #1f3a5f;
    --kg-primary-h: #16293f;
    --kg-primary-l: #2f5486;
    --kg-accent: #c0392b;
    --kg-ok: #1e8e4e;
    --kg-warn: #b8860b;
    --kg-err: #c0392b;

    --kg-text: #1c2530;
    --kg-text-2: #56616f;
    --kg-text-3: #8b95a1;
    --kg-line: #e3e7ec;
    --kg-line-2: #eef1f4;
    --kg-bg: #f5f6f8;
    --kg-card: #ffffff;
    --kg-soft: #f0f3f7;

    --kg-r: 8px;
    --kg-r-s: 5px;
    --kg-shadow: 0 1px 2px rgba(28, 37, 48, .06);
    --kg-shadow-h: 0 4px 14px rgba(28, 37, 48, .09);

    background: var(--kg-bg);
    color: var(--kg-text);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
    min-height: 60vh;
    padding-bottom: 40px;
}

.ls-kg-root *,
.ls-kg-root *::before,
.ls-kg-root *::after { box-sizing: border-box; }

.ls-kg-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.ls-kg-wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 16px; }

/* ---------- å¹³å°å¯¼èª ---------- */
.ls-kg-nav {
    background: var(--kg-primary);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 60;
}
.ls-kg-nav-in {
    max-width: 1180px; margin: 0 auto; padding: 0 16px;
    display: flex; align-items: center; gap: 6px; height: 52px;
}
.ls-kg-logo {
    font-size: 17px; font-weight: 700; color: #fff; text-decoration: none;
    margin-right: 18px; letter-spacing: .5px; white-space: nowrap;
}
.ls-kg-logo:hover { color: #fff; opacity: .9; }
.ls-kg-nav-links { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.ls-kg-nav-links::-webkit-scrollbar { display: none; }
.ls-kg-nav-links a {
    color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 14px;
    padding: 7px 13px; border-radius: var(--kg-r-s); white-space: nowrap; transition: all .15s;
}
.ls-kg-nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.ls-kg-nav-links a.is-active { color: #fff; background: rgba(255, 255, 255, .16); font-weight: 600; }
.ls-kg-nav-user { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.ls-kg-nav-user img { width: 28px; height: 28px; border-radius: 50%; }
.ls-kg-nav-user a { color: rgba(255, 255, 255, .85); text-decoration: none; font-size: 13px; }
.ls-kg-nav-user a:hover { color: #fff; }

/* ---------- éç¨å¡ç / æ é¢ ---------- */
.ls-kg-card {
    background: var(--kg-card); border: 1px solid var(--kg-line);
    border-radius: var(--kg-r); box-shadow: var(--kg-shadow);
}
.ls-kg-card-pad { padding: 18px 20px; }

.ls-kg-sec { margin-top: 26px; }
.ls-kg-sec-hd {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 12px; gap: 12px;
}
.ls-kg-sec-hd h2 {
    font-size: 17px; font-weight: 700; margin: 0; color: var(--kg-text);
    padding-left: 10px; border-left: 3px solid var(--kg-primary); line-height: 1.3;
}
.ls-kg-sec-hd .ls-kg-more { font-size: 13px; color: var(--kg-text-3); text-decoration: none; }
.ls-kg-sec-hd .ls-kg-more:hover { color: var(--kg-primary); }

/* ---------- æé® ---------- */
.ls-kg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 9px 18px; border-radius: var(--kg-r-s); border: 1px solid var(--kg-line);
    background: var(--kg-card); color: var(--kg-text); font-size: 14px; font-weight: 500;
    cursor: pointer; text-decoration: none; transition: all .15s; line-height: 1.4;
}
.ls-kg-btn:hover { border-color: var(--kg-primary); color: var(--kg-primary); }
.ls-kg-btn-primary { background: var(--kg-primary); border-color: var(--kg-primary); color: #fff; }
.ls-kg-btn-primary:hover { background: var(--kg-primary-h); border-color: var(--kg-primary-h); color: #fff; }
.ls-kg-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.ls-kg-btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.ls-kg-btn-lg { padding: 12px 26px; font-size: 15px; }
.ls-kg-btn-sm { padding: 5px 12px; font-size: 13px; }
.ls-kg-btn:disabled, .ls-kg-btn.is-disabled { opacity: .5; cursor: not-allowed; }
.ls-kg-btn-block { width: 100%; }

/* ---------- é¦é¡µå¤´é¨ ---------- */
.ls-kg-hero { background: var(--kg-primary); color: #fff; padding: 30px 0 34px; }
.ls-kg-hero h1 { font-size: 25px; font-weight: 700; margin: 0 0 8px; color: #fff; letter-spacing: .5px; }
.ls-kg-hero p { margin: 0; color: rgba(255, 255, 255, .74); font-size: 14px; }
.ls-kg-hero-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ls-kg-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.ls-kg-hero-stats { display: flex; gap: 30px; margin-top: 20px; flex-wrap: wrap; }
.ls-kg-hero-stat b { display: block; font-size: 24px; font-weight: 700; line-height: 1.2; color: #fff; }
.ls-kg-hero-stat span { font-size: 12px; color: rgba(255, 255, 255, .62); }

/* ---------- ç»è®¡æ¡ ---------- */
.ls-kg-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ls-kg-stat {
    background: var(--kg-card); border: 1px solid var(--kg-line); border-radius: var(--kg-r);
    padding: 15px 16px;
}
.ls-kg-stat b { display: block; font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--kg-text); }
.ls-kg-stat b em { font-style: normal; font-size: 13px; font-weight: 500; color: var(--kg-text-3); margin-left: 2px; }
.ls-kg-stat span { font-size: 12px; color: var(--kg-text-3); }
.ls-kg-stat.is-hl b { color: var(--kg-primary); }

/* ---------- ç­éå¨ ---------- */
.ls-kg-filter { background: var(--kg-card); border: 1px solid var(--kg-line); border-radius: var(--kg-r); padding: 4px 16px; }
.ls-kg-filter-row {
    display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--kg-line-2);
    align-items: flex-start;
}
.ls-kg-filter-row:last-child { border-bottom: 0; }
.ls-kg-filter-label {
    flex: 0 0 62px; font-size: 13px; color: var(--kg-text-3); padding-top: 4px; line-height: 1.6;
}
.ls-kg-filter-opts { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; }
.ls-kg-filter-opts a {
    font-size: 13px; color: var(--kg-text-2); text-decoration: none;
    padding: 3px 11px; border-radius: 20px; transition: all .13s; line-height: 1.7;
}
.ls-kg-filter-opts a:hover { color: var(--kg-primary); background: var(--kg-soft); }
.ls-kg-filter-opts a.is-on { background: var(--kg-primary); color: #fff; font-weight: 500; }
.ls-kg-filter-opts a.is-sub { padding-left: 8px; opacity: .88; }
.ls-kg-filter-opts a.is-sub::before { content: ''; }

.ls-kg-filter-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin: 14px 0 12px; flex-wrap: wrap;
}
.ls-kg-filter-count { font-size: 13px; color: var(--kg-text-3); }
.ls-kg-filter-count b { color: var(--kg-primary); font-size: 15px; }
.ls-kg-sortbar { display: flex; gap: 3px; }
.ls-kg-sortbar a {
    font-size: 13px; color: var(--kg-text-2); text-decoration: none;
    padding: 5px 12px; border-radius: var(--kg-r-s);
}
.ls-kg-sortbar a.is-on { background: var(--kg-card); color: var(--kg-primary); font-weight: 600; border: 1px solid var(--kg-line); }

/* ---------- é¢ç®åè¡¨é¡¹ ---------- */
.ls-kg-qlist { display: grid; gap: 10px; }
.ls-kg-qitem {
    background: var(--kg-card); border: 1px solid var(--kg-line); border-radius: var(--kg-r);
    padding: 15px 18px; transition: all .15s; position: relative;
}
.ls-kg-qitem:hover { border-color: #cfd6de; box-shadow: var(--kg-shadow-h); }
.ls-kg-qitem-hd { display: flex; gap: 8px; align-items: center; margin-bottom: 7px; flex-wrap: wrap; }
.ls-kg-qitem-title {
    font-size: 15px; font-weight: 500; color: var(--kg-text); text-decoration: none;
    display: block; line-height: 1.65; margin-bottom: 8px;
}
.ls-kg-qitem-title:hover { color: var(--kg-primary); }
.ls-kg-qitem-meta {
    display: flex; gap: 14px; font-size: 12px; color: var(--kg-text-3); flex-wrap: wrap; align-items: center;
}

/* æ ç­¾ */
.ls-kg-tag {
    display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 3px;
    background: var(--kg-soft); color: var(--kg-text-2); line-height: 1.8; white-space: nowrap;
}
.ls-kg-tag-cat { background: #e8eef6; color: var(--kg-primary); }
.ls-kg-tag-easy { background: #e6f4ec; color: var(--kg-ok); }
.ls-kg-tag-medium { background: #fdf3e0; color: var(--kg-warn); }
.ls-kg-tag-hard { background: #fbeae8; color: var(--kg-err); }
.ls-kg-tag-year { background: #f0f0f2; color: #5a6472; }
.ls-kg-tag-done { background: #eef1f4; color: var(--kg-text-3); }

/* ---------- åé¢åº ---------- */
.ls-kg-stage { display: grid; grid-template-columns: 1fr 250px; gap: 16px; align-items: start; }
.ls-kg-stage-main { min-width: 0; }
.ls-kg-stage-side { position: sticky; top: 68px; }

.ls-kg-q {
    background: var(--kg-card); border: 1px solid var(--kg-line);
    border-radius: var(--kg-r); padding: 22px 24px;
}
.ls-kg-q-hd {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--kg-line-2);
}
.ls-kg-q-no { font-size: 13px; color: var(--kg-text-3); font-weight: 600; margin-right: 2px; }
.ls-kg-q-body { font-size: 16px; line-height: 1.85; color: var(--kg-text); margin-bottom: 18px; }
.ls-kg-q-body p { margin: 0 0 10px; }
.ls-kg-q-body p:last-child { margin-bottom: 0; }
.ls-kg-q-body img { max-width: 100%; height: auto; }

.ls-kg-opts { display: grid; gap: 9px; }
.ls-kg-opt {
    display: flex; gap: 11px; align-items: flex-start;
    padding: 12px 15px; border: 1px solid var(--kg-line); border-radius: var(--kg-r-s);
    cursor: pointer; transition: all .13s; background: var(--kg-card); user-select: none;
}
.ls-kg-opt:hover { border-color: var(--kg-primary-l); background: #fafbfc; }
.ls-kg-opt-key {
    flex: 0 0 24px; height: 24px; border-radius: 50%; border: 1px solid var(--kg-line);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 600; color: var(--kg-text-2); background: var(--kg-card);
    transition: all .13s;
}
.ls-kg-opt-text { flex: 1; font-size: 15px; line-height: 1.65; padding-top: 1px; }
.ls-kg-opt.is-picked { border-color: var(--kg-primary); background: #f2f6fb; }
.ls-kg-opt.is-picked .ls-kg-opt-key { background: var(--kg-primary); border-color: var(--kg-primary); color: #fff; }
.ls-kg-opt.is-right { border-color: var(--kg-ok); background: #f1f9f4; }
.ls-kg-opt.is-right .ls-kg-opt-key { background: var(--kg-ok); border-color: var(--kg-ok); color: #fff; }
.ls-kg-opt.is-wrong { border-color: var(--kg-err); background: #fdf3f2; }
.ls-kg-opt.is-wrong .ls-kg-opt-key { background: var(--kg-err); border-color: var(--kg-err); color: #fff; }
.ls-kg-opt.is-locked { cursor: default; }
.ls-kg-opt.is-locked:hover { border-color: var(--kg-line); background: var(--kg-card); }
.ls-kg-opt.is-locked.is-right:hover { border-color: var(--kg-ok); background: #f1f9f4; }
.ls-kg-opt.is-locked.is-wrong:hover { border-color: var(--kg-err); background: #fdf3f2; }

.ls-kg-fill { width: 100%; padding: 11px 14px; border: 1px solid var(--kg-line); border-radius: var(--kg-r-s); font-size: 15px; font-family: inherit; }
.ls-kg-fill:focus { outline: none; border-color: var(--kg-primary); }

.ls-kg-q-ft {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--kg-line-2); flex-wrap: wrap;
}
.ls-kg-q-tools { display: flex; gap: 8px; }
.ls-kg-icon-btn {
    background: none; border: 0; color: var(--kg-text-3); cursor: pointer;
    font-size: 13px; padding: 5px 8px; border-radius: var(--kg-r-s);
}
.ls-kg-icon-btn:hover { color: var(--kg-primary); background: var(--kg-soft); }
.ls-kg-icon-btn.is-on { color: var(--kg-accent); }

/* å¤åç»æ */
.ls-kg-result { margin-top: 16px; border-radius: var(--kg-r-s); overflow: hidden; border: 1px solid var(--kg-line); }
.ls-kg-result-hd {
    padding: 11px 16px; font-size: 14px; font-weight: 600;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.ls-kg-result.is-right .ls-kg-result-hd { background: #eaf6ef; color: var(--kg-ok); }
.ls-kg-result.is-wrong .ls-kg-result-hd { background: #fbeeec; color: var(--kg-err); }
.ls-kg-result-hd small { font-weight: 400; color: var(--kg-text-2); font-size: 12px; margin-left: auto; }
.ls-kg-result-bd { padding: 15px 16px; background: var(--kg-card); font-size: 14px; line-height: 1.85; color: var(--kg-text-2); }
.ls-kg-result-bd h4 { font-size: 13px; color: var(--kg-text); margin: 0 0 8px; font-weight: 600; }
.ls-kg-result-bd p { margin: 0 0 10px; }
.ls-kg-result-bd p:last-child { margin-bottom: 0; }

/* ä¾§æ ç­é¢å¡ */
.ls-kg-panel { background: var(--kg-card); border: 1px solid var(--kg-line); border-radius: var(--kg-r); padding: 15px 16px; }
.ls-kg-panel + .ls-kg-panel { margin-top: 12px; }
.ls-kg-panel h3 { font-size: 14px; font-weight: 600; margin: 0 0 12px; color: var(--kg-text); }
.ls-kg-panel-list { display: grid; gap: 9px; font-size: 13px; }
.ls-kg-panel-row { display: flex; justify-content: space-between; color: var(--kg-text-2); }
.ls-kg-panel-row b { color: var(--kg-text); font-weight: 600; }

.ls-kg-sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); gap: 6px; }
.ls-kg-sheet a, .ls-kg-sheet button {
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--kg-line); border-radius: var(--kg-r-s); background: var(--kg-card);
    font-size: 12px; color: var(--kg-text-2); text-decoration: none; cursor: pointer;
    transition: all .12s; padding: 0; font-family: inherit;
}
.ls-kg-sheet a:hover, .ls-kg-sheet button:hover { border-color: var(--kg-primary); color: var(--kg-primary); }
.ls-kg-sheet .is-done { background: #eef1f4; color: var(--kg-text-3); }
.ls-kg-sheet .is-answered { background: var(--kg-primary); border-color: var(--kg-primary); color: #fff; }
.ls-kg-sheet .is-right { background: #e6f4ec; border-color: #b7e0c7; color: var(--kg-ok); }
.ls-kg-sheet .is-wrong { background: #fbeae8; border-color: #f0c4be; color: var(--kg-err); }
.ls-kg-sheet .is-cur { outline: 2px solid var(--kg-primary); outline-offset: 1px; font-weight: 700; }
.ls-kg-sheet .is-marked::after {
    content: ''; position: absolute; width: 6px; height: 6px; background: var(--kg-warn);
    border-radius: 50%; margin: -14px 0 0 22px;
}
.ls-kg-sheet-legend { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 11px; color: var(--kg-text-3); }
.ls-kg-sheet-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }

/* ---------- èåº ---------- */
.ls-kg-exam-bar {
    position: sticky; top: 0; z-index: 70; background: var(--kg-primary); color: #fff;
    padding: 10px 0;
}
.ls-kg-exam-bar-in {
    max-width: 1180px; margin: 0 auto; padding: 0 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.ls-kg-exam-title { font-size: 15px; font-weight: 600; color: #fff; }
.ls-kg-exam-title small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); font-weight: 400; }
.ls-kg-clock {
    font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums;
    letter-spacing: 1px; padding: 2px 14px; border-radius: var(--kg-r-s);
    background: rgba(255, 255, 255, .12);
}
.ls-kg-clock.is-urgent { background: var(--kg-accent); animation: kgPulse 1.4s ease-in-out infinite; }
@keyframes kgPulse { 0%, 100% { opacity: 1; } 50% { opacity: .62; } }
.ls-kg-clock-hint { font-size: 11px; color: rgba(255, 255, 255, .55); text-align: center; margin-top: 2px; }

/* ---------- æç»©æ¥å ---------- */
.ls-kg-score-card {
    background: var(--kg-primary); color: #fff; border-radius: var(--kg-r);
    padding: 26px 28px; display: flex; align-items: center; gap: 34px; flex-wrap: wrap;
}
.ls-kg-score-num { line-height: 1; }
.ls-kg-score-num b { font-size: 52px; font-weight: 700; letter-spacing: -1px; }
.ls-kg-score-num i { font-style: normal; font-size: 18px; color: rgba(255, 255, 255, .62); }
.ls-kg-score-num span { display: block; font-size: 12px; color: rgba(255, 255, 255, .62); margin-top: 8px; }
.ls-kg-score-meta { display: flex; gap: 32px; flex-wrap: wrap; }
.ls-kg-score-meta div b { display: block; font-size: 19px; font-weight: 700; }
.ls-kg-score-meta div span { font-size: 12px; color: rgba(255, 255, 255, .62); }
.ls-kg-badge-pass {
    display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 600;
    background: rgba(255, 255, 255, .16);
}

/* æ¨¡åå¾åæ¡ */
.ls-kg-bars { display: grid; gap: 13px; }
.ls-kg-bar-row { display: grid; grid-template-columns: 96px 1fr 62px; gap: 12px; align-items: center; font-size: 13px; }
.ls-kg-bar-name { color: var(--kg-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-kg-bar-track { height: 8px; background: var(--kg-soft); border-radius: 4px; overflow: hidden; }
.ls-kg-bar-fill { height: 100%; background: var(--kg-primary); border-radius: 4px; transition: width .5s ease; }
.ls-kg-bar-fill.is-low { background: var(--kg-err); }
.ls-kg-bar-fill.is-mid { background: var(--kg-warn); }
.ls-kg-bar-fill.is-high { background: var(--kg-ok); }
.ls-kg-bar-val { text-align: right; color: var(--kg-text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* è¶å¿æ± */
.ls-kg-trend { display: flex; align-items: flex-end; gap: 5px; height: 96px; }
.ls-kg-trend-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.ls-kg-trend-bar {
    width: 100%; background: var(--kg-primary); border-radius: 2px 2px 0 0; min-height: 2px;
    transition: height .4s ease;
}
.ls-kg-trend-bar.is-zero { background: var(--kg-line); }
.ls-kg-trend-lbl { font-size: 10px; color: var(--kg-text-3); white-space: nowrap; }

/* ---------- ä»æ¥ä»»å¡ ---------- */
.ls-kg-plan { display: grid; gap: 10px; }
.ls-kg-plan-item {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px;
    background: var(--kg-card); border: 1px solid var(--kg-line); border-radius: var(--kg-r);
    text-decoration: none; color: inherit; transition: all .15s;
}
.ls-kg-plan-item:hover { border-color: var(--kg-primary-l); box-shadow: var(--kg-shadow-h); }
.ls-kg-plan-item.is-done { opacity: .62; }
.ls-kg-plan-ico {
    flex: 0 0 38px; height: 38px; border-radius: var(--kg-r-s); background: var(--kg-soft);
    display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.ls-kg-plan-main { flex: 1; min-width: 0; }
.ls-kg-plan-main b { display: block; font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.ls-kg-plan-main span { font-size: 12px; color: var(--kg-text-3); }
.ls-kg-plan-prog { flex: 0 0 90px; text-align: right; }
.ls-kg-plan-prog b { font-size: 15px; font-weight: 700; color: var(--kg-primary); font-variant-numeric: tabular-nums; }
.ls-kg-plan-prog span { font-size: 12px; color: var(--kg-text-3); }
.ls-kg-plan-track { height: 4px; background: var(--kg-soft); border-radius: 2px; margin-top: 5px; overflow: hidden; }
.ls-kg-plan-track i { display: block; height: 100%; background: var(--kg-primary); border-radius: 2px; }

/* ---------- æ¨¡åå¥å£ç½æ ¼ ---------- */
.ls-kg-mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 12px; }
.ls-kg-mod {
    background: var(--kg-card); border: 1px solid var(--kg-line); border-radius: var(--kg-r);
    padding: 17px 18px; text-decoration: none; color: inherit; transition: all .15s; display: block;
}
.ls-kg-mod:hover { border-color: var(--kg-primary); box-shadow: var(--kg-shadow-h); transform: translateY(-1px); }
.ls-kg-mod b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 5px; color: var(--kg-text); }
.ls-kg-mod p { margin: 0 0 10px; font-size: 12px; color: var(--kg-text-3); line-height: 1.6; }
.ls-kg-mod-stat { font-size: 12px; color: var(--kg-primary); font-weight: 600; }
.ls-kg-mod-sub { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.ls-kg-mod-sub span { font-size: 11px; color: var(--kg-text-3); background: var(--kg-soft); padding: 1px 7px; border-radius: 3px; }

/* ---------- è¯å·åè¡¨ ---------- */
.ls-kg-papers { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 12px; }
.ls-kg-paper {
    background: var(--kg-card); border: 1px solid var(--kg-line); border-radius: var(--kg-r);
    padding: 17px 18px; display: flex; flex-direction: column; gap: 10px;
}
.ls-kg-paper:hover { border-color: #cfd6de; box-shadow: var(--kg-shadow-h); }
.ls-kg-paper h3 { font-size: 15px; font-weight: 600; margin: 0; line-height: 1.55; }
.ls-kg-paper h3 a { color: var(--kg-text); text-decoration: none; }
.ls-kg-paper h3 a:hover { color: var(--kg-primary); }
.ls-kg-paper-meta { font-size: 12px; color: var(--kg-text-3); display: flex; gap: 14px; flex-wrap: wrap; }
.ls-kg-paper-ft { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.ls-kg-paper-best { font-size: 12px; color: var(--kg-text-3); }
.ls-kg-paper-best b { color: var(--kg-primary); font-size: 14px; }

/* ---------- éé¢æ¬ ---------- */
.ls-kg-wrong-item {
    background: var(--kg-card); border: 1px solid var(--kg-line); border-radius: var(--kg-r);
    padding: 16px 18px;
}
.ls-kg-wrong-item + .ls-kg-wrong-item { margin-top: 10px; }
.ls-kg-wrong-hd { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.ls-kg-wrong-times { font-size: 11px; padding: 1px 7px; border-radius: 3px; background: #fbeae8; color: var(--kg-err); }
.ls-kg-wrong-q { font-size: 15px; line-height: 1.7; margin-bottom: 10px; color: var(--kg-text); }
.ls-kg-wrong-ans { display: flex; gap: 20px; font-size: 13px; margin-bottom: 10px; flex-wrap: wrap; }
.ls-kg-wrong-ans span { color: var(--kg-text-3); }
.ls-kg-wrong-ans b { font-weight: 600; }
.ls-kg-wrong-ans .mine { color: var(--kg-err); }
.ls-kg-wrong-ans .right { color: var(--kg-ok); }
.ls-kg-wrong-exp {
    font-size: 13px; line-height: 1.8; color: var(--kg-text-2);
    background: var(--kg-soft); padding: 12px 14px; border-radius: var(--kg-r-s); margin-bottom: 10px;
}
.ls-kg-wrong-ft { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ls-kg-wrong-next { font-size: 12px; color: var(--kg-text-3); }

/* ---------- ç¤¾åº ---------- */
.ls-kg-topic {
    display: flex; gap: 14px; padding: 15px 18px; background: var(--kg-card);
    border: 1px solid var(--kg-line); border-radius: var(--kg-r); transition: all .15s;
}
.ls-kg-topic + .ls-kg-topic { margin-top: 9px; }
.ls-kg-topic:hover { border-color: #cfd6de; }
.ls-kg-topic-avatar { flex: 0 0 40px; }
.ls-kg-topic-avatar img { width: 40px; height: 40px; border-radius: 50%; display: block; }
.ls-kg-topic-main { flex: 1; min-width: 0; }
.ls-kg-topic-main h3 { font-size: 15px; font-weight: 600; margin: 0 0 5px; line-height: 1.55; }
.ls-kg-topic-main h3 a { color: var(--kg-text); text-decoration: none; }
.ls-kg-topic-main h3 a:hover { color: var(--kg-primary); }
.ls-kg-topic-excerpt { font-size: 13px; color: var(--kg-text-2); line-height: 1.7; margin: 0 0 7px; }
.ls-kg-topic-meta { font-size: 12px; color: var(--kg-text-3); display: flex; gap: 14px; flex-wrap: wrap; }

.ls-kg-reply { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--kg-line-2); }
.ls-kg-reply:last-child { border-bottom: 0; }
.ls-kg-reply img { width: 34px; height: 34px; border-radius: 50%; flex: 0 0 34px; }
.ls-kg-reply-main { flex: 1; min-width: 0; }
.ls-kg-reply-hd { display: flex; gap: 10px; align-items: baseline; margin-bottom: 4px; }
.ls-kg-reply-hd b { font-size: 13px; font-weight: 600; }
.ls-kg-reply-hd span { font-size: 12px; color: var(--kg-text-3); }
.ls-kg-reply-bd { font-size: 14px; line-height: 1.8; color: var(--kg-text-2); }
.ls-kg-reply-bd p { margin: 0 0 8px; }
.ls-kg-reply-bd p:last-child { margin-bottom: 0; }
.ls-kg-reply-ft { margin-top: 6px; display: flex; gap: 14px; }

.ls-kg-editor textarea {
    width: 100%; min-height: 92px; padding: 12px 14px; border: 1px solid var(--kg-line);
    border-radius: var(--kg-r-s); font-size: 14px; font-family: inherit; line-height: 1.7; resize: vertical;
}
.ls-kg-editor textarea:focus { outline: none; border-color: var(--kg-primary); }
.ls-kg-editor input[type=text] {
    width: 100%; padding: 10px 14px; border: 1px solid var(--kg-line);
    border-radius: var(--kg-r-s); font-size: 15px; font-family: inherit; margin-bottom: 10px;
}
.ls-kg-editor input[type=text]:focus { outline: none; border-color: var(--kg-primary); }
.ls-kg-editor-ft { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 12px; }
.ls-kg-editor-ft small { color: var(--kg-text-3); font-size: 12px; }

/* ---------- ç©ºç¶æ / æç¤º ---------- */
.ls-kg-empty { text-align: center; padding: 46px 20px; color: var(--kg-text-3); }
.ls-kg-empty b { display: block; font-size: 15px; color: var(--kg-text-2); margin-bottom: 6px; font-weight: 600; }
.ls-kg-empty p { margin: 0 0 16px; font-size: 13px; }

.ls-kg-note {
    background: #fdf8ec; border: 1px solid #f0e2c0; border-radius: var(--kg-r-s);
    padding: 12px 15px; font-size: 13px; color: #7a5c15; line-height: 1.7;
}
.ls-kg-note-info { background: #eef4fb; border-color: #cfdff2; color: #2b4f7a; }

/* ---------- åé¡µ ---------- */
.ls-kg-pager { display: flex; justify-content: center; gap: 5px; margin-top: 24px; flex-wrap: wrap; }
.ls-kg-pager a, .ls-kg-pager span {
    min-width: 34px; height: 34px; padding: 0 11px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--kg-line); border-radius: var(--kg-r-s); background: var(--kg-card);
    color: var(--kg-text-2); text-decoration: none; font-size: 13px;
}
.ls-kg-pager a:hover { border-color: var(--kg-primary); color: var(--kg-primary); }
.ls-kg-pager .current { background: var(--kg-primary); border-color: var(--kg-primary); color: #fff; font-weight: 600; }

/* ---------- è½»æç¤º ---------- */
.ls-kg-toast {
    position: fixed; left: 50%; bottom: 76px; transform: translateX(-50%) translateY(12px);
    background: rgba(28, 37, 48, .93); color: #fff; padding: 10px 20px; border-radius: 20px;
    font-size: 14px; z-index: 9999; opacity: 0; pointer-events: none; transition: all .22s;
}
.ls-kg-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- ç§»å¨ç«¯åºé¨å¯¼èª ---------- */
.ls-kg-tabbar { display: none; }

/* ==========================================================================
   æ°å¢ï¼èåº / æ¥å / ä»ªè¡¨ç / éé¢æ¬ / ç¤¾åº
   ========================================================================== */

/* èåºæ é¢å¯ä¿¡æ¯ */
.ls-kg-exam-title span { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); font-weight: 400; margin-top: 2px; }

/* ---------- æç»©æ¥å ---------- */
.ls-kg-score-card.is-fail { background: #6b2230; }
.ls-kg-score-main { display: flex; flex-direction: column; gap: 6px; }
.ls-kg-score-side { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; margin-left: auto; }
.ls-kg-score-cell { display: flex; flex-direction: column; align-items: center; min-width: 54px; }
.ls-kg-score-cell b { font-size: 20px; font-weight: 700; line-height: 1.2; }
.ls-kg-score-cell span { font-size: 11px; color: rgba(255, 255, 255, .6); margin-top: 2px; }
.ls-kg-score-cell-wide { align-items: flex-start; }
.ls-kg-score-cell-wide b { font-size: 22px; }
.ls-kg-score-meta > span:not(.ls-kg-badge-pass) { font-size: 13px; color: rgba(255, 255, 255, .62); }
.ls-kg-badge-pass.is-pass { background: rgba(30, 142, 78, .25); color: #cdeedd; }
.ls-kg-badge-pass.is-fail { background: rgba(192, 57, 43, .28); color: #f6cfc9; }
.ls-kg-report-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* è¶å¿æ±å½åç¹ + æ°å¼ */
.ls-kg-trend-bar.is-cur { background: var(--kg-accent); }
.ls-kg-trend-val { font-size: 11px; color: var(--kg-text-2); font-weight: 600; }

/* éé¡¹æ è®°å¾½æ ï¼åé¡¾ / éé¢æ¬å±ç¨ï¼ */
.ls-kg-opt-flag { font-style: normal; font-size: 10px; margin-left: auto; color: var(--kg-ok); opacity: .85; }
.ls-kg-opt-flag.is-wrong { color: var(--kg-err); }

/* éé¢åé¡¾ */
.ls-kg-review { display: grid; gap: 12px; }
.ls-kg-review-item { background: var(--kg-card); border: 1px solid var(--kg-line); border-radius: var(--kg-r); padding: 16px 18px; border-left: 4px solid var(--kg-line); }
.ls-kg-review-item.is-right { border-left-color: var(--kg-ok); }
.ls-kg-review-item.is-wrong { border-left-color: var(--kg-err); }
.ls-kg-review-item.is-blank { border-left-color: var(--kg-warn); }
.ls-kg-review-hd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.ls-kg-review-hd .ls-kg-more { margin-left: auto; }
.ls-kg-mark { font-size: 11px; padding: 2px 9px; border-radius: 20px; font-weight: 600; }
.ls-kg-mark.is-right { background: #e6f4ec; color: var(--kg-ok); }
.ls-kg-mark.is-wrong { background: #fbeae8; color: var(--kg-err); }
.ls-kg-mark.is-blank { background: #fdf3e0; color: var(--kg-warn); }
.ls-kg-review-body { font-size: 15px; line-height: 1.75; margin-bottom: 12px; color: var(--kg-text); }
.ls-kg-review-opts { display: grid; gap: 8px; margin-bottom: 12px; }
.ls-kg-review-opt { display: flex; gap: 11px; align-items: flex-start; padding: 10px 14px; border: 1px solid var(--kg-line); border-radius: var(--kg-r-s); background: var(--kg-card); }
.ls-kg-review-opt .ls-kg-opt-key { flex: 0 0 24px; height: 24px; border-radius: 50%; border: 1px solid var(--kg-line); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--kg-text-2); }
.ls-kg-review-opt.is-right { border-color: var(--kg-ok); background: #f1f9f4; }
.ls-kg-review-opt.is-right .ls-kg-opt-key { background: var(--kg-ok); border-color: var(--kg-ok); color: #fff; }
.ls-kg-review-opt.is-wrong { border-color: var(--kg-err); background: #fdf3f2; }
.ls-kg-review-opt.is-wrong .ls-kg-opt-key { background: var(--kg-err); border-color: var(--kg-err); color: #fff; }
.ls-kg-review-fill { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 12px; font-size: 14px; }
.ls-kg-review-fill span { color: var(--kg-text-3); }
.ls-kg-review-fill b { font-weight: 600; }
.ls-kg-review-fill b.is-right { color: var(--kg-ok); }
.ls-kg-review-fill b.is-wrong { color: var(--kg-err); }
.ls-kg-review-exp { font-size: 13px; line-height: 1.8; color: var(--kg-text-2); background: var(--kg-soft); padding: 12px 14px; border-radius: var(--kg-r-s); }

/* ---------- ä»ªè¡¨ç ---------- */
.ls-kg-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.ls-kg-radar-wrap { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.ls-kg-radar { width: 260px; height: 260px; flex: 0 0 260px; }
.ls-kg-radar-grid line, .ls-kg-radar-grid circle { fill: none; stroke: #e3e7ec; stroke-width: 1; }
.ls-kg-radar-poly { fill: rgba(31, 58, 95, .14); stroke: var(--kg-primary); stroke-width: 2; }
.ls-kg-radar text { font-size: 11px; fill: var(--kg-text-2); }
.ls-kg-radar-legend { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--kg-text-2); }
.ls-kg-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.ls-kg-dot.is-high { background: var(--kg-ok); }
.ls-kg-dot.is-mid { background: var(--kg-warn); }
.ls-kg-dot.is-low { background: var(--kg-err); }
.ls-kg-plan-fill { display: block; height: 100%; background: var(--kg-primary); border-radius: 2px; }
.ls-kg-bar-link { text-decoration: none; color: inherit; }
.ls-kg-bar-link:hover .ls-kg-bar-name { color: var(--kg-primary); }

/* ---------- éé¢æ¬ ---------- */
.ls-kg-wrong-list { display: grid; gap: 10px; }
.ls-kg-wrong-opts { display: grid; gap: 8px; margin-bottom: 10px; }
.ls-kg-wrong-opt { display: flex; gap: 11px; align-items: flex-start; padding: 10px 14px; border: 1px solid var(--kg-line); border-radius: var(--kg-r-s); background: var(--kg-card); }
.ls-kg-wrong-opt .ls-kg-opt-key { flex: 0 0 24px; height: 24px; border-radius: 50%; border: 1px solid var(--kg-line); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--kg-text-2); }
.ls-kg-wrong-opt.is-right { border-color: var(--kg-ok); background: #f1f9f4; }
.ls-kg-wrong-opt.is-right .ls-kg-opt-key { background: var(--kg-ok); border-color: var(--kg-ok); color: #fff; }
.ls-kg-wrong-opt.is-wrong { border-color: var(--kg-err); background: #fdf3f2; }
.ls-kg-wrong-opt.is-wrong .ls-kg-opt-key { background: var(--kg-err); border-color: var(--kg-err); color: #fff; }
.ls-kg-wrong-next.is-due { color: var(--kg-accent); font-weight: 600; }
.ls-kg-wrong-next.is-mastered { color: var(--kg-ok); }
.ls-kg-btn-ok { background: var(--kg-ok); border-color: var(--kg-ok); color: #fff; }
.ls-kg-btn-ok:hover { background: #19793f; border-color: #19793f; color: #fff; }
.ls-kg-btn-danger { background: #fff; border-color: #f0c4be; color: var(--kg-err); }
.ls-kg-btn-danger:hover { background: #fdf3f2; border-color: var(--kg-err); color: var(--kg-err); }

/* ---------- ç¤¾åº ---------- */
.ls-kg-community-grid { display: grid; grid-template-columns: 1fr 280px; gap: 16px; align-items: start; }
.ls-kg-community-main { min-width: 0; }
.ls-kg-community-side { position: sticky; top: 68px; }
.ls-kg-topics { display: grid; gap: 9px; }
.ls-kg-topic-avatar { width: 40px; height: 40px; border-radius: 50%; display: block; object-fit: cover; }
.ls-kg-topic-detail-hd { margin-bottom: 12px; }
.ls-kg-topic-detail-hd h1 { font-size: 20px; margin: 8px 0 10px; line-height: 1.4; }
.ls-kg-topic-content { font-size: 15px; line-height: 1.9; color: var(--kg-text); }
.ls-kg-topic-content p { margin: 0 0 12px; }
.ls-kg-topic-content img { max-width: 100%; height: auto; }
.ls-kg-replies { display: grid; gap: 0; }
.ls-kg-reply-body { font-size: 14px; line-height: 1.8; color: var(--kg-text-2); }
.ls-kg-reply-body p { margin: 0 0 8px; }
.ls-kg-reply-body p:last-child { margin-bottom: 0; }
.ls-kg-vote { background: none; border: 1px solid var(--kg-line); border-radius: 20px; padding: 3px 12px; font-size: 12px; color: var(--kg-text-2); cursor: pointer; transition: all .15s; }
.ls-kg-vote:hover { border-color: var(--kg-primary); color: var(--kg-primary); }
.ls-kg-vote.is-on { border-color: var(--kg-primary); color: var(--kg-primary); background: var(--kg-soft); }
.ls-kg-select { width: 100%; padding: 10px 14px; border: 1px solid var(--kg-line); border-radius: var(--kg-r-s); font-size: 15px; font-family: inherit; margin-bottom: 10px; background: var(--kg-card); }
.ls-kg-select:focus { outline: none; border-color: var(--kg-primary); }
.ls-kg-search { display: flex; gap: 6px; }
.ls-kg-search input[type=text] { padding: 7px 12px; border: 1px solid var(--kg-line); border-radius: var(--kg-r-s); font-size: 13px; font-family: inherit; width: 160px; }
.ls-kg-search input[type=text]:focus { outline: none; border-color: var(--kg-primary); }
.ls-kg-panel-row img { border-radius: 50%; }
a.ls-kg-panel-row { text-decoration: none; color: inherit; }
a.ls-kg-panel-row:hover { color: var(--kg-primary); }

@media (max-width: 1024px) {
    .ls-kg-grid-2 { grid-template-columns: 1fr; }
    .ls-kg-community-grid { grid-template-columns: 1fr; }
    .ls-kg-community-side { position: static; }
}
@media (max-width: 768px) {
    .ls-kg-radar { width: 220px; height: 220px; flex-basis: 220px; }
    .ls-kg-score-side { width: 100%; margin-left: 0; }
    .ls-kg-community-side { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .ls-kg-community-side .ls-kg-panel { margin: 0; }
    .ls-kg-community-side .ls-kg-panel + .ls-kg-panel { margin-top: 0; }
}

/* ==========================================================================
   ååºå¼
   ========================================================================== */

@media (max-width: 1024px) {
    .ls-kg-stage { grid-template-columns: 1fr; }
    .ls-kg-stage-side { position: static; }
}

@media (max-width: 768px) {
    .ls-kg-root { font-size: 14.5px; padding-bottom: 68px; }
    .ls-kg-wrap, .ls-kg-wrap-narrow { padding: 0 12px; }

    .ls-kg-nav-in { height: 48px; }
    .ls-kg-logo { font-size: 16px; margin-right: 10px; }
    .ls-kg-nav-links { display: none; }
    .ls-kg-nav-user { margin-left: auto; }

    .ls-kg-hero { padding: 22px 0 24px; }
    .ls-kg-hero h1 { font-size: 20px; }
    .ls-kg-hero-grid { flex-direction: column; align-items: stretch; gap: 16px; }
    .ls-kg-hero-actions .ls-kg-btn { flex: 1; }
    .ls-kg-hero-stats { gap: 0; justify-content: space-between; }
    .ls-kg-hero-stat b { font-size: 20px; }

    .ls-kg-stats { grid-template-columns: repeat(2, 1fr); gap: 9px; }
    .ls-kg-stat { padding: 12px 13px; }
    .ls-kg-stat b { font-size: 19px; }

    .ls-kg-sec { margin-top: 20px; }
    .ls-kg-sec-hd h2 { font-size: 16px; }

    .ls-kg-filter { padding: 2px 13px; }
    .ls-kg-filter-row { flex-direction: column; gap: 6px; padding: 10px 0; }
    .ls-kg-filter-label { flex: none; padding-top: 0; font-size: 12px; }
    .ls-kg-filter-opts { gap: 3px; }
    .ls-kg-filter-opts a { font-size: 12.5px; padding: 3px 10px; }

    .ls-kg-q { padding: 16px 15px; border-radius: var(--kg-r); }
    .ls-kg-q-body { font-size: 15.5px; line-height: 1.8; }
    .ls-kg-opt { padding: 11px 12px; gap: 9px; }
    .ls-kg-opt-text { font-size: 14.5px; }
    .ls-kg-q-ft { flex-direction: column-reverse; align-items: stretch; gap: 10px; }
    .ls-kg-q-ft .ls-kg-btn { width: 100%; padding: 12px; }
    .ls-kg-q-tools { justify-content: space-around; }

    .ls-kg-score-card { padding: 20px; gap: 20px; }
    .ls-kg-score-num b { font-size: 42px; }
    .ls-kg-score-meta { gap: 22px; }
    .ls-kg-score-meta div b { font-size: 17px; }

    .ls-kg-bar-row { grid-template-columns: 76px 1fr 48px; gap: 9px; font-size: 12.5px; }
    .ls-kg-mods { grid-template-columns: repeat(2, 1fr); gap: 9px; }
    .ls-kg-mod { padding: 14px; }
    .ls-kg-mod b { font-size: 14px; }
    .ls-kg-papers { grid-template-columns: 1fr; }

    .ls-kg-exam-bar-in { gap: 8px; }
    .ls-kg-exam-title { font-size: 13px; flex: 1; min-width: 0; }
    .ls-kg-clock { font-size: 19px; padding: 2px 11px; }

    .ls-kg-plan-item { padding: 12px 13px; gap: 11px; }
    .ls-kg-plan-ico { flex-basis: 34px; height: 34px; font-size: 15px; }
    .ls-kg-plan-prog { flex-basis: 66px; }

    .ls-kg-trend { height: 76px; gap: 3px; }
    .ls-kg-trend-lbl { font-size: 9px; }

    .ls-kg-sheet { grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); }

    /* ç§»å¨ç«¯åºé¨å¯¼èª */
    .ls-kg-tabbar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
        background: var(--kg-card); border-top: 1px solid var(--kg-line);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .ls-kg-tabbar a {
        flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
        padding: 7px 0 6px; text-decoration: none; color: var(--kg-text-3); font-size: 11px;
    }
    .ls-kg-tabbar a i { font-style: normal; font-size: 18px; line-height: 1.15; }
    .ls-kg-tabbar a.is-active { color: var(--kg-primary); font-weight: 600; }
    .ls-kg-tabbar-badge {
        position: absolute; margin: -4px 0 0 15px; min-width: 15px; height: 15px; padding: 0 4px;
        background: var(--kg-accent); color: #fff; border-radius: 8px;
        font-size: 10px; line-height: 15px; text-align: center; font-weight: 600;
    }
}

@media (max-width: 400px) {
    .ls-kg-mods { grid-template-columns: 1fr; }
    .ls-kg-hero-stats { flex-wrap: wrap; gap: 12px 0; }
    .ls-kg-hero-stat { flex: 0 0 50%; }
    .ls-kg-score-num b { font-size: 36px; }
}

/* æå°ï¼éé¢æ¬å¯¼åº */
@media print {
    .ls-kg-nav, .ls-kg-tabbar, .ls-kg-btn, .ls-kg-filter, .ls-kg-pager { display: none !important; }
    .ls-kg-root { background: #fff; padding: 0; }
    .ls-kg-wrong-item { break-inside: avoid; border-color: #ccc; }
}

/* ==== æ¥æº: exam-hub.css ==== */
/* ==========================================================================
   å¤èè¯ç±»åä¸­æ¢ï¼Exam Hubï¼ââ ä½ç¨åæ ·å¼è¡¨
   ä½ç¨åï¼.ls-eh-ï¼å¨å±å¥éï¼é åç¼éç¦»ï¼ä¸å½±åå¶å®é¡µé¢ï¼
   è®¾è®¡åºè°ï¼ä¸èå¬æ¨¡åä¸è´ ââ çº¸é¢ç½åº / åå¶åéçº¿ / ä¸ç¨æ¸åä¸ç»çææã
   ä¸»è²ç±åç±»èè¯æ³¨å¥ï¼--eh-mainï¼ä¸»è²ï¼ã--eh-tintï¼æµåºè²ï¼ï¼
   å æ­¤å¬è=èéãå­¦å=æéãèè¯=å¢¨ç»¿ãæè½=ç´«ç°ï¼åç±»çé¢è§æä¸åã
   ========================================================================== */

.ls-eh-root {
    --eh-main: #1B4A77;
    --eh-tint: #EEF3F8;

    --eh-text: #1c2530;
    --eh-text-2: #56616f;
    --eh-text-3: #8b95a1;
    --eh-line: #e3e7ec;
    --eh-line-2: #eef1f4;
    --eh-bg: #f5f6f8;
    --eh-card: #ffffff;
    --eh-ok: #1e8e4e;
    --eh-warn: #b8860b;

    --eh-r: 8px;
    --eh-r-s: 5px;
    --eh-shadow: 0 1px 2px rgba(28, 37, 48, .06);
    --eh-shadow-h: 0 4px 14px rgba(28, 37, 48, .09);

    background: var(--eh-bg);
    color: var(--eh-text);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
    min-height: 60vh;
    padding-bottom: 40px;
}

.ls-eh-root *,
.ls-eh-root *::before,
.ls-eh-root *::after { box-sizing: border-box; }

.ls-eh-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ---------- é¡¶é¨ï¼å½åèè¯æ¨ªå¹ ---------- */
.ls-eh-hero {
    background: var(--eh-main);
    color: #fff;
    padding: 22px 0 24px;
}
.ls-eh-hero-in { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.ls-eh-crumb { font-size: 12.5px; opacity: .78; margin-bottom: 8px; }
.ls-eh-crumb a { color: #fff; text-decoration: none; }
.ls-eh-crumb a:hover { text-decoration: underline; }
.ls-eh-crumb span { margin: 0 6px; opacity: .6; }
.ls-eh-hero h1 { margin: 0 0 6px; font-size: 24px; line-height: 1.35; font-weight: 600; letter-spacing: .2px; }
.ls-eh-hero p { margin: 0; font-size: 13.5px; opacity: .82; }

.ls-eh-hero-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.ls-eh-chip {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff; font-size: 12.5px; line-height: 1;
    padding: 6px 11px; border-radius: 20px;
}

/* ---------- å¤§ç±»åæ¢æ¡ ---------- */
.ls-eh-tabs {
    background: var(--eh-card);
    border-bottom: 1px solid var(--eh-line);
    position: sticky; top: 0; z-index: 20;
}
.ls-eh-tabs-in {
    max-width: 1180px; margin: 0 auto; padding: 0 16px;
    display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.ls-eh-tabs-in::-webkit-scrollbar { height: 0; }
.ls-eh-tab {
    flex: 0 0 auto;
    padding: 14px 16px; font-size: 14.5px; font-weight: 500;
    color: var(--eh-text-2); text-decoration: none;
    border-bottom: 2px solid transparent; white-space: nowrap;
    transition: color .15s, border-color .15s;
}
.ls-eh-tab:hover { color: var(--eh-main); }
.ls-eh-tab.is-on { color: var(--eh-main); border-bottom-color: var(--eh-main); font-weight: 600; }
.ls-eh-tab b { font-weight: 600; }
.ls-eh-tab i {
    font-style: normal; font-size: 12px; margin-left: 5px;
    color: var(--eh-text-3);
}

/* ---------- åºåæ é¢ ---------- */
.ls-eh-sec { padding: 26px 0 4px; }
.ls-eh-sec-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ls-eh-sec-hd h2 { margin: 0; font-size: 17px; font-weight: 600; }
.ls-eh-sec-hd p { margin: 4px 0 0; font-size: 13px; color: var(--eh-text-3); }
.ls-eh-more { font-size: 13px; color: var(--eh-main); text-decoration: none; white-space: nowrap; }
.ls-eh-more:hover { text-decoration: underline; }

/* ---------- å¤§ç±»å¡çï¼é¦é¡µï¼ ---------- */
.ls-eh-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 8px; }
.ls-eh-gcard {
    background: var(--eh-card); border: 1px solid var(--eh-line);
    border-radius: var(--eh-r); padding: 20px; text-decoration: none; color: inherit;
    display: block; transition: box-shadow .16s, border-color .16s, transform .16s;
    border-top: 3px solid var(--gc, var(--eh-main));
}
.ls-eh-gcard:hover { box-shadow: var(--eh-shadow-h); border-color: var(--eh-line); transform: translateY(-2px); }
.ls-eh-gcard h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; color: var(--gc, var(--eh-main)); }
.ls-eh-gcard p { margin: 0 0 12px; font-size: 13px; color: var(--eh-text-2); line-height: 1.6; }
.ls-eh-gcard-ft { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--eh-text-3); }
.ls-eh-gcard-ft b { color: var(--eh-text); font-weight: 600; }

/* ---------- èè¯åè¡¨ ---------- */
.ls-eh-exams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ls-eh-exam {
    background: var(--eh-card); border: 1px solid var(--eh-line);
    border-radius: var(--eh-r); padding: 16px 17px;
    display: flex; flex-direction: column; min-height: 132px;
    transition: box-shadow .16s, border-color .16s;
}
.ls-eh-exam:hover { box-shadow: var(--eh-shadow-h); border-color: var(--eh-main); }
.ls-eh-exam-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ls-eh-exam h4 { margin: 0; font-size: 15.5px; font-weight: 600; }
.ls-eh-exam-n {
    flex: 0 0 auto; font-size: 12px; color: var(--eh-text-3);
    background: var(--eh-tint); border-radius: 10px; padding: 2px 8px; line-height: 1.7;
}
.ls-eh-exam p {
    margin: 7px 0 12px; font-size: 12.5px; color: var(--eh-text-2);
    line-height: 1.55; flex: 1 1 auto;
}
.ls-eh-exam-ft { display: flex; gap: 8px; }
.ls-eh-btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 34px; padding: 0 14px; border-radius: var(--eh-r-s);
    font-size: 13.5px; text-decoration: none; border: 1px solid transparent;
    cursor: pointer; transition: background .15s, border-color .15s, color .15s;
    font-family: inherit;
}
.ls-eh-btn-primary { background: var(--eh-main); color: #fff; }
.ls-eh-btn-primary:hover { filter: brightness(1.08); color: #fff; }
.ls-eh-btn-ghost { background: transparent; color: var(--eh-main); border-color: var(--eh-line); }
.ls-eh-btn-ghost:hover { border-color: var(--eh-main); background: var(--eh-tint); }
.ls-eh-btn[disabled],
.ls-eh-btn.is-off { opacity: .5; pointer-events: none; }

/* ---------- ç§ç®æ¨¡åï¼æèè¯å±å¼ï¼ ---------- */
.ls-eh-subj {
    background: var(--eh-card); border: 1px solid var(--eh-line);
    border-radius: var(--eh-r); margin-bottom: 12px; overflow: hidden;
}
.ls-eh-subj-hd {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 17px; border-bottom: 1px solid var(--eh-line-2);
    background: var(--eh-tint);
}
.ls-eh-subj-hd h4 { margin: 0; font-size: 15px; font-weight: 600; }
.ls-eh-subj-hd span { font-size: 12.5px; color: var(--eh-text-2); }
.ls-eh-subj-bd { padding: 12px 17px 15px; display: flex; flex-wrap: wrap; gap: 8px; }
.ls-eh-mod {
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid var(--eh-line); border-radius: 18px;
    padding: 6px 13px; font-size: 13px; color: var(--eh-text-2);
    text-decoration: none; background: var(--eh-card);
    transition: border-color .15s, color .15s, background .15s;
}
.ls-eh-mod:hover { border-color: var(--eh-main); color: var(--eh-main); background: var(--eh-tint); }
.ls-eh-mod b { font-weight: 600; color: var(--eh-text-3); font-size: 12px; }
.ls-eh-mod.is-empty b { color: #c2c8d0; }

/* ---------- ç©ºç¶æ ---------- */
.ls-eh-empty {
    background: var(--eh-card); border: 1px solid var(--eh-line);
    border-radius: var(--eh-r); padding: 34px 24px; text-align: center;
}
.ls-eh-empty b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.ls-eh-empty p { margin: 0 0 16px; font-size: 13.5px; color: var(--eh-text-2); }
.ls-eh-empty-acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- éç¨å°ä»¶ ---------- */
.ls-eh-tag {
    display: inline-block; font-size: 12px; line-height: 1.7;
    padding: 1px 8px; border-radius: 3px;
    background: var(--eh-tint); color: var(--eh-main);
}
.ls-eh-tag-ok { background: rgba(30, 142, 78, .1); color: var(--eh-ok); }
.ls-eh-tag-warn { background: rgba(184, 134, 11, .12); color: var(--eh-warn); }
.ls-eh-divider { height: 1px; background: var(--eh-line); margin: 22px 0; border: 0; }

/* ---------- ç§»å¨ç«¯ ---------- */
@media (max-width: 900px) {
    .ls-eh-exams { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .ls-eh-root { font-size: 14.5px; }
    .ls-eh-wrap { padding: 0 12px; }
    .ls-eh-hero { padding: 16px 0 18px; }
    .ls-eh-hero-in { padding: 0 12px; }
    .ls-eh-hero h1 { font-size: 20px; }
    .ls-eh-grid { grid-template-columns: 1fr; gap: 10px; }
    .ls-eh-gcard { padding: 16px; }
    .ls-eh-exams { grid-template-columns: 1fr; gap: 10px; }
    .ls-eh-exam { min-height: 0; }
    /* ç§»å¨ç«¯å¤§ç¹å»åº */
    .ls-eh-btn { height: 40px; padding: 0 16px; font-size: 14px; }
    .ls-eh-mod { padding: 8px 14px; font-size: 13.5px; }
    .ls-eh-tab { padding: 12px 13px; font-size: 14px; }
    .ls-eh-tabs-in { padding: 0 12px; }
}


/* ---- èªå¨æ¹éï¼æè²ä¸æ¸é¤å­é¢ background:#fffï¼åæ¨¡åç»ä¸ï¼ ---- */
html.dark-mode .ls-btn-ghost { background: #16202f !important; }
html.dark-mode .ls-chip { background: #16202f !important; }
html.dark-mode .ls-list-item { background: #16202f !important; }
html.dark-mode .ls-stat { background: #16202f !important; }
html.dark-mode .ls-input, html.dark-mode .ls-textarea, html.dark-mode .ls-select { background: #16202f !important; }
html.dark-mode #mobile-nav-dock.mobile-tab-bar { background: #16202f !important; }
html.dark-mode .sp-header { background: #16202f !important; }
html.dark-mode .sp-summary { background: #16202f !important; }
html.dark-mode .sp-summary-stat-outline { background: #16202f !important; }
html.dark-mode .sp-card { background: #16202f !important; }
html.dark-mode .sp-btn-fav { background: #16202f !important; }
html.dark-mode .sp-sidebar-card { background: #16202f !important; }
html.dark-mode .sp-r-card { background: #16202f !important; }
html.dark-mode .sp-footer-bar { background: #16202f !important; }
html.dark-mode .course-detail { background: #16202f !important; }
html.dark-mode .course-info-bar { background: #16202f !important; }
html.dark-mode .course-tabs { background: #16202f !important; }
html.dark-mode .course-section { background: #16202f !important; }
html.dark-mode .course-section .desc table { background: #16202f !important; }
html.dark-mode .feature-icon { background: #16202f !important; }
html.dark-mode .teacher-avatar { background: #16202f !important; }
html.dark-mode .chapter-dur { background: #16202f !important; }
html.dark-mode .cert-own-icon { background: #16202f !important; }
html.dark-mode .cert-card { background: #16202f !important; }
html.dark-mode .cert-card-icon { background: #16202f !important; }
html.dark-mode .course-buy { background: #16202f !important; }
html.dark-mode .course-detail .btn-outline { background: #16202f !important; }
html.dark-mode #cart-content { background: #16202f !important; }
html.dark-mode .lsj-btn-ghost { background: #16202f !important; }
html.dark-mode .lsj-search { background: #16202f !important; }
html.dark-mode .lsj-cat:hover { background: #16202f !important; }
html.dark-mode .lsj-cat-count { background: #16202f !important; }
html.dark-mode .lsj-chip { background: #16202f !important; }
html.dark-mode .lsj-cta a { background: #16202f !important; }
html.dark-mode .ls-kg-btn-danger { background: #16202f !important; }
html.dark-mode .dr-btn-ghost { background: #16202f !important; }
html.dark-mode .dr-btn-warn { background: #16202f !important; }
html.dark-mode .dr-btn-danger { background: #16202f !important; }
html.dark-mode .dr-topbar { background: #16202f !important; }
html.dark-mode .dr-hero { background: #16202f !important; }
html.dark-mode .dr-searchbar { background: #16202f !important; }
html.dark-mode .dr-stage-card { background: #16202f !important; }
html.dark-mode .dr-netdisk-card { background: #16202f !important; }
html.dark-mode .dr-chip { background: #16202f !important; }
html.dark-mode .dr-card { background: #16202f !important; }
html.dark-mode .dr-filters { background: #16202f !important; }
html.dark-mode .dr-select { background: #16202f !important; }
html.dark-mode .dr-pager button { background: #16202f !important; }
html.dark-mode .dr-tag { background: #16202f !important; }
html.dark-mode .dr-form-row input, html.dark-mode .dr-form-row select, html.dark-mode .dr-form-row textarea, html.dark-mode .dr-form textarea { background: #16202f !important; }
html.dark-mode .dr-points-hero-main .dr-btn-primary { background: #16202f !important; }
html.dark-mode .dr-task-item { background: #16202f !important; }
html.dark-mode .dr-invite-row input { background: #16202f !important; }
html.dark-mode .dr-pkg-card { background: #16202f !important; }
html.dark-mode .dr-order-item { background: #16202f !important; }
html.dark-mode .dr-tab { background: #16202f !important; }
html.dark-mode .dr-list-row { background: #16202f !important; }
html.dark-mode .dr-cash-box { background: #16202f !important; }
html.dark-mode .dr-modal-panel { background: #16202f !important; }
html.dark-mode .dr-admin-row { background: #16202f !important; }
html.dark-mode .opc-card { background: #16202f !important; }
html.dark-mode .opc-stat { background: #16202f !important; }
html.dark-mode .opc-tier { background: #16202f !important; }
html.dark-mode .opc-tier .opc-tier-btn { background: #16202f !important; }
html.dark-mode .opc-field input, html.dark-mode .opc-field textarea, html.dark-mode .opc-field select { background: #16202f !important; }
html.dark-mode .opc-btn.ghost { background: #16202f !important; }
html.dark-mode .opc-btn.danger { background: #16202f !important; }
html.dark-mode .opc-qr { background: #16202f !important; }
html.dark-mode .opc-ai-scene { background: #16202f !important; }
html.dark-mode .opc-proj-row { background: #16202f !important; }
html.dark-mode .ls-ops-oa-card { background: #16202f !important; }
html.dark-mode .ls-ops-oa-kpi { background: #16202f !important; }
html.dark-mode .ls-ops-oa-dashboard .ls-dashboard-grid { background: #16202f !important; }
html.dark-mode .ls-ops-oa-dashboard .ls-dash-card { background: #16202f !important; }
html.dark-mode .ls-pa-tabs { background: #16202f !important; }
html.dark-mode .ls-pa-toolbar { background: #16202f !important; }
html.dark-mode .ls-pa-input { background: #16202f !important; }
html.dark-mode .ls-pa-bulk-inline { background: #16202f !important; }
html.dark-mode .ls-pa-list { background: #16202f !important; }
html.dark-mode .ls-pa-pager { background: #16202f !important; }
html.dark-mode .ls-pa-pager-link { background: #16202f !important; }
html.dark-mode .ls-pa-modal-box { background: #16202f !important; }
html.dark-mode .ls-reports-filter { background: #16202f !important; }
html.dark-mode .ls-reports-field input[type="date"], html.dark-mode .ls-reports-field select { background: #16202f !important; }
html.dark-mode .ls-reports-preset { background: #16202f !important; }
html.dark-mode .ls-reports-stat { background: #16202f !important; }
html.dark-mode .ls-reports-panel { background: #16202f !important; }
html.dark-mode .ls-school-card { background: #16202f !important; }
html.dark-mode .ls-school-modcard { background: #16202f !important; }
html.dark-mode .ls-school-card input[type=text], html.dark-mode .ls-school-card input[type=date], html.dark-mode .ls-school-card input[type=datetime-local], html.dark-mode .ls-school-card textarea, html.dark-mode .ls-school-card select { background: #16202f !important; }
html.dark-mode .ls-school-notice-item { background: #16202f !important; }
html.dark-mode .ls-school-filter__btn { background: #16202f !important; }
html.dark-mode .ls-ov-modal { background: #16202f !important; }
html.dark-mode .ls-ov-checkin-btn { background: #16202f !important; }
html.dark-mode .ls-ov-btn-outline { background: #16202f !important; }
html.dark-mode .wk-hero { background: #16202f !important; }
html.dark-mode .wk-searchbar { background: #16202f !important; }
html.dark-mode .wk-task { background: #16202f !important; }
html.dark-mode .wk-worker { background: #16202f !important; }
html.dark-mode .wk-btn-outline { background: #16202f !important; }
html.dark-mode .wk-input, html.dark-mode .wk-textarea, html.dark-mode .wk-select { background: #16202f !important; }
html.dark-mode .wk-detail-head { background: #16202f !important; }
html.dark-mode .wk-tl-dot { background: #16202f !important; }
html.dark-mode .wk-ms-card { background: #16202f !important; }
html.dark-mode .wk-app-item { background: #16202f !important; }
html.dark-mode .wk-stat { background: #16202f !important; }
html.dark-mode .wk-pager a, html.dark-mode .wk-pager span { background: #16202f !important; }
html.dark-mode .wk-modal-box { background: #16202f !important; }
html.dark-mode .wk-modal-head { background: #16202f !important; }
html.dark-mode .wk-modal-foot { background: #16202f !important; }
html.dark-mode .wk-zone-card { background: #16202f !important; }
html.dark-mode .ls-dashboard-section { background: #16202f !important; }
html.dark-mode .ls-dashboard-grid { background: #16202f !important; }
html.dark-mode .ls-dash-card { background: #16202f !important; }
html.dark-mode .ls-stat-card { background: #16202f !important; }
html.dark-mode .ls-modal-box { background: #16202f !important; }
html.dark-mode .ls-admin-table { background: #16202f !important; }
html.dark-mode .ls-edu-card, html.dark-mode .ls-skill-card, html.dark-mode .ls-shop-card { background: #16202f !important; }
html.dark-mode .ls-option-field { background: #16202f !important; }
html.dark-mode .edu-card { background: #16202f !important; }
html.dark-mode .edu-item { background: #16202f !important; }
html.dark-mode .shop-card-admin { background: #16202f !important; }
html.dark-mode .stat-item { background: #16202f !important; }
html.dark-mode .product-item { background: #16202f !important; }
html.dark-mode .skill-card { background: #16202f !important; }
html.dark-mode .skill-item { background: #16202f !important; }
html.dark-mode .ls-role-welcome { background: #16202f !important; }
html.dark-mode .ls-role-card { background: #16202f !important; }
html.dark-mode body.login #loginform, html.dark-mode body.login #lostpasswordform, html.dark-mode body.login #registerform, html.dark-mode body.login #resetpassform { background: #16202f !important; }
html.dark-mode body.login .input, html.dark-mode body.login input[type="text"], html.dark-mode body.login input[type="password"], html.dark-mode body.login input[type="email"] { background: #16202f !important; }
html.dark-mode body.login .message, html.dark-mode body.login #login_error, html.dark-mode body.login .success { background: #16202f !important; }
html.dark-mode .ls-dashboard-unified { background: #16202f !important; }
html.dark-mode .ls-unified-alert { background: #16202f !important; }
html.dark-mode .ls-unified-grid .ls-dash-card { background: #16202f !important; }
html.dark-mode .ls-theme-options-wrap .ls-to-section { background: #16202f !important; }
html.dark-mode .ls-theme-options-wrap .ls-option-field input[type="text"], html.dark-mode .ls-theme-options-wrap .ls-option-field input[type="url"], html.dark-mode .ls-theme-options-wrap .ls-option-field input[type="number"], html.dark-mode .ls-theme-options-wrap .ls-option-field input[type="password"], html.dark-mode .ls-theme-options-wrap .ls-option-field input[type="time"], html.dark-mode .ls-theme-options-wrap .ls-option-field textarea, html.dark-mode .ls-theme-options-wrap .ls-option-field select { background: #16202f !important; }
html.dark-mode .ls-theme-options-wrap .ls-ops-provider { background: #16202f !important; }
html.dark-mode .ls-dash-section { background: #16202f !important; }
html.dark-mode .ls-dash-grid { background: #16202f !important; }
html.dark-mode .aoi-sub { background: #16202f !important; }
html.dark-mode .aoi-room { background: #16202f !important; }
html.dark-mode body.login #login { background: #16202f !important; }
html.dark-mode body.login .input, html.dark-mode body.login input[type="text"], html.dark-mode body.login input[type="password"] { background: #16202f !important; }


/* ============================================================
   ==== æè²è¡¥ä¸ 4ï¼åçå®åºåç½åå + æ¿æ´»ææ¢å¤ ====
   æ¬åå»ææ¾å¨èªå¨æ¹éæè²åï¼background:#16202f !importantï¼ä¹åï¼
   ä»¥ä¿è¯ç­ç¹å¼æ§æ¶æ¬åèåºï¼å¨é¨å¸¦ !important åè¿æ¹éåã
   ============================================================ */

/* ---- 4.1 åçå®åº + åç½å­ï¼æµè²ä¸æ¯ #1B4A77/#0E2A47ï¼æè²ä¸ä¸»è²å·²æ¹äº®ï¼----
   :root æ --kg/--wk/--mk/--lsj/--dr/--ao/--ai/--ach/--ov/--tn/--sd ä¸»è²
   éå®åå° --ls-navy/--ls-blueï¼æè²ä¸ä¸¤èå·²æäº®ä»¥ä¾¿æå­å¯è¯»ï¼
   äºæ¯"å®åºåç½"çæ§ä»¶ä¼éåææµåºç½å­ãè¿éç»ä¸ååå° #2563ebï¼
   ç½å­ 5.2:1ï¼åå¨ #16202f å¡çä¸ 3.1:1ã */
html.dark-mode .ls-btn-primary,
html.dark-mode .lsj-btn-solid,
html.dark-mode .lsj-chip.is-active,
html.dark-mode .lsj-cta--alt a,
html.dark-mode .lsj-page.is-active,
html.dark-mode .lsj-search button,
html.dark-mode .lsj-cat.is-active,
html.dark-mode .lsj-verified,
html.dark-mode .dr-btn-primary,
html.dark-mode .dr-chip.active,
html.dark-mode .dr-fab a,
html.dark-mode .dr-pager button.active,
html.dark-mode .dr-tab.active,
html.dark-mode .ao-btn,
html.dark-mode .ao-btn-primary,
html.dark-mode .ao-rank-no,
html.dark-mode .mk-btn-primary,
html.dark-mode .mk-nav .mk-btn-publish,
html.dark-mode .mk-tradein-step h3 .num,
html.dark-mode .mk-toast.success,
html.dark-mode .ls-ov-btn-primary,
html.dark-mode .ls-ov-modal-save,
html.dark-mode .ls-ov-profile-edit-btn,
html.dark-mode .wk-chip.active,
html.dark-mode .wk-msg.is-self .wk-msg-bubble,
html.dark-mode .wk-ms-seq,
html.dark-mode .wk-pager .current,
html.dark-mode .ls-kg-btn-primary,
html.dark-mode .ls-kg-filter-opts a.is-on,
html.dark-mode .ls-kg-opt.is-picked .ls-kg-opt-key,
html.dark-mode .ls-kg-pager .current,
html.dark-mode .ls-kg-sheet .is-answered,
html.dark-mode .ls-school-filter__btn.is-active,
html.dark-mode .ls-pa-pager-link.active,
html.dark-mode .ls-reports-preset.active,
html.dark-mode .opc-ai-scene.active,
html.dark-mode .opc-tier.hot .opc-tier-btn {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #fff !important;
}

/* æ¬åæåæ·±ä¸æ¡£ */
html.dark-mode .ls-btn-primary:hover,
html.dark-mode .ls-route .hover\:bg-gray-800:hover,
html.dark-mode .lsj-btn-solid:hover,
html.dark-mode .dr-btn-primary:hover,
html.dark-mode .ao-btn:hover,
html.dark-mode .ao-btn-primary:hover,
html.dark-mode .ls-kg-btn-primary:hover,
html.dark-mode .ls-school-filter__btn.is-active:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #fff !important;
}

/* .ls-route éè¢«æ¹æåçèçå·¥å·ç±»åºè²ï¼æå­æ²¿ç¨ text-whiteï¼ */
html.dark-mode .ls-route .bg-blue-600,
html.dark-mode .ls-route .bg-purple-600 { background-color: #2563eb !important; }
html.dark-mode .ls-route .hover\:bg-gray-900:hover { background-color: #2563eb !important; }

/* éè²æé®ï¼éåº + åçæ·±èå­ï¼æè²ä¸ --ls-navy å·²æäº®ï¼æå­å¿é¡»ååæ·±è² */
html.dark-mode .ls-btn-gold,
html.dark-mode .ls-btn-gold:hover { color: #131c2b !important; }

/* èå¬å¤§åé¢ï¼hero / é¡¶æ  / åæ°å¡ç¨ç¨æ·±çèï¼ç½å­æ´ç¨³ */
html.dark-mode .ls-kg-hero,
html.dark-mode .ls-kg-nav,
html.dark-mode .ls-kg-score-card,
html.dark-mode .ls-kg-exam-bar {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #fff !important;
}

/* æèåç±»è®¡æ°æ°æ³¡ï¼åä¸ºç½åºèå­ï¼æè²ä¸å¿é¡»åç¸ */
html.dark-mode .lsj-cat.is-active .lsj-cat-count {
    background: rgba(0, 0, 0, .3) !important;
    color: #fff !important;
}

/* ---- 4.2 æ¿æ´»/å®ææè¢«æ¹éåæ¹å¹³çåå ---- */
html.dark-mode .wk-ms-card.is-paid {
    background: #0f2e25 !important;
    border-color: #1d5c3f !important;
}
html.dark-mode .wk-tl-item.done .wk-tl-dot {
    background: var(--wk-success) !important;
    border-color: var(--wk-success) !important;
}

