#yg-city-sky {
  display: block;
  width: 100%;
  margin: 0;
  padding: 14px 16px 18px;
  box-sizing: border-box;
  background: #070b14;
  color: #e8eef8;
  border-bottom: 3px solid #ffe566;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}
/* Nested inside the prayer clock (#yg-qdash) — same panel, not a separate page strip. */
#yg-qdash #yg-city-sky.yg-city-sky-in-clock,
.yg-qdash #yg-city-sky.yg-city-sky-in-clock {
  margin: 14px 0 0;
  padding: 12px 0 0;
  background: transparent;
  border-bottom: 0;
  border-top: 1px solid rgba(255, 229, 102, 0.28);
  color: inherit;
}
#yg-qdash #yg-city-sky .yg-city-sky-inner,
.yg-qdash #yg-city-sky .yg-city-sky-inner {
  max-width: none;
  margin: 0;
}
/* Clock already shows the city name above the face — don't duplicate. */
#yg-qdash #yg-city-sky .yg-city-sky-head,
.yg-qdash #yg-city-sky .yg-city-sky-head {
  display: none;
}
.yg-city-sky-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.yg-city-sky-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
}
.yg-city-sky-city {
  color: #ffe566;
  font: 800 18px/1.1 system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.yg-city-sky-alerts {
  position: relative;
  background: #121826;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 12px 12px;
  margin: 0 0 12px;
  overflow: hidden;
}
.yg-city-sky-alerts-label {
  font: 700 10px/1 system-ui, sans-serif;
  letter-spacing: 0.12em;
  color: #8aa0c2;
  margin: 0 0 8px;
}
.yg-city-sky-alerts-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
}
.yg-city-sky-abage {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.yg-city-sky-awarn {
  color: #ff4d4d;
  font-size: 16px;
}
.yg-city-sky-anum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font: 800 12px/1 system-ui, sans-serif;
}
.yg-city-sky-alerts-track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.yg-city-sky-alerts-scroll {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  color: #ff6b6b;
  font: 600 13px/1.3 system-ui, sans-serif;
  animation: ygCitySkyTicker 42s linear infinite;
}
.yg-city-sky-aitem i {
  color: #ff9f43;
  font-style: normal;
  margin-right: 4px;
}
.yg-city-sky-asep {
  color: #8aa0c2;
}
@keyframes ygCitySkyTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.yg-city-sky-weather {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 12px;
  margin: 0 0 14px;
}
.yg-city-sky-panel {
  background: #121826;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
}
.yg-city-sky-ptitle {
  font: 700 11px/1 system-ui, sans-serif;
  letter-spacing: 0.12em;
  color: #8aa0c2;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.yg-city-sky-nowrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.yg-city-sky-nowicon {
  font-size: 42px;
  line-height: 1;
}
.yg-city-sky-temp {
  font: 800 34px/1 system-ui, sans-serif;
  color: #fff;
}
.yg-city-sky-cond {
  color: #9eb0cc;
  font-size: 13px;
  margin-top: 4px;
}
.yg-city-sky-nowmeta {
  margin-left: auto;
  color: #c9d4e3;
  font-size: 13px;
  text-align: right;
  display: grid;
  gap: 6px;
}
.yg-city-sky-fgrid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.yg-city-sky-fcard {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
  font-size: 11px;
}
.yg-city-sky-fcard .d {
  color: #9eb0cc;
  font-weight: 700;
  margin-bottom: 4px;
}
.yg-city-sky-fcard .ico {
  font-size: 16px;
  margin-bottom: 4px;
}
.yg-city-sky-fcard .t {
  color: #fff;
  font-weight: 800;
  margin-bottom: 4px;
}
.yg-city-sky-fcard .m {
  color: #9eb0cc;
  font-size: 10px;
}
.yg-city-sky-fcard .p {
  color: #4ade80;
  font-weight: 800;
  margin-top: 4px;
}
.yg-city-sky-events {
  background: #121826;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
}
.yg-city-sky-ecards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.yg-city-sky-ecard {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 10px;
  padding: 10px 8px;
  min-width: 0;
}
.yg-city-sky-ecresc {
  color: #ffe566;
  font-size: 16px;
  flex-shrink: 0;
}
.yg-city-sky-ebody {
  min-width: 0;
  flex: 1;
}
.yg-city-sky-ebody strong {
  display: block;
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yg-city-sky-ebody small {
  display: block;
  color: #8aa0c2;
  font-size: 10px;
  margin-top: 2px;
}
.yg-city-sky-edays {
  color: #4ade80;
  font: 800 12px/1 system-ui, sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}
.yg-city-sky-loading {
  color: #8aa0c2;
  font-size: 13px;
}
@media (max-width: 1100px) {
  .yg-city-sky-weather {
    grid-template-columns: 1fr;
  }
  .yg-city-sky-fgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .yg-city-sky-ecards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .yg-city-sky-fgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yg-city-sky-ecards {
    grid-template-columns: 1fr;
  }
}
