/* Background image override - 兼容旧版浏览器 */
#background {
  background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)), url('/images/background.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  z-index: 0 !important;
}

/* 顶部信息栏白底毛玻璃（不改变原有布局） */
#information-widgets {
  background-color: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  border: none !important;
}

/* 服务卡片白底毛玻璃效果（无边框） */
.service-card,
.bookmark-list a {
  background-color: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  border: none !important;
}

/* 分组标题透明 */
.service-group-name,
.bookmark-group-name {
  opacity: 0.9;
}

/* 搜索输入框灰底透明 */
#information-widgets-right input {
  background-color: rgba(128, 128, 128, 0.4) !important;
  color: #fff !important;
}

/* 全部文本强制白色 */
body, .service-card, .bookmark-list a, .service-name, .bookmark-name,
.service-description, .bookmark-description, .service-group-name,
.bookmark-group-name, .information-widget-resource,
#information-widgets, h1, h2, h3, h4, h5, h6, p, span, a, li, div {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* 书签一行三个分类 */
#bookmarks > div {
  flex: 0 0 calc(100% / 3) !important;
  max-width: calc(100% / 3) !important;
}
