﻿.sydney-live-weather {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: min(1180px, calc(100% - 24px));
  background: transparent !important;
  border: 0;
  border-radius: 0;
}

.sydney-live-weather__inner {
  margin: 0 auto;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.84rem;
  line-height: 1.2;
  color: #eef7fc;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
  background: transparent !important;
}

.sydney-live-weather__label {
  font-weight: 700;
  color: #e6f4fc;
}

.sydney-live-weather__time {
  color: #d7ebf7;
  font-size: 0.78rem;
}

.sydney-live-weather__live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #42cc86;
  flex: 0 0 6px;
}

.sydney-live-weather__text {
  color: #f4fbff;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sydney-live-weather__divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.38);
  flex: 0 0 auto;
}

.sydney-live-weather__meta {
  color: #d4e8f5;
  font-size: 0.76rem;
  margin-left: auto;
}

.sydney-live-weather--inline {
  position: static;
  transform: none;
  left: auto;
  top: auto;
  width: 100%;
  z-index: 1;
  margin: 0;
  padding: 0 10px;
}

.sydney-live-weather--inline .sydney-live-weather__inner {
  max-width: 1180px;
  margin: 8px auto 0;
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(6, 47, 69, 0.7) !important;
}

@media (max-width: 1024px) {
  .sydney-live-weather {
    top: 10px;
    width: calc(100% - 20px);
  }

  .sydney-live-weather__inner {
    gap: 8px;
    font-size: 0.8rem;
  }
}

@media (max-width: 760px) {
  .sydney-live-weather {
    top: 8px;
  }

  .sydney-live-weather__inner {
    gap: 6px;
    font-size: 0.72rem;
    line-height: 1.15;
  }

  .sydney-live-weather__label,
  .sydney-live-weather__divider {
    display: none;
  }

  .sydney-live-weather__time {
    font-size: 0.7rem;
  }

  .sydney-live-weather__text {
    max-width: 40vw;
  }

  .sydney-live-weather--inline {
    padding: 0 8px;
  }

  .sydney-live-weather--inline .sydney-live-weather__inner {
    margin-top: 6px;
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(6, 47, 69, 0.68) !important;
  }
}
