  
  #a11y-entrance-btn {
    position: fixed; top: 15px; right: 20px; z-index: 9999999;
    background: #0078d7; color: #fff; border: 2px solid #fff; padding: 8px 16px;
    font-size: 14px; font-weight: bold; border-radius: 4px; cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3); transition: background 0.2s;
  }
  #a11y-entrance-btn:hover { background: #005a9e; }
  #a11y-entrance-btn.active { background: #e06c00; } 

  /* ================= 2. 工具栏 UI 样式 ================= */
  #a11y-toolbar {
    position: fixed; top: 0; left: 0; width: 100%; background: #333; color: #fff;
    display: none; /* 由 JS 决定是否显示 */
    align-items: center; padding: 10px 20px; box-sizing: border-box;
    z-index: 999998; box-shadow: 0 2px 8px rgba(0,0,0,0.5); transition: top 0.3s;
  }
  #a11y-toolbar.unpinned { position: absolute; } /* 默认不固定时（绝对定位，随页面滚动） */
  
  .a11y-badge { 
    background: #0078d7; padding: 6px 16px; border-radius: 20px; border: 2px solid #fff; 
    margin-right: 20px; text-align: center; font-weight: bold; font-size: 14px; line-height: 1.2;
  }
  .a11y-btn-group { display: flex; gap: 8px; flex-wrap: wrap; }
  .a11y-btn {
    background: #eee; color: #333; border: none; padding: 8px 10px; border-radius: 4px;
    cursor: pointer; font-size: 13px; font-weight: bold; min-width: 60px; transition: 0.2s;
  }
  .a11y-btn:hover { background: #ddd; }
  .a11y-btn.active { background: #ff9800; color: #fff; }
  .a11y-btn.active-blue { background: #004b91; color: #fff; }
  .a11y-btn.active-red { background: #d32f2f; color: #fff; }

  /* ================= 3. 无障碍功能注入样式 ================= */
  body.a11y-theme-contrast { background-color: #000 !important; color: #ff0 !important; }
  body.a11y-theme-contrast * { background-color: #000 !important; color: #ff0 !important; border-color: #ff0 !important; }
  
  body.a11y-large-cursor, body.a11y-large-cursor * { cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="black" stroke="white" stroke-width="2" d="M7 2l12 11.2h-5.8l3.3 7.3-2.2.9-3.2-7.4-4.4 4.8z"/></svg>'), auto !important; }

  #a11y-crosshair-x, #a11y-crosshair-y { position: fixed; background: red; z-index: 999997; pointer-events: none; display: none; }
  #a11y-crosshair-x { width: 100%; height: 2px; left: 0; }
  #a11y-crosshair-y { width: 2px; height: 100%; top: 0; }
  body.a11y-crosshair-active #a11y-crosshair-x, body.a11y-crosshair-active #a11y-crosshair-y { display: block; }

  #a11y-reading-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 999996; display: none; box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.6); }
  body.a11y-readmode-active #a11y-reading-mask { display: block; }

  #a11y-subtitle { position: fixed; bottom: 5%; left: 10%; width: 80%; background: rgba(0,0,0,0.85); color: #ffeb3b; font-size: 36px; padding: 20px; text-align: center; z-index: 999999; border-radius: 10px; display: none; pointer-events: none; }
  body.a11y-subtitle-active #a11y-subtitle { display: block; }

  #a11y-help-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; color: #333; padding: 30px; border-radius: 8px; z-index: 9999999; box-shadow: 0 4px 20px rgba(0,0,0,0.5); display: none; width: 400px; }
  #a11y-help-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 9999998; display: none; }

  /* 测试内容区样式 */
  .content-wrapper { padding: 40px; transform-origin: top left; transition: transform 0.2s; max-width: 800px; margin: 80px auto 0; line-height: 1.8; }
  .spacer { height: 600px; background: #f9f9f9; padding: 20px; border-top: 1px dashed #ccc; margin-top: 40px; }







  /* 屏幕宽度小于768px（手机端）隐藏 */
@media screen and (max-width: 767px) {
  .xinkemobileppc {
    display: none !important;
  }
}




