/* glncn.eth.vc 三份材料的切换条：每个页面顶部中间一条，当前页高亮。 */
.gl-switch { position: fixed; top: 10px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; gap: 2px; padding: 3px; background: rgba(255, 255, 255, .95); border: 1px solid #d5d8d8; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); font: 14px/1 "Microsoft YaHei UI", "Microsoft YaHei", "DengXian", "PingFang SC", sans-serif; }
.gl-switch a { display: flex; align-items: center; gap: 7px; padding: 8px 14px; color: #161616; text-decoration: none; white-space: nowrap; }
.gl-switch a b { font: 700 12px Arial, sans-serif; color: #e04432; }
.gl-switch a:hover { background: #f3f5f5; }
.gl-switch a:focus-visible { outline: 2px solid #e04432; outline-offset: -2px; }
.gl-switch a[aria-current="page"] { background: #161616; color: #fff; }
.gl-switch a[aria-current="page"] b { color: #ff8a7a; }
@media (max-width: 520px) { .gl-switch a { padding: 8px 9px; font-size: 12px; } }
/* 手机和平板的连续阅读：切换条固定在顶部，页面顶部留出位置，避免盖住页眉 */
@media (max-width: 900px) {
  .gl-switch { left: 8px; right: 8px; transform: none; justify-content: center; top: 6px; }
  .gl-switch a { flex: 1 1 0; justify-content: center; padding: 9px 4px; }
  body.has-gl-switch { padding-top: 52px; }
}
