/**
 * 导航页面样式
 */

/* 搜索区域 */
.search-area {
  min-height: auto;
  padding: 40px 0 10px;
  overflow-x: hidden;
  background: var(--bg-oxford-blue);
  position: relative;
}

.search-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(52, 152, 219, 0.05) 0%, transparent 70%);
}

.search-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  padding: 15px;
}

.search-content {
  display: grid;
  grid-template-rows: auto auto;
  gap: 15px;
  height: auto;
}

.search-box {
  width: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(52, 152, 219, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.search-input {
  width: 100%;
  padding: 12px 18px;
  border: 2px solid rgba(52, 152, 219, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  font-size: var(--fs-6);
  margin-bottom: 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.search-input:focus {
  outline: none;
  border-color: var(--bg-carolina-blue);
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
  background: rgba(255, 255, 255, 0.1);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-engines {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.search-engine-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid rgba(52, 152, 219, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-columbia-blue);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.search-engine-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(52, 152, 219, 0.1),
    transparent
  );
  transition: 0.5s;
}

.search-engine-btn:hover::before {
  left: 100%;
}

.search-engine-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--bg-carolina-blue);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.engine-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

.search-engine-btn:hover .engine-icon {
  transform: scale(1.1);
}

/* 网站导航部分 */
.nav-sites {
  padding: 20px 0;
  margin-top: 10px;
  background: var(--bg-oxford-blue);
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: var(--fs-5);
  margin-bottom: 8px;
  padding: 0 15px;
  color: var(--text-white);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 15px;
  right: 15px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bg-carolina-blue), transparent);
}

.sites-grid {
  display: grid;
  gap: 10px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px;
}

.site-category {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(52, 152, 219, 0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.category-title {
  color: var(--text-white);
  font-size: var(--fs-5);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(52, 152, 219, 0.2);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.site-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(45px, 1fr));
  gap: 6px;
}

.site-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid rgba(52, 152, 219, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.site-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
  transition: 0.5s;
}

.site-card:hover::before {
  left: 100%;
}

.site-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-color: var(--bg-carolina-blue);
  background: rgba(255, 255, 255, 0.1);
}

.site-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 4px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.site-card:hover .site-icon {
  transform: scale(1.15);
}

.site-name {
  color: var(--text-columbia-blue);
  font-size: var(--fs-8);
  text-align: center;
  transition: all 0.3s ease;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  padding: 0 2px;
}

.site-card:hover .site-name {
  color: var(--text-white);
  transform: scale(1.05);
}

/* 金融信息部分 */
.finance-info {
  padding: 10px 0;
  background: var(--bg-oxford-blue-2);
  position: relative;
}

.finance-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(52, 152, 219, 0.05) 0%, transparent 70%);
}

.finance-grid {
  display: grid;
  gap: 10px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 10px;
  position: relative;
}

.finance-category {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(52, 152, 219, 0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.finance-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.finance-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, 1fr);
}

.finance-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid rgba(52, 152, 219, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.finance-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
  transition: 0.5s;
}

.finance-item:hover::before {
  left: 100%;
}

.finance-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--bg-carolina-blue);
}

