/* Atlas Portal 9.39 — unified, light lunar design matching the weather widget. */
.rp-home .rp-date {
  min-height:340px!important;
  overflow:hidden!important;
  background:linear-gradient(162deg,#f5faff 0%,#fbfdff 52%,#fff 100%)!important;
  border-color:#e0eaf7!important;
}
.rp-home .rp-date .rp-date-main {margin-top:12px!important}
.rp-home .rp-date .atlas-moon-panel {
  display:flex!important;flex-direction:column!important;gap:10px!important;
  min-width:0!important;min-height:0!important;
  margin:14px 16px 15px!important;padding:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  overflow:visible!important;box-shadow:none!important;color:#1b2d43!important;
}
.rp-home .rp-date .atlas-moon-panel::before,
.rp-home .rp-date .atlas-moon-panel::after {display:none!important;content:none!important}
.rp-home .rp-date .atlas-moon-main {
  display:grid!important;grid-template-columns:minmax(0,1fr) 93px!important;
  min-height:92px!important;align-items:center!important;
  gap:3px!important;border-top:1px solid #e7eef7!important;
  padding-top:11px!important;
}
.rp-home .rp-date .atlas-moon-details {
  display:flex!important;flex-direction:column!important;
  align-items:flex-start!important;justify-content:center!important;
  min-width:0!important;gap:5px!important;z-index:2!important;
}
.rp-home .rp-date .atlas-moon-eyebrow {
  color:#6b8aaf!important;font-size:10px!important;line-height:1.35!important;
  font-weight:660!important;letter-spacing:0!important;text-transform:none!important;
  white-space:nowrap!important;
}
.rp-home .rp-date .atlas-moon-phase {
  display:block!important;font-size:16px!important;line-height:1.24!important;
  letter-spacing:-.025em!important;font-weight:750!important;
  color:#1e334c!important;min-width:0!important;max-width:100%!important;
}
.rp-home .rp-date .atlas-moon-day {
  font-size:11px!important;line-height:1.4!important;color:#8398b0!important;font-weight:500!important;
}
.rp-home .rp-date .atlas-moon-day i {font-style:normal!important}
.rp-home .rp-date .atlas-moon-art {
  grid-column:2!important;grid-row:1!important;
  width:93px!important;height:91px!important;min-width:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  justify-self:end!important;position:relative!important;overflow:visible!important;
  background:radial-gradient(circle,rgba(215,233,253,.85),rgba(223,239,255,0) 70%)!important;
  border-radius:50%!important;
}
.rp-home .rp-date .atlas-moon-art::before,
.rp-home .rp-date .atlas-moon-art::after {display:none!important;content:none!important}
.rp-home .rp-date .atlas-moon-art img[data-lunar-phase-icon] {
  width:109px!important;height:109px!important;max-width:none!important;
  display:block!important;position:relative!important;z-index:1!important;
  object-fit:contain!important;opacity:1!important;
  filter:none!important;border:0!important;border-radius:0!important;
  transform:none!important;
}
.rp-home .rp-date .atlas-moon-metrics {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;min-width:0!important;
}
.rp-home .rp-date .atlas-moon-metric {
  display:flex!important;flex-direction:column!important;justify-content:flex-start!important;
  gap:4px!important;min-width:0!important;
  background:#fff!important;border:1px solid #e5edf8!important;
  border-radius:10px!important;padding:9px 10px!important;
  box-shadow:0 1px 2px rgba(22,69,131,.018)!important;
}
.rp-home .rp-date .atlas-moon-metric small {
  font-size:10px!important;line-height:1.25!important;color:#8499b1!important;
  font-weight:550!important;
}
.rp-home .rp-date .atlas-moon-light {
  display:block!important;padding:0!important;border:0!important;
  font-size:13px!important;line-height:1.3!important;
  font-weight:750!important;color:#233d59!important;
  border-radius:0!important;background:transparent!important;
}
.rp-home .rp-date .atlas-moon-next {
  display:block!important;max-width:100%!important;
  margin:0!important;padding:0!important;font-style:normal!important;
  font-size:10.5px!important;line-height:1.34!important;
  font-weight:680!important;color:#254563!important;overflow-wrap:break-word!important;
}
.rp-home .rp-date .atlas-moon-meter {
  display:block!important;max-width:none!important;
  height:4px!important;width:100%!important;overflow:hidden!important;
  border-radius:99px!important;background:#e9f1fc!important;
  margin-top:3px!important;
}
.rp-home .rp-date .atlas-moon-meter span {
  display:block!important;width:0%;height:100%!important;border-radius:99px!important;
  background:linear-gradient(90deg,#70b9fa,#3787ec)!important;
  transition:width .35s ease!important;
}
@media(max-width:1090px){
  .rp-home .rp-date .atlas-moon-main{grid-template-columns:minmax(0,1fr) 84px!important}
  .rp-home .rp-date .atlas-moon-art{width:84px!important;height:87px!important}
  .rp-home .rp-date .atlas-moon-art img[data-lunar-phase-icon]{width:103px!important;height:103px!important}
  .rp-home .rp-date .atlas-moon-metric{padding:9px 8px!important}
}
@media(max-width:600px){
  .rp-home .rp-date .atlas-moon-panel{margin-left:17px!important;margin-right:17px!important}
  .rp-home .rp-date .atlas-moon-main{grid-template-columns:minmax(0,1fr) 110px!important;min-height:102px!important}
  .rp-home .rp-date .atlas-moon-art{width:110px!important;height:102px!important}
  .rp-home .rp-date .atlas-moon-art img[data-lunar-phase-icon]{width:120px!important;height:120px!important}
  .rp-home .rp-date .atlas-moon-metric{padding:10px 12px!important}
  .rp-home .rp-date .atlas-moon-next{font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){
  .rp-home .rp-date .atlas-moon-meter span{transition:none!important}
}

/* Atlas Portal 9.40 — compact date heading in the Today widget. */
.rp-home .rp-date .rp-date-main strong {
  font-size:24px!important;
  line-height:1.22!important;
  letter-spacing:-.028em!important;
  font-weight:740!important;
}
@media(max-width:600px){
  .rp-home .rp-date .rp-date-main strong{font-size:23px!important}
}
