/* ===== 信息栏 ===== */
.info-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  height: 36px;
  background: linear-gradient(135deg, #f0f9f4 0%, #ecf8f2 100%);
  border-bottom: 1px solid #dcebe3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  font-size: 12px;
  color: #6b7280;
  gap: 16px;
  overflow: hidden;
  white-space: nowrap;
  transition: height 0.3s ease, padding 0.3s ease;
}
.info-bar.expanded {
  height: auto;
  white-space: normal;
  flex-wrap: wrap;
  padding: 6px 24px;
}
.ib-left, .ib-right {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ib-date { font-weight: 600; color: #4b5563; }
.ib-lunar { color: #9ca3af; }
.ib-weather { color: #4b5563; font-weight: 500; }
.ib-temp { color: #9ca3af; }
.ib-wind { color: #9ca3af; }
.ib-forecast { color: #9ca3af; display: flex; gap: 6px; align-items: center; }
.ib-forecast-day { white-space: nowrap; }
.ib-tip { color: #d97706; }
.ib-loading { color: #9ca3af; }
.ib-err { color: #d97706; }

/* ===== 导航栏下移 36px ===== */
.navbar { top: 36px !important; }

/* ===== 页面内容下移 36px ===== */
.hero { padding-top: 176px !important; }
.page-header { padding-top: 176px !important; }
.calc-page { padding-top: 156px !important; }

/* ===== 移动端 ===== */
@media (max-width: 768px) {
  .info-bar {
    padding: 0 12px;
    font-size: 11px;
    gap: 8px;
    cursor: pointer;
    height: 36px;
    overflow: hidden;
  }
  .ib-lunar, .ib-wind, .ib-forecast, .ib-temp, .ib-tip {
    display: none;
  }
  .info-bar.expanded {
    height: auto;
    white-space: normal;
    flex-wrap: wrap;
    padding: 6px 12px;
  }
  .info-bar.expanded .ib-left,
  .info-bar.expanded .ib-right {
    flex-wrap: wrap;
    gap: 6px;
  }
  .info-bar.expanded .ib-lunar,
  .info-bar.expanded .ib-wind,
  .info-bar.expanded .ib-forecast,
  .info-bar.expanded .ib-temp,
  .info-bar.expanded .ib-tip {
    display: flex;
  }
}
@media (max-width: 600px) {
  .calc-page { padding-top: 136px !important; }
}