.finance-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.finance-name {
  color: var(--text-white);
  font-size: var(--fs-7);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.finance-code {
  color: var(--text-columbia-blue);
  font-size: var(--fs-8);
  opacity: 0.8;
}

.finance-data {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.finance-value {
  color: var(--text-white);
  font-size: var(--fs-7);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.finance-change {
  font-size: var(--fs-8);
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.finance-change.up {
  color: #4CAF50;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.finance-change.down {
  color: #f44336;
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.2);
}

.finance-item:hover .finance-change {
  transform: scale(1.05);
}

/* 响应式布局 */
@media (min-width: 992px) {
  .sites-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .finance-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .site-list {
    grid-template-columns: repeat(auto-fit, minmax(45px, 1fr));
    gap: 6px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .sites-grid,
  .finance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .site-list {
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
    gap: 4px;
  }
}

@media (max-width: 767px) {
  .site-category,
  .finance-category {
    padding: 8px;
  }

  .site-list {
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
    gap: 4px;
  }

  .site-card {
    padding: 6px 3px;
  }

  .site-icon {
    width: 18px;
    height: 18px;
    margin-bottom: 3px;
  }
  
  .finance-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  
  .finance-item {
    padding: 8px 12px;
  }

  .finance-name {
    font-size: var(--fs-8);
  }

  .finance-code {
    font-size: calc(var(--fs-8) - 1px);
  }

  .finance-value {
    font-size: var(--fs-8);
  }

  .finance-change {
    font-size: calc(var(--fs-8) - 1px);
    padding: 1px 4px;
  }
}

@media (max-width: 480px) {
  .finance-list {
    gap: 4px;
  }
  
  .finance-item {
    padding: 6px 10px;
  }

  .finance-name {
    font-size: calc(var(--fs-8) - 1px);
  }

  .finance-code {
    font-size: calc(var(--fs-8) - 2px);
  }

  .finance-value {
    font-size: calc(var(--fs-8) - 1px);
  }

  .finance-change {
    font-size: calc(var(--fs-8) - 2px);
    padding: 1px 3px;
  }
}

.calendar-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(52, 152, 219, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 380px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid rgba(52, 152, 219, 0.1);
}

.calendar-nav-btn {
  background: none;
  border: none;
  color: var(--text-columbia-blue);
  cursor: pointer;
  padding: 5px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.calendar-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

.current-date {
  color: var(--text-white);
  font-size: var(--fs-6);
  font-weight: 500;
}

.calendar-body {
  flex: 1;
  padding: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  color: var(--text-columbia-blue);
  font-size: var(--fs-7);
  padding: 10px 0;
  border-bottom: 1px solid rgba(52, 152, 219, 0.1);
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  padding: 10px 0;
  flex: 1;
  min-height: 0;
  grid-template-rows: repeat(6, 1fr);
}

.calendar-day {
  position: relative;
  min-height: 32px;
  padding: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  overflow: visible;
  z-index: 1;
}

.calendar-day:hover {
  z-index: 2;
}

.calendar-day.today {
  background: rgba(52, 152, 219, 0.2);
  font-weight: 500;
}

.calendar-day.holiday {
  color: var(--text-white);
  position: relative;
}

.calendar-day.holiday-cn {
  background: rgba(244, 67, 54, 0.1);
}

.calendar-day.holiday-jp {
  background: rgba(63, 81, 181, 0.1);
}

.calendar-day.holiday-both {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.holiday-both .holiday-label {
  background: rgba(255, 215, 0, 0.2);
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.4);
}

.holiday-label {
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 10px;
  padding: 1px 3px;
  border-radius: 2px;
  line-height: 1;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

.holiday-cn .holiday-label {
  background: rgba(244, 67, 54, 0.15);
  color: #ff4d4f;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.holiday-jp .holiday-label {
  background: rgba(63, 81, 181, 0.15);
  color: #597ef7;
  border: 1px solid rgba(63, 81, 181, 0.3);
}

.holiday-both .holiday-label {
  background: rgba(255, 215, 0, 0.2);
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.4);
}

/* 调休工作日标签样式 */
.calendar-day .holiday-label:not(.holiday-cn .holiday-label, .holiday-jp .holiday-label, .holiday-both .holiday-label) {
  background: rgba(128, 128, 128, 0.15);
  color: #999999;
  border: 1px solid rgba(128, 128, 128, 0.3);
}

.calendar-day.workday {
  background: rgba(128, 128, 128, 0.15);
  color: #999999;
}

.calendar-day.workday:hover {
  background: rgba(128, 128, 128, 0.25);
}

.calendar-day.workday.other-month {
  background: rgba(128, 128, 128, 0.1);
  opacity: 0.75;
}

.calendar-day.workday.other-month:hover {
  background: rgba(128, 128, 128, 0.2);
  opacity: 0.9;
}

.holiday-tooltip {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: var(--fs-8);
  white-space: nowrap;
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 200px;
  width: max-content;
}

.holiday-tooltip.top {
  bottom: calc(100% + 5px);
}

.holiday-tooltip.bottom {
  top: calc(100% + 5px);
}

.holiday-tooltip.top::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.85);
}

.holiday-tooltip.bottom::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.85);
}

.calendar-day.other-month {
  background: rgba(40, 44, 52, 0.35);
  color: var(--text-white);
  opacity: 0.75;
}

.calendar-day.other-month .holiday-label {
  opacity: 0.85;
}

.calendar-day.other-month.holiday-cn {
  background: rgba(40, 44, 52, 0.35);
  border: 1px solid rgba(244, 67, 54, 0.15);
}

.calendar-day.other-month.holiday-jp {
  background: rgba(40, 44, 52, 0.35);
  border: 1px solid rgba(63, 81, 181, 0.15);
}

.calendar-day.other-month.holiday-both {
  background: rgba(40, 44, 52, 0.35);
  border: 1px solid rgba(255, 215, 0, 0.15);
}

.calendar-day.other-month:hover {
  background: rgba(52, 56, 64, 0.5);
  opacity: 0.9;
}

.calendar-day.other-month.holiday-cn:hover {
  background: rgba(52, 56, 64, 0.5);
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.calendar-day.other-month.holiday-jp:hover {
  background: rgba(52, 56, 64, 0.5);
  border: 1px solid rgba(63, 81, 181, 0.3);
}

.calendar-day.other-month.holiday-both:hover {
  background: rgba(52, 56, 64, 0.5);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.calendar-footer {
  padding: 10px;
  text-align: center;
  border-top: 1px solid rgba(52, 152, 219, 0.1);
}

.today-btn {
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.2);
  color: var(--text-columbia-blue);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.today-btn:hover {
  background: rgba(52, 152, 219, 0.2);
  color: var(--text-white);
}

/* 响应式布局调整 */
@media (max-width: 991px) {
  .search-area {
    padding: 50px 0 15px;
  }

  .search-wrapper {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 10px;
  }
  
  .search-content {
    height: auto;
    gap: 15px;
  }

  .weather-wrapper,
  .search-box {
    height: auto;
    min-height: 100px;
    max-height: none;
  }

  .calendar-box {
    height: 360px;
    margin-bottom: 15px;
  }

  .weather-forecast {
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
  }

  .weather-day {
    min-width: 60px;
    padding: 8px 4px;
  }

  .calendar-header {
    padding: 10px;
  }

  .calendar-body {
    padding: 8px;
  }

  .calendar-weekdays {
    padding: 8px 0;
  }

  .calendar-days {
    padding: 8px 0;
    gap: 4px;
    height: calc(100% - 36px);
  }

  .calendar-day {
    height: 28px;
    font-size: var(--fs-8);
  }

  .calendar-footer {
    padding: 8px;
  }
}

@media (max-width: 767px) {
  .search-area {
    padding: 45px 0 10px;
  }

  .search-wrapper {
    padding: 8px;
    gap: 10px;
  }

  .search-content {
    gap: 10px;
  }

  .weather-wrapper,
  .search-box {
    padding: 10px;
    min-height: 90px;
  }

  .calendar-box {
    height: 340px;
  }

  .weather-forecast {
    gap: 5px;
  }

  .weather-day {
    min-width: 50px;
    padding: 5px 2px;
  }

  .calendar-header {
    padding: 8px;
  }

  .calendar-body {
    padding: 6px;
  }

  .calendar-weekdays {
    padding: 6px 0;
  }

  .calendar-days {
    padding: 6px 0;
    gap: 3px;
    height: calc(100% - 32px);
  }

  .calendar-day {
    height: 26px;
  }

  .calendar-footer {
    padding: 6px;
  }
}

@media (max-width: 480px) {
  .search-area {
    padding: 40px 0 8px;
  }

  .search-wrapper {
    padding: 5px;
    gap: 8px;
  }

  .weather-wrapper,
  .search-box {
    padding: 8px;
    min-height: 80px;
  }

  .calendar-box {
    height: 320px;
  }

  .weather-forecast {
    gap: 4px;
  }

  .weather-day {
    min-width: 45px;
    padding: 4px 2px;
  }

  .weather-icon {
    width: 16px;
    height: 16px;
    margin: 1px auto;
  }

  .weather-temp,
  .weather-date {
    font-size: calc(var(--fs-8) - 2px);
    margin-bottom: 1px;
  }

  .calendar-header {
    padding: 6px;
  }

  .calendar-body {
    padding: 4px;
  }

  .calendar-weekdays {
    padding: 4px 0;
    font-size: var(--fs-8);
  }

  .calendar-days {
    padding: 4px 0;
    gap: 2px;
    height: calc(100% - 28px);
  }

  .calendar-day {
    height: 24px;
    font-size: calc(var(--fs-8) - 1px);
  }

  .calendar-footer {
    padding: 4px;
  }

  .today-btn {
    padding: 4px 10px;
    font-size: var(--fs-8);
  }
}

/* 复滚动问题 */
body {
  overflow-x: hidden;
}

.weather-wrapper,
.search-box,
.calendar-box {
  max-width: 100%;
}

.weather-forecast::-webkit-scrollbar {
  height: 4px;
}

.weather-forecast::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}

.weather-forecast::-webkit-scrollbar-thumb {
  background: rgba(52, 152, 219, 0.2);
  border-radius: 2px;
}

/* 天气预报区域 */
.weather-area {
  padding: 20px 0;
  background: var(--bg-oxford-blue);
  position: relative;
}

.weather-wrapper {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(52, 152, 219, 0.1);
  backdrop-filter: blur(10px);
  height: 175px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.weather-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-white);
  font-size: var(--fs-6);
  margin-bottom: 8px;
  flex-shrink: 0;
}

.weather-location ion-icon {
  color: var(--bg-carolina-blue);
  font-size: 18px;
}

.weather-forecast {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  flex: 1;
  padding-bottom: 2px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.weather-day {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 6px 4px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(52, 152, 219, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-width: 70px;
  height: auto;
}

.weather-date {
  color: var(--text-columbia-blue);
  font-size: var(--fs-8);
  margin-bottom: 2px;
  flex-shrink: 0;
}

.weather-icon {
  width: 20px;
  height: 20px;
  margin: 2px auto;
  color: var(--text-columbia-blue);
  flex-shrink: 0;
}

.weather-temp {
  color: var(--text-white);
  font-size: var(--fs-8);
  font-weight: 500;
  margin-bottom: 2px;
  flex-shrink: 0;
}

.weather-desc {
  color: var(--text-columbia-blue);
  font-size: var(--fs-8);
  flex-shrink: 0;
}

/* 响应式布局调整 */
@media (max-width: 991px) {
  .weather-wrapper {
    min-height: auto;
    padding: 12px;
  }

  .weather-forecast {
    gap: 8px;
    padding-bottom: 4px;
  }

  .weather-day {
    min-width: 65px;
    padding: 6px 4px;
  }

  .weather-date {
    font-size: var(--fs-8);
    margin-bottom: 4px;
  }

  .weather-icon {
    width: 24px;
    height: 24px;
    margin: 4px auto;
  }

  .weather-temp {
    font-size: var(--fs-8);
    margin: 4px 0;
  }

  .weather-desc {
    font-size: var(--fs-8);
  }
}

@media (max-width: 767px) {
  .weather-wrapper {
    padding: 10px;
  }

  .weather-forecast {
    gap: 6px;
  }

  .weather-day {
    min-width: 60px;
    padding: 5px 3px;
  }

  .weather-date {
    font-size: calc(var(--fs-8) - 1px);
    margin-bottom: 3px;
  }

  .weather-icon {
    width: 22px;
    height: 22px;
    margin: 3px auto;
  }

  .weather-temp {
    font-size: calc(var(--fs-8) - 1px);
    margin: 3px 0;
  }

  .weather-desc {
    font-size: calc(var(--fs-8) - 1px);
  }
}

@media (max-width: 480px) {
  .weather-wrapper {
    padding: 8px;
  }

  .weather-forecast {
    gap: 4px;
  }

  .weather-day {
    min-width: 55px;
    padding: 4px 2px;
  }

  .weather-date {
    font-size: calc(var(--fs-8) - 2px);
    margin-bottom: 2px;
  }

  .weather-icon {
    width: 20px;
    height: 20px;
    margin: 2px auto;
  }

  .weather-temp {
    font-size: calc(var(--fs-8) - 2px);
    margin: 2px 0;
  }

  .weather-desc {
    font-size: calc(var(--fs-8) - 2px);
    display: block;
  }
}

/* 滚动条样式优化 */
.weather-forecast::-webkit-scrollbar {
  height: 4px;
}

.weather-forecast::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}

.weather-forecast::-webkit-scrollbar-thumb {
  background: rgba(52, 152, 219, 0.2);
  border-radius: 2px;
}

.holiday-tooltip.bottom::before {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: rgba(0, 0, 0, 0.85);
}

/* 振替休日标签样式 */
.holiday-jp .holiday-label:contains("振替") {
  background: rgba(63, 81, 181, 0.12);
  color: #597ef7;
  border: 1px solid rgba(63, 81, 181, 0.25);
  font-size: 9px;
  padding: 1px 2px;
}
  
  