/* ETCA 自定义样式 */
@import url('https://cdn.jsdelivr.net/npm/qweather-icons@1.3.0/font/qweather-icons.css');

/* 页面背景图片 - 左下角显示SJZC logo */
body::before {
  content: '';
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 300px;
  height: 300px;
  background-image: url('/imgs/SJZClogo.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.2; /* 提高透明度，使logo更明显 */
  pointer-events: none; /* 确保不会影响页面交互 */
  z-index: -1; /* 放在内容后面 */
}

/* 在移动设备上调整logo大小 */
@media (max-width: 768px) {
  body::before {
    width: 150px;
    height: 150px;
    bottom: 10px;
    left: 10px;
  }
}

/* 确保logo在暗色模式下也能正常显示 */
[data-theme="dark"] body::before {
  opacity: 0.15; /* 暗色模式下提高透明度 */
}

/* 为不同页面模式调整logo位置 */
.scheme-gemini body::before {
  bottom: 30px;
  left: 30px;
}

.scheme-muse body::before,
.scheme-mist body::before {
  bottom: 20px;
  left: 20px;
}

.scheme-pisces body::before {
  bottom: 25px;
  left: 25px;
}

/* Sidebar weather item */
.siteinfo-weather .item-count {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.siteinfo-weather .weather-temp {
  font-variant-numeric: tabular-nums;
}

.siteinfo-weather .weather-qicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.13rem;
  height: 1.5rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-color);
}
